@momentum-design/components 0.124.0 → 0.125.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -513,157 +513,6 @@
513
513
  }
514
514
  ]
515
515
  },
516
- {
517
- "kind": "javascript-module",
518
- "path": "components/accordiongroup/accordiongroup.component.js",
519
- "declarations": [
520
- {
521
- "kind": "class",
522
- "description": "An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\nEach heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\nAccordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n\n- Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n\nThere are three types of variants:\n- Stacked - Each accordion will have a gap of 1.5rem (24px).\n- Borderless - Each accordion will not have any border and the group will also not have any border.\n- Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n\nThere are two types of sizes:\n- Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n- Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n\nThe variant and size will be applied to all accordions inside this accordion group.\nTo show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n\nIf you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n\nIf the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.",
523
- "name": "AccordionGroup",
524
- "cssProperties": [
525
- {
526
- "description": "The border color of the entire accordiongroup",
527
- "name": "--mdc-accordiongroup-border-color"
528
- }
529
- ],
530
- "slots": [
531
- {
532
- "description": "The default slot can contain the `accordion` or `accordionbutton` components.",
533
- "name": "default"
534
- }
535
- ],
536
- "members": [
537
- {
538
- "kind": "field",
539
- "name": "size",
540
- "type": {
541
- "text": "Size"
542
- },
543
- "description": "The size of the accordion item.",
544
- "default": "'small'",
545
- "attribute": "size",
546
- "reflects": true
547
- },
548
- {
549
- "kind": "field",
550
- "name": "variant",
551
- "type": {
552
- "text": "Variant"
553
- },
554
- "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
555
- "default": "'stacked'",
556
- "attribute": "variant",
557
- "reflects": true
558
- },
559
- {
560
- "kind": "field",
561
- "name": "allowMultiple",
562
- "type": {
563
- "text": "boolean"
564
- },
565
- "default": "false",
566
- "description": "If true, multiple accordion items can be visible at the same time.",
567
- "attribute": "allow-multiple",
568
- "reflects": true
569
- },
570
- {
571
- "kind": "method",
572
- "name": "handleAccordionExpanded",
573
- "privacy": "private",
574
- "return": {
575
- "type": {
576
- "text": "void"
577
- }
578
- },
579
- "parameters": [
580
- {
581
- "name": "event",
582
- "type": {
583
- "text": "Event"
584
- },
585
- "description": "The event object from the 'shown' event."
586
- }
587
- ],
588
- "description": "Handles the 'shown' event for accordion items.\nIf `allowMultiple` is false, ensures that only one accordion item\nremains expanded by collapsing all other expanded items when a new item is expanded."
589
- },
590
- {
591
- "kind": "method",
592
- "name": "setChildrenAccordionAttributes",
593
- "privacy": "private",
594
- "return": {
595
- "type": {
596
- "text": "void"
597
- }
598
- },
599
- "parameters": [
600
- {
601
- "name": "attributeName",
602
- "type": {
603
- "text": "string"
604
- },
605
- "description": "The name of the attribute to set."
606
- },
607
- {
608
- "name": "attributeValue",
609
- "type": {
610
- "text": "string"
611
- },
612
- "description": "The value to set the attribute to."
613
- }
614
- ],
615
- "description": "Sets the given attribute on all child accordion or accordionbutton components."
616
- }
617
- ],
618
- "attributes": [
619
- {
620
- "name": "size",
621
- "type": {
622
- "text": "Size"
623
- },
624
- "description": "The size of the accordion item.",
625
- "default": "'small'",
626
- "fieldName": "size"
627
- },
628
- {
629
- "name": "variant",
630
- "type": {
631
- "text": "Variant"
632
- },
633
- "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
634
- "default": "'stacked'",
635
- "fieldName": "variant"
636
- },
637
- {
638
- "name": "allow-multiple",
639
- "type": {
640
- "text": "boolean"
641
- },
642
- "default": "false",
643
- "description": "If true, multiple accordion items can be visible at the same time.",
644
- "fieldName": "allowMultiple"
645
- }
646
- ],
647
- "superclass": {
648
- "name": "Component",
649
- "module": "/src/models"
650
- },
651
- "tagName": "mdc-accordiongroup",
652
- "jsDoc": "/**\n * An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\n * Each heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\n * Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n *\n * - Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n *\n * There are three types of variants:\n * - Stacked - Each accordion will have a gap of 1.5rem (24px).\n * - Borderless - Each accordion will not have any border and the group will also not have any border.\n * - Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n *\n * There are two types of sizes:\n * - Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n * - Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n *\n * The variant and size will be applied to all accordions inside this accordion group.\n * To show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.\n *\n * @tagname mdc-accordiongroup\n *\n * @slot default - The default slot can contain the `accordion` or `accordionbutton` components.\n *\n * @cssproperty --mdc-accordiongroup-border-color - The border color of the entire accordiongroup\n */",
653
- "customElement": true
654
- }
655
- ],
656
- "exports": [
657
- {
658
- "kind": "js",
659
- "name": "default",
660
- "declaration": {
661
- "name": "AccordionGroup",
662
- "module": "components/accordiongroup/accordiongroup.component.js"
663
- }
664
- }
665
- ]
666
- },
667
516
  {
668
517
  "kind": "javascript-module",
669
518
  "path": "components/accordionbutton/accordionbutton.component.js",
@@ -1004,6 +853,157 @@
1004
853
  }
