@momentum-design/components 0.120.38 → 0.121.1

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",
@@ -31227,7 +31227,7 @@
31227
31227
  "declarations": [
31228
31228
  {
31229
31229
  "kind": "class",
31230
- "description": "`mdc-password` is a component that allows users to input their password.\n It extends the `mdc-input` component and provides additional features specific to password fields.\n It contains:\n- `label` field - describe the password field.\n- `password` field - contains the value\n- `help-text` or `validation-message` - displayed below the password field.\n- `help-text-type` - type of the help text, can be 'default', 'error', 'warning', 'success', 'priority'.\n- `show-hide-button-aria-label` - aria label for the trailing show/hide button.\n- all the attributes of the native password field.",
31230
+ "description": "`mdc-password` is a component that allows users to input their password.\n It extends the `mdc-input` component and provides additional features specific to password fields.\n It contains:\n- `label` field - describe the password field.\n- `password` field - contains the value\n- `help-text` or `validation-message` - displayed below the password field.\n- `help-text-type` - type of the help text, can be 'default', 'error', 'warning', 'success', 'priority'.\n- `show-button-aria-label` - aria label for the trailing show button.\n- `hide-button-aria-label` - aria label for the trailing hide button.\n- all the attributes of the native password field.",
31231
31231
  "name": "Password",
31232
31232
  "cssProperties": [
31233
31233
  {
@@ -31546,13 +31546,23 @@
31546
31546
  "members": [
31547
31547
  {
31548
31548
  "kind": "field",
31549
- "name": "showHideButtonAriaLabel",
31549
+ "name": "showButtonAriaLabel",
31550
31550
  "type": {
31551
31551
  "text": "string"
31552
31552
  },
31553
31553
  "default": "''",
31554
- "description": "Aria label for the show or hide password icon button.",
31555
- "attribute": "show-hide-button-aria-label"
31554
+ "description": "Aria label for the show password icon button.",
31555
+ "attribute": "show-button-aria-label"
31556
+ },
31557
+ {
31558
+ "kind": "field",
31559
+ "name": "hideButtonAriaLabel",
31560
+ "type": {
31561
+ "text": "string"
31562
+ },
31563
+ "default": "''",
31564
+ "description": "Aria label for the hide password icon button.",
31565
+ "attribute": "hide-button-aria-label"
31556
31566
  },
31557
31567
  {
31558
31568
  "kind": "field",
@@ -32343,13 +32353,22 @@
32343
32353
  ],
32344
32354
  "attributes": [
32345
32355
  {
32346
- "name": "show-hide-button-aria-label",
32356
+ "name": "show-button-aria-label",
32347
32357
  "type": {
32348
32358
  "text": "string"
32349
32359
  },
32350
32360
  "default": "''",
32351
- "description": "Aria label for the show or hide password icon button.",
32352
- "fieldName": "showHideButtonAriaLabel"
32361
+ "description": "Aria label for the show password icon button.",
32362
+ "fieldName": "showButtonAriaLabel"
32363
+ },
32364
+ {
32365
+ "name": "hide-button-aria-label",
32366
+ "type": {
32367
+ "text": "string"
32368
+ },
32369
+ "default": "''",
32370
+ "description": "Aria label for the hide password icon button.",
32371
+ "fieldName": "hideButtonAriaLabel"
32353
32372
  },
32354
32373
  {
32355
32374
  "name": "help-text-type",
@@ -32732,7 +32751,7 @@
32732
32751
  "module": "/src/components/input/input.component"
32733
32752
  },
32734
32753
  "tagName": "mdc-password",
32735
- "jsDoc": "/**\n * `mdc-password` is a component that allows users to input their password.\n * It extends the `mdc-input` component and provides additional features specific to password fields.\n * It contains:\n * - `label` field - describe the password field.\n * - `password` field - contains the value\n * - `help-text` or `validation-message` - displayed below the password field.\n * - `help-text-type` - type of the help text, can be 'default', 'error', 'warning', 'success', 'priority'.\n * - `show-hide-button-aria-label` - aria label for the trailing show/hide button.\n * - all the attributes of the native password field.\n *\n * @tagname mdc-password\n *\n * @event input - (React: onInput) This event is dispatched when the value of the password field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the password field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the password receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the password loses focus.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n * @dependency mdc-toggletip\n *\n * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.\n * @slot toggletip - 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.\n * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.\n * @slot help-text - Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.\n * @slot input - Slot for the input element. If not provided, the input field will be rendered.\n * @slot input-leading-icon - Slot for the leading icon before the input field. If not provided, the `leadingIcon` property will be used to render the leading icon.\n * @slot input-prefix-text - Slot for the prefix text before the input field. If not provided, the `prefixText` property will be used to render the prefix text.\n * @slot trailing-button - Slot for the trailing button to clear the input field. If not provided, the clear button will be rendered when `trailingButton` property is set to true.\n *\n * @csspart input-container - The container that wraps the input field, leading icon, prefix text, and trailing button.\n * @csspart input-section - The container that wraps the input field and prefix text.\n * @csspart input-text - The input field element.\n * @csspart trailing-button - The trailing button element.\n * @csspart label - The label element.\n * @csspart helper-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element.\n * @csspart toggletip - The toggletip icon button element.\n * @csspart toggletip-text - The toggletip text element.\n *\n * @cssproperty --mdc-label-font-size - Font size for the label text.\n * @cssproperty --mdc-label-font-weight - Font weight for the label text.\n * @cssproperty --mdc-label-line-height - Line height for the label text.\n * @cssproperty --mdc-label-color - Color for the label text.\n * @cssproperty --mdc-help-text-font-size - Font size for the help text.\n * @cssproperty --mdc-help-text-font-weight - Font weight for the help text.\n * @cssproperty --mdc-help-text-line-height - Line height for the help text.\n * @cssproperty --mdc-help-text-color - Color for the help text.\n * @cssproperty --mdc-required-indicator-color - Color for the required indicator text.\n * @cssproperty --mdc-input-text-color - Text color for the input field\n * @cssproperty --mdc-input-border-color - Border color for the input container\n * @cssproperty --mdc-input-background-color - Background color for the input field\n * @cssproperty --mdc-input-selection-text-color - Text color for the selected text\n * @cssproperty --mdc-input-selection-background-color - Background color for the selected text\n *\n */",
32754
+ "jsDoc": "/**\n * `mdc-password` is a component that allows users to input their password.\n * It extends the `mdc-input` component and provides additional features specific to password fields.\n * It contains:\n * - `label` field - describe the password field.\n * - `password` field - contains the value\n * - `help-text` or `validation-message` - displayed below the password field.\n * - `help-text-type` - type of the help text, can be 'default', 'error', 'warning', 'success', 'priority'.\n * - `show-button-aria-label` - aria label for the trailing show button.\n * - `hide-button-aria-label` - aria label for the trailing hide button.\n * - all the attributes of the native password field.\n *\n * @tagname mdc-password\n *\n * @event input - (React: onInput) This event is dispatched when the value of the password field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the password field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the password receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the password loses focus.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n * @dependency mdc-toggletip\n *\n * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.\n * @slot toggletip - 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.\n * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.\n * @slot help-text - Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.\n * @slot input - Slot for the input element. If not provided, the input field will be rendered.\n * @slot input-leading-icon - Slot for the leading icon before the input field. If not provided, the `leadingIcon` property will be used to render the leading icon.\n * @slot input-prefix-text - Slot for the prefix text before the input field. If not provided, the `prefixText` property will be used to render the prefix text.\n * @slot trailing-button - Slot for the trailing button to clear the input field. If not provided, the clear button will be rendered when `trailingButton` property is set to true.\n *\n * @csspart input-container - The container that wraps the input field, leading icon, prefix text, and trailing button.\n * @csspart input-section - The container that wraps the input field and prefix text.\n * @csspart input-text - The input field element.\n * @csspart trailing-button - The trailing button element.\n * @csspart label - The label element.\n * @csspart helper-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element.\n * @csspart toggletip - The toggletip icon button element.\n * @csspart toggletip-text - The toggletip text element.\n *\n * @cssproperty --mdc-label-font-size - Font size for the label text.\n * @cssproperty --mdc-label-font-weight - Font weight for the label text.\n * @cssproperty --mdc-label-line-height - Line height for the label text.\n * @cssproperty --mdc-label-color - Color for the label text.\n * @cssproperty --mdc-help-text-font-size - Font size for the help text.\n * @cssproperty --mdc-help-text-font-weight - Font weight for the help text.\n * @cssproperty --mdc-help-text-line-height - Line height for the help text.\n * @cssproperty --mdc-help-text-color - Color for the help text.\n * @cssproperty --mdc-required-indicator-color - Color for the required indicator text.\n * @cssproperty --mdc-input-text-color - Text color for the input field\n * @cssproperty --mdc-input-border-color - Border color for the input container\n * @cssproperty --mdc-input-background-color - Background color for the input field\n * @cssproperty --mdc-input-selection-text-color - Text color for the selected text\n * @cssproperty --mdc-input-selection-background-color - Background color for the selected text\n *\n */",
32736
32755
  "customElement": true
32737
32756
  }
32738
32757
  ],
@@ -35255,32 +35274,32 @@
35255
35274
  },
35256
35275
  {
35257
35276
  "kind": "javascript-module",
35258
- "path": "components/radio/radio.component.js",
35277
+ "path": "components/progressspinner/progressspinner.component.js",
35259
35278
  "declarations": [
35260
35279
  {
35261
35280
  "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",
35281
+ "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.",
35282
+ "name": "Progressspinner",
35264
35283
  "cssProperties": [
35265
35284
  {
35266
- "description": "size of the inner circle",
35267
- "name": "--mdc-radio-inner-circle-size"
35285
+ "description": "The size of the spinner.",
35286
+ "name": "--mdc-spinner-size"
35268
35287
  },
35269
35288
  {
35270
- "description": "size of the outer circle",
35271
- "name": "--mdc-radio-outer-circle-size"
35289
+ "description": "The color of the spinner track.",
35290
+ "name": "--mdc-track-color"
35272
35291
  },
35273
35292
  {
35274
- "description": "background color of the inner circle",
35275
- "name": "--mdc-radio-inner-circle-background-color"
35293
+ "description": "The color of the spinner progress.",
35294
+ "name": "--mdc-progress-color"
35276
35295
  },
35277
35296
  {
35278
- "description": "border color of the outer circle",
35279
- "name": "--mdc-radio-outer-circle-border-color"
35297
+ "description": "The color of the spinner when in success state.",
35298
+ "name": "--mdc-progress-success-color"
35280
35299
  },
35281
35300
  {
35282
- "description": "background color of the outer circle",
35283
- "name": "--mdc-radio-outer-circle-background-color"
35301
+ "description": "The color of the spinner when in error state.",
35302
+ "name": "--mdc-progress-error-color"
35284
35303
  },
35285
35304
  {
35286
35305
  "description": "Font size for the label text.",
@@ -35353,9 +35372,65 @@
35353
35372
  "name": "FormfieldWrapper",
35354
35373
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35355
35374
  }
35375
+ },
35376
+ {
35377
+ "description": "Background color of the remaining progressbar portion.",
35378
+ "name": "--mdc-progressbar-background-color",
35379
+ "inheritedFrom": {
35380
+ "name": "Progressbar",
35381
+ "module": "src/components/progressbar/progressbar.component.ts"
35382
+ }
35383
+ },
35384
+ {
35385
+ "description": "Background color of the elapsed progressbar portion.",
35386
+ "name": "--mdc-progressbar-progress-background-color",
35387
+ "inheritedFrom": {
35388
+ "name": "Progressbar",
35389
+ "module": "src/components/progressbar/progressbar.component.ts"
35390
+ }
35391
+ },
35392
+ {
35393
+ "description": "The height of the progressbar.",
35394
+ "name": "--mdc-progressbar-height",
35395
+ "inheritedFrom": {
35396
+ "name": "Progressbar",
35397
+ "module": "src/components/progressbar/progressbar.component.ts"
35398
+ }
35399
+ },
35400
+ {
35401
+ "description": "The border radius of the progressbar.",
35402
+ "name": "--mdc-progressbar-border-radius",
35403
+ "inheritedFrom": {
35404
+ "name": "Progressbar",
35405
+ "module": "src/components/progressbar/progressbar.component.ts"
35406
+ }
35356
35407
  }
35357
35408
  ],
35358
35409
  "cssParts": [
35410
+ {
35411
+ "description": "The error icon of the progressspinner.",
35412
+ "name": "error-icon"
35413
+ },
35414
+ {
35415
+ "description": "The base of the progressspinner.",
35416
+ "name": "spinner-base"
35417
+ },
35418
+ {
35419
+ "description": "The container of the progressspinner.",
35420
+ "name": "spinner-container"
35421
+ },
35422
+ {
35423
+ "description": "The progress of the progressspinner.",
35424
+ "name": "spinner-progress"
35425
+ },
35426
+ {
35427
+ "description": "The track of the progressspinner.",
35428
+ "name": "spinner-track"
35429
+ },
35430
+ {
35431
+ "description": "The success icon of the progressspinner.",
35432
+ "name": "success-icon"
35433
+ },
35359
35434
  {
35360
35435
  "description": "The label element.",
35361
35436
  "name": "label",
@@ -35373,209 +35448,110 @@
35373
35448
  }
35374
35449
  },
35375
35450
  {
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",
35451
+ "description": "The helper/validation text element.",
35452
+ "name": "help-text",
35378
35453
  "inheritedFrom": {
35379
35454
  "name": "FormfieldWrapper",
35380
35455
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35381
35456
  }
35382
35457
  },
35383
35458
  {
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",
35459
+ "description": "The container for the helper/validation icon and text elements.",
35460
+ "name": "help-text-container",
35386
35461
  "inheritedFrom": {
35387
35462
  "name": "FormfieldWrapper",
35388
35463
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35389
35464
  }
35390
35465
  },
35391
35466
  {
35392
- "description": "The toggletip element that is displayed when the info icon button is clicked.",
35393
- "name": "label-toggletip",
35467
+ "description": "The required indicator element that is displayed next to the label when the `required` property is set to true.",
35468
+ "name": "required-indicator",
35394
35469
  "inheritedFrom": {
35395
35470
  "name": "FormfieldWrapper",
35396
35471
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35397
35472
  }
35398
35473
  },
35399
35474
  {
35400
- "description": "The helper/validation text element.",
35401
- "name": "help-text",
35475
+ "description": "The info icon button element that is displayed next to the label when the `toggletip-text` property is set.",
35476
+ "name": "info-icon-btn",
35402
35477
  "inheritedFrom": {
35403
35478
  "name": "FormfieldWrapper",
35404
35479
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35405
35480
  }
35406
35481
  },
35407
35482
  {
35408
- "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
35409
- "name": "helper-icon",
35483
+ "description": "The toggletip element that is displayed when the info icon button is clicked.",
35484
+ "name": "label-toggletip",
35410
35485
  "inheritedFrom": {
35411
35486
  "name": "FormfieldWrapper",
35412
35487
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35413
35488
  }
35414
35489
  },
35415
35490
  {
35416
- "description": "The container for the helper/validation icon and text elements.",
35417
- "name": "help-text-container",
35491
+ "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
35492
+ "name": "helper-icon",
35418
35493
  "inheritedFrom": {
35419
35494
  "name": "FormfieldWrapper",
35420
35495
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
35421
35496
  }
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
35497
  }
35431
35498
  ],
35432
35499
  "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
- {
35456
- "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
35500
  {
35484
35501
  "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."
35502
+ "name": "renderProgressSpinner",
35503
+ "privacy": "private"
35515
35504
  },
35516
35505
  {
35517
35506
  "kind": "method",
35518
- "name": "handleKeyDown",
35507
+ "name": "renderErrorState",
35519
35508
  "privacy": "private",
35509
+ "description": "Renders the error state of the progress spinner.",
35520
35510
  "return": {
35521
35511
  "type": {
35522
- "text": "void"
35523
- }
35524
- },
35525
- "parameters": [
35526
- {
35527
- "name": "event",
35528
- "type": {
35529
- "text": "KeyboardEvent"
35530
- }
35512
+ "text": ""
35531
35513
  }
35532
- ],
35533
- "description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
35514
+ }
35534
35515
  },
35535
35516
  {
35536
35517
  "kind": "method",
35537
- "name": "updateTabIndex",
35518
+ "name": "renderSuccessState",
35538
35519
  "privacy": "private",
35520
+ "description": "Renders the success state of the progress spinner.",
35539
35521
  "return": {
35540
35522
  "type": {
35541
- "text": "void"
35523
+ "text": ""
35542
35524
  }
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"
35525
+ }
35550
35526
  },
35551
35527
  {
35552
35528
  "kind": "field",
35553
- "name": "autoFocusOnMount",
35529
+ "name": "dataAriaLabel",
35554
35530
  "type": {
35555
- "text": "boolean"
35531
+ "text": "string | null"
35556
35532
  },
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",
35533
+ "default": "null",
35534
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
35535
+ "attribute": "data-aria-label",
35560
35536
  "reflects": true,
35561
35537
  "inheritedFrom": {
35562
- "name": "AutoFocusOnMountMixin",
35563
- "module": "utils/mixins/AutoFocusOnMountMixin.js"
35538
+ "name": "DataAriaLabelMixin",
35539
+ "module": "utils/mixins/DataAriaLabelMixin.js"
35564
35540
  }
35565
35541
  },
35566
35542
  {
35567
35543
  "kind": "field",
35568
- "name": "name",
35544
+ "name": "variant",
35569
35545
  "type": {
35570
- "text": "string"
35546
+ "text": "Variant"
35571
35547
  },
35572
- "default": "''",
35573
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
35574
- "attribute": "name",
35548
+ "description": "Types of the progressbar\n- **Default**\n- **Inline**",
35549
+ "default": "default",
35550
+ "attribute": "variant",
35575
35551
  "reflects": true,
35576
35552
  "inheritedFrom": {
35577
- "name": "FormInternalsMixin",
35578
- "module": "utils/mixins/FormInternalsMixin.js"
35553
+ "name": "Progressbar",
35554
+ "module": "components/progressbar/progressbar.component.js"
35579
35555
  }
35580
35556
  },
35581
35557
  {
@@ -35584,98 +35560,42 @@
35584
35560
  "type": {
35585
35561
  "text": "string"
35586
35562
  },
35587
- "default": "''",
35588
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
35563
+ "default": "'0'",
35564
+ "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
35589
35565
  "attribute": "value",
35590
35566
  "reflects": true,
35591
35567
  "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"
35568
+ "name": "Progressbar",
35569
+ "module": "components/progressbar/progressbar.component.js"
35608
35570
  }
35609
35571
  },
35610
35572
  {
35611
35573
  "kind": "field",
35612
- "name": "validity",
35574
+ "name": "error",
35613
35575
  "type": {
35614
- "text": "ValidityState"
35576
+ "text": "boolean"
35615
35577
  },
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,
35578
+ "default": "false",
35579
+ "description": "Define error state of the progressbar\n- **true**\n- **false**",
35580
+ "attribute": "error",
35626
35581
  "inheritedFrom": {
35627
- "name": "FormInternalsMixin",
35628
- "module": "utils/mixins/FormInternalsMixin.js"
35582
+ "name": "Progressbar",
35583
+ "module": "components/progressbar/progressbar.component.js"
35629
35584
  }
35630
35585
  },
35631
35586
  {
35632
35587
  "kind": "method",
35633
- "name": "setValidity",
35634
- "description": "Sets the validity of the input field based on the input field's validity.",
35588
+ "name": "getValidationVariant",
35589
+ "privacy": "private",
35590
+ "description": "Determines the validation state (success, error, or default) based on progress value and error state.",
35635
35591
  "return": {
35636
35592
  "type": {
35637
35593
  "text": ""
35638
35594
  }
35639
35595
  },
35640
35596
  "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"
35597
+ "name": "Progressbar",
35598
+ "module": "components/progressbar/progressbar.component.js"
35679
35599
  }
35680
35600
  },
35681
35601
  {
@@ -35912,55 +35832,38 @@
35912
35832
  }
35913
35833
  }
35914
35834
  ],
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
- ],
35835
+ "superclass": {
35836
+ "name": "Progressbar",
35837
+ "module": "/src/components/progressbar/progressbar.component"
35838
+ },
35839
+ "tagName": "mdc-progressspinner",
35840
+ "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 */",
35841
+ "customElement": true,
35930
35842
  "attributes": [
35931
35843
  {
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",
35844
+ "name": "data-aria-label",
35942
35845
  "type": {
35943
- "text": "boolean"
35846
+ "text": "string | null"
35944
35847
  },
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",
35848
+ "default": "null",
35849
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
35850
+ "fieldName": "dataAriaLabel",
35948
35851
  "inheritedFrom": {
35949
- "name": "AutoFocusOnMountMixin",
35950
- "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
35852
+ "name": "DataAriaLabelMixin",
35853
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
35951
35854
  }
35952
35855
  },
35953
35856
  {
35954
- "name": "name",
35857
+ "name": "variant",
35955
35858
  "type": {
35956
- "text": "string"
35859
+ "text": "Variant"
35957
35860
  },
35958
- "default": "''",
35959
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
35960
- "fieldName": "name",
35861
+ "description": "Types of the progressbar\n- **Default**\n- **Inline**",
35862
+ "default": "default",
35863
+ "fieldName": "variant",
35961
35864
  "inheritedFrom": {
35962
- "name": "FormInternalsMixin",
35963
- "module": "src/utils/mixins/FormInternalsMixin.ts"
35865
+ "name": "Progressbar",
35866
+ "module": "src/components/progressbar/progressbar.component.ts"
35964
35867
  }
35965
35868
  },
35966
35869
  {
@@ -35968,37 +35871,25 @@
35968
35871
  "type": {
35969
35872
  "text": "string"
35970
35873
  },
35971
- "default": "''",
35972
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
35874
+ "default": "'0'",
35875
+ "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
35973
35876
  "fieldName": "value",
35974
35877
  "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"
35878
+ "name": "Progressbar",
35879
+ "module": "src/components/progressbar/progressbar.component.ts"
35989
35880
  }
35990
35881
  },
