@momentum-design/components 0.120.37 → 0.120.38

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,218 +1586,6 @@
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
- },
1801
1589
  {
1802
1590
  "kind": "javascript-module",
1803
1591
  "path": "components/announcementdialog/announcementdialog.component.js",
@@ -2690,7 +2478,7 @@
2690
2478
  },
2691
2479
  {
2692
2480
  "kind": "field",
2693
- "name": "ariaDescribedBy",
2481
+ "name": "ariaDescribedby",
2694
2482
  "type": {
2695
2483
  "text": "string | null"
2696
2484
  },
@@ -3034,7 +2822,7 @@
3034
2822
  },
3035
2823
  "default": "null",
3036
2824
  "description": "Defines a string value for the aria-describedby attribute that refers to the element\ndescribing the dialog for accessibility",
3037
- "fieldName": "ariaDescribedBy",
2825
+ "fieldName": "ariaDescribedby",
3038
2826
  "inheritedFrom": {
3039
2827
  "name": "Dialog",
3040
2828
  "module": "src/components/dialog/dialog.component.ts"
@@ -3222,6 +3010,218 @@
3222
3010
  }
3223
3011
  ]
3224
3012
  },
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",
@@ -15280,7 +15280,7 @@
15280
15280
  },
15281
15281
  {
15282
15282
  "kind": "field",
15283
- "name": "ariaDescribedBy",
15283
+ "name": "ariaDescribedby",
15284
15284
  "type": {
15285
15285
  "text": "string | null"
15286
15286
  },
@@ -16052,7 +16052,7 @@
16052
16052
  },
16053
16053
  "default": "null",
16054
16054
  "description": "Defines a string value for the aria-describedby attribute that refers to the element\ndescribing the dialog for accessibility",
16055
- "fieldName": "ariaDescribedBy"
16055
+ "fieldName": "ariaDescribedby"
16056
16056
  },
16057
16057
  {
16058
16058
  "name": "aria-description",
@@ -18254,7 +18254,7 @@
18254
18254
  },
18255
18255
  {
18256
18256
  "kind": "field",
18257
- "name": "ariaLabelledBy",
18257
+ "name": "ariaLabelledby",
18258
18258
  "type": {
18259
18259
  "text": "string | null"
18260
18260
  },
@@ -18386,7 +18386,7 @@
18386
18386
  },
18387
18387
  "default": "null",
18388
18388
  "description": "Aria-labelledby attribute to be set for accessibility",
18389
- "fieldName": "ariaLabelledBy"
18389
+ "fieldName": "ariaLabelledby"
18390
18390
  }
18391
18391
  ],
18392
18392
  "superclass": {
@@ -22578,143 +22578,6 @@
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
- },
22718
22581
  {
22719
22582
  "kind": "javascript-module",
22720
22583
  "path": "components/listitem/listitem.component.js",
@@ -23678,6 +23541,143 @@
23678
23541
  }
23679
23542
  ]
23680
23543
  },
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/progressspinner/progressspinner.component.js",
35258
+ "path": "components/radio/radio.component.js",
35259
35259
  "declarations": [
35260
35260
  {
35261
35261
  "kind": "class",
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",
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",
35264
35264
  "cssProperties": [
35265
35265
  {
35266
- "description": "The size of the spinner.",
35267
- "name": "--mdc-spinner-size"
35266
+ "description": "size of the inner circle",
35267
+ "name": "--mdc-radio-inner-circle-size"
35268
35268
  },
35269
35269
  {
35270
- "description": "The color of the spinner track.",
35271
- "name": "--mdc-track-color"
35270
+ "description": "size of the outer circle",
35271
+ "name": "--mdc-radio-outer-circle-size"
35272
35272
  },
35273
35273
  {
35274
- "description": "The color of the spinner progress.",
35275
- "name": "--mdc-progress-color"
35274
+ "description": "background color of the inner circle",
35275
+ "name": "--mdc-radio-inner-circle-background-color"
35276
35276
  },
35277
35277
  {
35278
- "description": "The color of the spinner when in success state.",
35279
- "name": "--mdc-progress-success-color"
35278
+ "description": "border color of the outer circle",
35279
+ "name": "--mdc-radio-outer-circle-border-color"
35280
35280
  },
35281
35281
  {
35282
- "description": "The color of the spinner when in error state.",
35283
- "name": "--mdc-progress-error-color"
35282
+ "description": "background color of the outer circle",
35283
+ "name": "--mdc-radio-outer-circle-background-color"
35284
35284
  },
35285
35285
  {
35286
35286
  "description": "Font size for the label text.",
@@ -35353,65 +35353,9 @@
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
- }
35388
35356
  }
35389
35357
  ],
35390
35358
  "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
- },
35415
35359
  {
35416
35360
  "description": "The label element.",
35417
35361
  "name": "label",
@@ -35429,110 +35373,209 @@
35429
35373
  }