1005
854
  ]
1006
855
  },
856
+ {
857
+ "kind": "javascript-module",
858
+ "path": "components/accordiongroup/accordiongroup.component.js",
859
+ "declarations": [
860
+ {
861
+ "kind": "class",
862
+ "description": "An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\nEach heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\nAccordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n\n- Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n\nThere are three types of variants:\n- Stacked - Each accordion will have a gap of 1.5rem (24px).\n- Borderless - Each accordion will not have any border and the group will also not have any border.\n- Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n\nThere are two types of sizes:\n- Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n- Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n\nThe variant and size will be applied to all accordions inside this accordion group.\nTo show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n\nIf you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n\nIf the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.",
863
+ "name": "AccordionGroup",
864
+ "cssProperties": [
865
+ {
866
+ "description": "The border color of the entire accordiongroup",
867
+ "name": "--mdc-accordiongroup-border-color"
868
+ }
869
+ ],
870
+ "slots": [
871
+ {
872
+ "description": "The default slot can contain the `accordion` or `accordionbutton` components.",
873
+ "name": "default"
874
+ }
875
+ ],
876
+ "members": [
877
+ {
878
+ "kind": "field",
879
+ "name": "size",
880
+ "type": {
881
+ "text": "Size"
882
+ },
883
+ "description": "The size of the accordion item.",
884
+ "default": "'small'",
885
+ "attribute": "size",
886
+ "reflects": true
887
+ },
888
+ {
889
+ "kind": "field",
890
+ "name": "variant",
891
+ "type": {
892
+ "text": "Variant"
893
+ },
894
+ "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
895
+ "default": "'stacked'",
896
+ "attribute": "variant",
897
+ "reflects": true
898
+ },
899
+ {
900
+ "kind": "field",
901
+ "name": "allowMultiple",
902
+ "type": {
903
+ "text": "boolean"
904
+ },
905
+ "default": "false",
906
+ "description": "If true, multiple accordion items can be visible at the same time.",
907
+ "attribute": "allow-multiple",
908
+ "reflects": true
909
+ },
910
+ {
911
+ "kind": "method",
912
+ "name": "handleAccordionExpanded",
913
+ "privacy": "private",
914
+ "return": {
915
+ "type": {
916
+ "text": "void"
917
+ }
918
+ },
919
+ "parameters": [
920
+ {
921
+ "name": "event",
922
+ "type": {
923
+ "text": "Event"
924
+ },
925
+ "description": "The event object from the 'shown' event."
926
+ }
927
+ ],
928
+ "description": "Handles the 'shown' event for accordion items.\nIf `allowMultiple` is false, ensures that only one accordion item\nremains expanded by collapsing all other expanded items when a new item is expanded."
929
+ },
930
+ {
931
+ "kind": "method",
932
+ "name": "setChildrenAccordionAttributes",
933
+ "privacy": "private",
934
+ "return": {
935
+ "type": {
936
+ "text": "void"
937
+ }
938
+ },
939
+ "parameters": [
940
+ {
941
+ "name": "attributeName",
942
+ "type": {
943
+ "text": "string"
944
+ },
945
+ "description": "The name of the attribute to set."
946
+ },
947
+ {
948
+ "name": "attributeValue",
949
+ "type": {
950
+ "text": "string"
951
+ },
952
+ "description": "The value to set the attribute to."
953
+ }
954
+ ],
955
+ "description": "Sets the given attribute on all child accordion or accordionbutton components."
956
+ }
957
+ ],
958
+ "attributes": [
959
+ {
960
+ "name": "size",
961
+ "type": {
962
+ "text": "Size"
963
+ },
964
+ "description": "The size of the accordion item.",
965
+ "default": "'small'",
966
+ "fieldName": "size"
967
+ },
968
+ {
969
+ "name": "variant",
970
+ "type": {
971
+ "text": "Variant"
972
+ },
973
+ "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
974
+ "default": "'stacked'",
975
+ "fieldName": "variant"
976
+ },
977
+ {
978
+ "name": "allow-multiple",
979
+ "type": {
980
+ "text": "boolean"
981
+ },
982
+ "default": "false",
983
+ "description": "If true, multiple accordion items can be visible at the same time.",
984
+ "fieldName": "allowMultiple"
985
+ }
986
+ ],
987
+ "superclass": {
988
+ "name": "Component",
989
+ "module": "/src/models"
990
+ },
991
+ "tagName": "mdc-accordiongroup",
992
+ "jsDoc": "/**\n * An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\n * Each heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\n * Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n *\n * - Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n *\n * There are three types of variants:\n * - Stacked - Each accordion will have a gap of 1.5rem (24px).\n * - Borderless - Each accordion will not have any border and the group will also not have any border.\n * - Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n *\n * There are two types of sizes:\n * - Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n * - Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n *\n * The variant and size will be applied to all accordions inside this accordion group.\n * To show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.\n *\n * @tagname mdc-accordiongroup\n *\n * @slot default - The default slot can contain the `accordion` or `accordionbutton` components.\n *\n * @cssproperty --mdc-accordiongroup-border-color - The border color of the entire accordiongroup\n */",
993
+ "customElement": true
994
+ }
995
+ ],
996
+ "exports": [
997
+ {
998
+ "kind": "js",
999
+ "name": "default",
1000
+ "declaration": {
1001
+ "name": "AccordionGroup",
1002
+ "module": "components/accordiongroup/accordiongroup.component.js"
1003
+ }
1004
+ }
1005
+ ]
1006
+ },
1007
1007
  {
1008
1008
  "kind": "javascript-module",
1009
1009
  "path": "components/alertchip/alertchip.component.js",
@@ -1654,218 +1654,6 @@
1654
1654
  }
