@momentum-design/components 0.120.38 → 0.121.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.
@@ -1586,6 +1586,218 @@
1586
1586
  }
1587
1587
  ]
1588
1588
  },
1589
+ {
1590
+ "kind": "javascript-module",
1591
+ "path": "components/animation/animation.component.js",
1592
+ "declarations": [
1593
+ {
1594
+ "kind": "class",
1595
+ "description": "The `mdc-animation` component is a wrapper around the Lottie animation library.\nIt fetches the animation data dynamically based on the provided name and renders it.\nThis is a display only component that does not have any interactive functionality.\nFrom accessibility perspective, (by default) it is a decorative image component.",
1596
+ "name": "Animation",
1597
+ "members": [
1598
+ {
1599
+ "kind": "field",
1600
+ "name": "name",
1601
+ "type": {
1602
+ "text": "AnimationNames | undefined"
1603
+ },
1604
+ "description": "Name of the animation (= filename)",
1605
+ "attribute": "name",
1606
+ "reflects": true
1607
+ },
1608
+ {
1609
+ "kind": "field",
1610
+ "name": "loop",
1611
+ "type": {
1612
+ "text": "LoopType | undefined"
1613
+ },
1614
+ "description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
1615
+ "attribute": "loop",
1616
+ "reflects": true
1617
+ },
1618
+ {
1619
+ "kind": "field",
1620
+ "name": "autoplay",
1621
+ "type": {
1622
+ "text": "boolean | undefined"
1623
+ },
1624
+ "description": "Weather start the animation automatically",
1625
+ "attribute": "autoplay",
1626
+ "reflects": true
1627
+ },
1628
+ {
1629
+ "kind": "field",
1630
+ "name": "ariaLabel",
1631
+ "type": {
1632
+ "text": "string | null"
1633
+ },
1634
+ "default": "null",
1635
+ "description": "Aria-label attribute to be set for accessibility",
1636
+ "attribute": "aria-label"
1637
+ },
1638
+ {
1639
+ "kind": "field",
1640
+ "name": "ariaLabelledby",
1641
+ "type": {
1642
+ "text": "string | null"
1643
+ },
1644
+ "default": "null",
1645
+ "description": "Aria-labelledby attribute to be set for accessibility",
1646
+ "attribute": "aria-labelledby"
1647
+ },
1648
+ {
1649
+ "kind": "field",
1650
+ "name": "lottieInstance",
1651
+ "type": {
1652
+ "text": "AnimationItem | undefined"
1653
+ },
1654
+ "privacy": "private",
1655
+ "description": "Lottie animation instance"
1656
+ },
1657
+ {
1658
+ "kind": "field",
1659
+ "name": "containerRef",
1660
+ "type": {
1661
+ "text": "Ref<HTMLDivElement>"
1662
+ },
1663
+ "privacy": "private",
1664
+ "description": "Container for the animation"
1665
+ },
1666
+ {
1667
+ "kind": "field",
1668
+ "name": "animation",
1669
+ "description": "Exposed API of the animation library (lottie)",
1670
+ "readonly": true
1671
+ },
1672
+ {
1673
+ "kind": "method",
1674
+ "name": "getLoopValue",
1675
+ "privacy": "private"
1676
+ },
1677
+ {
1678
+ "kind": "method",
1679
+ "name": "onLoadSuccessHandler",
1680
+ "privacy": "private",
1681
+ "parameters": [
1682
+ {
1683
+ "name": "animationData",
1684
+ "type": {
1685
+ "text": "any"
1686
+ }
1687
+ }
1688
+ ],
1689
+ "description": "Create new lotty instance for the loaded data"
1690
+ },
1691
+ {
1692
+ "kind": "method",
1693
+ "name": "onLoadFailHandler",
1694
+ "privacy": "private",
1695
+ "parameters": [
1696
+ {
1697
+ "name": "error",
1698
+ "type": {
1699
+ "text": "Error"
1700
+ }
1701
+ }
1702
+ ],
1703
+ "description": "Error handler for animation loading"
1704
+ },
1705
+ {
1706
+ "kind": "method",
1707
+ "name": "getAnimationData",
1708
+ "privacy": "private",
1709
+ "description": "Import animation data dynamically"
1710
+ },
1711
+ {
1712
+ "kind": "field",
1713
+ "name": "onCompleteHandler",
1714
+ "description": "Re-dispatch the complete event from the animation library\n\nThis handler called with the animation instance instead of the component instance\nso we need to bind it to the component instance. The arrow function just does that."
1715
+ }
1716
+ ],
1717
+ "events": [
1718
+ {
1719
+ "name": "load",
1720
+ "type": {
1721
+ "text": "CustomEvent"
1722
+ },
1723
+ "description": "(React: onLoad) This event is dispatched when the animation is loaded",
1724
+ "reactName": "onLoad"
1725
+ },
1726
+ {
1727
+ "description": "(React: onComplete) This event is dispatched when all animation loops completed",
1728
+ "name": "complete",
1729
+ "reactName": "onComplete"
1730
+ },
1731
+ {
1732
+ "description": "(React: onError) This event is dispatched when animation loading failed",
1733
+ "name": "error",
1734
+ "reactName": "onError"
1735
+ }
1736
+ ],
1737
+ "attributes": [
1738
+ {
1739
+ "name": "name",
1740
+ "type": {
1741
+ "text": "AnimationNames | undefined"
1742
+ },
1743
+ "description": "Name of the animation (= filename)",
1744
+ "fieldName": "name"
1745
+ },
1746
+ {
1747
+ "name": "loop",
1748
+ "type": {
1749
+ "text": "LoopType | undefined"
1750
+ },
1751
+ "description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
1752
+ "fieldName": "loop"
1753
+ },
1754
+ {
1755
+ "name": "autoplay",
1756
+ "type": {
1757
+ "text": "boolean | undefined"
1758
+ },
1759
+ "description": "Weather start the animation automatically",
1760
+ "fieldName": "autoplay"
1761
+ },
1762
+ {
1763
+ "name": "aria-label",
1764
+ "type": {
1765
+ "text": "string | null"
1766
+ },
1767
+ "default": "null",
1768
+ "description": "Aria-label attribute to be set for accessibility",
1769
+ "fieldName": "ariaLabel"
1770
+ },
1771
+ {
1772
+ "name": "aria-labelledby",
1773
+ "type": {
1774
+ "text": "string | null"
1775
+ },
1776
+ "default": "null",
1777
+ "description": "Aria-labelledby attribute to be set for accessibility",
1778
+ "fieldName": "ariaLabelledby"
1779
+ }
1780
+ ],
1781
+ "superclass": {
1782
+ "name": "Component",
1783
+ "module": "/src/models"
1784
+ },
1785
+ "tagName": "mdc-animation",
1786
+ "jsDoc": "/**\n * The `mdc-animation` component is a wrapper around the Lottie animation library.\n * It fetches the animation data dynamically based on the provided name and renders it.\n * This is a display only component that does not have any interactive functionality.\n * From accessibility perspective, (by default) it is a decorative image component.\n *\n * @tagname mdc-animation\n *\n * @event load - (React: onLoad) This event is dispatched when the animation is loaded\n * @event complete - (React: onComplete) This event is dispatched when all animation loops completed\n * @event error - (React: onError) This event is dispatched when animation loading failed\n */",
1787
+ "customElement": true
1788
+ }
1789
+ ],
1790
+ "exports": [
1791
+ {
1792
+ "kind": "js",
1793
+ "name": "default",
1794
+ "declaration": {
1795
+ "name": "Animation",
1796
+ "module": "components/animation/animation.component.js"
1797
+ }
1798
+ }
1799
+ ]
1800
+ },
1589
1801
  {
1590
1802
  "kind": "javascript-module",
1591
1803
  "path": "components/announcementdialog/announcementdialog.component.js",
@@ -3010,218 +3222,6 @@
3010
3222
  }
3011
3223
  ]
3012
3224
  },
