@momentum-design/components 0.27.4 → 0.27.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2270,6 +2270,20 @@
2270
2270
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2271
2271
  }
2272
2272
  },
2273
+ {
2274
+ "kind": "field",
2275
+ "name": "id",
2276
+ "type": {
2277
+ "text": "string"
2278
+ },
2279
+ "default": "`mdc-input-${uuidv4()}`",
2280
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
2281
+ "attribute": "id",
2282
+ "inheritedFrom": {
2283
+ "name": "FormfieldWrapper",
2284
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2285
+ }
2286
+ },
2273
2287
  {
2274
2288
  "kind": "field",
2275
2289
  "name": "name",
@@ -2358,17 +2372,6 @@
2358
2372
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2359
2373
  }
2360
2374
  },
2361
- {
2362
- "kind": "field",
2363
- "name": "id",
2364
- "default": "`mdc-input-${uuidv4()}`",
2365
- "description": "The unique id of the input field. It is used to link the input field with the label.",
2366
- "attribute": "id",
2367
- "inheritedFrom": {
2368
- "name": "FormfieldWrapper",
2369
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2370
- }
2371
- },
2372
2375
  {
2373
2376
  "kind": "field",
2374
2377
  "name": "helpText",
@@ -2584,7 +2587,10 @@
2584
2587
  },