1655
1655
  ]
1656
1656
  },
1657
- {
1658
- "kind": "javascript-module",
1659
- "path": "components/animation/animation.component.js",
1660
- "declarations": [
1661
- {
1662
- "kind": "class",
1663
- "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.",
1664
- "name": "Animation",
1665
- "members": [
1666
- {
1667
- "kind": "field",
1668
- "name": "name",
1669
- "type": {
1670
- "text": "AnimationNames | undefined"
1671
- },
1672
- "description": "Name of the animation (= filename)",
1673
- "attribute": "name",
1674
- "reflects": true
1675
- },
1676
- {
1677
- "kind": "field",
1678
- "name": "loop",
1679
- "type": {
1680
- "text": "LoopType | undefined"
1681
- },
1682
- "description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
1683
- "attribute": "loop",
1684
- "reflects": true
1685
- },
1686
- {
1687
- "kind": "field",
1688
- "name": "autoplay",
1689
- "type": {
1690
- "text": "boolean | undefined"
1691
- },
1692
- "description": "Weather start the animation automatically",
1693
- "attribute": "autoplay",
1694
- "reflects": true
1695
- },
1696
- {
1697
- "kind": "field",
1698
- "name": "ariaLabel",
1699
- "type": {
1700
- "text": "string | null"
1701
- },
1702
- "default": "null",
1703
- "description": "Aria-label attribute to be set for accessibility",
1704
- "attribute": "aria-label"
1705
- },
1706
- {
1707
- "kind": "field",
1708
- "name": "ariaLabelledby",
1709
- "type": {
1710
- "text": "string | null"
1711
- },
1712
- "default": "null",
1713
- "description": "Aria-labelledby attribute to be set for accessibility",
1714
- "attribute": "aria-labelledby"
1715
- },
1716
- {
1717
- "kind": "field",
1718
- "name": "lottieInstance",
1719
- "type": {
1720
- "text": "AnimationItem | undefined"
1721
- },
1722
- "privacy": "private",
1723
- "description": "Lottie animation instance"
1724
- },
1725
- {
1726
- "kind": "field",
1727
- "name": "containerRef",
1728
- "type": {
1729
- "text": "Ref<HTMLDivElement>"
1730
- },
1731
- "privacy": "private",
1732
- "description": "Container for the animation"
1733
- },
1734
- {
1735
- "kind": "field",
1736
- "name": "animation",
1737
- "description": "Exposed API of the animation library (lottie)",
1738
- "readonly": true
1739
- },
1740
- {
1741
- "kind": "method",
1742
- "name": "getLoopValue",
1743
- "privacy": "private"
1744
- },
1745
- {
1746
- "kind": "method",
1747
- "name": "onLoadSuccessHandler",
1748
- "privacy": "private",
1749
- "parameters": [
1750
- {
1751
- "name": "animationData",
1752
- "type": {
1753
- "text": "any"
1754
- }
1755
- }
1756
- ],
1757
- "description": "Create new lotty instance for the loaded data"
1758
- },
1759
- {
1760
- "kind": "method",
1761
- "name": "onLoadFailHandler",
1762
- "privacy": "private",
1763
- "parameters": [
1764
- {
1765
- "name": "error",
1766
- "type": {
1767
- "text": "Error"
1768
- }
1769
- }
1770
- ],
1771
- "description": "Error handler for animation loading"
1772
- },
1773
- {
1774
- "kind": "method",
1775
- "name": "getAnimationData",
1776
- "privacy": "private",
1777
- "description": "Import animation data dynamically"
1778
- },
1779
- {
1780
- "kind": "field",
1781
- "name": "onCompleteHandler",
1782
- "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."
1783
- }
1784
- ],
1785
- "events": [
1786
- {
1787
- "name": "load",
1788
- "type": {
1789
- "text": "CustomEvent"
1790
- },
1791
- "description": "(React: onLoad) This event is dispatched when the animation is loaded",
1792
- "reactName": "onLoad"
1793
- },
1794
- {
1795
- "description": "(React: onComplete) This event is dispatched when all animation loops completed",
1796
- "name": "complete",
1797
- "reactName": "onComplete"
1798
- },
1799
- {
1800
- "description": "(React: onError) This event is dispatched when animation loading failed",
1801
- "name": "error",
1802
- "reactName": "onError"
1803
- }
1804
- ],
1805
- "attributes": [
1806
- {
1807
- "name": "name",
1808
- "type": {
1809
- "text": "AnimationNames | undefined"
1810
- },
1811
- "description": "Name of the animation (= filename)",
1812
- "fieldName": "name"
1813
- },
1814
- {
1815
- "name": "loop",
1816
- "type": {
1817
- "text": "LoopType | undefined"
1818
- },
1819
- "description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
1820
- "fieldName": "loop"
1821
- },
1822
- {
1823
- "name": "autoplay",
1824
- "type": {
1825
- "text": "boolean | undefined"
1826
- },
1827
- "description": "Weather start the animation automatically",
1828
- "fieldName": "autoplay"
1829
- },
1830
- {
1831
- "name": "aria-label",
1832
- "type": {
1833
- "text": "string | null"
1834
- },
1835
- "default": "null",
1836
- "description": "Aria-label attribute to be set for accessibility",
1837
- "fieldName": "ariaLabel"
1838
- },
1839
- {
1840
- "name": "aria-labelledby",
1841
- "type": {
1842
- "text": "string | null"
1843
- },
1844
- "default": "null",
1845
- "description": "Aria-labelledby attribute to be set for accessibility",
1846
- "fieldName": "ariaLabelledby"
1847
- }
1848
- ],
1849
- "superclass": {
1850
- "name": "Component",
1851
- "module": "/src/models"
1852
- },
1853
- "tagName": "mdc-animation",
1854
- "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 */",
1855
- "customElement": true
1856
- }
1857
- ],
1858
- "exports": [
1859
- {
1860
- "kind": "js",
1861
- "name": "default",
1862
- "declaration": {
1863
- "name": "Animation",
1864
- "module": "components/animation/animation.component.js"
1865
- }
1866
- }
1867
- ]
1868
- },
1869
1657
  {
1870
1658
  "kind": "javascript-module",
1871
1659
  "path": "components/announcementdialog/announcementdialog.component.js",
@@ -3290,6 +3078,218 @@
3290
3078
  }