3013
- {
3014
- "kind": "javascript-module",
3015
- "path": "components/animation/animation.component.js",
3016
- "declarations": [
3017
- {
3018
- "kind": "class",
3019
- "description": "The `mdc-animation` component is a wrapper around the Lottie animation library.\nIt fetches the animation data dynamically based on the provided name and renders it.\nThis is a display only component that does not have any interactive functionality.\nFrom accessibility perspective, (by default) it is a decorative image component.",
3020
- "name": "Animation",
3021
- "members": [
3022
- {
3023
- "kind": "field",
3024
- "name": "name",
3025
- "type": {
3026
- "text": "AnimationNames | undefined"
3027
- },
3028
- "description": "Name of the animation (= filename)",
3029
- "attribute": "name",
3030
- "reflects": true
3031
- },
3032
- {
3033
- "kind": "field",
3034
- "name": "loop",
3035
- "type": {
3036
- "text": "LoopType | undefined"
3037
- },
3038
- "description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
3039
- "attribute": "loop",
3040
- "reflects": true
3041
- },
3042
- {
3043
- "kind": "field",
3044
- "name": "autoplay",
3045
- "type": {
3046
- "text": "boolean | undefined"
3047
- },
3048
- "description": "Weather start the animation automatically",
3049
- "attribute": "autoplay",
3050
- "reflects": true
3051
- },
3052
- {
3053
- "kind": "field",
3054
- "name": "ariaLabel",
3055
- "type": {
3056
- "text": "string | null"
3057
- },
3058
- "default": "null",
3059
- "description": "Aria-label attribute to be set for accessibility",
3060
- "attribute": "aria-label"
3061
- },
3062
- {
3063
- "kind": "field",
3064
- "name": "ariaLabelledby",
3065
- "type": {
3066
- "text": "string | null"
3067
- },
3068
- "default": "null",
3069
- "description": "Aria-labelledby attribute to be set for accessibility",
3070
- "attribute": "aria-labelledby"
3071
- },
3072
- {
3073
- "kind": "field",
3074
- "name": "lottieInstance",
3075
- "type": {
3076
- "text": "AnimationItem | undefined"
3077
- },
3078
- "privacy": "private",
3079
- "description": "Lottie animation instance"
3080
- },
3081
- {
3082
- "kind": "field",
3083
- "name": "containerRef",
3084
- "type": {
3085
- "text": "Ref<HTMLDivElement>"
3086
- },
3087
- "privacy": "private",
3088
- "description": "Container for the animation"
3089
- },
3090
- {
3091
- "kind": "field",
3092
- "name": "animation",
3093
- "description": "Exposed API of the animation library (lottie)",
3094
- "readonly": true
3095
- },
3096
- {
3097
- "kind": "method",
3098
- "name": "getLoopValue",
3099
- "privacy": "private"
3100
- },
3101
- {
3102
- "kind": "method",
3103
- "name": "onLoadSuccessHandler",
3104
- "privacy": "private",
3105
- "parameters": [
3106
- {
3107
- "name": "animationData",
3108
- "type": {
3109
- "text": "any"
3110
- }
3111
- }
3112
- ],
3113
- "description": "Create new lotty instance for the loaded data"
3114
- },
3115
- {
3116
- "kind": "method",
3117
- "name": "onLoadFailHandler",
3118
- "privacy": "private",
3119
- "parameters": [
3120
- {
3121
- "name": "error",
3122
- "type": {
3123
- "text": "Error"
3124
- }
3125
- }
3126
- ],
3127
- "description": "Error handler for animation loading"
3128
- },
3129
- {
3130
- "kind": "method",
3131
- "name": "getAnimationData",
3132
- "privacy": "private",
3133
- "description": "Import animation data dynamically"
3134
- },
3135
- {
3136
- "kind": "field",
3137
- "name": "onCompleteHandler",
3138
- "description": "Re-dispatch the complete event from the animation library\n\nThis handler called with the animation instance instead of the component instance\nso we need to bind it to the component instance. The arrow function just does that."
3139
- }
3140
- ],
3141
- "events": [
3142
- {
3143
- "name": "load",
3144
- "type": {
3145
- "text": "CustomEvent"
3146
- },
3147
- "description": "(React: onLoad) This event is dispatched when the animation is loaded",
3148
- "reactName": "onLoad"
3149
- },
3150
- {
3151
- "description": "(React: onComplete) This event is dispatched when all animation loops completed",
3152
- "name": "complete",
3153
- "reactName": "onComplete"
3154
- },
3155
- {
3156
- "description": "(React: onError) This event is dispatched when animation loading failed",
3157
- "name": "error",
3158
- "reactName": "onError"
3159
- }
3160
- ],
3161
- "attributes": [
3162
- {
3163
- "name": "name",
3164
- "type": {
3165
- "text": "AnimationNames | undefined"
3166
- },
3167
- "description": "Name of the animation (= filename)",
3168
- "fieldName": "name"
3169
- },
3170
- {
3171
- "name": "loop",
3172
- "type": {
3173
- "text": "LoopType | undefined"
3174
- },
3175
- "description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
3176
- "fieldName": "loop"
3177
- },
3178
- {
3179
- "name": "autoplay",
3180
- "type": {
3181
- "text": "boolean | undefined"
3182
- },
3183
- "description": "Weather start the animation automatically",
3184
- "fieldName": "autoplay"
3185
- },
3186
- {
3187
- "name": "aria-label",
3188
- "type": {
3189
- "text": "string | null"
3190
- },
3191
- "default": "null",
3192
- "description": "Aria-label attribute to be set for accessibility",
3193
- "fieldName": "ariaLabel"
3194
- },
3195
- {
3196
- "name": "aria-labelledby",
3197
- "type": {
3198
- "text": "string | null"
3199
- },
3200
- "default": "null",
3201
- "description": "Aria-labelledby attribute to be set for accessibility",
3202
- "fieldName": "ariaLabelledby"
3203
- }
3204
- ],
3205
- "superclass": {
3206
- "name": "Component",
3207
- "module": "/src/models"
3208
- },
3209
- "tagName": "mdc-animation",
3210
- "jsDoc": "/**\n * The `mdc-animation` component is a wrapper around the Lottie animation library.\n * It fetches the animation data dynamically based on the provided name and renders it.\n * This is a display only component that does not have any interactive functionality.\n * From accessibility perspective, (by default) it is a decorative image component.\n *\n * @tagname mdc-animation\n *\n * @event load - (React: onLoad) This event is dispatched when the animation is loaded\n * @event complete - (React: onComplete) This event is dispatched when all animation loops completed\n * @event error - (React: onError) This event is dispatched when animation loading failed\n */",
3211
- "customElement": true
3212
- }
3213
- ],
3214
- "exports": [
3215
- {
3216
- "kind": "js",
3217
- "name": "default",
3218
- "declaration": {
3219
- "name": "Animation",
3220
- "module": "components/animation/animation.component.js"
3221
- }
3222
- }
3223
- ]
3224
- },
3225
3225
  {
3226
3226
  "kind": "javascript-module",
3227
3227
  "path": "components/avatar/avatar.component.js",
@@ -22578,6 +22578,143 @@
22578
22578
  }
22579
22579
  ]
22580
22580
  },
22581
+ {
22582
+ "kind": "javascript-module",
22583
+ "path": "components/listheader/listheader.component.js",
22584
+ "declarations": [
22585
+ {
22586
+ "kind": "class",
22587
+ "description": "Listheader component is used to display a header in a list.\nIt can include icons before and after the header text, and allows for additional content via slots.",
22588
+ "name": "Listheader",
22589
+ "cssProperties": [
22590
+ {
22591
+ "description": "height of the header",
22592
+ "name": "--mdc-listheader-height"
22593
+ },
22594
+ {
22595
+ "description": "padding around the header content",
22596
+ "name": "--mdc-listheader-padding"
22597
+ },
22598
+ {
22599
+ "description": "gap between content",
22600
+ "name": "--mdc-listheader-gap"
22601
+ }
22602
+ ],
22603
+ "cssParts": [
22604
+ {
22605
+ "description": "The header text of list header",
22606
+ "name": "header-text"
22607
+ },
22608
+ {
22609
+ "description": "The postfix icon of list header",
22610
+ "name": "postfix-icon"
22611
+ },
22612
+ {
22613
+ "description": "The prefix icon of list header",
22614
+ "name": "prefix-icon"
22615
+ }
22616
+ ],
22617
+ "slots": [
22618
+ {
22619
+ "description": "to pass in actionable content like buttons or links",
22620
+ "name": "default"
22621
+ }
22622
+ ],
22623
+ "members": [
22624
+ {
22625
+ "kind": "field",
22626
+ "name": "prefixIcon",
22627
+ "type": {
22628
+ "text": "IconNames | undefined"
22629
+ },
22630
+ "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
22631
+ "attribute": "prefix-icon"
22632
+ },
22633
+ {
22634
+ "kind": "field",
22635
+ "name": "postfixIcon",
22636
+ "type": {
22637
+ "text": "IconNames | undefined"
22638
+ },
22639
+ "description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
22640
+ "attribute": "postfix-icon"
22641
+ },
22642
+ {
22643
+ "kind": "field",
22644
+ "name": "headerText",
22645
+ "type": {
22646
+ "text": "string | undefined"
22647
+ },
22648
+ "description": "Text to be rendered in the header",
22649
+ "attribute": "header-text"
22650
+ },
22651
+ {
22652
+ "kind": "field",
22653
+ "name": "disabled",
22654
+ "type": {
22655
+ "text": "boolean"
22656
+ },
22657
+ "default": "false",
22658
+ "description": "Disables the header, making it visually styled as disabled.\n\nNOTE: slot content will still be interactive unless individually disabled.\nMake sure to handle the disabled state of any actionable elements inside the slot.",
22659
+ "attribute": "disabled",
22660
+ "reflects": true
22661
+ }
22662
+ ],
22663
+ "attributes": [
22664
+ {
22665
+ "name": "prefix-icon",
22666
+ "type": {
22667
+ "text": "IconNames | undefined"
22668
+ },
22669
+ "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
22670
+ "fieldName": "prefixIcon"
22671
+ },
22672
+ {
22673
+ "name": "postfix-icon",
22674
+ "type": {
22675
+ "text": "IconNames | undefined"
22676
+ },
22677
+ "description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
22678
+ "fieldName": "postfixIcon"
22679
+ },
22680
+ {
22681
+ "name": "header-text",
22682
+ "type": {
22683
+ "text": "string | undefined"
22684
+ },
22685
+ "description": "Text to be rendered in the header",
22686
+ "fieldName": "headerText"
22687
+ },
22688
+ {
22689
+ "name": "disabled",
22690
+ "type": {
22691
+ "text": "boolean"
22692
+ },
22693
+ "default": "false",
22694
+ "description": "Disables the header, making it visually styled as disabled.\n\nNOTE: slot content will still be interactive unless individually disabled.\nMake sure to handle the disabled state of any actionable elements inside the slot.",
22695
+ "fieldName": "disabled"
22696
+ }
22697
+ ],
22698
+ "superclass": {
22699
+ "name": "Component",
22700
+ "module": "/src/models"
22701
+ },
22702
+ "tagName": "mdc-listheader",
22703
+ "jsDoc": "/**\n * Listheader component is used to display a header in a list.\n * It can include icons before and after the header text, and allows for additional content via slots.\n *\n * @tagname mdc-listheader\n *\n * @slot default - to pass in actionable content like buttons or links\n *\n * @cssproperty --mdc-listheader-height - height of the header\n * @cssproperty --mdc-listheader-padding - padding around the header content\n * @cssproperty --mdc-listheader-gap - gap between content\n *\n * @csspart header-text - The header text of list header\n * @csspart postfix-icon - The postfix icon of list header\n * @csspart prefix-icon - The prefix icon of list header\n */",
22704
+ "customElement": true
22705
+ }
22706
+ ],
22707
+ "exports": [
22708
+ {
22709
+ "kind": "js",
22710
+ "name": "default",
22711
+ "declaration": {
22712
+ "name": "Listheader",
22713
+ "module": "components/listheader/listheader.component.js"
22714
+ }
22715
+ }
22716
+ ]
22717
+ },
22581
22718
  {
22582
22719
  "kind": "javascript-module",
22583
22720
  "path": "components/listitem/listitem.component.js",
@@ -23541,143 +23678,6 @@
23541
23678
  }
