@momentum-design/components 0.104.1 → 0.104.2

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.
Files changed (93) hide show
  1. package/dist/browser/index.js.map +2 -2
  2. package/dist/components/accordionbutton/accordionbutton.types.d.ts +5 -2
  3. package/dist/components/animation/animation.types.d.ts +11 -3
  4. package/dist/components/brandvisual/brandvisual.types.d.ts +8 -2
  5. package/dist/components/buttonlink/buttonlink.types.d.ts +6 -4
  6. package/dist/components/buttonsimple/buttonsimple.types.d.ts +6 -5
  7. package/dist/components/cardbutton/cardbutton.types.d.ts +6 -4
  8. package/dist/components/cardcheckbox/cardcheckbox.component.d.ts +0 -1
  9. package/dist/components/cardcheckbox/cardcheckbox.component.js +0 -1
  10. package/dist/components/cardcheckbox/cardcheckbox.types.d.ts +6 -6
  11. package/dist/components/cardradio/cardradio.component.d.ts +0 -1
  12. package/dist/components/cardradio/cardradio.component.js +0 -1
  13. package/dist/components/cardradio/cardradio.types.d.ts +6 -5
  14. package/dist/components/checkbox/checkbox.types.d.ts +4 -2
  15. package/dist/components/dialog/dialog.types.d.ts +17 -6
  16. package/dist/components/input/input.types.d.ts +6 -6
  17. package/dist/components/inputchip/inputchip.types.d.ts +3 -1
  18. package/dist/components/link/link.types.d.ts +6 -5
  19. package/dist/components/linkbutton/linkbutton.types.d.ts +6 -5
  20. package/dist/components/linksimple/linksimple.types.d.ts +6 -4
  21. package/dist/components/listitem/listitem.types.d.ts +14 -13
  22. package/dist/components/menuitem/menuitem.component.d.ts +4 -0
  23. package/dist/components/menuitem/menuitem.component.js +4 -0
  24. package/dist/components/menuitem/menuitem.types.d.ts +10 -4
  25. package/dist/components/menuitemcheckbox/menuitemcheckbox.types.d.ts +5 -4
  26. package/dist/components/menuitemradio/menuitemradio.types.d.ts +5 -4
  27. package/dist/components/menupopover/menupopover.types.d.ts +4 -7
  28. package/dist/components/menusection/menusection.types.d.ts +3 -4
  29. package/dist/components/navmenuitem/navmenuitem.types.d.ts +10 -6
  30. package/dist/components/option/option.types.d.ts +6 -4
  31. package/dist/components/password/password.types.d.ts +6 -4
  32. package/dist/components/popover/popover.types.d.ts +5 -5
  33. package/dist/components/radio/radio.types.d.ts +4 -2
  34. package/dist/components/select/select.types.d.ts +6 -6
  35. package/dist/components/sidenavigation/sidenavigation.types.d.ts +6 -2
  36. package/dist/components/stepperitem/stepperitem.types.d.ts +5 -4
  37. package/dist/components/tab/tab.types.d.ts +6 -2
  38. package/dist/components/tablist/tablist.types.d.ts +5 -2
  39. package/dist/components/textarea/textarea.types.d.ts +7 -6
  40. package/dist/components/toast/toast.types.d.ts +3 -2
  41. package/dist/components/toggle/toggle.types.d.ts +4 -3
  42. package/dist/components/toggletip/toggletip.types.d.ts +6 -4
  43. package/dist/components/typewriter/typewriter.types.d.ts +3 -5
  44. package/dist/components/virtualizedlist/virtualizedlist.types.d.ts +3 -1
  45. package/dist/custom-elements.json +1575 -1585
  46. package/dist/react/accordion/index.d.ts +3 -1
  47. package/dist/react/accordionbutton/index.d.ts +3 -1
  48. package/dist/react/alertchip/index.d.ts +4 -4
  49. package/dist/react/animation/index.d.ts +9 -3
  50. package/dist/react/avatarbutton/index.d.ts +4 -4
  51. package/dist/react/brandvisual/index.d.ts +6 -2
  52. package/dist/react/button/index.d.ts +4 -4
  53. package/dist/react/buttonlink/index.d.ts +4 -4
  54. package/dist/react/buttonsimple/index.d.ts +4 -4
  55. package/dist/react/cardbutton/index.d.ts +4 -4
  56. package/dist/react/cardcheckbox/index.d.ts +4 -6
  57. package/dist/react/cardcheckbox/index.js +0 -2
  58. package/dist/react/cardradio/index.d.ts +4 -6
  59. package/dist/react/cardradio/index.js +0 -2
  60. package/dist/react/checkbox/index.d.ts +2 -2
  61. package/dist/react/chip/index.d.ts +4 -4
  62. package/dist/react/dialog/index.d.ts +15 -5
  63. package/dist/react/filterchip/index.d.ts +4 -4
  64. package/dist/react/index.d.ts +4 -4
  65. package/dist/react/index.js +4 -4
  66. package/dist/react/input/index.d.ts +3 -3
  67. package/dist/react/inputchip/index.d.ts +1 -1
  68. package/dist/react/link/index.d.ts +4 -4
  69. package/dist/react/linkbutton/index.d.ts +4 -4
  70. package/dist/react/linksimple/index.d.ts +4 -4
  71. package/dist/react/listitem/index.d.ts +8 -8
  72. package/dist/react/menuitem/index.d.ts +12 -8
  73. package/dist/react/menuitem/index.js +4 -0
  74. package/dist/react/menuitemcheckbox/index.d.ts +9 -9
  75. package/dist/react/menuitemradio/index.d.ts +9 -9
  76. package/dist/react/navmenuitem/index.d.ts +12 -9
  77. package/dist/react/option/index.d.ts +8 -8
  78. package/dist/react/password/index.d.ts +3 -3
  79. package/dist/react/radio/index.d.ts +2 -2
  80. package/dist/react/searchfield/index.d.ts +3 -3
  81. package/dist/react/select/index.d.ts +3 -3
  82. package/dist/react/sidenavigation/index.d.ts +4 -1
  83. package/dist/react/stepperitem/index.d.ts +3 -3
  84. package/dist/react/tab/index.d.ts +8 -5
  85. package/dist/react/tablist/index.d.ts +3 -1
  86. package/dist/react/textarea/index.d.ts +5 -5
  87. package/dist/react/toast/index.d.ts +1 -1
  88. package/dist/react/toggle/index.d.ts +2 -2
  89. package/dist/react/virtualizedlist/index.d.ts +1 -1
  90. package/dist/utils/types.d.ts +9 -1
  91. package/package.json +1 -1
  92. package/dist/components/selectlistbox/selectlistbox.types.d.ts +0 -3
  93. package/dist/components/selectlistbox/selectlistbox.types.js +0 -1
@@ -477,6 +477,157 @@
477
477
  }
478
478
  ]
479
479
  },
480
+ {
481
+ "kind": "javascript-module",
482
+ "path": "components/accordiongroup/accordiongroup.component.js",
483
+ "declarations": [
484
+ {
485
+ "kind": "class",
486
+ "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.",
487
+ "name": "AccordionGroup",
488
+ "cssProperties": [
489
+ {
490
+ "description": "The border color of the entire accordiongroup",
491
+ "name": "--mdc-accordiongroup-border-color"
492
+ }
493
+ ],
494
+ "slots": [
495
+ {
496
+ "description": "The default slot can contain the `accordion` or `accordionbutton` components.",
497
+ "name": "default"
498
+ }
499
+ ],
500
+ "members": [
501
+ {
502
+ "kind": "field",
503
+ "name": "size",
504
+ "type": {
505
+ "text": "Size"
506
+ },
507
+ "description": "The size of the accordion item.",
508
+ "default": "'small'",
509
+ "attribute": "size",
510
+ "reflects": true
511
+ },
512
+ {
513
+ "kind": "field",
514
+ "name": "variant",
515
+ "type": {
516
+ "text": "Variant"
517
+ },
518
+ "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
519
+ "default": "'stacked'",
520
+ "attribute": "variant",
521
+ "reflects": true
522
+ },
523
+ {
524
+ "kind": "field",
525
+ "name": "allowMultiple",
526
+ "type": {
527
+ "text": "boolean"
528
+ },
529
+ "default": "false",
530
+ "description": "If true, multiple accordion items can be visible at the same time.",
531
+ "attribute": "allow-multiple",
532
+ "reflects": true
533
+ },
534
+ {
535
+ "kind": "method",
536
+ "name": "handleAccordionExpanded",
537
+ "privacy": "private",
538
+ "return": {
539
+ "type": {
540
+ "text": "void"
541
+ }
542
+ },
543
+ "parameters": [
544
+ {
545
+ "name": "event",
546
+ "type": {
547
+ "text": "Event"
548
+ },
549
+ "description": "The event object from the 'shown' event."
550
+ }
551
+ ],
552
+ "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."
553
+ },
554
+ {
555
+ "kind": "method",
556
+ "name": "setChildrenAccordionAttributes",
557
+ "privacy": "private",
558
+ "return": {
559
+ "type": {
560
+ "text": "void"
561
+ }
562
+ },
563
+ "parameters": [
564
+ {
565
+ "name": "attributeName",
566
+ "type": {
567
+ "text": "string"
568
+ },
569
+ "description": "The name of the attribute to set."
570
+ },
571
+ {
572
+ "name": "attributeValue",
573
+ "type": {
574
+ "text": "string"
575
+ },
576
+ "description": "The value to set the attribute to."
577
+ }
578
+ ],
579
+ "description": "Sets the given attribute on all child accordion or accordionbutton components."
580
+ }
581
+ ],
582
+ "attributes": [
583
+ {
584
+ "name": "size",
585
+ "type": {
586
+ "text": "Size"
587
+ },
588
+ "description": "The size of the accordion item.",
589
+ "default": "'small'",
590
+ "fieldName": "size"
591
+ },
592
+ {
593
+ "name": "variant",
594
+ "type": {
595
+ "text": "Variant"
596
+ },
597
+ "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
598
+ "default": "'stacked'",
599
+ "fieldName": "variant"
600
+ },
601
+ {
602
+ "name": "allow-multiple",
603
+ "type": {
604
+ "text": "boolean"
605
+ },
606
+ "default": "false",
607
+ "description": "If true, multiple accordion items can be visible at the same time.",
608
+ "fieldName": "allowMultiple"
609
+ }
610
+ ],
611
+ "superclass": {
612
+ "name": "Component",
613
+ "module": "/src/models"
614
+ },
615
+ "tagName": "mdc-accordiongroup",
616
+ "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 */",
617
+ "customElement": true
618
+ }
619
+ ],
620
+ "exports": [
621
+ {
622
+ "kind": "js",
623
+ "name": "default",
624
+ "declaration": {
625
+ "name": "AccordionGroup",
626
+ "module": "components/accordiongroup/accordiongroup.component.js"
627
+ }
628
+ }
629
+ ]
630
+ },
480
631
  {
481
632
  "kind": "javascript-module",
482
633
  "path": "components/accordionbutton/accordionbutton.component.js",
@@ -817,157 +968,6 @@
817
968
  }
818
969
  ]
819
970
  },
820
- {
821
- "kind": "javascript-module",
822
- "path": "components/accordiongroup/accordiongroup.component.js",
823
- "declarations": [
824
- {
825
- "kind": "class",
826
- "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.",
827
- "name": "AccordionGroup",
828
- "cssProperties": [
829
- {
830
- "description": "The border color of the entire accordiongroup",
831
- "name": "--mdc-accordiongroup-border-color"
832
- }
833
- ],
834
- "slots": [
835
- {
836
- "description": "The default slot can contain the `accordion` or `accordionbutton` components.",
837
- "name": "default"
838
- }
839
- ],
840
- "members": [
841
- {
842
- "kind": "field",
843
- "name": "size",
844
- "type": {
845
- "text": "Size"
846
- },
847
- "description": "The size of the accordion item.",
848
- "default": "'small'",
849
- "attribute": "size",
850
- "reflects": true
851
- },
852
- {
853
- "kind": "field",
854
- "name": "variant",
855
- "type": {
856
- "text": "Variant"
857
- },
858
- "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
859
- "default": "'stacked'",
860
- "attribute": "variant",
861
- "reflects": true
862
- },
863
- {
864
- "kind": "field",
865
- "name": "allowMultiple",
866
- "type": {
867
- "text": "boolean"
868
- },
869
- "default": "false",
870
- "description": "If true, multiple accordion items can be visible at the same time.",
871
- "attribute": "allow-multiple",
872
- "reflects": true
873
- },
874
- {
875
- "kind": "method",
876
- "name": "handleAccordionExpanded",
877
- "privacy": "private",
878
- "return": {
879
- "type": {
880
- "text": "void"
881
- }
882
- },
883
- "parameters": [
884
- {
885
- "name": "event",
886
- "type": {
887
- "text": "Event"
888
- },
889
- "description": "The event object from the 'shown' event."
890
- }
891
- ],
892
- "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."
893
- },
894
- {
895
- "kind": "method",
896
- "name": "setChildrenAccordionAttributes",
897
- "privacy": "private",
898
- "return": {
899
- "type": {
900
- "text": "void"
901
- }
902
- },
903
- "parameters": [
904
- {
905
- "name": "attributeName",
906
- "type": {
907
- "text": "string"
908
- },
909
- "description": "The name of the attribute to set."
910
- },
911
- {
912
- "name": "attributeValue",
913
- "type": {
914
- "text": "string"
915
- },
916
- "description": "The value to set the attribute to."
917
- }
918
- ],
919
- "description": "Sets the given attribute on all child accordion or accordionbutton components."
920
- }
921
- ],
922
- "attributes": [
923
- {
924
- "name": "size",
925
- "type": {
926
- "text": "Size"
927
- },
928
- "description": "The size of the accordion item.",
929
- "default": "'small'",
930
- "fieldName": "size"
931
- },
932
- {
933
- "name": "variant",
934
- "type": {
935
- "text": "Variant"
936
- },
937
- "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
938
- "default": "'stacked'",
939
- "fieldName": "variant"
940
- },
941
- {
942
- "name": "allow-multiple",
943
- "type": {
944
- "text": "boolean"
945
- },
946
- "default": "false",
947
- "description": "If true, multiple accordion items can be visible at the same time.",
948
- "fieldName": "allowMultiple"
949
- }
950
- ],
951
- "superclass": {
952
- "name": "Component",
953
- "module": "/src/models"
954
- },
955
- "tagName": "mdc-accordiongroup",
956
- "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 */",
957
- "customElement": true
958
- }
959
- ],
960
- "exports": [
961
- {
962
- "kind": "js",
963
- "name": "default",
964
- "declaration": {
965
- "name": "AccordionGroup",
966
- "module": "components/accordiongroup/accordiongroup.component.js"
967
- }
968
- }
969
- ]
970
- },
971
971
  {
972
972
  "kind": "javascript-module",
973
973
  "path": "components/alertchip/alertchip.component.js",
@@ -4717,12 +4717,398 @@
4717
4717
  },