3291
3079
  ]
3292
3080
  },
3081
+ {
3082
+ "kind": "javascript-module",
3083
+ "path": "components/animation/animation.component.js",
3084
+ "declarations": [
3085
+ {
3086
+ "kind": "class",
3087
+ "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.",
3088
+ "name": "Animation",
3089
+ "members": [
3090
+ {
3091
+ "kind": "field",
3092
+ "name": "name",
3093
+ "type": {
3094
+ "text": "AnimationNames | undefined"
3095
+ },
3096
+ "description": "Name of the animation (= filename)",
3097
+ "attribute": "name",
3098
+ "reflects": true
3099
+ },
3100
+ {
3101
+ "kind": "field",
3102
+ "name": "loop",
3103
+ "type": {
3104
+ "text": "LoopType | undefined"
3105
+ },
3106
+ "description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
3107
+ "attribute": "loop",
3108
+ "reflects": true
3109
+ },
3110
+ {
3111
+ "kind": "field",
3112
+ "name": "autoplay",
3113
+ "type": {
3114
+ "text": "boolean | undefined"
3115
+ },
3116
+ "description": "Weather start the animation automatically",
3117
+ "attribute": "autoplay",
3118
+ "reflects": true
3119
+ },
3120
+ {
3121
+ "kind": "field",
3122
+ "name": "ariaLabel",
3123
+ "type": {
3124
+ "text": "string | null"
3125
+ },
3126
+ "default": "null",
3127
+ "description": "Aria-label attribute to be set for accessibility",
3128
+ "attribute": "aria-label"
3129
+ },
3130
+ {
3131
+ "kind": "field",
3132
+ "name": "ariaLabelledby",
3133
+ "type": {
3134
+ "text": "string | null"
3135
+ },
3136
+ "default": "null",
3137
+ "description": "Aria-labelledby attribute to be set for accessibility",
3138
+ "attribute": "aria-labelledby"
3139
+ },
3140
+ {
3141
+ "kind": "field",
3142
+ "name": "lottieInstance",
3143
+ "type": {
3144
+ "text": "AnimationItem | undefined"
3145
+ },
3146
+ "privacy": "private",
3147
+ "description": "Lottie animation instance"
3148
+ },
3149
+ {
3150
+ "kind": "field",
3151
+ "name": "containerRef",
3152
+ "type": {
3153
+ "text": "Ref<HTMLDivElement>"
3154
+ },
3155
+ "privacy": "private",
3156
+ "description": "Container for the animation"
3157
+ },
3158
+ {
3159
+ "kind": "field",
3160
+ "name": "animation",
3161
+ "description": "Exposed API of the animation library (lottie)",
3162
+ "readonly": true
3163
+ },
3164
+ {
3165
+ "kind": "method",
3166
+ "name": "getLoopValue",
3167
+ "privacy": "private"
3168
+ },
3169
+ {
3170
+ "kind": "method",
3171
+ "name": "onLoadSuccessHandler",
3172
+ "privacy": "private",
3173
+ "parameters": [
3174
+ {
3175
+ "name": "animationData",
3176
+ "type": {
3177
+ "text": "any"
3178
+ }
3179
+ }
3180
+ ],
3181
+ "description": "Create new lotty instance for the loaded data"
3182
+ },
3183
+ {
3184
+ "kind": "method",
3185
+ "name": "onLoadFailHandler",
3186
+ "privacy": "private",
3187
+ "parameters": [
3188
+ {
3189
+ "name": "error",
3190
+ "type": {
3191
+ "text": "Error"
3192
+ }
3193
+ }
3194
+ ],
3195
+ "description": "Error handler for animation loading"
3196
+ },
3197
+ {
3198
+ "kind": "method",
3199
+ "name": "getAnimationData",
3200
+ "privacy": "private",
3201
+ "description": "Import animation data dynamically"
3202
+ },
3203
+ {
3204
+ "kind": "field",
3205
+ "name": "onCompleteHandler",
3206
+ "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."
3207
+ }
3208
+ ],
3209
+ "events": [
3210
+ {
3211
+ "name": "load",
3212
+ "type": {
3213
+ "text": "CustomEvent"
3214
+ },
3215
+ "description": "(React: onLoad) This event is dispatched when the animation is loaded",
3216
+ "reactName": "onLoad"
3217
+ },
3218
+ {
3219
+ "description": "(React: onComplete) This event is dispatched when all animation loops completed",
3220
+ "name": "complete",
3221
+ "reactName": "onComplete"
3222
+ },
3223
+ {
3224
+ "description": "(React: onError) This event is dispatched when animation loading failed",
3225
+ "name": "error",
3226
+ "reactName": "onError"
3227
+ }
3228
+ ],
3229
+ "attributes": [
3230
+ {
3231
+ "name": "name",
3232
+ "type": {
3233
+ "text": "AnimationNames | undefined"
3234
+ },
3235
+ "description": "Name of the animation (= filename)",
3236
+ "fieldName": "name"
3237
+ },
3238
+ {
3239
+ "name": "loop",
3240
+ "type": {
3241
+ "text": "LoopType | undefined"
3242
+ },
3243
+ "description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
3244
+ "fieldName": "loop"
3245
+ },
3246
+ {
3247
+ "name": "autoplay",
3248
+ "type": {
3249
+ "text": "boolean | undefined"
3250
+ },
3251
+ "description": "Weather start the animation automatically",
3252
+ "fieldName": "autoplay"
3253
+ },
3254
+ {
3255
+ "name": "aria-label",
3256
+ "type": {
3257
+ "text": "string | null"
3258
+ },
3259
+ "default": "null",
3260
+ "description": "Aria-label attribute to be set for accessibility",
3261
+ "fieldName": "ariaLabel"
3262
+ },
3263
+ {
3264
+ "name": "aria-labelledby",
3265
+ "type": {
3266
+ "text": "string | null"
3267
+ },
3268
+ "default": "null",
3269
+ "description": "Aria-labelledby attribute to be set for accessibility",
3270
+ "fieldName": "ariaLabelledby"
3271
+ }
3272
+ ],
3273
+ "superclass": {
3274
+ "name": "Component",
3275
+ "module": "/src/models"
3276
+ },
3277
+ "tagName": "mdc-animation",
3278
+ "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 */",
3279
+ "customElement": true
3280
+ }
3281
+ ],
3282
+ "exports": [
3283
+ {
3284
+ "kind": "js",
3285
+ "name": "default",
3286
+ "declaration": {
3287
+ "name": "Animation",
3288
+ "module": "components/animation/animation.component.js"
3289
+ }
3290
+ }
3291
+ ]
3292
+ },
3293
3293
  {
3294
3294
  "kind": "javascript-module",
3295
3295
  "path": "components/avatar/avatar.component.js",
@@ -46564,7 +46564,7 @@
46564
46564
  "declarations": [
46565
46565
  {
46566
46566
  "kind": "class",
46567
- "description": "mdc-textarea component, which is used to get the multi-line text input from the user.\nIt contains:\n- label: It is the title of the textarea field.\n- required: A boolean attribute depicting that the textarea field is required.\n- Textarea: It is the multi-line text input field.\n- helper-text: It is the text that provides additional information about the textarea field.\n- max-character-limit: It is the text that shows the character count of the textarea field.\n- Error, Warning, Success, Priority Help Text type: It is the text that provides additional information\n about the textarea field based on the validation state.\n- limitexceeded: It is the event that is dispatched when the character limit exceeds or restored.\n This event exposes 3 properties:\n - currentCharacterCount - the current number of characters in the textarea field,\n - maxCharacterLimit - the maximum number of characters allowed in the textarea field,\n - value - the current value of the textarea field,\n\n**Note**: Consumers must set the help-text-type with 'error' and\nhelp-text attribute with the error message using limitexceeded event.\nThe same help-text value will be used for the validation message to be displayed.",
46567
+ "description": "mdc-textarea component, which is used to get the multi-line text input from the user.\nIt contains:\n- label: It is the title of the textarea field.\n- required: A boolean attribute depicting that the textarea field is required.\n- Textarea: It is the multi-line text input field.\n- helper-text: It is the text that provides additional information about the textarea field.\n- max-character-limit: It is the text that shows the character count of the textarea field.\n- Error, Warning, Success, Priority Help Text type: It is the text that provides additional information\n about the textarea field based on the validation state.\n- limitexceeded: It is the event that is dispatched when the character limit exceeds or restored.\n This event exposes 3 properties:\n - currentCharacterCount - the current number of characters in the textarea field,\n - maxCharacterLimit - the maximum number of characters allowed in the textarea field,\n - value - the current value of the textarea field,\n\n**Note**: Consumers must set the help-text-type with 'error' and\nhelp-text attribute with the error message using limitexceeded event.\nThe same help-text value will be used for the validation message to be displayed.\n\n### Accessibility \n\n#### Resize\n \nAccessible text area resizing can be turned on with the `resizable`. \nIt is strongly recommended to set the `resize-button-aria-label` attribute as well to describe what it is and what are the shortcuts (up/down arrows) of the button.\n\n#### Best practices\n\n- Always provide a `label` for screen readers to identify the textarea's purpose\n- Use `help-text` to provide additional context or instructions\n- When using `max-character-limit`, consider providing `character-limit-announcement` for screen reader updates\n- Use appropriate `help-text-type` (error, warning, success) to convey validation state\n- Ensure `validation-message` is set for form validation errors",
46568
46568
  "name": "Textarea",
46569
46569
  "cssProperties": [
46570
46570
  {
@@ -46709,6 +46709,26 @@
46709
46709
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
46710
46710
  }
46711
46711
  },
46712
+ {
46713
+ "description": "The textarea element.",
46714
+ "name": "textarea"
46715
+ },
46716
+ {
46717
+ "description": "The container element that wraps the textarea and resize button.",
46718
+ "name": "textarea-container"
46719
+ },
46720
+ {
46721
+ "description": "The footer element that contains the character counter.",
46722
+ "name": "textarea-footer"
46723
+ },
46724
+ {
46725
+ "description": "The character counter element.",
46726
+ "name": "character-counter"
46727
+ },
46728
+ {
46729
+ "description": "The resize button element (shown when `resizable` is true).",
46730
+ "name": "resize-button"
46731
+ },
46712
46732
  {
46713
46733
  "description": "The helper/validation text element.",
46714
46734
  "name": "help-text",
@@ -46786,7 +46806,8 @@
46786
46806
  },
46787
46807
  "description": "The rows attribute specifies the visible number of lines in a text area.",
46788
46808
  "default": "5",
46789
- "attribute": "rows"
46809
+ "attribute": "rows",
46810
+ "reflects": true
46790
46811
  },
46791
46812
  {
46792
46813
  "kind": "field",
@@ -46873,6 +46894,27 @@
46873
46894
  "description": "Template string for the announcement that will be read by screen readers when the max character limit is set.\nConsumers must use the placeholders `%{number-of-characters}` and `%{max-character-limit}` in the string,\nwhich will be dynamically replaced with the actual values at runtime.\nFor example: `%{number-of-characters} out of %{max-character-limit} characters are typed.`\nExample output: \"93 out of 140 characters are typed.\"",
46874
46895
  "attribute": "character-limit-announcement"
46875
46896
  },
46897
+ {
46898
+ "kind": "field",
46899
+ "name": "resizable",
46900
+ "type": {
46901
+ "text": "boolean"
46902
+ },
46903
+ "default": "false",
46904
+ "description": "Controls whether the textarea is resizable via the resize button.\nWhen set to false, the resize button will be hidden.",
46905
+ "attribute": "resizable",
46906
+ "reflects": true
46907
+ },
46908
+ {
46909
+ "kind": "field",
46910
+ "name": "resizeButtonAriaLabel",
46911
+ "type": {
46912
+ "text": "string | undefined"
46913
+ },
46914
+ "description": "Provides an accessible label for the resize button.\nThis value is used to set the `aria-label` attribute for the button.",
46915
+ "default": "''",
46916
+ "attribute": "resize-button-aria-label"
46917
+ },
46876
46918
  {
46877
46919
  "kind": "field",
46878
46920
  "name": "textarea",
@@ -46961,6 +47003,57 @@
46961
47003
  "name": "renderTextareaFooter",
46962
47004
  "privacy": "protected"
46963
47005
  },
47006
+ {
47007
+ "kind": "method",
47008
+ "name": "handleResizeKeyDown",
47009
+ "privacy": "private",
47010
+ "parameters": [
47011
+ {
47012
+ "name": "event",
47013
+ "type": {
47014
+ "text": "KeyboardEvent"
47015
+ },
47016
+ "description": "The keyboard event."
47017
+ }
47018
+ ],
47019
+ "description": "Handles the resize button keydown event for keyboard-based resizing."
47020
+ },
47021
+ {
47022
+ "kind": "field",
47023
+ "name": "handlePointerDown",
47024
+ "privacy": "private",
47025
+ "description": "Handles the start of pointer-based resizing.",
47026
+ "parameters": [
47027
+ {
47028
+ "description": "The pointer event.",
47029
+ "name": "event"
47030
+ }
47031
+ ]
47032
+ },
47033
+ {
47034
+ "kind": "field",
47035
+ "name": "handlePointerMove",
47036
+ "privacy": "private",
47037
+ "description": "Handles pointer movement during resizing.",
47038
+ "parameters": [
47039
+ {
47040
+ "description": "The pointer event.",
47041
+ "name": "event"
47042
+ }
47043
+ ]
47044
+ },
47045
+ {
47046
+ "kind": "field",
47047
+ "name": "handlePointerUp",
47048
+ "privacy": "private",
47049
+ "description": "Handles the end of pointer-based resizing.",
47050
+ "parameters": [
47051
+ {
47052
+ "description": "The pointer event.",
47053
+ "name": "event"
47054
+ }
47055
+ ]
47056
+ },
46964
47057
  {
46965
47058
  "kind": "field",
46966
47059
  "name": "autoFocusOnMount",
@@ -47454,6 +47547,24 @@
47454
47547
  "description": "Template string for the announcement that will be read by screen readers when the max character limit is set.\nConsumers must use the placeholders `%{number-of-characters}` and `%{max-character-limit}` in the string,\nwhich will be dynamically replaced with the actual values at runtime.\nFor example: `%{number-of-characters} out of %{max-character-limit} characters are typed.`\nExample output: \"93 out of 140 characters are typed.\"",
47455
47548
  "fieldName": "characterLimitAnnouncement"
47456
47549
  },
47550
+ {
47551
+ "name": "resizable",
47552
+ "type": {
47553
+ "text": "boolean"
47554
+ },
47555
+ "default": "false",
47556
+ "description": "Controls whether the textarea is resizable via the resize button.\nWhen set to false, the resize button will be hidden.",
47557
+ "fieldName": "resizable"
47558
+ },
47559
+ {
47560
+ "name": "resize-button-aria-label",
47561
+ "type": {
47562
+ "text": "string | undefined"
47563
+ },
47564
+ "description": "Provides an accessible label for the resize button.\nThis value is used to set the `aria-label` attribute for the button.",
47565
+ "default": "''",
47566
+ "fieldName": "resizeButtonAriaLabel"
47567
+ },
47457
47568
  {
47458
47569
  "name": "auto-focus-on-mount",
47459
47570
  "type": {
@@ -47674,7 +47785,7 @@
47674
47785
  "module": "/src/components/formfieldwrapper"
47675
47786
  },
47676
47787
  "tagName": "mdc-textarea",
47677
- "jsDoc": "/**\n * mdc-textarea component, which is used to get the multi-line text input from the user.\n * It contains:\n * - label: It is the title of the textarea field.\n * - required: A boolean attribute depicting that the textarea field is required.\n * - Textarea: It is the multi-line text input field.\n * - helper-text: It is the text that provides additional information about the textarea field.\n * - max-character-limit: It is the text that shows the character count of the textarea field.\n * - Error, Warning, Success, Priority Help Text type: It is the text that provides additional information\n * about the textarea field based on the validation state.\n * - limitexceeded: It is the event that is dispatched when the character limit exceeds or restored.\n * This event exposes 3 properties:\n * - currentCharacterCount - the current number of characters in the textarea field,\n * - maxCharacterLimit - the maximum number of characters allowed in the textarea field,\n * - value - the current value of the textarea field,\n *\n * **Note**: Consumers must set the help-text-type with 'error' and\n * help-text attribute with the error message using limitexceeded event.\n * The same help-text value will be used for the validation message to be displayed.\n *\n * @tagname mdc-textarea\n *\n * @event input - (React: onInput) This event is dispatched when the value of the textarea field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the textarea field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the textarea receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the textarea loses focus.\n * @event limitexceeded - (React: onLimitExceeded) This event is dispatched once when the character limit\n * exceeds or restored.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\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 *\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 *\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-textarea-text-color - Text color for the textarea field\n * @cssproperty --mdc-textarea-background-color - Background color for the textarea field\n * @cssproperty --mdc-textarea-border-color - Border color for the textarea field\n * @cssproperty --mdc-textarea-text-secondary-normal - Text color for the character counter\n * @cssproperty --mdc-textarea-text-font-size - Font size for the textarea field\n * @cssproperty --mdc-textarea-text-line-height - Line height for the textarea field\n * @cssproperty --mdc-textarea-container-background-color - Background color for the textarea container\n */",
47788
+ "jsDoc": "/**\n * mdc-textarea component, which is used to get the multi-line text input from the user.\n * It contains:\n * - label: It is the title of the textarea field.\n * - required: A boolean attribute depicting that the textarea field is required.\n * - Textarea: It is the multi-line text input field.\n * - helper-text: It is the text that provides additional information about the textarea field.\n * - max-character-limit: It is the text that shows the character count of the textarea field.\n * - Error, Warning, Success, Priority Help Text type: It is the text that provides additional information\n * about the textarea field based on the validation state.\n * - limitexceeded: It is the event that is dispatched when the character limit exceeds or restored.\n * This event exposes 3 properties:\n * - currentCharacterCount - the current number of characters in the textarea field,\n * - maxCharacterLimit - the maximum number of characters allowed in the textarea field,\n * - value - the current value of the textarea field,\n *\n * **Note**: Consumers must set the help-text-type with 'error' and\n * help-text attribute with the error message using limitexceeded event.\n * The same help-text value will be used for the validation message to be displayed.\n *\n * ### Accessibility \n * \n * #### Resize\n * \n * Accessible text area resizing can be turned on with the `resizable`. \n * It is strongly recommended to set the `resize-button-aria-label` attribute as well to describe what it is and what are the shortcuts (up/down arrows) of the button.\n * \n * #### Best practices\n * \n * - Always provide a `label` for screen readers to identify the textarea's purpose\n * - Use `help-text` to provide additional context or instructions\n * - When using `max-character-limit`, consider providing `character-limit-announcement` for screen reader updates\n * - Use appropriate `help-text-type` (error, warning, success) to convey validation state\n * - Ensure `validation-message` is set for form validation errors\n *\n * @tagname mdc-textarea\n *\n * @event input - (React: onInput) This event is dispatched when the value of the textarea field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the textarea field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the textarea receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the textarea loses focus.\n * @event limitexceeded - (React: onLimitExceeded) This event is dispatched once when the character limit\n * exceeds or restored.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\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 *\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 textarea - The textarea element.\n * @csspart textarea-container - The container element that wraps the textarea and resize button.\n * @csspart textarea-footer - The footer element that contains the character counter.\n * @csspart character-counter - The character counter element.\n * @csspart resize-button - The resize button element (shown when `resizable` is true).\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 *\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-textarea-text-color - Text color for the textarea field\n * @cssproperty --mdc-textarea-background-color - Background color for the textarea field\n * @cssproperty --mdc-textarea-border-color - Border color for the textarea field\n * @cssproperty --mdc-textarea-text-secondary-normal - Text color for the character counter\n * @cssproperty --mdc-textarea-text-font-size - Font size for the textarea field\n * @cssproperty --mdc-textarea-text-line-height - Line height for the textarea field\n * @cssproperty --mdc-textarea-container-background-color - Background color for the textarea container\n */",
47678
47789
  "customElement": true
47679
47790
  }
47680
47791
  ],