@momentum-design/components 0.62.3 → 0.63.0

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 (59) hide show
  1. package/dist/browser/index.js +813 -545
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/card/card.component.d.ts +100 -0
  4. package/dist/components/card/card.component.js +197 -0
  5. package/dist/components/card/card.constants.d.ts +22 -0
  6. package/dist/components/card/card.constants.js +26 -0
  7. package/dist/components/card/card.styles.d.ts +2 -0
  8. package/dist/components/card/card.styles.js +79 -0
  9. package/dist/components/card/card.types.d.ts +5 -0
  10. package/dist/components/card/card.types.js +1 -0
  11. package/dist/components/card/index.d.ts +9 -0
  12. package/dist/components/card/index.js +6 -0
  13. package/dist/components/cardbutton/cardbutton.component.d.ts +37 -0
  14. package/dist/components/cardbutton/cardbutton.component.js +61 -0
  15. package/dist/components/cardbutton/cardbutton.constants.d.ts +2 -0
  16. package/dist/components/cardbutton/cardbutton.constants.js +3 -0
  17. package/dist/components/cardbutton/cardbutton.styles.d.ts +2 -0
  18. package/dist/components/cardbutton/cardbutton.styles.js +26 -0
  19. package/dist/components/cardbutton/cardbutton.types.d.ts +7 -0
  20. package/dist/components/cardbutton/cardbutton.types.js +1 -0
  21. package/dist/components/cardbutton/index.d.ts +9 -0
  22. package/dist/components/cardbutton/index.js +6 -0
  23. package/dist/components/cardcheckbox/cardcheckbox.component.d.ts +76 -0
  24. package/dist/components/cardcheckbox/cardcheckbox.component.js +159 -0
  25. package/dist/components/cardcheckbox/cardcheckbox.constants.d.ts +15 -0
  26. package/dist/components/cardcheckbox/cardcheckbox.constants.js +16 -0
  27. package/dist/components/cardcheckbox/cardcheckbox.styles.d.ts +2 -0
  28. package/dist/components/cardcheckbox/cardcheckbox.styles.js +57 -0
  29. package/dist/components/cardcheckbox/cardcheckbox.types.d.ts +11 -0
  30. package/dist/components/cardcheckbox/cardcheckbox.types.js +1 -0
  31. package/dist/components/cardcheckbox/index.d.ts +10 -0
  32. package/dist/components/cardcheckbox/index.js +7 -0
  33. package/dist/components/cardradio/cardradio.component.d.ts +76 -0
  34. package/dist/components/cardradio/cardradio.component.js +155 -0
  35. package/dist/components/cardradio/cardradio.constants.d.ts +2 -0
  36. package/dist/components/cardradio/cardradio.constants.js +3 -0
  37. package/dist/components/cardradio/cardradio.styles.d.ts +2 -0
  38. package/dist/components/cardradio/cardradio.styles.js +53 -0
  39. package/dist/components/cardradio/cardradio.types.d.ts +8 -0
  40. package/dist/components/cardradio/cardradio.types.js +1 -0
  41. package/dist/components/cardradio/index.d.ts +10 -0
  42. package/dist/components/cardradio/index.js +7 -0
  43. package/dist/components/radiogroup/radiogroup.component.js +2 -1
  44. package/dist/custom-elements.json +3257 -779
  45. package/dist/index.d.ts +11 -7
  46. package/dist/index.js +11 -7
  47. package/dist/react/card/index.d.ts +47 -0
  48. package/dist/react/card/index.js +56 -0
  49. package/dist/react/cardbutton/index.d.ts +32 -0
  50. package/dist/react/cardbutton/index.js +40 -0
  51. package/dist/react/cardcheckbox/index.d.ts +40 -0
  52. package/dist/react/cardcheckbox/index.js +48 -0
  53. package/dist/react/cardradio/index.d.ts +40 -0
  54. package/dist/react/cardradio/index.js +48 -0
  55. package/dist/react/index.d.ts +6 -2
  56. package/dist/react/index.js +6 -2
  57. package/dist/utils/mixins/CardComponentMixin.d.ts +20 -0
  58. package/dist/utils/mixins/CardComponentMixin.js +130 -0
  59. package/package.json +1 -1
@@ -2600,22 +2600,22 @@
2600
2600
  },