35991
35882
  {
35992
- "name": "data-aria-label",
35883
+ "name": "error",
35993
35884
  "type": {
35994
- "text": "string | null"
35885
+ "text": "boolean"
35995
35886
  },
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",
35887
+ "default": "false",
35888
+ "description": "Define error state of the progressbar\n- **true**\n- **false**",
35889
+ "fieldName": "error",
35999
35890
  "inheritedFrom": {
36000
- "name": "DataAriaLabelMixin",
36001
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
35891
+ "name": "Progressbar",
35892
+ "module": "src/components/progressbar/progressbar.component.ts"
36002
35893
  }
36003
35894
  },
36004
35895
  {
@@ -36138,27 +36029,6 @@
36138
36029
  }
36139
36030
  }
36140
36031
  ],
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
36032
  "slots": [
36163
36033
  {
36164
36034
  "description": "Slot for the label element. If not provided, the `label` property will be used to render the label.",
@@ -36169,16 +36039,16 @@
36169
36039
  }
36170
36040
  },
36171
36041
  {
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",
36042
+ "description": "Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.",
36043
+ "name": "help-icon",
36174
36044
  "inheritedFrom": {
36175
36045
  "name": "FormfieldWrapper",
36176
36046
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36177
36047
  }
36178
36048
  },
36179
36049
  {
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",
36050
+ "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.",
36051
+ "name": "toggletip",
36182
36052
  "inheritedFrom": {
36183
36053
  "name": "FormfieldWrapper",
36184
36054
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
@@ -36200,40 +36070,40 @@
36200
36070
  "kind": "js",
36201
36071
  "name": "default",
36202
36072
  "declaration": {
36203
- "name": "Radio",
36204
- "module": "components/radio/radio.component.js"
36073
+ "name": "Progressspinner",
36074
+ "module": "components/progressspinner/progressspinner.component.js"
36205
36075
  }
36206
36076
  }
36207
36077
  ]