35430
35374
  },
35431
35375
  {
35432
- "description": "The helper/validation text element.",
35433
- "name": "help-text",
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",
35434
35378
  "inheritedFrom": {
35435
35379
  "name": "FormfieldWrapper",
35436
35380
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35437
35381
  }
35438
35382
  },
35439
35383
  {
35440
- "description": "The container for the helper/validation icon and text elements.",
35441
- "name": "help-text-container",
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",
35442
35386
  "inheritedFrom": {
35443
35387
  "name": "FormfieldWrapper",
35444
35388
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35445
35389
  }
35446
35390
  },
35447
35391
  {
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",
35392
+ "description": "The toggletip element that is displayed when the info icon button is clicked.",
35393
+ "name": "label-toggletip",
35450
35394
  "inheritedFrom": {
35451
35395
  "name": "FormfieldWrapper",
35452
35396
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35453
35397
  }
35454
35398
  },
35455
35399
  {
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",
35400
+ "description": "The helper/validation text element.",
35401
+ "name": "help-text",
35458
35402
  "inheritedFrom": {
35459
35403
  "name": "FormfieldWrapper",
35460
35404
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35461
35405
  }
35462
35406
  },
35463
35407
  {
35464
- "description": "The toggletip element that is displayed when the info icon button is clicked.",
35465
- "name": "label-toggletip",
35408
+ "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
35409
+ "name": "helper-icon",
35466
35410
  "inheritedFrom": {
35467
35411
  "name": "FormfieldWrapper",
35468
35412
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35469
35413
  }
35470
35414
  },
35471
35415
  {
35472
- "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
35473
- "name": "helper-icon",
35416
+ "description": "The container for the helper/validation icon and text elements.",
35417
+ "name": "help-text-container",
35474
35418
  "inheritedFrom": {
35475
35419
  "name": "FormfieldWrapper",
35476
35420
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35477
35421
  }
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"
35478
35430
  }
35479
35431
  ],
35480
35432
  "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
+ },
35481
35444
  {
35482
35445
  "kind": "method",
35483
- "name": "renderProgressSpinner",
35484
- "privacy": "private"
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)."
35485
35454
  },
35486
35455
  {
35487
35456
  "kind": "method",
35488
- "name": "renderErrorState",
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",
35489
35486
  "privacy": "private",
35490
- "description": "Renders the error state of the progress spinner.",
35491
35487
  "return": {
35492
35488
  "type": {
35493
- "text": ""
35489
+ "text": "void"
35494
35490
  }
35495
- }
35491
+ },
35492
+ "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
35496
35493
  },