4718
4718
  {
4719
4719
  "kind": "javascript-module",
4720
- "path": "components/cardbutton/cardbutton.component.js",
4720
+ "path": "components/buttonsimple/buttonsimple.component.js",
4721
4721
  "declarations": [
4722
4722
  {
4723
4723
  "kind": "class",
4724
- "description": "cardbutton component looks like a card and behaves as a button component.\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\nMake sure to pass only non-interactable elements within the slots.",
4725
- "name": "CardButton",
4724
+ "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.",
4725
+ "name": "Buttonsimple",
4726
+ "members": [
4727
+ {
4728
+ "kind": "field",
4729
+ "name": "active",
4730
+ "type": {
4731
+ "text": "boolean | undefined"
4732
+ },
4733
+ "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.",
4734
+ "default": "undefined",
4735
+ "attribute": "active",
4736
+ "reflects": true
4737
+ },
4738
+ {
4739
+ "kind": "field",
4740
+ "name": "softDisabled",
4741
+ "type": {
4742
+ "text": "boolean | undefined"
4743
+ },
4744
+ "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.",
4745
+ "default": "undefined",
4746
+ "attribute": "soft-disabled",
4747
+ "reflects": true
4748
+ },
4749
+ {
4750
+ "kind": "field",
4751
+ "name": "size",
4752
+ "type": {
4753
+ "text": "ButtonSize"
4754
+ },
4755
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4756
+ "default": "32",
4757
+ "attribute": "size",
4758
+ "reflects": true
4759
+ },
4760
+ {
4761
+ "kind": "field",
4762
+ "name": "role",
4763
+ "type": {
4764
+ "text": "RoleType"
4765
+ },
4766
+ "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.",
4767
+ "default": "button",
4768
+ "attribute": "role",
4769
+ "reflects": true
4770
+ },
4771
+ {
4772
+ "kind": "field",
4773
+ "name": "ariaStateKey",
4774
+ "type": {
4775
+ "text": "string | undefined"
4776
+ },
4777
+ "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`",
4778
+ "default": "'aria-pressed' (when)",
4779
+ "attribute": "ariaStateKey",
4780
+ "reflects": true
4781
+ },
4782
+ {
4783
+ "kind": "field",
4784
+ "name": "type",
4785
+ "type": {
4786
+ "text": "ButtonType"
4787
+ },
4788
+ "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.",
4789
+ "default": "button",
4790
+ "attribute": "type",
4791
+ "reflects": true
4792
+ },
4793
+ {
4794
+ "kind": "method",
4795
+ "name": "executeAction",
4796
+ "privacy": "protected"
4797
+ },
4798
+ {
4799
+ "kind": "method",
4800
+ "name": "setActive",
4801
+ "privacy": "protected",
4802
+ "parameters": [
4803
+ {
4804
+ "name": "element",
4805
+ "type": {
4806
+ "text": "HTMLElement"
4807
+ },
4808
+ "description": "The button element"
4809
+ },
4810
+ {
4811
+ "name": "active",
4812
+ "optional": true,
4813
+ "type": {
4814
+ "text": "boolean"
4815
+ },
4816
+ "description": "The active state of the element"
4817
+ }
4818
+ ],
4819
+ "description": "Sets the ariaStateKey attributes based on the active state of the button."
4820
+ },
4821
+ {
4822
+ "kind": "method",
4823
+ "name": "setSoftDisabled",
4824
+ "privacy": "private",
4825
+ "parameters": [
4826
+ {
4827
+ "name": "element",
4828
+ "type": {
4829
+ "text": "HTMLElement"
4830
+ },
4831
+ "description": "The button element."
4832
+ },
4833
+ {
4834
+ "name": "softDisabled",
4835
+ "optional": true,
4836
+ "type": {
4837
+ "text": "boolean"
4838
+ },
4839
+ "description": "The soft-disabled state."
4840
+ }
4841
+ ],
4842
+ "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."
4843
+ },
4844
+ {
4845
+ "kind": "method",
4846
+ "name": "setDisabled",
4847
+ "privacy": "private",
4848
+ "parameters": [
4849
+ {
4850
+ "name": "element",
4851
+ "type": {
4852
+ "text": "HTMLElement"
4853
+ },
4854
+ "description": "The button element."
4855
+ },
4856
+ {
4857
+ "name": "disabled",
4858
+ "type": {
4859
+ "text": "boolean"
4860
+ },
4861
+ "description": "The disabled state."
4862
+ }
4863
+ ],
4864
+ "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."
4865
+ },
4866
+ {
4867
+ "kind": "method",
4868
+ "name": "triggerClickEvent",
4869
+ "privacy": "private"
4870
+ },
4871
+ {
4872
+ "kind": "method",
4873
+ "name": "handleBlur",
4874
+ "privacy": "private",
4875
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
4876
+ },
4877
+ {
4878
+ "kind": "method",
4879
+ "name": "handleKeyDown",
4880
+ "privacy": "private",
4881
+ "parameters": [
4882
+ {
4883
+ "name": "event",
4884
+ "type": {
4885
+ "text": "KeyboardEvent"
4886
+ },
4887
+ "description": "The keyboard event."
4888
+ }
4889
+ ],
4890
+ "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."
4891
+ },
4892
+ {
4893
+ "kind": "method",
4894
+ "name": "handleKeyUp",
4895
+ "privacy": "private",
4896
+ "parameters": [
4897
+ {
4898
+ "name": "event",
4899
+ "type": {
4900
+ "text": "KeyboardEvent"
4901
+ },
4902
+ "description": "The keyboard event."
4903
+ }
4904
+ ],
4905
+ "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."
4906
+ },
4907
+ {
4908
+ "kind": "field",
4909
+ "name": "autofocus",
4910
+ "type": {
4911
+ "text": "boolean"
4912
+ },
4913
+ "default": "false",
4914
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
4915
+ "attribute": "autofocus",
4916
+ "reflects": true,
4917
+ "inheritedFrom": {
4918
+ "name": "AutoFocusMixin",
4919
+ "module": "utils/mixins/AutoFocusMixin.js"
4920
+ }
4921
+ },
4922
+ {
4923
+ "kind": "field",
4924
+ "name": "tabIndex",
4925
+ "type": {
4926
+ "text": "number"
4927
+ },
4928
+ "default": "0",
4929
+ "description": "This property specifies the tab order of the element.",
4930
+ "attribute": "tabIndex",
4931
+ "reflects": true,
4932
+ "inheritedFrom": {
4933
+ "name": "TabIndexMixin",
4934
+ "module": "utils/mixins/TabIndexMixin.js"
4935
+ }
4936
+ },
4937
+ {
4938
+ "kind": "field",
4939
+ "name": "disabled",
4940
+ "type": {
4941
+ "text": "boolean | undefined"
4942
+ },
4943
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4944
+ "default": "undefined",
4945
+ "attribute": "disabled",
4946
+ "reflects": true,
4947
+ "inheritedFrom": {
4948
+ "name": "DisabledMixin",
4949
+ "module": "utils/mixins/DisabledMixin.js"
4950
+ }
4951
+ }
4952
+ ],
4953
+ "events": [
4954
+ {
4955
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
4956
+ "name": "click",
4957
+ "reactName": "onClick"
4958
+ },
4959
+ {
4960
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
4961
+ "name": "keydown",
4962
+ "reactName": "onKeyDown"
4963
+ },
4964
+ {
4965
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
4966
+ "name": "keyup",
4967
+ "reactName": "onKeyUp"
4968
+ },
4969
+ {
4970
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
4971
+ "name": "focus",
4972
+ "reactName": "onFocus"
4973
+ }
4974
+ ],
4975
+ "attributes": [
4976
+ {
4977
+ "name": "active",
4978
+ "type": {
4979
+ "text": "boolean | undefined"
4980
+ },
4981
+ "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.",
4982
+ "default": "undefined",
4983
+ "fieldName": "active"
4984
+ },
4985
+ {
4986
+ "name": "soft-disabled",
4987
+ "type": {
4988
+ "text": "boolean | undefined"
4989
+ },
4990
+ "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.",
4991
+ "default": "undefined",
4992
+ "fieldName": "softDisabled"
4993
+ },
4994
+ {
4995
+ "name": "size",
4996
+ "type": {
4997
+ "text": "ButtonSize"
4998
+ },
4999
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
5000
+ "default": "32",
5001
+ "fieldName": "size"
5002
+ },
5003
+ {
5004
+ "name": "role",
5005
+ "type": {
5006
+ "text": "RoleType"
5007
+ },
5008
+ "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.",
5009
+ "default": "button",
5010
+ "fieldName": "role"
5011
+ },
5012
+ {
5013
+ "name": "ariaStateKey",
5014
+ "type": {
5015
+ "text": "string | undefined"
5016
+ },
5017
+ "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`",
5018
+ "default": "'aria-pressed' (when)",
5019
+ "fieldName": "ariaStateKey"
5020
+ },
5021
+ {
5022
+ "name": "type",
5023
+ "type": {
5024
+ "text": "ButtonType"
5025
+ },
5026
+ "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.",
5027
+ "default": "button",
5028
+ "fieldName": "type"
5029
+ },
5030
+ {
5031
+ "name": "autofocus",
5032
+ "type": {
5033
+ "text": "boolean"
5034
+ },
5035
+ "default": "false",
5036
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
5037
+ "fieldName": "autofocus",
5038
+ "inheritedFrom": {
5039
+ "name": "AutoFocusMixin",
5040
+ "module": "src/utils/mixins/AutoFocusMixin.ts"
5041
+ }
5042
+ },
5043
+ {
5044
+ "name": "tabIndex",
5045
+ "type": {
5046
+ "text": "number"
5047
+ },
5048
+ "default": "0",
5049
+ "description": "This property specifies the tab order of the element.",
5050
+ "fieldName": "tabIndex",
5051
+ "inheritedFrom": {
5052
+ "name": "TabIndexMixin",
5053
+ "module": "src/utils/mixins/TabIndexMixin.ts"
5054
+ }
5055
+ },
5056
+ {
5057
+ "name": "disabled",
5058
+ "type": {
5059
+ "text": "boolean | undefined"
5060
+ },
5061
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5062
+ "default": "undefined",
5063
+ "fieldName": "disabled",
5064
+ "inheritedFrom": {
5065
+ "name": "DisabledMixin",
5066
+ "module": "src/utils/mixins/DisabledMixin.ts"
5067
+ }
5068
+ }
5069
+ ],
5070
+ "mixins": [
5071
+ {
5072
+ "name": "AutoFocusMixin",
5073
+ "module": "/src/utils/mixins/AutoFocusMixin"
5074
+ },
5075
+ {
5076
+ "name": "TabIndexMixin",
5077
+ "module": "/src/utils/mixins/TabIndexMixin"
5078
+ },
5079
+ {
5080
+ "name": "DisabledMixin",
5081
+ "module": "/src/utils/mixins/DisabledMixin"
5082
+ }
5083
+ ],
5084
+ "superclass": {
5085
+ "name": "Component",
5086
+ "module": "/src/models"
5087
+ },
5088
+ "tagName": "mdc-buttonsimple",
5089
+ "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 */",
5090
+ "customElement": true
5091
+ }
5092
+ ],
5093
+ "exports": [
5094
+ {
5095
+ "kind": "js",
5096
+ "name": "default",
5097
+ "declaration": {
5098
+ "name": "Buttonsimple",
5099
+ "module": "components/buttonsimple/buttonsimple.component.js"
5100
+ }
5101
+ }
5102
+ ]
5103
+ },
5104
+ {
5105
+ "kind": "javascript-module",
5106
+ "path": "components/card/card.component.js",
5107
+ "declarations": [
5108
+ {
5109
+ "kind": "class",
5110
+ "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'.",
5111
+ "name": "Card",
4726
5112
  "cssProperties": [
4727
5113
  {
4728
5114
  "description": "The width of the card",
@@ -4791,6 +5177,14 @@
4791
5177
  {
4792
5178
  "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
4793
5179
  "name": "footer-button-primary"
5180
+ },
5181
+ {
5182
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
5183
+ "name": "footer-button-secondary"
5184
+ },
5185
+ {
5186
+ "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.",
5187
+ "name": "footer"
4794
5188
  }
4795
5189
  ],
4796
5190
  "members": [
@@ -4985,90 +5379,523 @@
4985
5379
  }
4986
5380
  },
4987
5381
  {
4988
- "kind": "field",
4989
- "name": "autofocus",
4990
- "type": {
4991
- "text": "boolean"
5382
+ "kind": "method",
5383
+ "name": "renderFooter",
5384
+ "privacy": "protected",
5385
+ "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
5386
+ "return": {
5387
+ "type": {
5388
+ "text": ""
5389
+ }
4992
5390
  },
4993
- "default": "false",
4994
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
4995
- "attribute": "autofocus",
4996
- "reflects": true,
4997
5391
  "inheritedFrom": {
4998
- "name": "AutoFocusMixin",
4999
- "module": "utils/mixins/AutoFocusMixin.js"
5392
+ "name": "FooterMixin",
5393
+ "module": "utils/mixins/FooterMixin.js"
5000
5394
  }
5395
+ }
5396
+ ],
5397
+ "mixins": [
5398
+ {
5399
+ "name": "CardComponentMixin",
5400
+ "module": "/src/utils/mixins/CardComponentMixin"
5001
5401
  },
5002
5402
  {
5003
- "kind": "field",
5004
- "name": "tabIndex",
5403
+ "name": "FooterMixin",
5404
+ "module": "/src/utils/mixins/FooterMixin"
5405
+ }
5406
+ ],
5407
+ "superclass": {
5408
+ "name": "Component",
5409
+ "module": "/src/models"
5410
+ },
5411
+ "tagName": "mdc-card",
5412
+ "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 */",
5413
+ "customElement": true,
5414
+ "attributes": [
5415
+ {
5416
+ "name": "card-title",
5005
5417
  "type": {
5006
- "text": "number"
5418
+ "text": "string"
5007
5419
  },
5008
- "default": "0",
5009
- "description": "This property specifies the tab order of the element.",
5010
- "attribute": "tabIndex",
5011
- "reflects": true,
5420
+ "default": "''",
5421
+ "description": "The title of the card - part of header section",
5422
+ "fieldName": "cardTitle",
5012
5423
  "inheritedFrom": {
5013
- "name": "TabIndexMixin",
5014
- "module": "utils/mixins/TabIndexMixin.js"
5424
+ "name": "CardComponentMixin",
5425
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5015
5426
  }
5016
5427
  },
5017
5428
  {
5018
- "kind": "field",
5019
- "name": "disabled",
5429
+ "name": "subtitle",
5020
5430
  "type": {
5021
- "text": "boolean | undefined"
5431
+ "text": "string"
5022
5432
  },
5023
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5024
- "default": "undefined",
5025
- "attribute": "disabled",
5026
- "reflects": true,
5433
+ "default": "''",
5434
+ "description": "The subtitle of the card - part of header section",
5435
+ "fieldName": "subtitle",
5027
5436
  "inheritedFrom": {
5028
- "name": "DisabledMixin",
5029
- "module": "utils/mixins/DisabledMixin.js"
5437
+ "name": "CardComponentMixin",
5438
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5030
5439
  }
5031
5440
  },
5032
5441
  {
5033
- "kind": "field",
5034
- "name": "active",
5442
+ "name": "image-src",
5035
5443
  "type": {
5036
- "text": "boolean | undefined"
5444
+ "text": "string"
5037
5445
  },
5038
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
5039
- "default": "undefined",
5040
- "attribute": "active",
5041
- "reflects": true,
5446
+ "default": "''",
5447
+ "description": "The image source URL to render on the card",
5448
+ "fieldName": "imageSrc",
5042
5449
  "inheritedFrom": {
5043
- "name": "Buttonsimple",
5044
- "module": "components/buttonsimple/buttonsimple.component.js"
5450
+ "name": "CardComponentMixin",
5451
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5045
5452
  }
5046
5453
  },
5047
5454
  {
5048
- "kind": "field",
5049
- "name": "softDisabled",
5455
+ "name": "image-alt",
5050
5456
  "type": {
5051
- "text": "boolean | undefined"
5457
+ "text": "string"
5052
5458
  },
5053
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
5054
- "default": "undefined",
5055
- "attribute": "soft-disabled",
5056
- "reflects": true,
5459
+ "default": "''",
5460
+ "description": "The image alt for accessibility support",
5461
+ "fieldName": "imageAlt",
5057
5462
  "inheritedFrom": {
5058
- "name": "Buttonsimple",
5059
- "module": "components/buttonsimple/buttonsimple.component.js"
5463
+ "name": "CardComponentMixin",
5464
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5060
5465
  }
5061
5466
  },
5062
5467
  {
5063
- "kind": "field",
5064
- "name": "size",
5468
+ "name": "variant",
5065
5469
  "type": {
5066
- "text": "ButtonSize"
5470
+ "text": "CardVariant"
5067
5471
  },
5068
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
5069
- "default": "32",
5070
- "attribute": "size",
5071
- "reflects": true,
5472
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5473
+ "default": "'border'",
5474
+ "fieldName": "variant",
5475
+ "inheritedFrom": {
5476
+ "name": "CardComponentMixin",
5477
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5478
+ }
5479
+ },
5480
+ {
5481
+ "name": "orientation",
5482
+ "type": {
5483
+ "text": "CardOrientation"
5484
+ },
5485
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5486
+ "default": "'vertical'",
5487
+ "fieldName": "orientation",
5488
+ "inheritedFrom": {
5489
+ "name": "CardComponentMixin",
5490
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5491
+ }
5492
+ },
5493
+ {
5494
+ "name": "title-tag-name",
5495
+ "type": {
5496
+ "text": "TagNameType"
5497
+ },
5498
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
5499
+ "default": "'span'",
5500
+ "fieldName": "titleTagName",
5501
+ "inheritedFrom": {
5502
+ "name": "CardComponentMixin",
5503
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5504
+ }
5505
+ },
5506
+ {
5507
+ "name": "subtitle-tag-name",
5508
+ "type": {
5509
+ "text": "TagNameType"
5510
+ },
5511
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
5512
+ "default": "'span'",
5513
+ "fieldName": "subtitleTagName",
5514
+ "inheritedFrom": {
5515
+ "name": "CardComponentMixin",
5516
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5517
+ }
5518
+ },
5519
+ {
5520
+ "name": "icon-name",
5521
+ "type": {
5522
+ "text": "IconNames | undefined"
5523
+ },
5524
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5525
+ "fieldName": "iconName",
5526
+ "inheritedFrom": {
5527
+ "name": "CardComponentMixin",
5528
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5529
+ }
5530
+ }
5531
+ ]
5532
+ }
5533
+ ],
5534
+ "exports": [
5535
+ {
5536
+ "kind": "js",
5537
+ "name": "default",
5538
+ "declaration": {
5539
+ "name": "Card",
5540
+ "module": "components/card/card.component.js"
5541
+ }
5542
+ }
5543
+ ]
5544
+ },
5545
+ {
5546
+ "kind": "javascript-module",
5547
+ "path": "components/cardbutton/cardbutton.component.js",
5548
+ "declarations": [
5549
+ {
5550
+ "kind": "class",
5551
+ "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.",
5552
+ "name": "CardButton",
5553
+ "cssProperties": [
5554
+ {
5555
+ "description": "The width of the card",
5556
+ "name": "--mdc-card-width"
5557
+ }
5558
+ ],
5559
+ "cssParts": [
5560
+ {
5561
+ "description": "The header part of the card",
5562
+ "name": "header"
5563
+ },
5564
+ {
5565
+ "description": "The icon part of the card header",
5566
+ "name": "icon"
5567
+ },
5568
+ {
5569
+ "description": "The body part of the card",
5570
+ "name": "body"
5571
+ },
5572
+ {
5573
+ "description": "The image part of the card",
5574
+ "name": "image"
5575
+ },
5576
+ {
5577
+ "description": "The footer part of the card",
5578
+ "name": "footer"
5579
+ },
5580
+ {
5581
+ "description": "The link part of the card footer",
5582
+ "name": "footer-link"
5583
+ },
5584
+ {
5585
+ "description": "The primary button part of the card footer",
5586
+ "name": "footer-button-primary"
5587
+ },
5588
+ {
5589
+ "description": "The secondary button part of the card footer",
5590
+ "name": "footer-button-secondary"
5591
+ },
5592
+ {
5593
+ "description": "The icon button part of the card header",
5594
+ "name": "icon-button"
5595
+ },
5596
+ {
5597
+ "description": "The text part of the card",
5598
+ "name": "text"
5599
+ }
5600
+ ],
5601
+ "slots": [
5602
+ {
5603
+ "description": "This slot is for passing the content before the body",
5604
+ "name": "before-body"
5605
+ },
5606
+ {
5607
+ "description": "This slot is for passing the text content for the card",
5608
+ "name": "body"
5609
+ },
5610
+ {
5611
+ "description": "This slot is for passing the content after the body",
5612
+ "name": "after-body"
5613
+ },
5614
+ {
5615
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
5616
+ "name": "footer-link"
5617
+ },
5618
+ {
5619
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
5620
+ "name": "footer-button-primary"
5621
+ }
5622
+ ],
5623
+ "members": [
5624
+ {
5625
+ "kind": "method",
5626
+ "name": "renderHeader",
5627
+ "privacy": "protected",
5628
+ "description": "Renders the header of the card if title is provided",
5629
+ "return": {
5630
+ "type": {
5631
+ "text": ""
5632
+ }
5633
+ }
5634
+ },
5635
+ {
5636
+ "kind": "field",
5637
+ "name": "cardTitle",
5638
+ "type": {
5639
+ "text": "string"
5640
+ },
5641
+ "default": "''",
5642
+ "description": "The title of the card - part of header section",
5643
+ "attribute": "card-title",
5644
+ "reflects": true,
5645
+ "inheritedFrom": {
5646
+ "name": "CardComponentMixin",
5647
+ "module": "utils/mixins/CardComponentMixin.js"
5648
+ }
5649
+ },
5650
+ {
5651
+ "kind": "field",
5652
+ "name": "subtitle",
5653
+ "type": {
5654
+ "text": "string"
5655
+ },
5656
+ "default": "''",
5657
+ "description": "The subtitle of the card - part of header section",
5658
+ "attribute": "subtitle",
5659
+ "reflects": true,
5660
+ "inheritedFrom": {
5661
+ "name": "CardComponentMixin",
5662
+ "module": "utils/mixins/CardComponentMixin.js"
5663
+ }
5664
+ },
5665
+ {
5666
+ "kind": "field",
5667
+ "name": "imageSrc",
5668
+ "type": {
5669
+ "text": "string"
5670
+ },
5671
+ "default": "''",
5672
+ "description": "The image source URL to render on the card",
5673
+ "attribute": "image-src",
5674
+ "reflects": true,
5675
+ "inheritedFrom": {
5676
+ "name": "CardComponentMixin",
5677
+ "module": "utils/mixins/CardComponentMixin.js"
5678
+ }
5679
+ },
5680
+ {
5681
+ "kind": "field",
5682
+ "name": "imageAlt",
5683
+ "type": {
5684
+ "text": "string"
5685
+ },
5686
+ "default": "''",
5687
+ "description": "The image alt for accessibility support",
5688
+ "attribute": "image-alt",
5689
+ "reflects": true,
5690
+ "inheritedFrom": {
5691
+ "name": "CardComponentMixin",
5692
+ "module": "utils/mixins/CardComponentMixin.js"
5693
+ }
5694
+ },
5695
+ {
5696
+ "kind": "field",
5697
+ "name": "variant",
5698
+ "type": {
5699
+ "text": "CardVariant"
5700
+ },
5701
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5702
+ "default": "'border'",
5703
+ "attribute": "variant",
5704
+ "reflects": true,
5705
+ "inheritedFrom": {
5706
+ "name": "CardComponentMixin",
5707
+ "module": "utils/mixins/CardComponentMixin.js"
5708
+ }
5709
+ },
5710
+ {
5711
+ "kind": "field",
5712
+ "name": "orientation",
5713
+ "type": {
5714
+ "text": "CardOrientation"
5715
+ },
5716
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5717
+ "default": "'vertical'",
5718
+ "attribute": "orientation",
5719
+ "reflects": true,
5720
+ "inheritedFrom": {
5721
+ "name": "CardComponentMixin",
5722
+ "module": "utils/mixins/CardComponentMixin.js"
5723
+ }
5724
+ },
5725
+ {
5726
+ "kind": "field",
5727
+ "name": "titleTagName",
5728
+ "type": {
5729
+ "text": "TagNameType"
5730
+ },
5731
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
5732
+ "default": "'span'",
5733
+ "attribute": "title-tag-name",
5734
+ "reflects": true,
5735
+ "inheritedFrom": {
5736
+ "name": "CardComponentMixin",
5737
+ "module": "utils/mixins/CardComponentMixin.js"
5738
+ }
5739
+ },
5740
+ {
5741
+ "kind": "field",
5742
+ "name": "subtitleTagName",
5743
+ "type": {
5744
+ "text": "TagNameType"
5745
+ },
5746
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
5747
+ "default": "'span'",
5748
+ "attribute": "subtitle-tag-name",
5749
+ "reflects": true,
5750
+ "inheritedFrom": {
5751
+ "name": "CardComponentMixin",
5752
+ "module": "utils/mixins/CardComponentMixin.js"
5753
+ }
5754
+ },
5755
+ {
5756
+ "kind": "field",
5757
+ "name": "iconName",
5758
+ "type": {
5759
+ "text": "IconNames | undefined"
5760
+ },
5761
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5762
+ "attribute": "icon-name",
5763
+ "reflects": true,
5764
+ "inheritedFrom": {
5765
+ "name": "CardComponentMixin",
5766
+ "module": "utils/mixins/CardComponentMixin.js"
5767
+ }
5768
+ },
5769
+ {
5770
+ "kind": "method",
5771
+ "name": "renderImage",
5772
+ "privacy": "protected",
5773
+ "description": "Renders the image on the card if image source is provided",
5774
+ "return": {
5775
+ "type": {
5776
+ "text": ""
5777
+ }
5778
+ },
5779
+ "inheritedFrom": {
5780
+ "name": "CardComponentMixin",
5781
+ "module": "utils/mixins/CardComponentMixin.js"
5782
+ }
5783
+ },
5784
+ {
5785
+ "kind": "method",
5786
+ "name": "renderIcon",
5787
+ "privacy": "protected",
5788
+ "description": "Renders the icon on the card if icon name is provided",
5789
+ "return": {
5790
+ "type": {
5791
+ "text": ""
5792
+ }
5793
+ },
5794
+ "inheritedFrom": {
5795
+ "name": "CardComponentMixin",
5796
+ "module": "utils/mixins/CardComponentMixin.js"
5797
+ }
5798
+ },
5799
+ {
5800
+ "kind": "method",
5801
+ "name": "renderTitle",
5802
+ "privacy": "protected",
5803
+ "description": "Renders the title and subtitle on the card",
5804
+ "return": {
5805
+ "type": {
5806
+ "text": ""
5807
+ }
5808
+ },
5809
+ "inheritedFrom": {
5810
+ "name": "CardComponentMixin",
5811
+ "module": "utils/mixins/CardComponentMixin.js"
5812
+ }
5813
+ },
5814
+ {
5815
+ "kind": "field",
5816
+ "name": "autofocus",
5817
+ "type": {
5818
+ "text": "boolean"
5819
+ },
5820
+ "default": "false",
5821
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
5822
+ "attribute": "autofocus",
5823
+ "reflects": true,
5824
+ "inheritedFrom": {
5825
+ "name": "Buttonsimple",
5826
+ "module": "components/buttonsimple/buttonsimple.component.js"
5827
+ }
5828
+ },
5829
+ {
5830
+ "kind": "field",
5831
+ "name": "tabIndex",
5832
+ "type": {
5833
+ "text": "number"
5834
+ },
5835
+ "default": "0",
5836
+ "description": "This property specifies the tab order of the element.",
5837
+ "attribute": "tabIndex",
5838
+ "reflects": true,
5839
+ "inheritedFrom": {
5840
+ "name": "Buttonsimple",
5841
+ "module": "components/buttonsimple/buttonsimple.component.js"
5842
+ }
5843
+ },
5844
+ {
5845
+ "kind": "field",
5846
+ "name": "disabled",
5847
+ "type": {
5848
+ "text": "boolean | undefined"
5849
+ },
5850
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5851
+ "default": "undefined",
5852
+ "attribute": "disabled",
5853
+ "reflects": true,
5854
+ "inheritedFrom": {
5855
+ "name": "Buttonsimple",
5856
+ "module": "components/buttonsimple/buttonsimple.component.js"
5857
+ }
5858
+ },
5859
+ {
5860
+ "kind": "field",
5861
+ "name": "active",
5862
+ "type": {
5863
+ "text": "boolean | undefined"
5864
+ },
5865
+ "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.",
5866
+ "default": "undefined",
5867
+ "attribute": "active",
5868
+ "reflects": true,
5869
+ "inheritedFrom": {
5870
+ "name": "Buttonsimple",
5871
+ "module": "components/buttonsimple/buttonsimple.component.js"
5872
+ }
5873
+ },
5874
+ {
5875
+ "kind": "field",
5876
+ "name": "softDisabled",
5877
+ "type": {
5878
+ "text": "boolean | undefined"
5879
+ },
5880
+ "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.",
5881
+ "default": "undefined",
5882
+ "attribute": "soft-disabled",
5883
+ "reflects": true,
5884
+ "inheritedFrom": {
5885
+ "name": "Buttonsimple",
5886
+ "module": "components/buttonsimple/buttonsimple.component.js"
5887
+ }
5888
+ },
5889
+ {
5890
+ "kind": "field",
5891
+ "name": "size",
5892
+ "type": {
5893
+ "text": "ButtonSize"
5894
+ },
5895
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
5896
+ "default": "32",
5897
+ "attribute": "size",
5898
+ "reflects": true,
5072
5899
  "inheritedFrom": {
5073
5900
  "name": "Buttonsimple",
5074
5901
  "module": "components/buttonsimple/buttonsimple.component.js"
@@ -5443,8 +6270,8 @@
5443
6270
  "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
5444
6271
  "fieldName": "autofocus",
5445
6272
  "inheritedFrom": {
5446
- "name": "AutoFocusMixin",
5447
- "module": "src/utils/mixins/AutoFocusMixin.ts"
6273
+ "name": "Buttonsimple",
6274
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5448
6275
  }
5449
6276
  },
5450
6277
  {
@@ -5456,8 +6283,8 @@
5456
6283
  "description": "This property specifies the tab order of the element.",
5457
6284
  "fieldName": "tabIndex",
5458
6285
  "inheritedFrom": {
5459
- "name": "TabIndexMixin",
5460
- "module": "src/utils/mixins/TabIndexMixin.ts"
6286
+ "name": "Buttonsimple",
6287
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5461
6288
  }
5462
6289
  },
5463
6290
  {
@@ -5469,8 +6296,8 @@
5469
6296
  "default": "undefined",
5470
6297
  "fieldName": "disabled",
5471
6298
  "inheritedFrom": {
5472
- "name": "DisabledMixin",
5473
- "module": "src/utils/mixins/DisabledMixin.ts"
6299
+ "name": "Buttonsimple",
6300
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5474
6301
  }
5475
6302
  },
5476
6303
  {
@@ -5727,1146 +6554,46 @@
5727
6554
  }
5728
6555
  },
5729
6556
  {
5730
- "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
5731
- "name": "footer",
5732
- "inheritedFrom": {
5733
- "name": "Card",
5734
- "module": "src/components/card/card.component.ts"
5735
- }
5736
- }
5737
- ],
5738
- "members": [
5739
- {
5740
- "kind": "field",
5741
- "name": "checked",
5742
- "type": {
5743
- "text": "boolean"
5744
- },
5745
- "default": "false",
5746
- "description": "The checked state of the card",
5747
- "attribute": "checked",
5748
- "reflects": true
5749
- },
5750
- {
5751
- "kind": "field",
5752
- "name": "selectionType",
5753
- "type": {
5754
- "text": "SelectionType"
5755
- },
5756
- "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
5757
- "default": "'check'",
5758
- "attribute": "selection-type",
5759
- "reflects": true
5760
- },
5761
- {
5762
- "kind": "method",
5763
- "name": "toggleChecked",
5764
- "privacy": "private",
5765
- "description": "Toggles the checked state"
5766
- },
5767
- {
5768
- "kind": "method",
5769
- "name": "toggleOnEnter",
5770
- "privacy": "private",
5771
- "parameters": [
5772
- {
5773
- "name": "event",
5774
- "type": {
5775
- "text": "KeyboardEvent"
5776
- },
5777
- "description": "The keyboard event"
5778
- }
5779
- ],
5780
- "description": "Toggles the checked state when enter key is used"
5781
- },
5782
- {
5783
- "kind": "method",
5784
- "name": "toggleOnSpace",
5785
- "privacy": "private",
5786
- "parameters": [
5787
- {
5788
- "name": "event",
5789
- "type": {
5790
- "text": "KeyboardEvent"
5791
- },
5792
- "description": "The keyboard event"
5793
- }
5794
- ],
5795
- "description": "Toggles the checked state when space key is used"
5796
- },
5797
- {
5798
- "kind": "method",
5799
- "name": "renderSelection",
5800
- "privacy": "private",
5801
- "description": "Renders the selection icon or checkbox based on the selection type",
5802
- "return": {
5803
- "type": {
5804
- "text": ""
5805
- }
5806
- }
5807
- },
5808
- {
5809
- "kind": "method",
5810
- "name": "renderHeader",
5811
- "privacy": "protected",
5812
- "description": "Renders the header of the card",
5813
- "return": {
5814
- "type": {
5815
- "text": ""
5816
- }
5817
- },
5818
- "inheritedFrom": {
5819
- "name": "Card",
5820
- "module": "components/card/card.component.js"
5821
- }
5822
- },
5823
- {
5824
- "kind": "field",
5825
- "name": "disabled",
5826
- "type": {
5827
- "text": "boolean | undefined"
5828
- },
5829
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5830
- "default": "undefined",
5831
- "attribute": "disabled",
5832
- "reflects": true,
5833
- "inheritedFrom": {
5834
- "name": "DisabledMixin",
5835
- "module": "utils/mixins/DisabledMixin.js"
5836
- }
5837
- },
5838
- {
5839
- "kind": "field",
5840
- "name": "tabIndex",
5841
- "type": {
5842
- "text": "number"
5843
- },
5844
- "default": "0",
5845
- "description": "This property specifies the tab order of the element.",
5846
- "attribute": "tabIndex",
5847
- "reflects": true,
5848
- "inheritedFrom": {
5849
- "name": "TabIndexMixin",
5850
- "module": "utils/mixins/TabIndexMixin.js"
5851
- }
5852
- },
5853
- {
5854
- "kind": "field",
5855
- "name": "cardTitle",
5856
- "type": {
5857
- "text": "string"
5858
- },
5859
- "default": "''",
5860
- "description": "The title of the card - part of header section",
5861
- "attribute": "card-title",
5862
- "reflects": true,
5863
- "inheritedFrom": {
5864
- "name": "CardComponentMixin",
5865
- "module": "utils/mixins/CardComponentMixin.js"
5866
- }
5867
- },
5868
- {
5869
- "kind": "field",
5870
- "name": "subtitle",
5871
- "type": {
5872
- "text": "string"
5873
- },
5874
- "default": "''",
5875
- "description": "The subtitle of the card - part of header section",
5876
- "attribute": "subtitle",
5877
- "reflects": true,
5878
- "inheritedFrom": {
5879
- "name": "CardComponentMixin",
5880
- "module": "utils/mixins/CardComponentMixin.js"
5881
- }
5882
- },
5883
- {
5884
- "kind": "field",
5885
- "name": "imageSrc",
5886
- "type": {
5887
- "text": "string"
5888
- },
5889
- "default": "''",
5890
- "description": "The image source URL to render on the card",
5891
- "attribute": "image-src",
5892
- "reflects": true,
5893
- "inheritedFrom": {
5894
- "name": "CardComponentMixin",
5895
- "module": "utils/mixins/CardComponentMixin.js"
5896
- }
5897
- },
5898
- {
5899
- "kind": "field",
5900
- "name": "imageAlt",
5901
- "type": {
5902
- "text": "string"
5903
- },
5904
- "default": "''",
5905
- "description": "The image alt for accessibility support",
5906
- "attribute": "image-alt",
5907
- "reflects": true,
5908
- "inheritedFrom": {
5909
- "name": "CardComponentMixin",
5910
- "module": "utils/mixins/CardComponentMixin.js"
5911
- }
5912
- },
5913
- {
5914
- "kind": "field",
5915
- "name": "variant",
5916
- "type": {
5917
- "text": "CardVariant"
5918
- },
5919
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5920
- "default": "'border'",
5921
- "attribute": "variant",
5922
- "reflects": true,
5923
- "inheritedFrom": {
5924
- "name": "CardComponentMixin",
5925
- "module": "utils/mixins/CardComponentMixin.js"
5926
- }
5927
- },
5928
- {
5929
- "kind": "field",
5930
- "name": "orientation",
5931
- "type": {
5932
- "text": "CardOrientation"
5933
- },
5934
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5935
- "default": "'vertical'",
5936
- "attribute": "orientation",
5937
- "reflects": true,
5938
- "inheritedFrom": {
5939
- "name": "CardComponentMixin",
5940
- "module": "utils/mixins/CardComponentMixin.js"
5941
- }
5942
- },
5943
- {
5944
- "kind": "field",
5945
- "name": "titleTagName",
5946
- "type": {
5947
- "text": "TagNameType"
5948
- },
5949
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
5950
- "default": "'span'",
5951
- "attribute": "title-tag-name",
5952
- "reflects": true,
5953
- "inheritedFrom": {
5954
- "name": "CardComponentMixin",
5955
- "module": "utils/mixins/CardComponentMixin.js"
5956
- }
5957
- },
5958
- {
5959
- "kind": "field",
5960
- "name": "subtitleTagName",
5961
- "type": {
5962
- "text": "TagNameType"
5963
- },
5964
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
5965
- "default": "'span'",
5966
- "attribute": "subtitle-tag-name",
5967
- "reflects": true,
5968
- "inheritedFrom": {
5969
- "name": "CardComponentMixin",
5970
- "module": "utils/mixins/CardComponentMixin.js"
5971
- }
5972
- },
5973
- {
5974
- "kind": "field",
5975
- "name": "iconName",
5976
- "type": {
5977
- "text": "IconNames | undefined"
5978
- },
5979
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5980
- "attribute": "icon-name",
5981
- "reflects": true,
5982
- "inheritedFrom": {
5983
- "name": "CardComponentMixin",
5984
- "module": "utils/mixins/CardComponentMixin.js"
5985
- }
5986
- },
5987
- {
5988
- "kind": "method",
5989
- "name": "renderImage",
5990
- "privacy": "protected",
5991
- "description": "Renders the image on the card if image source is provided",
5992
- "return": {
5993
- "type": {
5994
- "text": ""
5995
- }
5996
- },
5997
- "inheritedFrom": {
5998
- "name": "CardComponentMixin",
5999
- "module": "utils/mixins/CardComponentMixin.js"
6000
- }
6001
- },
6002
- {
6003
- "kind": "method",
6004
- "name": "renderIcon",
6005
- "privacy": "protected",
6006
- "description": "Renders the icon on the card if icon name is provided",
6007
- "return": {
6008
- "type": {
6009
- "text": ""
6010
- }
6011
- },
6012
- "inheritedFrom": {
6013
- "name": "CardComponentMixin",
6014
- "module": "utils/mixins/CardComponentMixin.js"
6015
- }
6016
- },
6017
- {
6018
- "kind": "method",
6019
- "name": "renderTitle",
6020
- "privacy": "protected",
6021
- "description": "Renders the title and subtitle on the card",
6022
- "return": {
6023
- "type": {
6024
- "text": ""
6025
- }
6026
- },
6027
- "inheritedFrom": {
6028
- "name": "CardComponentMixin",
6029
- "module": "utils/mixins/CardComponentMixin.js"
6030
- }
6031
- },
6032
- {
6033
- "kind": "method",
6034
- "name": "renderFooter",
6035
- "privacy": "protected",
6036
- "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
6037
- "return": {
6038
- "type": {
6039
- "text": ""
6040
- }
6041
- },
6042
- "inheritedFrom": {
6043
- "name": "FooterMixin",
6044
- "module": "utils/mixins/FooterMixin.js"
6045
- }
6046
- }
6047
- ],
6048
- "events": [
6049
- {
6050
- "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
6051
- "name": "click",
6052
- "reactName": "onClick"
6053
- },
6054
- {
6055
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It toggles the checked state when enter key is used.",
6056
- "name": "keydown",
6057
- "reactName": "onKeyDown"
6058
- },
6059
- {
6060
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It toggles the checked state when space key is used.",
6061
- "name": "keyup",
6062
- "reactName": "onKeyUp"
6063
- },
6064
- {
6065
- "description": "(React: onChange) Event that gets dispatched when the card state changes.",
6066
- "name": "change",
6067
- "reactName": "onChange"
6068
- },
6069
- {
6070
- "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
6071
- "name": "focus",
6072
- "reactName": "onFocus"
6073
- }
6074
- ],
6075
- "attributes": [
6076
- {
6077
- "name": "checked",
6078
- "type": {
6079
- "text": "boolean"
6080
- },
6081
- "default": "false",
6082
- "description": "The checked state of the card",
6083
- "fieldName": "checked"
6084
- },
6085
- {
6086
- "name": "selection-type",
6087
- "type": {
6088
- "text": "SelectionType"
6089
- },
6090
- "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
6091
- "default": "'check'",
6092
- "fieldName": "selectionType"
6093
- },
6094
- {
6095
- "name": "disabled",
6096
- "type": {
6097
- "text": "boolean | undefined"
6098
- },
6099
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6100
- "default": "undefined",
6101
- "fieldName": "disabled",
6102
- "inheritedFrom": {
6103
- "name": "DisabledMixin",
6104
- "module": "src/utils/mixins/DisabledMixin.ts"
6105
- }
6106
- },
6107
- {
6108
- "name": "tabIndex",
6109
- "type": {
6110
- "text": "number"
6111
- },
6112
- "default": "0",
6113
- "description": "This property specifies the tab order of the element.",
6114
- "fieldName": "tabIndex",
6115
- "inheritedFrom": {
6116
- "name": "TabIndexMixin",
6117
- "module": "src/utils/mixins/TabIndexMixin.ts"
6118
- }
6119
- },
6120
- {
6121
- "name": "card-title",
6122
- "type": {
6123
- "text": "string"
6124
- },
6125
- "default": "''",
6126
- "description": "The title of the card - part of header section",
6127
- "fieldName": "cardTitle",
6128
- "inheritedFrom": {
6129
- "name": "CardComponentMixin",
6130
- "module": "src/utils/mixins/CardComponentMixin.ts"
6131
- }
6132
- },
6133
- {
6134
- "name": "subtitle",
6135
- "type": {
6136
- "text": "string"
6137
- },
6138
- "default": "''",
6139
- "description": "The subtitle of the card - part of header section",
6140
- "fieldName": "subtitle",
6141
- "inheritedFrom": {
6142
- "name": "CardComponentMixin",
6143
- "module": "src/utils/mixins/CardComponentMixin.ts"
6144
- }
6145
- },
6146
- {
6147
- "name": "image-src",
6148
- "type": {
6149
- "text": "string"
6150
- },
6151
- "default": "''",
6152
- "description": "The image source URL to render on the card",
6153
- "fieldName": "imageSrc",
6154
- "inheritedFrom": {
6155
- "name": "CardComponentMixin",
6156
- "module": "src/utils/mixins/CardComponentMixin.ts"
6157
- }
6158
- },
6159
- {
6160
- "name": "image-alt",
6161
- "type": {
6162
- "text": "string"
6163
- },
6164
- "default": "''",
6165
- "description": "The image alt for accessibility support",
6166
- "fieldName": "imageAlt",
6167
- "inheritedFrom": {
6168
- "name": "CardComponentMixin",
6169
- "module": "src/utils/mixins/CardComponentMixin.ts"
6170
- }
6171
- },
6172
- {
6173
- "name": "variant",
6174
- "type": {
6175
- "text": "CardVariant"
6176
- },
6177
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6178
- "default": "'border'",
6179
- "fieldName": "variant",
6180
- "inheritedFrom": {
6181
- "name": "CardComponentMixin",
6182
- "module": "src/utils/mixins/CardComponentMixin.ts"
6183
- }
6184
- },
6185
- {
6186
- "name": "orientation",
6187
- "type": {
6188
- "text": "CardOrientation"
6189
- },
6190
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6191
- "default": "'vertical'",
6192
- "fieldName": "orientation",
6193
- "inheritedFrom": {
6194
- "name": "CardComponentMixin",
6195
- "module": "src/utils/mixins/CardComponentMixin.ts"
6196
- }
6197
- },
6198
- {
6199
- "name": "title-tag-name",
6200
- "type": {
6201
- "text": "TagNameType"
6202
- },
6203
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6204
- "default": "'span'",
6205
- "fieldName": "titleTagName",
6206
- "inheritedFrom": {
6207
- "name": "CardComponentMixin",
6208
- "module": "src/utils/mixins/CardComponentMixin.ts"
6209
- }
6210
- },
6211
- {
6212
- "name": "subtitle-tag-name",
6213
- "type": {
6214
- "text": "TagNameType"
6215
- },
6216
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6217
- "default": "'span'",
6218
- "fieldName": "subtitleTagName",
6219
- "inheritedFrom": {
6220
- "name": "CardComponentMixin",
6221
- "module": "src/utils/mixins/CardComponentMixin.ts"
6222
- }
6223
- },
6224
- {
6225
- "name": "icon-name",
6226
- "type": {
6227
- "text": "IconNames | undefined"
6228
- },
6229
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6230
- "fieldName": "iconName",
6231
- "inheritedFrom": {
6232
- "name": "CardComponentMixin",
6233
- "module": "src/utils/mixins/CardComponentMixin.ts"
6234
- }
6235
- }
6236
- ],
6237
- "mixins": [
6238
- {
6239
- "name": "DisabledMixin",
6240
- "module": "/src/utils/mixins/DisabledMixin"
6241
- },
6242
- {
6243
- "name": "TabIndexMixin",
6244
- "module": "/src/utils/mixins/TabIndexMixin"
6245
- }
6246
- ],
6247
- "superclass": {
6248
- "name": "Card",
6249
- "module": "/src/components/card/card.component"
6250
- },
6251
- "tagName": "mdc-cardcheckbox",
6252
- "jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event change - (React: onChange) Event that gets dispatched when the card state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
6253
- "customElement": true
6254
- }
6255
- ],
6256
- "exports": [
6257
- {
6258
- "kind": "js",
6259
- "name": "default",
6260
- "declaration": {
6261
- "name": "CardCheckbox",
6262
- "module": "components/cardcheckbox/cardcheckbox.component.js"
6263
- }
6264
- }
6265
- ]
6266
- },
6267
- {
6268
- "kind": "javascript-module",
6269
- "path": "components/card/card.component.js",
6270
- "declarations": [
6271
- {
6272
- "kind": "class",
6273
- "description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
6274
- "name": "Card",
6275
- "cssProperties": [
6276
- {
6277
- "description": "The width of the card",
6278
- "name": "--mdc-card-width"
6279
- }
6280
- ],
6281
- "cssParts": [
6282
- {
6283
- "description": "The header part of the card",
6284
- "name": "header"
6285
- },
6286
- {
6287
- "description": "The icon part of the card header",
6288
- "name": "icon"
6289
- },
6290
- {
6291
- "description": "The body part of the card",
6292
- "name": "body"
6293
- },
6294
- {
6295
- "description": "The image part of the card",
6296
- "name": "image"
6297
- },
6298
- {
6299
- "description": "The footer part of the card",
6300
- "name": "footer"
6301
- },
6302
- {
6303
- "description": "The link part of the card footer",
6304
- "name": "footer-link"
6305
- },
6306
- {
6307
- "description": "The primary button part of the card footer",
6308
- "name": "footer-button-primary"
6309
- },
6310
- {
6311
- "description": "The secondary button part of the card footer",
6312
- "name": "footer-button-secondary"
6313
- },
6314
- {
6315
- "description": "The icon button part of the card header",
6316
- "name": "icon-button"
6317
- },
6318
- {
6319
- "description": "The text part of the card",
6320
- "name": "text"
6321
- }
6322
- ],
6323
- "slots": [
6324
- {
6325
- "description": "This slot is for passing the content before the body",
6326
- "name": "before-body"
6327
- },
6328
- {
6329
- "description": "This slot is for passing the text content for the card",
6330
- "name": "body"
6331
- },
6332
- {
6333
- "description": "This slot is for passing the content after the body",
6334
- "name": "after-body"
6335
- },
6336
- {
6337
- "description": "This slot is for passing `mdc-link` component within the footer section.",
6338
- "name": "footer-link"
6339
- },
6340
- {
6341
- "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
6342
- "name": "footer-button-primary"
6343
- },
6344
- {
6345
- "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
6346
- "name": "footer-button-secondary"
6347
- },
6348
- {
6349
- "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
6350
- "name": "footer"
6351
- }
6352
- ],
6353
- "members": [
6354
- {
6355
- "kind": "method",
6356
- "name": "renderHeader",
6357
- "privacy": "protected",
6358
- "description": "Renders the header of the card if title is provided",
6359
- "return": {
6360
- "type": {
6361
- "text": ""
6362
- }
6363
- }
6364
- },
6365
- {
6366
- "kind": "field",
6367
- "name": "cardTitle",
6368
- "type": {
6369
- "text": "string"
6370
- },
6371
- "default": "''",
6372
- "description": "The title of the card - part of header section",
6373
- "attribute": "card-title",
6374
- "reflects": true,
6375
- "inheritedFrom": {
6376
- "name": "CardComponentMixin",
6377
- "module": "utils/mixins/CardComponentMixin.js"
6378
- }
6379
- },
6380
- {
6381
- "kind": "field",
6382
- "name": "subtitle",
6383
- "type": {
6384
- "text": "string"
6385
- },
6386
- "default": "''",
6387
- "description": "The subtitle of the card - part of header section",
6388
- "attribute": "subtitle",
6389
- "reflects": true,
6390
- "inheritedFrom": {
6391
- "name": "CardComponentMixin",
6392
- "module": "utils/mixins/CardComponentMixin.js"
6393
- }
6394
- },
6395
- {
6396
- "kind": "field",
6397
- "name": "imageSrc",
6398
- "type": {
6399
- "text": "string"
6400
- },
6401
- "default": "''",
6402
- "description": "The image source URL to render on the card",
6403
- "attribute": "image-src",
6404
- "reflects": true,
6405
- "inheritedFrom": {
6406
- "name": "CardComponentMixin",
6407
- "module": "utils/mixins/CardComponentMixin.js"
6408
- }
6409
- },
6410
- {
6411
- "kind": "field",
6412
- "name": "imageAlt",
6413
- "type": {
6414
- "text": "string"
6415
- },
6416
- "default": "''",
6417
- "description": "The image alt for accessibility support",
6418
- "attribute": "image-alt",
6419
- "reflects": true,
6420
- "inheritedFrom": {
6421
- "name": "CardComponentMixin",
6422
- "module": "utils/mixins/CardComponentMixin.js"
6423
- }
6424
- },
6425
- {
6426
- "kind": "field",
6427
- "name": "variant",
6428
- "type": {
6429
- "text": "CardVariant"
6430
- },
6431
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6432
- "default": "'border'",
6433
- "attribute": "variant",
6434
- "reflects": true,
6435
- "inheritedFrom": {
6436
- "name": "CardComponentMixin",
6437
- "module": "utils/mixins/CardComponentMixin.js"
6438
- }
6439
- },
6440
- {
6441
- "kind": "field",
6442
- "name": "orientation",
6443
- "type": {
6444
- "text": "CardOrientation"
6445
- },
6446
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6447
- "default": "'vertical'",
6448
- "attribute": "orientation",
6449
- "reflects": true,
6450
- "inheritedFrom": {
6451
- "name": "CardComponentMixin",
6452
- "module": "utils/mixins/CardComponentMixin.js"
6453
- }
6454
- },
6455
- {
6456
- "kind": "field",
6457
- "name": "titleTagName",
6458
- "type": {
6459
- "text": "TagNameType"
6460
- },
6461
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6462
- "default": "'span'",
6463
- "attribute": "title-tag-name",
6464
- "reflects": true,
6465
- "inheritedFrom": {
6466
- "name": "CardComponentMixin",
6467
- "module": "utils/mixins/CardComponentMixin.js"
6468
- }
6469
- },
6470
- {
6471
- "kind": "field",
6472
- "name": "subtitleTagName",
6473
- "type": {
6474
- "text": "TagNameType"
6475
- },
6476
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6477
- "default": "'span'",
6478
- "attribute": "subtitle-tag-name",
6479
- "reflects": true,
6480
- "inheritedFrom": {
6481
- "name": "CardComponentMixin",
6482
- "module": "utils/mixins/CardComponentMixin.js"
6483
- }
6484
- },
6485
- {
6486
- "kind": "field",
6487
- "name": "iconName",
6488
- "type": {
6489
- "text": "IconNames | undefined"
6490
- },
6491
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6492
- "attribute": "icon-name",
6493
- "reflects": true,
6494
- "inheritedFrom": {
6495
- "name": "CardComponentMixin",
6496
- "module": "utils/mixins/CardComponentMixin.js"
6497
- }
6498
- },
6499
- {
6500
- "kind": "method",
6501
- "name": "renderImage",
6502
- "privacy": "protected",
6503
- "description": "Renders the image on the card if image source is provided",
6504
- "return": {
6505
- "type": {
6506
- "text": ""
6507
- }
6508
- },
6509
- "inheritedFrom": {
6510
- "name": "CardComponentMixin",
6511
- "module": "utils/mixins/CardComponentMixin.js"
6512
- }
6513
- },
6514
- {
6515
- "kind": "method",
6516
- "name": "renderIcon",
6517
- "privacy": "protected",
6518
- "description": "Renders the icon on the card if icon name is provided",
6519
- "return": {
6520
- "type": {
6521
- "text": ""
6522
- }
6523
- },
6524
- "inheritedFrom": {
6525
- "name": "CardComponentMixin",
6526
- "module": "utils/mixins/CardComponentMixin.js"
6527
- }
6528
- },
6529
- {
6530
- "kind": "method",
6531
- "name": "renderTitle",
6532
- "privacy": "protected",
6533
- "description": "Renders the title and subtitle on the card",
6534
- "return": {
6535
- "type": {
6536
- "text": ""
6537
- }
6538
- },
6539
- "inheritedFrom": {
6540
- "name": "CardComponentMixin",
6541
- "module": "utils/mixins/CardComponentMixin.js"
6542
- }
6543
- },
6544
- {
6545
- "kind": "method",
6546
- "name": "renderFooter",
6547
- "privacy": "protected",
6548
- "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
6549
- "return": {
6550
- "type": {
6551
- "text": ""
6552
- }
6553
- },
6554
- "inheritedFrom": {
6555
- "name": "FooterMixin",
6556
- "module": "utils/mixins/FooterMixin.js"
6557
- }
6558
- }
6559
- ],
6560
- "mixins": [
6561
- {
6562
- "name": "CardComponentMixin",
6563
- "module": "/src/utils/mixins/CardComponentMixin"
6564
- },
6565
- {
6566
- "name": "FooterMixin",
6567
- "module": "/src/utils/mixins/FooterMixin"
6568
- }
6569
- ],
6570
- "superclass": {
6571
- "name": "Component",
6572
- "module": "/src/models"
6573
- },
6574
- "tagName": "mdc-card",
6575
- "jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
6576
- "customElement": true,
6577
- "attributes": [
6578
- {
6579
- "name": "card-title",
6580
- "type": {
6581
- "text": "string"
6582
- },
6583
- "default": "''",
6584
- "description": "The title of the card - part of header section",
6585
- "fieldName": "cardTitle",
6586
- "inheritedFrom": {
6587
- "name": "CardComponentMixin",
6588
- "module": "src/utils/mixins/CardComponentMixin.ts"
6589
- }
6590
- },
6591
- {
6592
- "name": "subtitle",
6593
- "type": {
6594
- "text": "string"
6595
- },
6596
- "default": "''",
6597
- "description": "The subtitle of the card - part of header section",
6598
- "fieldName": "subtitle",
6599
- "inheritedFrom": {
6600
- "name": "CardComponentMixin",
6601
- "module": "src/utils/mixins/CardComponentMixin.ts"
6602
- }
6603
- },
6604
- {
6605
- "name": "image-src",
6606
- "type": {
6607
- "text": "string"
6608
- },
6609
- "default": "''",
6610
- "description": "The image source URL to render on the card",
6611
- "fieldName": "imageSrc",
6612
- "inheritedFrom": {
6613
- "name": "CardComponentMixin",
6614
- "module": "src/utils/mixins/CardComponentMixin.ts"
6615
- }
6616
- },
6617
- {
6618
- "name": "image-alt",
6619
- "type": {
6620
- "text": "string"
6621
- },
6622
- "default": "''",
6623
- "description": "The image alt for accessibility support",
6624
- "fieldName": "imageAlt",
6625
- "inheritedFrom": {
6626
- "name": "CardComponentMixin",
6627
- "module": "src/utils/mixins/CardComponentMixin.ts"
6628
- }
6629
- },
6630
- {
6631
- "name": "variant",
6632
- "type": {
6633
- "text": "CardVariant"
6634
- },
6635
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6636
- "default": "'border'",
6637
- "fieldName": "variant",
6638
- "inheritedFrom": {
6639
- "name": "CardComponentMixin",
6640
- "module": "src/utils/mixins/CardComponentMixin.ts"
6641
- }
6642
- },
6643
- {
6644
- "name": "orientation",
6645
- "type": {
6646
- "text": "CardOrientation"
6647
- },
6648
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6649
- "default": "'vertical'",
6650
- "fieldName": "orientation",
6651
- "inheritedFrom": {
6652
- "name": "CardComponentMixin",
6653
- "module": "src/utils/mixins/CardComponentMixin.ts"
6654
- }
6655
- },
6656
- {
6657
- "name": "title-tag-name",
6658
- "type": {
6659
- "text": "TagNameType"
6660
- },
6661
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6662
- "default": "'span'",
6663
- "fieldName": "titleTagName",
6664
- "inheritedFrom": {
6665
- "name": "CardComponentMixin",
6666
- "module": "src/utils/mixins/CardComponentMixin.ts"
6667
- }
6668
- },
6669
- {
6670
- "name": "subtitle-tag-name",
6671
- "type": {
6672
- "text": "TagNameType"
6673
- },
6674
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6675
- "default": "'span'",
6676
- "fieldName": "subtitleTagName",
6677
- "inheritedFrom": {
6678
- "name": "CardComponentMixin",
6679
- "module": "src/utils/mixins/CardComponentMixin.ts"
6680
- }
6681
- },
6682
- {
6683
- "name": "icon-name",
6684
- "type": {
6685
- "text": "IconNames | undefined"
6686
- },
6687
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6688
- "fieldName": "iconName",
6689
- "inheritedFrom": {
6690
- "name": "CardComponentMixin",
6691
- "module": "src/utils/mixins/CardComponentMixin.ts"
6692
- }
6693
- }
6694
- ]
6695
- }
6696
- ],
6697
- "exports": [
6698
- {
6699
- "kind": "js",
6700
- "name": "default",
6701
- "declaration": {
6702
- "name": "Card",
6703
- "module": "components/card/card.component.js"
6704
- }
6705
- }
6706
- ]
6707
- },
6708
- {
6709
- "kind": "javascript-module",
6710
- "path": "components/buttonsimple/buttonsimple.component.js",
6711
- "declarations": [
6712
- {
6713
- "kind": "class",
6714
- "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
6715
- "name": "Buttonsimple",
6716
- "members": [
6717
- {
6718
- "kind": "field",
6719
- "name": "active",
6720
- "type": {
6721
- "text": "boolean | undefined"
6722
- },
6723
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
6724
- "default": "undefined",
6725
- "attribute": "active",
6726
- "reflects": true
6727
- },
6728
- {
6729
- "kind": "field",
6730
- "name": "softDisabled",
6731
- "type": {
6732
- "text": "boolean | undefined"
6733
- },
6734
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
6735
- "default": "undefined",
6736
- "attribute": "soft-disabled",
6737
- "reflects": true
6738
- },
6739
- {
6740
- "kind": "field",
6741
- "name": "size",
6742
- "type": {
6743
- "text": "ButtonSize"
6744
- },
6745
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6746
- "default": "32",
6747
- "attribute": "size",
6748
- "reflects": true
6749
- },
6750
- {
6751
- "kind": "field",
6752
- "name": "role",
6753
- "type": {
6754
- "text": "RoleType"
6755
- },
6756
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
6757
- "default": "button",
6758
- "attribute": "role",
6759
- "reflects": true
6760
- },
6761
- {
6762
- "kind": "field",
6763
- "name": "ariaStateKey",
6764
- "type": {
6765
- "text": "string | undefined"
6766
- },
6767
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
6768
- "default": "'aria-pressed' (when)",
6769
- "attribute": "ariaStateKey",
6770
- "reflects": true
6771
- },
6772
- {
6773
- "kind": "field",
6774
- "name": "type",
6775
- "type": {
6776
- "text": "ButtonType"
6777
- },
6778
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
6779
- "default": "button",
6780
- "attribute": "type",
6781
- "reflects": true
6782
- },
6783
- {
6784
- "kind": "method",
6785
- "name": "executeAction",
6786
- "privacy": "protected"
6787
- },
6788
- {
6789
- "kind": "method",
6790
- "name": "setActive",
6791
- "privacy": "protected",
6792
- "parameters": [
6793
- {
6794
- "name": "element",
6795
- "type": {
6796
- "text": "HTMLElement"
6797
- },
6798
- "description": "The button element"
6799
- },
6800
- {
6801
- "name": "active",
6802
- "optional": true,
6803
- "type": {
6804
- "text": "boolean"
6805
- },
6806
- "description": "The active state of the element"
6807
- }
6808
- ],
6809
- "description": "Sets the ariaStateKey attributes based on the active state of the button."
6810
- },
6811
- {
6812
- "kind": "method",
6813
- "name": "setSoftDisabled",
6814
- "privacy": "private",
6815
- "parameters": [
6816
- {
6817
- "name": "element",
6818
- "type": {
6819
- "text": "HTMLElement"
6820
- },
6821
- "description": "The button element."
6822
- },
6823
- {
6824
- "name": "softDisabled",
6825
- "optional": true,
6826
- "type": {
6827
- "text": "boolean"
6828
- },
6829
- "description": "The soft-disabled state."
6830
- }
6831
- ],
6832
- "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
6833
- },
6834
- {
6835
- "kind": "method",
6836
- "name": "setDisabled",
6837
- "privacy": "private",
6838
- "parameters": [
6839
- {
6840
- "name": "element",
6841
- "type": {
6842
- "text": "HTMLElement"
6843
- },
6844
- "description": "The button element."
6845
- },
6846
- {
6847
- "name": "disabled",
6848
- "type": {
6849
- "text": "boolean"
6850
- },
6851
- "description": "The disabled state."
6852
- }
6853
- ],
6854
- "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute."
6557
+ "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.",
6558
+ "name": "footer",
6559
+ "inheritedFrom": {
6560
+ "name": "Card",
6561
+ "module": "src/components/card/card.component.ts"
6562
+ }
6563
+ }
6564
+ ],
6565
+ "members": [
6566
+ {
6567
+ "kind": "field",
6568
+ "name": "checked",
6569
+ "type": {
6570
+ "text": "boolean"
6571
+ },
6572
+ "default": "false",
6573
+ "description": "The checked state of the card",
6574
+ "attribute": "checked",
6575
+ "reflects": true
6855
6576
  },
6856
6577
  {
6857
- "kind": "method",
6858
- "name": "triggerClickEvent",
6859
- "privacy": "private"
6578
+ "kind": "field",
6579
+ "name": "selectionType",
6580
+ "type": {
6581
+ "text": "SelectionType"
6582
+ },
6583
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
6584
+ "default": "'check'",
6585
+ "attribute": "selection-type",
6586
+ "reflects": true
6860
6587
  },
6861
6588
  {
6862
6589
  "kind": "method",
6863
- "name": "handleBlur",
6590
+ "name": "toggleChecked",
6864
6591
  "privacy": "private",
6865
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
6592
+ "description": "Toggles the checked state"
6866
6593
  },
6867
6594
  {
6868
6595
  "kind": "method",
6869
- "name": "handleKeyDown",
6596
+ "name": "toggleOnEnter",
6870
6597
  "privacy": "private",
6871
6598
  "parameters": [
6872
6599
  {
@@ -6874,14 +6601,14 @@
6874
6601
  "type": {
6875
6602
  "text": "KeyboardEvent"
6876
6603
  },
6877
- "description": "The keyboard event."
6604
+ "description": "The keyboard event"
6878
6605
  }
6879
6606
  ],
6880
- "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application."
6607
+ "description": "Toggles the checked state when enter key is used"
6881
6608
  },
6882
6609
  {
6883
6610
  "kind": "method",
6884
- "name": "handleKeyUp",
6611
+ "name": "toggleOnSpace",
6885
6612
  "privacy": "private",
6886
6613
  "parameters": [
6887
6614
  {
@@ -6889,24 +6616,50 @@
6889
6616
  "type": {
6890
6617
  "text": "KeyboardEvent"
6891
6618
  },
6892
- "description": "The keyboard event."
6619
+ "description": "The keyboard event"
6893
6620
  }
6894
6621
  ],
6895
- "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way."
6622
+ "description": "Toggles the checked state when space key is used"
6623
+ },
6624
+ {
6625
+ "kind": "method",
6626
+ "name": "renderSelection",
6627
+ "privacy": "private",
6628
+ "description": "Renders the selection icon or checkbox based on the selection type",
6629
+ "return": {
6630
+ "type": {
6631
+ "text": ""
6632
+ }
6633
+ }
6634
+ },
6635
+ {
6636
+ "kind": "method",
6637
+ "name": "renderHeader",
6638
+ "privacy": "protected",
6639
+ "description": "Renders the header of the card",
6640
+ "return": {
6641
+ "type": {
6642
+ "text": ""
6643
+ }
6644
+ },
6645
+ "inheritedFrom": {
6646
+ "name": "Card",
6647
+ "module": "components/card/card.component.js"
6648
+ }
6896
6649
  },
6897
6650
  {
6898
6651
  "kind": "field",
6899
- "name": "autofocus",
6652
+ "name": "disabled",
6900
6653
  "type": {
6901
- "text": "boolean"
6654
+ "text": "boolean | undefined"
6902
6655
  },
6903
- "default": "false",
6904
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
6905
- "attribute": "autofocus",
6656
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6657
+ "default": "undefined",
6658
+ "attribute": "disabled",
6906
6659
  "reflects": true,
6907
6660
  "inheritedFrom": {
6908
- "name": "AutoFocusMixin",
6909
- "module": "utils/mixins/AutoFocusMixin.js"
6661
+ "name": "DisabledMixin",
6662
+ "module": "utils/mixins/DisabledMixin.js"
6910
6663
  }
6911
6664
  },
6912
6665
  {
@@ -6926,157 +6679,399 @@
6926
6679
  },
6927
6680
  {
6928
6681
  "kind": "field",
6929
- "name": "disabled",
6682
+ "name": "cardTitle",
6930
6683
  "type": {
6931
- "text": "boolean | undefined"
6684
+ "text": "string"
6932
6685
  },
6933
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6934
- "default": "undefined",
6935
- "attribute": "disabled",
6686
+ "default": "''",
6687
+ "description": "The title of the card - part of header section",
6688
+ "attribute": "card-title",
6936
6689
  "reflects": true,
6937
6690
  "inheritedFrom": {
6938
- "name": "DisabledMixin",
6939
- "module": "utils/mixins/DisabledMixin.js"
6691
+ "name": "Card",
6692
+ "module": "components/card/card.component.js"
6693
+ }
6694
+ },
6695
+ {
6696
+ "kind": "field",
6697
+ "name": "subtitle",
6698
+ "type": {
6699
+ "text": "string"
6700
+ },
6701
+ "default": "''",
6702
+ "description": "The subtitle of the card - part of header section",
6703
+ "attribute": "subtitle",
6704
+ "reflects": true,
6705
+ "inheritedFrom": {
6706
+ "name": "Card",
6707
+ "module": "components/card/card.component.js"
6708
+ }
6709
+ },
6710
+ {
6711
+ "kind": "field",
6712
+ "name": "imageSrc",
6713
+ "type": {
6714
+ "text": "string"
6715
+ },
6716
+ "default": "''",
6717
+ "description": "The image source URL to render on the card",
6718
+ "attribute": "image-src",
6719
+ "reflects": true,
6720
+ "inheritedFrom": {
6721
+ "name": "Card",
6722
+ "module": "components/card/card.component.js"
6723
+ }
6724
+ },
6725
+ {
6726
+ "kind": "field",
6727
+ "name": "imageAlt",
6728
+ "type": {
6729
+ "text": "string"
6730
+ },
6731
+ "default": "''",
6732
+ "description": "The image alt for accessibility support",
6733
+ "attribute": "image-alt",
6734
+ "reflects": true,
6735
+ "inheritedFrom": {
6736
+ "name": "Card",
6737
+ "module": "components/card/card.component.js"
6738
+ }
6739
+ },
6740
+ {
6741
+ "kind": "field",
6742
+ "name": "variant",
6743
+ "type": {
6744
+ "text": "CardVariant"
6745
+ },
6746
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6747
+ "default": "'border'",
6748
+ "attribute": "variant",
6749
+ "reflects": true,
6750
+ "inheritedFrom": {
6751
+ "name": "Card",
6752
+ "module": "components/card/card.component.js"
6753
+ }
6754
+ },
6755
+ {
6756
+ "kind": "field",
6757
+ "name": "orientation",
6758
+ "type": {
6759
+ "text": "CardOrientation"
6760
+ },
6761
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6762
+ "default": "'vertical'",
6763
+ "attribute": "orientation",
6764
+ "reflects": true,
6765
+ "inheritedFrom": {
6766
+ "name": "Card",
6767
+ "module": "components/card/card.component.js"
6768
+ }
6769
+ },
6770
+ {
6771
+ "kind": "field",
6772
+ "name": "titleTagName",
6773
+ "type": {
6774
+ "text": "TagNameType"
6775
+ },
6776
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6777
+ "default": "'span'",
6778
+ "attribute": "title-tag-name",
6779
+ "reflects": true,
6780
+ "inheritedFrom": {
6781
+ "name": "Card",
6782
+ "module": "components/card/card.component.js"
6783
+ }
6784
+ },
6785
+ {
6786
+ "kind": "field",
6787
+ "name": "subtitleTagName",
6788
+ "type": {
6789
+ "text": "TagNameType"
6790
+ },
6791
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6792
+ "default": "'span'",
6793
+ "attribute": "subtitle-tag-name",
6794
+ "reflects": true,
6795
+ "inheritedFrom": {
6796
+ "name": "Card",
6797
+ "module": "components/card/card.component.js"
6798
+ }
6799
+ },
6800
+ {
6801
+ "kind": "field",
6802
+ "name": "iconName",
6803
+ "type": {
6804
+ "text": "IconNames | undefined"
6805
+ },
6806
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6807
+ "attribute": "icon-name",
6808
+ "reflects": true,
6809
+ "inheritedFrom": {
6810
+ "name": "Card",
6811
+ "module": "components/card/card.component.js"
6812
+ }
6813
+ },
6814
+ {
6815
+ "kind": "method",
6816
+ "name": "renderImage",
6817
+ "privacy": "protected",
6818
+ "description": "Renders the image on the card if image source is provided",
6819
+ "return": {
6820
+ "type": {
6821
+ "text": ""
6822
+ }
6823
+ },
6824
+ "inheritedFrom": {
6825
+ "name": "Card",
6826
+ "module": "components/card/card.component.js"
6827
+ }
6828
+ },
6829
+ {
6830
+ "kind": "method",
6831
+ "name": "renderIcon",
6832
+ "privacy": "protected",
6833
+ "description": "Renders the icon on the card if icon name is provided",
6834
+ "return": {
6835
+ "type": {
6836
+ "text": ""
6837
+ }
6838
+ },
6839
+ "inheritedFrom": {
6840
+ "name": "Card",
6841
+ "module": "components/card/card.component.js"
6842
+ }
6843
+ },
6844
+ {
6845
+ "kind": "method",
6846
+ "name": "renderTitle",
6847
+ "privacy": "protected",
6848
+ "description": "Renders the title and subtitle on the card",
6849
+ "return": {
6850
+ "type": {
6851
+ "text": ""
6852
+ }
6853
+ },
6854
+ "inheritedFrom": {
6855
+ "name": "Card",
6856
+ "module": "components/card/card.component.js"
6857
+ }
6858
+ },
6859
+ {
6860
+ "kind": "method",
6861
+ "name": "renderFooter",
6862
+ "privacy": "protected",
6863
+ "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
6864
+ "return": {
6865
+ "type": {
6866
+ "text": ""
6867
+ }
6868
+ },
6869
+ "inheritedFrom": {
6870
+ "name": "Card",
6871
+ "module": "components/card/card.component.js"
6940
6872
  }
6941
6873
  }
6942
6874
  ],
6943
6875
  "events": [
6944
6876
  {
6945
- "description": "(React: onClick) This event is dispatched when the button is clicked.",
6877
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
6946
6878
  "name": "click",
6947
6879
  "reactName": "onClick"
6948
6880
  },
6949
6881
  {
6950
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
6882
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It toggles the checked state when enter key is used.",
6951
6883
  "name": "keydown",
6952
6884
  "reactName": "onKeyDown"
6953
6885
  },
6954
6886
  {
6955
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
6887
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It toggles the checked state when space key is used.",
6956
6888
  "name": "keyup",
6957
6889
  "reactName": "onKeyUp"
6958
6890
  },
6959
6891
  {
6960
- "description": "(React: onFocus) This event is dispatched when the button receives focus.",
6892
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
6961
6893
  "name": "focus",
6962
6894
  "reactName": "onFocus"
6963
6895
  }
6964
6896
  ],
6965
6897
  "attributes": [
6966
6898
  {
6967
- "name": "active",
6899
+ "name": "checked",
6968
6900
  "type": {
6969
- "text": "boolean | undefined"
6901
+ "text": "boolean"
6970
6902
  },
6971
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
6972
- "default": "undefined",
6973
- "fieldName": "active"
6903
+ "default": "false",
6904
+ "description": "The checked state of the card",
6905
+ "fieldName": "checked"
6974
6906
  },
6975
6907
  {
6976
- "name": "soft-disabled",
6908
+ "name": "selection-type",
6909
+ "type": {
6910
+ "text": "SelectionType"
6911
+ },
6912
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
6913
+ "default": "'check'",
6914
+ "fieldName": "selectionType"
6915
+ },
6916
+ {
6917
+ "name": "disabled",
6977
6918
  "type": {
6978
6919
  "text": "boolean | undefined"
6979
6920
  },
6980
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
6921
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6981
6922
  "default": "undefined",
6982
- "fieldName": "softDisabled"
6923
+ "fieldName": "disabled",
6924
+ "inheritedFrom": {
6925
+ "name": "DisabledMixin",
6926
+ "module": "src/utils/mixins/DisabledMixin.ts"
6927
+ }
6983
6928
  },
6984
6929
  {
6985
- "name": "size",
6930
+ "name": "tabIndex",
6986
6931
  "type": {
6987
- "text": "ButtonSize"
6932
+ "text": "number"
6988
6933
  },
6989
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6990
- "default": "32",
6991
- "fieldName": "size"
6934
+ "default": "0",
6935
+ "description": "This property specifies the tab order of the element.",
6936
+ "fieldName": "tabIndex",
6937
+ "inheritedFrom": {
6938
+ "name": "TabIndexMixin",
6939
+ "module": "src/utils/mixins/TabIndexMixin.ts"
6940
+ }
6992
6941
  },
6993
6942
  {
6994
- "name": "role",
6943
+ "name": "card-title",
6995
6944
  "type": {
6996
- "text": "RoleType"
6945
+ "text": "string"
6997
6946
  },
6998
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
6999
- "default": "button",
7000
- "fieldName": "role"
6947
+ "default": "''",
6948
+ "description": "The title of the card - part of header section",
6949
+ "fieldName": "cardTitle",
6950
+ "inheritedFrom": {
6951
+ "name": "Card",
6952
+ "module": "src/components/card/card.component.ts"
6953
+ }
7001
6954
  },
7002
6955
  {
7003
- "name": "ariaStateKey",
6956
+ "name": "subtitle",
7004
6957
  "type": {
7005
- "text": "string | undefined"
6958
+ "text": "string"
7006
6959
  },
7007
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
7008
- "default": "'aria-pressed' (when)",
7009
- "fieldName": "ariaStateKey"
6960
+ "default": "''",
6961
+ "description": "The subtitle of the card - part of header section",
6962
+ "fieldName": "subtitle",
6963
+ "inheritedFrom": {
6964
+ "name": "Card",
6965
+ "module": "src/components/card/card.component.ts"
6966
+ }
7010
6967
  },
7011
6968
  {
7012
- "name": "type",
6969
+ "name": "image-src",
7013
6970
  "type": {
7014
- "text": "ButtonType"
6971
+ "text": "string"
7015
6972
  },
7016
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
7017
- "default": "button",
7018
- "fieldName": "type"
6973
+ "default": "''",
6974
+ "description": "The image source URL to render on the card",
6975
+ "fieldName": "imageSrc",
6976
+ "inheritedFrom": {
6977
+ "name": "Card",
6978
+ "module": "src/components/card/card.component.ts"
6979
+ }
7019
6980
  },
7020
6981
  {
7021
- "name": "autofocus",
6982
+ "name": "image-alt",
7022
6983
  "type": {
7023
- "text": "boolean"
6984
+ "text": "string"
7024
6985
  },
7025
- "default": "false",
7026
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
7027
- "fieldName": "autofocus",
6986
+ "default": "''",
6987
+ "description": "The image alt for accessibility support",
6988
+ "fieldName": "imageAlt",
7028
6989
  "inheritedFrom": {
7029
- "name": "AutoFocusMixin",
7030
- "module": "src/utils/mixins/AutoFocusMixin.ts"
6990
+ "name": "Card",
6991
+ "module": "src/components/card/card.component.ts"
7031
6992
  }
7032
6993
  },
7033
6994
  {
7034
- "name": "tabIndex",
6995
+ "name": "variant",
7035
6996
  "type": {
7036
- "text": "number"
6997
+ "text": "CardVariant"
7037
6998
  },
7038
- "default": "0",
7039
- "description": "This property specifies the tab order of the element.",
7040
- "fieldName": "tabIndex",
6999
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
7000
+ "default": "'border'",
7001
+ "fieldName": "variant",
7041
7002
  "inheritedFrom": {
7042
- "name": "TabIndexMixin",
7043
- "module": "src/utils/mixins/TabIndexMixin.ts"
7003
+ "name": "Card",
7004
+ "module": "src/components/card/card.component.ts"
7044
7005
  }
7045
7006
  },
7046
7007
  {
7047
- "name": "disabled",
7008
+ "name": "orientation",
7048
7009
  "type": {
7049
- "text": "boolean | undefined"
7010
+ "text": "CardOrientation"
7050
7011
  },
7051
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7052
- "default": "undefined",
7053
- "fieldName": "disabled",
7012
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
7013
+ "default": "'vertical'",
7014
+ "fieldName": "orientation",
7054
7015
  "inheritedFrom": {
7055
- "name": "DisabledMixin",
7056
- "module": "src/utils/mixins/DisabledMixin.ts"
7016
+ "name": "Card",
7017
+ "module": "src/components/card/card.component.ts"
7018
+ }
7019
+ },
7020
+ {
7021
+ "name": "title-tag-name",
7022
+ "type": {
7023
+ "text": "TagNameType"
7024
+ },
7025
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
7026
+ "default": "'span'",
7027
+ "fieldName": "titleTagName",
7028
+ "inheritedFrom": {
7029
+ "name": "Card",
7030
+ "module": "src/components/card/card.component.ts"
7031
+ }
7032
+ },
7033
+ {
7034
+ "name": "subtitle-tag-name",
7035
+ "type": {
7036
+ "text": "TagNameType"
7037
+ },
7038
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
7039
+ "default": "'span'",
7040
+ "fieldName": "subtitleTagName",
7041
+ "inheritedFrom": {
7042
+ "name": "Card",
7043
+ "module": "src/components/card/card.component.ts"
7044
+ }
7045
+ },
7046
+ {
7047
+ "name": "icon-name",
7048
+ "type": {
7049
+ "text": "IconNames | undefined"
7050
+ },
7051
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
7052
+ "fieldName": "iconName",
7053
+ "inheritedFrom": {
7054
+ "name": "Card",
7055
+ "module": "src/components/card/card.component.ts"
7057
7056
  }
7058
7057
  }
7059
7058
  ],
7060
7059
  "mixins": [
7061
7060
  {
7062
- "name": "AutoFocusMixin",
7063
- "module": "/src/utils/mixins/AutoFocusMixin"
7061
+ "name": "DisabledMixin",
7062
+ "module": "/src/utils/mixins/DisabledMixin"
7064
7063
  },
7065
7064
  {
7066
7065
  "name": "TabIndexMixin",
7067
7066
  "module": "/src/utils/mixins/TabIndexMixin"
7068
- },
7069
- {
7070
- "name": "DisabledMixin",
7071
- "module": "/src/utils/mixins/DisabledMixin"
7072
7067
  }
7073
7068
  ],
7074
7069
  "superclass": {
7075
- "name": "Component",
7076
- "module": "/src/models"
7070
+ "name": "Card",
7071
+ "module": "/src/components/card/card.component"
7077
7072
  },
7078
- "tagName": "mdc-buttonsimple",
7079
- "jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
7073
+ "tagName": "mdc-cardcheckbox",
7074
+ "jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7080
7075
  "customElement": true
7081
7076
  }
7082
7077
  ],
@@ -7085,8 +7080,8 @@
7085
7080
  "kind": "js",
7086
7081
  "name": "default",
7087
7082
  "declaration": {
7088
- "name": "Buttonsimple",
7089
- "module": "components/buttonsimple/buttonsimple.component.js"
7083
+ "name": "CardCheckbox",
7084
+ "module": "components/cardcheckbox/cardcheckbox.component.js"
7090
7085
  }
7091
7086
  }