23542
23679
  ]
23543
23680
  },
23544
- {
23545
- "kind": "javascript-module",
23546
- "path": "components/listheader/listheader.component.js",
23547
- "declarations": [
23548
- {
23549
- "kind": "class",
23550
- "description": "Listheader component is used to display a header in a list.\nIt can include icons before and after the header text, and allows for additional content via slots.",
23551
- "name": "Listheader",
23552
- "cssProperties": [
23553
- {
23554
- "description": "height of the header",
23555
- "name": "--mdc-listheader-height"
23556
- },
23557
- {
23558
- "description": "padding around the header content",
23559
- "name": "--mdc-listheader-padding"
23560
- },
23561
- {
23562
- "description": "gap between content",
23563
- "name": "--mdc-listheader-gap"
23564
- }
23565
- ],
23566
- "cssParts": [
23567
- {
23568
- "description": "The header text of list header",
23569
- "name": "header-text"
23570
- },
23571
- {
23572
- "description": "The postfix icon of list header",
23573
- "name": "postfix-icon"
23574
- },
23575
- {
23576
- "description": "The prefix icon of list header",
23577
- "name": "prefix-icon"
23578
- }
23579
- ],
23580
- "slots": [
23581
- {
23582
- "description": "to pass in actionable content like buttons or links",
23583
- "name": "default"
23584
- }
23585
- ],
23586
- "members": [
23587
- {
23588
- "kind": "field",
23589
- "name": "prefixIcon",
23590
- "type": {
23591
- "text": "IconNames | undefined"
23592
- },
23593
- "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
23594
- "attribute": "prefix-icon"
23595
- },
23596
- {
23597
- "kind": "field",
23598
- "name": "postfixIcon",
23599
- "type": {
23600
- "text": "IconNames | undefined"
23601
- },
23602
- "description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
23603
- "attribute": "postfix-icon"
23604
- },
23605
- {
23606
- "kind": "field",
23607
- "name": "headerText",
23608
- "type": {
23609
- "text": "string | undefined"
23610
- },
23611
- "description": "Text to be rendered in the header",
23612
- "attribute": "header-text"
23613
- },
23614
- {
23615
- "kind": "field",
23616
- "name": "disabled",
23617
- "type": {
23618
- "text": "boolean"
23619
- },
23620
- "default": "false",
23621
- "description": "Disables the header, making it visually styled as disabled.\n\nNOTE: slot content will still be interactive unless individually disabled.\nMake sure to handle the disabled state of any actionable elements inside the slot.",
23622
- "attribute": "disabled",
23623
- "reflects": true
23624
- }
23625
- ],
23626
- "attributes": [
23627
- {
23628
- "name": "prefix-icon",
23629
- "type": {
23630
- "text": "IconNames | undefined"
23631
- },
23632
- "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
23633
- "fieldName": "prefixIcon"
23634
- },
23635
- {
23636
- "name": "postfix-icon",
23637
- "type": {
23638
- "text": "IconNames | undefined"
23639
- },
23640
- "description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
23641
- "fieldName": "postfixIcon"
23642
- },
23643
- {
23644
- "name": "header-text",
23645
- "type": {
23646
- "text": "string | undefined"
23647
- },
23648
- "description": "Text to be rendered in the header",
23649
- "fieldName": "headerText"
23650
- },
23651
- {
23652
- "name": "disabled",
23653
- "type": {
23654
- "text": "boolean"
23655
- },
23656
- "default": "false",
23657
- "description": "Disables the header, making it visually styled as disabled.\n\nNOTE: slot content will still be interactive unless individually disabled.\nMake sure to handle the disabled state of any actionable elements inside the slot.",
23658
- "fieldName": "disabled"
23659
- }
23660
- ],
23661
- "superclass": {
23662
- "name": "Component",
23663
- "module": "/src/models"
23664
- },
23665
- "tagName": "mdc-listheader",
23666
- "jsDoc": "/**\n * Listheader component is used to display a header in a list.\n * It can include icons before and after the header text, and allows for additional content via slots.\n *\n * @tagname mdc-listheader\n *\n * @slot default - to pass in actionable content like buttons or links\n *\n * @cssproperty --mdc-listheader-height - height of the header\n * @cssproperty --mdc-listheader-padding - padding around the header content\n * @cssproperty --mdc-listheader-gap - gap between content\n *\n * @csspart header-text - The header text of list header\n * @csspart postfix-icon - The postfix icon of list header\n * @csspart prefix-icon - The prefix icon of list header\n */",
23667
- "customElement": true
23668
- }
23669
- ],
23670
- "exports": [
23671
- {
23672
- "kind": "js",
23673
- "name": "default",
23674
- "declaration": {
23675
- "name": "Listheader",
23676
- "module": "components/listheader/listheader.component.js"
23677
- }
23678
- }
23679
- ]
23680
- },
23681
23681
  {
23682
23682
  "kind": "javascript-module",
23683
23683
  "path": "components/menuitem/menuitem.component.js",
@@ -35255,32 +35255,32 @@
35255
35255
  },