35497
35494
  {
35498
35495
  "kind": "method",
35499
- "name": "renderSuccessState",
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."
35515
+ },
35516
+ {
35517
+ "kind": "method",
35518
+ "name": "handleKeyDown",
35500
35519
  "privacy": "private",
35501
- "description": "Renders the success state of the progress spinner.",
35502
35520
  "return": {
35503
35521
  "type": {
35504
- "text": ""
35522
+ "text": "void"
35505
35523
  }
35506
- }
35524
+ },
35525
+ "parameters": [
35526
+ {
35527
+ "name": "event",
35528
+ "type": {
35529
+ "text": "KeyboardEvent"
35530
+ }
35531
+ }
35532
+ ],
35533
+ "description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
35534
+ },
35535
+ {
35536
+ "kind": "method",
35537
+ "name": "updateTabIndex",
35538
+ "privacy": "private",
35539
+ "return": {
35540
+ "type": {
35541
+ "text": "void"
35542
+ }
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"
35507
35545
  },
35508
35546
  {
35509
35547
  "kind": "field",
35510
- "name": "dataAriaLabel",
35548
+ "name": "renderLabelAndHelperText",
35549
+ "privacy": "private"
35550
+ },
35551
+ {
35552
+ "kind": "field",
35553
+ "name": "autoFocusOnMount",
35511
35554
  "type": {
35512
- "text": "string | null"
35555
+ "text": "boolean"
35513
35556
  },
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",
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",
35517
35560
  "reflects": true,
35518
35561
  "inheritedFrom": {
35519
- "name": "DataAriaLabelMixin",
35520
- "module": "utils/mixins/DataAriaLabelMixin.js"
35562
+ "name": "AutoFocusOnMountMixin",
35563
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
35521
35564
  }
35522
35565
  },
35523
35566
  {
35524
35567
  "kind": "field",
35525
- "name": "variant",
35568
+ "name": "name",
35526
35569
  "type": {
35527
- "text": "Variant"
35570
+ "text": "string"
35528
35571
  },
35529
- "description": "Types of the progressbar\n- **Default**\n- **Inline**",
35530
- "default": "default",
35531
- "attribute": "variant",
35572
+ "default": "''",
35573
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
35574
+ "attribute": "name",
35532
35575
  "reflects": true,
35533
35576
  "inheritedFrom": {
35534
- "name": "Progressbar",
35535
- "module": "components/progressbar/progressbar.component.js"
35577
+ "name": "FormInternalsMixin",
35578
+ "module": "utils/mixins/FormInternalsMixin.js"
35536
35579
  }
35537
35580
  },
35538
35581
  {
@@ -35541,42 +35584,98 @@
35541
35584
  "type": {
35542
35585
  "text": "string"
35543
35586
  },
35544
- "default": "'0'",
35545
- "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
35587
+ "default": "''",
35588
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
35546
35589
  "attribute": "value",
35547
35590
  "reflects": true,
35548
35591
  "inheritedFrom": {
35549
- "name": "Progressbar",
35550
- "module": "components/progressbar/progressbar.component.js"
35592
+ "name": "FormInternalsMixin",
35593
+ "module": "utils/mixins/FormInternalsMixin.js"
35551
35594
  }
35552
35595
  },
35553
35596
  {
35554
35597
  "kind": "field",
35555
- "name": "error",
35598
+ "name": "validationMessage",
35556
35599
  "type": {
35557
- "text": "boolean"
35600
+ "text": "string | undefined"
35558
35601
  },
35559
- "default": "false",
35560
- "description": "Define error state of the progressbar\n- **true**\n- **false**",
35561
- "attribute": "error",
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,
35562
35605
  "inheritedFrom": {
35563
- "name": "Progressbar",
35564
- "module": "components/progressbar/progressbar.component.js"
35606
+ "name": "FormInternalsMixin",
35607
+ "module": "utils/mixins/FormInternalsMixin.js"
35608
+ }
35609
+ },
35610
+ {
35611
+ "kind": "field",
35612
+ "name": "validity",
35613
+ "type": {
35614
+ "text": "ValidityState"
35615
+ },
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,
35626
+ "inheritedFrom": {
35627
+ "name": "FormInternalsMixin",
35628
+ "module": "utils/mixins/FormInternalsMixin.js"
35565
35629
  }
35566
35630
  },
35567
35631
  {
35568
35632
  "kind": "method",
35569
- "name": "getValidationVariant",
35570
- "privacy": "private",
35571
- "description": "Determines the validation state (success, error, or default) based on progress value and error state.",
35633
+ "name": "setValidity",
35634
+ "description": "Sets the validity of the input field based on the input field's validity.",
35572
35635
  "return": {
35573
35636
  "type": {
35574
35637
  "text": ""
35575
35638
  }
35576
35639
  },
35577
35640
  "inheritedFrom": {
35578
- "name": "Progressbar",
35579
- "module": "components/progressbar/progressbar.component.js"
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"
35580
35679
  }
35581
35680
  },
35582
35681
  {
@@ -35813,38 +35912,55 @@
35813
35912
  }
35814
35913
  }