36208
36078
  },
36209
36079
  {
36210
36080
  "kind": "javascript-module",
36211
- "path": "components/progressspinner/progressspinner.component.js",
36081
+ "path": "components/radio/radio.component.js",
36212
36082
  "declarations": [
36213
36083
  {
36214
36084
  "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",
36085
+ "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.",
36086
+ "name": "Radio",
36217
36087
  "cssProperties": [
36218
36088
  {
36219
- "description": "The size of the spinner.",
36220
- "name": "--mdc-spinner-size"
36089
+ "description": "size of the inner circle",
36090
+ "name": "--mdc-radio-inner-circle-size"
36221
36091
  },
36222
36092
  {
36223
- "description": "The color of the spinner track.",
36224
- "name": "--mdc-track-color"
36093
+ "description": "size of the outer circle",
36094
+ "name": "--mdc-radio-outer-circle-size"
36225
36095
  },
36226
36096
  {
36227
- "description": "The color of the spinner progress.",
36228
- "name": "--mdc-progress-color"
36097
+ "description": "background color of the inner circle",
36098
+ "name": "--mdc-radio-inner-circle-background-color"
36229
36099
  },
36230
36100
  {
36231
- "description": "The color of the spinner when in success state.",
36232
- "name": "--mdc-progress-success-color"
36101
+ "description": "border color of the outer circle",
36102
+ "name": "--mdc-radio-outer-circle-border-color"
36233
36103
  },
36234
36104
  {
36235
- "description": "The color of the spinner when in error state.",
36236
- "name": "--mdc-progress-error-color"
36105
+ "description": "background color of the outer circle",
36106
+ "name": "--mdc-radio-outer-circle-background-color"
36237
36107
  },
36238
36108
  {
36239
36109
  "description": "Font size for the label text.",
@@ -36306,65 +36176,9 @@
36306
36176
  "name": "FormfieldWrapper",
36307
36177
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36308
36178
  }
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
36179
  }
36342
36180
  ],
36343
36181
  "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
36182
  {
36369
36183
  "description": "The label element.",
36370
36184
  "name": "label",
@@ -36382,110 +36196,209 @@
36382
36196
  }
36383
36197
  },
36384
36198
  {
36385
- "description": "The helper/validation text element.",
36386
- "name": "help-text",
36199
+ "description": "The required indicator element that is displayed next to the label when the `required` property is set to true.",
36200
+ "name": "required-indicator",
36387
36201
  "inheritedFrom": {
36388
36202
  "name": "FormfieldWrapper",
36389
36203
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36390
36204
  }
36391
36205
  },
36392
36206
  {
36393
- "description": "The container for the helper/validation icon and text elements.",
36394
- "name": "help-text-container",
36207
+ "description": "The info icon button element that is displayed next to the label when the `toggletip-text` property is set.",
36208
+ "name": "info-icon-btn",
36395
36209
  "inheritedFrom": {
36396
36210
  "name": "FormfieldWrapper",
36397
36211
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36398
36212
  }
36399
36213
  },
36400
36214
  {
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",
36215
+ "description": "The toggletip element that is displayed when the info icon button is clicked.",
36216
+ "name": "label-toggletip",
36403
36217
  "inheritedFrom": {
36404
36218
  "name": "FormfieldWrapper",
36405
36219
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36406
36220
  }
36407
36221
  },
36408
36222
  {
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",
36223
+ "description": "The helper/validation text element.",
36224
+ "name": "help-text",
36411
36225
  "inheritedFrom": {
36412
36226
  "name": "FormfieldWrapper",
36413
36227
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36414
36228
  }
36415
36229
  },
36416
36230
  {
36417
- "description": "The toggletip element that is displayed when the info icon button is clicked.",
36418
- "name": "label-toggletip",
36231
+ "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
36232
+ "name": "helper-icon",
36419
36233
  "inheritedFrom": {
36420
36234
  "name": "FormfieldWrapper",
36421
36235
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36422
36236
  }
36423
36237
  },
36424
36238
  {
36425
- "description": "The helper/validation icon element that is displayed next to the helper/validation text.",
36426
- "name": "helper-icon",
36239
+ "description": "The container for the helper/validation icon and text elements.",
36240
+ "name": "help-text-container",
36427
36241
  "inheritedFrom": {
36428
36242
  "name": "FormfieldWrapper",
36429
36243
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36430
36244
  }
36245
+ },
36246
+ {
36247
+ "description": "The native radio input element.",
36248
+ "name": "radio-input"
36249
+ },
36250
+ {
36251
+ "description": "The container for the label and helper text elements.",
36252
+ "name": "text-container"
36431
36253
  }
36432
36254
  ],