35256
35256
  {
35257
35257
  "kind": "javascript-module",
35258
- "path": "components/radio/radio.component.js",
35258
+ "path": "components/progressspinner/progressspinner.component.js",
35259
35259
  "declarations": [
35260
35260
  {
35261
35261
  "kind": "class",
35262
- "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.",
35263
- "name": "Radio",
35262
+ "description": "`mdc-progressspinner` is a customizable, circular progress indicator component.\nIt visually represents the current completion state of a process, such as loading,\nsyncing, uploading, or any ongoing task that has a measurable percentage.\n\nThe spinner is built using SVG with two concentric `<circle>` elements:\n- The `progress` arc represents the portion of work completed.\n- The `track` arc represents the remaining part.\n\nA visual gap is maintained between the progress and track arcs to clearly\ndistinguish the two segments. The component smoothly animates arc length\nand respects accessibility best practices with ARIA attributes.\n\nThe component supports different states:\n- **Default**: Circular spinner shows the progress.\n- **Success**: Displays a checkmark icon when progress reaches 100%.\n- **Error**: Displays an error icon when in an error state.",
35263
+ "name": "Progressspinner",
35264
35264
  "cssProperties": [
35265
35265
  {
35266
- "description": "size of the inner circle",
35267
- "name": "--mdc-radio-inner-circle-size"
35266
+ "description": "The size of the spinner.",
35267
+ "name": "--mdc-spinner-size"
35268
35268
  },
35269
35269
  {
35270
- "description": "size of the outer circle",
35271
- "name": "--mdc-radio-outer-circle-size"
35270
+ "description": "The color of the spinner track.",
35271
+ "name": "--mdc-track-color"
35272
35272
  },
35273
35273
  {
35274
- "description": "background color of the inner circle",
35275
- "name": "--mdc-radio-inner-circle-background-color"
35274
+ "description": "The color of the spinner progress.",
35275
+ "name": "--mdc-progress-color"
35276
35276
  },
35277
35277
  {
35278
- "description": "border color of the outer circle",
35279
- "name": "--mdc-radio-outer-circle-border-color"
35278
+ "description": "The color of the spinner when in success state.",
35279
+ "name": "--mdc-progress-success-color"
35280
35280
  },
35281
35281
  {
35282
- "description": "background color of the outer circle",
35283
- "name": "--mdc-radio-outer-circle-background-color"
35282
+ "description": "The color of the spinner when in error state.",
35283
+ "name": "--mdc-progress-error-color"
35284
35284
  },
35285
35285
  {
35286
35286
  "description": "Font size for the label text.",
@@ -35353,9 +35353,65 @@
35353
35353
  "name": "FormfieldWrapper",
35354
35354
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35355
35355
  }
35356
+ },
35357
+ {
35358
+ "description": "Background color of the remaining progressbar portion.",
35359
+ "name": "--mdc-progressbar-background-color",
35360
+ "inheritedFrom": {
35361
+ "name": "Progressbar",
35362
+ "module": "src/components/progressbar/progressbar.component.ts"
35363
+ }
35364
+ },
35365
+ {
35366
+ "description": "Background color of the elapsed progressbar portion.",
35367
+ "name": "--mdc-progressbar-progress-background-color",
35368
+ "inheritedFrom": {
35369
+ "name": "Progressbar",
35370
+ "module": "src/components/progressbar/progressbar.component.ts"
35371
+ }
35372
+ },
35373
+ {
35374
+ "description": "The height of the progressbar.",
35375
+ "name": "--mdc-progressbar-height",
35376
+ "inheritedFrom": {
35377
+ "name": "Progressbar",
35378
+ "module": "src/components/progressbar/progressbar.component.ts"
35379
+ }
35380
+ },
35381
+ {
35382
+ "description": "The border radius of the progressbar.",
35383
+ "name": "--mdc-progressbar-border-radius",
35384
+ "inheritedFrom": {
35385
+ "name": "Progressbar",
35386
+ "module": "src/components/progressbar/progressbar.component.ts"
35387
+ }
35356
35388
  }
35357
35389
  ],
35358
35390
  "cssParts": [
35391
+ {
35392
+ "description": "The error icon of the progressspinner.",
35393
+ "name": "error-icon"
35394
+ },
35395
+ {
35396
+ "description": "The base of the progressspinner.",
35397
+ "name": "spinner-base"
35398
+ },
35399
+ {
35400
+ "description": "The container of the progressspinner.",
35401
+ "name": "spinner-container"
35402
+ },
35403
+ {
35404
+ "description": "The progress of the progressspinner.",
35405
+ "name": "spinner-progress"
35406
+ },
35407
+ {
35408
+ "description": "The track of the progressspinner.",
35409
+ "name": "spinner-track"
35410
+ },
35411
+ {
35412
+ "description": "The success icon of the progressspinner.",
35413
+ "name": "success-icon"
35414
+ },
35359
35415
  {
35360
35416
  "description": "The label element.",
35361
35417
  "name": "label",
@@ -35373,209 +35429,110 @@
35373
35429
  }
35374
35430
  },
35375
35431
  {
35376
- "description": "The required indicator element that is displayed next to the label when the `required` property is set to true.",
35377
- "name": "required-indicator",
35432
+ "description": "The helper/validation text element.",
35433
+ "name": "help-text",
35378
35434
  "inheritedFrom": {
35379
35435
  "name": "FormfieldWrapper",
35380
35436
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35381
35437
  }
35382
35438
  },
35383
35439
  {
35384
- "description": "The info icon button element that is displayed next to the label when the `toggletip-text` property is set.",
35385
- "name": "info-icon-btn",
35440
+ "description": "The container for the helper/validation icon and text elements.",
35441
+ "name": "help-text-container",
35386
35442
  "inheritedFrom": {
35387
35443
  "name": "FormfieldWrapper",
35388
35444
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35389
35445
  }
35390
35446
  },
35391
35447
  {
35392
- "description": "The toggletip element that is displayed when the info icon button is clicked.",
35393
- "name": "label-toggletip",
35448
+ "description": "The required indicator element that is displayed next to the label when the `required` property is set to true.",
35449
+ "name": "required-indicator",
35394
35450
  "inheritedFrom": {
35395
35451
  "name": "FormfieldWrapper",
35396
35452
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35397
35453
  }
35398
35454
  },
35399
35455
  {
35400
- "description": "The helper/validation text element.",
35401
- "name": "help-text",
35456
+ "description": "The info icon button element that is displayed next to the label when the `toggletip-text` property is set.",
35457
+ "name": "info-icon-btn",
35402
35458
  "inheritedFrom": {
35403
35459
  "name": "FormfieldWrapper",
35404
35460
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35405
35461
  }
35406
35462
  },
35407
35463
  {
35408
- "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
35409
- "name": "helper-icon",
35464
+ "description": "The toggletip element that is displayed when the info icon button is clicked.",
35465
+ "name": "label-toggletip",
35410
35466
  "inheritedFrom": {
35411
35467
  "name": "FormfieldWrapper",
35412
35468
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35413
35469
  }
35414
35470
  },
35415
35471
  {
35416
- "description": "The container for the helper/validation icon and text elements.",
35417
- "name": "help-text-container",
35472
+ "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
35473
+ "name": "helper-icon",
35418
35474
  "inheritedFrom": {
35419
35475
  "name": "FormfieldWrapper",
35420
35476
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35421
35477
  }
35422
- },
35423
- {
35424
- "description": "The native radio input element.",
35425
- "name": "radio-input"
35426
- },
35427
- {
35428
- "description": "The container for the label and helper text elements.",
35429
- "name": "text-container"
35430
35478
  }
35431
35479
  ],
35432
35480
  "members": [
35433
- {
35434
- "kind": "field",
35435
- "name": "checked",
35436
- "type": {
35437
- "text": "boolean"
35438
- },
35439
- "default": "false",
35440
- "description": "Determines whether the radio is selected or unselected.",
35441
- "attribute": "checked",
35442
- "reflects": true
35443
- },
35444
- {
35445
- "kind": "method",
35446
- "name": "getAllRadiosWithinSameGroup",
35447
- "privacy": "private",
35448
- "return": {
35449
- "type": {
35450
- "text": "Radio[]"
35451
- }
35452
- },
35453
- "description": "Returns all radios within the same group (name)."
35454
- },
35455
35481
  {
35456
35482
  "kind": "method",
35457
- "name": "setGroupValidity",
35458
- "privacy": "private",
35459
- "parameters": [
35460
- {
35461
- "name": "radios",
35462
- "type": {
35463
- "text": "Radio[]"
35464
- },
35465
- "description": "Array of radios of the same group"
35466
- },
35467
- {
35468
- "name": "isValid",
35469
- "type": {
35470
- "text": "boolean"
35471
- },
35472
- "description": "Boolean value to set the validity of the group"
35473
- }
35474
- ],
35475
- "description": "Sets the validity of the group of radios."
35476
- },
35477
- {
35478
- "kind": "method",
35479
- "name": "setActualFormValue",
35480
- "privacy": "private",
35481
- "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."
35482
- },
35483
- {
35484
- "kind": "method",
35485
- "name": "handleChange",
35486
- "privacy": "private",
35487
- "return": {
35488
- "type": {
35489
- "text": "void"
35490
- }
35491
- },
35492
- "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
35493
- },
35494
- {
35495
- "kind": "method",
35496
- "name": "updateRadio",
35497
- "privacy": "private",
35498
- "parameters": [
35499
- {
35500
- "name": "enabledRadios",
35501
- "type": {
35502
- "text": "Radio[]"
35503
- },
35504
- "description": "An array of enabled radio buttons within the same group."
35505
- },
35506
- {
35507
- "name": "index",
35508
- "type": {
35509
- "text": "number"
35510
- },
35511
- "description": "The index of the radio button to be updated within the enabled radios array."
35512
- }
35513
- ],
35514
- "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."
35483
+ "name": "renderProgressSpinner",
35484
+ "privacy": "private"
35515
35485
  },
35516
35486
  {
35517
35487
  "kind": "method",
35518
- "name": "handleKeyDown",
35488
+ "name": "renderErrorState",
35519
35489
  "privacy": "private",
35490
+ "description": "Renders the error state of the progress spinner.",
35520
35491
  "return": {
35521
35492
  "type": {
35522
- "text": "void"
35523
- }
35524
- },
35525
- "parameters": [
35526
- {
35527
- "name": "event",
35528
- "type": {
35529
- "text": "KeyboardEvent"
35530
- }
35493
+ "text": ""
35531
35494
  }
35532
- ],
35533
- "description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
35495
+ }
35534
35496
  },
35535
35497
  {
35536
35498
  "kind": "method",
35537
- "name": "updateTabIndex",
35499
+ "name": "renderSuccessState",
35538
35500
  "privacy": "private",
35501
+ "description": "Renders the success state of the progress spinner.",
35539
35502
  "return": {
35540
35503
  "type": {
35541
- "text": "void"
35504
+ "text": ""
35542
35505
  }
35543
- },
35544
- "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"
35545
- },
35546
- {
35547
- "kind": "field",
35548
- "name": "renderLabelAndHelperText",
35549
- "privacy": "private"
35506
+ }
35550
35507
  },
35551
35508
  {
35552
35509
  "kind": "field",
35553
- "name": "autoFocusOnMount",
35510
+ "name": "dataAriaLabel",
35554
35511
  "type": {
35555
- "text": "boolean"
35512
+ "text": "string | null"
35556
35513
  },
35557
- "default": "false",
35558
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
35559
- "attribute": "auto-focus-on-mount",
35514
+ "default": "null",
35515
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
35516
+ "attribute": "data-aria-label",
35560
35517
  "reflects": true,
35561
35518
  "inheritedFrom": {
35562
- "name": "AutoFocusOnMountMixin",
35563
- "module": "utils/mixins/AutoFocusOnMountMixin.js"
35519
+ "name": "DataAriaLabelMixin",
35520
+ "module": "utils/mixins/DataAriaLabelMixin.js"
35564
35521
  }
35565
35522
  },
35566
35523
  {
35567
35524
  "kind": "field",
35568
- "name": "name",
35525
+ "name": "variant",
35569
35526
  "type": {
35570
- "text": "string"
35527
+ "text": "Variant"
35571
35528
  },
35572
- "default": "''",
35573
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
35574
- "attribute": "name",
35529
+ "description": "Types of the progressbar\n- **Default**\n- **Inline**",
35530
+ "default": "default",
35531
+ "attribute": "variant",
35575
35532
  "reflects": true,
35576
35533
  "inheritedFrom": {
35577
- "name": "FormInternalsMixin",
35578
- "module": "utils/mixins/FormInternalsMixin.js"
35534
+ "name": "Progressbar",
35535
+ "module": "components/progressbar/progressbar.component.js"
35579
35536
  }
35580
35537
  },