2601
2601
  {
2602
2602
  "kind": "javascript-module",
2603
- "path": "components/buttonlink/buttonlink.component.js",
2603
+ "path": "components/buttonsimple/buttonsimple.component.js",
2604
2604
  "declarations": [
2605
2605
  {
2606
2606
  "kind": "class",
2607
- "description": "`mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\nfeatures of `mdc-button`. This includes support for variants, sizing, and optional\nprefix and postfix icons via slots.\n\n### Features:\n- Behaves like an link while visually resembling a button.\n- Supports slots for `prefix-icon` and `postfix-icon`.\n- Customizable size, color, and variant through attributes.\n- Inherits accessibility and keyboard interaction support from `mdc-linksimple`.",
2608
- "name": "ButtonLink",
2607
+ "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.",
2608
+ "name": "Buttonsimple",
2609
2609
  "members": [
2610
2610
  {
2611
2611
  "kind": "field",
2612
- "name": "size",
2612
+ "name": "active",
2613
2613
  "type": {
2614
- "text": "PillButtonSize | IconButtonSize"
2614
+ "text": "boolean | undefined"
2615
2615
  },
2616
- "description": "ButtonLink sizing is based on the buttonlink type.\n - **Pill buttonlink**: 40, 32, 28, 24.\n - **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n - Tertiary icon buttonlink can also be 20.",
2617
- "default": "32",
2618
- "attribute": "size",
2616
+ "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.",
2617
+ "default": "undefined",
2618
+ "attribute": "active",
2619
2619
  "reflects": true
2620
2620
  },
2621
2621
  {
@@ -2624,173 +2624,165 @@
2624
2624
  "type": {
2625
2625
  "text": "boolean | undefined"
2626
2626
  },
2627
- "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink 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 buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
2627
+ "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.",
2628
2628
  "default": "undefined",
2629
2629
  "attribute": "soft-disabled",
2630
2630
  "reflects": true
2631
2631
  },
2632
- {
2633
- "kind": "method",
2634
- "name": "setSoftDisabled",
2635
- "privacy": "private",
2636
- "parameters": [
2637
- {
2638
- "name": "element",
2639
- "type": {
2640
- "text": "HTMLElement"
2641
- },
2642
- "description": "The buttonlink element."
2643
- },
2644
- {
2645
- "name": "softDisabled",
2646
- "optional": true,
2647
- "type": {
2648
- "text": "boolean"
2649
- },
2650
- "description": "The soft-disabled state."
2651
- }
2652
- ],
2653
- "description": "Sets the soft-disabled attribute for the buttonlink.\nWhen soft-disabled, the buttonlink looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
2654
- },
2655
2632
  {
2656
2633
  "kind": "field",
2657
- "name": "prefixIcon",
2634
+ "name": "size",
2658
2635
  "type": {
2659
- "text": "IconNames | undefined"
2636
+ "text": "ButtonSize"
2660
2637
  },
2661
- "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
2662
- "attribute": "prefix-icon",
2663
- "reflects": true,
2664
- "inheritedFrom": {
2665
- "name": "ButtonComponentMixin",
2666
- "module": "utils/mixins/ButtonComponentMixin.js"
2667
- }
2638
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
2639
+ "default": "32",
2640
+ "attribute": "size",
2641
+ "reflects": true
2668
2642
  },
2669
2643
  {
2670
2644
  "kind": "field",
2671
- "name": "postfixIcon",
2672
- "type": {
2673
- "text": "IconNames | undefined"
2674
- },
2675
- "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
2676
- "attribute": "postfix-icon",
2677
- "reflects": true,
2678
- "inheritedFrom": {
2679
- "name": "ButtonComponentMixin",
2680
- "module": "utils/mixins/ButtonComponentMixin.js"
2681
- }
2645
+ "name": "role",
2646
+ "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.",
2647
+ "default": "button",
2648
+ "attribute": "role",
2649
+ "reflects": true
2682
2650
  },
2683
2651
  {
2684
2652
  "kind": "field",
2685
- "name": "variant",
2653
+ "name": "ariaStateKey",
2686
2654
  "type": {
2687
- "text": "ButtonVariant"
2655
+ "text": "string | undefined"
2688
2656
  },
2689
- "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
2690
- "default": "primary",
2691
- "attribute": "variant",
2692
- "inheritedFrom": {
2693
- "name": "ButtonComponentMixin",
2694
- "module": "utils/mixins/ButtonComponentMixin.js"
2695
- }
2657
+ "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`",
2658
+ "default": "'aria-pressed' (when)",
2659
+ "attribute": "ariaStateKey",
2660
+ "reflects": true
2696
2661
  },
2697
2662
  {
2698
2663
  "kind": "field",
2699
- "name": "color",
2664
+ "name": "type",
2700
2665
  "type": {
2701
- "text": "ButtonColor"
2666
+ "text": "ButtonType"
2702
2667
  },
2703
- "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
2704
- "default": "default",
2705
- "attribute": "color",
2706
- "inheritedFrom": {
2707
- "name": "ButtonComponentMixin",
2708
- "module": "utils/mixins/ButtonComponentMixin.js"
2709
- }
2668
+ "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.",
2669
+ "default": "button",
2670
+ "attribute": "type",
2671
+ "reflects": true
2710
2672
  },
2711
2673
  {
2712
2674
  "kind": "method",
2713
- "name": "setVariant",
2675
+ "name": "executeAction",
2676
+ "privacy": "protected"
2677
+ },
2678
+ {
2679
+ "kind": "method",
2680
+ "name": "setActive",
2681
+ "privacy": "protected",
2714
2682
  "parameters": [
2715
2683
  {
2716
- "name": "variant",
2684
+ "name": "element",
2717
2685
  "type": {
2718
- "text": "ButtonVariant"
2686
+ "text": "HTMLElement"
2719
2687
  },
2720
- "description": "The variant to set."
2688
+ "description": "The button element"
2689
+ },
2690
+ {
2691
+ "name": "active",
2692
+ "optional": true,
2693
+ "type": {
2694
+ "text": "boolean"
2695
+ },
2696
+ "description": "The active state of the element"
2721
2697
  }
2722
2698
  ],
2723
- "description": "Sets the variant attribute for the button component.\nIf the provided variant is not included in the BUTTON_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT.",
2724
- "inheritedFrom": {
2725
- "name": "ButtonComponentMixin",
2726
- "module": "utils/mixins/ButtonComponentMixin.js"
2727
- }
2699
+ "description": "Sets the ariaStateKey attributes based on the active state of the button."
2728
2700
  },
2729
2701
  {
2730
2702
  "kind": "method",
2731
- "name": "setColor",
2703
+ "name": "setSoftDisabled",
2704
+ "privacy": "private",
2732
2705
  "parameters": [
2733
2706
  {
2734
- "name": "color",
2707
+ "name": "element",
2735
2708
  "type": {
2736
- "text": "ButtonColor"
2709
+ "text": "HTMLElement"
2737
2710
  },
2738
- "description": "The color to set."
2711
+ "description": "The button element."
2712
+ },
2713
+ {
2714
+ "name": "softDisabled",
2715
+ "optional": true,
2716
+ "type": {
2717
+ "text": "boolean"
2718
+ },
2719
+ "description": "The soft-disabled state."
2739
2720
  }
2740
2721
  ],
2741
- "description": "Sets the color attribute for the button.\nDefaults to DEFAULTS.COLOR if invalid or for tertiary button.",
2742
- "inheritedFrom": {
2743
- "name": "ButtonComponentMixin",
2744
- "module": "utils/mixins/ButtonComponentMixin.js"
2745
- }
2722
+ "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."
2746
2723
  },
2747
2724
  {
2748
2725
  "kind": "method",
2749
- "name": "setSize",
2726
+ "name": "setDisabled",
2727
+ "privacy": "private",
2750
2728
  "parameters": [
2751
2729
  {
2752
- "name": "size",
2730
+ "name": "element",
2753
2731
  "type": {
2754
- "text": "PillButtonSize | IconButtonSize"
2732
+ "text": "HTMLElement"
2755
2733
  },
2756
- "description": "The size to set."
2734
+ "description": "The button element."
2735
+ },
2736
+ {
2737
+ "name": "disabled",
2738
+ "type": {
2739
+ "text": "boolean"
2740
+ },
2741
+ "description": "The disabled state."
2757
2742
  }
2758
2743
  ],
2759
- "description": "Sets the size attribute for the button component.\nValidates the size based on the button type (icon, pill, or tertiary).\nDefaults to DEFAULTS.SIZE if invalid.",
2760
- "inheritedFrom": {
2761
- "name": "ButtonComponentMixin",
2762
- "module": "utils/mixins/ButtonComponentMixin.js"
2763
- }
2744
+ "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."
2764
2745
  },
2765
2746
  {
2766
2747
  "kind": "method",
2767
- "name": "inferButtonType",
2768
- "description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
2748
+ "name": "triggerClickEvent",
2749
+ "privacy": "private"
2750
+ },
2751
+ {
2752
+ "kind": "method",
2753
+ "name": "handleBlur",
2754
+ "privacy": "private",
2755
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
2756
+ },
2757
+ {
2758
+ "kind": "method",
2759
+ "name": "handleKeyDown",
2760
+ "privacy": "private",
2769
2761
  "parameters": [
2770
2762
  {
2771
- "description": "default slot of button",
2772
- "name": "slot"
2763
+ "name": "event",
2764
+ "type": {
2765
+ "text": "KeyboardEvent"
2766
+ },
2767
+ "description": "The keyboard event."
2773
2768
  }
2774
2769
  ],
2775
- "inheritedFrom": {
2776
- "name": "ButtonComponentMixin",
2777
- "module": "utils/mixins/ButtonComponentMixin.js"
2778
- }
2770
+ "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."
2779
2771
  },
2780
2772
  {
2781
- "kind": "field",
2782
- "name": "disabled",
2783
- "type": {
2784
- "text": "boolean | undefined"
2785
- },
2786
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2787
- "default": "undefined",
2788
- "attribute": "disabled",
2789
- "reflects": true,
2790
- "inheritedFrom": {
2791
- "name": "DisabledMixin",
2792
- "module": "utils/mixins/DisabledMixin.js"
2793
- }
2773
+ "kind": "method",
2774
+ "name": "handleKeyUp",
2775
+ "privacy": "private",
2776
+ "parameters": [
2777
+ {
2778
+ "name": "event",
2779
+ "type": {
2780
+ "text": "KeyboardEvent"
2781
+ },
2782
+ "description": "The keyboard event."
2783
+ }
2784
+ ],
2785
+ "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."
2794
2786
  },
2795
2787
  {
2796
2788
  "kind": "field",
@@ -2809,564 +2801,2546 @@
2809
2801
  },
2810
2802
  {
2811
2803
  "kind": "field",
2812
- "name": "inline",
2804
+ "name": "disabled",
2813
2805
  "type": {
2814
- "text": "boolean"
2806
+ "text": "boolean | undefined"
2815
2807
  },
2816
- "description": "The link can be inline or standalone.",
2817
- "default": "false",
2818
- "attribute": "inline",
2808
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2809
+ "default": "undefined",
2810
+ "attribute": "disabled",
2819
2811
  "reflects": true,
2820
2812
  "inheritedFrom": {
2821
- "name": "Linksimple",
2822
- "module": "components/linksimple/linksimple.component.js"
2813
+ "name": "DisabledMixin",
2814
+ "module": "utils/mixins/DisabledMixin.js"
2823
2815
  }
2816
+ }
2817
+ ],
2818
+ "events": [
2819
+ {
2820
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
2821
+ "name": "click",
2822
+ "reactName": "onClick"
2824
2823
  },
2825
2824
  {
2826
- "kind": "field",
2827
- "name": "inverted",
2828
- "type": {
2829
- "text": "boolean"
2830
- },
2831
- "description": "The link color can be inverted by setting the inverted attribute to true.",
2832
- "default": "false",
2833
- "attribute": "inverted",
2834
- "reflects": true,
2835
- "inheritedFrom": {
2836
- "name": "Linksimple",
2837
- "module": "components/linksimple/linksimple.component.js"
2838
- }
2825
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
2826
+ "name": "keydown",
2827
+ "reactName": "onKeyDown"
2839
2828
  },
2840
2829
  {
2841
- "kind": "field",
2842
- "name": "href",
2830
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
2831
+ "name": "keyup",
2832
+ "reactName": "onKeyUp"
2833
+ },
2834
+ {
2835
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
2836
+ "name": "focus",
2837
+ "reactName": "onFocus"
2838
+ }
2839
+ ],
2840
+ "attributes": [
2841
+ {
2842
+ "name": "active",
2843
2843
  "type": {
2844
- "text": "string"
2844
+ "text": "boolean | undefined"
2845
2845
  },
2846
- "default": "'#'",
2847
- "description": "Href for navigation. The URL that the hyperlink points to",
2848
- "attribute": "href",
2849
- "reflects": true,
2850
- "inheritedFrom": {
2851
- "name": "Linksimple",
2852
- "module": "components/linksimple/linksimple.component.js"
2853
- }
2846
+ "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.",
2847
+ "default": "undefined",
2848
+ "fieldName": "active"
2854
2849
  },
2855
2850
  {
2856
- "kind": "field",
2857
- "name": "target",
2851
+ "name": "soft-disabled",
2858
2852
  "type": {
2859
- "text": "string"
2853
+ "text": "boolean | undefined"
2860
2854
  },
2861
- "default": "'_self'",
2862
- "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
2863
- "attribute": "target",
2864
- "reflects": true,
2865
- "inheritedFrom": {
2866
- "name": "Linksimple",
2867
- "module": "components/linksimple/linksimple.component.js"
2868
- }
2855
+ "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.",
2856
+ "default": "undefined",
2857
+ "fieldName": "softDisabled"
2869
2858
  },
2870
2859
  {
2871
- "kind": "field",
2872
- "name": "rel",
2860
+ "name": "size",
2873
2861
  "type": {
2874
- "text": "string | undefined"
2862
+ "text": "ButtonSize"
2875
2863
  },
2876
- "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
2877
- "attribute": "rel",
2878
- "reflects": true,
2879
- "inheritedFrom": {
2880
- "name": "Linksimple",
2881
- "module": "components/linksimple/linksimple.component.js"
2882
- }
2864
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
2865
+ "default": "32",
2866
+ "fieldName": "size"
2883
2867
  },
2884
2868
  {
2885
- "kind": "field",
2886
- "name": "handleNavigation",
2887
- "privacy": "private",
2888
- "inheritedFrom": {
2889
- "name": "Linksimple",
2890
- "module": "components/linksimple/linksimple.component.js"
2891
- }
2869
+ "name": "role",
2870
+ "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.",
2871
+ "default": "button",
2872
+ "fieldName": "role"
2892
2873
  },
2893
2874
  {
2894
- "kind": "method",
2895
- "name": "setDisabled",
2896
- "privacy": "private",
2897
- "parameters": [
2898
- {
2899
- "name": "disabled",
2900
- "type": {
2901
- "text": "boolean"
2902
- },
2903
- "description": "Whether the element should be disabled"
2904
- }
2905
- ],
2906
- "description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
2907
- "inheritedFrom": {
2908
- "name": "Linksimple",
2909
- "module": "components/linksimple/linksimple.component.js"
2910
- }
2911
- }
2912
- ],
2913
- "events": [
2875
+ "name": "ariaStateKey",
2876
+ "type": {
2877
+ "text": "string | undefined"
2878
+ },
2879
+ "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`",
2880
+ "default": "'aria-pressed' (when)",
2881
+ "fieldName": "ariaStateKey"
2882
+ },
2914
2883
  {
2915
- "description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
2916
- "name": "click",
2917
- "reactName": "onClick",
2918
- "inheritedFrom": {
2919
- "name": "Linksimple",
2920
- "module": "src/components/linksimple/linksimple.component.ts"
2921
- }
2884
+ "name": "type",
2885
+ "type": {
2886
+ "text": "ButtonType"
2887
+ },
2888
+ "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.",
2889
+ "default": "button",
2890
+ "fieldName": "type"
2922
2891
  },
2923
2892
  {
2924
- "description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
2925
- "name": "keydown",
2926
- "reactName": "onKeyDown",
2893
+ "name": "tabIndex",
2894
+ "type": {
2895
+ "text": "number"
2896
+ },
2897
+ "default": "0",
2898
+ "description": "This property specifies the tab order of the element.",
2899
+ "fieldName": "tabIndex",
2927
2900
  "inheritedFrom": {
2928
- "name": "Linksimple",
2929
- "module": "src/components/linksimple/linksimple.component.ts"
2901
+ "name": "TabIndexMixin",
2902
+ "module": "src/utils/mixins/TabIndexMixin.ts"
2930
2903
  }
2931
2904
  },
2932
2905
  {
2933
- "description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
2934
- "name": "focus",
2935
- "reactName": "onFocus",
2906
+ "name": "disabled",
2907
+ "type": {
2908
+ "text": "boolean | undefined"
2909
+ },
2910
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2911
+ "default": "undefined",
2912
+ "fieldName": "disabled",
2936
2913
  "inheritedFrom": {
2937
- "name": "Linksimple",
2938
- "module": "src/components/linksimple/linksimple.component.ts"
2914
+ "name": "DisabledMixin",
2915
+ "module": "src/utils/mixins/DisabledMixin.ts"
2939
2916
  }
2917
+ }
2918
+ ],
2919
+ "mixins": [
2920
+ {
2921
+ "name": "TabIndexMixin",
2922
+ "module": "/src/utils/mixins/TabIndexMixin"
2940
2923
  },
2941
2924
  {
2942
- "description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
2943
- "name": "blur",
2944
- "reactName": "onBlur",
2945
- "inheritedFrom": {
2946
- "name": "Linksimple",
2947
- "module": "src/components/linksimple/linksimple.component.ts"
2948
- }
2925
+ "name": "DisabledMixin",
2926
+ "module": "/src/utils/mixins/DisabledMixin"
2949
2927
  }
2950
2928
  ],
2951
- "attributes": [
2929
+ "superclass": {
2930
+ "name": "Component",
2931
+ "module": "/src/models"
2932
+ },
2933
+ "tagName": "mdc-buttonsimple",
2934
+ "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 */",
2935
+ "customElement": true
2936
+ }
2937
+ ],
2938
+ "exports": [
2939
+ {
2940
+ "kind": "js",
2941
+ "name": "default",
2942
+ "declaration": {
2943
+ "name": "Buttonsimple",
2944
+ "module": "components/buttonsimple/buttonsimple.component.js"
2945
+ }
2946
+ }
2947
+ ]
2948
+ },
2949
+ {
2950
+ "kind": "javascript-module",
2951
+ "path": "components/buttonlink/buttonlink.component.js",
2952
+ "declarations": [
2953
+ {
2954
+ "kind": "class",
2955
+ "description": "`mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\nfeatures of `mdc-button`. This includes support for variants, sizing, and optional\nprefix and postfix icons via slots.\n\n### Features:\n- Behaves like an link while visually resembling a button.\n- Supports slots for `prefix-icon` and `postfix-icon`.\n- Customizable size, color, and variant through attributes.\n- Inherits accessibility and keyboard interaction support from `mdc-linksimple`.",
2956
+ "name": "ButtonLink",
2957
+ "members": [
2952
2958
  {
2959
+ "kind": "field",
2953
2960
  "name": "size",
2954
2961
  "type": {
2955
2962
  "text": "PillButtonSize | IconButtonSize"
2956
2963
  },
2957
2964
  "description": "ButtonLink sizing is based on the buttonlink type.\n - **Pill buttonlink**: 40, 32, 28, 24.\n - **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n - Tertiary icon buttonlink can also be 20.",
2958
2965
  "default": "32",
2959
- "fieldName": "size"
2966
+ "attribute": "size",
2967
+ "reflects": true
2960
2968
  },
2961
2969
  {
2962
- "name": "soft-disabled",
2970
+ "kind": "field",
2971
+ "name": "softDisabled",
2963
2972
  "type": {
2964
2973
  "text": "boolean | undefined"
2965
2974
  },
2966
2975
  "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink 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 buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
2967
2976
  "default": "undefined",
2968
- "fieldName": "softDisabled"
2977
+ "attribute": "soft-disabled",
2978
+ "reflects": true
2969
2979
  },
2970
2980
  {
2971
- "name": "prefix-icon",
2981
+ "kind": "method",
2982
+ "name": "setSoftDisabled",
2983
+ "privacy": "private",
2984
+ "parameters": [
2985
+ {
2986
+ "name": "element",
2987
+ "type": {
2988
+ "text": "HTMLElement"
2989
+ },
2990
+ "description": "The buttonlink element."
2991
+ },
2992
+ {
2993
+ "name": "softDisabled",
2994
+ "optional": true,
2995
+ "type": {
2996
+ "text": "boolean"
2997
+ },
2998
+ "description": "The soft-disabled state."
2999
+ }
3000
+ ],
3001
+ "description": "Sets the soft-disabled attribute for the buttonlink.\nWhen soft-disabled, the buttonlink looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
3002
+ },
3003
+ {
3004
+ "kind": "field",
3005
+ "name": "prefixIcon",
2972
3006
  "type": {
2973
3007
  "text": "IconNames | undefined"
2974
3008
  },
2975
3009
  "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
2976
- "fieldName": "prefixIcon",
3010
+ "attribute": "prefix-icon",
3011
+ "reflects": true,
2977
3012
  "inheritedFrom": {
2978
3013
  "name": "ButtonComponentMixin",
2979
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
3014
+ "module": "utils/mixins/ButtonComponentMixin.js"
2980
3015
  }
2981
3016
  },
2982
3017
  {
2983
- "name": "postfix-icon",
3018
+ "kind": "field",
3019
+ "name": "postfixIcon",
2984
3020
  "type": {
2985
3021
  "text": "IconNames | undefined"
2986
3022
  },
2987
3023
  "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
2988
- "fieldName": "postfixIcon",
3024
+ "attribute": "postfix-icon",
3025
+ "reflects": true,
2989
3026
  "inheritedFrom": {
2990
3027
  "name": "ButtonComponentMixin",
2991
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
3028
+ "module": "utils/mixins/ButtonComponentMixin.js"
2992
3029
  }
2993
3030
  },
2994
3031
  {
3032
+ "kind": "field",
2995
3033
  "name": "variant",
2996
3034
  "type": {
2997
3035
  "text": "ButtonVariant"
2998
3036
  },
2999
3037
  "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
3000
3038
  "default": "primary",
3001
- "fieldName": "variant",
3039
+ "attribute": "variant",
3002
3040
  "inheritedFrom": {
3003
3041
  "name": "ButtonComponentMixin",
3004
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
3042
+ "module": "utils/mixins/ButtonComponentMixin.js"
3005
3043
  }
3006
3044
  },
3007
3045
  {
3046
+ "kind": "field",
3008
3047
  "name": "color",
3009
3048
  "type": {
3010
3049
  "text": "ButtonColor"
3011
3050
  },
3012
3051
  "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
3013
3052
  "default": "default",
3014
- "fieldName": "color",
3053
+ "attribute": "color",
3015
3054
  "inheritedFrom": {
3016
3055
  "name": "ButtonComponentMixin",
3017
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
3056
+ "module": "utils/mixins/ButtonComponentMixin.js"
3018
3057
  }
3019
3058
  },
3020
3059
  {
3021
- "name": "disabled",
3022
- "type": {
3023
- "text": "boolean | undefined"
3060
+ "kind": "method",
3061
+ "name": "setVariant",
3062
+ "parameters": [
3063
+ {
3064
+ "name": "variant",
3065
+ "type": {
3066
+ "text": "ButtonVariant"
3067
+ },
3068
+ "description": "The variant to set."
3069
+ }
3070
+ ],
3071
+ "description": "Sets the variant attribute for the button component.\nIf the provided variant is not included in the BUTTON_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT.",
3072
+ "inheritedFrom": {
3073
+ "name": "ButtonComponentMixin",
3074
+ "module": "utils/mixins/ButtonComponentMixin.js"
3075
+ }
3076
+ },
3077
+ {
3078
+ "kind": "method",
3079
+ "name": "setColor",
3080
+ "parameters": [
3081
+ {
3082
+ "name": "color",
3083
+ "type": {
3084
+ "text": "ButtonColor"
3085
+ },
3086
+ "description": "The color to set."
3087
+ }
3088
+ ],
3089
+ "description": "Sets the color attribute for the button.\nDefaults to DEFAULTS.COLOR if invalid or for tertiary button.",
3090
+ "inheritedFrom": {
3091
+ "name": "ButtonComponentMixin",
3092
+ "module": "utils/mixins/ButtonComponentMixin.js"
3093
+ }
3094
+ },
3095
+ {
3096
+ "kind": "method",
3097
+ "name": "setSize",
3098
+ "parameters": [
3099
+ {
3100
+ "name": "size",
3101
+ "type": {
3102
+ "text": "PillButtonSize | IconButtonSize"
3103
+ },
3104
+ "description": "The size to set."
3105
+ }
3106
+ ],
3107
+ "description": "Sets the size attribute for the button component.\nValidates the size based on the button type (icon, pill, or tertiary).\nDefaults to DEFAULTS.SIZE if invalid.",
3108
+ "inheritedFrom": {
3109
+ "name": "ButtonComponentMixin",
3110
+ "module": "utils/mixins/ButtonComponentMixin.js"
3111
+ }
3112
+ },
3113
+ {
3114
+ "kind": "method",
3115
+ "name": "inferButtonType",
3116
+ "description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
3117
+ "parameters": [
3118
+ {
3119
+ "description": "default slot of button",
3120
+ "name": "slot"
3121
+ }
3122
+ ],
3123
+ "inheritedFrom": {
3124
+ "name": "ButtonComponentMixin",
3125
+ "module": "utils/mixins/ButtonComponentMixin.js"
3126
+ }
3127
+ },
3128
+ {
3129
+ "kind": "field",
3130
+ "name": "disabled",
3131
+ "type": {
3132
+ "text": "boolean | undefined"
3024
3133
  },
3025
3134
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3026
3135
  "default": "undefined",
3027
- "fieldName": "disabled",
3136
+ "attribute": "disabled",
3137
+ "reflects": true,
3028
3138
  "inheritedFrom": {
3029
3139
  "name": "DisabledMixin",
3030
- "module": "src/utils/mixins/DisabledMixin.ts"
3140
+ "module": "utils/mixins/DisabledMixin.js"
3031
3141
  }
3032
3142
  },
3033
3143
  {
3144
+ "kind": "field",
3034
3145
  "name": "tabIndex",
3035
3146
  "type": {
3036
3147
  "text": "number"
3037
3148
  },
3038
3149
  "default": "0",
3039
3150
  "description": "This property specifies the tab order of the element.",
3040
- "fieldName": "tabIndex",
3151
+ "attribute": "tabIndex",
3152
+ "reflects": true,
3041
3153
  "inheritedFrom": {
3042
3154
  "name": "TabIndexMixin",
3043
- "module": "src/utils/mixins/TabIndexMixin.ts"
3155
+ "module": "utils/mixins/TabIndexMixin.js"
3044
3156
  }
3045
3157
  },
3046
3158
  {
3159
+ "kind": "field",
3047
3160
  "name": "inline",
3048
3161
  "type": {
3049
3162
  "text": "boolean"
3050
3163
  },
3051
3164
  "description": "The link can be inline or standalone.",
3052
3165
  "default": "false",
3053
- "fieldName": "inline",
3166
+ "attribute": "inline",
3167
+ "reflects": true,
3054
3168
  "inheritedFrom": {
3055
3169
  "name": "Linksimple",
3056
- "module": "src/components/linksimple/linksimple.component.ts"
3170
+ "module": "components/linksimple/linksimple.component.js"
3057
3171
  }
3058
3172
  },
3059
3173
  {
3174
+ "kind": "field",
3060
3175
  "name": "inverted",
3061
3176
  "type": {
3062
3177
  "text": "boolean"
3063
3178
  },
3064
3179
  "description": "The link color can be inverted by setting the inverted attribute to true.",
3065
3180
  "default": "false",
3066
- "fieldName": "inverted",
3181
+ "attribute": "inverted",
3182
+ "reflects": true,
3067
3183
  "inheritedFrom": {
3068
3184
  "name": "Linksimple",
3069
- "module": "src/components/linksimple/linksimple.component.ts"
3185
+ "module": "components/linksimple/linksimple.component.js"
3070
3186
  }
3071
3187
  },
3072
3188
  {
3189
+ "kind": "field",
3073
3190
  "name": "href",
3074
3191
  "type": {
3075
3192
  "text": "string"
3076
3193
  },
3077
3194
  "default": "'#'",
3078
3195
  "description": "Href for navigation. The URL that the hyperlink points to",
3079
- "fieldName": "href",
3196
+ "attribute": "href",
3197
+ "reflects": true,
3080
3198
  "inheritedFrom": {
3081
3199
  "name": "Linksimple",
3082
- "module": "src/components/linksimple/linksimple.component.ts"
3200
+ "module": "components/linksimple/linksimple.component.js"
3083
3201
  }
3084
3202
  },
3085
3203
  {
3204
+ "kind": "field",
3086
3205
  "name": "target",
3087
3206
  "type": {
3088
3207
  "text": "string"
3089
3208
  },
3090
3209
  "default": "'_self'",
3091
3210
  "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
3092
- "fieldName": "target",
3211
+ "attribute": "target",
3212
+ "reflects": true,
3093
3213
  "inheritedFrom": {
3094
3214
  "name": "Linksimple",
3095
- "module": "src/components/linksimple/linksimple.component.ts"
3215
+ "module": "components/linksimple/linksimple.component.js"
3096
3216
  }
3097
3217
  },
3098
3218
  {
3219
+ "kind": "field",
3099
3220
  "name": "rel",
3100
3221
  "type": {
3101
3222
  "text": "string | undefined"
3102
3223
  },
3103
3224
  "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
3104
- "fieldName": "rel",
3105
- "inheritedFrom": {
3106
- "name": "Linksimple",
3107
- "module": "src/components/linksimple/linksimple.component.ts"
3108
- }
3109
- }
3110
- ],
3111
- "mixins": [
3112
- {
3113
- "name": "ButtonComponentMixin",
3114
- "module": "/src/utils/mixins/ButtonComponentMixin"
3115
- }
3116
- ],
3117
- "superclass": {
3118
- "name": "Linksimple",
3119
- "module": "/src/components/linksimple/linksimple.component"
3120
- },
3121
- "tagName": "mdc-buttonlink",
3122
- "jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n */",
3123
- "customElement": true,
3124
- "cssProperties": [
3125
- {
3126
- "description": "Border radius of the link.",
3127
- "name": "--mdc-link-border-radius",
3128
- "inheritedFrom": {
3129
- "name": "Linksimple",
3130
- "module": "src/components/linksimple/linksimple.component.ts"
3131
- }
3132
- },
3133
- {
3134
- "description": "Color of the link’s child content in the active state.",
3135
- "name": "--mdc-link-color-active",
3136
- "inheritedFrom": {
3137
- "name": "Linksimple",
3138
- "module": "src/components/linksimple/linksimple.component.ts"
3139
- }
3140
- },
3141
- {
3142
- "description": "Color of the link’s child content in the disabled state.",
3143
- "name": "--mdc-link-color-disabled",
3225
+ "attribute": "rel",
3226
+ "reflects": true,
3144
3227
  "inheritedFrom": {
3145
3228
  "name": "Linksimple",
3146
- "module": "src/components/linksimple/linksimple.component.ts"
3229
+ "module": "components/linksimple/linksimple.component.js"
3147
3230
  }
3148
3231
  },
3149
3232
  {
3150
- "description": "Color of the link’s child content in the hover state.",
3151
- "name": "--mdc-link-color-hover",
3233
+ "kind": "field",
3234
+ "name": "handleNavigation",
3235
+ "privacy": "private",
3152
3236
  "inheritedFrom": {
3153
3237
  "name": "Linksimple",
3154
- "module": "src/components/linksimple/linksimple.component.ts"
3238
+ "module": "components/linksimple/linksimple.component.js"
3155
3239
  }
3156
3240
  },
3157
3241
  {
3158
- "description": "Color of the link’s child content in the normal state.",
3159
- "name": "--mdc-link-color-normal",
3242
+ "kind": "method",
3243
+ "name": "setDisabled",
3244
+ "privacy": "private",
3245
+ "parameters": [
3246
+ {
3247
+ "name": "disabled",
3248
+ "type": {
3249
+ "text": "boolean"
3250
+ },
3251
+ "description": "Whether the element should be disabled"
3252
+ }
3253
+ ],
3254
+ "description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
3160
3255
  "inheritedFrom": {
3161
3256
  "name": "Linksimple",
3162
- "module": "src/components/linksimple/linksimple.component.ts"
3257
+ "module": "components/linksimple/linksimple.component.js"
3163
3258
  }
3164
- },
3259
+ }
3260
+ ],
3261
+ "events": [
3165
3262
  {
3166
- "description": "Color of the inverted link’s child content in the active state.",
3167
- "name": "--mdc-link-inverted-color-active",
3263
+ "description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
3264
+ "name": "click",
3265
+ "reactName": "onClick",
3168
3266
  "inheritedFrom": {
3169
3267
  "name": "Linksimple",
3170
3268
  "module": "src/components/linksimple/linksimple.component.ts"
3171
3269
  }
3172
3270
  },
3173
3271
  {
3174
- "description": "Color of the inverted link’s child content in the disabled state.",
3175
- "name": "--mdc-link-inverted-color-disabled",
3272
+ "description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
3273
+ "name": "keydown",
3274
+ "reactName": "onKeyDown",
3176
3275
  "inheritedFrom": {
3177
3276
  "name": "Linksimple",
3178
3277
  "module": "src/components/linksimple/linksimple.component.ts"
3179
3278
  }
3180
3279
  },
3181
3280
  {
3182
- "description": "Color of the inverted link’s child content in the hover state.",
3183
- "name": "--mdc-link-inverted-color-hover",
3281
+ "description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
3282
+ "name": "focus",
3283
+ "reactName": "onFocus",
3184
3284
  "inheritedFrom": {
3185
3285
  "name": "Linksimple",
3186
3286
  "module": "src/components/linksimple/linksimple.component.ts"
3187
3287
  }
3188
3288
  },
3189
3289
  {
3190
- "description": "Color of the inverted link’s child content in the normal state.",
3191
- "name": "--mdc-link-inverted-color-normal",
3290
+ "description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
3291
+ "name": "blur",
3292
+ "reactName": "onBlur",
3192
3293
  "inheritedFrom": {
3193
3294
  "name": "Linksimple",
3194
3295
  "module": "src/components/linksimple/linksimple.component.ts"
3195
3296
  }
3196
3297
  }
3197
- ]
3198
- }
3199
- ],
3200
- "exports": [
3201
- {
3202
- "kind": "js",
3203
- "name": "default",
3204
- "declaration": {
3205
- "name": "ButtonLink",
3206
- "module": "components/buttonlink/buttonlink.component.js"
3207
- }
3208
- }
3209
- ]
3210
- },
3211
- {
3212
- "kind": "javascript-module",
3213
- "path": "components/buttonsimple/buttonsimple.component.js",
3214
- "declarations": [
3215
- {
3216
- "kind": "class",
3217
- "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.",
3218
- "name": "Buttonsimple",
3219
- "members": [
3298
+ ],
3299
+ "attributes": [
3220
3300
  {
3221
- "kind": "field",
3222
- "name": "active",
3301
+ "name": "size",
3223
3302
  "type": {
3224
- "text": "boolean | undefined"
3303
+ "text": "PillButtonSize | IconButtonSize"
3225
3304
  },
3226
- "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.",
3227
- "default": "undefined",
3228
- "attribute": "active",
3229
- "reflects": true
3305
+ "description": "ButtonLink sizing is based on the buttonlink type.\n - **Pill buttonlink**: 40, 32, 28, 24.\n - **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n - Tertiary icon buttonlink can also be 20.",
3306
+ "default": "32",
3307
+ "fieldName": "size"
3230
3308
  },
3231
3309
  {
3232
- "kind": "field",
3233
- "name": "softDisabled",
3310
+ "name": "soft-disabled",
3234
3311
  "type": {
3235
3312
  "text": "boolean | undefined"
3236
3313
  },
3237
- "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.",
3314
+ "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink 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 buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
3238
3315
  "default": "undefined",
3239
- "attribute": "soft-disabled",
3240
- "reflects": true
3316
+ "fieldName": "softDisabled"
3241
3317
  },
3242
3318
  {
3243
- "kind": "field",
3244
- "name": "size",
3319
+ "name": "prefix-icon",
3245
3320
  "type": {
3246
- "text": "ButtonSize"
3321
+ "text": "IconNames | undefined"
3247
3322
  },
3248
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
3249
- "default": "32",
3250
- "attribute": "size",
3251
- "reflects": true
3252
- },
3323
+ "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
3324
+ "fieldName": "prefixIcon",
3325
+ "inheritedFrom": {
3326
+ "name": "ButtonComponentMixin",
3327
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
3328
+ }
3329
+ },
3330
+ {
3331
+ "name": "postfix-icon",
3332
+ "type": {
3333
+ "text": "IconNames | undefined"
3334
+ },
3335
+ "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
3336
+ "fieldName": "postfixIcon",
3337
+ "inheritedFrom": {
3338
+ "name": "ButtonComponentMixin",
3339
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
3340
+ }
3341
+ },
3342
+ {
3343
+ "name": "variant",
3344
+ "type": {
3345
+ "text": "ButtonVariant"
3346
+ },
3347
+ "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
3348
+ "default": "primary",
3349
+ "fieldName": "variant",
3350
+ "inheritedFrom": {
3351
+ "name": "ButtonComponentMixin",
3352
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
3353
+ }
3354
+ },
3355
+ {
3356
+ "name": "color",
3357
+ "type": {
3358
+ "text": "ButtonColor"
3359
+ },
3360
+ "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
3361
+ "default": "default",
3362
+ "fieldName": "color",
3363
+ "inheritedFrom": {
3364
+ "name": "ButtonComponentMixin",
3365
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
3366
+ }
3367
+ },
3368
+ {
3369
+ "name": "disabled",
3370
+ "type": {
3371
+ "text": "boolean | undefined"
3372
+ },
3373
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3374
+ "default": "undefined",
3375
+ "fieldName": "disabled",
3376
+ "inheritedFrom": {
3377
+ "name": "DisabledMixin",
3378
+ "module": "src/utils/mixins/DisabledMixin.ts"
3379
+ }
3380
+ },
3381
+ {
3382
+ "name": "tabIndex",
3383
+ "type": {
3384
+ "text": "number"
3385
+ },
3386
+ "default": "0",
3387
+ "description": "This property specifies the tab order of the element.",
3388
+ "fieldName": "tabIndex",
3389
+ "inheritedFrom": {
3390
+ "name": "TabIndexMixin",
3391
+ "module": "src/utils/mixins/TabIndexMixin.ts"
3392
+ }
3393
+ },
3394
+ {
3395
+ "name": "inline",
3396
+ "type": {
3397
+ "text": "boolean"
3398
+ },
3399
+ "description": "The link can be inline or standalone.",
3400
+ "default": "false",
3401
+ "fieldName": "inline",
3402
+ "inheritedFrom": {
3403
+ "name": "Linksimple",
3404
+ "module": "src/components/linksimple/linksimple.component.ts"
3405
+ }
3406
+ },
3407
+ {
3408
+ "name": "inverted",
3409
+ "type": {
3410
+ "text": "boolean"
3411
+ },
3412
+ "description": "The link color can be inverted by setting the inverted attribute to true.",
3413
+ "default": "false",
3414
+ "fieldName": "inverted",
3415
+ "inheritedFrom": {
3416
+ "name": "Linksimple",
3417
+ "module": "src/components/linksimple/linksimple.component.ts"
3418
+ }
3419
+ },
3420
+ {
3421
+ "name": "href",
3422
+ "type": {
3423
+ "text": "string"
3424
+ },
3425
+ "default": "'#'",
3426
+ "description": "Href for navigation. The URL that the hyperlink points to",
3427
+ "fieldName": "href",
3428
+ "inheritedFrom": {
3429
+ "name": "Linksimple",
3430
+ "module": "src/components/linksimple/linksimple.component.ts"
3431
+ }
3432
+ },
3433
+ {
3434
+ "name": "target",
3435
+ "type": {
3436
+ "text": "string"
3437
+ },
3438
+ "default": "'_self'",
3439
+ "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
3440
+ "fieldName": "target",
3441
+ "inheritedFrom": {
3442
+ "name": "Linksimple",
3443
+ "module": "src/components/linksimple/linksimple.component.ts"
3444
+ }
3445
+ },
3446
+ {
3447
+ "name": "rel",
3448
+ "type": {
3449
+ "text": "string | undefined"
3450
+ },
3451
+ "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
3452
+ "fieldName": "rel",
3453
+ "inheritedFrom": {
3454
+ "name": "Linksimple",
3455
+ "module": "src/components/linksimple/linksimple.component.ts"
3456
+ }
3457
+ }
3458
+ ],
3459
+ "mixins": [
3460
+ {
3461
+ "name": "ButtonComponentMixin",
3462
+ "module": "/src/utils/mixins/ButtonComponentMixin"
3463
+ }
3464
+ ],
3465
+ "superclass": {
3466
+ "name": "Linksimple",
3467
+ "module": "/src/components/linksimple/linksimple.component"
3468
+ },
3469
+ "tagName": "mdc-buttonlink",
3470
+ "jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n */",
3471
+ "customElement": true,
3472
+ "cssProperties": [
3473
+ {
3474
+ "description": "Border radius of the link.",
3475
+ "name": "--mdc-link-border-radius",
3476
+ "inheritedFrom": {
3477
+ "name": "Linksimple",
3478
+ "module": "src/components/linksimple/linksimple.component.ts"
3479
+ }
3480
+ },
3481
+ {
3482
+ "description": "Color of the link’s child content in the active state.",
3483
+ "name": "--mdc-link-color-active",
3484
+ "inheritedFrom": {
3485
+ "name": "Linksimple",
3486
+ "module": "src/components/linksimple/linksimple.component.ts"
3487
+ }
3488
+ },
3489
+ {
3490
+ "description": "Color of the link’s child content in the disabled state.",
3491
+ "name": "--mdc-link-color-disabled",
3492
+ "inheritedFrom": {
3493
+ "name": "Linksimple",
3494
+ "module": "src/components/linksimple/linksimple.component.ts"
3495
+ }
3496
+ },
3497
+ {
3498
+ "description": "Color of the link’s child content in the hover state.",
3499
+ "name": "--mdc-link-color-hover",
3500
+ "inheritedFrom": {
3501
+ "name": "Linksimple",
3502
+ "module": "src/components/linksimple/linksimple.component.ts"
3503
+ }
3504
+ },
3505
+ {
3506
+ "description": "Color of the link’s child content in the normal state.",
3507
+ "name": "--mdc-link-color-normal",
3508
+ "inheritedFrom": {
3509
+ "name": "Linksimple",
3510
+ "module": "src/components/linksimple/linksimple.component.ts"
3511
+ }
3512
+ },
3513
+ {
3514
+ "description": "Color of the inverted link’s child content in the active state.",
3515
+ "name": "--mdc-link-inverted-color-active",
3516
+ "inheritedFrom": {
3517
+ "name": "Linksimple",
3518
+ "module": "src/components/linksimple/linksimple.component.ts"
3519
+ }
3520
+ },
3521
+ {
3522
+ "description": "Color of the inverted link’s child content in the disabled state.",
3523
+ "name": "--mdc-link-inverted-color-disabled",
3524
+ "inheritedFrom": {
3525
+ "name": "Linksimple",
3526
+ "module": "src/components/linksimple/linksimple.component.ts"
3527
+ }
3528
+ },
3529
+ {
3530
+ "description": "Color of the inverted link’s child content in the hover state.",
3531
+ "name": "--mdc-link-inverted-color-hover",
3532
+ "inheritedFrom": {
3533
+ "name": "Linksimple",
3534
+ "module": "src/components/linksimple/linksimple.component.ts"
3535
+ }
3536
+ },
3537
+ {
3538
+ "description": "Color of the inverted link’s child content in the normal state.",
3539
+ "name": "--mdc-link-inverted-color-normal",
3540
+ "inheritedFrom": {
3541
+ "name": "Linksimple",
3542
+ "module": "src/components/linksimple/linksimple.component.ts"
3543
+ }
3544
+ }
3545
+ ]
3546
+ }
3547
+ ],
3548
+ "exports": [
3549
+ {
3550
+ "kind": "js",
3551
+ "name": "default",
3552
+ "declaration": {
3553
+ "name": "ButtonLink",
3554
+ "module": "components/buttonlink/buttonlink.component.js"
3555
+ }
3556
+ }
3557
+ ]
3558
+ },
3559
+ {
3560
+ "kind": "javascript-module",
3561
+ "path": "components/card/card.component.js",
3562
+ "declarations": [
3563
+ {
3564
+ "kind": "class",
3565
+ "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.\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\n`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'.",
3566
+ "name": "Card",
3567
+ "slots": [
3568
+ {
3569
+ "description": "This slot is for passing the content before the body",
3570
+ "name": "before-body"
3571
+ },
3572
+ {
3573
+ "description": "This slot is for passing the text content for the card",
3574
+ "name": "body"
3575
+ },
3576
+ {
3577
+ "description": "This slot is for passing the content after the body",
3578
+ "name": "after-body"
3579
+ },
3580
+ {
3581
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
3582
+ "name": "footer-link"
3583
+ },
3584
+ {
3585
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
3586
+ "name": "footer-button-primary"
3587
+ },
3588
+ {
3589
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
3590
+ "name": "footer-button-secondary"
3591
+ },
3592
+ {
3593
+ "description": "This slot is for passing the content before the body",
3594
+ "name": "before-body"
3595
+ },
3596
+ {
3597
+ "description": "This slot is for passing the text content for the card",
3598
+ "name": "body"
3599
+ },
3600
+ {
3601
+ "description": "This slot is for passing the content after the body",
3602
+ "name": "after-body"
3603
+ }
3604
+ ],
3605
+ "members": [
3606
+ {
3607
+ "kind": "method",
3608
+ "name": "renderHeader",
3609
+ "privacy": "protected",
3610
+ "description": "Renders the header of the card if title is provided",
3611
+ "return": {
3612
+ "type": {
3613
+ "text": ""
3614
+ }
3615
+ }
3616
+ },
3617
+ {
3618
+ "kind": "field",
3619
+ "name": "cardTitle",
3620
+ "type": {
3621
+ "text": "string"
3622
+ },
3623
+ "default": "''",
3624
+ "description": "The title of the card - part of header section",
3625
+ "attribute": "card-title",
3626
+ "inheritedFrom": {
3627
+ "name": "CardComponentMixin",
3628
+ "module": "utils/mixins/CardComponentMixin.js"
3629
+ }
3630
+ },
3631
+ {
3632
+ "kind": "field",
3633
+ "name": "subtitle",
3634
+ "type": {
3635
+ "text": "string"
3636
+ },
3637
+ "default": "''",
3638
+ "description": "The subtitle of the card - part of header section",
3639
+ "attribute": "subtitle",
3640
+ "inheritedFrom": {
3641
+ "name": "CardComponentMixin",
3642
+ "module": "utils/mixins/CardComponentMixin.js"
3643
+ }
3644
+ },
3645
+ {
3646
+ "kind": "field",
3647
+ "name": "imageSrc",
3648
+ "type": {
3649
+ "text": "string"
3650
+ },
3651
+ "default": "''",
3652
+ "description": "The image source URL to render on the card",
3653
+ "attribute": "image-src",
3654
+ "inheritedFrom": {
3655
+ "name": "CardComponentMixin",
3656
+ "module": "utils/mixins/CardComponentMixin.js"
3657
+ }
3658
+ },
3659
+ {
3660
+ "kind": "field",
3661
+ "name": "imageAlt",
3662
+ "type": {
3663
+ "text": "string"
3664
+ },
3665
+ "default": "''",
3666
+ "description": "The image alt for accessibility support",
3667
+ "attribute": "image-alt",
3668
+ "inheritedFrom": {
3669
+ "name": "CardComponentMixin",
3670
+ "module": "utils/mixins/CardComponentMixin.js"
3671
+ }
3672
+ },
3673
+ {
3674
+ "kind": "field",
3675
+ "name": "variant",
3676
+ "type": {
3677
+ "text": "CardVariant"
3678
+ },
3679
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
3680
+ "default": "'border'",
3681
+ "attribute": "variant",
3682
+ "inheritedFrom": {
3683
+ "name": "CardComponentMixin",
3684
+ "module": "utils/mixins/CardComponentMixin.js"
3685
+ }
3686
+ },
3687
+ {
3688
+ "kind": "field",
3689
+ "name": "orientation",
3690
+ "type": {
3691
+ "text": "CardOrientation"
3692
+ },
3693
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
3694
+ "default": "'vertical'",
3695
+ "attribute": "orientation",
3696
+ "reflects": true,
3697
+ "inheritedFrom": {
3698
+ "name": "CardComponentMixin",
3699
+ "module": "utils/mixins/CardComponentMixin.js"
3700
+ }
3701
+ },
3702
+ {
3703
+ "kind": "field",
3704
+ "name": "titleTagName",
3705
+ "type": {
3706
+ "text": "TagNameType"
3707
+ },
3708
+ "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
3709
+ "default": "'span'",
3710
+ "attribute": "title-tag-name",
3711
+ "inheritedFrom": {
3712
+ "name": "CardComponentMixin",
3713
+ "module": "utils/mixins/CardComponentMixin.js"
3714
+ }
3715
+ },
3716
+ {
3717
+ "kind": "field",
3718
+ "name": "subtitleTagName",
3719
+ "type": {
3720
+ "text": "TagNameType"
3721
+ },
3722
+ "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
3723
+ "default": "'span'",
3724
+ "attribute": "subtitle-tag-name",
3725
+ "inheritedFrom": {
3726
+ "name": "CardComponentMixin",
3727
+ "module": "utils/mixins/CardComponentMixin.js"
3728
+ }
3729
+ },
3730
+ {
3731
+ "kind": "field",
3732
+ "name": "iconName",
3733
+ "type": {
3734
+ "text": "IconNames | undefined"
3735
+ },
3736
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
3737
+ "attribute": "icon-name",
3738
+ "inheritedFrom": {
3739
+ "name": "CardComponentMixin",
3740
+ "module": "utils/mixins/CardComponentMixin.js"
3741
+ }
3742
+ },
3743
+ {
3744
+ "kind": "method",
3745
+ "name": "renderImage",
3746
+ "description": "Renders the image on the card if image source is provided",
3747
+ "return": {
3748
+ "type": {
3749
+ "text": ""
3750
+ }
3751
+ },
3752
+ "inheritedFrom": {
3753
+ "name": "CardComponentMixin",
3754
+ "module": "utils/mixins/CardComponentMixin.js"
3755
+ }
3756
+ },
3757
+ {
3758
+ "kind": "method",
3759
+ "name": "renderIcon",
3760
+ "description": "Renders the icon on the card if icon name is provided",
3761
+ "return": {
3762
+ "type": {
3763
+ "text": ""
3764
+ }
3765
+ },
3766
+ "inheritedFrom": {
3767
+ "name": "CardComponentMixin",
3768
+ "module": "utils/mixins/CardComponentMixin.js"
3769
+ }
3770
+ },
3771
+ {
3772
+ "kind": "method",
3773
+ "name": "renderTitle",
3774
+ "description": "Renders the title and subtitle on the card",
3775
+ "return": {
3776
+ "type": {
3777
+ "text": ""
3778
+ }
3779
+ },
3780
+ "inheritedFrom": {
3781
+ "name": "CardComponentMixin",
3782
+ "module": "utils/mixins/CardComponentMixin.js"
3783
+ }
3784
+ }
3785
+ ],
3786
+ "mixins": [
3787
+ {
3788
+ "name": "CardComponentMixin",
3789
+ "module": "/src/utils/mixins/CardComponentMixin"
3790
+ }
3791
+ ],
3792
+ "superclass": {
3793
+ "name": "Component",
3794
+ "module": "/src/models"
3795
+ },
3796
+ "tagName": "mdc-card",
3797
+ "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.\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\n * `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 *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\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 *\n */",
3798
+ "customElement": true,
3799
+ "attributes": [
3800
+ {
3801
+ "name": "card-title",
3802
+ "type": {
3803
+ "text": "string"
3804
+ },
3805
+ "default": "''",
3806
+ "description": "The title of the card - part of header section",
3807
+ "fieldName": "cardTitle",
3808
+ "inheritedFrom": {
3809
+ "name": "CardComponentMixin",
3810
+ "module": "src/utils/mixins/CardComponentMixin.ts"
3811
+ }
3812
+ },
3813
+ {
3814
+ "name": "subtitle",
3815
+ "type": {
3816
+ "text": "string"
3817
+ },
3818
+ "default": "''",
3819
+ "description": "The subtitle of the card - part of header section",
3820
+ "fieldName": "subtitle",
3821
+ "inheritedFrom": {
3822
+ "name": "CardComponentMixin",
3823
+ "module": "src/utils/mixins/CardComponentMixin.ts"
3824
+ }
3825
+ },
3826
+ {
3827
+ "name": "image-src",
3828
+ "type": {
3829
+ "text": "string"
3830
+ },
3831
+ "default": "''",
3832
+ "description": "The image source URL to render on the card",
3833
+ "fieldName": "imageSrc",
3834
+ "inheritedFrom": {
3835
+ "name": "CardComponentMixin",
3836
+ "module": "src/utils/mixins/CardComponentMixin.ts"
3837
+ }
3838
+ },
3839
+ {
3840
+ "name": "image-alt",
3841
+ "type": {
3842
+ "text": "string"
3843
+ },
3844
+ "default": "''",
3845
+ "description": "The image alt for accessibility support",
3846
+ "fieldName": "imageAlt",
3847
+ "inheritedFrom": {
3848
+ "name": "CardComponentMixin",
3849
+ "module": "src/utils/mixins/CardComponentMixin.ts"
3850
+ }
3851
+ },
3852
+ {
3853
+ "name": "variant",
3854
+ "type": {
3855
+ "text": "CardVariant"
3856
+ },
3857
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
3858
+ "default": "'border'",
3859
+ "fieldName": "variant",
3860
+ "inheritedFrom": {
3861
+ "name": "CardComponentMixin",
3862
+ "module": "src/utils/mixins/CardComponentMixin.ts"
3863
+ }
3864
+ },
3865
+ {
3866
+ "name": "orientation",
3867
+ "type": {
3868
+ "text": "CardOrientation"
3869
+ },
3870
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
3871
+ "default": "'vertical'",
3872
+ "fieldName": "orientation",
3873
+ "inheritedFrom": {
3874
+ "name": "CardComponentMixin",
3875
+ "module": "src/utils/mixins/CardComponentMixin.ts"
3876
+ }
3877
+ },
3878
+ {
3879
+ "name": "title-tag-name",
3880
+ "type": {
3881
+ "text": "TagNameType"
3882
+ },
3883
+ "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
3884
+ "default": "'span'",
3885
+ "fieldName": "titleTagName",
3886
+ "inheritedFrom": {
3887
+ "name": "CardComponentMixin",
3888
+ "module": "src/utils/mixins/CardComponentMixin.ts"
3889
+ }
3890
+ },
3891
+ {
3892
+ "name": "subtitle-tag-name",
3893
+ "type": {
3894
+ "text": "TagNameType"
3895
+ },
3896
+ "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
3897
+ "default": "'span'",
3898
+ "fieldName": "subtitleTagName",
3899
+ "inheritedFrom": {
3900
+ "name": "CardComponentMixin",
3901
+ "module": "src/utils/mixins/CardComponentMixin.ts"
3902
+ }
3903
+ },
3904
+ {
3905
+ "name": "icon-name",
3906
+ "type": {
3907
+ "text": "IconNames | undefined"
3908
+ },
3909
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
3910
+ "fieldName": "iconName",
3911
+ "inheritedFrom": {
3912
+ "name": "CardComponentMixin",
3913
+ "module": "src/utils/mixins/CardComponentMixin.ts"
3914
+ }
3915
+ }
3916
+ ]
3917
+ }
3918
+ ],
3919
+ "exports": [
3920
+ {
3921
+ "kind": "js",
3922
+ "name": "default",
3923
+ "declaration": {
3924
+ "name": "Card",
3925
+ "module": "components/card/card.component.js"
3926
+ }
3927
+ }
3928
+ ]
3929
+ },
3930
+ {
3931
+ "kind": "javascript-module",
3932
+ "path": "components/cardbutton/cardbutton.component.js",
3933
+ "declarations": [
3934
+ {
3935
+ "kind": "class",
3936
+ "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.",
3937
+ "name": "CardButton",
3938
+ "slots": [
3939
+ {
3940
+ "description": "This slot is for passing the content before the body",
3941
+ "name": "before-body"
3942
+ },
3943
+ {
3944
+ "description": "This slot is for passing the text content for the card",
3945
+ "name": "body"
3946
+ },
3947
+ {
3948
+ "description": "This slot is for passing the content after the body",
3949
+ "name": "after-body"
3950
+ }
3951
+ ],
3952
+ "members": [
3953
+ {
3954
+ "kind": "method",
3955
+ "name": "renderHeader",
3956
+ "privacy": "protected",
3957
+ "description": "Renders the header of the card if title is provided",
3958
+ "return": {
3959
+ "type": {
3960
+ "text": ""
3961
+ }
3962
+ }
3963
+ },
3964
+ {
3965
+ "kind": "field",
3966
+ "name": "cardTitle",
3967
+ "type": {
3968
+ "text": "string"
3969
+ },
3970
+ "default": "''",
3971
+ "description": "The title of the card - part of header section",
3972
+ "attribute": "card-title",
3973
+ "inheritedFrom": {
3974
+ "name": "CardComponentMixin",
3975
+ "module": "utils/mixins/CardComponentMixin.js"
3976
+ }
3977
+ },
3978
+ {
3979
+ "kind": "field",
3980
+ "name": "subtitle",
3981
+ "type": {
3982
+ "text": "string"
3983
+ },
3984
+ "default": "''",
3985
+ "description": "The subtitle of the card - part of header section",
3986
+ "attribute": "subtitle",
3987
+ "inheritedFrom": {
3988
+ "name": "CardComponentMixin",
3989
+ "module": "utils/mixins/CardComponentMixin.js"
3990
+ }
3991
+ },
3992
+ {
3993
+ "kind": "field",
3994
+ "name": "imageSrc",
3995
+ "type": {
3996
+ "text": "string"
3997
+ },
3998
+ "default": "''",
3999
+ "description": "The image source URL to render on the card",
4000
+ "attribute": "image-src",
4001
+ "inheritedFrom": {
4002
+ "name": "CardComponentMixin",
4003
+ "module": "utils/mixins/CardComponentMixin.js"
4004
+ }
4005
+ },
4006
+ {
4007
+ "kind": "field",
4008
+ "name": "imageAlt",
4009
+ "type": {
4010
+ "text": "string"
4011
+ },
4012
+ "default": "''",
4013
+ "description": "The image alt for accessibility support",
4014
+ "attribute": "image-alt",
4015
+ "inheritedFrom": {
4016
+ "name": "CardComponentMixin",
4017
+ "module": "utils/mixins/CardComponentMixin.js"
4018
+ }
4019
+ },
4020
+ {
4021
+ "kind": "field",
4022
+ "name": "variant",
4023
+ "type": {
4024
+ "text": "CardVariant"
4025
+ },
4026
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
4027
+ "default": "'border'",
4028
+ "attribute": "variant",
4029
+ "inheritedFrom": {
4030
+ "name": "CardComponentMixin",
4031
+ "module": "utils/mixins/CardComponentMixin.js"
4032
+ }
4033
+ },
4034
+ {
4035
+ "kind": "field",
4036
+ "name": "orientation",
4037
+ "type": {
4038
+ "text": "CardOrientation"
4039
+ },
4040
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
4041
+ "default": "'vertical'",
4042
+ "attribute": "orientation",
4043
+ "reflects": true,
4044
+ "inheritedFrom": {
4045
+ "name": "CardComponentMixin",
4046
+ "module": "utils/mixins/CardComponentMixin.js"
4047
+ }
4048
+ },
4049
+ {
4050
+ "kind": "field",
4051
+ "name": "titleTagName",
4052
+ "type": {
4053
+ "text": "TagNameType"
4054
+ },
4055
+ "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
4056
+ "default": "'span'",
4057
+ "attribute": "title-tag-name",
4058
+ "inheritedFrom": {
4059
+ "name": "CardComponentMixin",
4060
+ "module": "utils/mixins/CardComponentMixin.js"
4061
+ }
4062
+ },
4063
+ {
4064
+ "kind": "field",
4065
+ "name": "subtitleTagName",
4066
+ "type": {
4067
+ "text": "TagNameType"
4068
+ },
4069
+ "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
4070
+ "default": "'span'",
4071
+ "attribute": "subtitle-tag-name",
4072
+ "inheritedFrom": {
4073
+ "name": "CardComponentMixin",
4074
+ "module": "utils/mixins/CardComponentMixin.js"
4075
+ }
4076
+ },
4077
+ {
4078
+ "kind": "field",
4079
+ "name": "iconName",
4080
+ "type": {
4081
+ "text": "IconNames | undefined"
4082
+ },
4083
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
4084
+ "attribute": "icon-name",
4085
+ "inheritedFrom": {
4086
+ "name": "CardComponentMixin",
4087
+ "module": "utils/mixins/CardComponentMixin.js"
4088
+ }
4089
+ },
4090
+ {
4091
+ "kind": "method",
4092
+ "name": "renderImage",
4093
+ "description": "Renders the image on the card if image source is provided",
4094
+ "return": {
4095
+ "type": {
4096
+ "text": ""
4097
+ }
4098
+ },
4099
+ "inheritedFrom": {
4100
+ "name": "CardComponentMixin",
4101
+ "module": "utils/mixins/CardComponentMixin.js"
4102
+ }
4103
+ },
4104
+ {
4105
+ "kind": "method",
4106
+ "name": "renderIcon",
4107
+ "description": "Renders the icon on the card if icon name is provided",
4108
+ "return": {
4109
+ "type": {
4110
+ "text": ""
4111
+ }
4112
+ },
4113
+ "inheritedFrom": {
4114
+ "name": "CardComponentMixin",
4115
+ "module": "utils/mixins/CardComponentMixin.js"
4116
+ }
4117
+ },
4118
+ {
4119
+ "kind": "method",
4120
+ "name": "renderTitle",
4121
+ "description": "Renders the title and subtitle on the card",
4122
+ "return": {
4123
+ "type": {
4124
+ "text": ""
4125
+ }
4126
+ },
4127
+ "inheritedFrom": {
4128
+ "name": "CardComponentMixin",
4129
+ "module": "utils/mixins/CardComponentMixin.js"
4130
+ }
4131
+ },
4132
+ {
4133
+ "kind": "field",
4134
+ "name": "tabIndex",
4135
+ "type": {
4136
+ "text": "number"
4137
+ },
4138
+ "default": "0",
4139
+ "description": "This property specifies the tab order of the element.",
4140
+ "attribute": "tabIndex",
4141
+ "reflects": true,
4142
+ "inheritedFrom": {
4143
+ "name": "Buttonsimple",
4144
+ "module": "components/buttonsimple/buttonsimple.component.js"
4145
+ }
4146
+ },
4147
+ {
4148
+ "kind": "field",
4149
+ "name": "disabled",
4150
+ "type": {
4151
+ "text": "boolean | undefined"
4152
+ },
4153
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4154
+ "default": "undefined",
4155
+ "attribute": "disabled",
4156
+ "reflects": true,
4157
+ "inheritedFrom": {
4158
+ "name": "Buttonsimple",
4159
+ "module": "components/buttonsimple/buttonsimple.component.js"
4160
+ }
4161
+ },
4162
+ {
4163
+ "kind": "field",
4164
+ "name": "active",
4165
+ "type": {
4166
+ "text": "boolean | undefined"
4167
+ },
4168
+ "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.",
4169
+ "default": "undefined",
4170
+ "attribute": "active",
4171
+ "reflects": true,
4172
+ "inheritedFrom": {
4173
+ "name": "Buttonsimple",
4174
+ "module": "components/buttonsimple/buttonsimple.component.js"
4175
+ }
4176
+ },
4177
+ {
4178
+ "kind": "field",
4179
+ "name": "softDisabled",
4180
+ "type": {
4181
+ "text": "boolean | undefined"
4182
+ },
4183
+ "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.",
4184
+ "default": "undefined",
4185
+ "attribute": "soft-disabled",
4186
+ "reflects": true,
4187
+ "inheritedFrom": {
4188
+ "name": "Buttonsimple",
4189
+ "module": "components/buttonsimple/buttonsimple.component.js"
4190
+ }
4191
+ },
4192
+ {
4193
+ "kind": "field",
4194
+ "name": "size",
4195
+ "type": {
4196
+ "text": "ButtonSize"
4197
+ },
4198
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4199
+ "default": "32",
4200
+ "attribute": "size",
4201
+ "reflects": true,
4202
+ "inheritedFrom": {
4203
+ "name": "Buttonsimple",
4204
+ "module": "components/buttonsimple/buttonsimple.component.js"
4205
+ }
4206
+ },
4207
+ {
4208
+ "kind": "field",
4209
+ "name": "role",
4210
+ "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.",
4211
+ "default": "button",
4212
+ "attribute": "role",
4213
+ "reflects": true,
4214
+ "inheritedFrom": {
4215
+ "name": "Buttonsimple",
4216
+ "module": "components/buttonsimple/buttonsimple.component.js"
4217
+ }
4218
+ },
4219
+ {
4220
+ "kind": "field",
4221
+ "name": "ariaStateKey",
4222
+ "type": {
4223
+ "text": "string | undefined"
4224
+ },
4225
+ "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`",
4226
+ "default": "'aria-pressed' (when)",
4227
+ "attribute": "ariaStateKey",
4228
+ "reflects": true,
4229
+ "inheritedFrom": {
4230
+ "name": "Buttonsimple",
4231
+ "module": "components/buttonsimple/buttonsimple.component.js"
4232
+ }
4233
+ },
4234
+ {
4235
+ "kind": "field",
4236
+ "name": "type",
4237
+ "type": {
4238
+ "text": "ButtonType"
4239
+ },
4240
+ "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.",
4241
+ "default": "button",
4242
+ "attribute": "type",
4243
+ "reflects": true,
4244
+ "inheritedFrom": {
4245
+ "name": "Buttonsimple",
4246
+ "module": "components/buttonsimple/buttonsimple.component.js"
4247
+ }
4248
+ },
4249
+ {
4250
+ "kind": "method",
4251
+ "name": "executeAction",
4252
+ "privacy": "protected",
4253
+ "inheritedFrom": {
4254
+ "name": "Buttonsimple",
4255
+ "module": "components/buttonsimple/buttonsimple.component.js"
4256
+ }
4257
+ },
4258
+ {
4259
+ "kind": "method",
4260
+ "name": "setActive",
4261
+ "privacy": "protected",
4262
+ "parameters": [
4263
+ {
4264
+ "name": "element",
4265
+ "type": {
4266
+ "text": "HTMLElement"
4267
+ },
4268
+ "description": "The button element"
4269
+ },
4270
+ {
4271
+ "name": "active",
4272
+ "optional": true,
4273
+ "type": {
4274
+ "text": "boolean"
4275
+ },
4276
+ "description": "The active state of the element"
4277
+ }
4278
+ ],
4279
+ "description": "Sets the ariaStateKey attributes based on the active state of the button.",
4280
+ "inheritedFrom": {
4281
+ "name": "Buttonsimple",
4282
+ "module": "components/buttonsimple/buttonsimple.component.js"
4283
+ }
4284
+ },
4285
+ {
4286
+ "kind": "method",
4287
+ "name": "setSoftDisabled",
4288
+ "privacy": "private",
4289
+ "parameters": [
4290
+ {
4291
+ "name": "element",
4292
+ "type": {
4293
+ "text": "HTMLElement"
4294
+ },
4295
+ "description": "The button element."
4296
+ },
4297
+ {
4298
+ "name": "softDisabled",
4299
+ "optional": true,
4300
+ "type": {
4301
+ "text": "boolean"
4302
+ },
4303
+ "description": "The soft-disabled state."
4304
+ }
4305
+ ],
4306
+ "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.",
4307
+ "inheritedFrom": {
4308
+ "name": "Buttonsimple",
4309
+ "module": "components/buttonsimple/buttonsimple.component.js"
4310
+ }
4311
+ },
4312
+ {
4313
+ "kind": "method",
4314
+ "name": "setDisabled",
4315
+ "privacy": "private",
4316
+ "parameters": [
4317
+ {
4318
+ "name": "element",
4319
+ "type": {
4320
+ "text": "HTMLElement"
4321
+ },
4322
+ "description": "The button element."
4323
+ },
4324
+ {
4325
+ "name": "disabled",
4326
+ "type": {
4327
+ "text": "boolean"
4328
+ },
4329
+ "description": "The disabled state."
4330
+ }
4331
+ ],
4332
+ "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.",
4333
+ "inheritedFrom": {
4334
+ "name": "Buttonsimple",
4335
+ "module": "components/buttonsimple/buttonsimple.component.js"
4336
+ }
4337
+ },
4338
+ {
4339
+ "kind": "method",
4340
+ "name": "triggerClickEvent",
4341
+ "privacy": "private",
4342
+ "inheritedFrom": {
4343
+ "name": "Buttonsimple",
4344
+ "module": "components/buttonsimple/buttonsimple.component.js"
4345
+ }
4346
+ },
4347
+ {
4348
+ "kind": "method",
4349
+ "name": "handleBlur",
4350
+ "privacy": "private",
4351
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
4352
+ "inheritedFrom": {
4353
+ "name": "Buttonsimple",
4354
+ "module": "components/buttonsimple/buttonsimple.component.js"
4355
+ }
4356
+ },
4357
+ {
4358
+ "kind": "method",
4359
+ "name": "handleKeyDown",
4360
+ "privacy": "private",
4361
+ "parameters": [
4362
+ {
4363
+ "name": "event",
4364
+ "type": {
4365
+ "text": "KeyboardEvent"
4366
+ },
4367
+ "description": "The keyboard event."
4368
+ }
4369
+ ],
4370
+ "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.",
4371
+ "inheritedFrom": {
4372
+ "name": "Buttonsimple",
4373
+ "module": "components/buttonsimple/buttonsimple.component.js"
4374
+ }
4375
+ },
4376
+ {
4377
+ "kind": "method",
4378
+ "name": "handleKeyUp",
4379
+ "privacy": "private",
4380
+ "parameters": [
4381
+ {
4382
+ "name": "event",
4383
+ "type": {
4384
+ "text": "KeyboardEvent"
4385
+ },
4386
+ "description": "The keyboard event."
4387
+ }
4388
+ ],
4389
+ "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.",
4390
+ "inheritedFrom": {
4391
+ "name": "Buttonsimple",
4392
+ "module": "components/buttonsimple/buttonsimple.component.js"
4393
+ }
4394
+ }
4395
+ ],
4396
+ "events": [
4397
+ {
4398
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
4399
+ "name": "click",
4400
+ "reactName": "onClick",
4401
+ "inheritedFrom": {
4402
+ "name": "Buttonsimple",
4403
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4404
+ }
4405
+ },
4406
+ {
4407
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
4408
+ "name": "keydown",
4409
+ "reactName": "onKeyDown",
4410
+ "inheritedFrom": {
4411
+ "name": "Buttonsimple",
4412
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4413
+ }
4414
+ },
4415
+ {
4416
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
4417
+ "name": "keyup",
4418
+ "reactName": "onKeyUp",
4419
+ "inheritedFrom": {
4420
+ "name": "Buttonsimple",
4421
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4422
+ }
4423
+ },
4424
+ {
4425
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
4426
+ "name": "focus",
4427
+ "reactName": "onFocus",
4428
+ "inheritedFrom": {
4429
+ "name": "Buttonsimple",
4430
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4431
+ }
4432
+ }
4433
+ ],
4434
+ "mixins": [
4435
+ {
4436
+ "name": "CardComponentMixin",
4437
+ "module": "/src/utils/mixins/CardComponentMixin"
4438
+ }
4439
+ ],
4440
+ "superclass": {
4441
+ "name": "Buttonsimple",
4442
+ "module": "/src/components/buttonsimple/buttonsimple.component"
4443
+ },
4444
+ "tagName": "mdc-cardbutton",
4445
+ "jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @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 *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
4446
+ "customElement": true,
4447
+ "attributes": [
4448
+ {
4449
+ "name": "card-title",
4450
+ "type": {
4451
+ "text": "string"
4452
+ },
4453
+ "default": "''",
4454
+ "description": "The title of the card - part of header section",
4455
+ "fieldName": "cardTitle",
4456
+ "inheritedFrom": {
4457
+ "name": "CardComponentMixin",
4458
+ "module": "src/utils/mixins/CardComponentMixin.ts"
4459
+ }
4460
+ },
4461
+ {
4462
+ "name": "subtitle",
4463
+ "type": {
4464
+ "text": "string"
4465
+ },
4466
+ "default": "''",
4467
+ "description": "The subtitle of the card - part of header section",
4468
+ "fieldName": "subtitle",
4469
+ "inheritedFrom": {
4470
+ "name": "CardComponentMixin",
4471
+ "module": "src/utils/mixins/CardComponentMixin.ts"
4472
+ }
4473
+ },
4474
+ {
4475
+ "name": "image-src",
4476
+ "type": {
4477
+ "text": "string"
4478
+ },
4479
+ "default": "''",
4480
+ "description": "The image source URL to render on the card",
4481
+ "fieldName": "imageSrc",
4482
+ "inheritedFrom": {
4483
+ "name": "CardComponentMixin",
4484
+ "module": "src/utils/mixins/CardComponentMixin.ts"
4485
+ }
4486
+ },
4487
+ {
4488
+ "name": "image-alt",
4489
+ "type": {
4490
+ "text": "string"
4491
+ },
4492
+ "default": "''",
4493
+ "description": "The image alt for accessibility support",
4494
+ "fieldName": "imageAlt",
4495
+ "inheritedFrom": {
4496
+ "name": "CardComponentMixin",
4497
+ "module": "src/utils/mixins/CardComponentMixin.ts"
4498
+ }
4499
+ },
4500
+ {
4501
+ "name": "variant",
4502
+ "type": {
4503
+ "text": "CardVariant"
4504
+ },
4505
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
4506
+ "default": "'border'",
4507
+ "fieldName": "variant",
4508
+ "inheritedFrom": {
4509
+ "name": "CardComponentMixin",
4510
+ "module": "src/utils/mixins/CardComponentMixin.ts"
4511
+ }
4512
+ },
4513
+ {
4514
+ "name": "orientation",
4515
+ "type": {
4516
+ "text": "CardOrientation"
4517
+ },
4518
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
4519
+ "default": "'vertical'",
4520
+ "fieldName": "orientation",
4521
+ "inheritedFrom": {
4522
+ "name": "CardComponentMixin",
4523
+ "module": "src/utils/mixins/CardComponentMixin.ts"
4524
+ }
4525
+ },
4526
+ {
4527
+ "name": "title-tag-name",
4528
+ "type": {
4529
+ "text": "TagNameType"
4530
+ },
4531
+ "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
4532
+ "default": "'span'",
4533
+ "fieldName": "titleTagName",
4534
+ "inheritedFrom": {
4535
+ "name": "CardComponentMixin",
4536
+ "module": "src/utils/mixins/CardComponentMixin.ts"
4537
+ }
4538
+ },
4539
+ {
4540
+ "name": "subtitle-tag-name",
4541
+ "type": {
4542
+ "text": "TagNameType"
4543
+ },
4544
+ "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
4545
+ "default": "'span'",
4546
+ "fieldName": "subtitleTagName",
4547
+ "inheritedFrom": {
4548
+ "name": "CardComponentMixin",
4549
+ "module": "src/utils/mixins/CardComponentMixin.ts"
4550
+ }
4551
+ },
4552
+ {
4553
+ "name": "icon-name",
4554
+ "type": {
4555
+ "text": "IconNames | undefined"
4556
+ },
4557
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
4558
+ "fieldName": "iconName",
4559
+ "inheritedFrom": {
4560
+ "name": "CardComponentMixin",
4561
+ "module": "src/utils/mixins/CardComponentMixin.ts"
4562
+ }
4563
+ },
4564
+ {
4565
+ "name": "tabIndex",
4566
+ "type": {
4567
+ "text": "number"
4568
+ },
4569
+ "default": "0",
4570
+ "description": "This property specifies the tab order of the element.",
4571
+ "fieldName": "tabIndex",
4572
+ "inheritedFrom": {
4573
+ "name": "Buttonsimple",
4574
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4575
+ }
4576
+ },
4577
+ {
4578
+ "name": "disabled",
4579
+ "type": {
4580
+ "text": "boolean | undefined"
4581
+ },
4582
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4583
+ "default": "undefined",
4584
+ "fieldName": "disabled",
4585
+ "inheritedFrom": {
4586
+ "name": "Buttonsimple",
4587
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4588
+ }
4589
+ },
4590
+ {
4591
+ "name": "active",
4592
+ "type": {
4593
+ "text": "boolean | undefined"
4594
+ },
4595
+ "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.",
4596
+ "default": "undefined",
4597
+ "fieldName": "active",
4598
+ "inheritedFrom": {
4599
+ "name": "Buttonsimple",
4600
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4601
+ }
4602
+ },
4603
+ {
4604
+ "name": "soft-disabled",
4605
+ "type": {
4606
+ "text": "boolean | undefined"
4607
+ },
4608
+ "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.",
4609
+ "default": "undefined",
4610
+ "fieldName": "softDisabled",
4611
+ "inheritedFrom": {
4612
+ "name": "Buttonsimple",
4613
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4614
+ }
4615
+ },
4616
+ {
4617
+ "name": "size",
4618
+ "type": {
4619
+ "text": "ButtonSize"
4620
+ },
4621
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4622
+ "default": "32",
4623
+ "fieldName": "size",
4624
+ "inheritedFrom": {
4625
+ "name": "Buttonsimple",
4626
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4627
+ }
4628
+ },
4629
+ {
4630
+ "name": "role",
4631
+ "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.",
4632
+ "default": "button",
4633
+ "fieldName": "role",
4634
+ "inheritedFrom": {
4635
+ "name": "Buttonsimple",
4636
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4637
+ }
4638
+ },
4639
+ {
4640
+ "name": "ariaStateKey",
4641
+ "type": {
4642
+ "text": "string | undefined"
4643
+ },
4644
+ "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`",
4645
+ "default": "'aria-pressed' (when)",
4646
+ "fieldName": "ariaStateKey",
4647
+ "inheritedFrom": {
4648
+ "name": "Buttonsimple",
4649
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4650
+ }
4651
+ },
4652
+ {
4653
+ "name": "type",
4654
+ "type": {
4655
+ "text": "ButtonType"
4656
+ },
4657
+ "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.",
4658
+ "default": "button",
4659
+ "fieldName": "type",
4660
+ "inheritedFrom": {
4661
+ "name": "Buttonsimple",
4662
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
4663
+ }
4664
+ }
4665
+ ]
4666
+ }
4667
+ ],
4668
+ "exports": [
4669
+ {
4670
+ "kind": "js",
4671
+ "name": "default",
4672
+ "declaration": {
4673
+ "name": "CardButton",
4674
+ "module": "components/cardbutton/cardbutton.component.js"
4675
+ }
4676
+ }
4677
+ ]
4678
+ },
4679
+ {
4680
+ "kind": "javascript-module",
4681
+ "path": "components/cardcheckbox/cardcheckbox.component.js",
4682
+ "declarations": [
4683
+ {
4684
+ "kind": "class",
4685
+ "description": "cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\nThis card would have events for selected and unselected (similar to checkbox)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
4686
+ "name": "CardCheckbox",
4687
+ "slots": [
4688
+ {
4689
+ "description": "This slot is for passing the content before the body",
4690
+ "name": "before-body",
4691
+ "inheritedFrom": {
4692
+ "name": "Card",
4693
+ "module": "src/components/card/card.component.ts"
4694
+ }
4695
+ },
4696
+ {
4697
+ "description": "This slot is for passing the text content for the card",
4698
+ "name": "body",
4699
+ "inheritedFrom": {
4700
+ "name": "Card",
4701
+ "module": "src/components/card/card.component.ts"
4702
+ }
4703
+ },
4704
+ {
4705
+ "description": "This slot is for passing the content after the body",
4706
+ "name": "after-body",
4707
+ "inheritedFrom": {
4708
+ "name": "Card",
4709
+ "module": "src/components/card/card.component.ts"
4710
+ }
4711
+ },
4712
+ {
4713
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
4714
+ "name": "footer-link",
4715
+ "inheritedFrom": {
4716
+ "name": "Card",
4717
+ "module": "src/components/card/card.component.ts"
4718
+ }
4719
+ },
4720
+ {
4721
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
4722
+ "name": "footer-button-primary",
4723
+ "inheritedFrom": {
4724
+ "name": "Card",
4725
+ "module": "src/components/card/card.component.ts"
4726
+ }
4727
+ },
4728
+ {
4729
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
4730
+ "name": "footer-button-secondary",
4731
+ "inheritedFrom": {
4732
+ "name": "Card",
4733
+ "module": "src/components/card/card.component.ts"
4734
+ }
4735
+ }
4736
+ ],
4737
+ "members": [
4738
+ {
4739
+ "kind": "field",
4740
+ "name": "checked",
4741
+ "type": {
4742
+ "text": "boolean"
4743
+ },
4744
+ "default": "false",
4745
+ "description": "The checked state of the card",
4746
+ "attribute": "checked",
4747
+ "reflects": true
4748
+ },
4749
+ {
4750
+ "kind": "field",
4751
+ "name": "selectionType",
4752
+ "type": {
4753
+ "text": "SelectionType"
4754
+ },
4755
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
4756
+ "default": "'check'",
4757
+ "attribute": "selection-type"
4758
+ },
4759
+ {
4760
+ "kind": "method",
4761
+ "name": "toggleChecked",
4762
+ "privacy": "private",
4763
+ "description": "Toggles the checked state"
4764
+ },
4765
+ {
4766
+ "kind": "method",
4767
+ "name": "toggleOnEnter",
4768
+ "privacy": "private",
4769
+ "parameters": [
4770
+ {
4771
+ "name": "event",
4772
+ "type": {
4773
+ "text": "KeyboardEvent"
4774
+ },
4775
+ "description": "The keyboard event"
4776
+ }
4777
+ ],
4778
+ "description": "Toggles the checked state when enter key is used"
4779
+ },
4780
+ {
4781
+ "kind": "method",
4782
+ "name": "toggleOnSpace",
4783
+ "privacy": "private",
4784
+ "parameters": [
4785
+ {
4786
+ "name": "event",
4787
+ "type": {
4788
+ "text": "KeyboardEvent"
4789
+ },
4790
+ "description": "The keyboard event"
4791
+ }
4792
+ ],
4793
+ "description": "Toggles the checked state when space key is used"
4794
+ },
4795
+ {
4796
+ "kind": "method",
4797
+ "name": "renderSelection",
4798
+ "privacy": "private",
4799
+ "description": "Renders the selection icon or checkbox based on the selection type",
4800
+ "return": {
4801
+ "type": {
4802
+ "text": ""
4803
+ }
4804
+ }
4805
+ },
4806
+ {
4807
+ "kind": "method",
4808
+ "name": "renderHeader",
4809
+ "privacy": "protected",
4810
+ "description": "Renders the header of the card",
4811
+ "return": {
4812
+ "type": {
4813
+ "text": ""
4814
+ }
4815
+ },
4816
+ "inheritedFrom": {
4817
+ "name": "Card",
4818
+ "module": "components/card/card.component.js"
4819
+ }
4820
+ },
4821
+ {
4822
+ "kind": "field",
4823
+ "name": "disabled",
4824
+ "type": {
4825
+ "text": "boolean | undefined"
4826
+ },
4827
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
4828
+ "default": "undefined",
4829
+ "attribute": "disabled",
4830
+ "reflects": true,
4831
+ "inheritedFrom": {
4832
+ "name": "DisabledMixin",
4833
+ "module": "utils/mixins/DisabledMixin.js"
4834
+ }
4835
+ },
4836
+ {
4837
+ "kind": "field",
4838
+ "name": "tabIndex",
4839
+ "type": {
4840
+ "text": "number"
4841
+ },
4842
+ "default": "0",
4843
+ "description": "This property specifies the tab order of the element.",
4844
+ "attribute": "tabIndex",
4845
+ "reflects": true,
4846
+ "inheritedFrom": {
4847
+ "name": "TabIndexMixin",
4848
+ "module": "utils/mixins/TabIndexMixin.js"
4849
+ }
4850
+ },
4851
+ {
4852
+ "kind": "field",
4853
+ "name": "cardTitle",
4854
+ "type": {
4855
+ "text": "string"
4856
+ },
4857
+ "default": "''",
4858
+ "description": "The title of the card - part of header section",
4859
+ "attribute": "card-title",
4860
+ "inheritedFrom": {
4861
+ "name": "Card",
4862
+ "module": "components/card/card.component.js"
4863
+ }
4864
+ },
4865
+ {
4866
+ "kind": "field",
4867
+ "name": "subtitle",
4868
+ "type": {
4869
+ "text": "string"
4870
+ },
4871
+ "default": "''",
4872
+ "description": "The subtitle of the card - part of header section",
4873
+ "attribute": "subtitle",
4874
+ "inheritedFrom": {
4875
+ "name": "Card",
4876
+ "module": "components/card/card.component.js"
4877
+ }
4878
+ },
4879
+ {
4880
+ "kind": "field",
4881
+ "name": "imageSrc",
4882
+ "type": {
4883
+ "text": "string"
4884
+ },
4885
+ "default": "''",
4886
+ "description": "The image source URL to render on the card",
4887
+ "attribute": "image-src",
4888
+ "inheritedFrom": {
4889
+ "name": "Card",
4890
+ "module": "components/card/card.component.js"
4891
+ }
4892
+ },
4893
+ {
4894
+ "kind": "field",
4895
+ "name": "imageAlt",
4896
+ "type": {
4897
+ "text": "string"
4898
+ },
4899
+ "default": "''",
4900
+ "description": "The image alt for accessibility support",
4901
+ "attribute": "image-alt",
4902
+ "inheritedFrom": {
4903
+ "name": "Card",
4904
+ "module": "components/card/card.component.js"
4905
+ }
4906
+ },
4907
+ {
4908
+ "kind": "field",
4909
+ "name": "variant",
4910
+ "type": {
4911
+ "text": "CardVariant"
4912
+ },
4913
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
4914
+ "default": "'border'",
4915
+ "attribute": "variant",
4916
+ "inheritedFrom": {
4917
+ "name": "Card",
4918
+ "module": "components/card/card.component.js"
4919
+ }
4920
+ },
4921
+ {
4922
+ "kind": "field",
4923
+ "name": "orientation",
4924
+ "type": {
4925
+ "text": "CardOrientation"
4926
+ },
4927
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
4928
+ "default": "'vertical'",
4929
+ "attribute": "orientation",
4930
+ "reflects": true,
4931
+ "inheritedFrom": {
4932
+ "name": "Card",
4933
+ "module": "components/card/card.component.js"
4934
+ }
4935
+ },
4936
+ {
4937
+ "kind": "field",
4938
+ "name": "titleTagName",
4939
+ "type": {
4940
+ "text": "TagNameType"
4941
+ },
4942
+ "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
4943
+ "default": "'span'",
4944
+ "attribute": "title-tag-name",
4945
+ "inheritedFrom": {
4946
+ "name": "Card",
4947
+ "module": "components/card/card.component.js"
4948
+ }
4949
+ },
4950
+ {
4951
+ "kind": "field",
4952
+ "name": "subtitleTagName",
4953
+ "type": {
4954
+ "text": "TagNameType"
4955
+ },
4956
+ "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
4957
+ "default": "'span'",
4958
+ "attribute": "subtitle-tag-name",
4959
+ "inheritedFrom": {
4960
+ "name": "Card",
4961
+ "module": "components/card/card.component.js"
4962
+ }
4963
+ },
4964
+ {
4965
+ "kind": "field",
4966
+ "name": "iconName",
4967
+ "type": {
4968
+ "text": "IconNames | undefined"
4969
+ },
4970
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
4971
+ "attribute": "icon-name",
4972
+ "inheritedFrom": {
4973
+ "name": "Card",
4974
+ "module": "components/card/card.component.js"
4975
+ }
4976
+ },
4977
+ {
4978
+ "kind": "method",
4979
+ "name": "renderImage",
4980
+ "description": "Renders the image on the card if image source is provided",
4981
+ "return": {
4982
+ "type": {
4983
+ "text": ""
4984
+ }
4985
+ },
4986
+ "inheritedFrom": {
4987
+ "name": "Card",
4988
+ "module": "components/card/card.component.js"
4989
+ }
4990
+ },
4991
+ {
4992
+ "kind": "method",
4993
+ "name": "renderIcon",
4994
+ "description": "Renders the icon on the card if icon name is provided",
4995
+ "return": {
4996
+ "type": {
4997
+ "text": ""
4998
+ }
4999
+ },
5000
+ "inheritedFrom": {
5001
+ "name": "Card",
5002
+ "module": "components/card/card.component.js"
5003
+ }
5004
+ },
5005
+ {
5006
+ "kind": "method",
5007
+ "name": "renderTitle",
5008
+ "description": "Renders the title and subtitle on the card",
5009
+ "return": {
5010
+ "type": {
5011
+ "text": ""
5012
+ }
5013
+ },
5014
+ "inheritedFrom": {
5015
+ "name": "Card",
5016
+ "module": "components/card/card.component.js"
5017
+ }
5018
+ }
5019
+ ],
5020
+ "events": [
3253
5021
  {
3254
- "kind": "field",
3255
- "name": "role",
3256
- "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.",
3257
- "default": "button",
3258
- "attribute": "role",
3259
- "reflects": true
5022
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
5023
+ "name": "click",
5024
+ "reactName": "onClick"
3260
5025
  },
3261
5026
  {
3262
- "kind": "field",
3263
- "name": "ariaStateKey",
5027
+ "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.",
5028
+ "name": "keydown",
5029
+ "reactName": "onKeyDown"
5030
+ },
5031
+ {
5032
+ "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.",
5033
+ "name": "keyup",
5034
+ "reactName": "onKeyUp"
5035
+ },
5036
+ {
5037
+ "description": "(React: onChange) Event that gets dispatched when the card state changes.",
5038
+ "name": "change",
5039
+ "reactName": "onChange"
5040
+ },
5041
+ {
5042
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
5043
+ "name": "focus",
5044
+ "reactName": "onFocus"
5045
+ }
5046
+ ],
5047
+ "attributes": [
5048
+ {
5049
+ "name": "checked",
3264
5050
  "type": {
3265
- "text": "string | undefined"
5051
+ "text": "boolean"
3266
5052
  },
3267
- "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`",
3268
- "default": "'aria-pressed' (when)",
3269
- "attribute": "ariaStateKey",
3270
- "reflects": true
5053
+ "default": "false",
5054
+ "description": "The checked state of the card",
5055
+ "fieldName": "checked"
3271
5056
  },
3272
5057
  {
3273
- "kind": "field",
3274
- "name": "type",
5058
+ "name": "selection-type",
3275
5059
  "type": {
3276
- "text": "ButtonType"
5060
+ "text": "SelectionType"
3277
5061
  },
3278
- "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.",
3279
- "default": "button",
3280
- "attribute": "type",
3281
- "reflects": true
5062
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
5063
+ "default": "'check'",
5064
+ "fieldName": "selectionType"
3282
5065
  },
3283
5066
  {
3284
- "kind": "method",
3285
- "name": "executeAction",
3286
- "privacy": "protected"
5067
+ "name": "disabled",
5068
+ "type": {
5069
+ "text": "boolean | undefined"
5070
+ },
5071
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5072
+ "default": "undefined",
5073
+ "fieldName": "disabled",
5074
+ "inheritedFrom": {
5075
+ "name": "DisabledMixin",
5076
+ "module": "src/utils/mixins/DisabledMixin.ts"
5077
+ }
3287
5078
  },
3288
5079
  {
3289
- "kind": "method",
3290
- "name": "setActive",
3291
- "privacy": "protected",
3292
- "parameters": [
3293
- {
3294
- "name": "element",
3295
- "type": {
3296
- "text": "HTMLElement"
3297
- },
3298
- "description": "The button element"
3299
- },
3300
- {
3301
- "name": "active",
3302
- "optional": true,
3303
- "type": {
3304
- "text": "boolean"
3305
- },
3306
- "description": "The active state of the element"
3307
- }
3308
- ],
3309
- "description": "Sets the ariaStateKey attributes based on the active state of the button."
5080
+ "name": "tabIndex",
5081
+ "type": {
5082
+ "text": "number"
5083
+ },
5084
+ "default": "0",
5085
+ "description": "This property specifies the tab order of the element.",
5086
+ "fieldName": "tabIndex",
5087
+ "inheritedFrom": {
5088
+ "name": "TabIndexMixin",
5089
+ "module": "src/utils/mixins/TabIndexMixin.ts"
5090
+ }
3310
5091
  },
3311
5092
  {
3312
- "kind": "method",
3313
- "name": "setSoftDisabled",
3314
- "privacy": "private",
3315
- "parameters": [
3316
- {
3317
- "name": "element",
3318
- "type": {
3319
- "text": "HTMLElement"
3320
- },
3321
- "description": "The button element."
3322
- },
3323
- {
3324
- "name": "softDisabled",
3325
- "optional": true,
3326
- "type": {
3327
- "text": "boolean"
3328
- },
3329
- "description": "The soft-disabled state."
3330
- }
3331
- ],
3332
- "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."
5093
+ "name": "card-title",
5094
+ "type": {
5095
+ "text": "string"
5096
+ },
5097
+ "default": "''",
5098
+ "description": "The title of the card - part of header section",
5099
+ "fieldName": "cardTitle",
5100
+ "inheritedFrom": {
5101
+ "name": "Card",
5102
+ "module": "src/components/card/card.component.ts"
5103
+ }
3333
5104
  },
3334
5105
  {
3335
- "kind": "method",
3336
- "name": "setDisabled",
3337
- "privacy": "private",
3338
- "parameters": [
3339
- {
3340
- "name": "element",
3341
- "type": {
3342
- "text": "HTMLElement"
3343
- },
3344
- "description": "The button element."
3345
- },
3346
- {
3347
- "name": "disabled",
3348
- "type": {
3349
- "text": "boolean"
3350
- },
3351
- "description": "The disabled state."
3352
- }
3353
- ],
3354
- "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."
5106
+ "name": "subtitle",
5107
+ "type": {
5108
+ "text": "string"
5109
+ },
5110
+ "default": "''",
5111
+ "description": "The subtitle of the card - part of header section",
5112
+ "fieldName": "subtitle",
5113
+ "inheritedFrom": {
5114
+ "name": "Card",
5115
+ "module": "src/components/card/card.component.ts"
5116
+ }
5117
+ },
5118
+ {
5119
+ "name": "image-src",
5120
+ "type": {
5121
+ "text": "string"
5122
+ },
5123
+ "default": "''",
5124
+ "description": "The image source URL to render on the card",
5125
+ "fieldName": "imageSrc",
5126
+ "inheritedFrom": {
5127
+ "name": "Card",
5128
+ "module": "src/components/card/card.component.ts"
5129
+ }
5130
+ },
5131
+ {
5132
+ "name": "image-alt",
5133
+ "type": {
5134
+ "text": "string"
5135
+ },
5136
+ "default": "''",
5137
+ "description": "The image alt for accessibility support",
5138
+ "fieldName": "imageAlt",
5139
+ "inheritedFrom": {
5140
+ "name": "Card",
5141
+ "module": "src/components/card/card.component.ts"
5142
+ }
5143
+ },
5144
+ {
5145
+ "name": "variant",
5146
+ "type": {
5147
+ "text": "CardVariant"
5148
+ },
5149
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5150
+ "default": "'border'",
5151
+ "fieldName": "variant",
5152
+ "inheritedFrom": {
5153
+ "name": "Card",
5154
+ "module": "src/components/card/card.component.ts"
5155
+ }
5156
+ },
5157
+ {
5158
+ "name": "orientation",
5159
+ "type": {
5160
+ "text": "CardOrientation"
5161
+ },
5162
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5163
+ "default": "'vertical'",
5164
+ "fieldName": "orientation",
5165
+ "inheritedFrom": {
5166
+ "name": "Card",
5167
+ "module": "src/components/card/card.component.ts"
5168
+ }
5169
+ },
5170
+ {
5171
+ "name": "title-tag-name",
5172
+ "type": {
5173
+ "text": "TagNameType"
5174
+ },
5175
+ "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
5176
+ "default": "'span'",
5177
+ "fieldName": "titleTagName",
5178
+ "inheritedFrom": {
5179
+ "name": "Card",
5180
+ "module": "src/components/card/card.component.ts"
5181
+ }
5182
+ },
5183
+ {
5184
+ "name": "subtitle-tag-name",
5185
+ "type": {
5186
+ "text": "TagNameType"
5187
+ },
5188
+ "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
5189
+ "default": "'span'",
5190
+ "fieldName": "subtitleTagName",
5191
+ "inheritedFrom": {
5192
+ "name": "Card",
5193
+ "module": "src/components/card/card.component.ts"
5194
+ }
5195
+ },
5196
+ {
5197
+ "name": "icon-name",
5198
+ "type": {
5199
+ "text": "IconNames | undefined"
5200
+ },
5201
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5202
+ "fieldName": "iconName",
5203
+ "inheritedFrom": {
5204
+ "name": "Card",
5205
+ "module": "src/components/card/card.component.ts"
5206
+ }
5207
+ }
5208
+ ],
5209
+ "mixins": [
5210
+ {
5211
+ "name": "DisabledMixin",
5212
+ "module": "/src/utils/mixins/DisabledMixin"
5213
+ },
5214
+ {
5215
+ "name": "TabIndexMixin",
5216
+ "module": "/src/utils/mixins/TabIndexMixin"
5217
+ }
5218
+ ],
5219
+ "superclass": {
5220
+ "name": "Card",
5221
+ "module": "/src/components/card/card.component"
5222
+ },
5223
+ "tagName": "mdc-cardcheckbox",
5224
+ "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 *\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 */",
5225
+ "customElement": true
5226
+ }
5227
+ ],
5228
+ "exports": [
5229
+ {
5230
+ "kind": "js",
5231
+ "name": "default",
5232
+ "declaration": {
5233
+ "name": "CardCheckbox",
5234
+ "module": "components/cardcheckbox/cardcheckbox.component.js"
5235
+ }
5236
+ }
5237
+ ]
5238
+ },
5239
+ {
5240
+ "kind": "javascript-module",
5241
+ "path": "components/cardradio/cardradio.component.js",
5242
+ "declarations": [
5243
+ {
5244
+ "kind": "class",
5245
+ "description": "cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\nThis 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.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
5246
+ "name": "CardRadio",
5247
+ "slots": [
5248
+ {
5249
+ "description": "This slot is for passing the content before the body",
5250
+ "name": "before-body",
5251
+ "inheritedFrom": {
5252
+ "name": "Card",
5253
+ "module": "src/components/card/card.component.ts"
5254
+ }
5255
+ },
5256
+ {
5257
+ "description": "This slot is for passing the text content for the card",
5258
+ "name": "body",
5259
+ "inheritedFrom": {
5260
+ "name": "Card",
5261
+ "module": "src/components/card/card.component.ts"
5262
+ }
5263
+ },
5264
+ {
5265
+ "description": "This slot is for passing the content after the body",
5266
+ "name": "after-body",
5267
+ "inheritedFrom": {
5268
+ "name": "Card",
5269
+ "module": "src/components/card/card.component.ts"
5270
+ }
5271
+ },
5272
+ {
5273
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
5274
+ "name": "footer-link",
5275
+ "inheritedFrom": {
5276
+ "name": "Card",
5277
+ "module": "src/components/card/card.component.ts"
5278
+ }
5279
+ },
5280
+ {
5281
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
5282
+ "name": "footer-button-primary",
5283
+ "inheritedFrom": {
5284
+ "name": "Card",
5285
+ "module": "src/components/card/card.component.ts"
5286
+ }
5287
+ },
5288
+ {
5289
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
5290
+ "name": "footer-button-secondary",
5291
+ "inheritedFrom": {
5292
+ "name": "Card",
5293
+ "module": "src/components/card/card.component.ts"
5294
+ }
5295
+ }
5296
+ ],
5297
+ "members": [
5298
+ {
5299
+ "kind": "field",
5300
+ "name": "checked",
5301
+ "type": {
5302
+ "text": "boolean"
5303
+ },
5304
+ "default": "false",
5305
+ "description": "The checked state of the card",
5306
+ "attribute": "checked",
5307
+ "reflects": true
5308
+ },
5309
+ {
5310
+ "kind": "field",
5311
+ "name": "name",
5312
+ "type": {
5313
+ "text": "string"
5314
+ },
5315
+ "default": "''",
5316
+ "description": "The name of the radio.",
5317
+ "attribute": "name"
3355
5318
  },
3356
5319
  {
3357
5320
  "kind": "method",
3358
- "name": "triggerClickEvent",
3359
- "privacy": "private"
5321
+ "name": "getAllCardsWithinSameGroup",
5322
+ "privacy": "private",
5323
+ "return": {
5324
+ "type": {
5325
+ "text": "CardRadio[]"
5326
+ }
5327
+ },
5328
+ "description": "Returns all cards within the same group (name)."
3360
5329
  },
3361
5330
  {
3362
5331
  "kind": "method",
3363
- "name": "handleBlur",
5332
+ "name": "toggleChecked",
3364
5333
  "privacy": "private",
3365
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
5334
+ "return": {
5335
+ "type": {
5336
+ "text": "void"
5337
+ }
5338
+ },
5339
+ "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
3366
5340
  },
3367
5341
  {
3368
5342
  "kind": "method",
3369
- "name": "handleKeyDown",
5343
+ "name": "toggleOnEnter",
3370
5344
  "privacy": "private",
3371
5345
  "parameters": [
3372
5346
  {
@@ -3374,14 +5348,14 @@
3374
5348
  "type": {
3375
5349
  "text": "KeyboardEvent"
3376
5350
  },
3377
- "description": "The keyboard event."
5351
+ "description": "The keyboard event"
3378
5352
  }
3379
5353
  ],
3380
- "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."
5354
+ "description": "Toggles the checked state when enter key is used"
3381
5355
  },
3382
5356
  {
3383
5357
  "kind": "method",
3384
- "name": "handleKeyUp",
5358
+ "name": "toggleOnSpace",
3385
5359
  "privacy": "private",
3386
5360
  "parameters": [
3387
5361
  {
@@ -3389,10 +5363,40 @@
3389
5363
  "type": {
3390
5364
  "text": "KeyboardEvent"
3391
5365
  },
3392
- "description": "The keyboard event."
5366
+ "description": "The keyboard event"
3393
5367
  }
3394
5368
  ],
3395
- "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."
5369
+ "description": "Toggles the checked state when space key is used"
5370
+ },
5371
+ {
5372
+ "kind": "method",
5373
+ "name": "renderHeader",
5374
+ "privacy": "protected",
5375
+ "description": "Renders the header of the card",
5376
+ "return": {
5377
+ "type": {
5378
+ "text": ""
5379
+ }
5380
+ },
5381
+ "inheritedFrom": {
5382
+ "name": "Card",
5383
+ "module": "components/card/card.component.js"
5384
+ }
5385
+ },
5386
+ {
5387
+ "kind": "field",
5388
+ "name": "disabled",
5389
+ "type": {
5390
+ "text": "boolean | undefined"
5391
+ },
5392
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5393
+ "default": "undefined",
5394
+ "attribute": "disabled",
5395
+ "reflects": true,
5396
+ "inheritedFrom": {
5397
+ "name": "DisabledMixin",
5398
+ "module": "utils/mixins/DisabledMixin.js"
5399
+ }
3396
5400
  },
3397
5401
  {
3398
5402
  "kind": "field",
@@ -3411,137 +5415,378 @@
3411
5415
  },
3412
5416
  {
3413
5417
  "kind": "field",
3414
- "name": "disabled",
5418
+ "name": "cardTitle",
3415
5419
  "type": {
3416
- "text": "boolean | undefined"
5420
+ "text": "string"
3417
5421
  },
3418
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3419
- "default": "undefined",
3420
- "attribute": "disabled",
5422
+ "default": "''",
5423
+ "description": "The title of the card - part of header section",
5424
+ "attribute": "card-title",
5425
+ "inheritedFrom": {
5426
+ "name": "Card",
5427
+ "module": "components/card/card.component.js"
5428
+ }
5429
+ },
5430
+ {
5431
+ "kind": "field",
5432
+ "name": "subtitle",
5433
+ "type": {
5434
+ "text": "string"
5435
+ },
5436
+ "default": "''",
5437
+ "description": "The subtitle of the card - part of header section",
5438
+ "attribute": "subtitle",
5439
+ "inheritedFrom": {
5440
+ "name": "Card",
5441
+ "module": "components/card/card.component.js"
5442
+ }
5443
+ },
5444
+ {
5445
+ "kind": "field",
5446
+ "name": "imageSrc",
5447
+ "type": {
5448
+ "text": "string"
5449
+ },
5450
+ "default": "''",
5451
+ "description": "The image source URL to render on the card",
5452
+ "attribute": "image-src",
5453
+ "inheritedFrom": {
5454
+ "name": "Card",
5455
+ "module": "components/card/card.component.js"
5456
+ }
5457
+ },
5458
+ {
5459
+ "kind": "field",
5460
+ "name": "imageAlt",
5461
+ "type": {
5462
+ "text": "string"
5463
+ },
5464
+ "default": "''",
5465
+ "description": "The image alt for accessibility support",
5466
+ "attribute": "image-alt",
5467
+ "inheritedFrom": {
5468
+ "name": "Card",
5469
+ "module": "components/card/card.component.js"
5470
+ }
5471
+ },
5472
+ {
5473
+ "kind": "field",
5474
+ "name": "variant",
5475
+ "type": {
5476
+ "text": "CardVariant"
5477
+ },
5478
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5479
+ "default": "'border'",
5480
+ "attribute": "variant",
5481
+ "inheritedFrom": {
5482
+ "name": "Card",
5483
+ "module": "components/card/card.component.js"
5484
+ }
5485
+ },
5486
+ {
5487
+ "kind": "field",
5488
+ "name": "orientation",
5489
+ "type": {
5490
+ "text": "CardOrientation"
5491
+ },
5492
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5493
+ "default": "'vertical'",
5494
+ "attribute": "orientation",
3421
5495
  "reflects": true,
3422
5496
  "inheritedFrom": {
3423
- "name": "DisabledMixin",
3424
- "module": "utils/mixins/DisabledMixin.js"
5497
+ "name": "Card",
5498
+ "module": "components/card/card.component.js"
5499
+ }
5500
+ },
5501
+ {
5502
+ "kind": "field",
5503
+ "name": "titleTagName",
5504
+ "type": {
5505
+ "text": "TagNameType"
5506
+ },
5507
+ "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
5508
+ "default": "'span'",
5509
+ "attribute": "title-tag-name",
5510
+ "inheritedFrom": {
5511
+ "name": "Card",
5512
+ "module": "components/card/card.component.js"
5513
+ }
5514
+ },
5515
+ {
5516
+ "kind": "field",
5517
+ "name": "subtitleTagName",
5518
+ "type": {
5519
+ "text": "TagNameType"
5520
+ },
5521
+ "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
5522
+ "default": "'span'",
5523
+ "attribute": "subtitle-tag-name",
5524
+ "inheritedFrom": {
5525
+ "name": "Card",
5526
+ "module": "components/card/card.component.js"
5527
+ }
5528
+ },
5529
+ {
5530
+ "kind": "field",
5531
+ "name": "iconName",
5532
+ "type": {
5533
+ "text": "IconNames | undefined"
5534
+ },
5535
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5536
+ "attribute": "icon-name",
5537
+ "inheritedFrom": {
5538
+ "name": "Card",
5539
+ "module": "components/card/card.component.js"
5540
+ }
5541
+ },
5542
+ {
5543
+ "kind": "method",
5544
+ "name": "renderImage",
5545
+ "description": "Renders the image on the card if image source is provided",
5546
+ "return": {
5547
+ "type": {
5548
+ "text": ""
5549
+ }
5550
+ },
5551
+ "inheritedFrom": {
5552
+ "name": "Card",
5553
+ "module": "components/card/card.component.js"
5554
+ }
5555
+ },
5556
+ {
5557
+ "kind": "method",
5558
+ "name": "renderIcon",
5559
+ "description": "Renders the icon on the card if icon name is provided",
5560
+ "return": {
5561
+ "type": {
5562
+ "text": ""
5563
+ }
5564
+ },
5565
+ "inheritedFrom": {
5566
+ "name": "Card",
5567
+ "module": "components/card/card.component.js"
5568
+ }
5569
+ },
5570
+ {
5571
+ "kind": "method",
5572
+ "name": "renderTitle",
5573
+ "description": "Renders the title and subtitle on the card",
5574
+ "return": {
5575
+ "type": {
5576
+ "text": ""
5577
+ }
5578
+ },
5579
+ "inheritedFrom": {
5580
+ "name": "Card",
5581
+ "module": "components/card/card.component.js"
3425
5582
  }
3426
5583
  }
3427
5584
  ],
3428
5585
  "events": [
3429
5586
  {
3430
- "description": "(React: onClick) This event is dispatched when the button is clicked.",
5587
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
3431
5588
  "name": "click",
3432
5589
  "reactName": "onClick"
3433
5590
  },
3434
5591
  {
3435
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
5592
+ "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.",
3436
5593
  "name": "keydown",
3437
5594
  "reactName": "onKeyDown"
3438
5595
  },
3439
5596
  {
3440
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
5597
+ "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.",
3441
5598
  "name": "keyup",
3442
5599
  "reactName": "onKeyUp"
3443
5600
  },
3444
5601
  {
3445
- "description": "(React: onFocus) This event is dispatched when the button receives focus.",
5602
+ "description": "(React: onChange) Event that gets dispatched when the card state changes.",
5603
+ "name": "change",
5604
+ "reactName": "onChange"
5605
+ },
5606
+ {
5607
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
3446
5608
  "name": "focus",
3447
5609
  "reactName": "onFocus"
3448
5610
  }
3449
5611
  ],
3450
5612
  "attributes": [
3451
5613
  {
3452
- "name": "active",
5614
+ "name": "checked",
3453
5615
  "type": {
3454
- "text": "boolean | undefined"
5616
+ "text": "boolean"
3455
5617
  },
3456
- "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.",
3457
- "default": "undefined",
3458
- "fieldName": "active"
5618
+ "default": "false",
5619
+ "description": "The checked state of the card",
5620
+ "fieldName": "checked"
3459
5621
  },
3460
5622
  {
3461
- "name": "soft-disabled",
5623
+ "name": "name",
5624
+ "type": {
5625
+ "text": "string"
5626
+ },
5627
+ "default": "''",
5628
+ "description": "The name of the radio.",
5629
+ "fieldName": "name"
5630
+ },
5631
+ {
5632
+ "name": "disabled",
3462
5633
  "type": {
3463
5634
  "text": "boolean | undefined"
3464
5635
  },
3465
- "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.",
5636
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3466
5637
  "default": "undefined",
3467
- "fieldName": "softDisabled"
5638
+ "fieldName": "disabled",
5639
+ "inheritedFrom": {
5640
+ "name": "DisabledMixin",
5641
+ "module": "src/utils/mixins/DisabledMixin.ts"
5642
+ }
3468
5643
  },
3469
5644
  {
3470
- "name": "size",
5645
+ "name": "tabIndex",
3471
5646
  "type": {
3472
- "text": "ButtonSize"
5647
+ "text": "number"
3473
5648
  },
3474
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
3475
- "default": "32",
3476
- "fieldName": "size"
5649
+ "default": "0",
5650
+ "description": "This property specifies the tab order of the element.",
5651
+ "fieldName": "tabIndex",
5652
+ "inheritedFrom": {
5653
+ "name": "TabIndexMixin",
5654
+ "module": "src/utils/mixins/TabIndexMixin.ts"
5655
+ }
3477
5656
  },
3478
5657
  {
3479
- "name": "role",
3480
- "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.",
3481
- "default": "button",
3482
- "fieldName": "role"
5658
+ "name": "card-title",
5659
+ "type": {
5660
+ "text": "string"
5661
+ },
5662
+ "default": "''",
5663
+ "description": "The title of the card - part of header section",
5664
+ "fieldName": "cardTitle",
5665
+ "inheritedFrom": {
5666
+ "name": "Card",
5667
+ "module": "src/components/card/card.component.ts"
5668
+ }
5669
+ },
5670
+ {
5671
+ "name": "subtitle",
5672
+ "type": {
5673
+ "text": "string"
5674
+ },
5675
+ "default": "''",
5676
+ "description": "The subtitle of the card - part of header section",
5677
+ "fieldName": "subtitle",
5678
+ "inheritedFrom": {
5679
+ "name": "Card",
5680
+ "module": "src/components/card/card.component.ts"
5681
+ }
5682
+ },
5683
+ {
5684
+ "name": "image-src",
5685
+ "type": {
5686
+ "text": "string"
5687
+ },
5688
+ "default": "''",
5689
+ "description": "The image source URL to render on the card",
5690
+ "fieldName": "imageSrc",
5691
+ "inheritedFrom": {
5692
+ "name": "Card",
5693
+ "module": "src/components/card/card.component.ts"
5694
+ }
5695
+ },
5696
+ {
5697
+ "name": "image-alt",
5698
+ "type": {
5699
+ "text": "string"
5700
+ },
5701
+ "default": "''",
5702
+ "description": "The image alt for accessibility support",
5703
+ "fieldName": "imageAlt",
5704
+ "inheritedFrom": {
5705
+ "name": "Card",
5706
+ "module": "src/components/card/card.component.ts"
5707
+ }
3483
5708
  },
3484
5709
  {
3485
- "name": "ariaStateKey",
5710
+ "name": "variant",
3486
5711
  "type": {
3487
- "text": "string | undefined"
5712
+ "text": "CardVariant"
3488
5713
  },
3489
- "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`",
3490
- "default": "'aria-pressed' (when)",
3491
- "fieldName": "ariaStateKey"
5714
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5715
+ "default": "'border'",
5716
+ "fieldName": "variant",
5717
+ "inheritedFrom": {
5718
+ "name": "Card",
5719
+ "module": "src/components/card/card.component.ts"
5720
+ }
3492
5721
  },
3493
5722
  {
3494
- "name": "type",
5723
+ "name": "orientation",
3495
5724
  "type": {
3496
- "text": "ButtonType"
5725
+ "text": "CardOrientation"
3497
5726
  },
3498
- "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.",
3499
- "default": "button",
3500
- "fieldName": "type"
5727
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5728
+ "default": "'vertical'",
5729
+ "fieldName": "orientation",
5730
+ "inheritedFrom": {
5731
+ "name": "Card",
5732
+ "module": "src/components/card/card.component.ts"
5733
+ }
3501
5734
  },
3502
5735
  {
3503
- "name": "tabIndex",
5736
+ "name": "title-tag-name",
3504
5737
  "type": {
3505
- "text": "number"
5738
+ "text": "TagNameType"
3506
5739
  },
3507
- "default": "0",
3508
- "description": "This property specifies the tab order of the element.",
3509
- "fieldName": "tabIndex",
5740
+ "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
5741
+ "default": "'span'",
5742
+ "fieldName": "titleTagName",
3510
5743
  "inheritedFrom": {
3511
- "name": "TabIndexMixin",
3512
- "module": "src/utils/mixins/TabIndexMixin.ts"
5744
+ "name": "Card",
5745
+ "module": "src/components/card/card.component.ts"
3513
5746
  }
3514
5747
  },
3515
5748
  {
3516
- "name": "disabled",
5749
+ "name": "subtitle-tag-name",
3517
5750
  "type": {
3518
- "text": "boolean | undefined"
5751
+ "text": "TagNameType"
3519
5752
  },
3520
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3521
- "default": "undefined",
3522
- "fieldName": "disabled",
5753
+ "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
5754
+ "default": "'span'",
5755
+ "fieldName": "subtitleTagName",
3523
5756
  "inheritedFrom": {
3524
- "name": "DisabledMixin",
3525
- "module": "src/utils/mixins/DisabledMixin.ts"
5757
+ "name": "Card",
5758
+ "module": "src/components/card/card.component.ts"
5759
+ }
5760
+ },
5761
+ {
5762
+ "name": "icon-name",
5763
+ "type": {
5764
+ "text": "IconNames | undefined"
5765
+ },
5766
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5767
+ "fieldName": "iconName",
5768
+ "inheritedFrom": {
5769
+ "name": "Card",
5770
+ "module": "src/components/card/card.component.ts"
3526
5771
  }
3527
5772
  }
3528
5773
  ],
3529
5774
  "mixins": [
3530
- {
3531
- "name": "TabIndexMixin",
3532
- "module": "/src/utils/mixins/TabIndexMixin"
3533
- },
3534
5775
  {
3535
5776
  "name": "DisabledMixin",
3536
5777
  "module": "/src/utils/mixins/DisabledMixin"
5778
+ },
5779
+ {
5780
+ "name": "TabIndexMixin",
5781
+ "module": "/src/utils/mixins/TabIndexMixin"
3537
5782
  }
3538
5783
  ],
3539
5784
  "superclass": {
3540
- "name": "Component",
3541
- "module": "/src/models"
5785
+ "name": "Card",
5786
+ "module": "/src/components/card/card.component"
3542
5787
  },
3543
- "tagName": "mdc-buttonsimple",
3544
- "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 */",
5788
+ "tagName": "mdc-cardradio",
5789
+ "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 *\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 */",
3545
5790
  "customElement": true
3546
5791
  }
3547
5792
  ],
@@ -3550,8 +5795,8 @@
3550
5795
  "kind": "js",
3551
5796
  "name": "default",
3552
5797
  "declaration": {
3553
- "name": "Buttonsimple",
3554
- "module": "components/buttonsimple/buttonsimple.component.js"
5798
+ "name": "CardRadio",
5799
+ "module": "components/cardradio/cardradio.component.js"
3555
5800
  }
3556
5801
  }