7092
7087
  ]
@@ -7632,11 +7627,6 @@
7632
7627
  "name": "keyup",
7633
7628
  "reactName": "onKeyUp"
7634
7629
  },
7635
- {
7636
- "description": "(React: onChange) Event that gets dispatched when the card state changes.",
7637
- "name": "change",
7638
- "reactName": "onChange"
7639
- },
7640
7630
  {
7641
7631
  "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
7642
7632
  "name": "focus",
@@ -7820,7 +7810,7 @@
7820
7810
  "module": "/src/components/card/card.component"
7821
7811
  },
7822
7812
  "tagName": "mdc-cardradio",
7823
- "jsDoc": "/**\n * cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\n * This card would have events for selected and unselected (similar to radio)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardradio\n *\n * @dependency mdc-icon\n * @dependency mdc-staticradio\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event change - (React: onChange) Event that gets dispatched when the card state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7813
+ "jsDoc": "/**\n * cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\n * This card would have events for selected and unselected (similar to radio)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardradio\n *\n * @dependency mdc-icon\n * @dependency mdc-staticradio\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7824
7814
  "customElement": true
7825
7815
  }
7826
7816
  ],
@@ -18393,7 +18383,7 @@
18393
18383
  }
18394
18384
  },
18395
18385
  {
18396
- "description": "(React: onEnabled) This event is dispatched after the listitem is enabled",
18386
+ "description": "(React: onEnabled) This event is dispatched after the menuitem is enabled",
18397
18387
  "name": "enabled",
18398
18388
  "reactName": "onEnabled",
18399
18389
  "inheritedFrom": {
@@ -18402,7 +18392,7 @@
18402
18392
  }
18403
18393
  },