36433
36255
  "members": [
36256
+ {
36257
+ "kind": "field",
36258
+ "name": "checked",
36259
+ "type": {
36260
+ "text": "boolean"
36261
+ },
36262
+ "default": "false",
36263
+ "description": "Determines whether the radio is selected or unselected.",
36264
+ "attribute": "checked",
36265
+ "reflects": true
36266
+ },
36434
36267
  {
36435
36268
  "kind": "method",
36436
- "name": "renderProgressSpinner",
36437
- "privacy": "private"
36269
+ "name": "getAllRadiosWithinSameGroup",
36270
+ "privacy": "private",
36271
+ "return": {
36272
+ "type": {
36273
+ "text": "Radio[]"
36274
+ }
36275
+ },
36276
+ "description": "Returns all radios within the same group (name)."
36438
36277
  },
36439
36278
  {
36440
36279
  "kind": "method",
36441
- "name": "renderErrorState",
36280
+ "name": "setGroupValidity",
36281
+ "privacy": "private",
36282
+ "parameters": [
36283
+ {
36284
+ "name": "radios",
36285
+ "type": {
36286
+ "text": "Radio[]"
36287
+ },
36288
+ "description": "Array of radios of the same group"
36289
+ },
36290
+ {
36291
+ "name": "isValid",
36292
+ "type": {
36293
+ "text": "boolean"
36294
+ },
36295
+ "description": "Boolean value to set the validity of the group"
36296
+ }
36297
+ ],
36298
+ "description": "Sets the validity of the group of radios."
36299
+ },
36300
+ {
36301
+ "kind": "method",
36302
+ "name": "setActualFormValue",
36303
+ "privacy": "private",
36304
+ "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."
36305
+ },
36306
+ {
36307
+ "kind": "method",
36308
+ "name": "handleChange",
36442
36309
  "privacy": "private",
36443
- "description": "Renders the error state of the progress spinner.",
36444
36310
  "return": {
36445
36311
  "type": {
36446
- "text": ""
36312
+ "text": "void"
36447
36313
  }
36448
- }
36314
+ },
36315
+ "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
36449
36316
  },
