@momentum-design/components 0.24.1 → 0.25.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 (39) hide show
  1. package/dist/browser/index.js +94 -80
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/checkbox/checkbox.component.d.ts +2 -2
  4. package/dist/components/checkbox/checkbox.component.js +5 -6
  5. package/dist/components/formfieldgroup/formfieldgroup.component.d.ts +43 -0
  6. package/dist/components/formfieldgroup/formfieldgroup.component.js +78 -0
  7. package/dist/components/formfieldgroup/formfieldgroup.constants.d.ts +10 -0
  8. package/dist/components/formfieldgroup/formfieldgroup.constants.js +11 -0
  9. package/dist/components/{checkboxgroup/checkboxgroup.styles.js → formfieldgroup/formfieldgroup.styles.js} +4 -1
  10. package/dist/components/formfieldgroup/index.d.ts +8 -0
  11. package/dist/components/formfieldgroup/index.js +5 -0
  12. package/dist/components/formfieldwrapper/formfieldwrapper.component.js +4 -3
  13. package/dist/components/formfieldwrapper/formfieldwrapper.constants.d.ts +1 -0
  14. package/dist/components/formfieldwrapper/formfieldwrapper.constants.js +1 -0
  15. package/dist/components/input/input.component.js +2 -0
  16. package/dist/components/radio/radio.component.js +2 -0
  17. package/dist/components/toggle/toggle.component.d.ts +2 -0
  18. package/dist/components/toggle/toggle.component.js +4 -0
  19. package/dist/custom-elements.json +1326 -1287
  20. package/dist/index.d.ts +2 -2
  21. package/dist/index.js +2 -2
  22. package/dist/react/checkbox/index.d.ts +2 -0
  23. package/dist/react/checkbox/index.js +2 -0
  24. package/dist/react/formfieldgroup/index.d.ts +23 -0
  25. package/dist/react/formfieldgroup/index.js +32 -0
  26. package/dist/react/index.d.ts +3 -3
  27. package/dist/react/index.js +3 -3
  28. package/dist/react/toggle/index.d.ts +2 -0
  29. package/dist/react/toggle/index.js +2 -0
  30. package/package.json +1 -1
  31. package/dist/components/checkboxgroup/checkboxgroup.component.d.ts +0 -43
  32. package/dist/components/checkboxgroup/checkboxgroup.component.js +0 -94
  33. package/dist/components/checkboxgroup/checkboxgroup.constants.d.ts +0 -2
  34. package/dist/components/checkboxgroup/checkboxgroup.constants.js +0 -3
  35. package/dist/components/checkboxgroup/index.d.ts +0 -8
  36. package/dist/components/checkboxgroup/index.js +0 -5
  37. package/dist/react/checkboxgroup/index.d.ts +0 -17
  38. package/dist/react/checkboxgroup/index.js +0 -26
  39. /package/dist/components/{checkboxgroup/checkboxgroup.styles.d.ts → formfieldgroup/formfieldgroup.styles.d.ts} +0 -0
@@ -2006,7 +2006,7 @@
2006
2006
  "declarations": [
2007
2007
  {
2008
2008
  "kind": "class",
2009
- "description": "Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selections in lists.\n\nA checkbox component contains an optional label and an optional helper text.",
2009
+ "description": "Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selections in lists.\n\nA checkbox component contains an optional label and an optional helper text.\n\nTo create a group of checkboxes, use the FormFieldGroup component.",
2010
2010
  "name": "Checkbox",
2011
2011
  "cssProperties": [
2012
2012
  {
@@ -2514,7 +2514,7 @@
2514
2514
  "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
2515
2515
  },
2516
2516
  "tagName": "mdc-checkbox",
2517
- "jsDoc": "/**\n * Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selections in lists.\n *\n * A checkbox component contains an optional label and an optional helper text.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-checkbox\n *\n * @cssproperty --mdc-checkbox-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-checkbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-checkbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-checkbox-checked-background-color-hover - Background color for a selected checkbox when hovered.\n * @cssproperty --mdc-checkbox-checked-pressed-icon-color - Background color for a selected checkbox when pressed.\n * @cssproperty --mdc-checkbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-checkbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-color - Icon color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-pressed-icon-color - Background color for a selected checkbox when pressed.\n */",
2517
+ "jsDoc": "/**\n * Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selections in lists.\n *\n * A checkbox component contains an optional label and an optional helper text.\n *\n * To create a group of checkboxes, use the FormFieldGroup component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-checkbox\n *\n * @cssproperty --mdc-checkbox-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-checkbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-checkbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-checkbox-checked-background-color-hover - Background color for a selected checkbox when hovered.\n * @cssproperty --mdc-checkbox-checked-pressed-icon-color - Background color for a selected checkbox when pressed.\n * @cssproperty --mdc-checkbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-checkbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-color - Icon color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-pressed-icon-color - Background color for a selected checkbox when pressed.\n */",
2518
2518
  "customElement": true,
2519
2519
  "slots": [
2520
2520
  {
@@ -2539,112 +2539,6 @@
2539
2539
  }
2540
2540
  ]
2541
2541
  },
2542
- {
2543
- "kind": "javascript-module",
2544
- "path": "components/checkboxgroup/checkboxgroup.component.js",
2545
- "declarations": [
2546
- {
2547
- "kind": "class",
2548
- "description": "`mdc-checkboxgroup` component allows you to select multiple options from a predefined list.\nIt is commonly used in forms where multiple selections are required, such as preferences, filters, or categories.\n\nA checkbox group typically consists of multiple checkboxes grouped together,\neach representing a selectable option. You can check or uncheck options based on their preferences.",
2549
- "name": "Checkboxgroup",
2550
- "slots": [
2551
- {
2552
- "description": "This is a help text slot.",
2553
- "name": "help-text"
2554
- },
2555
- {
2556
- "description": "This is a default slot for children.",
2557
- "name": "default"
2558
- }
2559
- ],
2560
- "members": [
2561
- {
2562
- "kind": "field",
2563
- "name": "headerText",
2564
- "type": {
2565
- "text": "string | undefined"
2566
- },
2567
- "description": "The header text of the checkboxgroup.",
2568
- "attribute": "header-text"
2569
- },
2570
- {
2571
- "kind": "method",
2572
- "name": "handleKeyDown",
2573
- "privacy": "private",
2574
- "return": {
2575
- "type": {
2576
- "text": "void"
2577
- }
2578
- },
2579
- "parameters": [
2580
- {
2581
- "name": "event",
2582
- "type": {
2583
- "text": "KeyboardEvent"
2584
- },
2585
- "description": "The KeyboardEvent"
2586
- }
2587
- ],
2588
- "description": "Handles the keydown event on the parent checkbox in the checkboxgroup.\nWhen the user presses the down arrow key, the focus is moved to the next checkbox in the checkboxgroup.\nWhen the user presses the up arrow key, the focus is moved to the previous checkbox in the checkboxgroup."
2589
- },
2590
- {
2591
- "kind": "method",
2592
- "name": "navigate",
2593
- "privacy": "private",
2594
- "return": {
2595
- "type": {
2596
- "text": "void"
2597
- }
2598
- },
2599
- "parameters": [
2600
- {
2601
- "name": "origin",
2602
- "type": {
2603
- "text": "EventTarget | null"
2604
- },
2605
- "description": "The element that triggered the event."
2606
- },
2607
- {
2608
- "name": "direction",
2609
- "type": {
2610
- "text": "number"
2611
- },
2612
- "description": "The direction of navigation, either -1 or 1."
2613
- }
2614
- ],
2615
- "description": "Navigate to the next or previous checkbox in the checkboxgroup based on the given origin and direction."
2616
- }
2617
- ],
2618
- "attributes": [
2619
- {
2620
- "name": "header-text",
2621
- "type": {
2622
- "text": "string | undefined"
2623
- },
2624
- "description": "The header text of the checkboxgroup.",
2625
- "fieldName": "headerText"
2626
- }
2627
- ],
2628
- "superclass": {
2629
- "name": "Component",
2630
- "module": "/src/models"
2631
- },
2632
- "tagName": "mdc-checkboxgroup",
2633
- "jsDoc": "/**\n * `mdc-checkboxgroup` component allows you to select multiple options from a predefined list.\n * It is commonly used in forms where multiple selections are required, such as preferences, filters, or categories.\n *\n * A checkbox group typically consists of multiple checkboxes grouped together,\n * each representing a selectable option. You can check or uncheck options based on their preferences.\n *\n * @dependency mdc-text\n *\n * @tagname mdc-checkboxgroup\n *\n * @slot help-text - This is a help text slot.\n * @slot default - This is a default slot for children.\n */",
2634
- "customElement": true
2635
- }
2636
- ],
2637
- "exports": [
2638
- {
2639
- "kind": "js",
2640
- "name": "default",
2641
- "declaration": {
2642
- "name": "Checkboxgroup",
2643
- "module": "components/checkboxgroup/checkboxgroup.component.js"
2644
- }
2645
- }
2646
- ]
2647
- },
2648
2542
  {
2649
2543
  "kind": "javascript-module",
2650
2544
  "path": "components/divider/divider.component.js",
@@ -2875,6 +2769,151 @@
2875
2769
  }
2876
2770
  ]
2877
2771
  },
2772
+ {
2773
+ "kind": "javascript-module",
2774
+ "path": "components/formfieldgroup/formfieldgroup.component.js",
2775
+ "declarations": [
2776
+ {
2777
+ "kind": "class",
2778
+ "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.",
2779
+ "name": "FormfieldGroup",
2780
+ "slots": [
2781
+ {
2782
+ "description": "This is a default slot for checkbox or toggle components.",
2783
+ "name": "default"
2784
+ }
2785
+ ],
2786
+ "members": [
2787
+ {
2788
+ "kind": "field",
2789
+ "name": "headerText",
2790
+ "type": {
2791
+ "text": "string | undefined"
2792
+ },
2793
+ "description": "The header text of the group.",
2794
+ "attribute": "header-text",
2795
+ "reflects": true
2796
+ },
2797
+ {
2798
+ "kind": "field",
2799
+ "name": "descriptionText",
2800
+ "type": {
2801
+ "text": "string | undefined"
2802
+ },
2803
+ "description": "The description of the group.",
2804
+ "attribute": "description-text",
2805
+ "reflects": true
2806
+ },
2807
+ {
2808
+ "kind": "method",
2809
+ "name": "renderText",
2810
+ "privacy": "private",
2811
+ "return": {
2812
+ "type": {
2813
+ "text": "TemplateResult | typeof nothing"
2814
+ }
2815
+ },
2816
+ "parameters": [
2817
+ {
2818
+ "name": "type",
2819
+ "type": {
2820
+ "text": "TextType"
2821
+ }
2822
+ },
2823
+ {
2824
+ "name": "id",
2825
+ "type": {
2826
+ "text": "string"
2827
+ }
2828
+ },
2829
+ {
2830
+ "name": "cssPart",
2831
+ "type": {
2832
+ "text": "string"
2833
+ }
2834
+ },
2835
+ {
2836
+ "name": "value",
2837
+ "optional": true,
2838
+ "type": {
2839
+ "text": "string"
2840
+ }
2841
+ }
2842
+ ]
2843
+ },
2844
+ {
2845
+ "kind": "field",
2846
+ "name": "dataAriaLabel",
2847
+ "type": {
2848
+ "text": "string | null"
2849
+ },
2850
+ "default": "null",
2851
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
2852
+ "attribute": "data-aria-label",
2853
+ "reflects": true,
2854
+ "inheritedFrom": {
2855
+ "name": "DataAriaLabelMixin",
2856
+ "module": "utils/mixins/DataAriaLabelMixin.js"
2857
+ }
2858
+ }
2859
+ ],
2860
+ "attributes": [
2861
+ {
2862
+ "name": "header-text",
2863
+ "type": {
2864
+ "text": "string | undefined"
2865
+ },
2866
+ "description": "The header text of the group.",
2867
+ "fieldName": "headerText"
2868
+ },
2869
+ {
2870
+ "name": "description-text",
2871
+ "type": {
2872
+ "text": "string | undefined"
2873
+ },
2874
+ "description": "The description of the group.",
2875
+ "fieldName": "descriptionText"
2876
+ },
2877
+ {
2878
+ "name": "data-aria-label",
2879
+ "type": {
2880
+ "text": "string | null"
2881
+ },
2882
+ "default": "null",
2883
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
2884
+ "fieldName": "dataAriaLabel",
2885
+ "inheritedFrom": {
2886
+ "name": "DataAriaLabelMixin",
2887
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
2888
+ }
2889
+ }
2890
+ ],
2891
+ "mixins": [
2892
+ {
2893
+ "name": "DataAriaLabelMixin",
2894
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
2895
+ }
2896
+ ],
2897
+ "superclass": {
2898
+ "name": "Component",
2899
+ "module": "/src/models"
2900
+ },
2901
+ "tagName": "mdc-formfieldgroup",
2902
+ "jsDoc": "/**\n * `mdc-formfieldgroup` component, groups the form field components together.\n * All passed in children will have a gap of 12px (0.75rem) each applied.\n *\n * This component is specifically for creating a `checkbox` group and a `toggle` group component.\n * For the radiogroup use the RadioGroup component instead.\n *\n * The header text and description text are displayed above the items with accessible labels.<br/>\n * The consumer has to provide atleast the header-text or the aria-label,\n * like one of them <b>has</b> to be passed in always, otherwise its not accessible.\n *\n * The role will be set to `group`.\n * The aria-label will be set with the data-aria-label property.\n * The aria-labelledby will be set with the header id which contains the header text information.\n * The aria-describedby will be set with the description id which contains the description text information.\n *\n * @tagname mdc-formfieldgroup\n *\n * @slot default - This is a default slot for checkbox or toggle components.\n */",
2903
+ "customElement": true
2904
+ }
2905
+ ],
2906
+ "exports": [
2907
+ {
2908
+ "kind": "js",
2909
+ "name": "default",
2910
+ "declaration": {
2911
+ "name": "FormfieldGroup",
2912
+ "module": "components/formfieldgroup/formfieldgroup.component.js"
2913
+ }
2914
+ }
2915
+ ]
2916
+ },
2878
2917
  {
2879
2918
  "kind": "javascript-module",
2880
2919
  "path": "components/formfieldwrapper/formfieldwrapper.component.js",
@@ -4549,126 +4588,55 @@
4549
4588
  },