35581
35538
  {
@@ -35584,98 +35541,42 @@
35584
35541
  "type": {
35585
35542
  "text": "string"
35586
35543
  },
35587
- "default": "''",
35588
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
35544
+ "default": "'0'",
35545
+ "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
35589
35546
  "attribute": "value",
35590
35547
  "reflects": true,
35591
35548
  "inheritedFrom": {
35592
- "name": "FormInternalsMixin",
35593
- "module": "utils/mixins/FormInternalsMixin.js"
35594
- }
35595
- },
35596
- {
35597
- "kind": "field",
35598
- "name": "validationMessage",
35599
- "type": {
35600
- "text": "string | undefined"
35601
- },
35602
- "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
35603
- "attribute": "validation-message",
35604
- "reflects": true,
35605
- "inheritedFrom": {
35606
- "name": "FormInternalsMixin",
35607
- "module": "utils/mixins/FormInternalsMixin.js"
35549
+ "name": "Progressbar",
35550
+ "module": "components/progressbar/progressbar.component.js"
35608
35551
  }
35609
35552
  },
35610
35553
  {
35611
35554
  "kind": "field",
35612
- "name": "validity",
35555
+ "name": "error",
35613
35556
  "type": {
35614
- "text": "ValidityState"
35557
+ "text": "boolean"
35615
35558
  },
35616
- "readonly": true,
35617
- "inheritedFrom": {
35618
- "name": "FormInternalsMixin",
35619
- "module": "utils/mixins/FormInternalsMixin.js"
35620
- }
35621
- },
35622
- {
35623
- "kind": "field",
35624
- "name": "willValidate",
35625
- "readonly": true,
35559
+ "default": "false",
35560
+ "description": "Define error state of the progressbar\n- **true**\n- **false**",
35561
+ "attribute": "error",
35626
35562
  "inheritedFrom": {
35627
- "name": "FormInternalsMixin",
35628
- "module": "utils/mixins/FormInternalsMixin.js"
35563
+ "name": "Progressbar",
35564
+ "module": "components/progressbar/progressbar.component.js"
35629
35565
  }
35630
35566
  },
35631
35567
  {
35632
35568
  "kind": "method",
35633
- "name": "setValidity",
35634
- "description": "Sets the validity of the input field based on the input field's validity.",
35569
+ "name": "getValidationVariant",
35570
+ "privacy": "private",
35571
+ "description": "Determines the validation state (success, error, or default) based on progress value and error state.",
35635
35572
  "return": {
35636
35573
  "type": {
35637
35574
  "text": ""
35638
35575
  }
35639
35576
  },
35640
35577
  "inheritedFrom": {
35641
- "name": "FormInternalsMixin",
35642
- "module": "utils/mixins/FormInternalsMixin.js"
35643
- }
35644
- },
35645
- {
35646
- "kind": "method",
35647
- "name": "checkValidity",
35648
- "return": {
35649
- "type": {
35650
- "text": "boolean"
35651
- }
35652
- },
35653
- "inheritedFrom": {
35654
- "name": "FormInternalsMixin",
35655
- "module": "utils/mixins/FormInternalsMixin.js"
35656
- }
35657
- },
35658
- {
35659
- "kind": "method",
35660
- "name": "reportValidity",
35661
- "inheritedFrom": {
35662
- "name": "FormInternalsMixin",
35663
- "module": "utils/mixins/FormInternalsMixin.js"
35664
- }
35665
- },
35666
- {
35667
- "kind": "field",
35668
- "name": "dataAriaLabel",
35669
- "type": {
35670
- "text": "string | null"
35671
- },
35672
- "default": "null",
35673
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
35674
- "attribute": "data-aria-label",
35675
- "reflects": true,
35676
- "inheritedFrom": {
35677
- "name": "DataAriaLabelMixin",
35678
- "module": "utils/mixins/DataAriaLabelMixin.js"
35578
+ "name": "Progressbar",
35579
+ "module": "components/progressbar/progressbar.component.js"
35679
35580
  }
35680
35581
  },
35681
35582
  {
@@ -35912,55 +35813,38 @@
35912
35813
  }
35913
35814
  }
35914
35815
  ],
35915
- "events": [
35916
- {
35917
- "name": "change",
35918
- "type": {
35919
- "text": "Event"
35920
- },
35921
- "description": "(React: onChange) Event that gets dispatched when the radio state changes.",
35922
- "reactName": "onChange"
35923
- },
35924
- {
35925
- "description": "(React: onFocus) Event that gets dispatched when the radio receives focus.",
35926
- "name": "focus",
35927
- "reactName": "onFocus"
35928
- }
35929
- ],
35816
+ "superclass": {
35817
+ "name": "Progressbar",
35818
+ "module": "/src/components/progressbar/progressbar.component"
35819
+ },
35820
+ "tagName": "mdc-progressspinner",
35821
+ "jsDoc": "/**\n * `mdc-progressspinner` is a customizable, circular progress indicator component.\n * It visually represents the current completion state of a process, such as loading,\n * syncing, uploading, or any ongoing task that has a measurable percentage.\n *\n * The spinner is built using SVG with two concentric `<circle>` elements:\n * - The `progress` arc represents the portion of work completed.\n * - The `track` arc represents the remaining part.\n *\n * A visual gap is maintained between the progress and track arcs to clearly\n * distinguish the two segments. The component smoothly animates arc length\n * and respects accessibility best practices with ARIA attributes.\n *\n * The component supports different states:\n * - **Default**: Circular spinner shows the progress.\n * - **Success**: Displays a checkmark icon when progress reaches 100%.\n * - **Error**: Displays an error icon when in an error state.\n *\n * @tagname mdc-progressspinner\n *\n * @cssproperty --mdc-spinner-size - The size of the spinner.\n * @cssproperty --mdc-track-color - The color of the spinner track.\n * @cssproperty --mdc-progress-color - The color of the spinner progress.\n * @cssproperty --mdc-progress-success-color - The color of the spinner when in success state.\n * @cssproperty --mdc-progress-error-color - The color of the spinner when in error state.\n *\n * @csspart error-icon - The error icon of the progressspinner.\n * @csspart spinner-base - The base of the progressspinner.\n * @csspart spinner-container - The container of the progressspinner.\n * @csspart spinner-progress - The progress of the progressspinner.\n * @csspart spinner-track - The track of the progressspinner.\n * @csspart success-icon - The success icon of the progressspinner.\n */",
35822
+ "customElement": true,
35930
35823
  "attributes": [
35931
35824
  {
35932
- "name": "checked",
35933
- "type": {
35934
- "text": "boolean"
35935
- },
35936
- "default": "false",
35937
- "description": "Determines whether the radio is selected or unselected.",
35938
- "fieldName": "checked"
35939
- },
35940
- {
35941
- "name": "auto-focus-on-mount",
35825
+ "name": "data-aria-label",
35942
35826
  "type": {
35943
- "text": "boolean"
35827
+ "text": "string | null"
35944
35828
  },
35945
- "default": "false",
35946
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
35947
- "fieldName": "autoFocusOnMount",
35829
+ "default": "null",
35830
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
35831
+ "fieldName": "dataAriaLabel",
35948
35832
  "inheritedFrom": {
35949
- "name": "AutoFocusOnMountMixin",
35950
- "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
35833
+ "name": "DataAriaLabelMixin",
35834
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
35951
35835
  }
35952
35836
  },
35953
35837
  {
35954
- "name": "name",
35838
+ "name": "variant",
35955
35839
  "type": {
35956
- "text": "string"
35840
+ "text": "Variant"
35957
35841
  },
35958
- "default": "''",
35959
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
35960
- "fieldName": "name",
35842
+ "description": "Types of the progressbar\n- **Default**\n- **Inline**",
35843
+ "default": "default",
35844
+ "fieldName": "variant",
35961
35845
  "inheritedFrom": {
35962
- "name": "FormInternalsMixin",
35963
- "module": "src/utils/mixins/FormInternalsMixin.ts"
35846
+ "name": "Progressbar",
35847
+ "module": "src/components/progressbar/progressbar.component.ts"
35964
35848
  }
35965
35849
  },
35966
35850
  {
@@ -35968,37 +35852,25 @@
35968
35852
  "type": {
35969
35853
  "text": "string"
35970
35854
  },
35971
- "default": "''",
35972
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
35855
+ "default": "'0'",
35856
+ "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
35973
35857
  "fieldName": "value",
35974
35858
  "inheritedFrom": {
35975
- "name": "FormInternalsMixin",
35976
- "module": "src/utils/mixins/FormInternalsMixin.ts"
35977
- }
35978
- },
35979
- {
35980
- "name": "validation-message",
35981
- "type": {
35982
- "text": "string | undefined"
35983
- },
35984
- "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
35985
- "fieldName": "validationMessage",
35986
- "inheritedFrom": {
35987
- "name": "FormInternalsMixin",
35988
- "module": "src/utils/mixins/FormInternalsMixin.ts"
35859
+ "name": "Progressbar",
35860
+ "module": "src/components/progressbar/progressbar.component.ts"
35989
35861
  }
35990
35862
  },
35991
35863
  {
35992
- "name": "data-aria-label",
35864
+ "name": "error",
35993
35865
  "type": {
35994
- "text": "string | null"
35866
+ "text": "boolean"
35995
35867
  },
35996
- "default": "null",
35997
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
35998
- "fieldName": "dataAriaLabel",
35868
+ "default": "false",
35869
+ "description": "Define error state of the progressbar\n- **true**\n- **false**",
35870
+ "fieldName": "error",
35999
35871
  "inheritedFrom": {
36000
- "name": "DataAriaLabelMixin",
36001
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
35872
+ "name": "Progressbar",
35873
+ "module": "src/components/progressbar/progressbar.component.ts"
36002
35874
  }
36003
35875
  },
36004
35876
  {
@@ -36138,27 +36010,6 @@
36138
36010
  }
36139
36011
  }