36450
36317
  {
36451
36318
  "kind": "method",
36452
- "name": "renderSuccessState",
36319
+ "name": "updateRadio",
36320
+ "privacy": "private",
36321
+ "parameters": [
36322
+ {
36323
+ "name": "enabledRadios",
36324
+ "type": {
36325
+ "text": "Radio[]"
36326
+ },
36327
+ "description": "An array of enabled radio buttons within the same group."
36328
+ },
36329
+ {
36330
+ "name": "index",
36331
+ "type": {
36332
+ "text": "number"
36333
+ },
36334
+ "description": "The index of the radio button to be updated within the enabled radios array."
36335
+ }
36336
+ ],
36337
+ "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."
36338
+ },
36339
+ {
36340
+ "kind": "method",
36341
+ "name": "handleKeyDown",
36453
36342
  "privacy": "private",
36454
- "description": "Renders the success state of the progress spinner.",
36455
36343
  "return": {
36456
36344
  "type": {
36457
- "text": ""
36345
+ "text": "void"
36458
36346
  }
36459
- }
36347
+ },
36348
+ "parameters": [
36349
+ {
36350
+ "name": "event",
36351
+ "type": {
36352
+ "text": "KeyboardEvent"
36353
+ }
36354
+ }
36355
+ ],
36356
+ "description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
36357
+ },
36358
+ {
36359
+ "kind": "method",
36360
+ "name": "updateTabIndex",
36361
+ "privacy": "private",
36362
+ "return": {
36363
+ "type": {
36364
+ "text": "void"
36365
+ }
36366
+ },
36367
+ "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
36368
  },