18404
18394
  {
18405
- "description": "(React: onDisabled) This event is dispatched after the listitem is disabled",
18395
+ "description": "(React: onDisabled) This event is dispatched after the menuitem is disabled",
18406
18396
  "name": "disabled",
18407
18397
  "reactName": "onDisabled",
18408
18398
  "inheritedFrom": {
@@ -18411,7 +18401,7 @@
18411
18401
  }
18412
18402
  },
18413
18403
  {
18414
- "description": "(React: onCreated) This event is dispatched after the listitem is created (added to the DOM)",
18404
+ "description": "(React: onCreated) This event is dispatched after the menuitem is created (added to the DOM)",
18415
18405
  "name": "created",
18416
18406
  "reactName": "onCreated",
18417
18407
  "inheritedFrom": {
@@ -18420,7 +18410,7 @@
18420
18410
  }
18421
18411
  },
18422
18412
  {
18423
- "description": "(React: onDestroyed) This event is dispatched after the listitem is destroyed (removed from the DOM)",
18413
+ "description": "(React: onDestroyed) This event is dispatched after the menuitem is destroyed (removed from the DOM)",
18424
18414
  "name": "destroyed",
18425
18415
  "reactName": "onDestroyed",
18426
18416
  "inheritedFrom": {
@@ -18607,7 +18597,7 @@
18607
18597
  "module": "/src/components/listitem/listitem.component"
18608
18598
  },
18609
18599
  "tagName": "mdc-menuitem",
18610
- "jsDoc": "/**\n * menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\n * A menu item can contain an icon on the leading or trailing side.\n *\n * The leading and trailing slots can be used to display controls and text.<br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted.\n *\n * Please use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\n * For example mdc-menupopover or mdc-menubar.\n *\n * Menu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n * @dependency mdc-tooltip\n *\n * @tagname mdc-menuitem\n *\n * @slot leading-controls - slot for menu item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item primary label.\n * @slot leading-text-secondary-label - slot for menu item secondary label.\n * @slot leading-text-tertiary-label - slot for menu item tertiary label.\n * @slot trailing-text-side-header - slot for menu item side header text.\n * @slot trailing-text-subline - slot for menu item subline text.\n * @slot trailing-controls - slot for menu item controls to appear of trailing end.\n *\n * @event click - (React: onClick) This event is dispatched when the menuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the menuitem.\n * @event focus - (React: onFocus) This event is dispatched when the menuitem receives focus.\n */",
18600
+ "jsDoc": "/**\n * menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\n * A menu item can contain an icon on the leading or trailing side.\n *\n * The leading and trailing slots can be used to display controls and text.<br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted.\n *\n * Please use element with role=menu as a parent element even when there is only menuitem for a11y purpose.\n * For example mdc-menupopover or mdc-menubar.\n *\n * Menu item has `name` and `value` attribute that can be used to identify the menu item when it is selected.\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n * @dependency mdc-tooltip\n *\n * @tagname mdc-menuitem\n *\n * @slot leading-controls - slot for menu item controls to appear of leading end.\n * @slot leading-text-primary-label - slot for menu item primary label.\n * @slot leading-text-secondary-label - slot for menu item secondary label.\n * @slot leading-text-tertiary-label - slot for menu item tertiary label.\n * @slot trailing-text-side-header - slot for menu item side header text.\n * @slot trailing-text-subline - slot for menu item subline text.\n * @slot trailing-controls - slot for menu item controls to appear of trailing end.\n *\n * @event click - (React: onClick) This event is dispatched when the menuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the menuitem.\n * @event focus - (React: onFocus) This event is dispatched when the menuitem receives focus.\n * @event enabled - (React: onEnabled) This event is dispatched after the menuitem is enabled\n * @event disabled - (React: onDisabled) This event is dispatched after the menuitem is disabled\n * @event created - (React: onCreated) This event is dispatched after the menuitem is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched after the menuitem is destroyed (removed from the DOM)\n */",
18611
18601
  "customElement": true,
18612
18602
  "cssProperties": [
18613
18603
  {
@@ -19349,7 +19339,7 @@
19349
19339
  }
19350
19340
  },
19351
19341
  {
19352
- "description": "(React: onEnabled) This event is dispatched after the listitem is enabled",
19342
+ "description": "(React: onEnabled) This event is dispatched after the menuitem is enabled",
19353
19343
  "name": "enabled",
19354
19344
  "reactName": "onEnabled",
19355
19345
  "inheritedFrom": {
@@ -19358,7 +19348,7 @@
19358
19348
  }
19359
19349
  },
19360
19350
  {
19361
- "description": "(React: onDisabled) This event is dispatched after the listitem is disabled",
19351
+ "description": "(React: onDisabled) This event is dispatched after the menuitem is disabled",
19362
19352
  "name": "disabled",
19363
19353
  "reactName": "onDisabled",
19364
19354
  "inheritedFrom": {
@@ -19367,7 +19357,7 @@
19367
19357
  }
19368
19358
  },
19369
19359
  {
19370
- "description": "(React: onCreated) This event is dispatched after the listitem is created (added to the DOM)",
19360
+ "description": "(React: onCreated) This event is dispatched after the menuitem is created (added to the DOM)",
19371
19361
  "name": "created",
19372
19362
  "reactName": "onCreated",
19373
19363
  "inheritedFrom": {
@@ -19376,7 +19366,7 @@
19376
19366
  }
19377
19367
  },
19378
19368
  {
19379
- "description": "(React: onDestroyed) This event is dispatched after the listitem is destroyed (removed from the DOM)",
19369
+ "description": "(React: onDestroyed) This event is dispatched after the menuitem is destroyed (removed from the DOM)",
19380
19370
  "name": "destroyed",
19381
19371
  "reactName": "onDestroyed",
19382
19372
  "inheritedFrom": {
@@ -20350,7 +20340,7 @@
20350
20340
  }
20351
20341
  },
20352
20342
  {
20353
- "description": "(React: onEnabled) This event is dispatched after the listitem is enabled",
20343
+ "description": "(React: onEnabled) This event is dispatched after the menuitem is enabled",
20354
20344
  "name": "enabled",
20355
20345
  "reactName": "onEnabled",
20356
20346
  "inheritedFrom": {
@@ -20359,7 +20349,7 @@
20359
20349
  }
20360
20350
  },
20361
20351
  {
20362
- "description": "(React: onDisabled) This event is dispatched after the listitem is disabled",
20352
+ "description": "(React: onDisabled) This event is dispatched after the menuitem is disabled",
20363
20353
  "name": "disabled",
20364
20354
  "reactName": "onDisabled",
20365
20355
  "inheritedFrom": {
@@ -20368,7 +20358,7 @@
20368
20358
  }
20369
20359
  },
20370
20360
  {
20371
- "description": "(React: onCreated) This event is dispatched after the listitem is created (added to the DOM)",
20361
+ "description": "(React: onCreated) This event is dispatched after the menuitem is created (added to the DOM)",
20372
20362
  "name": "created",
20373
20363
  "reactName": "onCreated",
20374
20364
  "inheritedFrom": {
@@ -20377,7 +20367,7 @@
20377
20367
  }
20378
20368
  },
20379
20369
  {
20380
- "description": "(React: onDestroyed) This event is dispatched after the listitem is destroyed (removed from the DOM)",
20370
+ "description": "(React: onDestroyed) This event is dispatched after the menuitem is destroyed (removed from the DOM)",
20381
20371
  "name": "destroyed",
20382
20372
  "reactName": "onDestroyed",
20383
20373
  "inheritedFrom": {
@@ -23821,7 +23811,7 @@
23821
23811
  "reactName": "onActiveChange"
23822
23812
  },
23823
23813
  {
23824
- "description": "(React: onEnabled) This event is dispatched after the listitem is enabled",
23814
+ "description": "(React: onEnabled) This event is dispatched after the menuitem is enabled",
23825
23815
  "name": "enabled",
23826
23816
  "reactName": "onEnabled",
23827
23817
  "inheritedFrom": {
@@ -23830,7 +23820,7 @@
23830
23820
  }
23831
23821
  },
23832
23822
  {
23833
- "description": "(React: onDisabled) This event is dispatched after the listitem is disabled",
23823
+ "description": "(React: onDisabled) This event is dispatched after the menuitem is disabled",
23834
23824
  "name": "disabled",
23835
23825
  "reactName": "onDisabled",
23836
23826
  "inheritedFrom": {
@@ -23839,7 +23829,7 @@
23839
23829
  }
23840
23830
  },
23841
23831
  {
23842
- "description": "(React: onCreated) This event is dispatched after the listitem is created (added to the DOM)",
23832
+ "description": "(React: onCreated) This event is dispatched after the menuitem is created (added to the DOM)",
23843
23833
  "name": "created",
23844
23834
  "reactName": "onCreated",
23845
23835
  "inheritedFrom": {
@@ -23848,7 +23838,7 @@
23848
23838
  }
23849
23839
  },
23850
23840
  {
23851
- "description": "(React: onDestroyed) This event is dispatched after the listitem is destroyed (removed from the DOM)",
23841
+ "description": "(React: onDestroyed) This event is dispatched after the menuitem is destroyed (removed from the DOM)",
23852
23842
  "name": "destroyed",
23853
23843
  "reactName": "onDestroyed",
23854
23844
  "inheritedFrom": {
@@ -41550,140 +41540,6 @@
41550
41540
  }
41551
41541
  ]
41552
41542
  },
41553
- {
41554
- "kind": "javascript-module",
41555
- "path": "components/virtualizedlist/virtualizedlist.component.js",
41556
- "declarations": [
41557
- {
41558
- "kind": "class",
41559
- "description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
41560
- "name": "VirtualizedList",
41561
- "slots": [
41562
- {
41563
- "description": "Client side List with nested list items.",
41564
- "name": ""
41565
- }
41566
- ],
41567
- "members": [
41568
- {
41569
- "kind": "field",
41570
- "name": "onscroll",
41571
- "type": {
41572
- "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
41573
- },
41574
- "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
41575
- "default": "null",
41576
- "attribute": "onscroll"
41577
- },
41578
- {
41579
- "kind": "field",
41580
- "name": "virtualizerProps",
41581
- "type": {
41582
- "text": "VirtualizerProps"
41583
- },
41584
- "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
41585
- "attribute": "virtualizerprops"
41586
- },
41587
- {
41588
- "kind": "field",
41589
- "name": "setlistdata",
41590
- "type": {
41591
- "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
41592
- },
41593
- "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
41594
- "default": "null",
41595
- "attribute": "setlistdata"
41596
- },
41597
- {
41598
- "kind": "field",
41599
- "name": "scrollElementRef",
41600
- "type": {
41601
- "text": "Ref<HTMLDivElement>"
41602
- },
41603
- "privacy": "public"
41604
- },
41605
- {
41606
- "kind": "field",
41607
- "name": "virtualizer",
41608
- "type": {
41609
- "text": "Virtualizer<Element, Element> | null"
41610
- },
41611
- "privacy": "public",
41612
- "default": "null"
41613
- },
41614
- {
41615
- "kind": "field",
41616
- "name": "virtualItems",
41617
- "type": {
41618
- "text": "Array<VirtualItem>"
41619
- },
41620
- "privacy": "public",
41621
- "default": "[]"
41622
- },
41623
- {
41624
- "kind": "field",
41625
- "name": "virtualizerController",
41626
- "type": {
41627
- "text": "null"
41628
- },
41629
- "default": "null"
41630
- }
41631
- ],
41632
- "events": [
41633
- {
41634
- "description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
41635
- "name": "onscroll",
41636
- "reactName": "onScroll"
41637
- }
41638
- ],
41639
- "attributes": [
41640
- {
41641
- "name": "onscroll",
41642
- "type": {
41643
- "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
41644
- },
41645
- "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
41646
- "default": "null",
41647
- "fieldName": "onscroll"
41648
- },
41649
- {
41650
- "name": "virtualizerprops",
41651
- "type": {
41652
- "text": "VirtualizerProps"
41653
- },
41654
- "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
41655
- "fieldName": "virtualizerProps"
41656
- },
41657
- {
41658
- "name": "setlistdata",
41659
- "type": {
41660
- "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
41661
- },
41662
- "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
41663
- "default": "null",
41664
- "fieldName": "setlistdata"
41665
- }
41666
- ],
41667
- "superclass": {
41668
- "name": "Component",
41669
- "module": "/src/models"
41670
- },
41671
- "tagName": "mdc-virtualizedlist",
41672
- "jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
41673
- "customElement": true
41674
- }
41675
- ],
41676
- "exports": [
41677
- {
41678
- "kind": "js",
41679
- "name": "default",
41680
- "declaration": {
41681
- "name": "VirtualizedList",
41682
- "module": "components/virtualizedlist/virtualizedlist.component.js"
41683
- }
41684
- }
41685
- ]
41686
- },
41687
41543
  {
41688
41544
  "kind": "javascript-module",
41689
41545
  "path": "components/typewriter/typewriter.component.js",
@@ -42020,6 +41876,140 @@
42020
41876
  }
42021
41877
  ]