4550
4589
  {
4551
4590
  "kind": "javascript-module",
4552
- "path": "components/marker/marker.component.js",
4591
+ "path": "components/modalcontainer/modalcontainer.component.js",
4553
4592
  "declarations": [
4554
4593
  {
4555
4594
  "kind": "class",
4556
- "description": "`mdc-marker`, which is a vertical line and\nused to draw attention to specific parts of\nthe content or to signify important information.\n\n**Marker Variants**:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
4557
- "name": "Marker",
4595
+ "description": "The `mdc-modalcontainer` component is an element used to\ndisplay a modal container that can further be used in popover.",
4596
+ "name": "Modalcontainer",
4558
4597
  "cssProperties": [
4559
4598
  {
4560
- "description": "Allows customization of the default background color in solid variant.",
4561
- "name": "--mdc-marker-solid-background-color"
4599
+ "description": "primary background color of the modalcontainer",
4600
+ "name": "--mdc-modalcontainer-primary-background-color"
4562
4601
  },
4563
4602
  {
4564
- "description": "Allows customization of the default stripes in striped variant.",
4565
- "name": "--mdc-marker-striped-color"
4603
+ "description": "border color of the modalcontainer",
4604
+ "name": "--mdc-modalcontainer-border-color"
4566
4605
  },
4567
4606
  {
4568
- "description": "Allows customization of the default background color in striped variant.",
4569
- "name": "--mdc-marker-striped-background-color"
4607
+ "description": "inverted background color of the modalcontainer",
4608
+ "name": "--mdc-modalcontainer-inverted-background-color"
4570
4609
  },
4571
4610
  {
4572
- "description": "Allows customization of the default width.",
4573
- "name": "--mdc-marker-width"
4611
+ "description": "inverted border color of the modalcontainer",
4612
+ "name": "--mdc-modalcontainer-inverted-border-color"
4613
+ },
4614
+ {
4615
+ "description": "inverted text color of the modalcontainer",
4616
+ "name": "--mdc-modalcontainer-inverted-text-color"
4617
+ }
4618
+ ],
4619
+ "slots": [
4620
+ {
4621
+ "description": "Default slot for modal container",
4622
+ "name": ""
4574
4623
  }
4575
4624
  ],
4576
4625
  "members": [
4577
4626
  {
4578
4627
  "kind": "field",
4579
- "name": "variant",
4628
+ "name": "color",
4580
4629
  "type": {
4581
- "text": "MarkerVariants"
4630
+ "text": "ModalContainerColor"
4582
4631
  },
4583
- "privacy": "public",
4584
- "description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
4585
- "default": "solid",
4586
- "attribute": "variant",
4632
+ "description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
4633
+ "default": "tonal",
4634
+ "attribute": "color",
4587
4635
  "reflects": true
4588
- }
4589
- ],
4590
- "attributes": [
4636
+ },
4591
4637
  {
4592
- "name": "variant",
4593
- "type": {
4594
- "text": "MarkerVariants"
4595
- },
4596
- "description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
4597
- "default": "solid",
4598
- "fieldName": "variant"
4599
- }
4600
- ],
4601
- "superclass": {
4602
- "name": "Component",
4603
- "module": "/src/models"
4604
- },
4605
- "tagName": "mdc-marker",
4606
- "jsDoc": "/**\n * `mdc-marker`, which is a vertical line and\n * used to draw attention to specific parts of\n * the content or to signify important information.\n *\n * **Marker Variants**:\n * - **solid**: Solid marker.\n * - **striped**: Striped marker.\n *\n * @tagname mdc-marker\n *\n * @cssproperty --mdc-marker-solid-background-color - Allows customization of the default background color\n * in solid variant.\n * @cssproperty --mdc-marker-striped-color - Allows customization of the default stripes in striped variant.\n * @cssproperty --mdc-marker-striped-background-color - Allows customization of the default background color\n * in striped variant.\n * @cssproperty --mdc-marker-width - Allows customization of the default width.\n */",
4607
- "customElement": true
4608
- }
4609
- ],
4610
- "exports": [
4611
- {
4612
- "kind": "js",
4613
- "name": "default",
4614
- "declaration": {
4615
- "name": "Marker",
4616
- "module": "components/marker/marker.component.js"
4617
- }
4618
- }
4619
- ]
4620
- },
4621
- {
4622
- "kind": "javascript-module",
4623
- "path": "components/modalcontainer/modalcontainer.component.js",
4624
- "declarations": [
4625
- {
4626
- "kind": "class",
4627
- "description": "The `mdc-modalcontainer` component is an element used to\ndisplay a modal container that can further be used in popover.",
4628
- "name": "Modalcontainer",
4629
- "cssProperties": [
4630
- {
4631
- "description": "primary background color of the modalcontainer",
4632
- "name": "--mdc-modalcontainer-primary-background-color"
4633
- },
4634
- {
4635
- "description": "border color of the modalcontainer",
4636
- "name": "--mdc-modalcontainer-border-color"
4637
- },
4638
- {
4639
- "description": "inverted background color of the modalcontainer",
4640
- "name": "--mdc-modalcontainer-inverted-background-color"
4641
- },
4642
- {
4643
- "description": "inverted border color of the modalcontainer",
4644
- "name": "--mdc-modalcontainer-inverted-border-color"
4645
- },
4646
- {
4647
- "description": "inverted text color of the modalcontainer",
4648
- "name": "--mdc-modalcontainer-inverted-text-color"
4649
- }
4650
- ],
4651
- "slots": [
4652
- {
4653
- "description": "Default slot for modal container",
4654
- "name": ""
4655
- }
4656
- ],
4657
- "members": [
4658
- {
4659
- "kind": "field",
4660
- "name": "color",
4661
- "type": {
4662
- "text": "ModalContainerColor"
4663
- },
4664
- "description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
4665
- "default": "tonal",
4666
- "attribute": "color",
4667
- "reflects": true
4668
- },
4669
- {
4670
- "kind": "field",
4671
- "name": "elevation",
4638
+ "kind": "field",
4639
+ "name": "elevation",
4672
4640
  "type": {
4673
4641
  "text": "ModalContainerElevation"
4674
4642
  },
@@ -4909,132 +4877,310 @@
4909
4877
  },
4910
4878
  {
4911
4879
  "kind": "javascript-module",
4912
- "path": "components/radio/radio.component.js",
4880
+ "path": "components/marker/marker.component.js",
4913
4881
  "declarations": [
4914
4882
  {
4915
4883
  "kind": "class",
4916
- "description": "Radio allow users to select single options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selection in lists.\n\nA radio component contains an optional label, optional info icon and an optional helper text.",
4917
- "name": "Radio",
4884
+ "description": "`mdc-marker`, which is a vertical line and\nused to draw attention to specific parts of\nthe content or to signify important information.\n\n**Marker Variants**:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
4885
+ "name": "Marker",
4918
4886
  "cssProperties": [
4919
4887
  {
4920
- "description": "size of the inner circle",
4921
- "name": "--mdc-radio-inner-circle-size"
4888
+ "description": "Allows customization of the default background color in solid variant.",
4889
+ "name": "--mdc-marker-solid-background-color"
4922
4890
  },
4923
4891
  {
4924
- "description": "color of the label when disabled",
4925
- "name": "--mdc-radio-text-disabled-color"
4892
+ "description": "Allows customization of the default stripes in striped variant.",
4893
+ "name": "--mdc-marker-striped-color"
4926
4894
  },
4927
4895
  {
4928
- "description": "color of the radio button border when disabled",
4929
- "name": "--mdc-radio-disabled-border-color"
4896
+ "description": "Allows customization of the default background color in striped variant.",
4897
+ "name": "--mdc-marker-striped-background-color"
4930
4898
  },
4931
4899
  {
4932
- "description": "color of the radio button border when normal",
4933
- "name": "--mdc-radio-normal-border-color"
4900
+ "description": "Allows customization of the default width.",
4901
+ "name": "--mdc-marker-width"
4902
+ }
4903
+ ],
4904
+ "members": [
4905
+ {
4906
+ "kind": "field",
4907
+ "name": "variant",
4908
+ "type": {
4909
+ "text": "MarkerVariants"
4910
+ },
4911
+ "privacy": "public",
4912
+ "description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
4913
+ "default": "solid",
4914
+ "attribute": "variant",
4915
+ "reflects": true
4916
+ }
4917
+ ],
4918
+ "attributes": [
4919
+ {
4920
+ "name": "variant",
4921
+ "type": {
4922
+ "text": "MarkerVariants"
4923
+ },
4924
+ "description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
4925
+ "default": "solid",
4926
+ "fieldName": "variant"
4927
+ }
4928
+ ],
4929
+ "superclass": {
4930
+ "name": "Component",
4931
+ "module": "/src/models"
4932
+ },
4933
+ "tagName": "mdc-marker",
4934
+ "jsDoc": "/**\n * `mdc-marker`, which is a vertical line and\n * used to draw attention to specific parts of\n * the content or to signify important information.\n *\n * **Marker Variants**:\n * - **solid**: Solid marker.\n * - **striped**: Striped marker.\n *\n * @tagname mdc-marker\n *\n * @cssproperty --mdc-marker-solid-background-color - Allows customization of the default background color\n * in solid variant.\n * @cssproperty --mdc-marker-striped-color - Allows customization of the default stripes in striped variant.\n * @cssproperty --mdc-marker-striped-background-color - Allows customization of the default background color\n * in striped variant.\n * @cssproperty --mdc-marker-width - Allows customization of the default width.\n */",
4935
+ "customElement": true
4936
+ }
4937
+ ],
4938
+ "exports": [
4939
+ {
4940
+ "kind": "js",
4941
+ "name": "default",
4942
+ "declaration": {
4943
+ "name": "Marker",
4944
+ "module": "components/marker/marker.component.js"
4945
+ }
4946
+ }
4947
+ ]
4948
+ },
4949
+ {
4950
+ "kind": "javascript-module",
4951
+ "path": "components/tab/tab.component.js",
4952
+ "declarations": [
4953
+ {
4954
+ "kind": "class",
4955
+ "description": "`mdc-tab` is Tab component to be used within the Tabgroup.\n\nPassing in the attribute `text` to the tab component is changing the text displayed in the tab.\n\nThe `slot=\"badge\"` can be used to add a badge to the tab.\n\nFor `icon`, the `mdc-icon` component is used to render the icon.",
4956
+ "name": "Tab",
4957
+ "cssProperties": [
4958
+ {
4959
+ "description": "Gap between the badge(if provided), icon and text.",
4960
+ "name": "--mdc-tab-content-gap"
4934
4961
  },
4935
4962
  {
4936
- "description": "background color of the inner circle when normal",
4937
- "name": "--mdc-radio-inner-circle-normal-background"
4963
+ "description": "Height of the tab.",
4964
+ "name": "--mdc-tab-height"
4938
4965
  },
4939
4966
  {
4940
- "description": "background color of the inner circle when disabled",
4941
- "name": "--mdc-radio-inner-circle-disabled-background"
4967
+ "description": "Background color for active glass tab in disabled state.",
4968
+ "name": "--mdc-tab-glass-active-background-color-disabled"
4942
4969
  },
4943
4970
  {
4944
- "description": "color of the radio button when inactive",
4945
- "name": "--mdc-radio-control-inactive-color"
4971
+ "description": "Background color for active glass tab in hover state.",
4972
+ "name": "--mdc-tab-glass-active-background-color-hover"
4946
4973
  },
4947
4974
  {
4948
- "description": "color of the radio button when inactive and hovered",
4949
- "name": "--mdc-radio-control-inactive-hover"
4975
+ "description": "Background color for active glass tab in rest state.",
4976
+ "name": "--mdc-tab-glass-active-background-color-normal"
4950
4977
  },
4951
4978
  {
4952
- "description": "color of the radio button when inactive and pressed",
4953
- "name": "--mdc-radio-control-inactive-pressed-color"
4979
+ "description": "Background color for active glass tab in pressed state.",
4980
+ "name": "--mdc-tab-glass-active-background-color-pressed"
4954
4981
  },
4955
4982
  {
4956
- "description": "background color of the radio button when inactive and disabled",
4957
- "name": "--mdc-radio-control-inactive-disabled-background"
4983
+ "description": "Text and icon color for active glass tab.",
4984
+ "name": "--mdc-tab-glass-active-color"
4958
4985
  },
4959
4986
  {
4960
- "description": "color of the radio button when active",
4961
- "name": "--mdc-radio-control-active-color"
4987
+ "description": "Text and icon color for active glass tab in disabled state.",
4988
+ "name": "--mdc-tab-glass-active-color-disabled"
4962
4989
  },
4963
4990
  {
4964
- "description": "color of the radio button when active and hovered",
4965
- "name": "--mdc-radio-control-active-hover-color"
4991
+ "description": "Border radius for glass tab.",
4992
+ "name": "--mdc-tab-glass-border-radius"
4966
4993
  },
4967
4994
  {
4968
- "description": "color of the radio button when active and pressed",
4969
- "name": "--mdc-radio-control-active-pressed-color"
4995
+ "description": "Background color for inactive glass tab in disabled state.",
4996
+ "name": "--mdc-tab-glass-inactive-background-color-disabled"
4970
4997
  },
4971
4998
  {
4972
- "description": "background color of the radio button when active and disabled",
4973
- "name": "--mdc-radio-control-active-disabled-background"
4974
- }
4975
- ],
4976
- "members": [
4999
+ "description": "Background color for inactive glass tab in hover state.",
5000
+ "name": "--mdc-tab-glass-inactive-background-color-hover"
5001
+ },
4977
5002
  {
4978
- "kind": "field",
4979
- "name": "checked",
4980
- "type": {
4981
- "text": "boolean"
4982
- },
4983
- "default": "false",
4984
- "description": "Determines whether the radio is selected or unselected.",
4985
- "attribute": "checked",
4986
- "reflects": true
5003
+ "description": "Background color for inactive glass tab in rest state.",
5004
+ "name": "--mdc-tab-glass-inactive-background-color-normal"
4987
5005
  },
4988
5006
  {
4989
- "kind": "field",
4990
- "name": "readonly",
4991
- "type": {
4992
- "text": "boolean"
4993
- },
4994
- "default": "false",
4995
- "description": "Determines whether the radio is read-only.",
4996
- "attribute": "readonly",
4997
- "reflects": true
5007
+ "description": "Background color for inactive glass tab in pressed state.",
5008
+ "name": "--mdc-tab-glass-inactive-background-color-pressed"
4998
5009
  },
4999
5010
  {
5000
- "kind": "method",
5001
- "name": "setFormValue",
5002
- "privacy": "private",
5003
- "description": "Updates the form value to reflect the current state of the radio.\nIf checked, the value is set to the user-provided value.\nIf unchecked, the value is set to null."
5011
+ "description": "Text and icon color for inactive glass tab.",
5012
+ "name": "--mdc-tab-glass-inactive-color"
5004
5013
  },
5005
5014
  {
5006
- "kind": "method",
5007
- "name": "getAllRadiosWithinSameGroup",
5008
- "privacy": "private",
5009
- "return": {
5010
- "type": {
5011
- "text": "Radio[]"
5012
- }
5013
- },
5014
- "description": "Returns all radios within the same group (name)."
5015
+ "description": "Text and icon color for inactive glass tab in disabled state.",
5016
+ "name": "--mdc-tab-glass-inactive-color-disabled"
5015
5017
  },
5016
5018
  {
5017
- "kind": "method",
5018
- "name": "dispatchChangeEvent",
5019
- "privacy": "private",
5020
- "return": {
5021
- "type": {
5022
- "text": "void"
5023
- }
5024
- },
5025
- "parameters": [
5026
- {
5027
- "name": "event",
5028
- "type": {
5029
- "text": "Event"
5030
- }
5031
- }
5032
- ],
5033
- "description": "The 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed"
5019
+ "description": "Background color for active line tab in pressed state.",
5020
+ "name": "--mdc-tab-line-active-background-color-pressed"
5021
+ },
5022
+ {
5023
+ "description": "Background color for active line tab in disabled state.",
5024
+ "name": "--mdc-tab-line-active-background-color-disabled"
5025
+ },
5026
+ {
5027
+ "description": "Background color for active line tab in hover state.",
5028
+ "name": "--mdc-tab-line-active-background-color-hover"
5029
+ },
5030
+ {
5031
+ "description": "Background color for active line tab in rest state.",
5032
+ "name": "--mdc-tab-line-active-background-color-normal"
5033
+ },
5034
+ {
5035
+ "description": "Text and icon color for active line tab.",
5036
+ "name": "--mdc-tab-line-active-color"
5037
+ },
5038
+ {
5039
+ "description": "Text and icon color for active line tab in disabled state.",
5040
+ "name": "--mdc-tab-line-active-color-disabled"
5041
+ },
5042
+ {
5043
+ "description": "color for indicator in active line tab.",
5044
+ "name": "--mdc-tab-line-active-indicator-color"
5045
+ },
5046
+ {
5047
+ "description": "Color for indicator in active line tab in disabled state.",
5048
+ "name": "--mdc-tab-line-active-indicator-color-disabled"
5049
+ },
5050
+ {
5051
+ "description": "Height for indicator in active line tab.",
5052
+ "name": "--mdc-tab-line-active-indicator-height"
5053
+ },
5054
+ {
5055
+ "description": "Width for indicator in active line tab.",
5056
+ "name": "--mdc-tab-line-active-indicator-width"
5057
+ },
5058
+ {
5059
+ "description": "Bottom left border radius for line tab.",
5060
+ "name": "--mdc-tab-line-border-bottom-left-radius"
5061
+ },
5062
+ {
5063
+ "description": "Bottom right border radius for line tab.",
5064
+ "name": "--mdc-tab-line-border-bottom-right-radius"
5065
+ },
5066
+ {
5067
+ "description": "Top left border radius for line tab.",
5068
+ "name": "--mdc-tab-line-border-top-left-radius"
5069
+ },
5070
+ {
5071
+ "description": "Top right border radius for line tab.",
5072
+ "name": "--mdc-tab-line-border-top-right-radius"
5073
+ },
5074
+ {
5075
+ "description": "Background color for inactive line tab in pressed state.",
5076
+ "name": "--mdc-tab-line-inactive-background-color-pressed"
5077
+ },
5078
+ {
5079
+ "description": "Background color for inactive line tab in disabled state",
5080
+ "name": "--mdc-tab-line-inactive-background-color-disabled"
5081
+ },
5082
+ {
5083
+ "description": "Background color for inactive line tab in hover state.",
5084
+ "name": "--mdc-tab-line-inactive-background-color-hover"
5085
+ },
5086
+ {
5087
+ "description": "Background color for inactive line tab in rest state.",
5088
+ "name": "--mdc-tab-line-inactive-background-color-normal"
5089
+ },
5090
+ {
5091
+ "description": "Text and icon color for inactive line tab.",
5092
+ "name": "--mdc-tab-line-inactive-color"
5093
+ },
5094
+ {
5095
+ "description": "Text and icon color for inactive line tab in disabled state.",
5096
+ "name": "--mdc-tab-line-inactive-color-disabled"
5097
+ },
5098
+ {
5099
+ "description": "Padding left for the tab.",
5100
+ "name": "--mdc-tab-padding-left"
5101
+ },
5102
+ {
5103
+ "description": "Padding right for the tab.",
5104
+ "name": "--mdc-tab-padding-right"
5105
+ },
5106
+ {
5107
+ "description": "Background color for active pill tab in pressed state.",
5108
+ "name": "--mdc-tab-pill-active-background-color-pressed"
5109
+ },
5110
+ {
5111
+ "description": "Background color for active pill tab in disabled state.",
5112
+ "name": "--mdc-tab-pill-active-background-color-disabled"
5113
+ },
5114
+ {
5115
+ "description": "Background color for active pill tab in hover state.",
5116
+ "name": "--mdc-tab-pill-active-background-color-hover"
5117
+ },
5118
+ {
5119
+ "description": "Background color for active pill tab in rest state.",
5120
+ "name": "--mdc-tab-pill-active-background-color-normal"
5121
+ },
5122
+ {
5123
+ "description": "Text and icon color for active pill tab.",
5124
+ "name": "--mdc-tab-pill-active-color"
5125
+ },
5126
+ {
5127
+ "description": "Text and icon color for active pill tab in disabled state.",
5128
+ "name": "--mdc-tab-pill-active-color-disabled"
5129
+ },
5130
+ {
5131
+ "description": "Border radius for pill tab.",
5132
+ "name": "--mdc-tab-pill-border-radius"
5133
+ },
5134
+ {
5135
+ "description": "Background color for inactive pill tab in pressed state.",
5136
+ "name": "--mdc-tab-pill-inactive-background-color-pressed"
5137
+ },
5138
+ {
5139
+ "description": "Background color for inactive pill tab in disabled state.",
5140
+ "name": "--mdc-tab-pill-inactive-background-color-disabled"
5141
+ },
5142
+ {
5143
+ "description": "Background color for inactive pill tab in hover state.",
5144
+ "name": "--mdc-tab-pill-inactive-background-color-hover"
5145
+ },
5146
+ {
5147
+ "description": "Background color for inactive pill tab in rest state.",
5148
+ "name": "--mdc-tab-pill-inactive-background-color-normal"
5149
+ },
5150
+ {
5151
+ "description": "Text and icon color for inactive pill tab.",
5152
+ "name": "--mdc-tab-pill-inactive-color"
5153
+ },
5154
+ {
5155
+ "description": "Text and icon color for inactive pill tab in disabled state.",
5156
+ "name": "--mdc-tab-pill-inactive-color-disabled"
5157
+ }
5158
+ ],
5159
+ "members": [
5160
+ {
5161
+ "kind": "field",
5162
+ "name": "text",
5163
+ "type": {
5164
+ "text": "string | undefined"
5165
+ },
5166
+ "description": "Text to be displayed in the tab.\nIf no `text` is provided, no text will be rendered,\n`aria-label` should be set on the tab.",
5167
+ "attribute": "text",
5168
+ "reflects": true
5169
+ },
5170
+ {
5171
+ "kind": "field",
5172
+ "name": "variant",
5173
+ "type": {
5174
+ "text": "Variant"
5175
+ },
5176
+ "description": "Tab can have three variants:\n- `glass`\n- `line`\n- `pill`\n\nIt defines the background and foreground color of the tab.",
5177
+ "default": "pill",
5178
+ "attribute": "variant",
5179
+ "reflects": true
5034
5180
  },
5035
5181
  {
5036
5182
  "kind": "method",
5037
- "name": "handleChange",
5183
+ "name": "modifyIconName",
5038
5184
  "privacy": "private",
5039
5185
  "return": {
5040
5186
  "type": {
@@ -5043,634 +5189,418 @@
5043
5189
  },
5044
5190
  "parameters": [
5045
5191
  {
5046
- "name": "event",
5192
+ "name": "active",
5047
5193
  "type": {
5048
- "text": "Event"
5049
- }
5194
+ "text": "boolean"
5195
+ },
5196
+ "description": "The active state."
5050
5197
  }
5051
5198
  ],
5052
- "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
5199
+ "description": "Modifies the icon name based on the active state.\nIf the tab is active, the icon name is suffixed with '-filled'.\nIf the tab is inactive, the icon name is restored to its original value.\nIf '-filled' icon is not available, the icon name remains unchanged."
5053
5200
  },
5054
5201
  {
5055
5202
  "kind": "method",
5056
- "name": "updateRadio",
5203
+ "name": "setVariant",
5057
5204
  "privacy": "private",
5205
+ "return": {
5206
+ "type": {
5207
+ "text": "void"
5208
+ }
5209
+ },
5058
5210
  "parameters": [
5059
5211
  {
5060
- "name": "enabledRadios",
5061
- "type": {
5062
- "text": "Radio[]"
5063
- },
5064
- "description": "An array of enabled radio buttons within the same group."
5065
- },
5066
- {
5067
- "name": "index",
5068
- "type": {
5069
- "text": "number"
5070
- },
5071
- "description": "The index of the radio button to be updated within the enabled radios array."
5072
- },
5073
- {
5074
- "name": "event",
5212
+ "name": "variant",
5075
5213
  "type": {
5076
- "text": "Event"
5214
+ "text": "Variant"
5077
5215
  },
5078
- "description": "The event that triggered the update."
5216
+ "description": "The variant to set."
5079
5217
  }
5080
5218
  ],
5081
- "description": "Updates the state of the radio button at the specified index within the enabled radios.\nFocuses the radio button and triggers the change event if the radio button is not read-only."
5219
+ "description": "Sets the variant attribute for the tab component.\nIf the provided variant is not included in the TAB_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT."
5082
5220
  },
5083
5221
  {
5084
5222
  "kind": "method",
5085
- "name": "handleKeyDown",
5086
- "privacy": "private",
5087
- "return": {
5088
- "type": {
5089
- "text": "void"
5090
- }
5091
- },
5223
+ "name": "setActive",
5224
+ "privacy": "protected",
5092
5225
  "parameters": [
5093
5226
  {
5094
- "name": "event",
5227
+ "name": "element",
5095
5228
  "type": {
5096
- "text": "KeyboardEvent"
5097
- }
5229
+ "text": "HTMLElement"
5230
+ },
5231
+ "description": "The tab element."
5232
+ },
5233
+ {
5234
+ "name": "active",
5235
+ "type": {
5236
+ "text": "boolean"
5237
+ },
5238
+ "description": "The active state of the tab."
5098
5239
  }
5099
5240
  ],
5100
- "description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
5241
+ "description": "Sets the aria-selected attribute based on the active state of the Tab.\nIf the tab is active, the filled version of the icon is displayed,\nelse the icon is restored to its original value.",
5242
+ "inheritedFrom": {
5243
+ "name": "Buttonsimple",
5244
+ "module": "components/buttonsimple/buttonsimple.component.js"
5245
+ }
5101
5246
  },
5102
5247
  {
5103
5248
  "kind": "method",
5104
- "name": "updateTabIndex",
5105
- "privacy": "private",
5106
- "return": {
5107
- "type": {
5108
- "text": "void"
5109
- }
5110
- },
5111
- "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"
5249
+ "name": "executeAction",
5250
+ "privacy": "protected",
5251
+ "inheritedFrom": {
5252
+ "name": "Buttonsimple",
5253
+ "module": "components/buttonsimple/buttonsimple.component.js"
5254
+ }
5112
5255
  },
5113
5256
  {
5114
5257
  "kind": "field",
5115
- "name": "name",
5258
+ "name": "role",
5259
+ "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.",
5260
+ "default": "'tab'",
5261
+ "attribute": "role",
5262
+ "reflects": true,
5116
5263
  "type": {
5117
5264
  "text": "string"
5118
5265
  },
5119
- "default": "''",
5120
- "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
5121
- "attribute": "name",
5122
- "reflects": true,
5123
5266
  "inheritedFrom": {
5124
- "name": "NameMixin",
5125
- "module": "utils/mixins/NameMixin.js"
5267
+ "name": "Buttonsimple",
5268
+ "module": "components/buttonsimple/buttonsimple.component.js"
5126
5269
  }
5127
5270
  },
5128
5271
  {
5129
5272
  "kind": "field",
5130
- "name": "value",
5273
+ "name": "softDisabled",
5131
5274
  "type": {
5132
- "text": "string"
5275
+ "text": "boolean"
5133
5276
  },
5134
- "default": "''",
5135
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
5136
- "attribute": "value",
5137
- "reflects": true,
5277
+ "default": "undefined as unknown",
5278
+ "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.",
5279
+ "attribute": "soft-disabled",
5138
5280
  "inheritedFrom": {
5139
- "name": "ValueMixin",
5140
- "module": "utils/mixins/ValueMixin.js"
5281
+ "name": "Buttonsimple",
5282
+ "module": "components/buttonsimple/buttonsimple.component.js"
5141
5283
  }
5142
5284
  },
5143
5285
  {
5144
5286
  "kind": "field",
5145
- "name": "dataAriaLabel",
5287
+ "name": "size",
5146
5288
  "type": {
5147
- "text": "string | null"
5289
+ "text": "ButtonSize"
5148
5290
  },
5149
- "default": "null",
5150
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
5151
- "attribute": "data-aria-label",
5291
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
5292
+ "default": "undefined as unknown",
5293
+ "attribute": "size",
5152
5294
  "reflects": true,
5153
5295
  "inheritedFrom": {
5154
- "name": "DataAriaLabelMixin",
5155
- "module": "utils/mixins/DataAriaLabelMixin.js"
5296
+ "name": "Buttonsimple",
5297
+ "module": "components/buttonsimple/buttonsimple.component.js"
5156
5298
  }
5157
5299
  },
5158
5300
  {
5159
5301
  "kind": "field",
5160
- "name": "disabled",
5302
+ "name": "type",
5161
5303
  "type": {
5162
- "text": "boolean"
5304
+ "text": "ButtonType"
5163
5305
  },
5164
- "default": "false",
5165
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5166
- "attribute": "disabled",
5306
+ "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.",
5307
+ "default": "undefined as unknown",
5308
+ "attribute": "type",
5167
5309
  "reflects": true,
5168
5310
  "inheritedFrom": {
5169
- "name": "FormfieldWrapper",
5170
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5311
+ "name": "Buttonsimple",
5312
+ "module": "components/buttonsimple/buttonsimple.component.js"
5171
5313
  }
5172
5314
  },
5173
5315
  {
5174
5316
  "kind": "field",
5175
- "name": "label",
5317
+ "name": "iconName",
5176
5318
  "type": {
5177
- "text": "string | undefined"
5319
+ "text": "IconNames | undefined"
5178
5320
  },
5179
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
5180
- "attribute": "label",
5181
- "reflects": true,
5321
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5322
+ "attribute": "icon-name",
5182
5323
  "inheritedFrom": {
5183
- "name": "FormfieldWrapper",
5184
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5324
+ "name": "IconNameMixin",
5325
+ "module": "utils/mixins/IconNameMixin.js"
5185
5326
  }
5186
5327
  },
5187
5328
  {
5188
5329
  "kind": "field",
5189
- "name": "requiredLabel",
5330
+ "name": "tabIndex",
5190
5331
  "type": {
5191
- "text": "string | undefined"
5332
+ "text": "number"
5192
5333
  },
5193
- "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.",
5194
- "attribute": "required-label",
5334
+ "default": "0",
5335
+ "description": "This property specifies the tab order of the element.",
5336
+ "attribute": "tabIndex",
5195
5337
  "reflects": true,
5196
5338
  "inheritedFrom": {
5197
- "name": "FormfieldWrapper",
5198
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5199
- }
5200
- },
5201
- {
5202
- "kind": "field",
5203
- "name": "id",
5204
- "default": "`mdc-input-${uuidv4()}`",
5205
- "description": "The unique id of the input field. It is used to link the input field with the label.",
5206
- "attribute": "id",
5207
- "inheritedFrom": {
5208
- "name": "FormfieldWrapper",
5209
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5339
+ "name": "Buttonsimple",
5340
+ "module": "components/buttonsimple/buttonsimple.component.js"
5210
5341
  }
5211
5342
  },
5212
5343
  {
5213
5344
  "kind": "field",
5214
- "name": "helpTextType",
5345
+ "name": "disabled",
5215
5346
  "type": {
5216
- "text": "ValidationType"
5347
+ "text": "boolean"
5217
5348
  },
5218
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
5219
- "attribute": "help-text-type",
5349
+ "default": "false",
5350
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5351
+ "attribute": "disabled",
5220
5352
  "reflects": true,
5221
5353
  "inheritedFrom": {
5222
- "name": "FormfieldWrapper",
5223
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5354
+ "name": "Buttonsimple",
5355
+ "module": "components/buttonsimple/buttonsimple.component.js"
5224
5356
  }
5225
5357
  },
5226
5358
  {
5227
5359
  "kind": "field",
5228
- "name": "helpText",
5360
+ "name": "active",
5229
5361
  "type": {
5230
- "text": "string | undefined"
5362
+ "text": "boolean"
5231
5363
  },
5232
- "description": "The help text that is displayed below the input field.",
5233
- "attribute": "help-text",
5364
+ "default": "false",
5365
+ "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.",
5366
+ "attribute": "active",
5234
5367
  "reflects": true,
5235
5368
  "inheritedFrom": {
5236
- "name": "FormfieldWrapper",
5237
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5369
+ "name": "Buttonsimple",
5370
+ "module": "components/buttonsimple/buttonsimple.component.js"
5238
5371
  }
5239
5372
  },
5240
5373
  {
5241
5374
  "kind": "method",
5242
- "name": "renderLabelElement",
5243
- "privacy": "protected",
5244
- "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
5245
- "return": {
5246
- "type": {
5247
- "text": ""
5375
+ "name": "setSoftDisabled",
5376
+ "privacy": "private",
5377
+ "parameters": [
5378
+ {
5379
+ "name": "element",
5380
+ "type": {
5381
+ "text": "HTMLElement"
5382
+ },
5383
+ "description": "The button element."
5384
+ },
5385
+ {
5386
+ "name": "softDisabled",
5387
+ "type": {
5388
+ "text": "boolean"
5389
+ },
5390
+ "description": "The soft-disabled state."
5248
5391
  }
5249
- },
5250
- "inheritedFrom": {
5251
- "name": "FormfieldWrapper",
5252
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5253
- }
5254
- },
5255
- {
5256
- "kind": "method",
5257
- "name": "renderRequiredLabel",
5258
- "privacy": "protected",
5392
+ ],
5393
+ "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.",
5259
5394
  "inheritedFrom": {
5260
- "name": "FormfieldWrapper",
5261
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5395
+ "name": "Buttonsimple",
5396
+ "module": "components/buttonsimple/buttonsimple.component.js"
5262
5397
  }
5263
5398
  },
5264
5399
  {
5265
5400
  "kind": "method",
5266
- "name": "renderHelpTextIcon",
5267
- "privacy": "protected",
5268
- "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.",
5269
- "return": {
5270
- "type": {
5271
- "text": ""
5401
+ "name": "setDisabled",
5402
+ "privacy": "private",
5403
+ "parameters": [
5404
+ {
5405
+ "name": "element",
5406
+ "type": {
5407
+ "text": "HTMLElement"
5408
+ },
5409
+ "description": "The button element."
5410
+ },
5411
+ {
5412
+ "name": "disabled",
5413
+ "type": {
5414
+ "text": "boolean"
5415
+ },
5416
+ "description": "The disabled state."
5272
5417
  }
5273
- },
5418
+ ],
5419
+ "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.",
5274
5420
  "inheritedFrom": {
5275
- "name": "FormfieldWrapper",
5276
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5421
+ "name": "Buttonsimple",
5422
+ "module": "components/buttonsimple/buttonsimple.component.js"
5277
5423
  }
5278
5424
  },
5279
5425
  {
5280
5426
  "kind": "method",
5281
- "name": "renderHelpText",
5282
- "privacy": "protected",
5283
- "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.",
5284
- "return": {
5285
- "type": {
5286
- "text": ""
5287
- }
5288
- },
5427
+ "name": "triggerClickEvent",
5428
+ "privacy": "private",
5289
5429
  "inheritedFrom": {
5290
- "name": "FormfieldWrapper",
5291
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5430
+ "name": "Buttonsimple",
5431
+ "module": "components/buttonsimple/buttonsimple.component.js"
5292
5432
  }
5293
5433
  },
5294
5434
  {
5295
5435
  "kind": "method",
5296
- "name": "renderLabel",
5297
- "privacy": "protected",
5298
- "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
5299
- "return": {
5300
- "type": {
5301
- "text": ""
5436
+ "name": "handleKeyDown",
5437
+ "privacy": "private",
5438
+ "parameters": [
5439
+ {
5440
+ "name": "event",
5441
+ "type": {
5442
+ "text": "KeyboardEvent"
5443
+ },
5444
+ "description": "The keyboard event."
5302
5445
  }
5303
- },
5446
+ ],
5447
+ "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.",
5304
5448
  "inheritedFrom": {
5305
- "name": "FormfieldWrapper",
5306
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5449
+ "name": "Buttonsimple",
5450
+ "module": "components/buttonsimple/buttonsimple.component.js"
5307
5451
  }
5308
5452
  },
5309
5453
  {
5310
5454
  "kind": "method",
5311
- "name": "renderHelperText",
5312
- "privacy": "protected",
5313
- "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
5314
- "return": {
5315
- "type": {
5316
- "text": ""
5455
+ "name": "handleKeyUp",
5456
+ "privacy": "private",
5457
+ "parameters": [
5458
+ {
5459
+ "name": "event",
5460
+ "type": {
5461
+ "text": "KeyboardEvent"
5462
+ },
5463
+ "description": "The keyboard event."
5317
5464
  }
5318
- },
5465
+ ],
5466
+ "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.",
5319
5467
  "inheritedFrom": {
5320
- "name": "FormfieldWrapper",
5321
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5322
- }
5323
- }
5324
- ],
5325
- "events": [
5326
- {
5327
- "type": {
5328
- "text": "EventConstructor"
5468
+ "name": "Buttonsimple",
5469
+ "module": "components/buttonsimple/buttonsimple.component.js"
5329
5470
  }
5330
5471
  }
5331
5472
  ],
5332
5473
  "attributes": [
5333
5474
  {
5334
- "name": "checked",
5335
- "type": {
5336
- "text": "boolean"
5337
- },
5338
- "default": "false",
5339
- "description": "Determines whether the radio is selected or unselected.",
5340
- "fieldName": "checked"
5341
- },
5342
- {
5343
- "name": "readonly",
5344
- "type": {
5345
- "text": "boolean"
5346
- },
5347
- "default": "false",
5348
- "description": "Determines whether the radio is read-only.",
5349
- "fieldName": "readonly"
5350
- },
5351
- {
5352
- "name": "name",
5353
- "type": {
5354
- "text": "string"
5355
- },
5356
- "default": "''",
5357
- "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
5358
- "fieldName": "name",
5359
- "inheritedFrom": {
5360
- "name": "NameMixin",
5361
- "module": "src/utils/mixins/NameMixin.ts"
5362
- }
5363
- },
5364
- {
5365
- "name": "value",
5366
- "type": {
5367
- "text": "string"
5368
- },
5369
- "default": "''",
5370
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
5371
- "fieldName": "value",
5372
- "inheritedFrom": {
5373
- "name": "ValueMixin",
5374
- "module": "src/utils/mixins/ValueMixin.ts"
5375
- }
5376
- },
5377
- {
5378
- "name": "data-aria-label",
5379
- "type": {
5380
- "text": "string | null"
5381
- },
5382
- "default": "null",
5383
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
5384
- "fieldName": "dataAriaLabel",
5385
- "inheritedFrom": {
5386
- "name": "DataAriaLabelMixin",
5387
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
5388
- }
5389
- },
5390
- {
5391
- "name": "disabled",
5392
- "type": {
5393
- "text": "boolean"
5394
- },
5395
- "default": "false",
5396
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5397
- "fieldName": "disabled",
5398
- "inheritedFrom": {
5399
- "name": "FormfieldWrapper",
5400
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5401
- }
5402
- },
5403
- {
5404
- "name": "label",
5405
- "type": {
5406
- "text": "string | undefined"
5407
- },
5408
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
5409
- "fieldName": "label",
5410
- "inheritedFrom": {
5411
- "name": "FormfieldWrapper",
5412
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5413
- }
5414
- },
5415
- {
5416
- "name": "required-label",
5475
+ "name": "text",
5417
5476
  "type": {
5418
5477
  "text": "string | undefined"
5419
5478
  },
5420
- "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.",
5421
- "fieldName": "requiredLabel",
5422
- "inheritedFrom": {
5423
- "name": "FormfieldWrapper",
5424
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5425
- }
5426
- },
5427
- {
5428
- "name": "id",
5429
- "default": "`mdc-input-${uuidv4()}`",
5430
- "description": "The unique id of the input field. It is used to link the input field with the label.",
5431
- "fieldName": "id",
5432
- "inheritedFrom": {
5433
- "name": "FormfieldWrapper",
5434
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5435
- }
5479
+ "description": "Text to be displayed in the tab.\nIf no `text` is provided, no text will be rendered,\n`aria-label` should be set on the tab.",
5480
+ "fieldName": "text"
5436
5481
  },
5437
5482
  {
5438
- "name": "help-text-type",
5483
+ "name": "variant",
5439
5484
  "type": {
5440
- "text": "ValidationType"
5485
+ "text": "Variant"
5441
5486
  },
5442
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
5443
- "fieldName": "helpTextType",
5444
- "inheritedFrom": {
5445
- "name": "FormfieldWrapper",
5446
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5447
- }
5487
+ "description": "Tab can have three variants:\n- `glass`\n- `line`\n- `pill`\n\nIt defines the background and foreground color of the tab.",
5488
+ "default": "pill",
5489
+ "fieldName": "variant"
5448
5490
  },
5449
5491
  {
5450
- "name": "help-text",
5492
+ "name": "icon-name",
5451
5493
  "type": {
5452
- "text": "string | undefined"
5494
+ "text": "IconNames | undefined"
5453
5495
  },
5454
- "description": "The help text that is displayed below the input field.",
5455
- "fieldName": "helpText",
5456
- "inheritedFrom": {
5457
- "name": "FormfieldWrapper",
5458
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5459
- }
5460
- }
5461
- ],
5462
- "mixins": [
5463
- {
5464
- "name": "NameMixin",
5465
- "module": "/src/utils/mixins/NameMixin"
5466
- },
5467
- {
5468
- "name": "ValueMixin",
5469
- "module": "/src/utils/mixins/ValueMixin"
5470
- },
5471
- {
5472
- "name": "DataAriaLabelMixin",
5473
- "module": "/src/utils/mixins/DataAriaLabelMixin"
5474
- }
5475
- ],
5476
- "superclass": {
5477
- "name": "FormfieldWrapper",
5478
- "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
5479
- },
5480
- "tagName": "mdc-radio",
5481
- "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 * @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 */",
5482
- "customElement": true,
5483
- "slots": [
5484
- {
5485
- "description": "slot to add the label info icon",
5486
- "name": "label-info",
5496
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5497
+ "fieldName": "iconName",
5487
5498
  "inheritedFrom": {
5488
- "name": "FormfieldWrapper",
5489
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
5499
+ "name": "IconNameMixin",
5500
+ "module": "src/utils/mixins/IconNameMixin.ts"
5490
5501
  }
5491
- }
5492
- ]
5493
- }
5494
- ],
5495
- "exports": [
5496
- {
5497
- "kind": "js",
5498
- "name": "default",
5499
- "declaration": {
5500
- "name": "Radio",
5501
- "module": "components/radio/radio.component.js"
5502
- }
5503
- }
5504
- ]
5505
- },
5506
- {
5507
- "kind": "javascript-module",
5508
- "path": "components/text/text.component.js",
5509
- "declarations": [
5510
- {
5511
- "kind": "class",
5512
- "description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
5513
- "name": "Text",
5514
- "cssParts": [
5515
- {
5516
- "description": "The text element",
5517
- "name": "text"
5518
- }
5519
- ],
5520
- "slots": [
5521
- {
5522
- "description": "Default slot for text content",
5523
- "name": ""
5524
- }
5525
- ],
5526
- "members": [
5527
- {
5528
- "kind": "field",
5529
- "name": "type",
5530
- "type": {
5531
- "text": "TextType"
5532
- },
5533
- "privacy": "public",
5534
- "description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
5535
- "default": "body-large-regular",
5536
- "attribute": "type",
5537
- "reflects": true
5538
5502
  },
5539
5503
  {
5540
- "kind": "field",
5541
- "name": "tagname",
5542
- "type": {
5543
- "text": "TagName | undefined"
5544
- },
5545
- "privacy": "public",
5546
- "description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
5547
- "attribute": "tagname",
5548
- "reflects": true
5549
- }
5550
- ],
5551
- "attributes": [
5552
- {
5553
- "name": "type",
5554
- "type": {
5555
- "text": "TextType"
5556
- },
5557
- "description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
5558
- "default": "body-large-regular",
5559
- "fieldName": "type"
5560
- },
5561
- {
5562
- "name": "tagname",
5504
+ "name": "tabIndex",
5563
5505
  "type": {
5564
- "text": "TagName | undefined"
5506
+ "text": "number"
5565
5507
  },
5566
- "description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
5567
- "fieldName": "tagname"
5568
- }
5569
- ],
5570
- "superclass": {
5571
- "name": "Component",
5572
- "module": "/src/models"
5573
- },
5574
- "tagName": "mdc-text",
5575
- "jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
5576
- "customElement": true
5577
- }
5578
- ],
5579
- "exports": [
5580
- {
5581
- "kind": "js",
5582
- "name": "default",
5583
- "declaration": {
5584
- "name": "Text",
5585
- "module": "components/text/text.component.js"
5586
- }
5587
- }
5588
- ]
5589
- },
5590
- {
5591
- "kind": "javascript-module",
5592
- "path": "components/themeprovider/themeprovider.component.js",
5593
- "declarations": [
5594
- {
5595
- "kind": "class",
5596
- "description": "ThemeProvider component, which sets the passed in themeclass as class.\nIf the themeclass switches, the existing themeclass will be removed as a class\nand the new themeclass will be added.\n\nCSS variables defined in the themeclass will be used for the styling of child dom nodes.\n\nThemeclass context can be be consumed from Lit child components\n(see providerUtils.consume for how to consume)\n\nThemeProvider also includes basic font defaults for text.",
5597
- "name": "ThemeProvider",
5598
- "cssProperties": [
5599
- {
5600
- "description": "Option to override the default color, default: color-theme-text-primary-normal",
5601
- "name": "--mdc-themeprovider-color-default"
5508
+ "default": "0",
5509
+ "description": "This property specifies the tab order of the element.",
5510
+ "fieldName": "tabIndex",
5511
+ "inheritedFrom": {
5512
+ "name": "Buttonsimple",
5513
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5514
+ }
5602
5515
  },
5603
5516
  {
5604
- "description": "Option to override the font family, default: `Momentum` (from momentum-design/fonts)",
5605
- "name": "--mdc-themeprovider-font-family"
5517
+ "name": "disabled",
5518
+ "type": {
5519
+ "text": "boolean"
5520
+ },
5521
+ "default": "false",
5522
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5523
+ "fieldName": "disabled",
5524
+ "inheritedFrom": {
5525
+ "name": "Buttonsimple",
5526
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5527
+ }
5606
5528
  },
5607
5529
  {
5608
- "description": "Option to override the font weight, default: `400`",
5609
- "name": "--mdc-themeprovider-font-weight"
5530
+ "name": "active",
5531
+ "type": {
5532
+ "text": "boolean"
5533
+ },
5534
+ "default": "false",
5535
+ "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.",
5536
+ "fieldName": "active",
5537
+ "inheritedFrom": {
5538
+ "name": "Buttonsimple",
5539
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5540
+ }
5610
5541
  },
5611
5542
  {
5612
- "description": "Option to override the default letter-spacing, default: `-0.25px` (this is to match the old CiscoSans)",
5613
- "name": "--mdc-themeprovider-letter-spacing-adjustment"
5614
- }
5615
- ],
5616
- "slots": [
5617
- {
5618
- "description": "children",
5619
- "name": ""
5620
- }
5621
- ],
5622
- "members": [
5623
- {
5624
- "kind": "field",
5625
- "name": "Context",
5626
- "privacy": "public",
5627
- "static": true,
5628
- "description": "Context object of the ThemeProvider, to be consumed by child components",
5629
- "readonly": true
5543
+ "name": "soft-disabled",
5544
+ "type": {
5545
+ "text": "boolean"
5546
+ },
5547
+ "default": "false",
5548
+ "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.",
5549
+ "fieldName": "softDisabled",
5550
+ "inheritedFrom": {
5551
+ "name": "Buttonsimple",
5552
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5553
+ }
5630
5554
  },
5631
5555
  {
5632
- "kind": "field",
5633
- "name": "themeclass",
5556
+ "name": "size",
5634
5557
  "type": {
5635
- "text": "string"
5558
+ "text": "ButtonSize"
5636
5559
  },
5637
- "description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
5638
- "attribute": "themeclass"
5560
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
5561
+ "default": "32",
5562
+ "fieldName": "size",
5563
+ "inheritedFrom": {
5564
+ "name": "Buttonsimple",
5565
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5566
+ }
5639
5567
  },
5640
5568
  {
5641
- "kind": "method",
5642
- "name": "updateContext",
5643
- "privacy": "protected",
5644
- "return": {
5645
- "type": {
5646
- "text": "void"
5647
- }
5648
- },
5649
- "description": "Update all observing components of this\nprovider to update the themeclass\n\nIs called on every re-render, see Provider class"
5569
+ "name": "role",
5570
+ "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.",
5571
+ "default": "button",
5572
+ "fieldName": "role",
5573
+ "inheritedFrom": {
5574
+ "name": "Buttonsimple",
5575
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5576
+ }
5650
5577
  },
5651
5578
  {
5652
- "kind": "method",
5653
- "name": "setThemeInClassList",
5654
- "privacy": "private",
5655
- "description": "Function to update the active theme classnames to update the theme tokens\nas CSS variables on the web component."
5579
+ "name": "type",
5580
+ "type": {
5581
+ "text": "ButtonType"
5582
+ },
5583
+ "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.",
5584
+ "default": "button",
5585
+ "fieldName": "type",
5586
+ "inheritedFrom": {
5587
+ "name": "Buttonsimple",
5588
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5589
+ }
5656
5590
  }
5657
5591
  ],
5658
- "attributes": [
5592
+ "mixins": [
5659
5593
  {
5660
- "name": "themeclass",
5661
- "type": {
5662
- "text": "string"
5663
- },
5664
- "description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
5665
- "fieldName": "themeclass"
5594
+ "name": "IconNameMixin",
5595
+ "module": "/src/utils/mixins/IconNameMixin"
5666
5596
  }
5667
5597
  ],
5668
5598
  "superclass": {
5669
- "name": "Provider",
5670
- "module": "/src/models"
5599
+ "name": "Buttonsimple",
5600
+ "module": "/src/components/buttonsimple/buttonsimple.component"
5671
5601
  },
5672
- "tagName": "mdc-themeprovider",
5673
- "jsDoc": "/**\n * ThemeProvider component, which sets the passed in themeclass as class.\n * If the themeclass switches, the existing themeclass will be removed as a class\n * and the new themeclass will be added.\n *\n * CSS variables defined in the themeclass will be used for the styling of child dom nodes.\n *\n * Themeclass context can be be consumed from Lit child components\n * (see providerUtils.consume for how to consume)\n *\n * ThemeProvider also includes basic font defaults for text.\n *\n * @tagname mdc-themeprovider\n *\n * @slot - children\n *\n * @cssproperty --mdc-themeprovider-color-default - Option to override the default color,\n * default: color-theme-text-primary-normal\n * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,\n * default: `Momentum` (from momentum-design/fonts)\n * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`\n * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,\n * default: `-0.25px` (this is to match the old CiscoSans)\n */",
5602
+ "tagName": "mdc-tab",
5603
+ "jsDoc": "/**\n * `mdc-tab` is Tab component to be used within the Tabgroup.\n *\n * Passing in the attribute `text` to the tab component is changing the text displayed in the tab.\n *\n * The `slot=\"badge\"` can be used to add a badge to the tab.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-tab\n *\n * @cssproperty --mdc-tab-content-gap - Gap between the badge(if provided), icon and text.\n * @cssproperty --mdc-tab-height - Height of the tab.\n * @cssproperty --mdc-tab-glass-active-background-color-disabled - Background color for active glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-active-background-color-hover - Background color for active glass tab in hover state.\n * @cssproperty --mdc-tab-glass-active-background-color-normal - Background color for active glass tab in rest state.\n * @cssproperty --mdc-tab-glass-active-background-color-pressed - Background color for active glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-active-color - Text and icon color for active glass tab.\n * @cssproperty --mdc-tab-glass-active-color-disabled - Text and icon color for active glass tab in disabled state.\n * @cssproperty --mdc-tab-glass-border-radius - Border radius for glass tab.\n * @cssproperty --mdc-tab-glass-inactive-background-color-disabled - Background color for inactive glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-hover - Background color for inactive glass tab\n * in hover state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-normal - Background color for inactive glass tab\n * in rest state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-pressed - Background color for inactive glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-inactive-color - Text and icon color for inactive glass tab.\n * @cssproperty --mdc-tab-glass-inactive-color-disabled - Text and icon color for inactive glass tab in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-pressed - Background color for active line tab in pressed state.\n * @cssproperty --mdc-tab-line-active-background-color-disabled - Background color for active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-hover - Background color for active line tab in hover state.\n * @cssproperty --mdc-tab-line-active-background-color-normal - Background color for active line tab in rest state.\n * @cssproperty --mdc-tab-line-active-color - Text and icon color for active line tab.\n * @cssproperty --mdc-tab-line-active-color-disabled - Text and icon color for active line tab in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-color - color for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-color-disabled - Color for indicator in active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-height - Height for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-width - Width for indicator in active line tab.\n * @cssproperty --mdc-tab-line-border-bottom-left-radius - Bottom left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-bottom-right-radius - Bottom right border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-left-radius - Top left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-right-radius - Top right border radius for line tab.\n * @cssproperty --mdc-tab-line-inactive-background-color-pressed - Background color for inactive line tab\n * in pressed state.\n * @cssproperty --mdc-tab-line-inactive-background-color-disabled - Background color for inactive line tab\n * in disabled state\n * @cssproperty --mdc-tab-line-inactive-background-color-hover - Background color for inactive line tab in hover state.\n * @cssproperty --mdc-tab-line-inactive-background-color-normal - Background color for inactive line tab\n * in rest state.\n * @cssproperty --mdc-tab-line-inactive-color - Text and icon color for inactive line tab.\n * @cssproperty --mdc-tab-line-inactive-color-disabled - Text and icon color for inactive line tab in disabled state.\n * @cssproperty --mdc-tab-padding-left - Padding left for the tab.\n * @cssproperty --mdc-tab-padding-right - Padding right for the tab.\n * @cssproperty --mdc-tab-pill-active-background-color-pressed - Background color for active pill tab in pressed state.\n * @cssproperty --mdc-tab-pill-active-background-color-disabled - Background color for active pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-active-background-color-hover - Background color for active pill tab in hover state.\n * @cssproperty --mdc-tab-pill-active-background-color-normal - Background color for active pill tab in rest state.\n * @cssproperty --mdc-tab-pill-active-color - Text and icon color for active pill tab.\n * @cssproperty --mdc-tab-pill-active-color-disabled - Text and icon color for active pill tab in disabled state.\n * @cssproperty --mdc-tab-pill-border-radius - Border radius for pill tab.\n * @cssproperty --mdc-tab-pill-inactive-background-color-pressed - Background color for inactive pill tab\n * in pressed state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-disabled - Background color for inactive pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-hover - Background color for inactive pill tab in hover state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-normal - Background color for inactive pill tab in rest state.\n * @cssproperty --mdc-tab-pill-inactive-color - Text and icon color for inactive pill tab.\n * @cssproperty --mdc-tab-pill-inactive-color-disabled - Text and icon color for inactive pill tab in disabled state.\n */",
5674
5604
  "customElement": true
5675
5605
  }
5676
5606
  ],
@@ -5679,88 +5609,76 @@
5679
5609
  "kind": "js",
5680
5610
  "name": "default",
5681
5611
  "declaration": {
5682
- "name": "ThemeProvider",
5683
- "module": "components/themeprovider/themeprovider.component.js"
5612
+ "name": "Tab",
5613
+ "module": "components/tab/tab.component.js"
5684
5614
  }
5685
5615
  }
5686
5616
  ]
5687
5617
  },
5688
5618
  {
5689
5619
  "kind": "javascript-module",
5690
- "path": "components/toggle/toggle.component.js",
5620
+ "path": "components/radio/radio.component.js",
5691
5621
  "declarations": [
5692
5622
  {
5693
5623
  "kind": "class",
5694
- "description": "Toggle Component is an interactive control used to switch between two mutually exclusive options,\nsuch as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\nwhere users need to enable or disable a feature.\nIt contains an optional label and an optional helper text.\n\nNote: It internally renders a checkbox styled as a toggle switch.",
5695
- "name": "Toggle",
5624
+ "description": "Radio allow users to select single options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selection in lists.\n\nA radio component contains an optional label, optional info icon and an optional helper text.",
5625
+ "name": "Radio",
5696
5626
  "cssProperties": [
5697
5627
  {
5698
- "description": "width of the toggle",
5699
- "name": "--mdc-toggle-width"
5700
- },
5701
- {
5702
- "description": "height of the toggle",
5703
- "name": "--mdc-toggle-height"
5704
- },
5705
- {
5706
- "description": "width of the toggle when it's size is compact",
5707
- "name": "--mdc-toggle-width-compact"
5708
- },
5709
- {
5710
- "description": "height of the toggle when it's size is compact",
5711
- "name": "--mdc-toggle-height-compact"
5628
+ "description": "size of the inner circle",
5629
+ "name": "--mdc-radio-inner-circle-size"
5712
5630
  },
5713
5631
  {
5714
- "description": "border radius of the toggle",
5715
- "name": "--mdc-toggle-border-radius"
5632
+ "description": "color of the label when disabled",
5633
+ "name": "--mdc-radio-text-disabled-color"
5716
5634
  },
5717
5635
  {
5718
- "description": "border radius of the toggle when it's size is compact",
5719
- "name": "--mdc-toggle-border-radius-compact"
5636
+ "description": "color of the radio button border when disabled",
5637
+ "name": "--mdc-radio-disabled-border-color"
5720
5638
  },
5721
5639
  {
5722
- "description": "border of the toggle",
5723
- "name": "--mdc-toggle-border"
5640
+ "description": "color of the radio button border when normal",
5641
+ "name": "--mdc-radio-normal-border-color"
5724
5642
  },
5725
5643
  {
5726
- "description": "background color of the inactive toggle in rest state",
5727
- "name": "--mdc-toggle-inactive-rest-color"
5644
+ "description": "background color of the inner circle when normal",
5645
+ "name": "--mdc-radio-inner-circle-normal-background"
5728
5646
  },
5729
5647
  {
5730
- "description": "background color of the inactive toggle in hover state",
5731
- "name": "--mdc-toggle-inactive-hover-color"
5648
+ "description": "background color of the inner circle when disabled",
5649
+ "name": "--mdc-radio-inner-circle-disabled-background"
5732
5650
  },
5733
5651
  {
5734
- "description": "background color of the inactive toggle in pressed state",
5735
- "name": "--mdc-toggle-inactive-pressed-color"
5652
+ "description": "color of the radio button when inactive",
5653
+ "name": "--mdc-radio-control-inactive-color"
5736
5654
  },
5737
5655
  {
5738
- "description": "background color of the inactive toggle in disabled state",
5739
- "name": "--mdc-toggle-inactive-disabled-color"
5656
+ "description": "color of the radio button when inactive and hovered",
5657
+ "name": "--mdc-radio-control-inactive-hover"
5740
5658
  },
5741
5659
  {
5742
- "description": "background color of the active toggle in rest state",
5743
- "name": "--mdc-toggle-active-rest-color"
5660
+ "description": "color of the radio button when inactive and pressed",
5661
+ "name": "--mdc-radio-control-inactive-pressed-color"
5744
5662
  },
5745
5663
  {
5746
- "description": "background color of the active toggle in hover state",
5747
- "name": "--mdc-toggle-active-hover-color"
5664
+ "description": "background color of the radio button when inactive and disabled",
5665
+ "name": "--mdc-radio-control-inactive-disabled-background"
5748
5666
  },
5749
5667
  {
5750
- "description": "background color of the active toggle in pressed state",
5751
- "name": "--mdc-toggle-active-pressed-color"
5668
+ "description": "color of the radio button when active",
5669
+ "name": "--mdc-radio-control-active-color"
5752
5670
  },
5753
5671
  {
5754
- "description": "background color of the active toggle in disabled state",
5755
- "name": "--mdc-toggle-active-disabled-color"
5672
+ "description": "color of the radio button when active and hovered",
5673
+ "name": "--mdc-radio-control-active-hover-color"
5756
5674
  },
5757
5675
  {
5758
- "description": " color of the help text label",
5759
- "name": "--mdc-toggle-help-text-color"
5676
+ "description": "color of the radio button when active and pressed",
5677
+ "name": "--mdc-radio-control-active-pressed-color"
5760
5678
  },
5761
5679
  {
5762
- "description": "color of the toggle label and help text in disabled state",
5763
- "name": "--mdc-toggle-label-color-disabled"
5680
+ "description": "background color of the radio button when active and disabled",
5681
+ "name": "--mdc-radio-control-active-disabled-background"
5764
5682
  }
5765
5683
  ],
5766
5684
  "members": [
@@ -5771,81 +5689,134 @@
5771
5689
  "text": "boolean"
5772
5690
  },
5773
5691
  "default": "false",
5774
- "description": "Determines whether the toggle is active or inactive.",
5692
+ "description": "Determines whether the radio is selected or unselected.",
5775
5693
  "attribute": "checked",
5776
5694
  "reflects": true
5777
5695
  },
5778
5696
  {
5779
5697
  "kind": "field",
5780
- "name": "size",
5698
+ "name": "readonly",
5781
5699
  "type": {
5782
- "text": "ToggleSize"
5700
+ "text": "boolean"
5783
5701
  },
5784
- "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
5785
- "default": "default",
5786
- "attribute": "size",
5702
+ "default": "false",
5703
+ "description": "Determines whether the radio is read-only.",
5704
+ "attribute": "readonly",
5787
5705
  "reflects": true
5788
5706
  },
5789
5707
  {
5790
5708
  "kind": "method",
5791
5709
  "name": "setFormValue",
5792
5710
  "privacy": "private",
5793
- "description": "Updates the form value to reflect the current state of the toggle.\nIf toggle is switched on, the value is set to either the user-provided value or 'isActive' if no value is provided.\nIf toggle is switched off, the value is set to null."
5711
+ "description": "Updates the form value to reflect the current state of the radio.\nIf checked, the value is set to the user-provided value.\nIf unchecked, the value is set to null."
5794
5712
  },
5795
5713
  {
5796
5714
  "kind": "method",
5797
- "name": "toggleState",
5715
+ "name": "getAllRadiosWithinSameGroup",
5716
+ "privacy": "private",
5717
+ "return": {
5718
+ "type": {
5719
+ "text": "Radio[]"
5720
+ }
5721
+ },
5722
+ "description": "Returns all radios within the same group (name)."
5723
+ },
5724
+ {
5725
+ "kind": "method",
5726
+ "name": "dispatchChangeEvent",
5798
5727
  "privacy": "private",
5799
5728
  "return": {
5800
5729
  "type": {
5801
5730
  "text": "void"
5802
5731
  }
5803
5732
  },
5804
- "description": "Toggles the state of the toggle element.\nIf the element is not disabled, then the checked property is toggled."
5733
+ "parameters": [
5734
+ {
5735
+ "name": "event",
5736
+ "type": {
5737
+ "text": "Event"
5738
+ }
5739
+ }
5740
+ ],
5741
+ "description": "The 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed"
5742
+ },
5743
+ {
5744
+ "kind": "method",
5745
+ "name": "handleChange",
5746
+ "privacy": "private",
5747
+ "return": {
5748
+ "type": {
5749
+ "text": "void"
5750
+ }
5751
+ },
5752
+ "parameters": [
5753
+ {
5754
+ "name": "event",
5755
+ "type": {
5756
+ "text": "Event"
5757
+ }
5758
+ }
5759
+ ],
5760
+ "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
5805
5761
  },
5806
5762
  {
5807
5763
  "kind": "method",
5808
- "name": "handleChange",
5764
+ "name": "updateRadio",
5809
5765
  "privacy": "private",
5810
5766
  "parameters": [
5767
+ {
5768
+ "name": "enabledRadios",
5769
+ "type": {
5770
+ "text": "Radio[]"
5771
+ },
5772
+ "description": "An array of enabled radio buttons within the same group."
5773
+ },
5774
+ {
5775
+ "name": "index",
5776
+ "type": {
5777
+ "text": "number"
5778
+ },
5779
+ "description": "The index of the radio button to be updated within the enabled radios array."
5780
+ },
5811
5781
  {
5812
5782
  "name": "event",
5813
5783
  "type": {
5814
5784
  "text": "Event"
5815
- }
5785
+ },
5786
+ "description": "The event that triggered the update."
5816
5787
  }
5817
5788
  ],
5818
- "description": "Toggles the state of the toggle element.\nand dispatch the new change event."
5789
+ "description": "Updates the state of the radio button at the specified index within the enabled radios.\nFocuses the radio button and triggers the change event if the radio button is not read-only."
5819
5790
  },
5820
5791
  {
5821
5792
  "kind": "method",
5822
- "name": "setToggleSize",
5793
+ "name": "handleKeyDown",
5823
5794
  "privacy": "private",
5795
+ "return": {
5796
+ "type": {
5797
+ "text": "void"
5798
+ }
5799
+ },
5824
5800
  "parameters": [
5825
5801
  {
5826
- "name": "size",
5802
+ "name": "event",
5827
5803
  "type": {
5828
- "text": "ToggleSize"
5829
- },
5830
- "description": "The size to set."
5804
+ "text": "KeyboardEvent"
5805
+ }
5831
5806
  }
5832
5807
  ],
5833
- "description": "Sets the size attribute for the toggle component.\nIf the provided size is not included in the TOGGLE_SIZE,\nit defaults to the value specified in DEFAULTS.SIZE."
5808
+ "description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
5834
5809
  },
5835
5810
  {
5836
- "kind": "field",
5837
- "name": "helpTextType",
5838
- "type": {
5839
- "text": "ValidationType"
5811
+ "kind": "method",
5812
+ "name": "updateTabIndex",
5813
+ "privacy": "private",
5814
+ "return": {
5815
+ "type": {
5816
+ "text": "void"
5817
+ }
5840
5818
  },
5841
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
5842
- "attribute": "help-text-type",
5843
- "reflects": true,
5844
- "default": "undefined as unknown",
5845
- "inheritedFrom": {
5846
- "name": "FormfieldWrapper",
5847
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5848
- }
5819
+ "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"
5849
5820
  },
5850
5821
  {
5851
5822
  "kind": "field",
@@ -5946,6 +5917,20 @@
5946
5917
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5947
5918
  }
5948
5919
  },
5920
+ {
5921
+ "kind": "field",
5922
+ "name": "helpTextType",
5923
+ "type": {
5924
+ "text": "ValidationType"
5925
+ },
5926
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
5927
+ "attribute": "help-text-type",
5928
+ "reflects": true,
5929
+ "inheritedFrom": {
5930
+ "name": "FormfieldWrapper",
5931
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5932
+ }
5933
+ },
5949
5934
  {
5950
5935
  "kind": "field",
5951
5936
  "name": "helpText",
@@ -6059,17 +6044,17 @@
6059
6044
  "text": "boolean"
6060
6045
  },
6061
6046
  "default": "false",
6062
- "description": "Determines whether the toggle is active or inactive.",
6047
+ "description": "Determines whether the radio is selected or unselected.",
6063
6048
  "fieldName": "checked"
6064
6049
  },
6065
6050
  {
6066
- "name": "size",
6051
+ "name": "readonly",
6067
6052
  "type": {
6068
- "text": "ToggleSize"
6053
+ "text": "boolean"
6069
6054
  },
6070
- "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
6071
- "default": "default",
6072
- "fieldName": "size"
6055
+ "default": "false",
6056
+ "description": "Determines whether the radio is read-only.",
6057
+ "fieldName": "readonly"
6073
6058
  },
6074
6059
  {
6075
6060
  "name": "name",
@@ -6188,31 +6173,213 @@
6188
6173
  "module": "/src/utils/mixins/NameMixin"
6189
6174
  },
6190
6175
  {
6191
- "name": "ValueMixin",
6192
- "module": "/src/utils/mixins/ValueMixin"
6176
+ "name": "ValueMixin",
6177
+ "module": "/src/utils/mixins/ValueMixin"
6178
+ },
6179
+ {
6180
+ "name": "DataAriaLabelMixin",
6181
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
6182
+ }
6183
+ ],
6184
+ "superclass": {
6185
+ "name": "FormfieldWrapper",
6186
+ "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
6187
+ },
6188
+ "tagName": "mdc-radio",
6189
+ "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 * @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 */",
6190
+ "customElement": true,
6191
+ "slots": [
6192
+ {
6193
+ "description": "slot to add the label info icon",
6194
+ "name": "label-info",
6195
+ "inheritedFrom": {
6196
+ "name": "FormfieldWrapper",
6197
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6198
+ }
6199
+ }
6200
+ ]
6201
+ }
6202
+ ],
6203
+ "exports": [
6204
+ {
6205
+ "kind": "js",
6206
+ "name": "default",
6207
+ "declaration": {
6208
+ "name": "Radio",
6209
+ "module": "components/radio/radio.component.js"
6210
+ }
6211
+ }
6212
+ ]
6213
+ },
6214
+ {
6215
+ "kind": "javascript-module",
6216
+ "path": "components/text/text.component.js",
6217
+ "declarations": [
6218
+ {
6219
+ "kind": "class",
6220
+ "description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
6221
+ "name": "Text",
6222
+ "cssParts": [
6223
+ {
6224
+ "description": "The text element",
6225
+ "name": "text"
6226
+ }
6227
+ ],
6228
+ "slots": [
6229
+ {
6230
+ "description": "Default slot for text content",
6231
+ "name": ""
6232
+ }
6233
+ ],
6234
+ "members": [
6235
+ {
6236
+ "kind": "field",
6237
+ "name": "type",
6238
+ "type": {
6239
+ "text": "TextType"
6240
+ },
6241
+ "privacy": "public",
6242
+ "description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
6243
+ "default": "body-large-regular",
6244
+ "attribute": "type",
6245
+ "reflects": true
6246
+ },
6247
+ {
6248
+ "kind": "field",
6249
+ "name": "tagname",
6250
+ "type": {
6251
+ "text": "TagName | undefined"
6252
+ },
6253
+ "privacy": "public",
6254
+ "description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
6255
+ "attribute": "tagname",
6256
+ "reflects": true
6257
+ }
6258
+ ],
6259
+ "attributes": [
6260
+ {
6261
+ "name": "type",
6262
+ "type": {
6263
+ "text": "TextType"
6264
+ },
6265
+ "description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
6266
+ "default": "body-large-regular",
6267
+ "fieldName": "type"
6268
+ },
6269
+ {
6270
+ "name": "tagname",
6271
+ "type": {
6272
+ "text": "TagName | undefined"
6273
+ },
6274
+ "description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
6275
+ "fieldName": "tagname"
6276
+ }
6277
+ ],
6278
+ "superclass": {
6279
+ "name": "Component",
6280
+ "module": "/src/models"
6281
+ },
6282
+ "tagName": "mdc-text",
6283
+ "jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
6284
+ "customElement": true
6285
+ }
6286
+ ],
6287
+ "exports": [
6288
+ {
6289
+ "kind": "js",
6290
+ "name": "default",
6291
+ "declaration": {
6292
+ "name": "Text",
6293
+ "module": "components/text/text.component.js"
6294
+ }
6295
+ }
6296
+ ]
6297
+ },
6298
+ {
6299
+ "kind": "javascript-module",
6300
+ "path": "components/themeprovider/themeprovider.component.js",
6301
+ "declarations": [
6302
+ {
6303
+ "kind": "class",
6304
+ "description": "ThemeProvider component, which sets the passed in themeclass as class.\nIf the themeclass switches, the existing themeclass will be removed as a class\nand the new themeclass will be added.\n\nCSS variables defined in the themeclass will be used for the styling of child dom nodes.\n\nThemeclass context can be be consumed from Lit child components\n(see providerUtils.consume for how to consume)\n\nThemeProvider also includes basic font defaults for text.",
6305
+ "name": "ThemeProvider",
6306
+ "cssProperties": [
6307
+ {
6308
+ "description": "Option to override the default color, default: color-theme-text-primary-normal",
6309
+ "name": "--mdc-themeprovider-color-default"
6310
+ },
6311
+ {
6312
+ "description": "Option to override the font family, default: `Momentum` (from momentum-design/fonts)",
6313
+ "name": "--mdc-themeprovider-font-family"
6314
+ },
6315
+ {
6316
+ "description": "Option to override the font weight, default: `400`",
6317
+ "name": "--mdc-themeprovider-font-weight"
6318
+ },
6319
+ {
6320
+ "description": "Option to override the default letter-spacing, default: `-0.25px` (this is to match the old CiscoSans)",
6321
+ "name": "--mdc-themeprovider-letter-spacing-adjustment"
6322
+ }
6323
+ ],
6324
+ "slots": [
6325
+ {
6326
+ "description": "children",
6327
+ "name": ""
6328
+ }
6329
+ ],
6330
+ "members": [
6331
+ {
6332
+ "kind": "field",
6333
+ "name": "Context",
6334
+ "privacy": "public",
6335
+ "static": true,
6336
+ "description": "Context object of the ThemeProvider, to be consumed by child components",
6337
+ "readonly": true
6338
+ },
6339
+ {
6340
+ "kind": "field",
6341
+ "name": "themeclass",
6342
+ "type": {
6343
+ "text": "string"
6344
+ },
6345
+ "description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
6346
+ "attribute": "themeclass"
6347
+ },
6348
+ {
6349
+ "kind": "method",
6350
+ "name": "updateContext",
6351
+ "privacy": "protected",
6352
+ "return": {
6353
+ "type": {
6354
+ "text": "void"
6355
+ }
6356
+ },
6357
+ "description": "Update all observing components of this\nprovider to update the themeclass\n\nIs called on every re-render, see Provider class"
6193
6358
  },
6194
6359
  {
6195
- "name": "DataAriaLabelMixin",
6196
- "module": "/src/utils/mixins/DataAriaLabelMixin"
6360
+ "kind": "method",
6361
+ "name": "setThemeInClassList",
6362
+ "privacy": "private",
6363
+ "description": "Function to update the active theme classnames to update the theme tokens\nas CSS variables on the web component."
6197
6364
  }
6198
6365
  ],
6199
- "superclass": {
6200
- "name": "FormfieldWrapper",
6201
- "module": "/src/components/formfieldwrapper"
6202
- },
6203
- "tagName": "mdc-toggle",
6204
- "jsDoc": "/**\n * Toggle Component is an interactive control used to switch between two mutually exclusive options,\n * such as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\n * where users need to enable or disable a feature.\n * It contains an optional label and an optional helper text.\n *\n * Note: It internally renders a checkbox styled as a toggle switch.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-toggle\n *\n * @cssproperty --mdc-toggle-width - width of the toggle\n * @cssproperty --mdc-toggle-height - height of the toggle\n * @cssproperty --mdc-toggle-width-compact - width of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-height-compact - height of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-border-radius - border radius of the toggle\n * @cssproperty --mdc-toggle-border-radius-compact - border radius of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-border - border of the toggle\n * @cssproperty --mdc-toggle-inactive-rest-color - background color of the inactive toggle in rest state\n * @cssproperty --mdc-toggle-inactive-hover-color - background color of the inactive toggle in hover state\n * @cssproperty --mdc-toggle-inactive-pressed-color - background color of the inactive toggle in pressed state\n * @cssproperty --mdc-toggle-inactive-disabled-color - background color of the inactive toggle in disabled state\n * @cssproperty --mdc-toggle-active-rest-color - background color of the active toggle in rest state\n * @cssproperty --mdc-toggle-active-hover-color - background color of the active toggle in hover state\n * @cssproperty --mdc-toggle-active-pressed-color - background color of the active toggle in pressed state\n * @cssproperty --mdc-toggle-active-disabled-color - background color of the active toggle in disabled state\n * @cssproperty --mdc-toggle-help-text-color - color of the help text label\n * @cssproperty --mdc-toggle-label-color-disabled - color of the toggle label and help text in disabled state\n *\n */",
6205
- "customElement": true,
6206
- "slots": [
6366
+ "attributes": [
6207
6367
  {
6208
- "description": "slot to add the label info icon",
6209
- "name": "label-info",
6210
- "inheritedFrom": {
6211
- "name": "FormfieldWrapper",
6212
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6213
- }
6368
+ "name": "themeclass",
6369
+ "type": {
6370
+ "text": "string"
6371
+ },
6372
+ "description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
6373
+ "fieldName": "themeclass"
6214
6374
  }
6215
- ]
6375
+ ],
6376
+ "superclass": {
6377
+ "name": "Provider",
6378
+ "module": "/src/models"
6379
+ },
6380
+ "tagName": "mdc-themeprovider",
6381
+ "jsDoc": "/**\n * ThemeProvider component, which sets the passed in themeclass as class.\n * If the themeclass switches, the existing themeclass will be removed as a class\n * and the new themeclass will be added.\n *\n * CSS variables defined in the themeclass will be used for the styling of child dom nodes.\n *\n * Themeclass context can be be consumed from Lit child components\n * (see providerUtils.consume for how to consume)\n *\n * ThemeProvider also includes basic font defaults for text.\n *\n * @tagname mdc-themeprovider\n *\n * @slot - children\n *\n * @cssproperty --mdc-themeprovider-color-default - Option to override the default color,\n * default: color-theme-text-primary-normal\n * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,\n * default: `Momentum` (from momentum-design/fonts)\n * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`\n * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,\n * default: `-0.25px` (this is to match the old CiscoSans)\n */",
6382
+ "customElement": true
6216
6383
  }
6217
6384
  ],
6218
6385
  "exports": [
@@ -6220,577 +6387,435 @@
6220
6387
  "kind": "js",
6221
6388
  "name": "default",
6222
6389
  "declaration": {
6223
- "name": "Toggle",
6224
- "module": "components/toggle/toggle.component.js"
6390
+ "name": "ThemeProvider",
6391
+ "module": "components/themeprovider/themeprovider.component.js"
6225
6392
  }
6226
6393
  }
6227
6394
  ]