36461
36369
  {
36462
36370
  "kind": "field",
36463
- "name": "dataAriaLabel",
36371
+ "name": "renderLabelAndHelperText",
36372
+ "privacy": "private"
36373
+ },
36374
+ {
36375
+ "kind": "field",
36376
+ "name": "autoFocusOnMount",
36464
36377
  "type": {
36465
- "text": "string | null"
36378
+ "text": "boolean"
36466
36379
  },
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",
36380
+ "default": "false",
36381
+ "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.",
36382
+ "attribute": "auto-focus-on-mount",
36470
36383
  "reflects": true,
36471
36384
  "inheritedFrom": {
36472
- "name": "DataAriaLabelMixin",
36473
- "module": "utils/mixins/DataAriaLabelMixin.js"
36385
+ "name": "AutoFocusOnMountMixin",
36386
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
36474
36387
  }
36475
36388
  },
36476
36389
  {
36477
36390
  "kind": "field",
36478
- "name": "variant",
36391
+ "name": "name",
36479
36392
  "type": {
36480
- "text": "Variant"
36393
+ "text": "string"
36481
36394
  },
36482
- "description": "Types of the progressbar\n- **Default**\n- **Inline**",
36483
- "default": "default",
36484
- "attribute": "variant",
36395
+ "default": "''",
36396
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
36397
+ "attribute": "name",
36485
36398
  "reflects": true,
36486
36399
  "inheritedFrom": {
36487
- "name": "Progressbar",
36488
- "module": "components/progressbar/progressbar.component.js"
36400
+ "name": "FormInternalsMixin",
36401
+ "module": "utils/mixins/FormInternalsMixin.js"
36489
36402
  }
36490
36403
  },