3557
5802
  ]
@@ -9030,57 +11275,256 @@
9030
11275
  }
9031
11276
  },
9032
11277
  {
9033
- "name": "help-text-type",
11278
+ "name": "help-text-type",
11279
+ "type": {
11280
+ "text": "ValidationType"
11281
+ },
11282
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
11283
+ "fieldName": "helpTextType",
11284
+ "inheritedFrom": {
11285
+ "name": "FormfieldWrapper",
11286
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
11287
+ }
11288
+ },
11289
+ {
11290
+ "name": "help-text",
11291
+ "type": {
11292
+ "text": "string | undefined"
11293
+ },
11294
+ "description": "The help text that is displayed below the input field.",
11295
+ "fieldName": "helpText",
11296
+ "inheritedFrom": {
11297
+ "name": "FormfieldWrapper",
11298
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
11299
+ }
11300
+ }
11301
+ ],
11302
+ "mixins": [
11303
+ {
11304
+ "name": "FormInternalsMixin",
11305
+ "module": "/src/utils/mixins/FormInternalsMixin"
11306
+ },
11307
+ {
11308
+ "name": "DataAriaLabelMixin",
11309
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
11310
+ }
11311
+ ],
11312
+ "superclass": {
11313
+ "name": "FormfieldWrapper",
11314
+ "module": "/src/components/formfieldwrapper"
11315
+ },
11316
+ "tagName": "mdc-input",
11317
+ "jsDoc": "/**\n * mdc-input is a component that allows users to input text.\n * It contains:\n * - label field - describe the input field.\n * - input field - contains the value\n * - help text or validation message - displayed below the input field.\n * - trailing button - it displays a clear the input field.\n * - prefix text - displayed before the input field.\n * - leading icon - displayed before the input field.\n * - clear-aria-label - aria label for the trailing button.\n * - all the attributes of the input field.\n *\n * @tagname mdc-input\n *\n * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the input receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the input loses focus.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n *\n * @cssproperty --mdc-input-disabled-border-color - Border color for the input container when disabled\n * @cssproperty --mdc-input-disabled-text-color - Text color for the input field when disabled\n * @cssproperty --mdc-input-disabled-background-color - Background color for the input field when disabled\n * @cssproperty --mdc-input-border-color - Border color for the input container\n * @cssproperty --mdc-input-text-color - Text color for the input field\n * @cssproperty --mdc-input-background-color - Background color for the input field\n * @cssproperty --mdc-input-selection-background-color - Background color for the selected text\n * @cssproperty --mdc-input-selection-text-color - Text color for the selected text\n * @cssproperty --mdc-input-support-text-color - Text color for the help text\n * @cssproperty --mdc-input-hover-background-color - Background color for the input field when hovered\n * @cssproperty --mdc-input-focused-background-color - Background color for the input field when focused\n * @cssproperty --mdc-input-focused-border-color - Border color for the input container when focused\n * @cssproperty --mdc-input-error-border-color - Border color for the input container when error\n * @cssproperty --mdc-input-warning-border-color - Border color for the input container when warning\n * @cssproperty --mdc-input-success-border-color - Border color for the input container when success\n * @cssproperty --mdc-input-primary-border-color - Border color for the input container when primary\n *\n */",
11318
+ "customElement": true,
11319
+ "slots": [
11320
+ {
11321
+ "description": "slot to add the label info icon",
11322
+ "name": "label-info",
11323
+ "inheritedFrom": {
11324
+ "name": "FormfieldWrapper",
11325
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
11326
+ }
11327
+ }
11328
+ ]
11329
+ }
11330
+ ],
11331
+ "exports": [
11332
+ {
11333
+ "kind": "js",
11334
+ "name": "default",
11335
+ "declaration": {
11336
+ "name": "Input",
11337
+ "module": "components/input/input.component.js"
11338
+ }
11339
+ }
11340
+ ]
11341
+ },
11342
+ {
11343
+ "kind": "javascript-module",
11344
+ "path": "components/inputchip/inputchip.component.js",
11345
+ "declarations": [
11346
+ {
11347
+ "kind": "class",
11348
+ "description": "mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n\n- It supports a leading icon along with label.\n- It supports an error state for validation.\n- It supports a close button to remove the chip.",
11349
+ "name": "InputChip",
11350
+ "cssProperties": [
11351
+ {
11352
+ "description": "The color of the chip.",
11353
+ "name": "--mdc-chip-color"
11354
+ },
11355
+ {
11356
+ "description": "The border color of the chip.",
11357
+ "name": "--mdc-chip-border-color"
11358
+ },
11359
+ {
11360
+ "description": "The background color of the chip.",
11361
+ "name": "--mdc-chip-background-color"
11362
+ }
11363
+ ],
11364
+ "members": [
11365
+ {
11366
+ "kind": "field",
11367
+ "name": "label",
11368
+ "type": {
11369
+ "text": "string"
11370
+ },
11371
+ "default": "''",
11372
+ "description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
11373
+ "attribute": "label"
11374
+ },
11375
+ {
11376
+ "kind": "field",
11377
+ "name": "error",
11378
+ "type": {
11379
+ "text": "boolean"
11380
+ },
11381
+ "default": "false",
11382
+ "description": "The error state of the inputchip.",
11383
+ "attribute": "error"
11384
+ },
11385
+ {
11386
+ "kind": "field",
11387
+ "name": "clearAriaLabel",
11388
+ "type": {
11389
+ "text": "string"
11390
+ },
11391
+ "default": "''",
11392
+ "description": "The aria-label of the close button.",
11393
+ "attribute": "clear-aria-label"
11394
+ },
11395
+ {
11396
+ "kind": "method",
11397
+ "name": "renderIcon",
11398
+ "privacy": "private",
11399
+ "description": "Renders the icon element if available.",
11400
+ "return": {
11401
+ "type": {
11402
+ "text": ""
11403
+ }
11404
+ }
11405
+ },
11406
+ {
11407
+ "kind": "method",
11408
+ "name": "handleClose",
11409
+ "privacy": "private",
11410
+ "description": "Handles the behavior of the close button on click event.",
11411
+ "parameters": [
11412
+ {
11413
+ "description": "The event object.",
11414
+ "name": "event"
11415
+ }
11416
+ ]
11417
+ },
11418
+ {
11419
+ "kind": "field",
11420
+ "name": "iconName",
11421
+ "type": {
11422
+ "text": "IconNames | undefined"
11423
+ },
11424
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
11425
+ "attribute": "icon-name",
11426
+ "inheritedFrom": {
11427
+ "name": "IconNameMixin",
11428
+ "module": "utils/mixins/IconNameMixin.js"
11429
+ }
11430
+ },
11431
+ {
11432
+ "kind": "field",
11433
+ "name": "disabled",
11434
+ "type": {
11435
+ "text": "boolean | undefined"
11436
+ },
11437
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
11438
+ "default": "undefined",
11439
+ "attribute": "disabled",
11440
+ "reflects": true,
11441
+ "inheritedFrom": {
11442
+ "name": "DisabledMixin",
11443
+ "module": "utils/mixins/DisabledMixin.js"
11444
+ }
11445
+ }
11446
+ ],
11447
+ "events": [
11448
+ {
11449
+ "name": "remove",
11450
+ "type": {
11451
+ "text": "CustomEvent"
11452
+ },
11453
+ "description": "This event is dispatched when the close button is activated. It bubbles and is composed.",
11454
+ "reactName": "onRemove"
11455
+ }
11456
+ ],
11457
+ "attributes": [
11458
+ {
11459
+ "name": "label",
11460
+ "type": {
11461
+ "text": "string"
11462
+ },
11463
+ "default": "''",
11464
+ "description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
11465
+ "fieldName": "label"
11466
+ },
11467
+ {
11468
+ "name": "error",
11469
+ "type": {
11470
+ "text": "boolean"
11471
+ },
11472
+ "default": "false",
11473
+ "description": "The error state of the inputchip.",
11474
+ "fieldName": "error"
11475
+ },
11476
+ {
11477
+ "name": "clear-aria-label",
11478
+ "type": {
11479
+ "text": "string"
11480
+ },
11481
+ "default": "''",
11482
+ "description": "The aria-label of the close button.",
11483
+ "fieldName": "clearAriaLabel"
11484
+ },
11485
+ {
11486
+ "name": "icon-name",
9034
11487
  "type": {
9035
- "text": "ValidationType"
11488
+ "text": "IconNames | undefined"
9036
11489
  },
9037
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
9038
- "fieldName": "helpTextType",
11490
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
11491
+ "fieldName": "iconName",
9039
11492
  "inheritedFrom": {
9040
- "name": "FormfieldWrapper",
9041
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
11493
+ "name": "IconNameMixin",
11494
+ "module": "src/utils/mixins/IconNameMixin.ts"
9042
11495
  }
9043
11496
  },
9044
11497
  {
9045
- "name": "help-text",
11498
+ "name": "disabled",
9046
11499
  "type": {
9047
- "text": "string | undefined"
11500
+ "text": "boolean | undefined"
9048
11501
  },
9049
- "description": "The help text that is displayed below the input field.",
9050
- "fieldName": "helpText",
11502
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
11503
+ "default": "undefined",
11504
+ "fieldName": "disabled",
9051
11505
  "inheritedFrom": {
9052
- "name": "FormfieldWrapper",
9053
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
11506
+ "name": "DisabledMixin",
11507
+ "module": "src/utils/mixins/DisabledMixin.ts"
9054
11508
  }
9055
11509
  }
9056
11510
  ],
9057
11511
  "mixins": [
9058
11512
  {
9059
- "name": "FormInternalsMixin",
9060
- "module": "/src/utils/mixins/FormInternalsMixin"
11513
+ "name": "IconNameMixin",
11514
+ "module": "/src/utils/mixins/IconNameMixin"
9061
11515
  },
9062
11516
  {
9063
- "name": "DataAriaLabelMixin",
9064
- "module": "/src/utils/mixins/DataAriaLabelMixin"
11517
+ "name": "DisabledMixin",
11518
+ "module": "/src/utils/mixins/DisabledMixin"
9065
11519
  }
9066
11520
  ],
9067
11521
  "superclass": {
9068
- "name": "FormfieldWrapper",
9069
- "module": "/src/components/formfieldwrapper"
11522
+ "name": "Component",
11523
+ "module": "/src/models"
9070
11524
  },
9071
- "tagName": "mdc-input",
9072
- "jsDoc": "/**\n * mdc-input is a component that allows users to input text.\n * It contains:\n * - label field - describe the input field.\n * - input field - contains the value\n * - help text or validation message - displayed below the input field.\n * - trailing button - it displays a clear the input field.\n * - prefix text - displayed before the input field.\n * - leading icon - displayed before the input field.\n * - clear-aria-label - aria label for the trailing button.\n * - all the attributes of the input field.\n *\n * @tagname mdc-input\n *\n * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the input receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the input loses focus.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n *\n * @cssproperty --mdc-input-disabled-border-color - Border color for the input container when disabled\n * @cssproperty --mdc-input-disabled-text-color - Text color for the input field when disabled\n * @cssproperty --mdc-input-disabled-background-color - Background color for the input field when disabled\n * @cssproperty --mdc-input-border-color - Border color for the input container\n * @cssproperty --mdc-input-text-color - Text color for the input field\n * @cssproperty --mdc-input-background-color - Background color for the input field\n * @cssproperty --mdc-input-selection-background-color - Background color for the selected text\n * @cssproperty --mdc-input-selection-text-color - Text color for the selected text\n * @cssproperty --mdc-input-support-text-color - Text color for the help text\n * @cssproperty --mdc-input-hover-background-color - Background color for the input field when hovered\n * @cssproperty --mdc-input-focused-background-color - Background color for the input field when focused\n * @cssproperty --mdc-input-focused-border-color - Border color for the input container when focused\n * @cssproperty --mdc-input-error-border-color - Border color for the input container when error\n * @cssproperty --mdc-input-warning-border-color - Border color for the input container when warning\n * @cssproperty --mdc-input-success-border-color - Border color for the input container when success\n * @cssproperty --mdc-input-primary-border-color - Border color for the input container when primary\n *\n */",
9073
- "customElement": true,
9074
- "slots": [
9075
- {
9076
- "description": "slot to add the label info icon",
9077
- "name": "label-info",
9078
- "inheritedFrom": {
9079
- "name": "FormfieldWrapper",
9080
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
9081
- }
9082
- }
9083
- ]
11525
+ "tagName": "mdc-inputchip",
11526
+ "jsDoc": "/**\n * mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n *\n * - It supports a leading icon along with label.\n * - It supports an error state for validation.\n * - It supports a close button to remove the chip.\n *\n * @tagname mdc-inputchip\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.\n *\n * @cssproperty --mdc-chip-color - The color of the chip.\n * @cssproperty --mdc-chip-border-color - The border color of the chip.\n * @cssproperty --mdc-chip-background-color - The background color of the chip.\n *\n */",
11527
+ "customElement": true
9084
11528
  }
9085
11529
  ],
9086
11530
  "exports": [
@@ -9088,8 +11532,8 @@
9088
11532
  "kind": "js",
9089
11533
  "name": "default",
9090
11534
  "declaration": {
9091
- "name": "Input",
9092
- "module": "components/input/input.component.js"
11535
+ "name": "InputChip",
11536
+ "module": "components/inputchip/inputchip.component.js"
9093
11537
  }
9094
11538
  }
9095
11539
  ]