2585
2588
  {
2586
2589
  "name": "id",
2587
- "default": "`mdc-input-${uuidv4()}`",
2590
+ "type": {
2591
+ "text": "string"
2592
+ },
2593
+ "default": "''",
2588
2594
  "description": "The unique id of the input field. It is used to link the input field with the label.",
2589
2595
  "fieldName": "id",
2590
2596
  "inheritedFrom": {
@@ -2663,385 +2669,142 @@
2663
2669
  },
2664
2670
  {
2665
2671
  "kind": "javascript-module",
2666
- "path": "components/divider/divider.component.js",
2672
+ "path": "components/formfieldgroup/formfieldgroup.component.js",
2667
2673
  "declarations": [
2668
2674
  {
2669
2675
  "kind": "class",
2670
- "description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
2671
- "name": "Divider",
2672
- "cssProperties": [
2673
- {
2674
- "description": "background color of the divider",
2675
- "name": "--mdc-divider-background-color"
2676
- },
2677
- {
2678
- "description": "width of the divider",
2679
- "name": "--mdc-divider-width"
2680
- },
2681
- {
2682
- "description": "gradient of the horizontal divider",
2683
- "name": "--mdc-divider-horizontal-gradient"
2684
- },
2685
- {
2686
- "description": "gradient of the vertical divider",
2687
- "name": "--mdc-divider-vertical-gradient"
2688
- },
2689
- {
2690
- "description": "font size of label in the text divider",
2691
- "name": "--mdc-divider-text-size"
2692
- },
2693
- {
2694
- "description": "font color of label in the text divider",
2695
- "name": "--mdc-divider-text-color"
2696
- },
2697
- {
2698
- "description": "left and right margin of label in the text divider",
2699
- "name": "--mdc-divider-text-margin"
2700
- },
2701
- {
2702
- "description": "line height of label in the text divider",
2703
- "name": "--mdc-divider-text-line-height"
2704
- },
2705
- {
2706
- "description": "background color of the grabber button in rest state",
2707
- "name": "--mdc-divider-grabber-button-background-color-normal"
2708
- },
2709
- {
2710
- "description": "background color of the grabber button in hover state",
2711
- "name": "--mdc-divider-grabber-button-background-color-hover"
2712
- },
2713
- {
2714
- "description": "background color of the grabber button in pressed state",
2715
- "name": "--mdc-divider-grabber-button-background-color-pressed"
2716
- },
2676
+ "description": "`mdc-formfieldgroup` component, groups the form field components together.\nAll passed in children will have a gap of 12px (0.75rem) each applied.\n\nThis component is specifically for creating a `checkbox` group and a `toggle` group component.\nFor the radiogroup use the RadioGroup component instead.\n\nThe header text and description text are displayed above the items with accessible labels.<br/>\nThe consumer has to provide atleast the header-text or the aria-label,\nlike one of them <b>has</b> to be passed in always, otherwise its not accessible.\n\nThe role will be set to `group`.\nThe aria-label will be set with the data-aria-label property.\nThe aria-labelledby will be set with the header id which contains the header text information.\nThe aria-describedby will be set with the description id which contains the description text information.",
2677
+ "name": "FormfieldGroup",
2678
+ "slots": [
2717
2679
  {
2718
- "description": "border color of the grabber button",
2719
- "name": "--mdc-divider-grabber-button-border-color"
2680
+ "description": "This is a default slot for checkbox or toggle components.",
2681
+ "name": "default"
2720
2682
  },
2721
2683
  {
2722
- "description": "border radius of the grabber button",
2723
- "name": "--mdc-divider-grabber-button-border-radius"
2684
+ "description": "slot to add the label info icon",
2685
+ "name": "label-info",
2686
+ "inheritedFrom": {
2687
+ "name": "FormfieldWrapper",
2688
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
2689
+ }
2724
2690
  }
2725
2691
  ],
2726
2692
  "members": [
2727
2693
  {
2728
2694
  "kind": "field",
2729
- "name": "orientation",
2695
+ "name": "id",
2730
2696
  "type": {
2731
- "text": "DividerOrientation"
2697
+ "text": "string"
2732
2698
  },
2733
- "description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
2734
- "default": "horizontal",
2735
- "attribute": "orientation",
2736
- "reflects": true
2699
+ "default": "''",
2700
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
2701
+ "attribute": "id",
2702
+ "inheritedFrom": {
2703
+ "name": "FormfieldWrapper",
2704
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2705
+ }
2737
2706
  },
2738
2707
  {
2739
2708
  "kind": "field",
2740
- "name": "variant",
2709
+ "name": "helpTextType",
2741
2710
  "type": {
2742
- "text": "DividerVariant"
2711
+ "text": "ValidationType"
2743
2712
  },
2744
- "description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
2745
- "default": "solid",
2746
- "attribute": "variant",
2747
- "reflects": true
2713
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
2714
+ "attribute": "help-text-type",
2715
+ "reflects": true,
2716
+ "default": "undefined as unknown",
2717
+ "inheritedFrom": {
2718
+ "name": "FormfieldWrapper",
2719
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2720
+ }
2748
2721
  },
2749
2722
  {
2750
2723
  "kind": "field",
2751
- "name": "arrowDirection",
2724
+ "name": "disabled",
2752
2725
  "type": {
2753
- "text": "Directions"
2726
+ "text": "boolean"
2754
2727
  },
2755
- "description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2756
- "default": "'negative'",
2757
- "attribute": "arrow-direction",
2758
- "reflects": true
2728
+ "default": "undefined as unknown",
2729
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2730
+ "attribute": "disabled",
2731
+ "reflects": true,
2732
+ "inheritedFrom": {
2733
+ "name": "DisabledMixin",
2734
+ "module": "utils/mixins/DisabledMixin.js"
2735
+ }
2759
2736
  },
2760
2737
  {
2761
2738
  "kind": "field",
2762
- "name": "buttonPosition",
2739
+ "name": "dataAriaLabel",
2763
2740
  "type": {
2764
- "text": "Directions"
2741
+ "text": "string | null"
2765
2742
  },
2766
- "description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2767
- "default": "'negative'",
2768
- "attribute": "button-position",
2769
- "reflects": true
2770
- },
2771
- {
2772
- "kind": "method",
2773
- "name": "setVariant",
2774
- "privacy": "private",
2775
- "parameters": [
2776
- {
2777
- "name": "variant",
2778
- "type": {
2779
- "text": "DividerVariant"
2780
- },
2781
- "description": "The variant to set."
2782
- }
2783
- ],
2784
- "description": "Sets the variant attribute for the divider component.\nIf the provided variant is not included in the DIVIDER_VARIANT,\nit defaults to the value specified in DEFAULTS.VARIANT."
2743
+ "default": "null",
2744
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
2745
+ "attribute": "data-aria-label",
2746
+ "reflects": true,
2747
+ "inheritedFrom": {
2748
+ "name": "DataAriaLabelMixin",
2749
+ "module": "utils/mixins/DataAriaLabelMixin.js"
2750
+ }
2785
2751
  },
2786
2752
  {
2787
- "kind": "method",
2788
- "name": "setOrientation",
2789
- "privacy": "private",
2790
- "parameters": [
2791
- {
2792
- "name": "orientation",
2793
- "type": {
2794
- "text": "DividerOrientation"
2795
- },
2796
- "description": "The orientation to set."
2797
- }
2798
- ],
2799
- "description": "Sets the orientation attribute for the divider component.\nIf the provided orientation is not included in the DIVIDER_ORIENTATION,\nit defaults to the value specified in DEFAULTS.ORIENTATION."
2753
+ "kind": "field",
2754
+ "name": "label",
2755
+ "type": {
2756
+ "text": "string | undefined"
2757
+ },
2758
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
2759
+ "attribute": "label",
2760
+ "reflects": true,
2761
+ "inheritedFrom": {
2762
+ "name": "FormfieldWrapper",
2763
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2764
+ }
2800
2765
  },
2801
2766
  {
2802
- "kind": "method",
2803
- "name": "ensureValidDirections",
2804
- "privacy": "private",
2805
- "description": "Sets the buttonPosition and arrowDirection attribute for the divider component.\nIf the provided buttonPosition and arrowDirection are not included in the DIRECTIONS,\nit defaults to the value specified in DIRECTIONS based on the ORIENTATION.",
2806
- "parameters": [
2807
- {
2808
- "description": "The buttonPosition to set.",
2809
- "name": "buttonPosition"
2810
- },
2811
- {
2812
- "description": "The arrowDirection to set.",
2813
- "name": "arrowDirection"
2814
- }
2815
- ]
2767
+ "kind": "field",
2768
+ "name": "requiredLabel",
2769
+ "type": {
2770
+ "text": "string | undefined"
2771
+ },
2772
+ "description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
2773
+ "attribute": "required-label",
2774
+ "reflects": true,
2775
+ "inheritedFrom": {
2776
+ "name": "FormfieldWrapper",
2777
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2778
+ }
2816
2779
  },
2817
2780
  {
2818
- "kind": "method",
2819
- "name": "setGrabberButton",
2820
- "privacy": "private",
2821
- "return": {
2822
- "type": {
2823
- "text": "void"
2824
- }
2781
+ "kind": "field",
2782
+ "name": "helpText",
2783
+ "type": {
2784
+ "text": "string | undefined"
2825
2785
  },
2826
- "description": "Configures the grabber button within the divider.\n\n- Sets the `prefix-icon` attribute for the grabber button based\non the `arrow-direction` and `orientation` properties.\n\nThis method updates the DOM element dynamically if a grabber button is present."
2786
+ "description": "The help text that is displayed below the input field.",
2787
+ "attribute": "help-text",
2788
+ "reflects": true,
2789
+ "inheritedFrom": {
2790
+ "name": "FormfieldWrapper",
2791
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2792
+ }
2827
2793
  },
2828
2794
  {
2829
2795
  "kind": "method",
2830
- "name": "getArrowIcon",
2831
- "privacy": "private",
2796
+ "name": "renderLabelElement",
2797
+ "privacy": "protected",
2798
+ "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
2832
2799
  "return": {
2833
2800
  "type": {
2834
2801
  "text": ""
2835
2802
  }
2836
2803
  },
2837
- "description": "Determines the arrow icon based on the consumer-defined `arrowDirection`."
2838
- },
2839
- {
2840
- "kind": "method",
2841
- "name": "inferDividerType",
2842
- "privacy": "private",
2843
- "description": "Infers the type of divider based on the kind of slot present.",
2844
- "parameters": [
2845
- {
2846
- "description": "default slot of divider",
2847
- "name": "slot"
2848
- }
2849
- ]
2850
- }
2851
- ],
2852
- "attributes": [
2853
- {
2854
- "name": "orientation",
2855
- "type": {
2856
- "text": "DividerOrientation"
2857
- },
2858
- "description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
2859
- "default": "horizontal",
2860
- "fieldName": "orientation"
2861
- },
2862
- {
2863
- "name": "variant",
2864
- "type": {
2865
- "text": "DividerVariant"
2866
- },
2867
- "description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
2868
- "default": "solid",
2869
- "fieldName": "variant"
2870
- },
2871
- {
2872
- "name": "arrow-direction",
2873
- "type": {
2874
- "text": "Directions"
2875
- },
2876
- "description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2877
- "default": "'negative'",
2878
- "fieldName": "arrowDirection"
2879
- },
2880
- {
2881
- "name": "button-position",
2882
- "type": {
2883
- "text": "Directions"
2884
- },
2885
- "description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
2886
- "default": "'negative'",
2887
- "fieldName": "buttonPosition"
2888
- }
2889
- ],
2890
- "superclass": {
2891
- "name": "Component",
2892
- "module": "/src/models"
2893
- },
2894
- "tagName": "mdc-divider",
2895
- "jsDoc": "/**\n * `mdc-divider` is a component that provides a line to separate and organize content.\n * It can also include a button or text positioned centrally, allowing users to interact with the layout.\n *\n * **Divider Orientation:**\n * - **Horizontal**: A thin, horizontal line.\n * - **Vertical**: A thin, vertical line.\n *\n * **Divider Variants:**\n * - **solid**: Solid line.\n * - **gradient**: Gradient Line.\n *\n * **Divider Types:**\n * - The type of divider is inferred based on the kind of slot present.\n * - **Primary**: A simple horizontal or vertical divider.\n * - **Text**: A horizontal divider with a text label in the center.\n * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n *\n * **Accessibility:**\n * - When the slot is replaced by an `mdc-button`:\n * - `aria-label` should be passed to the `mdc-button`.\n * - `aria-expanded` should be passed to the `mdc-button`.\n *\n * **Notes:**\n * - If the slot is replaced by an invalid tag name or contains multiple elements,\n * the divider defaults to the **Primary** type.\n * - To override the styles of the divider, use the provided CSS custom properties.\n *\n * @tagname mdc-divider\n *\n * @cssproperty --mdc-divider-background-color - background color of the divider\n * @cssproperty --mdc-divider-width - width of the divider\n * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider\n * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider\n * @cssproperty --mdc-divider-text-size - font size of label in the text divider\n * @cssproperty --mdc-divider-text-color - font color of label in the text divider\n * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider\n * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider\n * @cssproperty --mdc-divider-grabber-button-background-color-normal - background color of the grabber button\n * in rest state\n * @cssproperty --mdc-divider-grabber-button-background-color-hover - background color of the grabber button\n * in hover state\n * @cssproperty --mdc-divider-grabber-button-background-color-pressed - background color of the grabber button\n * in pressed state\n * @cssproperty --mdc-divider-grabber-button-border-color - border color of the grabber button\n * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button\n */",
2896
- "customElement": true
2897
- }
2898
- ],
2899
- "exports": [
2900
- {
2901
- "kind": "js",
2902
- "name": "default",
2903
- "declaration": {
2904
- "name": "Divider",
2905
- "module": "components/divider/divider.component.js"
2906
- }
2907
- }
2908
- ]
2909
- },
2910
- {
2911
- "kind": "javascript-module",
2912
- "path": "components/formfieldgroup/formfieldgroup.component.js",
2913
- "declarations": [
2914
- {
2915
- "kind": "class",
2916
- "description": "`mdc-formfieldgroup` component, groups the form field components together.\nAll passed in children will have a gap of 12px (0.75rem) each applied.\n\nThis component is specifically for creating a `checkbox` group and a `toggle` group component.\nFor the radiogroup use the RadioGroup component instead.\n\nThe header text and description text are displayed above the items with accessible labels.<br/>\nThe consumer has to provide atleast the header-text or the aria-label,\nlike one of them <b>has</b> to be passed in always, otherwise its not accessible.\n\nThe role will be set to `group`.\nThe aria-label will be set with the data-aria-label property.\nThe aria-labelledby will be set with the header id which contains the header text information.\nThe aria-describedby will be set with the description id which contains the description text information.",
2917
- "name": "FormfieldGroup",
2918
- "slots": [
2919
- {
2920
- "description": "This is a default slot for checkbox or toggle components.",
2921
- "name": "default"
2922
- },
2923
- {
2924
- "description": "slot to add the label info icon",
2925
- "name": "label-info",
2926
- "inheritedFrom": {
2927
- "name": "FormfieldWrapper",
2928
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
2929
- }
2930
- }
2931
- ],
2932
- "members": [
2933
- {
2934
- "kind": "field",
2935
- "name": "helpTextType",
2936
- "type": {
2937
- "text": "ValidationType"
2938
- },
2939
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
2940
- "attribute": "help-text-type",
2941
- "reflects": true,
2942
- "default": "undefined as unknown",
2943
- "inheritedFrom": {
2944
- "name": "FormfieldWrapper",
2945
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2946
- }
2947
- },
2948
- {
2949
- "kind": "field",
2950
- "name": "dataAriaLabel",
2951
- "type": {
2952
- "text": "string | null"
2953
- },
2954
- "default": "null",
2955
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
2956
- "attribute": "data-aria-label",
2957
- "reflects": true,
2958
- "inheritedFrom": {
2959
- "name": "DataAriaLabelMixin",
2960
- "module": "utils/mixins/DataAriaLabelMixin.js"
2961
- }
2962
- },
2963
- {
2964
- "kind": "field",
2965
- "name": "disabled",
2966
- "type": {
2967
- "text": "boolean"
2968
- },
2969
- "default": "false",
2970
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2971
- "attribute": "disabled",
2972
- "reflects": true,
2973
- "inheritedFrom": {
2974
- "name": "DisabledMixin",
2975
- "module": "utils/mixins/DisabledMixin.js"
2976
- }
2977
- },
2978
- {
2979
- "kind": "field",
2980
- "name": "label",
2981
- "type": {
2982
- "text": "string | undefined"
2983
- },
2984
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
2985
- "attribute": "label",
2986
- "reflects": true,
2987
- "inheritedFrom": {
2988
- "name": "FormfieldWrapper",
2989
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2990
- }
2991
- },
2992
- {
2993
- "kind": "field",
2994
- "name": "requiredLabel",
2995
- "type": {
2996
- "text": "string | undefined"
2997
- },
2998
- "description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
2999
- "attribute": "required-label",
3000
- "reflects": true,
3001
- "inheritedFrom": {
3002
- "name": "FormfieldWrapper",
3003
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
3004
- }
3005
- },
3006
- {
3007
- "kind": "field",
3008
- "name": "id",
3009
- "default": "`mdc-input-${uuidv4()}`",
3010
- "description": "The unique id of the input field. It is used to link the input field with the label.",
3011
- "attribute": "id",
3012
- "inheritedFrom": {
3013
- "name": "FormfieldWrapper",
3014
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
3015
- }
3016
- },
3017
- {
3018
- "kind": "field",
3019
- "name": "helpText",
3020
- "type": {
3021
- "text": "string | undefined"
3022
- },
3023
- "description": "The help text that is displayed below the input field.",
3024
- "attribute": "help-text",
3025
- "reflects": true,
3026
- "inheritedFrom": {
3027
- "name": "FormfieldWrapper",
3028
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
3029
- }
3030
- },
3031
- {
3032
- "kind": "method",
3033
- "name": "renderLabelElement",
3034
- "privacy": "protected",
3035
- "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
3036
- "return": {
3037
- "type": {
3038
- "text": ""
3039
- }
3040
- },
3041
- "inheritedFrom": {
3042
- "name": "FormfieldWrapper",
3043
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
3044
- }
2804
+ "inheritedFrom": {
2805
+ "name": "FormfieldWrapper",
2806
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2807
+ }
3045
2808
  },
3046
2809
  {
3047
2810
  "kind": "method",
@@ -3179,7 +2942,10 @@
3179
2942
  },
3180
2943
  {
3181
2944
  "name": "id",
3182
- "default": "`mdc-input-${uuidv4()}`",
2945
+ "type": {
2946
+ "text": "string"
2947
+ },
2948
+ "default": "''",
3183
2949
  "description": "The unique id of the input field. It is used to link the input field with the label.",
3184
2950
  "fieldName": "id",
3185
2951
  "inheritedFrom": {
@@ -3263,7 +3029,10 @@
3263
3029
  {
3264
3030
  "kind": "field",
3265
3031
  "name": "id",
3266
- "default": "`mdc-input-${uuidv4()}`",
3032
+ "type": {
3033
+ "text": "string"
3034
+ },
3035
+ "default": "''",
3267
3036
  "description": "The unique id of the input field. It is used to link the input field with the label.",
3268
3037
  "attribute": "id"
3269
3038
  },
@@ -3382,7 +3151,10 @@
3382
3151
  },
3383
3152
  {
3384
3153
  "name": "id",
3385
- "default": "`mdc-input-${uuidv4()}`",
3154
+ "type": {
3155
+ "text": "string"
3156
+ },
3157
+ "default": "''",
3386
3158
  "description": "The unique id of the input field. It is used to link the input field with the label.",
3387
3159
  "fieldName": "id"
3388
3160
  },
@@ -3444,42 +3216,288 @@
3444
3216
  },
3445
3217
  {
3446
3218
  "kind": "javascript-module",
3447
- "path": "components/icon/icon.component.js",
3219
+ "path": "components/divider/divider.component.js",
3448
3220
  "declarations": [
3449
3221
  {
3450
3222
  "kind": "class",
3451
- "description": "Icon component that dynamically displays SVG icons based on a valid name.\n\nThis component must be mounted within an `IconProvider` component.\n\nThe `IconProvider` defines the source URL from which icons are consumed.\nThe `Icon` component accepts a `name` attribute, which corresponds to\nthe file name of the icon to be loaded from the specified URL.\n\nOnce fetched, the icon will be rendered. If the fetching process is unsuccessful,\nno icon will be displayed.\n\nThe `size` attribute allows for dynamic sizing of the icon based on the provided\n`length-unit` attribute. This unit can either come from the `IconProvider`\nor can be overridden for each individual icon. For example:\nif `size = 1` and `length-unit = 'em'`, the dimensions of the icon will be\n`width: 1em; height: 1em`.\n\nRegarding accessibility, there are three types of icons: decorative, informative and informative standalone.\n\n### Decorative Icons\n- Decorative icons do not convey any essential information to the content of a page.\n- They should be hidden from screen readers (SR) to prevent confusion for users.\n- For decorative icons, an `aria-label` is not required, and the `role` will be set to null.\n\n### Informative Icons\n- Informative icons convey important information that is not adequately represented\n by surrounding text or components.\n- They provide valuable context and must be announced by assistive technologies.\n- For informative icons, an `aria-label` is required, and the `role` will be set to \"img\" automatically.\n- If an `aria-label` is provided, the role will be set to 'img'; if it is absent,\n the role will be unset.\n\n### Informative Standalone Icons\n- If an icon is informative (as mentioned above) and does not belong to a button (=standalone), it must\nhave a Tooltip that describes what it means.\n- For informative standalone icons, an `aria-label` & `tabindex=\"0\"` is required,\nand the `role` will be set to \"img\" automatically.\n- **Only use this when a Icon is standalone and is not part of a button or other interactive elements.**",
3452
- "name": "Icon",
3223
+ "description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
3224
+ "name": "Divider",
3453
3225
  "cssProperties": [
3454
3226
  {
3455
- "description": "Allows customization of the default fill color.",
3456
- "name": "--mdc-icon-fill-color"
3227
+ "description": "background color of the divider",
3228
+ "name": "--mdc-divider-background-color"
3457
3229
  },
3458
3230
  {
3459
- "description": "Allows customization of the icon size.",
3460
- "name": "--mdc-icon-size"
3231
+ "description": "width of the divider",
3232
+ "name": "--mdc-divider-width"
3461
3233
  },
3462
3234
  {
3463
- "description": "Allows customization of the icon border radius.",
3464
- "name": "--mdc-icon-border-radius"
3465
- }
3466
- ],
3467
- "members": [
3235
+ "description": "gradient of the horizontal divider",
3236
+ "name": "--mdc-divider-horizontal-gradient"
3237
+ },
3468
3238
  {
3469
- "kind": "field",
3470
- "name": "iconData",
3471
- "type": {
3472
- "text": "HTMLElement | undefined"
3473
- },
3474
- "privacy": "private"
3239
+ "description": "gradient of the vertical divider",
3240
+ "name": "--mdc-divider-vertical-gradient"
3475
3241
  },
3476
3242
  {
3477
- "kind": "field",
3478
- "name": "lengthUnitFromContext",
3479
- "type": {
3480
- "text": "string | undefined"
3481
- },
3482
- "privacy": "private"
3243
+ "description": "font size of label in the text divider",
3244
+ "name": "--mdc-divider-text-size"
3245
+ },
3246
+ {
3247
+ "description": "font color of label in the text divider",
3248
+ "name": "--mdc-divider-text-color"
3249
+ },
3250
+ {
3251
+ "description": "left and right margin of label in the text divider",
3252
+ "name": "--mdc-divider-text-margin"
3253
+ },
3254
+ {
3255
+ "description": "line height of label in the text divider",
3256
+ "name": "--mdc-divider-text-line-height"
3257
+ },
3258
+ {
3259
+ "description": "background color of the grabber button in rest state",
3260
+ "name": "--mdc-divider-grabber-button-background-color-normal"
3261
+ },
3262
+ {
3263
+ "description": "background color of the grabber button in hover state",
3264
+ "name": "--mdc-divider-grabber-button-background-color-hover"
3265
+ },
3266
+ {
3267
+ "description": "background color of the grabber button in pressed state",
3268
+ "name": "--mdc-divider-grabber-button-background-color-pressed"
3269
+ },
3270
+ {
3271
+ "description": "border color of the grabber button",
3272
+ "name": "--mdc-divider-grabber-button-border-color"
3273
+ },
3274
+ {
3275
+ "description": "border radius of the grabber button",
3276
+ "name": "--mdc-divider-grabber-button-border-radius"
3277
+ }
3278
+ ],
3279
+ "members": [
3280
+ {
3281
+ "kind": "field",
3282
+ "name": "orientation",
3283
+ "type": {
3284
+ "text": "DividerOrientation"
3285
+ },
3286
+ "description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
3287
+ "default": "horizontal",
3288
+ "attribute": "orientation",
3289
+ "reflects": true
3290
+ },
3291
+ {
3292
+ "kind": "field",
3293
+ "name": "variant",
3294
+ "type": {
3295
+ "text": "DividerVariant"
3296
+ },
3297
+ "description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
3298
+ "default": "solid",
3299
+ "attribute": "variant",
3300
+ "reflects": true
3301
+ },
3302
+ {
3303
+ "kind": "field",
3304
+ "name": "arrowDirection",
3305
+ "type": {
3306
+ "text": "Directions"
3307
+ },
3308
+ "description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
3309
+ "default": "'negative'",
3310
+ "attribute": "arrow-direction",
3311
+ "reflects": true
3312
+ },
3313
+ {
3314
+ "kind": "field",
3315
+ "name": "buttonPosition",
3316
+ "type": {
3317
+ "text": "Directions"
3318
+ },
3319
+ "description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
3320
+ "default": "'negative'",
3321
+ "attribute": "button-position",
3322
+ "reflects": true
3323
+ },
3324
+ {
3325
+ "kind": "method",
3326
+ "name": "setVariant",
3327
+ "privacy": "private",
3328
+ "parameters": [
3329
+ {
3330
+ "name": "variant",
3331
+ "type": {
3332
+ "text": "DividerVariant"
3333
+ },
3334
+ "description": "The variant to set."
3335
+ }
3336
+ ],
3337
+ "description": "Sets the variant attribute for the divider component.\nIf the provided variant is not included in the DIVIDER_VARIANT,\nit defaults to the value specified in DEFAULTS.VARIANT."
3338
+ },
3339
+ {
3340
+ "kind": "method",
3341
+ "name": "setOrientation",
3342
+ "privacy": "private",
3343
+ "parameters": [
3344
+ {
3345
+ "name": "orientation",
3346
+ "type": {
3347
+ "text": "DividerOrientation"
3348
+ },
3349
+ "description": "The orientation to set."
3350
+ }
3351
+ ],
3352
+ "description": "Sets the orientation attribute for the divider component.\nIf the provided orientation is not included in the DIVIDER_ORIENTATION,\nit defaults to the value specified in DEFAULTS.ORIENTATION."
3353
+ },
3354
+ {
3355
+ "kind": "method",
3356
+ "name": "ensureValidDirections",
3357
+ "privacy": "private",
3358
+ "description": "Sets the buttonPosition and arrowDirection attribute for the divider component.\nIf the provided buttonPosition and arrowDirection are not included in the DIRECTIONS,\nit defaults to the value specified in DIRECTIONS based on the ORIENTATION.",
3359
+ "parameters": [
3360
+ {
3361
+ "description": "The buttonPosition to set.",
3362
+ "name": "buttonPosition"
3363
+ },
3364
+ {
3365
+ "description": "The arrowDirection to set.",
3366
+ "name": "arrowDirection"
3367
+ }
3368
+ ]
3369
+ },
3370
+ {
3371
+ "kind": "method",
3372
+ "name": "setGrabberButton",
3373
+ "privacy": "private",
3374
+ "return": {
3375
+ "type": {
3376
+ "text": "void"
3377
+ }
3378
+ },
3379
+ "description": "Configures the grabber button within the divider.\n\n- Sets the `prefix-icon` attribute for the grabber button based\non the `arrow-direction` and `orientation` properties.\n\nThis method updates the DOM element dynamically if a grabber button is present."
3380
+ },
3381
+ {
3382
+ "kind": "method",
3383
+ "name": "getArrowIcon",
3384
+ "privacy": "private",
3385
+ "return": {
3386
+ "type": {
3387
+ "text": ""
3388
+ }
3389
+ },
3390
+ "description": "Determines the arrow icon based on the consumer-defined `arrowDirection`."
3391
+ },
3392
+ {
3393
+ "kind": "method",
3394
+ "name": "inferDividerType",
3395
+ "privacy": "private",
3396
+ "description": "Infers the type of divider based on the kind of slot present.",
3397
+ "parameters": [
3398
+ {
3399
+ "description": "default slot of divider",
3400
+ "name": "slot"
3401
+ }
3402
+ ]
3403
+ }
3404
+ ],
3405
+ "attributes": [
3406
+ {
3407
+ "name": "orientation",
3408
+ "type": {
3409
+ "text": "DividerOrientation"
3410
+ },
3411
+ "description": "Two orientations of divider\n- **horizontal**: A thin, horizontal line with 0.0625rem width.\n- **vertical**: A thin, vertical line with 0.0625rem width.\n\nNote: We do not support \"Vertical Text Divider\" as of now.",
3412
+ "default": "horizontal",
3413
+ "fieldName": "orientation"
3414
+ },
3415
+ {
3416
+ "name": "variant",
3417
+ "type": {
3418
+ "text": "DividerVariant"
3419
+ },
3420
+ "description": "Two variants of divider\n- **solid**: Solid line.\n- **gradient**: Gradient Line that fades on either sides of the divider.",
3421
+ "default": "solid",
3422
+ "fieldName": "variant"
3423
+ },
3424
+ {
3425
+ "name": "arrow-direction",
3426
+ "type": {
3427
+ "text": "Directions"
3428
+ },
3429
+ "description": "Direction of the arrow icon, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
3430
+ "default": "'negative'",
3431
+ "fieldName": "arrowDirection"
3432
+ },
3433
+ {
3434
+ "name": "button-position",
3435
+ "type": {
3436
+ "text": "Directions"
3437
+ },
3438
+ "description": "Position of the button, if applicable.\n- **positive**\n- **negative**\n\nNote: Positive and Negative directions are defined based on Cartesian plane.",
3439
+ "default": "'negative'",
3440
+ "fieldName": "buttonPosition"
3441
+ }
3442
+ ],
3443
+ "superclass": {
3444
+ "name": "Component",
3445
+ "module": "/src/models"
3446
+ },
3447
+ "tagName": "mdc-divider",
3448
+ "jsDoc": "/**\n * `mdc-divider` is a component that provides a line to separate and organize content.\n * It can also include a button or text positioned centrally, allowing users to interact with the layout.\n *\n * **Divider Orientation:**\n * - **Horizontal**: A thin, horizontal line.\n * - **Vertical**: A thin, vertical line.\n *\n * **Divider Variants:**\n * - **solid**: Solid line.\n * - **gradient**: Gradient Line.\n *\n * **Divider Types:**\n * - The type of divider is inferred based on the kind of slot present.\n * - **Primary**: A simple horizontal or vertical divider.\n * - **Text**: A horizontal divider with a text label in the center.\n * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n *\n * **Accessibility:**\n * - When the slot is replaced by an `mdc-button`:\n * - `aria-label` should be passed to the `mdc-button`.\n * - `aria-expanded` should be passed to the `mdc-button`.\n *\n * **Notes:**\n * - If the slot is replaced by an invalid tag name or contains multiple elements,\n * the divider defaults to the **Primary** type.\n * - To override the styles of the divider, use the provided CSS custom properties.\n *\n * @tagname mdc-divider\n *\n * @cssproperty --mdc-divider-background-color - background color of the divider\n * @cssproperty --mdc-divider-width - width of the divider\n * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider\n * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider\n * @cssproperty --mdc-divider-text-size - font size of label in the text divider\n * @cssproperty --mdc-divider-text-color - font color of label in the text divider\n * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider\n * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider\n * @cssproperty --mdc-divider-grabber-button-background-color-normal - background color of the grabber button\n * in rest state\n * @cssproperty --mdc-divider-grabber-button-background-color-hover - background color of the grabber button\n * in hover state\n * @cssproperty --mdc-divider-grabber-button-background-color-pressed - background color of the grabber button\n * in pressed state\n * @cssproperty --mdc-divider-grabber-button-border-color - border color of the grabber button\n * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button\n */",
3449
+ "customElement": true
3450
+ }
3451
+ ],
3452
+ "exports": [
3453
+ {
3454
+ "kind": "js",
3455
+ "name": "default",
3456
+ "declaration": {
3457
+ "name": "Divider",
3458
+ "module": "components/divider/divider.component.js"
3459
+ }
3460
+ }
3461
+ ]
3462
+ },
3463
+ {
3464
+ "kind": "javascript-module",
3465
+ "path": "components/icon/icon.component.js",
3466
+ "declarations": [
3467
+ {
3468
+ "kind": "class",
3469
+ "description": "Icon component that dynamically displays SVG icons based on a valid name.\n\nThis component must be mounted within an `IconProvider` component.\n\nThe `IconProvider` defines the source URL from which icons are consumed.\nThe `Icon` component accepts a `name` attribute, which corresponds to\nthe file name of the icon to be loaded from the specified URL.\n\nOnce fetched, the icon will be rendered. If the fetching process is unsuccessful,\nno icon will be displayed.\n\nThe `size` attribute allows for dynamic sizing of the icon based on the provided\n`length-unit` attribute. This unit can either come from the `IconProvider`\nor can be overridden for each individual icon. For example:\nif `size = 1` and `length-unit = 'em'`, the dimensions of the icon will be\n`width: 1em; height: 1em`.\n\nRegarding accessibility, there are three types of icons: decorative, informative and informative standalone.\n\n### Decorative Icons\n- Decorative icons do not convey any essential information to the content of a page.\n- They should be hidden from screen readers (SR) to prevent confusion for users.\n- For decorative icons, an `aria-label` is not required, and the `role` will be set to null.\n\n### Informative Icons\n- Informative icons convey important information that is not adequately represented\n by surrounding text or components.\n- They provide valuable context and must be announced by assistive technologies.\n- For informative icons, an `aria-label` is required, and the `role` will be set to \"img\" automatically.\n- If an `aria-label` is provided, the role will be set to 'img'; if it is absent,\n the role will be unset.\n\n### Informative Standalone Icons\n- If an icon is informative (as mentioned above) and does not belong to a button (=standalone), it must\nhave a Tooltip that describes what it means.\n- For informative standalone icons, an `aria-label` & `tabindex=\"0\"` is required,\nand the `role` will be set to \"img\" automatically.\n- **Only use this when a Icon is standalone and is not part of a button or other interactive elements.**",
3470
+ "name": "Icon",
3471
+ "cssProperties": [
3472
+ {
3473
+ "description": "Allows customization of the default fill color.",
3474
+ "name": "--mdc-icon-fill-color"
3475
+ },
3476
+ {
3477
+ "description": "Allows customization of the icon size.",
3478
+ "name": "--mdc-icon-size"
3479
+ },
3480
+ {
3481
+ "description": "Allows customization of the icon border radius.",
3482
+ "name": "--mdc-icon-border-radius"
3483
+ }
3484
+ ],
3485
+ "members": [
3486
+ {
3487
+ "kind": "field",
3488
+ "name": "iconData",
3489
+ "type": {
3490
+ "text": "HTMLElement | undefined"
3491
+ },
3492
+ "privacy": "private"
3493
+ },
3494
+ {
3495
+ "kind": "field",
3496
+ "name": "lengthUnitFromContext",
3497
+ "type": {
3498
+ "text": "string | undefined"
3499
+ },
3500
+ "privacy": "private"
3483
3501
  },
3484
3502
  {
3485
3503
  "kind": "field",
@@ -4199,6 +4217,20 @@
4199
4217
  }
4200
4218
  }
4201
4219
  },
4220
+ {
4221
+ "kind": "field",
4222
+ "name": "id",
4223
+ "type": {
4224
+ "text": "string"
4225
+ },
4226
+ "default": "`mdc-input-${uuidv4()}`",
4227
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
4228
+ "attribute": "id",
4229
+ "inheritedFrom": {
4230
+ "name": "FormfieldWrapper",
4231
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
4232
+ }
4233
+ },
4202
4234
  {
4203
4235
  "kind": "field",
4204
4236
  "name": "dataAriaLabel",
@@ -4287,17 +4319,6 @@
4287
4319
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
4288
4320
  }
4289
4321
  },
4290
- {
4291
- "kind": "field",
4292
- "name": "id",
4293
- "default": "`mdc-input-${uuidv4()}`",
4294
- "description": "The unique id of the input field. It is used to link the input field with the label.",
4295
- "attribute": "id",
4296
- "inheritedFrom": {
4297
- "name": "FormfieldWrapper",
4298
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
4299
- }
4300
- },
4301
4322
  {
4302
4323
  "kind": "field",
4303
4324
  "name": "helpTextType",
@@ -4649,7 +4670,10 @@
4649
4670
  },
4650
4671
  {
4651
4672
  "name": "id",
4652
- "default": "`mdc-input-${uuidv4()}`",
4673
+ "type": {
4674
+ "text": "string"
4675
+ },
4676
+ "default": "''",
4653
4677
  "description": "The unique id of the input field. It is used to link the input field with the label.",
4654
4678
  "fieldName": "id",
4655
4679
  "inheritedFrom": {
@@ -5512,16 +5536,442 @@
5512
5536
  "description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
5513
5537
  },
5514
5538
  {
5515
- "kind": "method",
5516
- "name": "updateTabIndex",
5517
- "privacy": "private",
5518
- "return": {
5519
- "type": {
5520
- "text": "void"
5521
- }
5539
+ "kind": "method",
5540
+ "name": "updateTabIndex",
5541
+ "privacy": "private",
5542
+ "return": {
5543
+ "type": {
5544
+ "text": "void"
5545
+ }
5546
+ },
5547
+ "description": "Update tab index for all radios in the same group (name)\nIf any radio group is checked, it will have a tab index of 0\nIf no radio group is checked, the first enabled radio will have a tab index of 0"
5548
+ },
5549
+ {
5550
+ "kind": "field",
5551
+ "name": "id",
5552
+ "type": {
5553
+ "text": "string"
5554
+ },
5555
+ "default": "`mdc-input-${uuidv4()}`",
5556
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
5557
+ "attribute": "id",
5558
+ "inheritedFrom": {
5559
+ "name": "FormfieldWrapper",
5560
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5561
+ }
5562
+ },
5563
+ {
5564
+ "kind": "field",
5565
+ "name": "name",
5566
+ "type": {
5567
+ "text": "string"
5568
+ },
5569
+ "default": "''",
5570
+ "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
5571
+ "attribute": "name",
5572
+ "reflects": true,
5573
+ "inheritedFrom": {
5574
+ "name": "NameMixin",
5575
+ "module": "utils/mixins/NameMixin.js"
5576
+ }
5577
+ },
5578
+ {
5579
+ "kind": "field",
5580
+ "name": "value",
5581
+ "type": {
5582
+ "text": "string"
5583
+ },
5584
+ "default": "''",
5585
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
5586
+ "attribute": "value",
5587
+ "reflects": true,
5588
+ "inheritedFrom": {
5589
+ "name": "ValueMixin",
5590
+ "module": "utils/mixins/ValueMixin.js"
5591
+ }
5592
+ },
5593
+ {
5594
+ "kind": "field",
5595
+ "name": "dataAriaLabel",
5596
+ "type": {
5597
+ "text": "string | null"
5598
+ },
5599
+ "default": "null",
5600
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
5601
+ "attribute": "data-aria-label",
5602
+ "reflects": true,
5603
+ "inheritedFrom": {
5604
+ "name": "DataAriaLabelMixin",
5605
+ "module": "utils/mixins/DataAriaLabelMixin.js"
5606
+ }
5607
+ },
5608
+ {
5609
+ "kind": "field",
5610
+ "name": "disabled",
5611
+ "type": {
5612
+ "text": "boolean"
5613
+ },
5614
+ "default": "false",
5615
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5616
+ "attribute": "disabled",
5617
+ "reflects": true,
5618
+ "inheritedFrom": {
5619
+ "name": "FormfieldWrapper",
5620
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5621
+ }
5622
+ },
5623
+ {
5624
+ "kind": "field",
5625
+ "name": "label",
5626
+ "type": {
5627
+ "text": "string | undefined"
5628
+ },
5629
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
5630
+ "attribute": "label",
5631
+ "reflects": true,
5632
+ "inheritedFrom": {
5633
+ "name": "FormfieldWrapper",
5634
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5635
+ }
5636
+ },
5637
+ {
5638
+ "kind": "field",
5639
+ "name": "requiredLabel",
5640
+ "type": {
5641
+ "text": "string | undefined"
5642
+ },
5643
+ "description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
5644
+ "attribute": "required-label",
5645
+ "reflects": true,
5646
+ "inheritedFrom": {
5647
+ "name": "FormfieldWrapper",
5648
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5649
+ }
5650
+ },
5651
+ {
5652
+ "kind": "field",
5653
+ "name": "helpTextType",
5654
+ "type": {
5655
+ "text": "ValidationType"
5656
+ },
5657
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
5658
+ "attribute": "help-text-type",
5659
+ "reflects": true,
5660
+ "inheritedFrom": {
5661
+ "name": "FormfieldWrapper",
5662
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5663
+ }
5664
+ },
5665
+ {
5666
+ "kind": "field",
5667
+ "name": "helpText",
5668
+ "type": {
5669
+ "text": "string | undefined"
5670
+ },
5671
+ "description": "The help text that is displayed below the input field.",
5672
+ "attribute": "help-text",
5673
+ "reflects": true,
5674
+ "inheritedFrom": {
5675
+ "name": "FormfieldWrapper",
5676
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5677
+ }
5678
+ },
5679
+ {
5680
+ "kind": "method",
5681
+ "name": "renderLabelElement",
5682
+ "privacy": "protected",
5683
+ "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
5684
+ "return": {
5685
+ "type": {
5686
+ "text": ""
5687
+ }
5688
+ },
5689
+ "inheritedFrom": {
5690
+ "name": "FormfieldWrapper",
5691
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5692
+ }
5693
+ },
5694
+ {
5695
+ "kind": "method",
5696
+ "name": "renderRequiredLabel",
5697
+ "privacy": "protected",
5698
+ "inheritedFrom": {
5699
+ "name": "FormfieldWrapper",
5700
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5701
+ }
5702
+ },
5703
+ {
5704
+ "kind": "method",
5705
+ "name": "renderHelpTextIcon",
5706
+ "privacy": "protected",
5707
+ "description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
5708
+ "return": {
5709
+ "type": {
5710
+ "text": ""
5711
+ }
5712
+ },
5713
+ "inheritedFrom": {
5714
+ "name": "FormfieldWrapper",
5715
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5716
+ }
5717
+ },
5718
+ {
5719
+ "kind": "method",
5720
+ "name": "renderHelpText",
5721
+ "privacy": "protected",
5722
+ "description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
5723
+ "return": {
5724
+ "type": {
5725
+ "text": ""
5726
+ }
5727
+ },
5728
+ "inheritedFrom": {
5729
+ "name": "FormfieldWrapper",
5730
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5731
+ }
5732
+ },
5733
+ {
5734
+ "kind": "method",
5735
+ "name": "renderLabel",
5736
+ "privacy": "protected",
5737
+ "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
5738
+ "return": {
5739
+ "type": {
5740
+ "text": ""
5741
+ }
5742
+ },
5743
+ "inheritedFrom": {
5744
+ "name": "FormfieldWrapper",
5745
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5746
+ }
5747
+ },
5748
+ {
5749
+ "kind": "method",
5750
+ "name": "renderHelperText",
5751
+ "privacy": "protected",
5752
+ "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
5753
+ "return": {
5754
+ "type": {
5755
+ "text": ""
5756
+ }
5757
+ },
5758
+ "inheritedFrom": {
5759
+ "name": "FormfieldWrapper",
5760
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5761
+ }
5762
+ }
5763
+ ],
5764
+ "events": [
5765
+ {
5766
+ "type": {
5767
+ "text": "EventConstructor"
5768
+ }
5769
+ },
5770
+ {
5771
+ "description": "(React: onChange) Event that gets dispatched when the radio state changes.",
5772
+ "name": "change",
5773
+ "reactName": "onChange",
5774
+ "eventName": "ChangeEvent"
5775
+ },
5776
+ {
5777
+ "description": "(React: onFocus) Event that gets dispatched when the radio receives focus.",
5778
+ "name": "focus",
5779
+ "reactName": "onFocus",
5780
+ "eventName": "FocusEvent"
5781
+ }
5782
+ ],
5783
+ "attributes": [
5784
+ {
5785
+ "name": "checked",
5786
+ "type": {
5787
+ "text": "boolean"
5788
+ },
5789
+ "default": "false",
5790
+ "description": "Determines whether the radio is selected or unselected.",
5791
+ "fieldName": "checked"
5792
+ },
5793
+ {
5794
+ "name": "readonly",
5795
+ "type": {
5796
+ "text": "boolean"
5797
+ },
5798
+ "default": "false",
5799
+ "description": "Determines whether the radio is read-only.",
5800
+ "fieldName": "readonly"
5801
+ },
5802
+ {
5803
+ "name": "name",
5804
+ "type": {
5805
+ "text": "string"
5806
+ },
5807
+ "default": "''",
5808
+ "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
5809
+ "fieldName": "name",
5810
+ "inheritedFrom": {
5811
+ "name": "NameMixin",
5812
+ "module": "src/utils/mixins/NameMixin.ts"
5813
+ }
5814
+ },
5815
+ {
5816
+ "name": "value",
5817
+ "type": {
5818
+ "text": "string"
5819
+ },
5820
+ "default": "''",
5821
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
5822
+ "fieldName": "value",
5823
+ "inheritedFrom": {
5824
+ "name": "ValueMixin",
5825
+ "module": "src/utils/mixins/ValueMixin.ts"
5826
+ }
5827
+ },
5828
+ {
5829
+ "name": "data-aria-label",
5830
+ "type": {
5831
+ "text": "string | null"
5832
+ },
5833
+ "default": "null",
5834
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
5835
+ "fieldName": "dataAriaLabel",
5836
+ "inheritedFrom": {
5837
+ "name": "DataAriaLabelMixin",
5838
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
5839
+ }
5840
+ },
5841
+ {
5842
+ "name": "disabled",
5843
+ "type": {
5844
+ "text": "boolean"
5845
+ },
5846
+ "default": "false",
5847
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5848
+ "fieldName": "disabled",
5849
+ "inheritedFrom": {
5850
+ "name": "FormfieldWrapper",
5851
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5852
+ }
5853
+ },
5854
+ {
5855
+ "name": "label",
5856
+ "type": {
5857
+ "text": "string | undefined"
5858
+ },
5859
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
5860
+ "fieldName": "label",
5861
+ "inheritedFrom": {
5862
+ "name": "FormfieldWrapper",
5863
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5864
+ }
5865
+ },
5866
+ {
5867
+ "name": "required-label",
5868
+ "type": {
5869
+ "text": "string | undefined"
5870
+ },
5871
+ "description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
5872
+ "fieldName": "requiredLabel",
5873
+ "inheritedFrom": {
5874
+ "name": "FormfieldWrapper",
5875
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5876
+ }
5877
+ },
5878
+ {
5879
+ "name": "id",
5880
+ "type": {
5881
+ "text": "string"
5882
+ },
5883
+ "default": "''",
5884
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
5885
+ "fieldName": "id",
5886
+ "inheritedFrom": {
5887
+ "name": "FormfieldWrapper",
5888
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5889
+ }
5890
+ },
5891
+ {
5892
+ "name": "help-text-type",
5893
+ "type": {
5894
+ "text": "ValidationType"
5895
+ },
5896
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
5897
+ "fieldName": "helpTextType",
5898
+ "inheritedFrom": {
5899
+ "name": "FormfieldWrapper",
5900
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5901
+ }
5902
+ },
5903
+ {
5904
+ "name": "help-text",
5905
+ "type": {
5906
+ "text": "string | undefined"
5522
5907
  },
5523
- "description": "Update tab index for all radios in the same group (name)\nIf any radio group is checked, it will have a tab index of 0\nIf no radio group is checked, the first enabled radio will have a tab index of 0"
5908
+ "description": "The help text that is displayed below the input field.",
5909
+ "fieldName": "helpText",
5910
+ "inheritedFrom": {
5911
+ "name": "FormfieldWrapper",
5912
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5913
+ }
5914
+ }
5915
+ ],
5916
+ "mixins": [
5917
+ {
5918
+ "name": "NameMixin",
5919
+ "module": "/src/utils/mixins/NameMixin"
5920
+ },
5921
+ {
5922
+ "name": "ValueMixin",
5923
+ "module": "/src/utils/mixins/ValueMixin"
5524
5924
  },
5925
+ {
5926
+ "name": "DataAriaLabelMixin",
5927
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
5928
+ }
5929
+ ],
5930
+ "superclass": {
5931
+ "name": "FormfieldWrapper",
5932
+ "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
5933
+ },
5934
+ "tagName": "mdc-radio",
5935
+ "jsDoc": "/**\n * Radio allow users to select single options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selection in lists.\n *\n * A radio component contains an optional label, optional info icon and an optional helper text.\n * @dependency mdc-formfieldwrapper\n *\n * @tagname mdc-radio\n *\n * @event change - (React: onChange) Event that gets dispatched when the radio state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.\n *\n * @cssproperty --mdc-radio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-radio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-radio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-radio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-radio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-radio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-radio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-radio-control-inactive-hover - color of the radio button when inactive and hovered\n * @cssproperty --mdc-radio-control-inactive-pressed-color - color of the radio button when inactive and pressed\n * @cssproperty --mdc-radio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-radio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-radio-control-active-hover-color - color of the radio button when active and hovered\n * @cssproperty --mdc-radio-control-active-pressed-color - color of the radio button when active and pressed\n * @cssproperty --mdc-radio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n *\n */",
5936
+ "customElement": true,
5937
+ "slots": [
5938
+ {
5939
+ "description": "slot to add the label info icon",
5940
+ "name": "label-info",
5941
+ "inheritedFrom": {
5942
+ "name": "FormfieldWrapper",
5943
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5944
+ }
5945
+ }
5946
+ ]
5947
+ }
5948
+ ],
5949
+ "exports": [
5950
+ {
5951
+ "kind": "js",
5952
+ "name": "default",
5953
+ "declaration": {
5954
+ "name": "Radio",
5955
+ "module": "components/radio/radio.component.js"
5956
+ }
5957
+ }
5958
+ ]
5959
+ },
5960
+ {
5961
+ "kind": "javascript-module",
5962
+ "path": "components/radiogroup/radiogroup.component.js",
5963
+ "declarations": [
5964
+ {
5965
+ "kind": "class",
5966
+ "description": "`mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\nIt can have a header text and a description. It enables users to select a single option from a set of options.\nIt is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.",
5967
+ "name": "RadioGroup",
5968
+ "cssProperties": [
5969
+ {
5970
+ "description": "color of the description text",
5971
+ "name": "--mdc-radiogroup-description-text-normal"
5972
+ }
5973
+ ],
5974
+ "members": [
5525
5975
  {
5526
5976
  "kind": "field",
5527
5977
  "name": "name",
@@ -5537,21 +5987,6 @@
5537
5987
  "module": "utils/mixins/NameMixin.js"
5538
5988
  }
5539
5989
  },
5540
- {
5541
- "kind": "field",
5542
- "name": "value",
5543
- "type": {
5544
- "text": "string"
5545
- },
5546
- "default": "''",
5547
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
5548
- "attribute": "value",
5549
- "reflects": true,
5550
- "inheritedFrom": {
5551
- "name": "ValueMixin",
5552
- "module": "utils/mixins/ValueMixin.js"
5553
- }
5554
- },
5555
5990
  {
5556
5991
  "kind": "field",
5557
5992
  "name": "dataAriaLabel",
@@ -5569,14 +6004,13 @@
5569
6004
  },
5570
6005
  {
5571
6006
  "kind": "field",
5572
- "name": "disabled",
6007
+ "name": "id",
5573
6008
  "type": {
5574
- "text": "boolean"
6009
+ "text": "string"
5575
6010
  },
5576
- "default": "false",
5577
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5578
- "attribute": "disabled",
5579
- "reflects": true,
6011
+ "default": "''",
6012
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
6013
+ "attribute": "id",
5580
6014
  "inheritedFrom": {
5581
6015
  "name": "FormfieldWrapper",
5582
6016
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
@@ -5584,13 +6018,14 @@
5584
6018
  },
5585
6019
  {
5586
6020
  "kind": "field",
5587
- "name": "label",
6021
+ "name": "helpTextType",
5588
6022
  "type": {
5589
- "text": "string | undefined"
6023
+ "text": "ValidationType"
5590
6024
  },
5591
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
5592
- "attribute": "label",
6025
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
6026
+ "attribute": "help-text-type",
5593
6027
  "reflects": true,
6028
+ "default": "undefined as unknown",
5594
6029
  "inheritedFrom": {
5595
6030
  "name": "FormfieldWrapper",
5596
6031
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
@@ -5598,12 +6033,13 @@
5598
6033
  },
5599
6034
  {
5600
6035
  "kind": "field",
5601
- "name": "requiredLabel",
6036
+ "name": "disabled",
5602
6037
  "type": {
5603
- "text": "string | undefined"
6038
+ "text": "boolean"
5604
6039
  },
5605
- "description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
5606
- "attribute": "required-label",
6040
+ "default": "undefined as unknown",
6041
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6042
+ "attribute": "disabled",
5607
6043
  "reflects": true,
5608
6044
  "inheritedFrom": {
5609
6045
  "name": "FormfieldWrapper",
@@ -5612,10 +6048,13 @@
5612
6048
  },
5613
6049
  {
5614
6050
  "kind": "field",
5615
- "name": "id",
5616
- "default": "`mdc-input-${uuidv4()}`",
5617
- "description": "The unique id of the input field. It is used to link the input field with the label.",
5618
- "attribute": "id",
6051
+ "name": "label",
6052
+ "type": {
6053
+ "text": "string | undefined"
6054
+ },
6055
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
6056
+ "attribute": "label",
6057
+ "reflects": true,
5619
6058
  "inheritedFrom": {
5620
6059
  "name": "FormfieldWrapper",
5621
6060
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
@@ -5623,12 +6062,12 @@
5623
6062
  },
5624
6063
  {
5625
6064
  "kind": "field",
5626
- "name": "helpTextType",
6065
+ "name": "requiredLabel",
5627
6066
  "type": {
5628
- "text": "ValidationType"
6067
+ "text": "string | undefined"
5629
6068
  },
5630
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
5631
- "attribute": "help-text-type",
6069
+ "description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
6070
+ "attribute": "required-label",
5632
6071
  "reflects": true,
5633
6072
  "inheritedFrom": {
5634
6073
  "name": "FormfieldWrapper",
@@ -5734,44 +6173,20 @@
5734
6173
  }
5735
6174
  }
5736
6175
  ],
5737
- "events": [
5738
- {
5739
- "type": {
5740
- "text": "EventConstructor"
5741
- }
5742
- },
5743
- {
5744
- "description": "(React: onChange) Event that gets dispatched when the radio state changes.",
5745
- "name": "change",
5746
- "reactName": "onChange",
5747
- "eventName": "ChangeEvent"
5748
- },
6176
+ "mixins": [
5749
6177
  {
5750
- "description": "(React: onFocus) Event that gets dispatched when the radio receives focus.",
5751
- "name": "focus",
5752
- "reactName": "onFocus",
5753
- "eventName": "FocusEvent"
6178
+ "name": "NameMixin",
6179
+ "module": "/src/utils/mixins/NameMixin"
5754
6180
  }
5755
6181
  ],
6182
+ "superclass": {
6183
+ "name": "FormfieldGroup",
6184
+ "module": "/src/components/formfieldgroup"
6185
+ },
6186
+ "tagName": "mdc-radiogroup",
6187
+ "jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
6188
+ "customElement": true,
5756
6189
  "attributes": [
5757
- {
5758
- "name": "checked",
5759
- "type": {
5760
- "text": "boolean"
5761
- },
5762
- "default": "false",
5763
- "description": "Determines whether the radio is selected or unselected.",
5764
- "fieldName": "checked"
5765
- },
5766
- {
5767
- "name": "readonly",
5768
- "type": {
5769
- "text": "boolean"
5770
- },
5771
- "default": "false",
5772
- "description": "Determines whether the radio is read-only.",
5773
- "fieldName": "readonly"
5774
- },
5775
6190
  {
5776
6191
  "name": "name",
5777
6192
  "type": {
@@ -5785,19 +6200,6 @@
5785
6200
  "module": "src/utils/mixins/NameMixin.ts"
5786
6201
  }
5787
6202
  },
5788
- {
5789
- "name": "value",
5790
- "type": {
5791
- "text": "string"
5792
- },
5793
- "default": "''",
5794
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
5795
- "fieldName": "value",
5796
- "inheritedFrom": {
5797
- "name": "ValueMixin",
5798
- "module": "src/utils/mixins/ValueMixin.ts"
5799
- }
5800
- },
5801
6203
  {
5802
6204
  "name": "data-aria-label",
5803
6205
  "type": {
@@ -5850,7 +6252,10 @@
5850
6252
  },
5851
6253
  {
5852
6254
  "name": "id",
5853
- "default": "`mdc-input-${uuidv4()}`",
6255
+ "type": {
6256
+ "text": "string"
6257
+ },
6258
+ "default": "''",
5854
6259
  "description": "The unique id of the input field. It is used to link the input field with the label.",
5855
6260
  "fieldName": "id",
5856
6261
  "inheritedFrom": {
@@ -5883,28 +6288,15 @@
5883
6288
  }
5884
6289
  }
5885
6290
  ],
5886
- "mixins": [
5887
- {
5888
- "name": "NameMixin",
5889
- "module": "/src/utils/mixins/NameMixin"
5890
- },
6291
+ "slots": [
5891
6292
  {
5892
- "name": "ValueMixin",
5893
- "module": "/src/utils/mixins/ValueMixin"
6293
+ "description": "This is a default slot for checkbox or toggle components.",
6294
+ "name": "default",
6295
+ "inheritedFrom": {
6296
+ "name": "FormfieldGroup",
6297
+ "module": "src/components/formfieldgroup/formfieldgroup.component.ts"
6298
+ }
5894
6299
  },
5895
- {
5896
- "name": "DataAriaLabelMixin",
5897
- "module": "/src/utils/mixins/DataAriaLabelMixin"
5898
- }
5899
- ],
5900
- "superclass": {
5901
- "name": "FormfieldWrapper",
5902
- "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
5903
- },
5904
- "tagName": "mdc-radio",
5905
- "jsDoc": "/**\n * Radio allow users to select single options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selection in lists.\n *\n * A radio component contains an optional label, optional info icon and an optional helper text.\n * @dependency mdc-formfieldwrapper\n *\n * @tagname mdc-radio\n *\n * @event change - (React: onChange) Event that gets dispatched when the radio state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.\n *\n * @cssproperty --mdc-radio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-radio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-radio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-radio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-radio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-radio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-radio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-radio-control-inactive-hover - color of the radio button when inactive and hovered\n * @cssproperty --mdc-radio-control-inactive-pressed-color - color of the radio button when inactive and pressed\n * @cssproperty --mdc-radio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-radio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-radio-control-active-hover-color - color of the radio button when active and hovered\n * @cssproperty --mdc-radio-control-active-pressed-color - color of the radio button when active and pressed\n * @cssproperty --mdc-radio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n *\n */",
5906
- "customElement": true,
5907
- "slots": [
5908
6300
  {
5909
6301
  "description": "slot to add the label info icon",
5910
6302
  "name": "label-info",
@@ -5921,8 +6313,8 @@
5921
6313
  "kind": "js",
5922
6314
  "name": "default",
5923
6315
  "declaration": {
5924
- "name": "Radio",
5925
- "module": "components/radio/radio.component.js"
6316
+ "name": "RadioGroup",
6317
+ "module": "components/radiogroup/radiogroup.component.js"
5926
6318
  }
5927
6319
  }
5928
6320
  ]
@@ -7115,6 +7507,20 @@
7115
7507
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7116
7508
  }
7117
7509
  },
7510
+ {
7511
+ "kind": "field",
7512
+ "name": "id",
7513
+ "type": {
7514
+ "text": "string"
7515
+ },
7516
+ "default": "`mdc-input-${uuidv4()}`",
7517
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
7518
+ "attribute": "id",
7519
+ "inheritedFrom": {
7520
+ "name": "FormfieldWrapper",
7521
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7522
+ }
7523
+ },
7118
7524
  {
7119
7525
  "kind": "field",
7120
7526
  "name": "name",
@@ -7203,17 +7609,6 @@
7203
7609
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7204
7610
  }
7205
7611
  },
7206
- {
7207
- "kind": "field",
7208
- "name": "id",
7209
- "default": "`mdc-input-${uuidv4()}`",
7210
- "description": "The unique id of the input field. It is used to link the input field with the label.",
7211
- "attribute": "id",
7212
- "inheritedFrom": {
7213
- "name": "FormfieldWrapper",
7214
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7215
- }
7216
- },
7217
7612
  {
7218
7613
  "kind": "field",
7219
7614
  "name": "helpText",
@@ -7429,7 +7824,10 @@
7429
7824
  },
7430
7825
  {
7431
7826
  "name": "id",
7432
- "default": "`mdc-input-${uuidv4()}`",
7827
+ "type": {
7828
+ "text": "string"
7829
+ },
7830
+ "default": "''",
7433
7831
  "description": "The unique id of the input field. It is used to link the input field with the label.",
7434
7832
  "fieldName": "id",
7435
7833
  "inheritedFrom": {