35815
35914
  ],
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,
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
+ ],
35823
35930
  "attributes": [
35824
35931
  {
35825
- "name": "data-aria-label",
35932
+ "name": "checked",
35826
35933
  "type": {
35827
- "text": "string | null"
35934
+ "text": "boolean"
35828
35935
  },
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",
35936
+ "default": "false",
35937
+ "description": "Determines whether the radio is selected or unselected.",
35938
+ "fieldName": "checked"
35939
+ },
35940
+ {
35941
+ "name": "auto-focus-on-mount",
35942
+ "type": {
35943
+ "text": "boolean"
35944
+ },
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",
35832
35948
  "inheritedFrom": {
35833
- "name": "DataAriaLabelMixin",
35834
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
35949
+ "name": "AutoFocusOnMountMixin",
35950
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
35835
35951
  }
35836
35952
  },
35837
35953
  {
35838
- "name": "variant",
35954
+ "name": "name",
35839
35955
  "type": {
35840
- "text": "Variant"
35956
+ "text": "string"
35841
35957
  },
35842
- "description": "Types of the progressbar\n- **Default**\n- **Inline**",
35843
- "default": "default",
35844
- "fieldName": "variant",
35958
+ "default": "''",
35959
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
35960
+ "fieldName": "name",
35845
35961
  "inheritedFrom": {
35846
- "name": "Progressbar",
35847
- "module": "src/components/progressbar/progressbar.component.ts"
35962
+ "name": "FormInternalsMixin",
35963
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
35848
35964
  }
35849
35965
  },
35850
35966
  {
@@ -35852,25 +35968,37 @@
35852
35968
  "type": {
35853
35969
  "text": "string"
35854
35970
  },
35855
- "default": "'0'",
35856
- "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
35971
+ "default": "''",
35972
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
35857
35973
  "fieldName": "value",
35858
35974
  "inheritedFrom": {
35859
- "name": "Progressbar",
35860
- "module": "src/components/progressbar/progressbar.component.ts"
35975
+ "name": "FormInternalsMixin",
35976
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
35861
35977
  }
35862
35978
  },
35863
35979
  {
35864
- "name": "error",
35980
+ "name": "validation-message",
35865
35981
  "type": {
35866
- "text": "boolean"
35982
+ "text": "string | undefined"
35867
35983
  },
35868
- "default": "false",
35869
- "description": "Define error state of the progressbar\n- **true**\n- **false**",
35870
- "fieldName": "error",
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",
35871
35986
  "inheritedFrom": {
35872
- "name": "Progressbar",
35873
- "module": "src/components/progressbar/progressbar.component.ts"
35987
+ "name": "FormInternalsMixin",
35988
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
35989
+ }
35990
+ },
35991
+ {
35992
+ "name": "data-aria-label",
35993
+ "type": {
35994
+ "text": "string | null"
35995
+ },
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",
35999
+ "inheritedFrom": {
36000
+ "name": "DataAriaLabelMixin",
36001
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
35874
36002
  }
35875
36003
  },
35876
36004
  {
@@ -36010,6 +36138,27 @@
36010
36138
  }
36011
36139
  }
36012
36140
  ],
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,
36013
36162
  "slots": [
36014
36163
  {
36015
36164
  "description": "Slot for the label element. If not provided, the `label` property will be used to render the label.",
@@ -36020,16 +36169,16 @@
36020
36169
  }
36021
36170
  },
36022
36171
  {
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",
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",
36025
36174
  "inheritedFrom": {
36026
36175
  "name": "FormfieldWrapper",
36027
36176
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36028
36177
  }
36029
36178
  },
36030
36179
  {
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",
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",
36033
36182
  "inheritedFrom": {
36034
36183
  "name": "FormfieldWrapper",
36035
36184
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
@@ -36051,40 +36200,40 @@
36051
36200
  "kind": "js",
36052
36201
  "name": "default",
36053
36202
  "declaration": {
36054
- "name": "Progressspinner",
36055
- "module": "components/progressspinner/progressspinner.component.js"
36203
+ "name": "Radio",
36204
+ "module": "components/radio/radio.component.js"
36056
36205
  }
36057
36206
  }
36058
36207
  ]
36059
36208
  },