42022
41878
  },
41879
+ {
41880
+ "kind": "javascript-module",
41881
+ "path": "components/virtualizedlist/virtualizedlist.component.js",
41882
+ "declarations": [
41883
+ {
41884
+ "kind": "class",
41885
+ "description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
41886
+ "name": "VirtualizedList",
41887
+ "slots": [
41888
+ {
41889
+ "description": "Client side List with nested list items.",
41890
+ "name": ""
41891
+ }
41892
+ ],
41893
+ "members": [
41894
+ {
41895
+ "kind": "field",
41896
+ "name": "onscroll",
41897
+ "type": {
41898
+ "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
41899
+ },
41900
+ "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
41901
+ "default": "null",
41902
+ "attribute": "onscroll"
41903
+ },
41904
+ {
41905
+ "kind": "field",
41906
+ "name": "virtualizerProps",
41907
+ "type": {
41908
+ "text": "VirtualizerProps"
41909
+ },
41910
+ "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
41911
+ "attribute": "virtualizerprops"
41912
+ },
41913
+ {
41914
+ "kind": "field",
41915
+ "name": "setlistdata",
41916
+ "type": {
41917
+ "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
41918
+ },
41919
+ "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
41920
+ "default": "null",
41921
+ "attribute": "setlistdata"
41922
+ },
41923
+ {
41924
+ "kind": "field",
41925
+ "name": "scrollElementRef",
41926
+ "type": {
41927
+ "text": "Ref<HTMLDivElement>"
41928
+ },
41929
+ "privacy": "public"
41930
+ },
41931
+ {
41932
+ "kind": "field",
41933
+ "name": "virtualizer",
41934
+ "type": {
41935
+ "text": "Virtualizer<Element, Element> | null"
41936
+ },
41937
+ "privacy": "public",
41938
+ "default": "null"
41939
+ },
41940
+ {
41941
+ "kind": "field",
41942
+ "name": "virtualItems",
41943
+ "type": {
41944
+ "text": "Array<VirtualItem>"
41945
+ },
41946
+ "privacy": "public",
41947
+ "default": "[]"
41948
+ },
41949
+ {
41950
+ "kind": "field",
41951
+ "name": "virtualizerController",
41952
+ "type": {
41953
+ "text": "null"
41954
+ },
41955
+ "default": "null"
41956
+ }
41957
+ ],
41958
+ "events": [
41959
+ {
41960
+ "description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
41961
+ "name": "onscroll",
41962
+ "reactName": "onScroll"
41963
+ }
41964
+ ],
41965
+ "attributes": [
41966
+ {
41967
+ "name": "onscroll",
41968
+ "type": {
41969
+ "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
41970
+ },
41971
+ "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
41972
+ "default": "null",
41973
+ "fieldName": "onscroll"
41974
+ },
41975
+ {
41976
+ "name": "virtualizerprops",
41977
+ "type": {
41978
+ "text": "VirtualizerProps"
41979
+ },
41980
+ "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
41981
+ "fieldName": "virtualizerProps"
41982
+ },
41983
+ {
41984
+ "name": "setlistdata",
41985
+ "type": {
41986
+ "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
41987
+ },
41988
+ "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
41989
+ "default": "null",
41990
+ "fieldName": "setlistdata"
41991
+ }
41992
+ ],
41993
+ "superclass": {
41994
+ "name": "Component",
41995
+ "module": "/src/models"
41996
+ },
41997
+ "tagName": "mdc-virtualizedlist",
41998
+ "jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
41999
+ "customElement": true
42000
+ }
42001
+ ],
42002
+ "exports": [
42003
+ {
42004
+ "kind": "js",
42005
+ "name": "default",
42006
+ "declaration": {
42007
+ "name": "VirtualizedList",
42008
+ "module": "components/virtualizedlist/virtualizedlist.component.js"
42009
+ }
42010
+ }
42011
+ ]
42012
+ },
42023
42013
  {
42024
42014
  "kind": "javascript-module",
42025
42015
  "path": "utils/mixins/AutoFocusMixin.js",