@@ -9454,260 +11898,61 @@
9454
11898
  },
9455
11899
  {
9456
11900
  "description": "Color of the link’s child content in the disabled state.",
9457
- "name": "--mdc-link-color-disabled",
9458
- "inheritedFrom": {
9459
- "name": "Linksimple",
9460
- "module": "src/components/linksimple/linksimple.component.ts"
9461
- }
9462
- },
9463
- {
9464
- "description": "Color of the link’s child content in the hover state.",
9465
- "name": "--mdc-link-color-hover",
9466
- "inheritedFrom": {
9467
- "name": "Linksimple",
9468
- "module": "src/components/linksimple/linksimple.component.ts"
9469
- }
9470
- },
9471
- {
9472
- "description": "Color of the link’s child content in the normal state.",
9473
- "name": "--mdc-link-color-normal",
9474
- "inheritedFrom": {
9475
- "name": "Linksimple",
9476
- "module": "src/components/linksimple/linksimple.component.ts"
9477
- }
9478
- },
9479
- {
9480
- "description": "Color of the inverted link’s child content in the active state.",
9481
- "name": "--mdc-link-inverted-color-active",
9482
- "inheritedFrom": {
9483
- "name": "Linksimple",
9484
- "module": "src/components/linksimple/linksimple.component.ts"
9485
- }
9486
- },
9487
- {
9488
- "description": "Color of the inverted link’s child content in the disabled state.",
9489
- "name": "--mdc-link-inverted-color-disabled",
9490
- "inheritedFrom": {
9491
- "name": "Linksimple",
9492
- "module": "src/components/linksimple/linksimple.component.ts"
9493
- }
9494
- },
9495
- {
9496
- "description": "Color of the inverted link’s child content in the hover state.",
9497
- "name": "--mdc-link-inverted-color-hover",
9498
- "inheritedFrom": {
9499
- "name": "Linksimple",
9500
- "module": "src/components/linksimple/linksimple.component.ts"
9501
- }
9502
- },
9503
- {
9504
- "description": "Color of the inverted link’s child content in the normal state.",
9505
- "name": "--mdc-link-inverted-color-normal",
9506
- "inheritedFrom": {
9507
- "name": "Linksimple",
9508
- "module": "src/components/linksimple/linksimple.component.ts"
9509
- }
9510
- }
9511
- ]
9512
- }
9513
- ],
9514
- "exports": [
9515
- {
9516
- "kind": "js",
9517
- "name": "default",
9518
- "declaration": {
9519
- "name": "Link",
9520
- "module": "components/link/link.component.js"
9521
- }
9522
- }
9523
- ]
9524
- },
9525
- {
9526
- "kind": "javascript-module",
9527
- "path": "components/inputchip/inputchip.component.js",
9528
- "declarations": [
9529
- {
9530
- "kind": "class",
9531
- "description": "mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n\n- It supports a leading icon along with label.\n- It supports an error state for validation.\n- It supports a close button to remove the chip.",
9532
- "name": "InputChip",
9533
- "cssProperties": [
9534
- {
9535
- "description": "The color of the chip.",
9536
- "name": "--mdc-chip-color"
9537
- },
9538
- {
9539
- "description": "The border color of the chip.",
9540
- "name": "--mdc-chip-border-color"
9541
- },
9542
- {
9543
- "description": "The background color of the chip.",
9544
- "name": "--mdc-chip-background-color"
9545
- }
9546
- ],
9547
- "members": [
9548
- {
9549
- "kind": "field",
9550
- "name": "label",
9551
- "type": {
9552
- "text": "string"
9553
- },
9554
- "default": "''",
9555
- "description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
9556
- "attribute": "label"
9557
- },
9558
- {
9559
- "kind": "field",
9560
- "name": "error",
9561
- "type": {
9562
- "text": "boolean"
9563
- },
9564
- "default": "false",
9565
- "description": "The error state of the inputchip.",
9566
- "attribute": "error"
9567
- },
9568
- {
9569
- "kind": "field",
9570
- "name": "clearAriaLabel",
9571
- "type": {
9572
- "text": "string"
9573
- },
9574
- "default": "''",
9575
- "description": "The aria-label of the close button.",
9576
- "attribute": "clear-aria-label"
9577
- },
9578
- {
9579
- "kind": "method",
9580
- "name": "renderIcon",
9581
- "privacy": "private",
9582
- "description": "Renders the icon element if available.",
9583
- "return": {
9584
- "type": {
9585
- "text": ""
9586
- }
9587
- }
9588
- },
9589
- {
9590
- "kind": "method",
9591
- "name": "handleClose",
9592
- "privacy": "private",
9593
- "description": "Handles the behavior of the close button on click event.",
9594
- "parameters": [
9595
- {
9596
- "description": "The event object.",
9597
- "name": "event"
9598
- }
9599
- ]
9600
- },
9601
- {
9602
- "kind": "field",
9603
- "name": "iconName",
9604
- "type": {
9605
- "text": "IconNames | undefined"
9606
- },
9607
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
9608
- "attribute": "icon-name",
9609
- "inheritedFrom": {
9610
- "name": "IconNameMixin",
9611
- "module": "utils/mixins/IconNameMixin.js"
9612
- }
9613
- },
9614
- {
9615
- "kind": "field",
9616
- "name": "disabled",
9617
- "type": {
9618
- "text": "boolean | undefined"
9619
- },
9620
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
9621
- "default": "undefined",
9622
- "attribute": "disabled",
9623
- "reflects": true,
9624
- "inheritedFrom": {
9625
- "name": "DisabledMixin",
9626
- "module": "utils/mixins/DisabledMixin.js"
9627
- }
9628
- }
9629
- ],
9630
- "events": [
9631
- {
9632
- "name": "remove",
9633
- "type": {
9634
- "text": "CustomEvent"
9635
- },
9636
- "description": "This event is dispatched when the close button is activated. It bubbles and is composed.",
9637
- "reactName": "onRemove"
9638
- }
9639
- ],
9640
- "attributes": [
9641
- {
9642
- "name": "label",
9643
- "type": {
9644
- "text": "string"
9645
- },
9646
- "default": "''",
9647
- "description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
9648
- "fieldName": "label"
11901
+ "name": "--mdc-link-color-disabled",
11902
+ "inheritedFrom": {
11903
+ "name": "Linksimple",
11904
+ "module": "src/components/linksimple/linksimple.component.ts"
11905
+ }
9649
11906
  },
9650
11907
  {
9651
- "name": "error",
9652
- "type": {
9653
- "text": "boolean"
9654
- },
9655
- "default": "false",
9656
- "description": "The error state of the inputchip.",
9657
- "fieldName": "error"
11908
+ "description": "Color of the link’s child content in the hover state.",
11909
+ "name": "--mdc-link-color-hover",
11910
+ "inheritedFrom": {
11911
+ "name": "Linksimple",
11912
+ "module": "src/components/linksimple/linksimple.component.ts"
11913
+ }
9658
11914
  },
9659
11915
  {
9660
- "name": "clear-aria-label",
9661
- "type": {
9662
- "text": "string"
9663
- },
9664
- "default": "''",
9665
- "description": "The aria-label of the close button.",
9666
- "fieldName": "clearAriaLabel"
11916
+ "description": "Color of the link’s child content in the normal state.",
11917
+ "name": "--mdc-link-color-normal",
11918
+ "inheritedFrom": {
11919
+ "name": "Linksimple",
11920
+ "module": "src/components/linksimple/linksimple.component.ts"
11921
+ }
9667
11922
  },
9668
11923
  {
9669
- "name": "icon-name",
9670
- "type": {
9671
- "text": "IconNames | undefined"
9672
- },
9673
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
9674
- "fieldName": "iconName",
11924
+ "description": "Color of the inverted link’s child content in the active state.",
11925
+ "name": "--mdc-link-inverted-color-active",
9675
11926
  "inheritedFrom": {
9676
- "name": "IconNameMixin",
9677
- "module": "src/utils/mixins/IconNameMixin.ts"
11927
+ "name": "Linksimple",
11928
+ "module": "src/components/linksimple/linksimple.component.ts"
9678
11929
  }
9679
11930
  },
9680
11931
  {
9681
- "name": "disabled",
9682
- "type": {
9683
- "text": "boolean | undefined"
9684
- },
9685
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
9686
- "default": "undefined",
9687
- "fieldName": "disabled",
11932
+ "description": "Color of the inverted link’s child content in the disabled state.",
11933
+ "name": "--mdc-link-inverted-color-disabled",
9688
11934
  "inheritedFrom": {
9689
- "name": "DisabledMixin",
9690
- "module": "src/utils/mixins/DisabledMixin.ts"
11935
+ "name": "Linksimple",
11936
+ "module": "src/components/linksimple/linksimple.component.ts"
9691
11937
  }
9692
- }
9693
- ],
9694
- "mixins": [
11938
+ },
9695
11939
  {
9696
- "name": "IconNameMixin",
9697
- "module": "/src/utils/mixins/IconNameMixin"
11940
+ "description": "Color of the inverted link’s child content in the hover state.",
11941
+ "name": "--mdc-link-inverted-color-hover",
11942
+ "inheritedFrom": {
11943
+ "name": "Linksimple",
11944
+ "module": "src/components/linksimple/linksimple.component.ts"
11945
+ }
9698
11946
  },
9699
11947
  {
9700
- "name": "DisabledMixin",
9701
- "module": "/src/utils/mixins/DisabledMixin"
11948
+ "description": "Color of the inverted link’s child content in the normal state.",
11949
+ "name": "--mdc-link-inverted-color-normal",
11950
+ "inheritedFrom": {
11951
+ "name": "Linksimple",
11952
+ "module": "src/components/linksimple/linksimple.component.ts"
11953
+ }
9702
11954
  }
9703
- ],
9704
- "superclass": {
9705
- "name": "Component",
9706
- "module": "/src/models"
9707
- },
9708
- "tagName": "mdc-inputchip",
9709
- "jsDoc": "/**\n * mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n *\n * - It supports a leading icon along with label.\n * - It supports an error state for validation.\n * - It supports a close button to remove the chip.\n *\n * @tagname mdc-inputchip\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.\n *\n * @cssproperty --mdc-chip-color - The color of the chip.\n * @cssproperty --mdc-chip-border-color - The border color of the chip.\n * @cssproperty --mdc-chip-background-color - The background color of the chip.\n *\n */",
9710
- "customElement": true
11955
+ ]
9711
11956
  }