36060
36209
  {
36061
36210
  "kind": "javascript-module",
36062
- "path": "components/radio/radio.component.js",
36211
+ "path": "components/progressspinner/progressspinner.component.js",
36063
36212
  "declarations": [
36064
36213
  {
36065
36214
  "kind": "class",
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",
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",
36068
36217
  "cssProperties": [
36069
36218
  {
36070
- "description": "size of the inner circle",
36071
- "name": "--mdc-radio-inner-circle-size"
36219
+ "description": "The size of the spinner.",
36220
+ "name": "--mdc-spinner-size"
36072
36221
  },
36073
36222
  {
36074
- "description": "size of the outer circle",
36075
- "name": "--mdc-radio-outer-circle-size"
36223
+ "description": "The color of the spinner track.",
36224
+ "name": "--mdc-track-color"
36076
36225
  },
36077
36226
  {
36078
- "description": "background color of the inner circle",
36079
- "name": "--mdc-radio-inner-circle-background-color"
36227
+ "description": "The color of the spinner progress.",
36228
+ "name": "--mdc-progress-color"
36080
36229
  },
36081
36230
  {
36082
- "description": "border color of the outer circle",
36083
- "name": "--mdc-radio-outer-circle-border-color"
36231
+ "description": "The color of the spinner when in success state.",
36232
+ "name": "--mdc-progress-success-color"
36084
36233
  },
36085
36234
  {
36086
- "description": "background color of the outer circle",
36087
- "name": "--mdc-radio-outer-circle-background-color"
36235
+ "description": "The color of the spinner when in error state.",
36236
+ "name": "--mdc-progress-error-color"
36088
36237
  },
36089
36238
  {
36090
36239
  "description": "Font size for the label text.",
@@ -36157,9 +36306,65 @@
36157
36306
  "name": "FormfieldWrapper",
36158
36307
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36159
36308
  }
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
+ }
36160
36341
  }
36161
36342
  ],
36162
36343
  "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
+ },
36163
36368
  {
36164
36369
  "description": "The label element.",
36165
36370
  "name": "label",
@@ -36177,209 +36382,110 @@
36177
36382
  }
36178
36383
  },
36179
36384
  {
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",
36385
+ "description": "The helper/validation text element.",
36386
+ "name": "help-text",
36182
36387
  "inheritedFrom": {
36183
36388
  "name": "FormfieldWrapper",
36184
36389
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36185
36390
  }
36186
36391
  },
36187
36392
  {
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",
36393
+ "description": "The container for the helper/validation icon and text elements.",
36394
+ "name": "help-text-container",
36190
36395
  "inheritedFrom": {
36191
36396
  "name": "FormfieldWrapper",
36192
36397
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36193
36398
  }
36194
36399
  },
36195
36400
  {
36196
- "description": "The toggletip element that is displayed when the info icon button is clicked.",
36197
- "name": "label-toggletip",
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",
36198
36403
  "inheritedFrom": {
36199
36404
  "name": "FormfieldWrapper",
36200
36405
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36201
36406
  }
36202
36407
  },
36203
36408
  {
36204
- "description": "The helper/validation text element.",
36205
- "name": "help-text",
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",
36206
36411
  "inheritedFrom": {
36207
36412
  "name": "FormfieldWrapper",
36208
36413
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36209
36414
  }
36210
36415
  },
36211
36416
  {
36212
- "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
36213
- "name": "helper-icon",
36417
+ "description": "The toggletip element that is displayed when the info icon button is clicked.",
36418
+ "name": "label-toggletip",
36214
36419
  "inheritedFrom": {
36215
36420
  "name": "FormfieldWrapper",
36216
36421
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36217
36422
  }
36218
36423
  },
36219
36424
  {
36220
- "description": "The container for the helper/validation icon and text elements.",
36221
- "name": "help-text-container",
36425
+ "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
36426
+ "name": "helper-icon",
36222
36427
  "inheritedFrom": {
36223
36428
  "name": "FormfieldWrapper",
36224
36429
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36225
36430
  }
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"
36234
36431
  }
36235
36432
  ],
36236
36433
  "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
- },
36248
- {
36249
- "kind": "method",
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)."
36258
- },
36259
36434
  {
36260
36435
  "kind": "method",
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",
36290
- "privacy": "private",
36291
- "return": {
36292
- "type": {
36293
- "text": "void"
36294
- }
36295
- },
36296
- "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
36297
- },
36298
- {
36299
- "kind": "method",
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."
36436
+ "name": "renderProgressSpinner",
36437
+ "privacy": "private"
36319
36438
  },
