@momentum-design/components 0.112.1 → 0.112.3
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.
- package/dist/browser/index.js +551 -361
- package/dist/browser/index.js.map +4 -4
- package/dist/components/buttonlink/buttonlink.component.d.ts +5 -0
- package/dist/components/buttonlink/buttonlink.component.js +37 -6
- package/dist/components/buttonlink/buttonlink.styles.d.ts +2 -0
- package/dist/components/buttonlink/buttonlink.styles.js +58 -0
- package/dist/components/link/link.component.d.ts +3 -0
- package/dist/components/link/link.component.js +28 -3
- package/dist/components/link/link.styles.js +15 -13
- package/dist/components/linkbutton/linkbutton.component.js +2 -2
- package/dist/components/linkbutton/linkbutton.styles.js +39 -2
- package/dist/components/linksimple/linksimple.component.d.ts +24 -6
- package/dist/components/linksimple/linksimple.component.js +49 -19
- package/dist/components/linksimple/linksimple.styles.js +41 -28
- package/dist/components/slider/slider.component.js +1 -1
- package/dist/components/slider/slider.styles.js +25 -0
- package/dist/custom-elements.json +1360 -968
- package/dist/react/buttonlink/index.d.ts +5 -0
- package/dist/react/buttonlink/index.js +5 -0
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/dist/react/link/index.d.ts +3 -0
- package/dist/react/link/index.js +3 -0
- package/dist/react/linksimple/index.d.ts +2 -0
- package/dist/react/linksimple/index.js +2 -0
- package/package.json +1 -1
@@ -968,6 +968,218 @@
|
|
968
968
|
}
|
969
969
|
]
|
970
970
|
},
|
971
|
+
{
|
972
|
+
"kind": "javascript-module",
|
973
|
+
"path": "components/animation/animation.component.js",
|
974
|
+
"declarations": [
|
975
|
+
{
|
976
|
+
"kind": "class",
|
977
|
+
"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.",
|
978
|
+
"name": "Animation",
|
979
|
+
"members": [
|
980
|
+
{
|
981
|
+
"kind": "field",
|
982
|
+
"name": "name",
|
983
|
+
"type": {
|
984
|
+
"text": "AnimationNames | undefined"
|
985
|
+
},
|
986
|
+
"description": "Name of the animation (= filename)",
|
987
|
+
"attribute": "name",
|
988
|
+
"reflects": true
|
989
|
+
},
|
990
|
+
{
|
991
|
+
"kind": "field",
|
992
|
+
"name": "loop",
|
993
|
+
"type": {
|
994
|
+
"text": "LoopType | undefined"
|
995
|
+
},
|
996
|
+
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
997
|
+
"attribute": "loop",
|
998
|
+
"reflects": true
|
999
|
+
},
|
1000
|
+
{
|
1001
|
+
"kind": "field",
|
1002
|
+
"name": "autoplay",
|
1003
|
+
"type": {
|
1004
|
+
"text": "boolean | undefined"
|
1005
|
+
},
|
1006
|
+
"description": "Weather start the animation automatically",
|
1007
|
+
"attribute": "autoplay",
|
1008
|
+
"reflects": true
|
1009
|
+
},
|
1010
|
+
{
|
1011
|
+
"kind": "field",
|
1012
|
+
"name": "ariaLabel",
|
1013
|
+
"type": {
|
1014
|
+
"text": "string | null"
|
1015
|
+
},
|
1016
|
+
"default": "null",
|
1017
|
+
"description": "Aria-label attribute to be set for accessibility",
|
1018
|
+
"attribute": "aria-label"
|
1019
|
+
},
|
1020
|
+
{
|
1021
|
+
"kind": "field",
|
1022
|
+
"name": "ariaLabelledBy",
|
1023
|
+
"type": {
|
1024
|
+
"text": "string | null"
|
1025
|
+
},
|
1026
|
+
"default": "null",
|
1027
|
+
"description": "Aria-labelledby attribute to be set for accessibility",
|
1028
|
+
"attribute": "aria-labelledby"
|
1029
|
+
},
|
1030
|
+
{
|
1031
|
+
"kind": "field",
|
1032
|
+
"name": "lottieInstance",
|
1033
|
+
"type": {
|
1034
|
+
"text": "AnimationItem | undefined"
|
1035
|
+
},
|
1036
|
+
"privacy": "private",
|
1037
|
+
"description": "Lottie animation instance"
|
1038
|
+
},
|
1039
|
+
{
|
1040
|
+
"kind": "field",
|
1041
|
+
"name": "containerRef",
|
1042
|
+
"type": {
|
1043
|
+
"text": "Ref<HTMLDivElement>"
|
1044
|
+
},
|
1045
|
+
"privacy": "private",
|
1046
|
+
"description": "Container for the animation"
|
1047
|
+
},
|
1048
|
+
{
|
1049
|
+
"kind": "field",
|
1050
|
+
"name": "animation",
|
1051
|
+
"description": "Exposed API of the animation library (lottie)",
|
1052
|
+
"readonly": true
|
1053
|
+
},
|
1054
|
+
{
|
1055
|
+
"kind": "method",
|
1056
|
+
"name": "getLoopValue",
|
1057
|
+
"privacy": "private"
|
1058
|
+
},
|
1059
|
+
{
|
1060
|
+
"kind": "method",
|
1061
|
+
"name": "onLoadSuccessHandler",
|
1062
|
+
"privacy": "private",
|
1063
|
+
"parameters": [
|
1064
|
+
{
|
1065
|
+
"name": "animationData",
|
1066
|
+
"type": {
|
1067
|
+
"text": "any"
|
1068
|
+
}
|
1069
|
+
}
|
1070
|
+
],
|
1071
|
+
"description": "Create new lotty instance for the loaded data"
|
1072
|
+
},
|
1073
|
+
{
|
1074
|
+
"kind": "method",
|
1075
|
+
"name": "onLoadFailHandler",
|
1076
|
+
"privacy": "private",
|
1077
|
+
"parameters": [
|
1078
|
+
{
|
1079
|
+
"name": "error",
|
1080
|
+
"type": {
|
1081
|
+
"text": "Error"
|
1082
|
+
}
|
1083
|
+
}
|
1084
|
+
],
|
1085
|
+
"description": "Error handler for animation loading"
|
1086
|
+
},
|
1087
|
+
{
|
1088
|
+
"kind": "method",
|
1089
|
+
"name": "getAnimationData",
|
1090
|
+
"privacy": "private",
|
1091
|
+
"description": "Import animation data dynamically"
|
1092
|
+
},
|
1093
|
+
{
|
1094
|
+
"kind": "field",
|
1095
|
+
"name": "onCompleteHandler",
|
1096
|
+
"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."
|
1097
|
+
}
|
1098
|
+
],
|
1099
|
+
"events": [
|
1100
|
+
{
|
1101
|
+
"name": "load",
|
1102
|
+
"type": {
|
1103
|
+
"text": "CustomEvent"
|
1104
|
+
},
|
1105
|
+
"description": "(React: onLoad) This event is dispatched when the animation is loaded",
|
1106
|
+
"reactName": "onLoad"
|
1107
|
+
},
|
1108
|
+
{
|
1109
|
+
"description": "(React: onComplete) This event is dispatched when all animation loops completed",
|
1110
|
+
"name": "complete",
|
1111
|
+
"reactName": "onComplete"
|
1112
|
+
},
|
1113
|
+
{
|
1114
|
+
"description": "(React: onError) This event is dispatched when animation loading failed",
|
1115
|
+
"name": "error",
|
1116
|
+
"reactName": "onError"
|
1117
|
+
}
|
1118
|
+
],
|
1119
|
+
"attributes": [
|
1120
|
+
{
|
1121
|
+
"name": "name",
|
1122
|
+
"type": {
|
1123
|
+
"text": "AnimationNames | undefined"
|
1124
|
+
},
|
1125
|
+
"description": "Name of the animation (= filename)",
|
1126
|
+
"fieldName": "name"
|
1127
|
+
},
|
1128
|
+
{
|
1129
|
+
"name": "loop",
|
1130
|
+
"type": {
|
1131
|
+
"text": "LoopType | undefined"
|
1132
|
+
},
|
1133
|
+
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
1134
|
+
"fieldName": "loop"
|
1135
|
+
},
|
1136
|
+
{
|
1137
|
+
"name": "autoplay",
|
1138
|
+
"type": {
|
1139
|
+
"text": "boolean | undefined"
|
1140
|
+
},
|
1141
|
+
"description": "Weather start the animation automatically",
|
1142
|
+
"fieldName": "autoplay"
|
1143
|
+
},
|
1144
|
+
{
|
1145
|
+
"name": "aria-label",
|
1146
|
+
"type": {
|
1147
|
+
"text": "string | null"
|
1148
|
+
},
|
1149
|
+
"default": "null",
|
1150
|
+
"description": "Aria-label attribute to be set for accessibility",
|
1151
|
+
"fieldName": "ariaLabel"
|
1152
|
+
},
|
1153
|
+
{
|
1154
|
+
"name": "aria-labelledby",
|
1155
|
+
"type": {
|
1156
|
+
"text": "string | null"
|
1157
|
+
},
|
1158
|
+
"default": "null",
|
1159
|
+
"description": "Aria-labelledby attribute to be set for accessibility",
|
1160
|
+
"fieldName": "ariaLabelledBy"
|
1161
|
+
}
|
1162
|
+
],
|
1163
|
+
"superclass": {
|
1164
|
+
"name": "Component",
|
1165
|
+
"module": "/src/models"
|
1166
|
+
},
|
1167
|
+
"tagName": "mdc-animation",
|
1168
|
+
"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 */",
|
1169
|
+
"customElement": true
|
1170
|
+
}
|
1171
|
+
],
|
1172
|
+
"exports": [
|
1173
|
+
{
|
1174
|
+
"kind": "js",
|
1175
|
+
"name": "default",
|
1176
|
+
"declaration": {
|
1177
|
+
"name": "Animation",
|
1178
|
+
"module": "components/animation/animation.component.js"
|
1179
|
+
}
|
1180
|
+
}
|
1181
|
+
]
|
1182
|
+
},
|
971
1183
|
{
|
972
1184
|
"kind": "javascript-module",
|
973
1185
|
"path": "components/alertchip/alertchip.component.js",
|
@@ -1556,236 +1768,24 @@
|
|
1556
1768
|
},
|
1557
1769
|
{
|
1558
1770
|
"kind": "javascript-module",
|
1559
|
-
"path": "components/
|
1771
|
+
"path": "components/appheader/appheader.component.js",
|
1560
1772
|
"declarations": [
|
1561
1773
|
{
|
1562
1774
|
"kind": "class",
|
1563
|
-
"description": "The `mdc-
|
1564
|
-
"name": "
|
1565
|
-
"
|
1775
|
+
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
1776
|
+
"name": "Appheader",
|
1777
|
+
"cssParts": [
|
1566
1778
|
{
|
1567
|
-
"
|
1568
|
-
"name": "
|
1569
|
-
"type": {
|
1570
|
-
"text": "AnimationNames | undefined"
|
1571
|
-
},
|
1572
|
-
"description": "Name of the animation (= filename)",
|
1573
|
-
"attribute": "name",
|
1574
|
-
"reflects": true
|
1779
|
+
"description": "The main container for styling the header.",
|
1780
|
+
"name": "container"
|
1575
1781
|
},
|
1576
1782
|
{
|
1577
|
-
"
|
1578
|
-
"name": "
|
1579
|
-
"type": {
|
1580
|
-
"text": "LoopType | undefined"
|
1581
|
-
},
|
1582
|
-
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
1583
|
-
"attribute": "loop",
|
1584
|
-
"reflects": true
|
1783
|
+
"description": "The leading section of the header.",
|
1784
|
+
"name": "leading-section"
|
1585
1785
|
},
|
1586
1786
|
{
|
1587
|
-
"
|
1588
|
-
"name": "
|
1589
|
-
"type": {
|
1590
|
-
"text": "boolean | undefined"
|
1591
|
-
},
|
1592
|
-
"description": "Weather start the animation automatically",
|
1593
|
-
"attribute": "autoplay",
|
1594
|
-
"reflects": true
|
1595
|
-
},
|
1596
|
-
{
|
1597
|
-
"kind": "field",
|
1598
|
-
"name": "ariaLabel",
|
1599
|
-
"type": {
|
1600
|
-
"text": "string | null"
|
1601
|
-
},
|
1602
|
-
"default": "null",
|
1603
|
-
"description": "Aria-label attribute to be set for accessibility",
|
1604
|
-
"attribute": "aria-label"
|
1605
|
-
},
|
1606
|
-
{
|
1607
|
-
"kind": "field",
|
1608
|
-
"name": "ariaLabelledBy",
|
1609
|
-
"type": {
|
1610
|
-
"text": "string | null"
|
1611
|
-
},
|
1612
|
-
"default": "null",
|
1613
|
-
"description": "Aria-labelledby attribute to be set for accessibility",
|
1614
|
-
"attribute": "aria-labelledby"
|
1615
|
-
},
|
1616
|
-
{
|
1617
|
-
"kind": "field",
|
1618
|
-
"name": "lottieInstance",
|
1619
|
-
"type": {
|
1620
|
-
"text": "AnimationItem | undefined"
|
1621
|
-
},
|
1622
|
-
"privacy": "private",
|
1623
|
-
"description": "Lottie animation instance"
|
1624
|
-
},
|
1625
|
-
{
|
1626
|
-
"kind": "field",
|
1627
|
-
"name": "containerRef",
|
1628
|
-
"type": {
|
1629
|
-
"text": "Ref<HTMLDivElement>"
|
1630
|
-
},
|
1631
|
-
"privacy": "private",
|
1632
|
-
"description": "Container for the animation"
|
1633
|
-
},
|
1634
|
-
{
|
1635
|
-
"kind": "field",
|
1636
|
-
"name": "animation",
|
1637
|
-
"description": "Exposed API of the animation library (lottie)",
|
1638
|
-
"readonly": true
|
1639
|
-
},
|
1640
|
-
{
|
1641
|
-
"kind": "method",
|
1642
|
-
"name": "getLoopValue",
|
1643
|
-
"privacy": "private"
|
1644
|
-
},
|
1645
|
-
{
|
1646
|
-
"kind": "method",
|
1647
|
-
"name": "onLoadSuccessHandler",
|
1648
|
-
"privacy": "private",
|
1649
|
-
"parameters": [
|
1650
|
-
{
|
1651
|
-
"name": "animationData",
|
1652
|
-
"type": {
|
1653
|
-
"text": "any"
|
1654
|
-
}
|
1655
|
-
}
|
1656
|
-
],
|
1657
|
-
"description": "Create new lotty instance for the loaded data"
|
1658
|
-
},
|
1659
|
-
{
|
1660
|
-
"kind": "method",
|
1661
|
-
"name": "onLoadFailHandler",
|
1662
|
-
"privacy": "private",
|
1663
|
-
"parameters": [
|
1664
|
-
{
|
1665
|
-
"name": "error",
|
1666
|
-
"type": {
|
1667
|
-
"text": "Error"
|
1668
|
-
}
|
1669
|
-
}
|
1670
|
-
],
|
1671
|
-
"description": "Error handler for animation loading"
|
1672
|
-
},
|
1673
|
-
{
|
1674
|
-
"kind": "method",
|
1675
|
-
"name": "getAnimationData",
|
1676
|
-
"privacy": "private",
|
1677
|
-
"description": "Import animation data dynamically"
|
1678
|
-
},
|
1679
|
-
{
|
1680
|
-
"kind": "field",
|
1681
|
-
"name": "onCompleteHandler",
|
1682
|
-
"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."
|
1683
|
-
}
|
1684
|
-
],
|
1685
|
-
"events": [
|
1686
|
-
{
|
1687
|
-
"name": "load",
|
1688
|
-
"type": {
|
1689
|
-
"text": "CustomEvent"
|
1690
|
-
},
|
1691
|
-
"description": "(React: onLoad) This event is dispatched when the animation is loaded",
|
1692
|
-
"reactName": "onLoad"
|
1693
|
-
},
|
1694
|
-
{
|
1695
|
-
"description": "(React: onComplete) This event is dispatched when all animation loops completed",
|
1696
|
-
"name": "complete",
|
1697
|
-
"reactName": "onComplete"
|
1698
|
-
},
|
1699
|
-
{
|
1700
|
-
"description": "(React: onError) This event is dispatched when animation loading failed",
|
1701
|
-
"name": "error",
|
1702
|
-
"reactName": "onError"
|
1703
|
-
}
|
1704
|
-
],
|
1705
|
-
"attributes": [
|
1706
|
-
{
|
1707
|
-
"name": "name",
|
1708
|
-
"type": {
|
1709
|
-
"text": "AnimationNames | undefined"
|
1710
|
-
},
|
1711
|
-
"description": "Name of the animation (= filename)",
|
1712
|
-
"fieldName": "name"
|
1713
|
-
},
|
1714
|
-
{
|
1715
|
-
"name": "loop",
|
1716
|
-
"type": {
|
1717
|
-
"text": "LoopType | undefined"
|
1718
|
-
},
|
1719
|
-
"description": "How many times to loop the animation\n- \"true\" - infinite\n- \"false\" - no loop\n- number - number of times to loop",
|
1720
|
-
"fieldName": "loop"
|
1721
|
-
},
|
1722
|
-
{
|
1723
|
-
"name": "autoplay",
|
1724
|
-
"type": {
|
1725
|
-
"text": "boolean | undefined"
|
1726
|
-
},
|
1727
|
-
"description": "Weather start the animation automatically",
|
1728
|
-
"fieldName": "autoplay"
|
1729
|
-
},
|
1730
|
-
{
|
1731
|
-
"name": "aria-label",
|
1732
|
-
"type": {
|
1733
|
-
"text": "string | null"
|
1734
|
-
},
|
1735
|
-
"default": "null",
|
1736
|
-
"description": "Aria-label attribute to be set for accessibility",
|
1737
|
-
"fieldName": "ariaLabel"
|
1738
|
-
},
|
1739
|
-
{
|
1740
|
-
"name": "aria-labelledby",
|
1741
|
-
"type": {
|
1742
|
-
"text": "string | null"
|
1743
|
-
},
|
1744
|
-
"default": "null",
|
1745
|
-
"description": "Aria-labelledby attribute to be set for accessibility",
|
1746
|
-
"fieldName": "ariaLabelledBy"
|
1747
|
-
}
|
1748
|
-
],
|
1749
|
-
"superclass": {
|
1750
|
-
"name": "Component",
|
1751
|
-
"module": "/src/models"
|
1752
|
-
},
|
1753
|
-
"tagName": "mdc-animation",
|
1754
|
-
"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 */",
|
1755
|
-
"customElement": true
|
1756
|
-
}
|
1757
|
-
],
|
1758
|
-
"exports": [
|
1759
|
-
{
|
1760
|
-
"kind": "js",
|
1761
|
-
"name": "default",
|
1762
|
-
"declaration": {
|
1763
|
-
"name": "Animation",
|
1764
|
-
"module": "components/animation/animation.component.js"
|
1765
|
-
}
|
1766
|
-
}
|
1767
|
-
]
|
1768
|
-
},
|
1769
|
-
{
|
1770
|
-
"kind": "javascript-module",
|
1771
|
-
"path": "components/appheader/appheader.component.js",
|
1772
|
-
"declarations": [
|
1773
|
-
{
|
1774
|
-
"kind": "class",
|
1775
|
-
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
1776
|
-
"name": "Appheader",
|
1777
|
-
"cssParts": [
|
1778
|
-
{
|
1779
|
-
"description": "The main container for styling the header.",
|
1780
|
-
"name": "container"
|
1781
|
-
},
|
1782
|
-
{
|
1783
|
-
"description": "The leading section of the header.",
|
1784
|
-
"name": "leading-section"
|
1785
|
-
},
|
1786
|
-
{
|
1787
|
-
"description": "The center section of the header.",
|
1788
|
-
"name": "center-section"
|
1787
|
+
"description": "The center section of the header.",
|
1788
|
+
"name": "center-section"
|
1789
1789
|
},
|
1790
1790
|
{
|
1791
1791
|
"description": "The trailing section of the header.",
|
@@ -4324,6 +4324,28 @@
|
|
4324
4324
|
"kind": "class",
|
4325
4325
|
"description": "`mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\nfeatures of `mdc-button`. This includes support for variants, sizing, and optional\nprefix and postfix icons via slots.\n\n### Features:\n- Behaves like an link while visually resembling a button.\n- Supports slots for `prefix-icon` and `postfix-icon`.\n- Customizable size, color, and variant through attributes.\n- Inherits accessibility and keyboard interaction support from `mdc-linksimple`.",
|
4326
4326
|
"name": "ButtonLink",
|
4327
|
+
"cssParts": [
|
4328
|
+
{
|
4329
|
+
"description": "The anchor element that wraps the buttonlink content.",
|
4330
|
+
"name": "anchor",
|
4331
|
+
"inheritedFrom": {
|
4332
|
+
"name": "Linksimple",
|
4333
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
4334
|
+
}
|
4335
|
+
},
|
4336
|
+
{
|
4337
|
+
"description": "The prefix icon element.",
|
4338
|
+
"name": "prefix-icon"
|
4339
|
+
},
|
4340
|
+
{
|
4341
|
+
"description": "The slot containing the buttonlink text.",
|
4342
|
+
"name": "button-text"
|
4343
|
+
},
|
4344
|
+
{
|
4345
|
+
"description": "The postfix icon element.",
|
4346
|
+
"name": "postfix-icon"
|
4347
|
+
}
|
4348
|
+
],
|
4327
4349
|
"members": [
|
4328
4350
|
{
|
4329
4351
|
"kind": "field",
|
@@ -4501,32 +4523,32 @@
|
|
4501
4523
|
},
|
4502
4524
|
{
|
4503
4525
|
"kind": "field",
|
4504
|
-
"name": "
|
4526
|
+
"name": "dataAriaLabel",
|
4505
4527
|
"type": {
|
4506
|
-
"text": "
|
4528
|
+
"text": "string | null"
|
4507
4529
|
},
|
4508
|
-
"
|
4509
|
-
"
|
4510
|
-
"attribute": "
|
4530
|
+
"default": "null",
|
4531
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
4532
|
+
"attribute": "data-aria-label",
|
4511
4533
|
"reflects": true,
|
4512
4534
|
"inheritedFrom": {
|
4513
|
-
"name": "
|
4514
|
-
"module": "utils/mixins/
|
4535
|
+
"name": "DataAriaLabelMixin",
|
4536
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
4515
4537
|
}
|
4516
4538
|
},
|
4517
4539
|
{
|
4518
4540
|
"kind": "field",
|
4519
|
-
"name": "
|
4541
|
+
"name": "disabled",
|
4520
4542
|
"type": {
|
4521
|
-
"text": "
|
4543
|
+
"text": "boolean | undefined"
|
4522
4544
|
},
|
4523
|
-
"
|
4524
|
-
"
|
4525
|
-
"attribute": "
|
4545
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
4546
|
+
"default": "undefined",
|
4547
|
+
"attribute": "disabled",
|
4526
4548
|
"reflects": true,
|
4527
4549
|
"inheritedFrom": {
|
4528
|
-
"name": "
|
4529
|
-
"module": "utils/mixins/
|
4550
|
+
"name": "DisabledMixin",
|
4551
|
+
"module": "utils/mixins/DisabledMixin.js"
|
4530
4552
|
}
|
4531
4553
|
},
|
4532
4554
|
{
|
@@ -4604,34 +4626,104 @@
|
|
4604
4626
|
}
|
4605
4627
|
},
|
4606
4628
|
{
|
4607
|
-
"kind": "
|
4608
|
-
"name": "
|
4609
|
-
"
|
4610
|
-
|
4611
|
-
"type": {
|
4612
|
-
"text": "void"
|
4613
|
-
}
|
4629
|
+
"kind": "field",
|
4630
|
+
"name": "download",
|
4631
|
+
"type": {
|
4632
|
+
"text": "string | undefined"
|
4614
4633
|
},
|
4615
|
-
"
|
4616
|
-
|
4617
|
-
|
4618
|
-
"type": {
|
4619
|
-
"text": "MouseEvent | KeyboardEvent"
|
4620
|
-
}
|
4621
|
-
}
|
4622
|
-
],
|
4634
|
+
"description": "Optional download attribute to instruct browsers to download the linked resource.",
|
4635
|
+
"attribute": "download",
|
4636
|
+
"reflects": true,
|
4623
4637
|
"inheritedFrom": {
|
4624
4638
|
"name": "Linksimple",
|
4625
4639
|
"module": "components/linksimple/linksimple.component.js"
|
4626
4640
|
}
|
4627
4641
|
},
|
4628
4642
|
{
|
4629
|
-
"kind": "
|
4630
|
-
"name": "
|
4631
|
-
"
|
4632
|
-
|
4633
|
-
|
4634
|
-
|
4643
|
+
"kind": "field",
|
4644
|
+
"name": "ping",
|
4645
|
+
"type": {
|
4646
|
+
"text": "string | undefined"
|
4647
|
+
},
|
4648
|
+
"description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
|
4649
|
+
"attribute": "ping",
|
4650
|
+
"reflects": true,
|
4651
|
+
"inheritedFrom": {
|
4652
|
+
"name": "Linksimple",
|
4653
|
+
"module": "components/linksimple/linksimple.component.js"
|
4654
|
+
}
|
4655
|
+
},
|
4656
|
+
{
|
4657
|
+
"kind": "field",
|
4658
|
+
"name": "hreflang",
|
4659
|
+
"type": {
|
4660
|
+
"text": "string | undefined"
|
4661
|
+
},
|
4662
|
+
"description": "Optional hreflang attribute specifying the language of the linked resource.",
|
4663
|
+
"attribute": "hreflang",
|
4664
|
+
"reflects": true,
|
4665
|
+
"inheritedFrom": {
|
4666
|
+
"name": "Linksimple",
|
4667
|
+
"module": "components/linksimple/linksimple.component.js"
|
4668
|
+
}
|
4669
|
+
},
|
4670
|
+
{
|
4671
|
+
"kind": "field",
|
4672
|
+
"name": "type",
|
4673
|
+
"type": {
|
4674
|
+
"text": "string | undefined"
|
4675
|
+
},
|
4676
|
+
"description": "Optional type attribute indicating the MIME type of the linked resource.",
|
4677
|
+
"attribute": "type",
|
4678
|
+
"reflects": true,
|
4679
|
+
"inheritedFrom": {
|
4680
|
+
"name": "Linksimple",
|
4681
|
+
"module": "components/linksimple/linksimple.component.js"
|
4682
|
+
}
|
4683
|
+
},
|
4684
|
+
{
|
4685
|
+
"kind": "field",
|
4686
|
+
"name": "referrerpolicy",
|
4687
|
+
"type": {
|
4688
|
+
"text": "string | undefined"
|
4689
|
+
},
|
4690
|
+
"description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
|
4691
|
+
"attribute": "referrerpolicy",
|
4692
|
+
"reflects": true,
|
4693
|
+
"inheritedFrom": {
|
4694
|
+
"name": "Linksimple",
|
4695
|
+
"module": "components/linksimple/linksimple.component.js"
|
4696
|
+
}
|
4697
|
+
},
|
4698
|
+
{
|
4699
|
+
"kind": "method",
|
4700
|
+
"name": "handleNavigation",
|
4701
|
+
"privacy": "protected",
|
4702
|
+
"return": {
|
4703
|
+
"type": {
|
4704
|
+
"text": "void"
|
4705
|
+
}
|
4706
|
+
},
|
4707
|
+
"parameters": [
|
4708
|
+
{
|
4709
|
+
"name": "e",
|
4710
|
+
"type": {
|
4711
|
+
"text": "MouseEvent | KeyboardEvent"
|
4712
|
+
}
|
4713
|
+
}
|
4714
|
+
],
|
4715
|
+
"inheritedFrom": {
|
4716
|
+
"name": "Linksimple",
|
4717
|
+
"module": "components/linksimple/linksimple.component.js"
|
4718
|
+
}
|
4719
|
+
},
|
4720
|
+
{
|
4721
|
+
"kind": "method",
|
4722
|
+
"name": "setDisabled",
|
4723
|
+
"privacy": "private",
|
4724
|
+
"parameters": [
|
4725
|
+
{
|
4726
|
+
"name": "disabled",
|
4635
4727
|
"type": {
|
4636
4728
|
"text": "boolean"
|
4637
4729
|
},
|
@@ -4752,6 +4844,19 @@
|
|
4752
4844
|
"module": "src/utils/mixins/ButtonComponentMixin.ts"
|
4753
4845
|
}
|
4754
4846
|
},
|
4847
|
+
{
|
4848
|
+
"name": "data-aria-label",
|
4849
|
+
"type": {
|
4850
|
+
"text": "string | null"
|
4851
|
+
},
|
4852
|
+
"default": "null",
|
4853
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
4854
|
+
"fieldName": "dataAriaLabel",
|
4855
|
+
"inheritedFrom": {
|
4856
|
+
"name": "DataAriaLabelMixin",
|
4857
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
4858
|
+
}
|
4859
|
+
},
|
4755
4860
|
{
|
4756
4861
|
"name": "disabled",
|
4757
4862
|
"type": {
|
@@ -4765,19 +4870,6 @@
|
|
4765
4870
|
"module": "src/utils/mixins/DisabledMixin.ts"
|
4766
4871
|
}
|
4767
4872
|
},
|
4768
|
-
{
|
4769
|
-
"name": "tabIndex",
|
4770
|
-
"type": {
|
4771
|
-
"text": "number"
|
4772
|
-
},
|
4773
|
-
"default": "0",
|
4774
|
-
"description": "This property specifies the tab order of the element.",
|
4775
|
-
"fieldName": "tabIndex",
|
4776
|
-
"inheritedFrom": {
|
4777
|
-
"name": "TabIndexMixin",
|
4778
|
-
"module": "src/utils/mixins/TabIndexMixin.ts"
|
4779
|
-
}
|
4780
|
-
},
|
4781
4873
|
{
|
4782
4874
|
"name": "inline",
|
4783
4875
|
"type": {
|
@@ -4841,6 +4933,66 @@
|
|
4841
4933
|
"name": "Linksimple",
|
4842
4934
|
"module": "src/components/linksimple/linksimple.component.ts"
|
4843
4935
|
}
|
4936
|
+
},
|
4937
|
+
{
|
4938
|
+
"name": "download",
|
4939
|
+
"type": {
|
4940
|
+
"text": "string | undefined"
|
4941
|
+
},
|
4942
|
+
"description": "Optional download attribute to instruct browsers to download the linked resource.",
|
4943
|
+
"fieldName": "download",
|
4944
|
+
"inheritedFrom": {
|
4945
|
+
"name": "Linksimple",
|
4946
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
4947
|
+
}
|
4948
|
+
},
|
4949
|
+
{
|
4950
|
+
"name": "ping",
|
4951
|
+
"type": {
|
4952
|
+
"text": "string | undefined"
|
4953
|
+
},
|
4954
|
+
"description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
|
4955
|
+
"fieldName": "ping",
|
4956
|
+
"inheritedFrom": {
|
4957
|
+
"name": "Linksimple",
|
4958
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
4959
|
+
}
|
4960
|
+
},
|
4961
|
+
{
|
4962
|
+
"name": "hreflang",
|
4963
|
+
"type": {
|
4964
|
+
"text": "string | undefined"
|
4965
|
+
},
|
4966
|
+
"description": "Optional hreflang attribute specifying the language of the linked resource.",
|
4967
|
+
"fieldName": "hreflang",
|
4968
|
+
"inheritedFrom": {
|
4969
|
+
"name": "Linksimple",
|
4970
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
4971
|
+
}
|
4972
|
+
},
|
4973
|
+
{
|
4974
|
+
"name": "type",
|
4975
|
+
"type": {
|
4976
|
+
"text": "string | undefined"
|
4977
|
+
},
|
4978
|
+
"description": "Optional type attribute indicating the MIME type of the linked resource.",
|
4979
|
+
"fieldName": "type",
|
4980
|
+
"inheritedFrom": {
|
4981
|
+
"name": "Linksimple",
|
4982
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
4983
|
+
}
|
4984
|
+
},
|
4985
|
+
{
|
4986
|
+
"name": "referrerpolicy",
|
4987
|
+
"type": {
|
4988
|
+
"text": "string | undefined"
|
4989
|
+
},
|
4990
|
+
"description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
|
4991
|
+
"fieldName": "referrerpolicy",
|
4992
|
+
"inheritedFrom": {
|
4993
|
+
"name": "Linksimple",
|
4994
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
4995
|
+
}
|
4844
4996
|
}
|
4845
4997
|
],
|
4846
4998
|
"mixins": [
|
@@ -4854,7 +5006,7 @@
|
|
4854
5006
|
"module": "/src/components/linksimple/linksimple.component"
|
4855
5007
|
},
|
4856
5008
|
"tagName": "mdc-buttonlink",
|
4857
|
-
"jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n */",
|
5009
|
+
"jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n * \n * @csspart anchor - The anchor element that wraps the buttonlink content.\n * @csspart prefix-icon - The prefix icon element.\n * @csspart button-text - The slot containing the buttonlink text.\n * @csspart postfix-icon - The postfix icon element.\n *\n */",
|
4858
5010
|
"customElement": true,
|
4859
5011
|
"cssProperties": [
|
4860
5012
|
{
|
@@ -13845,361 +13997,110 @@
|
|
13845
13997
|
},
|
13846
13998
|
{
|
13847
13999
|
"kind": "javascript-module",
|
13848
|
-
"path": "components/
|
14000
|
+
"path": "components/icon/icon.component.js",
|
13849
14001
|
"declarations": [
|
13850
14002
|
{
|
13851
14003
|
"kind": "class",
|
13852
|
-
"description": "
|
13853
|
-
"name": "
|
14004
|
+
"description": "Icon component that dynamically displays SVG icons based on a valid name.\n\nThis component must be mounted within an `IconProvider` component.\n\nThe `IconProvider` defines the source URL from which icons are consumed.\nThe `Icon` component accepts a `name` attribute, which corresponds to\nthe file name of the icon to be loaded from the specified URL.\n\nOnce fetched, the icon will be rendered. If the fetching process is unsuccessful,\nno icon will be displayed.\n\nThe `size` attribute allows for dynamic sizing of the icon based on the provided\n`length-unit` attribute. This unit can either come from the `IconProvider`\nor can be overridden for each individual icon. For example:\nif `size = 1` and `length-unit = 'em'`, the dimensions of the icon will be\n`width: 1em; height: 1em`.\n\nRegarding accessibility, there are three types of icons: decorative, informative and informative standalone.\n\n### Decorative Icons\n- Decorative icons do not convey any essential information to the content of a page.\n- They should be hidden from screen readers (SR) to prevent confusion for users.\n- For decorative icons, an `aria-label` is not required, and the `role` will be set to null.\n\n### Informative Icons\n- Informative icons convey important information that is not adequately represented\n by surrounding text or components.\n- They provide valuable context and must be announced by assistive technologies.\n- For informative icons, an `aria-label` is required, and the `role` will be set to \"img\" automatically.\n- If an `aria-label` is provided, the role will be set to 'img'; if it is absent,\n the role will be unset.\n\n### Informative Standalone Icons\n- If an icon is informative (as mentioned above) and does not belong to a button (=standalone), it must\nhave a Tooltip that describes what it means.\n- For informative standalone icons, an `aria-label` & `tabindex=\"0\"` is required,\nand the `role` will be set to \"img\" automatically.\n- **Only use this when a Icon is standalone and is not part of a button or other interactive elements.**",
|
14005
|
+
"name": "Icon",
|
14006
|
+
"cssProperties": [
|
14007
|
+
{
|
14008
|
+
"description": "Allows customization of the default fill color.",
|
14009
|
+
"name": "--mdc-icon-fill-color"
|
14010
|
+
},
|
14011
|
+
{
|
14012
|
+
"description": "Allows customization of the icon size.",
|
14013
|
+
"name": "--mdc-icon-size"
|
14014
|
+
},
|
14015
|
+
{
|
14016
|
+
"description": "Allows customization of the icon border radius.",
|
14017
|
+
"name": "--mdc-icon-border-radius"
|
14018
|
+
}
|
14019
|
+
],
|
14020
|
+
"cssParts": [
|
14021
|
+
{
|
14022
|
+
"description": "The svg inside the icon element.",
|
14023
|
+
"name": "icon"
|
14024
|
+
}
|
14025
|
+
],
|
13854
14026
|
"members": [
|
13855
14027
|
{
|
13856
14028
|
"kind": "field",
|
13857
|
-
"name": "
|
14029
|
+
"name": "iconData",
|
14030
|
+
"type": {
|
14031
|
+
"text": "HTMLElement | undefined"
|
14032
|
+
},
|
14033
|
+
"privacy": "private"
|
14034
|
+
},
|
14035
|
+
{
|
14036
|
+
"kind": "field",
|
14037
|
+
"name": "lengthUnitFromContext",
|
13858
14038
|
"type": {
|
13859
14039
|
"text": "string | undefined"
|
13860
14040
|
},
|
13861
|
-
"
|
13862
|
-
"attribute": "label",
|
13863
|
-
"reflects": true
|
14041
|
+
"privacy": "private"
|
13864
14042
|
},
|
13865
14043
|
{
|
13866
14044
|
"kind": "field",
|
13867
|
-
"name": "
|
14045
|
+
"name": "sizeFromContext",
|
13868
14046
|
"type": {
|
13869
|
-
"text": "
|
14047
|
+
"text": "number | undefined"
|
13870
14048
|
},
|
13871
|
-
"
|
13872
|
-
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
13873
|
-
"attribute": "required",
|
13874
|
-
"reflects": true
|
14049
|
+
"privacy": "private"
|
13875
14050
|
},
|
13876
14051
|
{
|
13877
14052
|
"kind": "field",
|
13878
|
-
"name": "
|
14053
|
+
"name": "name",
|
13879
14054
|
"type": {
|
13880
|
-
"text": "
|
14055
|
+
"text": "IconNames | undefined"
|
13881
14056
|
},
|
13882
|
-
"description": "
|
13883
|
-
"attribute": "
|
14057
|
+
"description": "Name of the icon (= filename)",
|
14058
|
+
"attribute": "name",
|
13884
14059
|
"reflects": true
|
13885
14060
|
},
|
13886
14061
|
{
|
13887
14062
|
"kind": "field",
|
13888
|
-
"name": "
|
14063
|
+
"name": "size",
|
13889
14064
|
"type": {
|
13890
|
-
"text": "
|
14065
|
+
"text": "number | undefined"
|
13891
14066
|
},
|
13892
|
-
"description": "
|
13893
|
-
"attribute": "
|
13894
|
-
"reflects": true
|
14067
|
+
"description": "Size of the icon (works in combination with length unit)",
|
14068
|
+
"attribute": "size"
|
13895
14069
|
},
|
13896
14070
|
{
|
13897
14071
|
"kind": "field",
|
13898
|
-
"name": "
|
14072
|
+
"name": "lengthUnit",
|
13899
14073
|
"type": {
|
13900
14074
|
"text": "string | undefined"
|
13901
14075
|
},
|
13902
|
-
"description": "
|
13903
|
-
"attribute": "
|
13904
|
-
"reflects": true
|
14076
|
+
"description": "Length unit attribute for overriding length-unit from `IconProvider`",
|
14077
|
+
"attribute": "length-unit"
|
13905
14078
|
},
|
13906
14079
|
{
|
13907
14080
|
"kind": "field",
|
13908
|
-
"name": "
|
14081
|
+
"name": "ariaLabel",
|
13909
14082
|
"type": {
|
13910
|
-
"text": "
|
14083
|
+
"text": "string | null"
|
13911
14084
|
},
|
13912
|
-
"
|
13913
|
-
"
|
13914
|
-
"attribute": "
|
13915
|
-
"reflects": true
|
14085
|
+
"default": "null",
|
14086
|
+
"description": "Aria-label attribute to be set for accessibility",
|
14087
|
+
"attribute": "aria-label"
|
13916
14088
|
},
|
13917
14089
|
{
|
13918
14090
|
"kind": "field",
|
13919
|
-
"name": "
|
14091
|
+
"name": "ariaLabelledBy",
|
13920
14092
|
"type": {
|
13921
|
-
"text": "string |
|
14093
|
+
"text": "string | null"
|
13922
14094
|
},
|
13923
|
-
"
|
13924
|
-
"
|
13925
|
-
"
|
14095
|
+
"default": "null",
|
14096
|
+
"description": "Aria-labelledby attribute to be set for accessibility",
|
14097
|
+
"attribute": "aria-labelledby"
|
13926
14098
|
},
|
13927
14099
|
{
|
13928
|
-
"kind": "
|
13929
|
-
"name": "
|
13930
|
-
"privacy": "
|
13931
|
-
"
|
13932
|
-
"return": {
|
13933
|
-
"type": {
|
13934
|
-
"text": ""
|
13935
|
-
}
|
13936
|
-
}
|
13937
|
-
},
|
13938
|
-
{
|
13939
|
-
"kind": "method",
|
13940
|
-
"name": "renderHelpTextIcon",
|
13941
|
-
"privacy": "protected",
|
13942
|
-
"description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
|
13943
|
-
"return": {
|
13944
|
-
"type": {
|
13945
|
-
"text": ""
|
13946
|
-
}
|
13947
|
-
}
|
13948
|
-
},
|
13949
|
-
{
|
13950
|
-
"kind": "method",
|
13951
|
-
"name": "renderHelpText",
|
13952
|
-
"privacy": "protected",
|
13953
|
-
"description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
|
13954
|
-
"return": {
|
13955
|
-
"type": {
|
13956
|
-
"text": ""
|
13957
|
-
}
|
13958
|
-
}
|
13959
|
-
},
|
13960
|
-
{
|
13961
|
-
"kind": "method",
|
13962
|
-
"name": "renderLabel",
|
13963
|
-
"privacy": "protected",
|
13964
|
-
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
13965
|
-
"return": {
|
13966
|
-
"type": {
|
13967
|
-
"text": ""
|
13968
|
-
}
|
13969
|
-
}
|
13970
|
-
},
|
13971
|
-
{
|
13972
|
-
"kind": "method",
|
13973
|
-
"name": "renderHelperText",
|
13974
|
-
"privacy": "protected",
|
13975
|
-
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
13976
|
-
"return": {
|
13977
|
-
"type": {
|
13978
|
-
"text": ""
|
13979
|
-
}
|
13980
|
-
}
|
13981
|
-
},
|
13982
|
-
{
|
13983
|
-
"kind": "field",
|
13984
|
-
"name": "disabled",
|
13985
|
-
"type": {
|
13986
|
-
"text": "boolean | undefined"
|
13987
|
-
},
|
13988
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
13989
|
-
"default": "undefined",
|
13990
|
-
"attribute": "disabled",
|
13991
|
-
"reflects": true,
|
13992
|
-
"inheritedFrom": {
|
13993
|
-
"name": "DisabledMixin",
|
13994
|
-
"module": "utils/mixins/DisabledMixin.js"
|
13995
|
-
}
|
13996
|
-
}
|
13997
|
-
],
|
13998
|
-
"attributes": [
|
13999
|
-
{
|
14000
|
-
"name": "label",
|
14001
|
-
"type": {
|
14002
|
-
"text": "string | undefined"
|
14003
|
-
},
|
14004
|
-
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
14005
|
-
"fieldName": "label"
|
14006
|
-
},
|
14007
|
-
{
|
14008
|
-
"name": "required",
|
14009
|
-
"type": {
|
14010
|
-
"text": "boolean"
|
14011
|
-
},
|
14012
|
-
"default": "false",
|
14013
|
-
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
14014
|
-
"fieldName": "required"
|
14015
|
-
},
|
14016
|
-
{
|
14017
|
-
"name": "help-text-type",
|
14018
|
-
"type": {
|
14019
|
-
"text": "ValidationType"
|
14020
|
-
},
|
14021
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
14022
|
-
"fieldName": "helpTextType"
|
14023
|
-
},
|
14024
|
-
{
|
14025
|
-
"name": "help-text",
|
14026
|
-
"type": {
|
14027
|
-
"text": "string | undefined"
|
14028
|
-
},
|
14029
|
-
"description": "The help text that is displayed below the input field.",
|
14030
|
-
"fieldName": "helpText"
|
14031
|
-
},
|
14032
|
-
{
|
14033
|
-
"name": "toggletip-text",
|
14034
|
-
"type": {
|
14035
|
-
"text": "string | undefined"
|
14036
|
-
},
|
14037
|
-
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
14038
|
-
"fieldName": "toggletipText"
|
14039
|
-
},
|
14040
|
-
{
|
14041
|
-
"name": "toggletip-placement",
|
14042
|
-
"type": {
|
14043
|
-
"text": "PopoverPlacement"
|
14044
|
-
},
|
14045
|
-
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
14046
|
-
"default": "'top'",
|
14047
|
-
"fieldName": "toggletipPlacement"
|
14048
|
-
},
|
14049
|
-
{
|
14050
|
-
"name": "info-icon-aria-label",
|
14051
|
-
"type": {
|
14052
|
-
"text": "string | undefined"
|
14053
|
-
},
|
14054
|
-
"description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
|
14055
|
-
"fieldName": "infoIconAriaLabel"
|
14056
|
-
},
|
14057
|
-
{
|
14058
|
-
"name": "disabled",
|
14059
|
-
"type": {
|
14060
|
-
"text": "boolean | undefined"
|
14061
|
-
},
|
14062
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
14063
|
-
"default": "undefined",
|
14064
|
-
"fieldName": "disabled",
|
14065
|
-
"inheritedFrom": {
|
14066
|
-
"name": "DisabledMixin",
|
14067
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
14068
|
-
}
|
14069
|
-
}
|
14070
|
-
],
|
14071
|
-
"mixins": [
|
14072
|
-
{
|
14073
|
-
"name": "DisabledMixin",
|
14074
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
14075
|
-
}
|
14076
|
-
],
|
14077
|
-
"superclass": {
|
14078
|
-
"name": "Component",
|
14079
|
-
"module": "/src/models"
|
14080
|
-
},
|
14081
|
-
"tagName": "mdc-formfieldwrapper",
|
14082
|
-
"jsDoc": "/**\n * formfieldwrapper is a component that contains the label and helper/validation text\n * that can be configured in various ways to suit different use cases (most of the input related components).\n * It is used as an internal component and is not intended to be used directly by consumers.\n *\n * @tagname mdc-formfieldwrapper\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n * @dependency mdc-button\n * @dependency mdc-toggletip\n *\n *\n */",
|
14083
|
-
"customElement": true
|
14084
|
-
}
|
14085
|
-
],
|
14086
|
-
"exports": [
|
14087
|
-
{
|
14088
|
-
"kind": "js",
|
14089
|
-
"name": "default",
|
14090
|
-
"declaration": {
|
14091
|
-
"name": "FormfieldWrapper",
|
14092
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
14093
|
-
}
|
14094
|
-
}
|
14095
|
-
]
|
14096
|
-
},
|
14097
|
-
{
|
14098
|
-
"kind": "javascript-module",
|
14099
|
-
"path": "components/icon/icon.component.js",
|
14100
|
-
"declarations": [
|
14101
|
-
{
|
14102
|
-
"kind": "class",
|
14103
|
-
"description": "Icon component that dynamically displays SVG icons based on a valid name.\n\nThis component must be mounted within an `IconProvider` component.\n\nThe `IconProvider` defines the source URL from which icons are consumed.\nThe `Icon` component accepts a `name` attribute, which corresponds to\nthe file name of the icon to be loaded from the specified URL.\n\nOnce fetched, the icon will be rendered. If the fetching process is unsuccessful,\nno icon will be displayed.\n\nThe `size` attribute allows for dynamic sizing of the icon based on the provided\n`length-unit` attribute. This unit can either come from the `IconProvider`\nor can be overridden for each individual icon. For example:\nif `size = 1` and `length-unit = 'em'`, the dimensions of the icon will be\n`width: 1em; height: 1em`.\n\nRegarding accessibility, there are three types of icons: decorative, informative and informative standalone.\n\n### Decorative Icons\n- Decorative icons do not convey any essential information to the content of a page.\n- They should be hidden from screen readers (SR) to prevent confusion for users.\n- For decorative icons, an `aria-label` is not required, and the `role` will be set to null.\n\n### Informative Icons\n- Informative icons convey important information that is not adequately represented\n by surrounding text or components.\n- They provide valuable context and must be announced by assistive technologies.\n- For informative icons, an `aria-label` is required, and the `role` will be set to \"img\" automatically.\n- If an `aria-label` is provided, the role will be set to 'img'; if it is absent,\n the role will be unset.\n\n### Informative Standalone Icons\n- If an icon is informative (as mentioned above) and does not belong to a button (=standalone), it must\nhave a Tooltip that describes what it means.\n- For informative standalone icons, an `aria-label` & `tabindex=\"0\"` is required,\nand the `role` will be set to \"img\" automatically.\n- **Only use this when a Icon is standalone and is not part of a button or other interactive elements.**",
|
14104
|
-
"name": "Icon",
|
14105
|
-
"cssProperties": [
|
14106
|
-
{
|
14107
|
-
"description": "Allows customization of the default fill color.",
|
14108
|
-
"name": "--mdc-icon-fill-color"
|
14109
|
-
},
|
14110
|
-
{
|
14111
|
-
"description": "Allows customization of the icon size.",
|
14112
|
-
"name": "--mdc-icon-size"
|
14113
|
-
},
|
14114
|
-
{
|
14115
|
-
"description": "Allows customization of the icon border radius.",
|
14116
|
-
"name": "--mdc-icon-border-radius"
|
14117
|
-
}
|
14118
|
-
],
|
14119
|
-
"cssParts": [
|
14120
|
-
{
|
14121
|
-
"description": "The svg inside the icon element.",
|
14122
|
-
"name": "icon"
|
14123
|
-
}
|
14124
|
-
],
|
14125
|
-
"members": [
|
14126
|
-
{
|
14127
|
-
"kind": "field",
|
14128
|
-
"name": "iconData",
|
14129
|
-
"type": {
|
14130
|
-
"text": "HTMLElement | undefined"
|
14131
|
-
},
|
14132
|
-
"privacy": "private"
|
14133
|
-
},
|
14134
|
-
{
|
14135
|
-
"kind": "field",
|
14136
|
-
"name": "lengthUnitFromContext",
|
14137
|
-
"type": {
|
14138
|
-
"text": "string | undefined"
|
14139
|
-
},
|
14140
|
-
"privacy": "private"
|
14141
|
-
},
|
14142
|
-
{
|
14143
|
-
"kind": "field",
|
14144
|
-
"name": "sizeFromContext",
|
14145
|
-
"type": {
|
14146
|
-
"text": "number | undefined"
|
14147
|
-
},
|
14148
|
-
"privacy": "private"
|
14149
|
-
},
|
14150
|
-
{
|
14151
|
-
"kind": "field",
|
14152
|
-
"name": "name",
|
14153
|
-
"type": {
|
14154
|
-
"text": "IconNames | undefined"
|
14155
|
-
},
|
14156
|
-
"description": "Name of the icon (= filename)",
|
14157
|
-
"attribute": "name",
|
14158
|
-
"reflects": true
|
14159
|
-
},
|
14160
|
-
{
|
14161
|
-
"kind": "field",
|
14162
|
-
"name": "size",
|
14163
|
-
"type": {
|
14164
|
-
"text": "number | undefined"
|
14165
|
-
},
|
14166
|
-
"description": "Size of the icon (works in combination with length unit)",
|
14167
|
-
"attribute": "size"
|
14168
|
-
},
|
14169
|
-
{
|
14170
|
-
"kind": "field",
|
14171
|
-
"name": "lengthUnit",
|
14172
|
-
"type": {
|
14173
|
-
"text": "string | undefined"
|
14174
|
-
},
|
14175
|
-
"description": "Length unit attribute for overriding length-unit from `IconProvider`",
|
14176
|
-
"attribute": "length-unit"
|
14177
|
-
},
|
14178
|
-
{
|
14179
|
-
"kind": "field",
|
14180
|
-
"name": "ariaLabel",
|
14181
|
-
"type": {
|
14182
|
-
"text": "string | null"
|
14183
|
-
},
|
14184
|
-
"default": "null",
|
14185
|
-
"description": "Aria-label attribute to be set for accessibility",
|
14186
|
-
"attribute": "aria-label"
|
14187
|
-
},
|
14188
|
-
{
|
14189
|
-
"kind": "field",
|
14190
|
-
"name": "ariaLabelledBy",
|
14191
|
-
"type": {
|
14192
|
-
"text": "string | null"
|
14193
|
-
},
|
14194
|
-
"default": "null",
|
14195
|
-
"description": "Aria-labelledby attribute to be set for accessibility",
|
14196
|
-
"attribute": "aria-labelledby"
|
14197
|
-
},
|
14198
|
-
{
|
14199
|
-
"kind": "field",
|
14200
|
-
"name": "iconProviderContext",
|
14201
|
-
"privacy": "private",
|
14202
|
-
"readonly": true
|
14100
|
+
"kind": "field",
|
14101
|
+
"name": "iconProviderContext",
|
14102
|
+
"privacy": "private",
|
14103
|
+
"readonly": true
|
14203
14104
|
},
|
14204
14105
|
{
|
14205
14106
|
"kind": "field",
|
@@ -14367,163 +14268,414 @@
|
|
14367
14268
|
},
|
14368
14269
|
{
|
14369
14270
|
"kind": "field",
|
14370
|
-
"name": "iconSet",
|
14271
|
+
"name": "iconSet",
|
14272
|
+
"type": {
|
14273
|
+
"text": "IconSet | undefined"
|
14274
|
+
},
|
14275
|
+
"description": "Icon set to be used\n\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.",
|
14276
|
+
"default": "momentum-icons",
|
14277
|
+
"attribute": "icon-set",
|
14278
|
+
"reflects": true
|
14279
|
+
},
|
14280
|
+
{
|
14281
|
+
"kind": "field",
|
14282
|
+
"name": "url",
|
14283
|
+
"type": {
|
14284
|
+
"text": "string | undefined"
|
14285
|
+
},
|
14286
|
+
"description": "Url of where icons will be fetched from\n(if Icon set is `custom-icons`, this will be the base url)",
|
14287
|
+
"attribute": "url"
|
14288
|
+
},
|
14289
|
+
{
|
14290
|
+
"kind": "field",
|
14291
|
+
"name": "fileExtension",
|
14292
|
+
"type": {
|
14293
|
+
"text": "string | undefined"
|
14294
|
+
},
|
14295
|
+
"description": "File extension of icons\n(if Icon set is `custom-icons`, this will be the file extension for icons)",
|
14296
|
+
"default": "svg",
|
14297
|
+
"attribute": "file-extension",
|
14298
|
+
"reflects": true
|
14299
|
+
},
|
14300
|
+
{
|
14301
|
+
"kind": "field",
|
14302
|
+
"name": "lengthUnit",
|
14303
|
+
"type": {
|
14304
|
+
"text": "string"
|
14305
|
+
},
|
14306
|
+
"description": "Length unit used for sizing of icons",
|
14307
|
+
"default": "em",
|
14308
|
+
"attribute": "length-unit",
|
14309
|
+
"reflects": true
|
14310
|
+
},
|
14311
|
+
{
|
14312
|
+
"kind": "field",
|
14313
|
+
"name": "size",
|
14314
|
+
"type": {
|
14315
|
+
"text": "number | undefined"
|
14316
|
+
},
|
14317
|
+
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
14318
|
+
"default": "1",
|
14319
|
+
"attribute": "size",
|
14320
|
+
"reflects": true
|
14321
|
+
},
|
14322
|
+
{
|
14323
|
+
"kind": "field",
|
14324
|
+
"name": "cacheStrategy",
|
14325
|
+
"type": {
|
14326
|
+
"text": "CacheStrategy | undefined"
|
14327
|
+
},
|
14328
|
+
"description": "Icons Cache Strategy to use\n\n**Can only be used if Icon set is `custom-icons`**\n\nChoose `in-memory-cache` to cache icons in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache icons using the Web Cache API.\n\nNOTE: `cache-name` must be provided if `cache-strategy` is provided.\n\nIf not provided or invalid value provided, the icons will not be cached.",
|
14329
|
+
"default": "undefined",
|
14330
|
+
"attribute": "cache-strategy"
|
14331
|
+
},
|
14332
|
+
{
|
14333
|
+
"kind": "field",
|
14334
|
+
"name": "cacheName",
|
14335
|
+
"type": {
|
14336
|
+
"text": "string | undefined"
|
14337
|
+
},
|
14338
|
+
"description": "Icons Cache Name to use (cache strategy must be provided)\n\nIf provided, Icons inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the icons will not be cached.",
|
14339
|
+
"default": "undefined",
|
14340
|
+
"attribute": "cache-name"
|
14341
|
+
},
|
14342
|
+
{
|
14343
|
+
"kind": "method",
|
14344
|
+
"name": "updateValuesInContext",
|
14345
|
+
"privacy": "private"
|
14346
|
+
},
|
14347
|
+
{
|
14348
|
+
"kind": "method",
|
14349
|
+
"name": "updateContext",
|
14350
|
+
"privacy": "protected",
|
14351
|
+
"return": {
|
14352
|
+
"type": {
|
14353
|
+
"text": "void"
|
14354
|
+
}
|
14355
|
+
}
|
14356
|
+
}
|
14357
|
+
],
|
14358
|
+
"attributes": [
|
14359
|
+
{
|
14360
|
+
"name": "icon-set",
|
14361
|
+
"type": {
|
14362
|
+
"text": "IconSet | undefined"
|
14363
|
+
},
|
14364
|
+
"description": "Icon set to be used\n\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.",
|
14365
|
+
"default": "momentum-icons",
|
14366
|
+
"fieldName": "iconSet"
|
14367
|
+
},
|
14368
|
+
{
|
14369
|
+
"name": "url",
|
14370
|
+
"type": {
|
14371
|
+
"text": "string | undefined"
|
14372
|
+
},
|
14373
|
+
"description": "Url of where icons will be fetched from\n(if Icon set is `custom-icons`, this will be the base url)",
|
14374
|
+
"fieldName": "url"
|
14375
|
+
},
|
14376
|
+
{
|
14377
|
+
"name": "file-extension",
|
14378
|
+
"type": {
|
14379
|
+
"text": "string | undefined"
|
14380
|
+
},
|
14381
|
+
"description": "File extension of icons\n(if Icon set is `custom-icons`, this will be the file extension for icons)",
|
14382
|
+
"default": "svg",
|
14383
|
+
"fieldName": "fileExtension"
|
14384
|
+
},
|
14385
|
+
{
|
14386
|
+
"name": "length-unit",
|
14387
|
+
"type": {
|
14388
|
+
"text": "string"
|
14389
|
+
},
|
14390
|
+
"description": "Length unit used for sizing of icons",
|
14391
|
+
"default": "em",
|
14392
|
+
"fieldName": "lengthUnit"
|
14393
|
+
},
|
14394
|
+
{
|
14395
|
+
"name": "size",
|
14396
|
+
"type": {
|
14397
|
+
"text": "number | undefined"
|
14398
|
+
},
|
14399
|
+
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
14400
|
+
"default": "1",
|
14401
|
+
"fieldName": "size"
|
14402
|
+
},
|
14403
|
+
{
|
14404
|
+
"name": "cache-strategy",
|
14405
|
+
"type": {
|
14406
|
+
"text": "CacheStrategy | undefined"
|
14407
|
+
},
|
14408
|
+
"description": "Icons Cache Strategy to use\n\n**Can only be used if Icon set is `custom-icons`**\n\nChoose `in-memory-cache` to cache icons in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache icons using the Web Cache API.\n\nNOTE: `cache-name` must be provided if `cache-strategy` is provided.\n\nIf not provided or invalid value provided, the icons will not be cached.",
|
14409
|
+
"default": "undefined",
|
14410
|
+
"fieldName": "cacheStrategy"
|
14411
|
+
},
|
14412
|
+
{
|
14413
|
+
"name": "cache-name",
|
14414
|
+
"type": {
|
14415
|
+
"text": "string | undefined"
|
14416
|
+
},
|
14417
|
+
"description": "Icons Cache Name to use (cache strategy must be provided)\n\nIf provided, Icons inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the icons will not be cached.",
|
14418
|
+
"default": "undefined",
|
14419
|
+
"fieldName": "cacheName"
|
14420
|
+
}
|
14421
|
+
],
|
14422
|
+
"superclass": {
|
14423
|
+
"name": "Provider",
|
14424
|
+
"module": "/src/models"
|
14425
|
+
},
|
14426
|
+
"tagName": "mdc-iconprovider",
|
14427
|
+
"jsDoc": "/**\n * IconProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Attribute `iconSet` can be set to either `momentum-icons` or `custom-icons`.\n * If `momentum-icons` is selected, the icons will be fetched from the\n * Momentum Design System icon set per a dynamic JS Import (no need to provide a URL).\n * This requires the consumer to have the `@momentum-designs` package installed and the\n * build tooling needs to support dynamic imports.\n *\n * If `custom-icons` is selected, the icons will be fetched from the provided URL.\n * This requires the consumer to provide a URL from which the icons will be fetched and\n * the consumer needs to make sure to bundle the icons in the application.\n *\n * If `cacheStrategy` is provided (only works with iconSet = `custom-icons`), the\n * IconProvider will cache the icons in the selected cache (either web-api-cache or in-memory-cache),\n * to avoid fetching the same icon multiple times over the network.\n * This is useful when the same icon is used multiple times in the application.\n * To consider:\n * - The `in-memory-cache` is not persisted and will be lost when the\n * IconProvider is removed from the DOM.\n * - The `web-api-cache` is persisted, but only works in https environments\n * (https://developer.mozilla.org/en-US/docs/Web/API/Cache).\n *\n * @tagname mdc-iconprovider\n *\n * @slot - children\n */",
|
14428
|
+
"customElement": true
|
14429
|
+
}
|
14430
|
+
],
|
14431
|
+
"exports": [
|
14432
|
+
{
|
14433
|
+
"kind": "js",
|
14434
|
+
"name": "default",
|
14435
|
+
"declaration": {
|
14436
|
+
"name": "IconProvider",
|
14437
|
+
"module": "components/iconprovider/iconprovider.component.js"
|
14438
|
+
}
|
14439
|
+
}
|
14440
|
+
]
|
14441
|
+
},
|
14442
|
+
{
|
14443
|
+
"kind": "javascript-module",
|
14444
|
+
"path": "components/formfieldwrapper/formfieldwrapper.component.js",
|
14445
|
+
"declarations": [
|
14446
|
+
{
|
14447
|
+
"kind": "class",
|
14448
|
+
"description": "formfieldwrapper is a component that contains the label and helper/validation text\n that can be configured in various ways to suit different use cases (most of the input related components).\nIt is used as an internal component and is not intended to be used directly by consumers.",
|
14449
|
+
"name": "FormfieldWrapper",
|
14450
|
+
"members": [
|
14451
|
+
{
|
14452
|
+
"kind": "field",
|
14453
|
+
"name": "label",
|
14371
14454
|
"type": {
|
14372
|
-
"text": "
|
14455
|
+
"text": "string | undefined"
|
14373
14456
|
},
|
14374
|
-
"description": "
|
14375
|
-
"
|
14376
|
-
"attribute": "icon-set",
|
14457
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
14458
|
+
"attribute": "label",
|
14377
14459
|
"reflects": true
|
14378
14460
|
},
|
14379
14461
|
{
|
14380
14462
|
"kind": "field",
|
14381
|
-
"name": "
|
14463
|
+
"name": "required",
|
14382
14464
|
"type": {
|
14383
|
-
"text": "
|
14465
|
+
"text": "boolean"
|
14384
14466
|
},
|
14385
|
-
"
|
14386
|
-
"
|
14467
|
+
"default": "false",
|
14468
|
+
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
14469
|
+
"attribute": "required",
|
14470
|
+
"reflects": true
|
14387
14471
|
},
|
14388
14472
|
{
|
14389
14473
|
"kind": "field",
|
14390
|
-
"name": "
|
14474
|
+
"name": "helpTextType",
|
14391
14475
|
"type": {
|
14392
|
-
"text": "
|
14476
|
+
"text": "ValidationType"
|
14393
14477
|
},
|
14394
|
-
"description": "
|
14395
|
-
"
|
14396
|
-
"attribute": "file-extension",
|
14478
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
14479
|
+
"attribute": "help-text-type",
|
14397
14480
|
"reflects": true
|
14398
14481
|
},
|
14399
14482
|
{
|
14400
14483
|
"kind": "field",
|
14401
|
-
"name": "
|
14484
|
+
"name": "helpText",
|
14402
14485
|
"type": {
|
14403
|
-
"text": "string"
|
14486
|
+
"text": "string | undefined"
|
14404
14487
|
},
|
14405
|
-
"description": "
|
14406
|
-
"
|
14407
|
-
"attribute": "length-unit",
|
14488
|
+
"description": "The help text that is displayed below the input field.",
|
14489
|
+
"attribute": "help-text",
|
14408
14490
|
"reflects": true
|
14409
14491
|
},
|
14410
14492
|
{
|
14411
14493
|
"kind": "field",
|
14412
|
-
"name": "
|
14494
|
+
"name": "toggletipText",
|
14413
14495
|
"type": {
|
14414
|
-
"text": "
|
14496
|
+
"text": "string | undefined"
|
14415
14497
|
},
|
14416
|
-
"description": "The
|
14417
|
-
"
|
14418
|
-
"attribute": "size",
|
14498
|
+
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
14499
|
+
"attribute": "toggletip-text",
|
14419
14500
|
"reflects": true
|
14420
14501
|
},
|
14421
14502
|
{
|
14422
14503
|
"kind": "field",
|
14423
|
-
"name": "
|
14504
|
+
"name": "toggletipPlacement",
|
14424
14505
|
"type": {
|
14425
|
-
"text": "
|
14506
|
+
"text": "PopoverPlacement"
|
14426
14507
|
},
|
14427
|
-
"description": "
|
14428
|
-
"default": "
|
14429
|
-
"attribute": "
|
14508
|
+
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
14509
|
+
"default": "'top'",
|
14510
|
+
"attribute": "toggletip-placement",
|
14511
|
+
"reflects": true
|
14430
14512
|
},
|
14431
14513
|
{
|
14432
14514
|
"kind": "field",
|
14433
|
-
"name": "
|
14515
|
+
"name": "infoIconAriaLabel",
|
14434
14516
|
"type": {
|
14435
14517
|
"text": "string | undefined"
|
14436
14518
|
},
|
14437
|
-
"description": "
|
14438
|
-
"
|
14439
|
-
"
|
14519
|
+
"description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
|
14520
|
+
"attribute": "info-icon-aria-label",
|
14521
|
+
"reflects": true
|
14440
14522
|
},
|
14441
14523
|
{
|
14442
14524
|
"kind": "method",
|
14443
|
-
"name": "
|
14444
|
-
"privacy": "
|
14525
|
+
"name": "renderLabelElement",
|
14526
|
+
"privacy": "protected",
|
14527
|
+
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
14528
|
+
"return": {
|
14529
|
+
"type": {
|
14530
|
+
"text": ""
|
14531
|
+
}
|
14532
|
+
}
|
14445
14533
|
},
|
14446
14534
|
{
|
14447
14535
|
"kind": "method",
|
14448
|
-
"name": "
|
14536
|
+
"name": "renderHelpTextIcon",
|
14449
14537
|
"privacy": "protected",
|
14538
|
+
"description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
|
14450
14539
|
"return": {
|
14451
14540
|
"type": {
|
14452
|
-
"text": "
|
14541
|
+
"text": ""
|
14542
|
+
}
|
14543
|
+
}
|
14544
|
+
},
|
14545
|
+
{
|
14546
|
+
"kind": "method",
|
14547
|
+
"name": "renderHelpText",
|
14548
|
+
"privacy": "protected",
|
14549
|
+
"description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
|
14550
|
+
"return": {
|
14551
|
+
"type": {
|
14552
|
+
"text": ""
|
14553
|
+
}
|
14554
|
+
}
|
14555
|
+
},
|
14556
|
+
{
|
14557
|
+
"kind": "method",
|
14558
|
+
"name": "renderLabel",
|
14559
|
+
"privacy": "protected",
|
14560
|
+
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
14561
|
+
"return": {
|
14562
|
+
"type": {
|
14563
|
+
"text": ""
|
14564
|
+
}
|
14565
|
+
}
|
14566
|
+
},
|
14567
|
+
{
|
14568
|
+
"kind": "method",
|
14569
|
+
"name": "renderHelperText",
|
14570
|
+
"privacy": "protected",
|
14571
|
+
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
14572
|
+
"return": {
|
14573
|
+
"type": {
|
14574
|
+
"text": ""
|
14453
14575
|
}
|
14454
14576
|
}
|
14577
|
+
},
|
14578
|
+
{
|
14579
|
+
"kind": "field",
|
14580
|
+
"name": "disabled",
|
14581
|
+
"type": {
|
14582
|
+
"text": "boolean | undefined"
|
14583
|
+
},
|
14584
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
14585
|
+
"default": "undefined",
|
14586
|
+
"attribute": "disabled",
|
14587
|
+
"reflects": true,
|
14588
|
+
"inheritedFrom": {
|
14589
|
+
"name": "DisabledMixin",
|
14590
|
+
"module": "utils/mixins/DisabledMixin.js"
|
14591
|
+
}
|
14455
14592
|
}
|
14456
14593
|
],
|
14457
14594
|
"attributes": [
|
14458
14595
|
{
|
14459
|
-
"name": "
|
14596
|
+
"name": "label",
|
14460
14597
|
"type": {
|
14461
|
-
"text": "
|
14598
|
+
"text": "string | undefined"
|
14462
14599
|
},
|
14463
|
-
"description": "
|
14464
|
-
"
|
14465
|
-
"fieldName": "iconSet"
|
14600
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
14601
|
+
"fieldName": "label"
|
14466
14602
|
},
|
14467
14603
|
{
|
14468
|
-
"name": "
|
14604
|
+
"name": "required",
|
14469
14605
|
"type": {
|
14470
|
-
"text": "
|
14606
|
+
"text": "boolean"
|
14471
14607
|
},
|
14472
|
-
"
|
14473
|
-
"
|
14608
|
+
"default": "false",
|
14609
|
+
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
14610
|
+
"fieldName": "required"
|
14474
14611
|
},
|
14475
14612
|
{
|
14476
|
-
"name": "
|
14613
|
+
"name": "help-text-type",
|
14477
14614
|
"type": {
|
14478
|
-
"text": "
|
14615
|
+
"text": "ValidationType"
|
14479
14616
|
},
|
14480
|
-
"description": "
|
14481
|
-
"
|
14482
|
-
"fieldName": "fileExtension"
|
14617
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
14618
|
+
"fieldName": "helpTextType"
|
14483
14619
|
},
|
14484
14620
|
{
|
14485
|
-
"name": "
|
14621
|
+
"name": "help-text",
|
14486
14622
|
"type": {
|
14487
|
-
"text": "string"
|
14623
|
+
"text": "string | undefined"
|
14488
14624
|
},
|
14489
|
-
"description": "
|
14490
|
-
"
|
14491
|
-
"fieldName": "lengthUnit"
|
14625
|
+
"description": "The help text that is displayed below the input field.",
|
14626
|
+
"fieldName": "helpText"
|
14492
14627
|
},
|
14493
14628
|
{
|
14494
|
-
"name": "
|
14629
|
+
"name": "toggletip-text",
|
14495
14630
|
"type": {
|
14496
|
-
"text": "
|
14631
|
+
"text": "string | undefined"
|
14497
14632
|
},
|
14498
|
-
"description": "The
|
14499
|
-
"
|
14500
|
-
"fieldName": "size"
|
14633
|
+
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
14634
|
+
"fieldName": "toggletipText"
|
14501
14635
|
},
|
14502
14636
|
{
|
14503
|
-
"name": "
|
14637
|
+
"name": "toggletip-placement",
|
14504
14638
|
"type": {
|
14505
|
-
"text": "
|
14639
|
+
"text": "PopoverPlacement"
|
14506
14640
|
},
|
14507
|
-
"description": "
|
14508
|
-
"default": "
|
14509
|
-
"fieldName": "
|
14641
|
+
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
14642
|
+
"default": "'top'",
|
14643
|
+
"fieldName": "toggletipPlacement"
|
14510
14644
|
},
|
14511
14645
|
{
|
14512
|
-
"name": "
|
14646
|
+
"name": "info-icon-aria-label",
|
14513
14647
|
"type": {
|
14514
14648
|
"text": "string | undefined"
|
14515
14649
|
},
|
14516
|
-
"description": "
|
14650
|
+
"description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
|
14651
|
+
"fieldName": "infoIconAriaLabel"
|
14652
|
+
},
|
14653
|
+
{
|
14654
|
+
"name": "disabled",
|
14655
|
+
"type": {
|
14656
|
+
"text": "boolean | undefined"
|
14657
|
+
},
|
14658
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
14517
14659
|
"default": "undefined",
|
14518
|
-
"fieldName": "
|
14660
|
+
"fieldName": "disabled",
|
14661
|
+
"inheritedFrom": {
|
14662
|
+
"name": "DisabledMixin",
|
14663
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
14664
|
+
}
|
14665
|
+
}
|
14666
|
+
],
|
14667
|
+
"mixins": [
|
14668
|
+
{
|
14669
|
+
"name": "DisabledMixin",
|
14670
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
14519
14671
|
}
|
14520
14672
|
],
|
14521
14673
|
"superclass": {
|
14522
|
-
"name": "
|
14674
|
+
"name": "Component",
|
14523
14675
|
"module": "/src/models"
|
14524
14676
|
},
|
14525
|
-
"tagName": "mdc-
|
14526
|
-
"jsDoc": "/**\n *
|
14677
|
+
"tagName": "mdc-formfieldwrapper",
|
14678
|
+
"jsDoc": "/**\n * formfieldwrapper is a component that contains the label and helper/validation text\n * that can be configured in various ways to suit different use cases (most of the input related components).\n * It is used as an internal component and is not intended to be used directly by consumers.\n *\n * @tagname mdc-formfieldwrapper\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n * @dependency mdc-button\n * @dependency mdc-toggletip\n *\n *\n */",
|
14527
14679
|
"customElement": true
|
14528
14680
|
}
|
14529
14681
|
],
|
@@ -14532,8 +14684,8 @@
|
|
14532
14684
|
"kind": "js",
|
14533
14685
|
"name": "default",
|
14534
14686
|
"declaration": {
|
14535
|
-
"name": "
|
14536
|
-
"module": "components/
|
14687
|
+
"name": "FormfieldWrapper",
|
14688
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
14537
14689
|
}
|
14538
14690
|
}
|
14539
14691
|
]
|
@@ -15755,6 +15907,20 @@
|
|
15755
15907
|
"kind": "class",
|
15756
15908
|
"description": "`mdc-link` component can be used to navigate to a different page\nwithin the application or to an external site. It can be used to link to\nemails or phone numbers.\n\nThe `children` of the link component is expected to be the text content.\n\nFor `icon`, the `mdc-icon` component is used to render the icon.",
|
15757
15909
|
"name": "Link",
|
15910
|
+
"cssParts": [
|
15911
|
+
{
|
15912
|
+
"description": "The anchor element that wraps the link content.",
|
15913
|
+
"name": "anchor",
|
15914
|
+
"inheritedFrom": {
|
15915
|
+
"name": "Linksimple",
|
15916
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
15917
|
+
}
|
15918
|
+
},
|
15919
|
+
{
|
15920
|
+
"description": "The icon element.",
|
15921
|
+
"name": "icon"
|
15922
|
+
}
|
15923
|
+
],
|
15758
15924
|
"members": [
|
15759
15925
|
{
|
15760
15926
|
"kind": "field",
|
@@ -15793,32 +15959,32 @@
|
|
15793
15959
|
},
|
15794
15960
|
{
|
15795
15961
|
"kind": "field",
|
15796
|
-
"name": "
|
15962
|
+
"name": "dataAriaLabel",
|
15797
15963
|
"type": {
|
15798
|
-
"text": "
|
15964
|
+
"text": "string | null"
|
15799
15965
|
},
|
15800
|
-
"
|
15801
|
-
"
|
15802
|
-
"attribute": "
|
15966
|
+
"default": "null",
|
15967
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
15968
|
+
"attribute": "data-aria-label",
|
15803
15969
|
"reflects": true,
|
15804
15970
|
"inheritedFrom": {
|
15805
|
-
"name": "
|
15806
|
-
"module": "utils/mixins/
|
15971
|
+
"name": "DataAriaLabelMixin",
|
15972
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
15807
15973
|
}
|
15808
15974
|
},
|
15809
15975
|
{
|
15810
15976
|
"kind": "field",
|
15811
|
-
"name": "
|
15977
|
+
"name": "disabled",
|
15812
15978
|
"type": {
|
15813
|
-
"text": "
|
15814
|
-
},
|
15815
|
-
"
|
15816
|
-
"
|
15817
|
-
"attribute": "
|
15979
|
+
"text": "boolean | undefined"
|
15980
|
+
},
|
15981
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
15982
|
+
"default": "undefined",
|
15983
|
+
"attribute": "disabled",
|
15818
15984
|
"reflects": true,
|
15819
15985
|
"inheritedFrom": {
|
15820
|
-
"name": "
|
15821
|
-
"module": "utils/mixins/
|
15986
|
+
"name": "DisabledMixin",
|
15987
|
+
"module": "utils/mixins/DisabledMixin.js"
|
15822
15988
|
}
|
15823
15989
|
},
|
15824
15990
|
{
|
@@ -15895,10 +16061,80 @@
|
|
15895
16061
|
"module": "components/linksimple/linksimple.component.js"
|
15896
16062
|
}
|
15897
16063
|
},
|
16064
|
+
{
|
16065
|
+
"kind": "field",
|
16066
|
+
"name": "download",
|
16067
|
+
"type": {
|
16068
|
+
"text": "string | undefined"
|
16069
|
+
},
|
16070
|
+
"description": "Optional download attribute to instruct browsers to download the linked resource.",
|
16071
|
+
"attribute": "download",
|
16072
|
+
"reflects": true,
|
16073
|
+
"inheritedFrom": {
|
16074
|
+
"name": "Linksimple",
|
16075
|
+
"module": "components/linksimple/linksimple.component.js"
|
16076
|
+
}
|
16077
|
+
},
|
16078
|
+
{
|
16079
|
+
"kind": "field",
|
16080
|
+
"name": "ping",
|
16081
|
+
"type": {
|
16082
|
+
"text": "string | undefined"
|
16083
|
+
},
|
16084
|
+
"description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
|
16085
|
+
"attribute": "ping",
|
16086
|
+
"reflects": true,
|
16087
|
+
"inheritedFrom": {
|
16088
|
+
"name": "Linksimple",
|
16089
|
+
"module": "components/linksimple/linksimple.component.js"
|
16090
|
+
}
|
16091
|
+
},
|
16092
|
+
{
|
16093
|
+
"kind": "field",
|
16094
|
+
"name": "hreflang",
|
16095
|
+
"type": {
|
16096
|
+
"text": "string | undefined"
|
16097
|
+
},
|
16098
|
+
"description": "Optional hreflang attribute specifying the language of the linked resource.",
|
16099
|
+
"attribute": "hreflang",
|
16100
|
+
"reflects": true,
|
16101
|
+
"inheritedFrom": {
|
16102
|
+
"name": "Linksimple",
|
16103
|
+
"module": "components/linksimple/linksimple.component.js"
|
16104
|
+
}
|
16105
|
+
},
|
16106
|
+
{
|
16107
|
+
"kind": "field",
|
16108
|
+
"name": "type",
|
16109
|
+
"type": {
|
16110
|
+
"text": "string | undefined"
|
16111
|
+
},
|
16112
|
+
"description": "Optional type attribute indicating the MIME type of the linked resource.",
|
16113
|
+
"attribute": "type",
|
16114
|
+
"reflects": true,
|
16115
|
+
"inheritedFrom": {
|
16116
|
+
"name": "Linksimple",
|
16117
|
+
"module": "components/linksimple/linksimple.component.js"
|
16118
|
+
}
|
16119
|
+
},
|
16120
|
+
{
|
16121
|
+
"kind": "field",
|
16122
|
+
"name": "referrerpolicy",
|
16123
|
+
"type": {
|
16124
|
+
"text": "string | undefined"
|
16125
|
+
},
|
16126
|
+
"description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
|
16127
|
+
"attribute": "referrerpolicy",
|
16128
|
+
"reflects": true,
|
16129
|
+
"inheritedFrom": {
|
16130
|
+
"name": "Linksimple",
|
16131
|
+
"module": "components/linksimple/linksimple.component.js"
|
16132
|
+
}
|
16133
|
+
},
|
15898
16134
|
{
|
15899
16135
|
"kind": "method",
|
15900
16136
|
"name": "handleNavigation",
|
15901
|
-
"privacy": "
|
16137
|
+
"privacy": "protected",
|
15902
16138
|
"return": {
|
15903
16139
|
"type": {
|
15904
16140
|
"text": "void"
|
@@ -15997,6 +16233,19 @@
|
|
15997
16233
|
"module": "src/utils/mixins/IconNameMixin.ts"
|
15998
16234
|
}
|
15999
16235
|
},
|
16236
|
+
{
|
16237
|
+
"name": "data-aria-label",
|
16238
|
+
"type": {
|
16239
|
+
"text": "string | null"
|
16240
|
+
},
|
16241
|
+
"default": "null",
|
16242
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
16243
|
+
"fieldName": "dataAriaLabel",
|
16244
|
+
"inheritedFrom": {
|
16245
|
+
"name": "DataAriaLabelMixin",
|
16246
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
16247
|
+
}
|
16248
|
+
},
|
16000
16249
|
{
|
16001
16250
|
"name": "disabled",
|
16002
16251
|
"type": {
|
@@ -16010,19 +16259,6 @@
|
|
16010
16259
|
"module": "src/utils/mixins/DisabledMixin.ts"
|
16011
16260
|
}
|
16012
16261
|
},
|
16013
|
-
{
|
16014
|
-
"name": "tabIndex",
|
16015
|
-
"type": {
|
16016
|
-
"text": "number"
|
16017
|
-
},
|
16018
|
-
"default": "0",
|
16019
|
-
"description": "This property specifies the tab order of the element.",
|
16020
|
-
"fieldName": "tabIndex",
|
16021
|
-
"inheritedFrom": {
|
16022
|
-
"name": "TabIndexMixin",
|
16023
|
-
"module": "src/utils/mixins/TabIndexMixin.ts"
|
16024
|
-
}
|
16025
|
-
},
|
16026
16262
|
{
|
16027
16263
|
"name": "inline",
|
16028
16264
|
"type": {
|
@@ -16086,6 +16322,66 @@
|
|
16086
16322
|
"name": "Linksimple",
|
16087
16323
|
"module": "src/components/linksimple/linksimple.component.ts"
|
16088
16324
|
}
|
16325
|
+
},
|
16326
|
+
{
|
16327
|
+
"name": "download",
|
16328
|
+
"type": {
|
16329
|
+
"text": "string | undefined"
|
16330
|
+
},
|
16331
|
+
"description": "Optional download attribute to instruct browsers to download the linked resource.",
|
16332
|
+
"fieldName": "download",
|
16333
|
+
"inheritedFrom": {
|
16334
|
+
"name": "Linksimple",
|
16335
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
16336
|
+
}
|
16337
|
+
},
|
16338
|
+
{
|
16339
|
+
"name": "ping",
|
16340
|
+
"type": {
|
16341
|
+
"text": "string | undefined"
|
16342
|
+
},
|
16343
|
+
"description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
|
16344
|
+
"fieldName": "ping",
|
16345
|
+
"inheritedFrom": {
|
16346
|
+
"name": "Linksimple",
|
16347
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
16348
|
+
}
|
16349
|
+
},
|
16350
|
+
{
|
16351
|
+
"name": "hreflang",
|
16352
|
+
"type": {
|
16353
|
+
"text": "string | undefined"
|
16354
|
+
},
|
16355
|
+
"description": "Optional hreflang attribute specifying the language of the linked resource.",
|
16356
|
+
"fieldName": "hreflang",
|
16357
|
+
"inheritedFrom": {
|
16358
|
+
"name": "Linksimple",
|
16359
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
16360
|
+
}
|
16361
|
+
},
|
16362
|
+
{
|
16363
|
+
"name": "type",
|
16364
|
+
"type": {
|
16365
|
+
"text": "string | undefined"
|
16366
|
+
},
|
16367
|
+
"description": "Optional type attribute indicating the MIME type of the linked resource.",
|
16368
|
+
"fieldName": "type",
|
16369
|
+
"inheritedFrom": {
|
16370
|
+
"name": "Linksimple",
|
16371
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
16372
|
+
}
|
16373
|
+
},
|
16374
|
+
{
|
16375
|
+
"name": "referrerpolicy",
|
16376
|
+
"type": {
|
16377
|
+
"text": "string | undefined"
|
16378
|
+
},
|
16379
|
+
"description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
|
16380
|
+
"fieldName": "referrerpolicy",
|
16381
|
+
"inheritedFrom": {
|
16382
|
+
"name": "Linksimple",
|
16383
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
16384
|
+
}
|
16089
16385
|
}
|
16090
16386
|
],
|
16091
16387
|
"mixins": [
|
@@ -16099,7 +16395,7 @@
|
|
16099
16395
|
"module": "/src/components/linksimple/linksimple.component"
|
16100
16396
|
},
|
16101
16397
|
"tagName": "mdc-link",
|
16102
|
-
"jsDoc": "/**\n * `mdc-link` component can be used to navigate to a different page\n * within the application or to an external site. It can be used to link to\n * emails or phone numbers.\n *\n * The `children` of the link component is expected to be the text content.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-link\n *\n * @event click - (React: onClick) Fired when the user activates the Link using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the Link has focus.\n * @event focus - (React: onFocus) Fired when the Link receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the Link loses keyboard or mouse focus.\n */",
|
16398
|
+
"jsDoc": "/**\n * `mdc-link` component can be used to navigate to a different page\n * within the application or to an external site. It can be used to link to\n * emails or phone numbers.\n *\n * The `children` of the link component is expected to be the text content.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-link\n *\n * @event click - (React: onClick) Fired when the user activates the Link using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the Link has focus.\n * @event focus - (React: onFocus) Fired when the Link receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the Link loses keyboard or mouse focus.\n * \n * @csspart anchor - The anchor element that wraps the link content.\n * @csspart icon - The icon element.\n */",
|
16103
16399
|
"customElement": true,
|
16104
16400
|
"cssProperties": [
|
16105
16401
|
{
|
@@ -16884,6 +17180,12 @@
|
|
16884
17180
|
"name": "--mdc-link-inverted-color-normal"
|
16885
17181
|
}
|
16886
17182
|
],
|
17183
|
+
"cssParts": [
|
17184
|
+
{
|
17185
|
+
"description": "The anchor element that wraps the linksimple content.",
|
17186
|
+
"name": "anchor"
|
17187
|
+
}
|
17188
|
+
],
|
16887
17189
|
"members": [
|
16888
17190
|
{
|
16889
17191
|
"kind": "field",
|
@@ -16939,10 +17241,60 @@
|
|
16939
17241
|
"attribute": "rel",
|
16940
17242
|
"reflects": true
|
16941
17243
|
},
|
17244
|
+
{
|
17245
|
+
"kind": "field",
|
17246
|
+
"name": "download",
|
17247
|
+
"type": {
|
17248
|
+
"text": "string | undefined"
|
17249
|
+
},
|
17250
|
+
"description": "Optional download attribute to instruct browsers to download the linked resource.",
|
17251
|
+
"attribute": "download",
|
17252
|
+
"reflects": true
|
17253
|
+
},
|
17254
|
+
{
|
17255
|
+
"kind": "field",
|
17256
|
+
"name": "ping",
|
17257
|
+
"type": {
|
17258
|
+
"text": "string | undefined"
|
17259
|
+
},
|
17260
|
+
"description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
|
17261
|
+
"attribute": "ping",
|
17262
|
+
"reflects": true
|
17263
|
+
},
|
17264
|
+
{
|
17265
|
+
"kind": "field",
|
17266
|
+
"name": "hreflang",
|
17267
|
+
"type": {
|
17268
|
+
"text": "string | undefined"
|
17269
|
+
},
|
17270
|
+
"description": "Optional hreflang attribute specifying the language of the linked resource.",
|
17271
|
+
"attribute": "hreflang",
|
17272
|
+
"reflects": true
|
17273
|
+
},
|
17274
|
+
{
|
17275
|
+
"kind": "field",
|
17276
|
+
"name": "type",
|
17277
|
+
"type": {
|
17278
|
+
"text": "string | undefined"
|
17279
|
+
},
|
17280
|
+
"description": "Optional type attribute indicating the MIME type of the linked resource.",
|
17281
|
+
"attribute": "type",
|
17282
|
+
"reflects": true
|
17283
|
+
},
|
17284
|
+
{
|
17285
|
+
"kind": "field",
|
17286
|
+
"name": "referrerpolicy",
|
17287
|
+
"type": {
|
17288
|
+
"text": "string | undefined"
|
17289
|
+
},
|
17290
|
+
"description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
|
17291
|
+
"attribute": "referrerpolicy",
|
17292
|
+
"reflects": true
|
17293
|
+
},
|
16942
17294
|
{
|
16943
17295
|
"kind": "method",
|
16944
17296
|
"name": "handleNavigation",
|
16945
|
-
"privacy": "
|
17297
|
+
"privacy": "protected",
|
16946
17298
|
"return": {
|
16947
17299
|
"type": {
|
16948
17300
|
"text": "void"
|
@@ -16974,32 +17326,32 @@
|
|
16974
17326
|
},
|
16975
17327
|
{
|
16976
17328
|
"kind": "field",
|
16977
|
-
"name": "
|
17329
|
+
"name": "dataAriaLabel",
|
16978
17330
|
"type": {
|
16979
|
-
"text": "
|
17331
|
+
"text": "string | null"
|
16980
17332
|
},
|
16981
|
-
"
|
16982
|
-
"
|
16983
|
-
"attribute": "
|
17333
|
+
"default": "null",
|
17334
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
17335
|
+
"attribute": "data-aria-label",
|
16984
17336
|
"reflects": true,
|
16985
17337
|
"inheritedFrom": {
|
16986
|
-
"name": "
|
16987
|
-
"module": "utils/mixins/
|
17338
|
+
"name": "DataAriaLabelMixin",
|
17339
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
16988
17340
|
}
|
16989
17341
|
},
|
16990
17342
|
{
|
16991
17343
|
"kind": "field",
|
16992
|
-
"name": "
|
17344
|
+
"name": "disabled",
|
16993
17345
|
"type": {
|
16994
|
-
"text": "
|
17346
|
+
"text": "boolean | undefined"
|
16995
17347
|
},
|
16996
|
-
"
|
16997
|
-
"
|
16998
|
-
"attribute": "
|
17348
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
17349
|
+
"default": "undefined",
|
17350
|
+
"attribute": "disabled",
|
16999
17351
|
"reflects": true,
|
17000
17352
|
"inheritedFrom": {
|
17001
|
-
"name": "
|
17002
|
-
"module": "utils/mixins/
|
17353
|
+
"name": "DisabledMixin",
|
17354
|
+
"module": "utils/mixins/DisabledMixin.js"
|
17003
17355
|
}
|
17004
17356
|
}
|
17005
17357
|
],
|
@@ -17036,39 +17388,92 @@
|
|
17036
17388
|
"fieldName": "inline"
|
17037
17389
|
},
|
17038
17390
|
{
|
17039
|
-
"name": "inverted",
|
17391
|
+
"name": "inverted",
|
17392
|
+
"type": {
|
17393
|
+
"text": "boolean"
|
17394
|
+
},
|
17395
|
+
"description": "The link color can be inverted by setting the inverted attribute to true.",
|
17396
|
+
"default": "false",
|
17397
|
+
"fieldName": "inverted"
|
17398
|
+
},
|
17399
|
+
{
|
17400
|
+
"name": "href",
|
17401
|
+
"type": {
|
17402
|
+
"text": "string"
|
17403
|
+
},
|
17404
|
+
"default": "'#'",
|
17405
|
+
"description": "Href for navigation. The URL that the hyperlink points to",
|
17406
|
+
"fieldName": "href"
|
17407
|
+
},
|
17408
|
+
{
|
17409
|
+
"name": "target",
|
17410
|
+
"type": {
|
17411
|
+
"text": "string"
|
17412
|
+
},
|
17413
|
+
"default": "'_self'",
|
17414
|
+
"description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
|
17415
|
+
"fieldName": "target"
|
17416
|
+
},
|
17417
|
+
{
|
17418
|
+
"name": "rel",
|
17419
|
+
"type": {
|
17420
|
+
"text": "string | undefined"
|
17421
|
+
},
|
17422
|
+
"description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
|
17423
|
+
"fieldName": "rel"
|
17424
|
+
},
|
17425
|
+
{
|
17426
|
+
"name": "download",
|
17427
|
+
"type": {
|
17428
|
+
"text": "string | undefined"
|
17429
|
+
},
|
17430
|
+
"description": "Optional download attribute to instruct browsers to download the linked resource.",
|
17431
|
+
"fieldName": "download"
|
17432
|
+
},
|
17433
|
+
{
|
17434
|
+
"name": "ping",
|
17435
|
+
"type": {
|
17436
|
+
"text": "string | undefined"
|
17437
|
+
},
|
17438
|
+
"description": "Optional ping attribute that defines a space-separated list of URLs to be notified if the link is followed.",
|
17439
|
+
"fieldName": "ping"
|
17440
|
+
},
|
17441
|
+
{
|
17442
|
+
"name": "hreflang",
|
17040
17443
|
"type": {
|
17041
|
-
"text": "
|
17444
|
+
"text": "string | undefined"
|
17042
17445
|
},
|
17043
|
-
"description": "
|
17044
|
-
"
|
17045
|
-
"fieldName": "inverted"
|
17446
|
+
"description": "Optional hreflang attribute specifying the language of the linked resource.",
|
17447
|
+
"fieldName": "hreflang"
|
17046
17448
|
},
|
17047
17449
|
{
|
17048
|
-
"name": "
|
17450
|
+
"name": "type",
|
17049
17451
|
"type": {
|
17050
|
-
"text": "string"
|
17452
|
+
"text": "string | undefined"
|
17051
17453
|
},
|
17052
|
-
"
|
17053
|
-
"
|
17054
|
-
"fieldName": "href"
|
17454
|
+
"description": "Optional type attribute indicating the MIME type of the linked resource.",
|
17455
|
+
"fieldName": "type"
|
17055
17456
|
},
|
17056
17457
|
{
|
17057
|
-
"name": "
|
17458
|
+
"name": "referrerpolicy",
|
17058
17459
|
"type": {
|
17059
|
-
"text": "string"
|
17460
|
+
"text": "string | undefined"
|
17060
17461
|
},
|
17061
|
-
"
|
17062
|
-
"
|
17063
|
-
"fieldName": "target"
|
17462
|
+
"description": "Optional referrerpolicy attribute specifying how much referrer information to send.",
|
17463
|
+
"fieldName": "referrerpolicy"
|
17064
17464
|
},
|
17065
17465
|
{
|
17066
|
-
"name": "
|
17466
|
+
"name": "data-aria-label",
|
17067
17467
|
"type": {
|
17068
|
-
"text": "string |
|
17468
|
+
"text": "string | null"
|
17069
17469
|
},
|
17070
|
-
"
|
17071
|
-
"
|
17470
|
+
"default": "null",
|
17471
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
17472
|
+
"fieldName": "dataAriaLabel",
|
17473
|
+
"inheritedFrom": {
|
17474
|
+
"name": "DataAriaLabelMixin",
|
17475
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
17476
|
+
}
|
17072
17477
|
},
|
17073
17478
|
{
|
17074
17479
|
"name": "disabled",
|
@@ -17082,29 +17487,16 @@
|
|
17082
17487
|
"name": "DisabledMixin",
|
17083
17488
|
"module": "src/utils/mixins/DisabledMixin.ts"
|
17084
17489
|
}
|
17085
|
-
},
|
17086
|
-
{
|
17087
|
-
"name": "tabIndex",
|
17088
|
-
"type": {
|
17089
|
-
"text": "number"
|
17090
|
-
},
|
17091
|
-
"default": "0",
|
17092
|
-
"description": "This property specifies the tab order of the element.",
|
17093
|
-
"fieldName": "tabIndex",
|
17094
|
-
"inheritedFrom": {
|
17095
|
-
"name": "TabIndexMixin",
|
17096
|
-
"module": "src/utils/mixins/TabIndexMixin.ts"
|
17097
|
-
}
|
17098
17490
|
}
|
17099
17491
|
],
|
17100
17492
|
"mixins": [
|
17101
17493
|
{
|
17102
|
-
"name": "
|
17103
|
-
"module": "/src/utils/mixins/
|
17494
|
+
"name": "DataAriaLabelMixin",
|
17495
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
17104
17496
|
},
|
17105
17497
|
{
|
17106
|
-
"name": "
|
17107
|
-
"module": "/src/utils/mixins/
|
17498
|
+
"name": "DisabledMixin",
|
17499
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
17108
17500
|
}
|
17109
17501
|
],
|
17110
17502
|
"superclass": {
|
@@ -17112,7 +17504,7 @@
|
|
17112
17504
|
"module": "/src/models"
|
17113
17505
|
},
|
17114
17506
|
"tagName": "mdc-linksimple",
|
17115
|
-
"jsDoc": "/**\n * `mdc-linksimple` is a lightweight link component that can be used to navigate\n * within the application or to an external URL. It does not have any predefined default size.\n *\n * The `children` of the `mdc-linksimple` component can be customized to suit\n * different use cases, including text, icons, or other inline content. For the child to be an icon,\n * the `mdc-icon` component should be used to render.\n *\n * @tagname mdc-linksimple\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the link.\n * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the link’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the link’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted link’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.\n */",
|
17507
|
+
"jsDoc": "/**\n * `mdc-linksimple` is a lightweight link component that can be used to navigate\n * within the application or to an external URL. It does not have any predefined default size.\n *\n * The `children` of the `mdc-linksimple` component can be customized to suit\n * different use cases, including text, icons, or other inline content. For the child to be an icon,\n * the `mdc-icon` component should be used to render.\n *\n * @tagname mdc-linksimple\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the link.\n * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the link’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the link’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted link’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.\n * \n * @csspart anchor - The anchor element that wraps the linksimple content.\n */",
|
17116
17508
|
"customElement": true
|
17117
17509
|
}
|
17118
17510
|
],
|
@@ -30916,72 +31308,251 @@
|
|
30916
31308
|
}
|
30917
31309
|
},
|
30918
31310
|
{
|
30919
|
-
"name": "help-text",
|
31311
|
+
"name": "help-text",
|
31312
|
+
"type": {
|
31313
|
+
"text": "string | undefined"
|
31314
|
+
},
|
31315
|
+
"description": "The help text that is displayed below the input field.",
|
31316
|
+
"fieldName": "helpText",
|
31317
|
+
"inheritedFrom": {
|
31318
|
+
"name": "FormfieldWrapper",
|
31319
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
31320
|
+
}
|
31321
|
+
},
|
31322
|
+
{
|
31323
|
+
"name": "toggletip-text",
|
31324
|
+
"type": {
|
31325
|
+
"text": "string | undefined"
|
31326
|
+
},
|
31327
|
+
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
31328
|
+
"fieldName": "toggletipText",
|
31329
|
+
"inheritedFrom": {
|
31330
|
+
"name": "FormfieldWrapper",
|
31331
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
31332
|
+
}
|
31333
|
+
},
|
31334
|
+
{
|
31335
|
+
"name": "toggletip-placement",
|
31336
|
+
"type": {
|
31337
|
+
"text": "PopoverPlacement"
|
31338
|
+
},
|
31339
|
+
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
31340
|
+
"default": "'top'",
|
31341
|
+
"fieldName": "toggletipPlacement",
|
31342
|
+
"inheritedFrom": {
|
31343
|
+
"name": "FormfieldWrapper",
|
31344
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
31345
|
+
}
|
31346
|
+
},
|
31347
|
+
{
|
31348
|
+
"name": "info-icon-aria-label",
|
31349
|
+
"type": {
|
31350
|
+
"text": "string | undefined"
|
31351
|
+
},
|
31352
|
+
"description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
|
31353
|
+
"fieldName": "infoIconAriaLabel",
|
31354
|
+
"inheritedFrom": {
|
31355
|
+
"name": "FormfieldWrapper",
|
31356
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
31357
|
+
}
|
31358
|
+
}
|
31359
|
+
],
|
31360
|
+
"superclass": {
|
31361
|
+
"name": "FormfieldGroup",
|
31362
|
+
"module": "/src/components/formfieldgroup"
|
31363
|
+
},
|
31364
|
+
"tagName": "mdc-radiogroup",
|
31365
|
+
"jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
|
31366
|
+
"customElement": true,
|
31367
|
+
"slots": [
|
31368
|
+
{
|
31369
|
+
"description": "This is a default slot for checkbox or toggle components.",
|
31370
|
+
"name": "default",
|
31371
|
+
"inheritedFrom": {
|
31372
|
+
"name": "FormfieldGroup",
|
31373
|
+
"module": "src/components/formfieldgroup/formfieldgroup.component.ts"
|
31374
|
+
}
|
31375
|
+
}
|
31376
|
+
]
|
31377
|
+
}
|
31378
|
+
],
|
31379
|
+
"exports": [
|
31380
|
+
{
|
31381
|
+
"kind": "js",
|
31382
|
+
"name": "default",
|
31383
|
+
"declaration": {
|
31384
|
+
"name": "RadioGroup",
|
31385
|
+
"module": "components/radiogroup/radiogroup.component.js"
|
31386
|
+
}
|
31387
|
+
}
|
31388
|
+
]
|
31389
|
+
},
|
31390
|
+
{
|
31391
|
+
"kind": "javascript-module",
|
31392
|
+
"path": "components/screenreaderannouncer/screenreaderannouncer.component.js",
|
31393
|
+
"declarations": [
|
31394
|
+
{
|
31395
|
+
"kind": "class",
|
31396
|
+
"description": "`mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n\nTo make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n\n**Internal logic**\n\nWhen the screenreader announcer is connected to the DOM, if the `identity` attribute is not\nprovided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\nin the DOM. If the `identity` attribute is provided, the identity element is used and no new element\nis created in the DOM.\n\nWhen the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n`aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\nAfter delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n\nThe announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n\nWhen the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\nall the announcement elements added are removed from the DOM and timeouts cleared.\n\n**Note**\n1. The default delay of 150 miliseconds is used as we dynamically generate the\naria-live region in the DOM and add the announcement text to it.\n3. If no `identity` is provided, all the screen reader components will create and use only one\n`<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n\nReference: https://patrickhlauke.github.io/aria/tests/live-regions/",
|
31397
|
+
"name": "ScreenreaderAnnouncer",
|
31398
|
+
"members": [
|
31399
|
+
{
|
31400
|
+
"kind": "field",
|
31401
|
+
"name": "announcement",
|
31402
|
+
"type": {
|
31403
|
+
"text": "string"
|
31404
|
+
},
|
31405
|
+
"default": "''",
|
31406
|
+
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
31407
|
+
"attribute": "announcement",
|
31408
|
+
"reflects": true
|
31409
|
+
},
|
31410
|
+
{
|
31411
|
+
"kind": "field",
|
31412
|
+
"name": "identity",
|
31413
|
+
"type": {
|
31414
|
+
"text": "string"
|
31415
|
+
},
|
31416
|
+
"default": "''",
|
31417
|
+
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
31418
|
+
"attribute": "identity",
|
31419
|
+
"reflects": true
|
31420
|
+
},
|
31421
|
+
{
|
31422
|
+
"kind": "field",
|
31423
|
+
"name": "dataAriaLive",
|
31424
|
+
"type": {
|
31425
|
+
"text": "AriaLive"
|
31426
|
+
},
|
31427
|
+
"description": "Aria live value for announcement.",
|
31428
|
+
"default": "'polite'",
|
31429
|
+
"attribute": "data-aria-live",
|
31430
|
+
"reflects": true
|
31431
|
+
},
|
31432
|
+
{
|
31433
|
+
"kind": "field",
|
31434
|
+
"name": "delay",
|
31435
|
+
"type": {
|
31436
|
+
"text": "number"
|
31437
|
+
},
|
31438
|
+
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
31439
|
+
"default": "150",
|
31440
|
+
"attribute": "delay",
|
31441
|
+
"reflects": true
|
31442
|
+
},
|
31443
|
+
{
|
31444
|
+
"kind": "field",
|
31445
|
+
"name": "timeout",
|
31446
|
+
"type": {
|
31447
|
+
"text": "number"
|
31448
|
+
},
|
31449
|
+
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
31450
|
+
"default": "20_000",
|
31451
|
+
"attribute": "timeout",
|
31452
|
+
"reflects": true
|
31453
|
+
},
|
31454
|
+
{
|
31455
|
+
"kind": "method",
|
31456
|
+
"name": "announce",
|
31457
|
+
"parameters": [
|
31458
|
+
{
|
31459
|
+
"name": "announcement",
|
31460
|
+
"type": {
|
31461
|
+
"text": "string"
|
31462
|
+
},
|
31463
|
+
"description": "The announcement to be made."
|
31464
|
+
},
|
31465
|
+
{
|
31466
|
+
"name": "delay",
|
31467
|
+
"type": {
|
31468
|
+
"text": "number"
|
31469
|
+
},
|
31470
|
+
"description": "The delay in milliseconds before announcing the message."
|
31471
|
+
},
|
31472
|
+
{
|
31473
|
+
"name": "timeout",
|
31474
|
+
"type": {
|
31475
|
+
"text": "number"
|
31476
|
+
},
|
31477
|
+
"description": "The timeout in milliseconds before removing the announcement."
|
31478
|
+
},
|
31479
|
+
{
|
31480
|
+
"name": "ariaLive",
|
31481
|
+
"type": {
|
31482
|
+
"text": "AriaLive"
|
31483
|
+
},
|
31484
|
+
"description": "The aria live value for the announcement."
|
31485
|
+
}
|
31486
|
+
],
|
31487
|
+
"description": "Announces the given announcement to the screen reader.\n\nA div element with aria-live attribute set to the given ariaLive value is created\nand a p element with the announcement text is appended to it.\n\nThe div element is appended to the element in the DOM identified with id as\nidentity attribute."
|
31488
|
+
},
|
31489
|
+
{
|
31490
|
+
"kind": "method",
|
31491
|
+
"name": "clearTimeOutsAndAnnouncements",
|
31492
|
+
"privacy": "private",
|
31493
|
+
"description": "Clears all timeouts and removes all announcements from the screen reader."
|
31494
|
+
},
|
31495
|
+
{
|
31496
|
+
"kind": "method",
|
31497
|
+
"name": "createAnnouncementAriaLiveRegion",
|
31498
|
+
"privacy": "private",
|
31499
|
+
"description": "Creates a div element with id as identity attribute in the DOM.\n\nIf the identity attribute is not provided, it is set internally to\n`mdc-screenreaderannouncer-identity`."
|
31500
|
+
}
|
31501
|
+
],
|
31502
|
+
"attributes": [
|
31503
|
+
{
|
31504
|
+
"name": "announcement",
|
31505
|
+
"type": {
|
31506
|
+
"text": "string"
|
31507
|
+
},
|
31508
|
+
"default": "''",
|
31509
|
+
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
31510
|
+
"fieldName": "announcement"
|
31511
|
+
},
|
31512
|
+
{
|
31513
|
+
"name": "identity",
|
30920
31514
|
"type": {
|
30921
|
-
"text": "string
|
31515
|
+
"text": "string"
|
30922
31516
|
},
|
30923
|
-
"
|
30924
|
-
"
|
30925
|
-
"
|
30926
|
-
"name": "FormfieldWrapper",
|
30927
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30928
|
-
}
|
31517
|
+
"default": "''",
|
31518
|
+
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
31519
|
+
"fieldName": "identity"
|
30929
31520
|
},
|
30930
31521
|
{
|
30931
|
-
"name": "
|
31522
|
+
"name": "data-aria-live",
|
30932
31523
|
"type": {
|
30933
|
-
"text": "
|
31524
|
+
"text": "AriaLive"
|
30934
31525
|
},
|
30935
|
-
"description": "
|
30936
|
-
"
|
30937
|
-
"
|
30938
|
-
"name": "FormfieldWrapper",
|
30939
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30940
|
-
}
|
31526
|
+
"description": "Aria live value for announcement.",
|
31527
|
+
"default": "'polite'",
|
31528
|
+
"fieldName": "dataAriaLive"
|
30941
31529
|
},
|
30942
31530
|
{
|
30943
|
-
"name": "
|
31531
|
+
"name": "delay",
|
30944
31532
|
"type": {
|
30945
|
-
"text": "
|
31533
|
+
"text": "number"
|
30946
31534
|
},
|
30947
|
-
"description": "
|
30948
|
-
"default": "
|
30949
|
-
"fieldName": "
|
30950
|
-
"inheritedFrom": {
|
30951
|
-
"name": "FormfieldWrapper",
|
30952
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30953
|
-
}
|
31535
|
+
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
31536
|
+
"default": "150",
|
31537
|
+
"fieldName": "delay"
|
30954
31538
|
},
|
30955
31539
|
{
|
30956
|
-
"name": "
|
31540
|
+
"name": "timeout",
|
30957
31541
|
"type": {
|
30958
|
-
"text": "
|
31542
|
+
"text": "number"
|
30959
31543
|
},
|
30960
|
-
"description": "
|
30961
|
-
"
|
30962
|
-
"
|
30963
|
-
"name": "FormfieldWrapper",
|
30964
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30965
|
-
}
|
31544
|
+
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
31545
|
+
"default": "20_000",
|
31546
|
+
"fieldName": "timeout"
|
30966
31547
|
}
|
30967
31548
|
],
|
30968
31549
|
"superclass": {
|
30969
|
-
"name": "
|
30970
|
-
"module": "/src/
|
31550
|
+
"name": "Component",
|
31551
|
+
"module": "/src/models"
|
30971
31552
|
},
|
30972
|
-
"tagName": "mdc-
|
30973
|
-
"jsDoc": "/**\n * `mdc-
|
30974
|
-
"customElement": true
|
30975
|
-
"slots": [
|
30976
|
-
{
|
30977
|
-
"description": "This is a default slot for checkbox or toggle components.",
|
30978
|
-
"name": "default",
|
30979
|
-
"inheritedFrom": {
|
30980
|
-
"name": "FormfieldGroup",
|
30981
|
-
"module": "src/components/formfieldgroup/formfieldgroup.component.ts"
|
30982
|
-
}
|
30983
|
-
}
|
30984
|
-
]
|
31553
|
+
"tagName": "mdc-screenreaderannouncer",
|
31554
|
+
"jsDoc": "/**\n * `mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n *\n * To make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n *\n * **Internal logic**\n *\n * When the screenreader announcer is connected to the DOM, if the `identity` attribute is not\n * provided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\n * in the DOM. If the `identity` attribute is provided, the identity element is used and no new element\n * is created in the DOM.\n *\n * When the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n * `aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\n * After delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n *\n * The announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n *\n * When the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\n * all the announcement elements added are removed from the DOM and timeouts cleared.\n *\n * **Note**\n * 1. The default delay of 150 miliseconds is used as we dynamically generate the\n * aria-live region in the DOM and add the announcement text to it.\n * 3. If no `identity` is provided, all the screen reader components will create and use only one\n * `<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n *\n * Reference: https://patrickhlauke.github.io/aria/tests/live-regions/\n *\n * @tagname mdc-screenreaderannouncer\n */",
|
31555
|
+
"customElement": true
|
30985
31556
|
}
|
30986
31557
|
],
|
30987
31558
|
"exports": [
|
@@ -30989,8 +31560,8 @@
|
|
30989
31560
|
"kind": "js",
|
30990
31561
|
"name": "default",
|
30991
31562
|
"declaration": {
|
30992
|
-
"name": "
|
30993
|
-
"module": "components/
|
31563
|
+
"name": "ScreenreaderAnnouncer",
|
31564
|
+
"module": "components/screenreaderannouncer/screenreaderannouncer.component.js"
|
30994
31565
|
}
|
30995
31566
|
}
|
30996
31567
|
]
|
@@ -32236,185 +32807,6 @@
|
|
32236
32807
|
}
|
32237
32808
|
]
|
32238
32809
|
},
|
32239
|
-
{
|
32240
|
-
"kind": "javascript-module",
|
32241
|
-
"path": "components/screenreaderannouncer/screenreaderannouncer.component.js",
|
32242
|
-
"declarations": [
|
32243
|
-
{
|
32244
|
-
"kind": "class",
|
32245
|
-
"description": "`mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n\nTo make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n\n**Internal logic**\n\nWhen the screenreader announcer is connected to the DOM, if the `identity` attribute is not\nprovided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\nin the DOM. If the `identity` attribute is provided, the identity element is used and no new element\nis created in the DOM.\n\nWhen the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n`aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\nAfter delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n\nThe announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n\nWhen the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\nall the announcement elements added are removed from the DOM and timeouts cleared.\n\n**Note**\n1. The default delay of 150 miliseconds is used as we dynamically generate the\naria-live region in the DOM and add the announcement text to it.\n3. If no `identity` is provided, all the screen reader components will create and use only one\n`<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n\nReference: https://patrickhlauke.github.io/aria/tests/live-regions/",
|
32246
|
-
"name": "ScreenreaderAnnouncer",
|
32247
|
-
"members": [
|
32248
|
-
{
|
32249
|
-
"kind": "field",
|
32250
|
-
"name": "announcement",
|
32251
|
-
"type": {
|
32252
|
-
"text": "string"
|
32253
|
-
},
|
32254
|
-
"default": "''",
|
32255
|
-
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
32256
|
-
"attribute": "announcement",
|
32257
|
-
"reflects": true
|
32258
|
-
},
|
32259
|
-
{
|
32260
|
-
"kind": "field",
|
32261
|
-
"name": "identity",
|
32262
|
-
"type": {
|
32263
|
-
"text": "string"
|
32264
|
-
},
|
32265
|
-
"default": "''",
|
32266
|
-
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
32267
|
-
"attribute": "identity",
|
32268
|
-
"reflects": true
|
32269
|
-
},
|
32270
|
-
{
|
32271
|
-
"kind": "field",
|
32272
|
-
"name": "dataAriaLive",
|
32273
|
-
"type": {
|
32274
|
-
"text": "AriaLive"
|
32275
|
-
},
|
32276
|
-
"description": "Aria live value for announcement.",
|
32277
|
-
"default": "'polite'",
|
32278
|
-
"attribute": "data-aria-live",
|
32279
|
-
"reflects": true
|
32280
|
-
},
|
32281
|
-
{
|
32282
|
-
"kind": "field",
|
32283
|
-
"name": "delay",
|
32284
|
-
"type": {
|
32285
|
-
"text": "number"
|
32286
|
-
},
|
32287
|
-
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
32288
|
-
"default": "150",
|
32289
|
-
"attribute": "delay",
|
32290
|
-
"reflects": true
|
32291
|
-
},
|
32292
|
-
{
|
32293
|
-
"kind": "field",
|
32294
|
-
"name": "timeout",
|
32295
|
-
"type": {
|
32296
|
-
"text": "number"
|
32297
|
-
},
|
32298
|
-
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
32299
|
-
"default": "20_000",
|
32300
|
-
"attribute": "timeout",
|
32301
|
-
"reflects": true
|
32302
|
-
},
|
32303
|
-
{
|
32304
|
-
"kind": "method",
|
32305
|
-
"name": "announce",
|
32306
|
-
"parameters": [
|
32307
|
-
{
|
32308
|
-
"name": "announcement",
|
32309
|
-
"type": {
|
32310
|
-
"text": "string"
|
32311
|
-
},
|
32312
|
-
"description": "The announcement to be made."
|
32313
|
-
},
|
32314
|
-
{
|
32315
|
-
"name": "delay",
|
32316
|
-
"type": {
|
32317
|
-
"text": "number"
|
32318
|
-
},
|
32319
|
-
"description": "The delay in milliseconds before announcing the message."
|
32320
|
-
},
|
32321
|
-
{
|
32322
|
-
"name": "timeout",
|
32323
|
-
"type": {
|
32324
|
-
"text": "number"
|
32325
|
-
},
|
32326
|
-
"description": "The timeout in milliseconds before removing the announcement."
|
32327
|
-
},
|
32328
|
-
{
|
32329
|
-
"name": "ariaLive",
|
32330
|
-
"type": {
|
32331
|
-
"text": "AriaLive"
|
32332
|
-
},
|
32333
|
-
"description": "The aria live value for the announcement."
|
32334
|
-
}
|
32335
|
-
],
|
32336
|
-
"description": "Announces the given announcement to the screen reader.\n\nA div element with aria-live attribute set to the given ariaLive value is created\nand a p element with the announcement text is appended to it.\n\nThe div element is appended to the element in the DOM identified with id as\nidentity attribute."
|
32337
|
-
},
|
32338
|
-
{
|
32339
|
-
"kind": "method",
|
32340
|
-
"name": "clearTimeOutsAndAnnouncements",
|
32341
|
-
"privacy": "private",
|
32342
|
-
"description": "Clears all timeouts and removes all announcements from the screen reader."
|
32343
|
-
},
|
32344
|
-
{
|
32345
|
-
"kind": "method",
|
32346
|
-
"name": "createAnnouncementAriaLiveRegion",
|
32347
|
-
"privacy": "private",
|
32348
|
-
"description": "Creates a div element with id as identity attribute in the DOM.\n\nIf the identity attribute is not provided, it is set internally to\n`mdc-screenreaderannouncer-identity`."
|
32349
|
-
}
|
32350
|
-
],
|
32351
|
-
"attributes": [
|
32352
|
-
{
|
32353
|
-
"name": "announcement",
|
32354
|
-
"type": {
|
32355
|
-
"text": "string"
|
32356
|
-
},
|
32357
|
-
"default": "''",
|
32358
|
-
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
32359
|
-
"fieldName": "announcement"
|
32360
|
-
},
|
32361
|
-
{
|
32362
|
-
"name": "identity",
|
32363
|
-
"type": {
|
32364
|
-
"text": "string"
|
32365
|
-
},
|
32366
|
-
"default": "''",
|
32367
|
-
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
32368
|
-
"fieldName": "identity"
|
32369
|
-
},
|
32370
|
-
{
|
32371
|
-
"name": "data-aria-live",
|
32372
|
-
"type": {
|
32373
|
-
"text": "AriaLive"
|
32374
|
-
},
|
32375
|
-
"description": "Aria live value for announcement.",
|
32376
|
-
"default": "'polite'",
|
32377
|
-
"fieldName": "dataAriaLive"
|
32378
|
-
},
|
32379
|
-
{
|
32380
|
-
"name": "delay",
|
32381
|
-
"type": {
|
32382
|
-
"text": "number"
|
32383
|
-
},
|
32384
|
-
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
32385
|
-
"default": "150",
|
32386
|
-
"fieldName": "delay"
|
32387
|
-
},
|
32388
|
-
{
|
32389
|
-
"name": "timeout",
|
32390
|
-
"type": {
|
32391
|
-
"text": "number"
|
32392
|
-
},
|
32393
|
-
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
32394
|
-
"default": "20_000",
|
32395
|
-
"fieldName": "timeout"
|
32396
|
-
}
|
32397
|
-
],
|
32398
|
-
"superclass": {
|
32399
|
-
"name": "Component",
|
32400
|
-
"module": "/src/models"
|
32401
|
-
},
|
32402
|
-
"tagName": "mdc-screenreaderannouncer",
|
32403
|
-
"jsDoc": "/**\n * `mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n *\n * To make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n *\n * **Internal logic**\n *\n * When the screenreader announcer is connected to the DOM, if the `identity` attribute is not\n * provided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\n * in the DOM. If the `identity` attribute is provided, the identity element is used and no new element\n * is created in the DOM.\n *\n * When the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n * `aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\n * After delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n *\n * The announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n *\n * When the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\n * all the announcement elements added are removed from the DOM and timeouts cleared.\n *\n * **Note**\n * 1. The default delay of 150 miliseconds is used as we dynamically generate the\n * aria-live region in the DOM and add the announcement text to it.\n * 3. If no `identity` is provided, all the screen reader components will create and use only one\n * `<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n *\n * Reference: https://patrickhlauke.github.io/aria/tests/live-regions/\n *\n * @tagname mdc-screenreaderannouncer\n */",
|
32404
|
-
"customElement": true
|
32405
|
-
}
|
32406
|
-
],
|
32407
|
-
"exports": [
|
32408
|
-
{
|
32409
|
-
"kind": "js",
|
32410
|
-
"name": "default",
|
32411
|
-
"declaration": {
|
32412
|
-
"name": "ScreenreaderAnnouncer",
|
32413
|
-
"module": "components/screenreaderannouncer/screenreaderannouncer.component.js"
|
32414
|
-
}
|
32415
|
-
}
|
32416
|
-
]
|
32417
|
-
},
|
32418
32810
|
{
|
32419
32811
|
"kind": "javascript-module",
|
32420
32812
|
"path": "components/select/select.component.js",
|