36491
36404
  {
@@ -36494,42 +36407,98 @@
36494
36407
  "type": {
36495
36408
  "text": "string"
36496
36409
  },
36497
- "default": "'0'",
36498
- "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
36410
+ "default": "''",
36411
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
36499
36412
  "attribute": "value",
36500
36413
  "reflects": true,
36501
36414
  "inheritedFrom": {
36502
- "name": "Progressbar",
36503
- "module": "components/progressbar/progressbar.component.js"
36415
+ "name": "FormInternalsMixin",
36416
+ "module": "utils/mixins/FormInternalsMixin.js"
36504
36417
  }
36505
36418
  },
36506
36419
  {
36507
36420
  "kind": "field",
36508
- "name": "error",
36421
+ "name": "validationMessage",
36509
36422
  "type": {
36510
- "text": "boolean"
36423
+ "text": "string | undefined"
36511
36424
  },
36512
- "default": "false",
36513
- "description": "Define error state of the progressbar\n- **true**\n- **false**",
36514
- "attribute": "error",
36425
+ "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.",
36426
+ "attribute": "validation-message",
36427
+ "reflects": true,
36515
36428
  "inheritedFrom": {
36516
- "name": "Progressbar",
36517
- "module": "components/progressbar/progressbar.component.js"
36429
+ "name": "FormInternalsMixin",
36430
+ "module": "utils/mixins/FormInternalsMixin.js"
36431
+ }
36432
+ },
36433
+ {
36434
+ "kind": "field",
36435
+ "name": "validity",
36436
+ "type": {
36437
+ "text": "ValidityState"
36438
+ },
36439
+ "readonly": true,
36440
+ "inheritedFrom": {
36441
+ "name": "FormInternalsMixin",
36442
+ "module": "utils/mixins/FormInternalsMixin.js"
36443
+ }
36444
+ },
36445
+ {
36446
+ "kind": "field",
36447
+ "name": "willValidate",
36448
+ "readonly": true,
36449
+ "inheritedFrom": {
36450
+ "name": "FormInternalsMixin",
36451
+ "module": "utils/mixins/FormInternalsMixin.js"
36518
36452
  }
36519
36453
  },
36520
36454
  {
36521
36455
  "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.",
36456
+ "name": "setValidity",
36457
+ "description": "Sets the validity of the input field based on the input field's validity.",
36525
36458
  "return": {
36526
36459
  "type": {
36527
36460
  "text": ""
36528
36461
  }
36529
36462
  },
36530
36463
  "inheritedFrom": {
36531
- "name": "Progressbar",
36532
- "module": "components/progressbar/progressbar.component.js"
36464
+ "name": "FormInternalsMixin",
36465
+ "module": "utils/mixins/FormInternalsMixin.js"
36466
+ }
36467
+ },
36468
+ {
36469
+ "kind": "method",
36470
+ "name": "checkValidity",
36471
+ "return": {
36472
+ "type": {
36473
+ "text": "boolean"
36474
+ }
36475
+ },
36476
+ "inheritedFrom": {
36477
+ "name": "FormInternalsMixin",
36478
+ "module": "utils/mixins/FormInternalsMixin.js"
36479
+ }
36480
+ },
36481
+ {
36482
+ "kind": "method",
36483
+ "name": "reportValidity",
36484
+ "inheritedFrom": {
36485
+ "name": "FormInternalsMixin",
36486
+ "module": "utils/mixins/FormInternalsMixin.js"
36487
+ }
36488
+ },
36489
+ {
36490
+ "kind": "field",
36491
+ "name": "dataAriaLabel",
36492
+ "type": {
36493
+ "text": "string | null"
36494
+ },
36495
+ "default": "null",
36496
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
36497
+ "attribute": "data-aria-label",
36498
+ "reflects": true,
36499
+ "inheritedFrom": {
36500
+ "name": "DataAriaLabelMixin",
36501
+ "module": "utils/mixins/DataAriaLabelMixin.js"
36533
36502
  }
36534
36503
  },
36535
36504
  {
@@ -36766,38 +36735,55 @@
36766
36735
  }
36767
36736
  }