36320
36439
  {
36321
36440
  "kind": "method",
36322
- "name": "handleKeyDown",
36441
+ "name": "renderErrorState",
36323
36442
  "privacy": "private",
36443
+ "description": "Renders the error state of the progress spinner.",
36324
36444
  "return": {
36325
36445
  "type": {
36326
- "text": "void"
36327
- }
36328
- },
36329
- "parameters": [
36330
- {
36331
- "name": "event",
36332
- "type": {
36333
- "text": "KeyboardEvent"
36334
- }
36446
+ "text": ""
36335
36447
  }
36336
- ],
36337
- "description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
36448
+ }
36338
36449
  },
36339
36450
  {
36340
36451
  "kind": "method",
36341
- "name": "updateTabIndex",
36452
+ "name": "renderSuccessState",
36342
36453
  "privacy": "private",
36454
+ "description": "Renders the success state of the progress spinner.",
36343
36455
  "return": {
36344
36456
  "type": {
36345
- "text": "void"
36457
+ "text": ""
36346
36458
  }
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"
36349
- },
36350
- {
36351
- "kind": "field",
36352
- "name": "renderLabelAndHelperText",
36353
- "privacy": "private"
36459
+ }
36354
36460
  },
36355
36461
  {
36356
36462
  "kind": "field",
36357
- "name": "autoFocusOnMount",
36463
+ "name": "dataAriaLabel",
36358
36464
  "type": {
36359
- "text": "boolean"
36465
+ "text": "string | null"
36360
36466
  },
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",
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",
36364
36470
  "reflects": true,
36365
36471
  "inheritedFrom": {
36366
- "name": "AutoFocusOnMountMixin",
36367
- "module": "utils/mixins/AutoFocusOnMountMixin.js"
36472
+ "name": "DataAriaLabelMixin",
36473
+ "module": "utils/mixins/DataAriaLabelMixin.js"
36368
36474
  }
36369
36475
  },
36370
36476
  {
36371
36477
  "kind": "field",
36372
- "name": "name",
36478
+ "name": "variant",
36373
36479
  "type": {
36374
- "text": "string"
36480
+ "text": "Variant"
36375
36481
  },
36376
- "default": "''",
36377
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
36378
- "attribute": "name",
36482
+ "description": "Types of the progressbar\n- **Default**\n- **Inline**",
36483
+ "default": "default",
36484
+ "attribute": "variant",
36379
36485
  "reflects": true,
36380
36486
  "inheritedFrom": {
36381
- "name": "FormInternalsMixin",
36382
- "module": "utils/mixins/FormInternalsMixin.js"
36487
+ "name": "Progressbar",
36488
+ "module": "components/progressbar/progressbar.component.js"
36383
36489
  }
36384
36490
  },
36385
36491
  {
@@ -36388,98 +36494,42 @@
36388
36494
  "type": {
36389
36495
  "text": "string"
36390
36496
  },
36391
- "default": "''",
36392
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
36497
+ "default": "'0'",
36498
+ "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
36393
36499
  "attribute": "value",
36394
36500
  "reflects": true,
36395
36501
  "inheritedFrom": {
36396
- "name": "FormInternalsMixin",
36397
- "module": "utils/mixins/FormInternalsMixin.js"
36398
- }
36399
- },
36400
- {
36401
- "kind": "field",
36402
- "name": "validationMessage",
36403
- "type": {
36404
- "text": "string | undefined"
36405
- },
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,
36409
- "inheritedFrom": {
36410
- "name": "FormInternalsMixin",
36411
- "module": "utils/mixins/FormInternalsMixin.js"
36502
+ "name": "Progressbar",
36503
+ "module": "components/progressbar/progressbar.component.js"
36412
36504
  }
36413
36505
  },
36414
36506
  {
36415
36507
  "kind": "field",
36416
- "name": "validity",
36508
+ "name": "error",
36417
36509
  "type": {
36418
- "text": "ValidityState"
36510
+ "text": "boolean"
36419
36511
  },
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,
36512
+ "default": "false",
36513
+ "description": "Define error state of the progressbar\n- **true**\n- **false**",
36514
+ "attribute": "error",
36430
36515
  "inheritedFrom": {
36431
- "name": "FormInternalsMixin",
36432
- "module": "utils/mixins/FormInternalsMixin.js"
36516
+ "name": "Progressbar",
36517
+ "module": "components/progressbar/progressbar.component.js"
36433
36518
  }
36434
36519
  },