36140
36012
  ],
36141
- "mixins": [
36142
- {
36143
- "name": "AutoFocusOnMountMixin",
36144
- "module": "/src/utils/mixins/AutoFocusOnMountMixin"
36145
- },
36146
- {
36147
- "name": "FormInternalsMixin",
36148
- "module": "/src/utils/mixins/FormInternalsMixin"
36149
- },
36150
- {
36151
- "name": "DataAriaLabelMixin",
36152
- "module": "/src/utils/mixins/DataAriaLabelMixin"
36153
- }
36154
- ],
36155
- "superclass": {
36156
- "name": "FormfieldWrapper",
36157
- "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
36158
- },
36159
- "tagName": "mdc-radio",
36160
- "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 *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-staticradio\n * @dependency mdc-toggletip\n *\n * @tagname mdc-radio\n *\n * @event change - (React: onChange) Event that gets dispatched when the radio state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.\n *\n * @cssproperty --mdc-radio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-radio-outer-circle-size - size of the outer circle\n * @cssproperty --mdc-radio-inner-circle-background-color - background color of the inner circle\n * @cssproperty --mdc-radio-outer-circle-border-color - border color of the outer circle\n * @cssproperty --mdc-radio-outer-circle-background-color - background color of the outer circle\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n * @csspart radio-input - The native radio input element.\n * @csspart text-container - The container for the label and helper text elements.\n */",
36161
- "customElement": true,
36162
36013
  "slots": [
36163
36014
  {
36164
36015
  "description": "Slot for the label element. If not provided, the `label` property will be used to render the label.",
@@ -36169,16 +36020,16 @@
36169
36020
  }
36170
36021
  },
36171
36022
  {
36172
- "description": "Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.",
36173
- "name": "toggletip",
36023
+ "description": "Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.",
36024
+ "name": "help-icon",
36174
36025
  "inheritedFrom": {
36175
36026
  "name": "FormfieldWrapper",
36176
36027
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36177
36028
  }
36178
36029
  },
36179
36030
  {
36180
- "description": "Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.",
36181
- "name": "help-icon",
36031
+ "description": "Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.",
36032
+ "name": "toggletip",
36182
36033
  "inheritedFrom": {
36183
36034
  "name": "FormfieldWrapper",
36184
36035
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
@@ -36200,40 +36051,40 @@
36200
36051
  "kind": "js",
36201
36052
  "name": "default",
36202
36053
  "declaration": {
36203
- "name": "Radio",
36204
- "module": "components/radio/radio.component.js"
36054
+ "name": "Progressspinner",
36055
+ "module": "components/progressspinner/progressspinner.component.js"
36205
36056
  }
36206
36057
  }
36207
36058
  ]
36208
36059
  },
36209
36060
  {
36210
36061
  "kind": "javascript-module",
36211
- "path": "components/progressspinner/progressspinner.component.js",
36062
+ "path": "components/radio/radio.component.js",
36212
36063
  "declarations": [
36213
36064
  {
36214
36065
  "kind": "class",
36215
- "description": "`mdc-progressspinner` is a customizable, circular progress indicator component.\nIt visually represents the current completion state of a process, such as loading,\nsyncing, uploading, or any ongoing task that has a measurable percentage.\n\nThe spinner is built using SVG with two concentric `<circle>` elements:\n- The `progress` arc represents the portion of work completed.\n- The `track` arc represents the remaining part.\n\nA visual gap is maintained between the progress and track arcs to clearly\ndistinguish the two segments. The component smoothly animates arc length\nand respects accessibility best practices with ARIA attributes.\n\nThe component supports different states:\n- **Default**: Circular spinner shows the progress.\n- **Success**: Displays a checkmark icon when progress reaches 100%.\n- **Error**: Displays an error icon when in an error state.",
36216
- "name": "Progressspinner",
36066
+ "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.",
36067
+ "name": "Radio",
36217
36068
  "cssProperties": [
36218
36069
  {
36219
- "description": "The size of the spinner.",
36220
- "name": "--mdc-spinner-size"
36070
+ "description": "size of the inner circle",
36071
+ "name": "--mdc-radio-inner-circle-size"
36221
36072
  },
36222
36073
  {
36223
- "description": "The color of the spinner track.",
36224
- "name": "--mdc-track-color"
36074
+ "description": "size of the outer circle",
36075
+ "name": "--mdc-radio-outer-circle-size"
36225
36076
  },
36226
36077
  {
36227
- "description": "The color of the spinner progress.",
36228
- "name": "--mdc-progress-color"
36078
+ "description": "background color of the inner circle",
36079
+ "name": "--mdc-radio-inner-circle-background-color"
36229
36080
  },
36230
36081
  {
36231
- "description": "The color of the spinner when in success state.",
36232
- "name": "--mdc-progress-success-color"
36082
+ "description": "border color of the outer circle",
36083
+ "name": "--mdc-radio-outer-circle-border-color"
36233
36084
  },
36234
36085
  {
36235
- "description": "The color of the spinner when in error state.",
36236
- "name": "--mdc-progress-error-color"
36086
+ "description": "background color of the outer circle",
36087
+ "name": "--mdc-radio-outer-circle-background-color"
36237
36088
  },
36238
36089
  {
36239
36090
  "description": "Font size for the label text.",
@@ -36306,65 +36157,9 @@
36306
36157
  "name": "FormfieldWrapper",
36307
36158
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36308
36159
  }
36309
- },
36310
- {
36311
- "description": "Background color of the remaining progressbar portion.",
36312
- "name": "--mdc-progressbar-background-color",
36313
- "inheritedFrom": {
36314
- "name": "Progressbar",
36315
- "module": "src/components/progressbar/progressbar.component.ts"
36316
- }
36317
- },
36318
- {
36319
- "description": "Background color of the elapsed progressbar portion.",
36320
- "name": "--mdc-progressbar-progress-background-color",
36321
- "inheritedFrom": {
36322
- "name": "Progressbar",
36323
- "module": "src/components/progressbar/progressbar.component.ts"
36324
- }
36325
- },
36326
- {
36327
- "description": "The height of the progressbar.",
36328
- "name": "--mdc-progressbar-height",
36329
- "inheritedFrom": {
36330
- "name": "Progressbar",
36331
- "module": "src/components/progressbar/progressbar.component.ts"
36332
- }
36333
- },
36334
- {
36335
- "description": "The border radius of the progressbar.",
36336
- "name": "--mdc-progressbar-border-radius",
36337
- "inheritedFrom": {
36338
- "name": "Progressbar",
36339
- "module": "src/components/progressbar/progressbar.component.ts"
36340
- }
36341
36160
  }
36342
36161
  ],
36343
36162
  "cssParts": [
36344
- {
36345
- "description": "The error icon of the progressspinner.",
36346
- "name": "error-icon"
36347
- },
36348
- {
36349
- "description": "The base of the progressspinner.",
36350
- "name": "spinner-base"
36351
- },
36352
- {
36353
- "description": "The container of the progressspinner.",
36354
- "name": "spinner-container"
36355
- },
36356
- {
36357
- "description": "The progress of the progressspinner.",
36358
- "name": "spinner-progress"
36359
- },
36360
- {
36361
- "description": "The track of the progressspinner.",
36362
- "name": "spinner-track"
36363
- },
36364
- {
36365
- "description": "The success icon of the progressspinner.",
36366
- "name": "success-icon"
36367
- },
36368
36163
  {
36369
36164
  "description": "The label element.",
36370
36165
  "name": "label",
@@ -36382,110 +36177,209 @@
36382
36177
  }
36383
36178
  },
36384
36179
  {
36385
- "description": "The helper/validation text element.",
36386
- "name": "help-text",
36180
+ "description": "The required indicator element that is displayed next to the label when the `required` property is set to true.",
36181
+ "name": "required-indicator",
36387
36182
  "inheritedFrom": {
36388
36183
  "name": "FormfieldWrapper",
36389
36184
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36390
36185
  }
36391
36186
  },
36392
36187
  {
36393
- "description": "The container for the helper/validation icon and text elements.",
36394
- "name": "help-text-container",
36188
+ "description": "The info icon button element that is displayed next to the label when the `toggletip-text` property is set.",
36189
+ "name": "info-icon-btn",
36395
36190
  "inheritedFrom": {
36396
36191
  "name": "FormfieldWrapper",
36397
36192
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36398
36193
  }
36399
36194
  },
36400
36195
  {
36401
- "description": "The required indicator element that is displayed next to the label when the `required` property is set to true.",
36402
- "name": "required-indicator",
36196
+ "description": "The toggletip element that is displayed when the info icon button is clicked.",
36197
+ "name": "label-toggletip",
36403
36198
  "inheritedFrom": {
36404
36199
  "name": "FormfieldWrapper",
36405
36200
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36406
36201
  }
36407
36202
  },
36408
36203
  {
36409
- "description": "The info icon button element that is displayed next to the label when the `toggletip-text` property is set.",
36410
- "name": "info-icon-btn",
36204
+ "description": "The helper/validation text element.",
36205
+ "name": "help-text",
36411
36206
  "inheritedFrom": {
36412
36207
  "name": "FormfieldWrapper",
36413
36208
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36414
36209
  }
36415
36210
  },
36416
36211
  {
36417
- "description": "The toggletip element that is displayed when the info icon button is clicked.",
36418
- "name": "label-toggletip",
36212
+ "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
36213
+ "name": "helper-icon",
36419
36214
  "inheritedFrom": {
36420
36215
  "name": "FormfieldWrapper",
36421
36216
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36422
36217
  }
36423
36218
  },
36424
36219
  {
36425
- "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
36426
- "name": "helper-icon",
36220
+ "description": "The container for the helper/validation icon and text elements.",
36221
+ "name": "help-text-container",
36427
36222
  "inheritedFrom": {
36428
36223
  "name": "FormfieldWrapper",
36429
36224
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36430
36225
  }
36226
+ },
36227
+ {
36228
+ "description": "The native radio input element.",
36229
+ "name": "radio-input"
36230
+ },
36231
+ {
36232
+ "description": "The container for the label and helper text elements.",
36233
+ "name": "text-container"
36431
36234
  }
36432
36235
  ],
36433
36236
  "members": [
36237
+ {
36238
+ "kind": "field",
36239
+ "name": "checked",
36240
+ "type": {
36241
+ "text": "boolean"
36242
+ },
36243
+ "default": "false",
36244
+ "description": "Determines whether the radio is selected or unselected.",
36245
+ "attribute": "checked",
36246
+ "reflects": true
36247
+ },
36434
36248
  {
36435
36249
  "kind": "method",
36436
- "name": "renderProgressSpinner",
36437
- "privacy": "private"
36250
+ "name": "getAllRadiosWithinSameGroup",
36251
+ "privacy": "private",
36252
+ "return": {
36253
+ "type": {
36254
+ "text": "Radio[]"
36255
+ }
36256
+ },
36257
+ "description": "Returns all radios within the same group (name)."
36438
36258
  },
36439
36259
  {
36440
36260
  "kind": "method",
36441
- "name": "renderErrorState",
36261
+ "name": "setGroupValidity",
36262
+ "privacy": "private",
36263
+ "parameters": [
36264
+ {
36265
+ "name": "radios",
36266
+ "type": {
36267
+ "text": "Radio[]"
36268
+ },
36269
+ "description": "Array of radios of the same group"
36270
+ },
36271
+ {
36272
+ "name": "isValid",
36273
+ "type": {
36274
+ "text": "boolean"
36275
+ },
36276
+ "description": "Boolean value to set the validity of the group"
36277
+ }
36278
+ ],
36279
+ "description": "Sets the validity of the group of radios."
36280
+ },
36281
+ {
36282
+ "kind": "method",
36283
+ "name": "setActualFormValue",
36284
+ "privacy": "private",
36285
+ "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."
36286
+ },
36287
+ {
36288
+ "kind": "method",
36289
+ "name": "handleChange",
36442
36290
  "privacy": "private",
36443
- "description": "Renders the error state of the progress spinner.",
36444
36291
  "return": {
36445
36292
  "type": {
36446
- "text": ""
36293
+ "text": "void"
36447
36294
  }
36448
- }
36295
+ },
36296
+ "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
36449
36297
  },
36450
36298
  {
36451
36299
  "kind": "method",
36452
- "name": "renderSuccessState",
36300
+ "name": "updateRadio",
36301
+ "privacy": "private",
36302
+ "parameters": [
36303
+ {
36304
+ "name": "enabledRadios",
36305
+ "type": {
36306
+ "text": "Radio[]"
36307
+ },
36308
+ "description": "An array of enabled radio buttons within the same group."
36309
+ },
36310
+ {
36311
+ "name": "index",
36312
+ "type": {
36313
+ "text": "number"
36314
+ },
36315
+ "description": "The index of the radio button to be updated within the enabled radios array."
36316
+ }
36317
+ ],
36318
+ "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."
36319
+ },
36320
+ {
36321
+ "kind": "method",
36322
+ "name": "handleKeyDown",
36453
36323
  "privacy": "private",
36454
- "description": "Renders the success state of the progress spinner.",
36455
36324
  "return": {
36456
36325
  "type": {
36457
- "text": ""
36326
+ "text": "void"
36458
36327
  }
36459
- }
36328
+ },
36329
+ "parameters": [
36330
+ {
36331
+ "name": "event",
36332
+ "type": {
36333
+ "text": "KeyboardEvent"
36334
+ }
36335
+ }
36336
+ ],
36337
+ "description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
36338
+ },
36339
+ {
36340
+ "kind": "method",
36341
+ "name": "updateTabIndex",
36342
+ "privacy": "private",
36343
+ "return": {
36344
+ "type": {
36345
+ "text": "void"
36346
+ }
36347
+ },
36348
+ "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"
36460
36349
  },