36768
36737
  ],
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,
36738
+ "events": [
36739
+ {
36740
+ "name": "change",
36741
+ "type": {
36742
+ "text": "Event"
36743
+ },
36744
+ "description": "(React: onChange) Event that gets dispatched when the radio state changes.",
36745
+ "reactName": "onChange"
36746
+ },
36747
+ {
36748
+ "description": "(React: onFocus) Event that gets dispatched when the radio receives focus.",
36749
+ "name": "focus",
36750
+ "reactName": "onFocus"
36751
+ }
36752
+ ],
36776
36753
  "attributes": [
36777
36754
  {
36778
- "name": "data-aria-label",
36755
+ "name": "checked",
36779
36756
  "type": {
36780
- "text": "string | null"
36757
+ "text": "boolean"
36781
36758
  },
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",
36759
+ "default": "false",
36760
+ "description": "Determines whether the radio is selected or unselected.",
36761
+ "fieldName": "checked"
36762
+ },
36763
+ {
36764
+ "name": "auto-focus-on-mount",
36765
+ "type": {
36766
+ "text": "boolean"
36767
+ },
36768
+ "default": "false",
36769
+ "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.",
36770
+ "fieldName": "autoFocusOnMount",
36785
36771
  "inheritedFrom": {
36786
- "name": "DataAriaLabelMixin",
36787
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
36772
+ "name": "AutoFocusOnMountMixin",
36773
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
36788
36774
  }
36789
36775
  },
36790
36776
  {
36791
- "name": "variant",
36777
+ "name": "name",
36792
36778
  "type": {
36793
- "text": "Variant"
36779
+ "text": "string"
36794
36780
  },
36795
- "description": "Types of the progressbar\n- **Default**\n- **Inline**",
36796
- "default": "default",
36797
- "fieldName": "variant",
36781
+ "default": "''",
36782
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
36783
+ "fieldName": "name",
36798
36784
  "inheritedFrom": {
36799
- "name": "Progressbar",
36800
- "module": "src/components/progressbar/progressbar.component.ts"
36785
+ "name": "FormInternalsMixin",
36786
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
36801
36787
  }
36802
36788
  },
36803
36789
  {
@@ -36805,25 +36791,37 @@
36805
36791
  "type": {
36806
36792
  "text": "string"
36807
36793
  },
36808
- "default": "'0'",
36809
- "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
36794
+ "default": "''",
36795
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
36810
36796
  "fieldName": "value",
36811
36797
  "inheritedFrom": {
36812
- "name": "Progressbar",
36813
- "module": "src/components/progressbar/progressbar.component.ts"
36798
+ "name": "FormInternalsMixin",
36799
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
36814
36800
  }
36815
36801
  },
36816
36802
  {
36817
- "name": "error",
36803
+ "name": "validation-message",
36818
36804
  "type": {
36819
- "text": "boolean"
36805
+ "text": "string | undefined"
36820
36806
  },
36821
- "default": "false",
36822
- "description": "Define error state of the progressbar\n- **true**\n- **false**",
36823
- "fieldName": "error",
36807
+ "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.",
36808
+ "fieldName": "validationMessage",
36824
36809
  "inheritedFrom": {
36825
- "name": "Progressbar",
36826
- "module": "src/components/progressbar/progressbar.component.ts"
36810
+ "name": "FormInternalsMixin",
36811
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
36812
+ }
36813
+ },
36814
+ {
36815
+ "name": "data-aria-label",
36816
+ "type": {
36817
+ "text": "string | null"
36818
+ },
36819
+ "default": "null",
36820
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
36821
+ "fieldName": "dataAriaLabel",
36822
+ "inheritedFrom": {
36823
+ "name": "DataAriaLabelMixin",
36824
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
36827
36825
  }
36828
36826
  },
36829
36827
  {
@@ -36963,6 +36961,27 @@
36963
36961
  }
36964
36962
  }
36965
36963
  ],
36964
+ "mixins": [
36965
+ {
36966
+ "name": "AutoFocusOnMountMixin",
36967
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
36968
+ },
36969
+ {
36970
+ "name": "FormInternalsMixin",
36971
+ "module": "/src/utils/mixins/FormInternalsMixin"
36972
+ },
36973
+ {
36974
+ "name": "DataAriaLabelMixin",
36975
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
36976
+ }
36977
+ ],
36978
+ "superclass": {
36979
+ "name": "FormfieldWrapper",
36980
+ "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
36981
+ },
36982
+ "tagName": "mdc-radio",
36983
+ "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 */",
36984
+ "customElement": true,
36966
36985
  "slots": [
36967
36986
  {
36968
36987
  "description": "Slot for the label element. If not provided, the `label` property will be used to render the label.",
@@ -36973,16 +36992,16 @@
36973
36992
  }
36974
36993
  },
36975
36994
  {
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",
36995
+ "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.",
36996
+ "name": "toggletip",
36978
36997
  "inheritedFrom": {
36979
36998
  "name": "FormfieldWrapper",
36980
36999
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36981
37000
  }
36982
37001
  },
36983
37002
  {
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",
37003
+ "description": "Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.",
37004
+ "name": "help-icon",
36986
37005
  "inheritedFrom": {
36987
37006
  "name": "FormfieldWrapper",
36988
37007
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
@@ -37004,8 +37023,8 @@
37004
37023
  "kind": "js",
37005
37024
  "name": "default",
37006
37025
  "declaration": {
37007
- "name": "Progressspinner",
37008
- "module": "components/progressspinner/progressspinner.component.js"
37026
+ "name": "Radio",
37027
+ "module": "components/radio/radio.component.js"
37009
37028
  }
37010
37029
  }
37011
37030
  ]