36435
36520
  {
36436
36521
  "kind": "method",
36437
- "name": "setValidity",
36438
- "description": "Sets the validity of the input field based on the input field's validity.",
36522
+ "name": "getValidationVariant",
36523
+ "privacy": "private",
36524
+ "description": "Determines the validation state (success, error, or default) based on progress value and error state.",
36439
36525
  "return": {
36440
36526
  "type": {
36441
36527
  "text": ""
36442
36528
  }
36443
36529
  },
36444
36530
  "inheritedFrom": {
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"
36531
+ "name": "Progressbar",
36532
+ "module": "components/progressbar/progressbar.component.js"
36483
36533
  }
36484
36534
  },
36485
36535
  {
@@ -36716,55 +36766,38 @@
36716
36766
  }
36717
36767
  }
36718
36768
  ],
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
- ],
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,
36734
36776
  "attributes": [
36735
36777
  {
36736
- "name": "checked",
36737
- "type": {
36738
- "text": "boolean"
36739
- },
36740
- "default": "false",
36741
- "description": "Determines whether the radio is selected or unselected.",
36742
- "fieldName": "checked"
36743
- },
36744
- {
36745
- "name": "auto-focus-on-mount",
36778
+ "name": "data-aria-label",
36746
36779
  "type": {
36747
- "text": "boolean"
36780
+ "text": "string | null"
36748
36781
  },
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",
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",
36752
36785
  "inheritedFrom": {
36753
- "name": "AutoFocusOnMountMixin",
36754
- "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
36786
+ "name": "DataAriaLabelMixin",
36787
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
36755
36788
  }
36756
36789
  },
36757
36790
  {
36758
- "name": "name",
36791
+ "name": "variant",
36759
36792
  "type": {
36760
- "text": "string"
36793
+ "text": "Variant"
36761
36794
  },
36762
- "default": "''",
36763
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
36764
- "fieldName": "name",
36795
+ "description": "Types of the progressbar\n- **Default**\n- **Inline**",
36796
+ "default": "default",
36797
+ "fieldName": "variant",
36765
36798
  "inheritedFrom": {
36766
- "name": "FormInternalsMixin",
36767
- "module": "src/utils/mixins/FormInternalsMixin.ts"
36799
+ "name": "Progressbar",
36800
+ "module": "src/components/progressbar/progressbar.component.ts"
36768
36801
  }
36769
36802
  },
36770
36803
  {
@@ -36772,37 +36805,25 @@
36772
36805
  "type": {
36773
36806
  "text": "string"
36774
36807
  },
36775
- "default": "''",
36776
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
36808
+ "default": "'0'",
36809
+ "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
36777
36810
  "fieldName": "value",
36778
36811
  "inheritedFrom": {
36779
- "name": "FormInternalsMixin",
36780
- "module": "src/utils/mixins/FormInternalsMixin.ts"
36781
- }
36782
- },
36783
- {
36784
- "name": "validation-message",
36785
- "type": {
36786
- "text": "string | undefined"
36787
- },
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",
36790
- "inheritedFrom": {
36791
- "name": "FormInternalsMixin",
36792
- "module": "src/utils/mixins/FormInternalsMixin.ts"
36812
+ "name": "Progressbar",
36813
+ "module": "src/components/progressbar/progressbar.component.ts"
36793
36814
  }
36794
36815
  },
36795
36816
  {
36796
- "name": "data-aria-label",
36817
+ "name": "error",
36797
36818
  "type": {
36798
- "text": "string | null"
36819
+ "text": "boolean"
36799
36820
  },
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",
36821
+ "default": "false",
36822
+ "description": "Define error state of the progressbar\n- **true**\n- **false**",
36823
+ "fieldName": "error",
36803
36824
  "inheritedFrom": {
36804
- "name": "DataAriaLabelMixin",
36805
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
36825
+ "name": "Progressbar",
36826
+ "module": "src/components/progressbar/progressbar.component.ts"
36806
36827
  }
36807
36828
  },
36808
36829
  {
@@ -36942,27 +36963,6 @@
36942
36963
  }
36943
36964
  }
36944
36965
  ],
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 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",
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",
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 helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.",
36985
- "name": "help-icon",
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",
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": "Radio",
37008
- "module": "components/radio/radio.component.js"
37007
+ "name": "Progressspinner",
37008
+ "module": "components/progressspinner/progressspinner.component.js"
37009
37009
  }
37010
37010
  }
37011
37011
  ]