36461
36350
  {
36462
36351
  "kind": "field",
36463
- "name": "dataAriaLabel",
36352
+ "name": "renderLabelAndHelperText",
36353
+ "privacy": "private"
36354
+ },
36355
+ {
36356
+ "kind": "field",
36357
+ "name": "autoFocusOnMount",
36464
36358
  "type": {
36465
- "text": "string | null"
36359
+ "text": "boolean"
36466
36360
  },
36467
- "default": "null",
36468
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
36469
- "attribute": "data-aria-label",
36361
+ "default": "false",
36362
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
36363
+ "attribute": "auto-focus-on-mount",
36470
36364
  "reflects": true,
36471
36365
  "inheritedFrom": {
36472
- "name": "DataAriaLabelMixin",
36473
- "module": "utils/mixins/DataAriaLabelMixin.js"
36366
+ "name": "AutoFocusOnMountMixin",
36367
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
36474
36368
  }
36475
36369
  },
36476
36370
  {
36477
36371
  "kind": "field",
36478
- "name": "variant",
36372
+ "name": "name",
36479
36373
  "type": {
36480
- "text": "Variant"
36374
+ "text": "string"
36481
36375
  },
36482
- "description": "Types of the progressbar\n- **Default**\n- **Inline**",
36483
- "default": "default",
36484
- "attribute": "variant",
36376
+ "default": "''",
36377
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
36378
+ "attribute": "name",
36485
36379
  "reflects": true,
36486
36380
  "inheritedFrom": {
36487
- "name": "Progressbar",
36488
- "module": "components/progressbar/progressbar.component.js"
36381
+ "name": "FormInternalsMixin",
36382
+ "module": "utils/mixins/FormInternalsMixin.js"
36489
36383
  }
36490
36384
  },
36491
36385
  {
@@ -36494,42 +36388,98 @@
36494
36388
  "type": {
36495
36389
  "text": "string"
36496
36390
  },
36497
- "default": "'0'",
36498
- "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
36391
+ "default": "''",
36392
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
36499
36393
  "attribute": "value",
36500
36394
  "reflects": true,
36501
36395
  "inheritedFrom": {
36502
- "name": "Progressbar",
36503
- "module": "components/progressbar/progressbar.component.js"
36396
+ "name": "FormInternalsMixin",
36397
+ "module": "utils/mixins/FormInternalsMixin.js"
36504
36398
  }
36505
36399
  },
36506
36400
  {
36507
36401
  "kind": "field",
36508
- "name": "error",
36402
+ "name": "validationMessage",
36509
36403
  "type": {
36510
- "text": "boolean"
36404
+ "text": "string | undefined"
36511
36405
  },
36512
- "default": "false",
36513
- "description": "Define error state of the progressbar\n- **true**\n- **false**",
36514
- "attribute": "error",
36406
+ "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
36407
+ "attribute": "validation-message",
36408
+ "reflects": true,
36515
36409
  "inheritedFrom": {
36516
- "name": "Progressbar",
36517
- "module": "components/progressbar/progressbar.component.js"
36410
+ "name": "FormInternalsMixin",
36411
+ "module": "utils/mixins/FormInternalsMixin.js"
36412
+ }
36413
+ },
36414
+ {
36415
+ "kind": "field",
36416
+ "name": "validity",
36417
+ "type": {
36418
+ "text": "ValidityState"
36419
+ },
36420
+ "readonly": true,
36421
+ "inheritedFrom": {
36422
+ "name": "FormInternalsMixin",
36423
+ "module": "utils/mixins/FormInternalsMixin.js"
36424
+ }
36425
+ },
36426
+ {
36427
+ "kind": "field",
36428
+ "name": "willValidate",
36429
+ "readonly": true,
36430
+ "inheritedFrom": {
36431
+ "name": "FormInternalsMixin",
36432
+ "module": "utils/mixins/FormInternalsMixin.js"
36518
36433
  }
36519
36434
  },