9712
11957
  ],
9713
11958
  "exports": [
@@ -9715,8 +11960,8 @@
9715
11960
  "kind": "js",
9716
11961
  "name": "default",
9717
11962
  "declaration": {
9718
- "name": "InputChip",
9719
- "module": "components/inputchip/inputchip.component.js"
11963
+ "name": "Link",
11964
+ "module": "components/link/link.component.js"
9720
11965
  }
9721
11966
  }
9722
11967
  ]
@@ -24717,6 +26962,239 @@
24717
26962
  }
24718
26963
  ]
24719
26964
  },
26965
+ {
26966
+ "kind": "javascript-module",
26967
+ "path": "utils/mixins/CardComponentMixin.js",
26968
+ "declarations": [
26969
+ {
26970
+ "kind": "mixin",
26971
+ "description": "",
26972
+ "name": "CardComponentMixin",
26973
+ "members": [
26974
+ {
26975
+ "kind": "field",
26976
+ "name": "cardTitle",
26977
+ "type": {
26978
+ "text": "string"
26979
+ },
26980
+ "default": "''",
26981
+ "description": "The title of the card - part of header section",
26982
+ "attribute": "card-title"
26983
+ },
26984
+ {
26985
+ "kind": "field",
26986
+ "name": "subtitle",
26987
+ "type": {
26988
+ "text": "string"
26989
+ },
26990
+ "default": "''",
26991
+ "description": "The subtitle of the card - part of header section",
26992
+ "attribute": "subtitle"
26993
+ },
26994
+ {
26995
+ "kind": "field",
26996
+ "name": "imageSrc",
26997
+ "type": {
26998
+ "text": "string"
26999
+ },
27000
+ "default": "''",
27001
+ "description": "The image source URL to render on the card",
27002
+ "attribute": "image-src"
27003
+ },
27004
+ {
27005
+ "kind": "field",
27006
+ "name": "imageAlt",
27007
+ "type": {
27008
+ "text": "string"
27009
+ },
27010
+ "default": "''",
27011
+ "description": "The image alt for accessibility support",
27012
+ "attribute": "image-alt"
27013
+ },
27014
+ {
27015
+ "kind": "field",
27016
+ "name": "variant",
27017
+ "type": {
27018
+ "text": "CardVariant"
27019
+ },
27020
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
27021
+ "default": "'border'",
27022
+ "attribute": "variant"
27023
+ },
27024
+ {
27025
+ "kind": "field",
27026
+ "name": "orientation",
27027
+ "type": {
27028
+ "text": "CardOrientation"
27029
+ },
27030
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
27031
+ "default": "'vertical'",
27032
+ "attribute": "orientation",
27033
+ "reflects": true
27034
+ },
27035
+ {
27036
+ "kind": "field",
27037
+ "name": "titleTagName",
27038
+ "type": {
27039
+ "text": "TagNameType"
27040
+ },
27041
+ "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
27042
+ "default": "'span'",
27043
+ "attribute": "title-tag-name"
27044
+ },
27045
+ {
27046
+ "kind": "field",
27047
+ "name": "subtitleTagName",
27048
+ "type": {
27049
+ "text": "TagNameType"
27050
+ },
27051
+ "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
27052
+ "default": "'span'",
27053
+ "attribute": "subtitle-tag-name"
27054
+ },
27055
+ {
27056
+ "kind": "field",
27057
+ "name": "iconName",
27058
+ "type": {
27059
+ "text": "IconNames | undefined"
27060
+ },
27061
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
27062
+ "attribute": "icon-name"
27063
+ },
27064
+ {
27065
+ "kind": "method",
27066
+ "name": "renderImage",
27067
+ "description": "Renders the image on the card if image source is provided",
27068
+ "return": {
27069
+ "type": {
27070
+ "text": ""
27071
+ }
27072
+ }
27073
+ },
27074
+ {
27075
+ "kind": "method",
27076
+ "name": "renderIcon",
27077
+ "description": "Renders the icon on the card if icon name is provided",
27078
+ "return": {
27079
+ "type": {
27080
+ "text": ""
27081
+ }
27082
+ }
27083
+ },
27084
+ {
27085
+ "kind": "method",
27086
+ "name": "renderTitle",
27087
+ "description": "Renders the title and subtitle on the card",
27088
+ "return": {
27089
+ "type": {
27090
+ "text": ""
27091
+ }
27092
+ }
27093
+ }
27094
+ ],
27095
+ "attributes": [
27096
+ {
27097
+ "name": "card-title",
27098
+ "type": {
27099
+ "text": "string"
27100
+ },
27101
+ "default": "''",
27102
+ "description": "The title of the card - part of header section",
27103
+ "fieldName": "cardTitle"
27104
+ },
27105
+ {
27106
+ "name": "subtitle",
27107
+ "type": {
27108
+ "text": "string"
27109
+ },
27110
+ "default": "''",
27111
+ "description": "The subtitle of the card - part of header section",
27112
+ "fieldName": "subtitle"
27113
+ },
27114
+ {
27115
+ "name": "image-src",
27116
+ "type": {
27117
+ "text": "string"
27118
+ },
27119
+ "default": "''",
27120
+ "description": "The image source URL to render on the card",
27121
+ "fieldName": "imageSrc"
27122
+ },
27123
+ {
27124
+ "name": "image-alt",
27125
+ "type": {
27126
+ "text": "string"
27127
+ },
27128
+ "default": "''",
27129
+ "description": "The image alt for accessibility support",
27130
+ "fieldName": "imageAlt"
27131
+ },
27132
+ {
27133
+ "name": "variant",
27134
+ "type": {
27135
+ "text": "CardVariant"
27136
+ },
27137
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
27138
+ "default": "'border'",
27139
+ "fieldName": "variant"
27140
+ },
27141
+ {
27142
+ "name": "orientation",
27143
+ "type": {
27144
+ "text": "CardOrientation"
27145
+ },
27146
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
27147
+ "default": "'vertical'",
27148
+ "fieldName": "orientation"
27149
+ },
27150
+ {
27151
+ "name": "title-tag-name",
27152
+ "type": {
27153
+ "text": "TagNameType"
27154
+ },
27155
+ "description": "The tag name for the card title. It supports all the types that `msc-text` supports",
27156
+ "default": "'span'",
27157
+ "fieldName": "titleTagName"
27158
+ },
27159
+ {
27160
+ "name": "subtitle-tag-name",
27161
+ "type": {
27162
+ "text": "TagNameType"
27163
+ },
27164
+ "description": "The tag name for the subtitle. It supports all the types that `msc-text` supports",
27165
+ "default": "'span'",
27166
+ "fieldName": "subtitleTagName"
27167
+ },
27168
+ {
27169
+ "name": "icon-name",
27170
+ "type": {
27171
+ "text": "IconNames | undefined"
27172
+ },
27173
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
27174
+ "fieldName": "iconName"
27175
+ }
27176
+ ],
27177
+ "parameters": [
27178
+ {
27179
+ "name": "superClass",
27180
+ "type": {
27181
+ "text": "T"
27182
+ }
27183
+ }
27184
+ ]
27185
+ }
27186
+ ],
27187
+ "exports": [
27188
+ {
27189
+ "kind": "js",
27190
+ "name": "CardComponentMixin",
27191
+ "declaration": {
27192
+ "name": "CardComponentMixin",
27193
+ "module": "utils/mixins/CardComponentMixin.js"
27194
+ }
27195
+ }
27196
+ ]
27197
+ },
24720
27198
  {
24721
27199
  "kind": "javascript-module",
24722
27200
  "path": "utils/mixins/DataAriaLabelMixin.js",