6228
6395
  },
6229
6396
  {
6230
6397
  "kind": "javascript-module",
6231
- "path": "components/tab/tab.component.js",
6398
+ "path": "components/toggle/toggle.component.js",
6232
6399
  "declarations": [
6233
6400
  {
6234
6401
  "kind": "class",
6235
- "description": "`mdc-tab` is Tab component to be used within the Tabgroup.\n\nPassing in the attribute `text` to the tab component is changing the text displayed in the tab.\n\nThe `slot=\"badge\"` can be used to add a badge to the tab.\n\nFor `icon`, the `mdc-icon` component is used to render the icon.",
6236
- "name": "Tab",
6402
+ "description": "Toggle Component is an interactive control used to switch between two mutually exclusive options,\nsuch as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\nwhere users need to enable or disable a feature.\nIt contains an optional label and an optional helper text.\n\nTo create a group of toggles, use the FormFieldGroup component.\n\nNote: It internally renders a checkbox styled as a toggle switch.",
6403
+ "name": "Toggle",
6237
6404
  "cssProperties": [
6238
6405
  {
6239
- "description": "Gap between the badge(if provided), icon and text.",
6240
- "name": "--mdc-tab-content-gap"
6241
- },
6242
- {
6243
- "description": "Height of the tab.",
6244
- "name": "--mdc-tab-height"
6245
- },
6246
- {
6247
- "description": "Background color for active glass tab in disabled state.",
6248
- "name": "--mdc-tab-glass-active-background-color-disabled"
6249
- },
6250
- {
6251
- "description": "Background color for active glass tab in hover state.",
6252
- "name": "--mdc-tab-glass-active-background-color-hover"
6253
- },
6254
- {
6255
- "description": "Background color for active glass tab in rest state.",
6256
- "name": "--mdc-tab-glass-active-background-color-normal"
6257
- },
6258
- {
6259
- "description": "Background color for active glass tab in pressed state.",
6260
- "name": "--mdc-tab-glass-active-background-color-pressed"
6261
- },
6262
- {
6263
- "description": "Text and icon color for active glass tab.",
6264
- "name": "--mdc-tab-glass-active-color"
6265
- },
6266
- {
6267
- "description": "Text and icon color for active glass tab in disabled state.",
6268
- "name": "--mdc-tab-glass-active-color-disabled"
6269
- },
6270
- {
6271
- "description": "Border radius for glass tab.",
6272
- "name": "--mdc-tab-glass-border-radius"
6273
- },
6274
- {
6275
- "description": "Background color for inactive glass tab in disabled state.",
6276
- "name": "--mdc-tab-glass-inactive-background-color-disabled"
6277
- },
6278
- {
6279
- "description": "Background color for inactive glass tab in hover state.",
6280
- "name": "--mdc-tab-glass-inactive-background-color-hover"
6281
- },
6282
- {
6283
- "description": "Background color for inactive glass tab in rest state.",
6284
- "name": "--mdc-tab-glass-inactive-background-color-normal"
6285
- },
6286
- {
6287
- "description": "Background color for inactive glass tab in pressed state.",
6288
- "name": "--mdc-tab-glass-inactive-background-color-pressed"
6289
- },
6290
- {
6291
- "description": "Text and icon color for inactive glass tab.",
6292
- "name": "--mdc-tab-glass-inactive-color"
6293
- },
6294
- {
6295
- "description": "Text and icon color for inactive glass tab in disabled state.",
6296
- "name": "--mdc-tab-glass-inactive-color-disabled"
6297
- },
6298
- {
6299
- "description": "Background color for active line tab in pressed state.",
6300
- "name": "--mdc-tab-line-active-background-color-pressed"
6301
- },
6302
- {
6303
- "description": "Background color for active line tab in disabled state.",
6304
- "name": "--mdc-tab-line-active-background-color-disabled"
6305
- },
6306
- {
6307
- "description": "Background color for active line tab in hover state.",
6308
- "name": "--mdc-tab-line-active-background-color-hover"
6309
- },
6310
- {
6311
- "description": "Background color for active line tab in rest state.",
6312
- "name": "--mdc-tab-line-active-background-color-normal"
6313
- },
6314
- {
6315
- "description": "Text and icon color for active line tab.",
6316
- "name": "--mdc-tab-line-active-color"
6317
- },
6318
- {
6319
- "description": "Text and icon color for active line tab in disabled state.",
6320
- "name": "--mdc-tab-line-active-color-disabled"
6321
- },
6322
- {
6323
- "description": "color for indicator in active line tab.",
6324
- "name": "--mdc-tab-line-active-indicator-color"
6325
- },
6326
- {
6327
- "description": "Color for indicator in active line tab in disabled state.",
6328
- "name": "--mdc-tab-line-active-indicator-color-disabled"
6329
- },
6330
- {
6331
- "description": "Height for indicator in active line tab.",
6332
- "name": "--mdc-tab-line-active-indicator-height"
6333
- },
6334
- {
6335
- "description": "Width for indicator in active line tab.",
6336
- "name": "--mdc-tab-line-active-indicator-width"
6337
- },
6338
- {
6339
- "description": "Bottom left border radius for line tab.",
6340
- "name": "--mdc-tab-line-border-bottom-left-radius"
6341
- },
6342
- {
6343
- "description": "Bottom right border radius for line tab.",
6344
- "name": "--mdc-tab-line-border-bottom-right-radius"
6345
- },
6346
- {
6347
- "description": "Top left border radius for line tab.",
6348
- "name": "--mdc-tab-line-border-top-left-radius"
6349
- },
6350
- {
6351
- "description": "Top right border radius for line tab.",
6352
- "name": "--mdc-tab-line-border-top-right-radius"
6353
- },
6354
- {
6355
- "description": "Background color for inactive line tab in pressed state.",
6356
- "name": "--mdc-tab-line-inactive-background-color-pressed"
6357
- },
6358
- {
6359
- "description": "Background color for inactive line tab in disabled state",
6360
- "name": "--mdc-tab-line-inactive-background-color-disabled"
6361
- },
6362
- {
6363
- "description": "Background color for inactive line tab in hover state.",
6364
- "name": "--mdc-tab-line-inactive-background-color-hover"
6365
- },
6366
- {
6367
- "description": "Background color for inactive line tab in rest state.",
6368
- "name": "--mdc-tab-line-inactive-background-color-normal"
6369
- },
6370
- {
6371
- "description": "Text and icon color for inactive line tab.",
6372
- "name": "--mdc-tab-line-inactive-color"
6406
+ "description": "width of the toggle",
6407
+ "name": "--mdc-toggle-width"
6373
6408
  },
6374
6409
  {
6375
- "description": "Text and icon color for inactive line tab in disabled state.",
6376
- "name": "--mdc-tab-line-inactive-color-disabled"
6410
+ "description": "height of the toggle",
6411
+ "name": "--mdc-toggle-height"
6377
6412
  },
6378
6413
  {
6379
- "description": "Padding left for the tab.",
6380
- "name": "--mdc-tab-padding-left"
6414
+ "description": "width of the toggle when it's size is compact",
6415
+ "name": "--mdc-toggle-width-compact"
6381
6416
  },
6382
6417
  {
6383
- "description": "Padding right for the tab.",
6384
- "name": "--mdc-tab-padding-right"
6418
+ "description": "height of the toggle when it's size is compact",
6419
+ "name": "--mdc-toggle-height-compact"
6385
6420
  },
6386
6421
  {
6387
- "description": "Background color for active pill tab in pressed state.",
6388
- "name": "--mdc-tab-pill-active-background-color-pressed"
6422
+ "description": "border radius of the toggle",
6423
+ "name": "--mdc-toggle-border-radius"
6389
6424
  },
6390
6425
  {
6391
- "description": "Background color for active pill tab in disabled state.",
6392
- "name": "--mdc-tab-pill-active-background-color-disabled"
6426
+ "description": "border radius of the toggle when it's size is compact",
6427
+ "name": "--mdc-toggle-border-radius-compact"
6393
6428
  },
6394
6429
  {
6395
- "description": "Background color for active pill tab in hover state.",
6396
- "name": "--mdc-tab-pill-active-background-color-hover"
6430
+ "description": "border of the toggle",
6431
+ "name": "--mdc-toggle-border"
6397
6432
  },
6398
6433
  {
6399
- "description": "Background color for active pill tab in rest state.",
6400
- "name": "--mdc-tab-pill-active-background-color-normal"
6434
+ "description": "background color of the inactive toggle in rest state",
6435
+ "name": "--mdc-toggle-inactive-rest-color"
6401
6436
  },
6402
6437
  {
6403
- "description": "Text and icon color for active pill tab.",
6404
- "name": "--mdc-tab-pill-active-color"
6438
+ "description": "background color of the inactive toggle in hover state",
6439
+ "name": "--mdc-toggle-inactive-hover-color"
6405
6440
  },
6406
6441
  {
6407
- "description": "Text and icon color for active pill tab in disabled state.",
6408
- "name": "--mdc-tab-pill-active-color-disabled"
6442
+ "description": "background color of the inactive toggle in pressed state",
6443
+ "name": "--mdc-toggle-inactive-pressed-color"
6409
6444
  },
6410
6445
  {
6411
- "description": "Border radius for pill tab.",
6412
- "name": "--mdc-tab-pill-border-radius"
6446
+ "description": "background color of the inactive toggle in disabled state",
6447
+ "name": "--mdc-toggle-inactive-disabled-color"
6413
6448
  },
6414
6449
  {
6415
- "description": "Background color for inactive pill tab in pressed state.",
6416
- "name": "--mdc-tab-pill-inactive-background-color-pressed"
6450
+ "description": "background color of the active toggle in rest state",
6451
+ "name": "--mdc-toggle-active-rest-color"
6417
6452
  },
6418
6453
  {
6419
- "description": "Background color for inactive pill tab in disabled state.",
6420
- "name": "--mdc-tab-pill-inactive-background-color-disabled"
6454
+ "description": "background color of the active toggle in hover state",
6455
+ "name": "--mdc-toggle-active-hover-color"
6421
6456
  },
6422
6457
  {
6423
- "description": "Background color for inactive pill tab in hover state.",
6424
- "name": "--mdc-tab-pill-inactive-background-color-hover"
6458
+ "description": "background color of the active toggle in pressed state",
6459
+ "name": "--mdc-toggle-active-pressed-color"
6425
6460
  },
6426
6461
  {
6427
- "description": "Background color for inactive pill tab in rest state.",
6428
- "name": "--mdc-tab-pill-inactive-background-color-normal"
6462
+ "description": "background color of the active toggle in disabled state",
6463
+ "name": "--mdc-toggle-active-disabled-color"
6429
6464
  },
6430
6465
  {
6431
- "description": "Text and icon color for inactive pill tab.",
6432
- "name": "--mdc-tab-pill-inactive-color"
6466
+ "description": " color of the help text label",
6467
+ "name": "--mdc-toggle-help-text-color"
6433
6468
  },
6434
- {
6435
- "description": "Text and icon color for inactive pill tab in disabled state.",
6436
- "name": "--mdc-tab-pill-inactive-color-disabled"
6469
+ {
6470
+ "description": "color of the toggle label and help text in disabled state",
6471
+ "name": "--mdc-toggle-label-color-disabled"
6437
6472
  }
6438
6473
  ],
6439
6474
  "members": [
6440
6475
  {
6441
6476
  "kind": "field",
6442
- "name": "text",
6477
+ "name": "checked",
6443
6478
  "type": {
6444
- "text": "string | undefined"
6479
+ "text": "boolean"
6445
6480
  },
6446
- "description": "Text to be displayed in the tab.\nIf no `text` is provided, no text will be rendered,\n`aria-label` should be set on the tab.",
6447
- "attribute": "text",
6481
+ "default": "false",
6482
+ "description": "Determines whether the toggle is active or inactive.",
6483
+ "attribute": "checked",
6448
6484
  "reflects": true
6449
6485
  },
6450
6486
  {
6451
6487
  "kind": "field",
6452
- "name": "variant",
6488
+ "name": "size",
6453
6489
  "type": {
6454
- "text": "Variant"
6490
+ "text": "ToggleSize"
6455
6491
  },
6456
- "description": "Tab can have three variants:\n- `glass`\n- `line`\n- `pill`\n\nIt defines the background and foreground color of the tab.",
6457
- "default": "pill",
6458
- "attribute": "variant",
6492
+ "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
6493
+ "default": "default",
6494
+ "attribute": "size",
6459
6495
  "reflects": true
6460
6496
  },
6461
6497
  {
6462
6498
  "kind": "method",
6463
- "name": "modifyIconName",
6499
+ "name": "setFormValue",
6464
6500
  "privacy": "private",
6465
- "return": {
6466
- "type": {
6467
- "text": "void"
6468
- }
6469
- },
6470
- "parameters": [
6471
- {
6472
- "name": "active",
6473
- "type": {
6474
- "text": "boolean"
6475
- },
6476
- "description": "The active state."
6477
- }
6478
- ],
6479
- "description": "Modifies the icon name based on the active state.\nIf the tab is active, the icon name is suffixed with '-filled'.\nIf the tab is inactive, the icon name is restored to its original value.\nIf '-filled' icon is not available, the icon name remains unchanged."
6501
+ "description": "Updates the form value to reflect the current state of the toggle.\nIf toggle is switched on, the value is set to either the user-provided value or 'isActive' if no value is provided.\nIf toggle is switched off, the value is set to null."
6480
6502
  },
6481
6503
  {
6482
6504
  "kind": "method",
6483
- "name": "setVariant",
6505
+ "name": "toggleState",
6484
6506
  "privacy": "private",
6485
6507
  "return": {
6486
6508
  "type": {
6487
6509
  "text": "void"
6488
6510
  }
6489
6511
  },
6512
+ "description": "Toggles the state of the toggle element.\nIf the element is not disabled, then the checked property is toggled."
6513
+ },
6514
+ {
6515
+ "kind": "method",
6516
+ "name": "handleChange",
6517
+ "privacy": "private",
6490
6518
  "parameters": [
6491
6519
  {
6492
- "name": "variant",
6520
+ "name": "event",
6493
6521
  "type": {
6494
- "text": "Variant"
6495
- },
6496
- "description": "The variant to set."
6522
+ "text": "Event"
6523
+ }
6497
6524
  }
6498
6525
  ],
6499
- "description": "Sets the variant attribute for the tab component.\nIf the provided variant is not included in the TAB_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT."
6526
+ "description": "Toggles the state of the toggle element.\nand dispatch the new change event."
6500
6527
  },
6501
6528
  {
6502
6529
  "kind": "method",
6503
- "name": "setActive",
6504
- "privacy": "protected",
6530
+ "name": "setToggleSize",
6531
+ "privacy": "private",
6505
6532
  "parameters": [
6506
6533
  {
6507
- "name": "element",
6508
- "type": {
6509
- "text": "HTMLElement"
6510
- },
6511
- "description": "The tab element."
6512
- },
6513
- {
6514
- "name": "active",
6534
+ "name": "size",
6515
6535
  "type": {
6516
- "text": "boolean"
6536
+ "text": "ToggleSize"
6517
6537
  },
6518
- "description": "The active state of the tab."
6538
+ "description": "The size to set."
6519
6539
  }
6520
6540
  ],
6521
- "description": "Sets the aria-selected attribute based on the active state of the Tab.\nIf the tab is active, the filled version of the icon is displayed,\nelse the icon is restored to its original value.",
6522
- "inheritedFrom": {
6523
- "name": "Buttonsimple",
6524
- "module": "components/buttonsimple/buttonsimple.component.js"
6525
- }
6541
+ "description": "Sets the size attribute for the toggle component.\nIf the provided size is not included in the TOGGLE_SIZE,\nit defaults to the value specified in DEFAULTS.SIZE."
6526
6542
  },
6527
6543
  {
6528
- "kind": "method",
6529
- "name": "executeAction",
6530
- "privacy": "protected",
6544
+ "kind": "field",
6545
+ "name": "helpTextType",
6546
+ "type": {
6547
+ "text": "ValidationType"
6548
+ },
6549
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
6550
+ "attribute": "help-text-type",
6551
+ "reflects": true,
6552
+ "default": "undefined as unknown",
6531
6553
  "inheritedFrom": {
6532
- "name": "Buttonsimple",
6533
- "module": "components/buttonsimple/buttonsimple.component.js"
6554
+ "name": "FormfieldWrapper",
6555
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6534
6556
  }
6535
6557
  },
6536
6558
  {
6537
6559
  "kind": "field",
6538
- "name": "role",
6539
- "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.",
6540
- "default": "'tab'",
6541
- "attribute": "role",
6542
- "reflects": true,
6560
+ "name": "name",
6543
6561
  "type": {
6544
6562
  "text": "string"
6545
6563
  },
6564
+ "default": "''",
6565
+ "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
6566
+ "attribute": "name",
6567
+ "reflects": true,
6546
6568
  "inheritedFrom": {
6547
- "name": "Buttonsimple",
6548
- "module": "components/buttonsimple/buttonsimple.component.js"
6569
+ "name": "NameMixin",
6570
+ "module": "utils/mixins/NameMixin.js"
6549
6571
  }
6550
6572
  },
6551
6573
  {
6552
6574
  "kind": "field",
6553
- "name": "softDisabled",
6575
+ "name": "value",
6554
6576
  "type": {
6555
- "text": "boolean"
6577
+ "text": "string"
6556
6578
  },
6557
- "default": "undefined as unknown",
6558
- "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.",
6559
- "attribute": "soft-disabled",
6579
+ "default": "''",
6580
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
6581
+ "attribute": "value",
6582
+ "reflects": true,
6560
6583
  "inheritedFrom": {
6561
- "name": "Buttonsimple",
6562
- "module": "components/buttonsimple/buttonsimple.component.js"
6584
+ "name": "ValueMixin",
6585
+ "module": "utils/mixins/ValueMixin.js"
6563
6586
  }
6564
6587
  },
6565
6588
  {
6566
6589
  "kind": "field",
6567
- "name": "size",
6590
+ "name": "dataAriaLabel",
6568
6591
  "type": {
6569
- "text": "ButtonSize"
6592
+ "text": "string | null"
6570
6593
  },
6571
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6572
- "default": "undefined as unknown",
6573
- "attribute": "size",
6594
+ "default": "null",
6595
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
6596
+ "attribute": "data-aria-label",
6574
6597
  "reflects": true,
6575
6598
  "inheritedFrom": {
6576
- "name": "Buttonsimple",
6577
- "module": "components/buttonsimple/buttonsimple.component.js"
6599
+ "name": "DataAriaLabelMixin",
6600
+ "module": "utils/mixins/DataAriaLabelMixin.js"
6578
6601
  }
6579
6602
  },
6580
6603
  {
6581
6604
  "kind": "field",
6582
- "name": "type",
6605
+ "name": "disabled",
6583
6606
  "type": {
6584
- "text": "ButtonType"
6607
+ "text": "boolean"
6585
6608
  },
6586
- "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.",
6587
- "default": "undefined as unknown",
6588
- "attribute": "type",
6609
+ "default": "false",
6610
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6611
+ "attribute": "disabled",
6589
6612
  "reflects": true,
6590
6613
  "inheritedFrom": {
6591
- "name": "Buttonsimple",
6592
- "module": "components/buttonsimple/buttonsimple.component.js"
6614
+ "name": "FormfieldWrapper",
6615
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6593
6616
  }
6594
6617
  },
6595
6618
  {
6596
6619
  "kind": "field",
6597
- "name": "iconName",
6620
+ "name": "label",
6598
6621
  "type": {
6599
- "text": "IconNames | undefined"
6622
+ "text": "string | undefined"
6600
6623
  },
6601
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6602
- "attribute": "icon-name",
6624
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
6625
+ "attribute": "label",
6626
+ "reflects": true,
6603
6627
  "inheritedFrom": {
6604
- "name": "IconNameMixin",
6605
- "module": "utils/mixins/IconNameMixin.js"
6628
+ "name": "FormfieldWrapper",
6629
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6606
6630
  }
6607
6631
  },
6608
6632
  {
6609
6633
  "kind": "field",
6610
- "name": "tabIndex",
6634
+ "name": "requiredLabel",
6611
6635
  "type": {
6612
- "text": "number"
6636
+ "text": "string | undefined"
6613
6637
  },
6614
- "default": "0",
6615
- "description": "This property specifies the tab order of the element.",
6616
- "attribute": "tabIndex",
6638
+ "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.",
6639
+ "attribute": "required-label",
6617
6640
  "reflects": true,
6618
6641
  "inheritedFrom": {
6619
- "name": "Buttonsimple",
6620
- "module": "components/buttonsimple/buttonsimple.component.js"
6642
+ "name": "FormfieldWrapper",
6643
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6621
6644
  }
6622
6645
  },
6623
6646
  {
6624
6647
  "kind": "field",
6625
- "name": "disabled",
6626
- "type": {
6627
- "text": "boolean"
6628
- },
6629
- "default": "false",
6630
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6631
- "attribute": "disabled",
6632
- "reflects": true,
6648
+ "name": "id",
6649
+ "default": "`mdc-input-${uuidv4()}`",
6650
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
6651
+ "attribute": "id",
6633
6652
  "inheritedFrom": {
6634
- "name": "Buttonsimple",
6635
- "module": "components/buttonsimple/buttonsimple.component.js"
6653
+ "name": "FormfieldWrapper",
6654
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6636
6655
  }
6637
6656
  },
6638
6657
  {
6639
6658
  "kind": "field",
6640
- "name": "active",
6659
+ "name": "helpText",
6641
6660
  "type": {
6642
- "text": "boolean"
6661
+ "text": "string | undefined"
6643
6662
  },
6644
- "default": "false",
6645
- "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.",
6646
- "attribute": "active",
6663
+ "description": "The help text that is displayed below the input field.",
6664
+ "attribute": "help-text",
6647
6665
  "reflects": true,
6648
6666
  "inheritedFrom": {
6649
- "name": "Buttonsimple",
6650
- "module": "components/buttonsimple/buttonsimple.component.js"
6667
+ "name": "FormfieldWrapper",
6668
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6651
6669
  }
6652
6670
  },
6653
6671
  {
6654
6672
  "kind": "method",
6655
- "name": "setSoftDisabled",
6656
- "privacy": "private",
6657
- "parameters": [
6658
- {
6659
- "name": "element",
6660
- "type": {
6661
- "text": "HTMLElement"
6662
- },
6663
- "description": "The button element."
6664
- },
6665
- {
6666
- "name": "softDisabled",
6667
- "type": {
6668
- "text": "boolean"
6669
- },
6670
- "description": "The soft-disabled state."
6673
+ "name": "renderLabelElement",
6674
+ "privacy": "protected",
6675
+ "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
6676
+ "return": {
6677
+ "type": {
6678
+ "text": ""
6671
6679
  }
6672
- ],
6673
- "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.",
6680
+ },
6674
6681
  "inheritedFrom": {
6675
- "name": "Buttonsimple",
6676
- "module": "components/buttonsimple/buttonsimple.component.js"
6682
+ "name": "FormfieldWrapper",
6683
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6677
6684
  }
6678
- },
6679
- {
6680
- "kind": "method",
6681
- "name": "setDisabled",
6682
- "privacy": "private",
6683
- "parameters": [
6684
- {
6685
- "name": "element",
6686
- "type": {
6687
- "text": "HTMLElement"
6688
- },
6689
- "description": "The button element."
6690
- },
6691
- {
6692
- "name": "disabled",
6693
- "type": {
6694
- "text": "boolean"
6695
- },
6696
- "description": "The disabled state."
6685
+ },
6686
+ {
6687
+ "kind": "method",
6688
+ "name": "renderRequiredLabel",
6689
+ "privacy": "protected",
6690
+ "inheritedFrom": {
6691
+ "name": "FormfieldWrapper",
6692
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6693
+ }
6694
+ },
6695
+ {
6696
+ "kind": "method",
6697
+ "name": "renderHelpTextIcon",
6698
+ "privacy": "protected",
6699
+ "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.",
6700
+ "return": {
6701
+ "type": {
6702
+ "text": ""
6697
6703
  }
6698
- ],
6699
- "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.",
6704
+ },
6700
6705
  "inheritedFrom": {
6701
- "name": "Buttonsimple",
6702
- "module": "components/buttonsimple/buttonsimple.component.js"
6706
+ "name": "FormfieldWrapper",
6707
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6703
6708
  }
6704
6709
  },
6705
6710
  {
6706
6711
  "kind": "method",
6707
- "name": "triggerClickEvent",
6708
- "privacy": "private",
6712
+ "name": "renderHelpText",
6713
+ "privacy": "protected",
6714
+ "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.",
6715
+ "return": {
6716
+ "type": {
6717
+ "text": ""
6718
+ }
6719
+ },
6709
6720
  "inheritedFrom": {
6710
- "name": "Buttonsimple",
6711
- "module": "components/buttonsimple/buttonsimple.component.js"
6721
+ "name": "FormfieldWrapper",
6722
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6712
6723
  }
6713
6724
  },
6714
6725
  {
6715
6726
  "kind": "method",
6716
- "name": "handleKeyDown",
6717
- "privacy": "private",
6718
- "parameters": [
6719
- {
6720
- "name": "event",
6721
- "type": {
6722
- "text": "KeyboardEvent"
6723
- },
6724
- "description": "The keyboard event."
6727
+ "name": "renderLabel",
6728
+ "privacy": "protected",
6729
+ "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
6730
+ "return": {
6731
+ "type": {
6732
+ "text": ""
6725
6733
  }
6726
- ],
6727
- "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.",
6734
+ },
6728
6735
  "inheritedFrom": {
6729
- "name": "Buttonsimple",
6730
- "module": "components/buttonsimple/buttonsimple.component.js"
6736
+ "name": "FormfieldWrapper",
6737
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6731
6738
  }
6732
6739
  },
6733
6740
  {
6734
6741
  "kind": "method",
6735
- "name": "handleKeyUp",
6736
- "privacy": "private",
6737
- "parameters": [
6738
- {
6739
- "name": "event",
6740
- "type": {
6741
- "text": "KeyboardEvent"
6742
- },
6743
- "description": "The keyboard event."
6742
+ "name": "renderHelperText",
6743
+ "privacy": "protected",
6744
+ "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
6745
+ "return": {
6746
+ "type": {
6747
+ "text": ""
6744
6748
  }
6745
- ],
6746
- "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.",
6749
+ },
6747
6750
  "inheritedFrom": {
6748
- "name": "Buttonsimple",
6749
- "module": "components/buttonsimple/buttonsimple.component.js"
6751
+ "name": "FormfieldWrapper",
6752
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6753
+ }
6754
+ }
6755
+ ],
6756
+ "events": [
6757
+ {
6758
+ "type": {
6759
+ "text": "EventConstructor"
6750
6760
  }
6751
6761
  }
6752
6762
  ],
6753
6763
  "attributes": [
6754
6764
  {
6755
- "name": "text",
6765
+ "name": "checked",
6756
6766
  "type": {
6757
- "text": "string | undefined"
6767
+ "text": "boolean"
6758
6768
  },
6759
- "description": "Text to be displayed in the tab.\nIf no `text` is provided, no text will be rendered,\n`aria-label` should be set on the tab.",
6760
- "fieldName": "text"
6769
+ "default": "false",
6770
+ "description": "Determines whether the toggle is active or inactive.",
6771
+ "fieldName": "checked"
6761
6772
  },
6762
6773
  {
6763
- "name": "variant",
6774
+ "name": "size",
6764
6775
  "type": {
6765
- "text": "Variant"
6776
+ "text": "ToggleSize"
6766
6777
  },
6767
- "description": "Tab can have three variants:\n- `glass`\n- `line`\n- `pill`\n\nIt defines the background and foreground color of the tab.",
6768
- "default": "pill",
6769
- "fieldName": "variant"
6778
+ "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
6779
+ "default": "default",
6780
+ "fieldName": "size"
6770
6781
  },
6771
6782
  {
6772
- "name": "icon-name",
6783
+ "name": "name",
6773
6784
  "type": {
6774
- "text": "IconNames | undefined"
6785
+ "text": "string"
6775
6786
  },
6776
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6777
- "fieldName": "iconName",
6787
+ "default": "''",
6788
+ "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
6789
+ "fieldName": "name",
6778
6790
  "inheritedFrom": {
6779
- "name": "IconNameMixin",
6780
- "module": "src/utils/mixins/IconNameMixin.ts"
6791
+ "name": "NameMixin",
6792
+ "module": "src/utils/mixins/NameMixin.ts"
6781
6793
  }
6782
6794
  },
6783
6795
  {
6784
- "name": "tabIndex",
6796
+ "name": "value",
6785
6797
  "type": {
6786
- "text": "number"
6798
+ "text": "string"
6787
6799
  },
6788
- "default": "0",
6789
- "description": "This property specifies the tab order of the element.",
6790
- "fieldName": "tabIndex",
6800
+ "default": "''",
6801
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
6802
+ "fieldName": "value",
6791
6803
  "inheritedFrom": {
6792
- "name": "Buttonsimple",
6793
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6804
+ "name": "ValueMixin",
6805
+ "module": "src/utils/mixins/ValueMixin.ts"
6806
+ }
6807
+ },
6808
+ {
6809
+ "name": "data-aria-label",
6810
+ "type": {
6811
+ "text": "string | null"
6812
+ },
6813
+ "default": "null",
6814
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
6815
+ "fieldName": "dataAriaLabel",
6816
+ "inheritedFrom": {
6817
+ "name": "DataAriaLabelMixin",
6818
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
6794
6819
  }
6795
6820
  },
6796
6821
  {
@@ -6802,86 +6827,100 @@
6802
6827
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6803
6828
  "fieldName": "disabled",
6804
6829
  "inheritedFrom": {
6805
- "name": "Buttonsimple",
6806
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6830
+ "name": "FormfieldWrapper",
6831
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6807
6832
  }
6808
6833
  },
6809
6834
  {
6810
- "name": "active",
6835
+ "name": "label",
6811
6836
  "type": {
6812
- "text": "boolean"
6837
+ "text": "string | undefined"
6813
6838
  },
6814
- "default": "false",
6815
- "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.",
6816
- "fieldName": "active",
6839
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
6840
+ "fieldName": "label",
6817
6841
  "inheritedFrom": {
6818
- "name": "Buttonsimple",
6819
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6842
+ "name": "FormfieldWrapper",
6843
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6820
6844
  }
6821
6845
  },
6822
6846
  {
6823
- "name": "soft-disabled",
6847
+ "name": "required-label",
6824
6848
  "type": {
6825
- "text": "boolean"
6849
+ "text": "string | undefined"
6826
6850
  },
6827
- "default": "false",
6828
- "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.",
6829
- "fieldName": "softDisabled",
6851
+ "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.",
6852
+ "fieldName": "requiredLabel",
6830
6853
  "inheritedFrom": {
6831
- "name": "Buttonsimple",
6832
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6854
+ "name": "FormfieldWrapper",
6855
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6833
6856
  }
6834
6857
  },
6835
6858
  {
6836
- "name": "size",
6837
- "type": {
6838
- "text": "ButtonSize"
6839
- },
6840
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6841
- "default": "32",
6842
- "fieldName": "size",
6859
+ "name": "id",
6860
+ "default": "`mdc-input-${uuidv4()}`",
6861
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
6862
+ "fieldName": "id",
6843
6863
  "inheritedFrom": {
6844
- "name": "Buttonsimple",
6845
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6864
+ "name": "FormfieldWrapper",
6865
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6846
6866
  }
6847
6867
  },
6848
6868
  {
6849
- "name": "role",
6850
- "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.",
6851
- "default": "button",
6852
- "fieldName": "role",
6869
+ "name": "help-text-type",
6870
+ "type": {
6871
+ "text": "ValidationType"
6872
+ },
6873
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
6874
+ "fieldName": "helpTextType",
6853
6875
  "inheritedFrom": {
6854
- "name": "Buttonsimple",
6855
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6876
+ "name": "FormfieldWrapper",
6877
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6856
6878
  }
6857
6879
  },
6858
6880
  {
6859
- "name": "type",
6881
+ "name": "help-text",
6860
6882
  "type": {
6861
- "text": "ButtonType"
6883
+ "text": "string | undefined"
6862
6884
  },
6863
- "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.",
6864
- "default": "button",
6865
- "fieldName": "type",
6885
+ "description": "The help text that is displayed below the input field.",
6886
+ "fieldName": "helpText",
6866
6887
  "inheritedFrom": {
6867
- "name": "Buttonsimple",
6868
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6888
+ "name": "FormfieldWrapper",
6889
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6869
6890
  }
6870
6891
  }
6871
6892
  ],
6872
6893
  "mixins": [
6873
6894
  {
6874
- "name": "IconNameMixin",
6875
- "module": "/src/utils/mixins/IconNameMixin"
6895
+ "name": "NameMixin",
6896
+ "module": "/src/utils/mixins/NameMixin"
6897
+ },
6898
+ {
6899
+ "name": "ValueMixin",
6900
+ "module": "/src/utils/mixins/ValueMixin"
6901
+ },
6902
+ {
6903
+ "name": "DataAriaLabelMixin",
6904
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
6876
6905
  }
6877
6906
  ],
6878
6907
  "superclass": {
6879
- "name": "Buttonsimple",
6880
- "module": "/src/components/buttonsimple/buttonsimple.component"
6908
+ "name": "FormfieldWrapper",
6909
+ "module": "/src/components/formfieldwrapper"
6881
6910
  },
6882
- "tagName": "mdc-tab",
6883
- "jsDoc": "/**\n * `mdc-tab` is Tab component to be used within the Tabgroup.\n *\n * Passing in the attribute `text` to the tab component is changing the text displayed in the tab.\n *\n * The `slot=\"badge\"` can be used to add a badge to the tab.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-tab\n *\n * @cssproperty --mdc-tab-content-gap - Gap between the badge(if provided), icon and text.\n * @cssproperty --mdc-tab-height - Height of the tab.\n * @cssproperty --mdc-tab-glass-active-background-color-disabled - Background color for active glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-active-background-color-hover - Background color for active glass tab in hover state.\n * @cssproperty --mdc-tab-glass-active-background-color-normal - Background color for active glass tab in rest state.\n * @cssproperty --mdc-tab-glass-active-background-color-pressed - Background color for active glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-active-color - Text and icon color for active glass tab.\n * @cssproperty --mdc-tab-glass-active-color-disabled - Text and icon color for active glass tab in disabled state.\n * @cssproperty --mdc-tab-glass-border-radius - Border radius for glass tab.\n * @cssproperty --mdc-tab-glass-inactive-background-color-disabled - Background color for inactive glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-hover - Background color for inactive glass tab\n * in hover state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-normal - Background color for inactive glass tab\n * in rest state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-pressed - Background color for inactive glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-inactive-color - Text and icon color for inactive glass tab.\n * @cssproperty --mdc-tab-glass-inactive-color-disabled - Text and icon color for inactive glass tab in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-pressed - Background color for active line tab in pressed state.\n * @cssproperty --mdc-tab-line-active-background-color-disabled - Background color for active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-hover - Background color for active line tab in hover state.\n * @cssproperty --mdc-tab-line-active-background-color-normal - Background color for active line tab in rest state.\n * @cssproperty --mdc-tab-line-active-color - Text and icon color for active line tab.\n * @cssproperty --mdc-tab-line-active-color-disabled - Text and icon color for active line tab in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-color - color for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-color-disabled - Color for indicator in active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-height - Height for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-width - Width for indicator in active line tab.\n * @cssproperty --mdc-tab-line-border-bottom-left-radius - Bottom left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-bottom-right-radius - Bottom right border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-left-radius - Top left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-right-radius - Top right border radius for line tab.\n * @cssproperty --mdc-tab-line-inactive-background-color-pressed - Background color for inactive line tab\n * in pressed state.\n * @cssproperty --mdc-tab-line-inactive-background-color-disabled - Background color for inactive line tab\n * in disabled state\n * @cssproperty --mdc-tab-line-inactive-background-color-hover - Background color for inactive line tab in hover state.\n * @cssproperty --mdc-tab-line-inactive-background-color-normal - Background color for inactive line tab\n * in rest state.\n * @cssproperty --mdc-tab-line-inactive-color - Text and icon color for inactive line tab.\n * @cssproperty --mdc-tab-line-inactive-color-disabled - Text and icon color for inactive line tab in disabled state.\n * @cssproperty --mdc-tab-padding-left - Padding left for the tab.\n * @cssproperty --mdc-tab-padding-right - Padding right for the tab.\n * @cssproperty --mdc-tab-pill-active-background-color-pressed - Background color for active pill tab in pressed state.\n * @cssproperty --mdc-tab-pill-active-background-color-disabled - Background color for active pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-active-background-color-hover - Background color for active pill tab in hover state.\n * @cssproperty --mdc-tab-pill-active-background-color-normal - Background color for active pill tab in rest state.\n * @cssproperty --mdc-tab-pill-active-color - Text and icon color for active pill tab.\n * @cssproperty --mdc-tab-pill-active-color-disabled - Text and icon color for active pill tab in disabled state.\n * @cssproperty --mdc-tab-pill-border-radius - Border radius for pill tab.\n * @cssproperty --mdc-tab-pill-inactive-background-color-pressed - Background color for inactive pill tab\n * in pressed state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-disabled - Background color for inactive pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-hover - Background color for inactive pill tab in hover state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-normal - Background color for inactive pill tab in rest state.\n * @cssproperty --mdc-tab-pill-inactive-color - Text and icon color for inactive pill tab.\n * @cssproperty --mdc-tab-pill-inactive-color-disabled - Text and icon color for inactive pill tab in disabled state.\n */",
6884
- "customElement": true
6911
+ "tagName": "mdc-toggle",
6912
+ "jsDoc": "/**\n * Toggle Component is an interactive control used to switch between two mutually exclusive options,\n * such as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\n * where users need to enable or disable a feature.\n * It contains an optional label and an optional helper text.\n *\n * To create a group of toggles, use the FormFieldGroup component.\n *\n * Note: It internally renders a checkbox styled as a toggle switch.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-toggle\n *\n * @cssproperty --mdc-toggle-width - width of the toggle\n * @cssproperty --mdc-toggle-height - height of the toggle\n * @cssproperty --mdc-toggle-width-compact - width of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-height-compact - height of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-border-radius - border radius of the toggle\n * @cssproperty --mdc-toggle-border-radius-compact - border radius of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-border - border of the toggle\n * @cssproperty --mdc-toggle-inactive-rest-color - background color of the inactive toggle in rest state\n * @cssproperty --mdc-toggle-inactive-hover-color - background color of the inactive toggle in hover state\n * @cssproperty --mdc-toggle-inactive-pressed-color - background color of the inactive toggle in pressed state\n * @cssproperty --mdc-toggle-inactive-disabled-color - background color of the inactive toggle in disabled state\n * @cssproperty --mdc-toggle-active-rest-color - background color of the active toggle in rest state\n * @cssproperty --mdc-toggle-active-hover-color - background color of the active toggle in hover state\n * @cssproperty --mdc-toggle-active-pressed-color - background color of the active toggle in pressed state\n * @cssproperty --mdc-toggle-active-disabled-color - background color of the active toggle in disabled state\n * @cssproperty --mdc-toggle-help-text-color - color of the help text label\n * @cssproperty --mdc-toggle-label-color-disabled - color of the toggle label and help text in disabled state\n *\n */",
6913
+ "customElement": true,
6914
+ "slots": [
6915
+ {
6916
+ "description": "slot to add the label info icon",
6917
+ "name": "label-info",
6918
+ "inheritedFrom": {
6919
+ "name": "FormfieldWrapper",
6920
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6921
+ }
6922
+ }
6923
+ ]
6885
6924
  }
6886
6925
  ],
6887
6926
  "exports": [
@@ -6889,8 +6928,8 @@
6889
6928
  "kind": "js",
6890
6929
  "name": "default",
6891
6930
  "declaration": {
6892
- "name": "Tab",
6893
- "module": "components/tab/tab.component.js"
6931
+ "name": "Toggle",
6932
+ "module": "components/toggle/toggle.component.js"
6894
6933
  }
6895
6934
  }
6896
6935
  ]