36520
36435
  {
36521
36436
  "kind": "method",
36522
- "name": "getValidationVariant",
36523
- "privacy": "private",
36524
- "description": "Determines the validation state (success, error, or default) based on progress value and error state.",
36437
+ "name": "setValidity",
36438
+ "description": "Sets the validity of the input field based on the input field's validity.",
36525
36439
  "return": {
36526
36440
  "type": {
36527
36441
  "text": ""
36528
36442
  }
36529
36443
  },
36530
36444
  "inheritedFrom": {
36531
- "name": "Progressbar",
36532
- "module": "components/progressbar/progressbar.component.js"
36445
+ "name": "FormInternalsMixin",
36446
+ "module": "utils/mixins/FormInternalsMixin.js"
36447
+ }
36448
+ },
36449
+ {
36450
+ "kind": "method",
36451
+ "name": "checkValidity",
36452
+ "return": {
36453
+ "type": {
36454
+ "text": "boolean"
36455
+ }
36456
+ },
36457
+ "inheritedFrom": {
36458
+ "name": "FormInternalsMixin",
36459
+ "module": "utils/mixins/FormInternalsMixin.js"
36460
+ }
36461
+ },
36462
+ {
36463
+ "kind": "method",
36464
+ "name": "reportValidity",
36465
+ "inheritedFrom": {
36466
+ "name": "FormInternalsMixin",
36467
+ "module": "utils/mixins/FormInternalsMixin.js"
36468
+ }
36469
+ },
36470
+ {
36471
+ "kind": "field",
36472
+ "name": "dataAriaLabel",
36473
+ "type": {
36474
+ "text": "string | null"
36475
+ },
36476
+ "default": "null",
36477
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
36478
+ "attribute": "data-aria-label",
36479
+ "reflects": true,
36480
+ "inheritedFrom": {
36481
+ "name": "DataAriaLabelMixin",
36482
+ "module": "utils/mixins/DataAriaLabelMixin.js"
36533
36483
  }
36534
36484
  },
36535
36485
  {
@@ -36766,38 +36716,55 @@
36766
36716
  }
36767
36717
  }
36768
36718
  ],
36769
- "superclass": {
36770
- "name": "Progressbar",
36771
- "module": "/src/components/progressbar/progressbar.component"
36772
- },
36773
- "tagName": "mdc-progressspinner",
36774
- "jsDoc": "/**\n * `mdc-progressspinner` is a customizable, circular progress indicator component.\n * It visually represents the current completion state of a process, such as loading,\n * syncing, uploading, or any ongoing task that has a measurable percentage.\n *\n * The spinner is built using SVG with two concentric `<circle>` elements:\n * - The `progress` arc represents the portion of work completed.\n * - The `track` arc represents the remaining part.\n *\n * A visual gap is maintained between the progress and track arcs to clearly\n * distinguish the two segments. The component smoothly animates arc length\n * and respects accessibility best practices with ARIA attributes.\n *\n * The component supports different states:\n * - **Default**: Circular spinner shows the progress.\n * - **Success**: Displays a checkmark icon when progress reaches 100%.\n * - **Error**: Displays an error icon when in an error state.\n *\n * @tagname mdc-progressspinner\n *\n * @cssproperty --mdc-spinner-size - The size of the spinner.\n * @cssproperty --mdc-track-color - The color of the spinner track.\n * @cssproperty --mdc-progress-color - The color of the spinner progress.\n * @cssproperty --mdc-progress-success-color - The color of the spinner when in success state.\n * @cssproperty --mdc-progress-error-color - The color of the spinner when in error state.\n *\n * @csspart error-icon - The error icon of the progressspinner.\n * @csspart spinner-base - The base of the progressspinner.\n * @csspart spinner-container - The container of the progressspinner.\n * @csspart spinner-progress - The progress of the progressspinner.\n * @csspart spinner-track - The track of the progressspinner.\n * @csspart success-icon - The success icon of the progressspinner.\n */",
36775
- "customElement": true,
36719
+ "events": [
36720
+ {
36721
+ "name": "change",
36722
+ "type": {
36723
+ "text": "Event"
36724
+ },
36725
+ "description": "(React: onChange) Event that gets dispatched when the radio state changes.",
36726
+ "reactName": "onChange"
36727
+ },
36728
+ {
36729
+ "description": "(React: onFocus) Event that gets dispatched when the radio receives focus.",
36730
+ "name": "focus",
36731
+ "reactName": "onFocus"
36732
+ }
36733
+ ],
36776
36734
  "attributes": [
36777
36735
  {
36778
- "name": "data-aria-label",
36736
+ "name": "checked",
36779
36737
  "type": {
36780
- "text": "string | null"
36738
+ "text": "boolean"
36781
36739
  },
36782
- "default": "null",
36783
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
36784
- "fieldName": "dataAriaLabel",
36740
+ "default": "false",
36741
+ "description": "Determines whether the radio is selected or unselected.",
36742
+ "fieldName": "checked"
36743
+ },
36744
+ {
36745
+ "name": "auto-focus-on-mount",
36746
+ "type": {
36747
+ "text": "boolean"
36748
+ },
36749
+ "default": "false",
36750
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
36751
+ "fieldName": "autoFocusOnMount",
36785
36752
  "inheritedFrom": {
36786
- "name": "DataAriaLabelMixin",
36787
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
36753
+ "name": "AutoFocusOnMountMixin",
36754
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
36788
36755
  }
36789
36756
  },
36790
36757
  {
36791
- "name": "variant",
36758
+ "name": "name",
36792
36759
  "type": {
36793
- "text": "Variant"
36760
+ "text": "string"
36794
36761
  },
36795
- "description": "Types of the progressbar\n- **Default**\n- **Inline**",
36796
- "default": "default",
36797
- "fieldName": "variant",
36762
+ "default": "''",
36763
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
36764
+ "fieldName": "name",
36798
36765
  "inheritedFrom": {
36799
- "name": "Progressbar",
36800
- "module": "src/components/progressbar/progressbar.component.ts"
36766
+ "name": "FormInternalsMixin",
36767
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
36801
36768
  }
36802
36769
  },
36803
36770
  {
@@ -36805,25 +36772,37 @@
36805
36772
  "type": {
36806
36773
  "text": "string"
36807
36774
  },
36808
- "default": "'0'",
36809
- "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
36775
+ "default": "''",
36776
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
36810
36777
  "fieldName": "value",
36811
36778
  "inheritedFrom": {
36812
- "name": "Progressbar",
36813
- "module": "src/components/progressbar/progressbar.component.ts"
36779
+ "name": "FormInternalsMixin",
36780
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
36814
36781
  }
36815
36782
  },
36816
36783
  {
36817
- "name": "error",
36784
+ "name": "validation-message",
36818
36785
  "type": {
36819
- "text": "boolean"
36786
+ "text": "string | undefined"
36820
36787
  },
36821
- "default": "false",
36822
- "description": "Define error state of the progressbar\n- **true**\n- **false**",
36823
- "fieldName": "error",
36788
+ "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
36789
+ "fieldName": "validationMessage",
36824
36790
  "inheritedFrom": {
36825
- "name": "Progressbar",
36826
- "module": "src/components/progressbar/progressbar.component.ts"
36791
+ "name": "FormInternalsMixin",
36792
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
36793
+ }
36794
+ },
36795
+ {
36796
+ "name": "data-aria-label",
36797
+ "type": {
36798
+ "text": "string | null"
36799
+ },
36800
+ "default": "null",
36801
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
36802
+ "fieldName": "dataAriaLabel",
36803
+ "inheritedFrom": {
36804
+ "name": "DataAriaLabelMixin",
36805
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
36827
36806
  }
36828
36807
  },
36829
36808
  {
@@ -36963,6 +36942,27 @@
36963
36942
  }
36964
36943
  }
36965
36944
  ],
36945
+ "mixins": [
36946
+ {
36947
+ "name": "AutoFocusOnMountMixin",
36948
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
36949
+ },
36950
+ {
36951
+ "name": "FormInternalsMixin",
36952
+ "module": "/src/utils/mixins/FormInternalsMixin"
36953
+ },
36954
+ {
36955
+ "name": "DataAriaLabelMixin",
36956
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
36957
+ }
36958
+ ],
36959
+ "superclass": {
36960
+ "name": "FormfieldWrapper",
36961
+ "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
36962
+ },
36963
+ "tagName": "mdc-radio",
36964
+ "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 *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-staticradio\n * @dependency mdc-toggletip\n *\n * @tagname mdc-radio\n *\n * @event change - (React: onChange) Event that gets dispatched when the radio state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.\n *\n * @cssproperty --mdc-radio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-radio-outer-circle-size - size of the outer circle\n * @cssproperty --mdc-radio-inner-circle-background-color - background color of the inner circle\n * @cssproperty --mdc-radio-outer-circle-border-color - border color of the outer circle\n * @cssproperty --mdc-radio-outer-circle-background-color - background color of the outer circle\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n * @csspart radio-input - The native radio input element.\n * @csspart text-container - The container for the label and helper text elements.\n */",
36965
+ "customElement": true,
36966
36966
  "slots": [
36967
36967
  {
36968
36968
  "description": "Slot for the label element. If not provided, the `label` property will be used to render the label.",
@@ -36973,16 +36973,16 @@
36973
36973
  }
36974
36974
  },
36975
36975
  {
36976
- "description": "Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.",
36977
- "name": "help-icon",
36976
+ "description": "Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.",
36977
+ "name": "toggletip",
36978
36978
  "inheritedFrom": {
36979
36979
  "name": "FormfieldWrapper",
36980
36980
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36981
36981
  }
36982
36982
  },
36983
36983
  {
36984
- "description": "Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.",
36985
- "name": "toggletip",
36984
+ "description": "Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.",
36985
+ "name": "help-icon",
36986
36986
  "inheritedFrom": {
36987
36987
  "name": "FormfieldWrapper",
36988
36988
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
@@ -37004,8 +37004,8 @@
37004
37004
  "kind": "js",
37005
37005
  "name": "default",
37006
37006
  "declaration": {
37007
- "name": "Progressspinner",
37008
- "module": "components/progressspinner/progressspinner.component.js"
37007
+ "name": "Radio",
37008
+ "module": "components/radio/radio.component.js"
37009
37009
  }
37010
37010
  }
37011
37011
  ]