@momentum-design/components 0.22.5 → 0.22.7

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.
@@ -2,250 +2,6 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "components/avatar/avatar.component.js",
8
- "declarations": [
9
- {
10
- "kind": "class",
11
- "description": "The `mdc-avatar` component is used to represent a person or a space.\nAn avatar can be an icon, initials, counter and photo.\n\nTo set the photo of an avatar,\nyou need to set \"src\" attribute.\n\nWhile the avatar image is loading, as a placeholder,\nwe will show the initials text.\nIf the initials are not specified then,\nwe will show `user-regular` icon as a placeholder.\n\nBy default, if there are no attributes specified,\nthen the default avatar will be an icon with `user-regular` name.\n\nThe avatar component is non clickable and non interactive/focusable component.\nIf the avatar is typing, then the loading indicator will be displayed.\nIf the counter type avatar is set to a negative number, then we will display 0.\nThe presence indicator will be hidden when the counter property is set.",
12
- "name": "Avatar",
13
- "cssProperties": [
14
- {
15
- "description": "Allows customization of the default background color.",
16
- "name": "--mdc-avatar-default-background-color"
17
- },
18
- {
19
- "description": "Allows customization of the default foreground color.",
20
- "name": "--mdc-avatar-default-foreground-color"
21
- },
22
- {
23
- "description": "Allows customization of the loading indicator background color.",
24
- "name": "--mdc-avatar-loading-indicator-background-color"
25
- },
26
- {
27
- "description": "Allows customization of the loading indicator foreground color.",
28
- "name": "--mdc-avatar-loading-indicator-foreground-color"
29
- },
30
- {
31
- "description": "Allows customization of the loading overlay background color.",
32
- "name": "--mdc-avatar-loading-overlay-background-color"
33
- }
34
- ],
35
- "members": [
36
- {
37
- "kind": "field",
38
- "name": "src",
39
- "type": {
40
- "text": "string | undefined"
41
- },
42
- "description": "The src is the url which will be used to display the avatar.\nWhen the src is loading, we will display the initials as a placeholder.",
43
- "attribute": "src",
44
- "inheritedFrom": {
45
- "name": "AvatarComponentMixin",
46
- "module": "utils/mixins/AvatarComponentMixin.js"
47
- }
48
- },
49
- {
50
- "kind": "field",
51
- "name": "initials",
52
- "type": {
53
- "text": "string | undefined"
54
- },
55
- "description": "The initials to be displayed for the avatar.",
56
- "attribute": "initials",
57
- "inheritedFrom": {
58
- "name": "AvatarComponentMixin",
59
- "module": "utils/mixins/AvatarComponentMixin.js"
60
- }
61
- },
62
- {
63
- "kind": "field",
64
- "name": "presence",
65
- "type": {
66
- "text": "PresenceType | undefined"
67
- },
68
- "description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
69
- "attribute": "presence",
70
- "inheritedFrom": {
71
- "name": "AvatarComponentMixin",
72
- "module": "utils/mixins/AvatarComponentMixin.js"
73
- }
74
- },
75
- {
76
- "kind": "field",
77
- "name": "size",
78
- "type": {
79
- "text": "AvatarSize"
80
- },
81
- "description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
82
- "default": "32",
83
- "attribute": "size",
84
- "reflects": true,
85
- "inheritedFrom": {
86
- "name": "AvatarComponentMixin",
87
- "module": "utils/mixins/AvatarComponentMixin.js"
88
- }
89
- },
90
- {
91
- "kind": "field",
92
- "name": "counter",
93
- "type": {
94
- "text": "number | undefined"
95
- },
96
- "description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
97
- "attribute": "counter",
98
- "inheritedFrom": {
99
- "name": "AvatarComponentMixin",
100
- "module": "utils/mixins/AvatarComponentMixin.js"
101
- }
102
- },
103
- {
104
- "kind": "field",
105
- "name": "isTyping",
106
- "type": {
107
- "text": "boolean"
108
- },
109
- "default": "false",
110
- "description": "Represents the typing indicator when the user is typing.",
111
- "attribute": "is-typing",
112
- "inheritedFrom": {
113
- "name": "AvatarComponentMixin",
114
- "module": "utils/mixins/AvatarComponentMixin.js"
115
- }
116
- },
117
- {
118
- "kind": "field",
119
- "name": "iconName",
120
- "type": {
121
- "text": "IconNames | undefined"
122
- },
123
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
124
- "attribute": "icon-name",
125
- "inheritedFrom": {
126
- "name": "IconNameMixin",
127
- "module": "utils/mixins/IconNameMixin.js"
128
- }
129
- }
130
- ],
131
- "mixins": [
132
- {
133
- "name": "AvatarComponentMixin",
134
- "module": "/src/utils/mixins/AvatarComponentMixin"
135
- },
136
- {
137
- "name": "IconNameMixin",
138
- "module": "/src/utils/mixins/IconNameMixin"
139
- }
140
- ],
141
- "superclass": {
142
- "name": "Component",
143
- "module": "/src/models"
144
- },
145
- "tagName": "mdc-avatar",
146
- "jsDoc": "/**\n * The `mdc-avatar` component is used to represent a person or a space.\n * An avatar can be an icon, initials, counter and photo.\n *\n * To set the photo of an avatar,\n * you need to set \"src\" attribute.\n *\n * While the avatar image is loading, as a placeholder,\n * we will show the initials text.\n * If the initials are not specified then,\n * we will show `user-regular` icon as a placeholder.\n *\n * By default, if there are no attributes specified,\n * then the default avatar will be an icon with `user-regular` name.\n *\n * The avatar component is non clickable and non interactive/focusable component.\n * If the avatar is typing, then the loading indicator will be displayed.\n * If the counter type avatar is set to a negative number, then we will display 0.\n * The presence indicator will be hidden when the counter property is set.\n *\n * @dependency mdc-icon\n * @dependency mdc-presence\n * @dependency mdc-text\n *\n * @tagname mdc-avatar\n *\n * @cssproperty --mdc-avatar-default-background-color - Allows customization of the default background color.\n * @cssproperty --mdc-avatar-default-foreground-color - Allows customization of the default foreground color.\n * @cssproperty --mdc-avatar-loading-indicator-background-color -\n * Allows customization of the loading indicator background color.\n * @cssproperty --mdc-avatar-loading-indicator-foreground-color -\n * Allows customization of the loading indicator foreground color.\n * @cssproperty --mdc-avatar-loading-overlay-background-color -\n * Allows customization of the loading overlay background color.\n */",
147
- "customElement": true,
148
- "attributes": [
149
- {
150
- "name": "src",
151
- "type": {
152
- "text": "string | undefined"
153
- },
154
- "description": "The src is the url which will be used to display the avatar.\nWhen the src is loading, we will display the initials as a placeholder.",
155
- "fieldName": "src",
156
- "inheritedFrom": {
157
- "name": "AvatarComponentMixin",
158
- "module": "src/utils/mixins/AvatarComponentMixin.ts"
159
- }
160
- },
161
- {
162
- "name": "initials",
163
- "type": {
164
- "text": "string | undefined"
165
- },
166
- "description": "The initials to be displayed for the avatar.",
167
- "fieldName": "initials",
168
- "inheritedFrom": {
169
- "name": "AvatarComponentMixin",
170
- "module": "src/utils/mixins/AvatarComponentMixin.ts"
171
- }
172
- },
173
- {
174
- "name": "presence",
175
- "type": {
176
- "text": "PresenceType | undefined"
177
- },
178
- "description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
179
- "fieldName": "presence",
180
- "inheritedFrom": {
181
- "name": "AvatarComponentMixin",
182
- "module": "src/utils/mixins/AvatarComponentMixin.ts"
183
- }
184
- },
185
- {
186
- "name": "size",
187
- "type": {
188
- "text": "AvatarSize"
189
- },
190
- "description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
191
- "default": "32",
192
- "fieldName": "size",
193
- "inheritedFrom": {
194
- "name": "AvatarComponentMixin",
195
- "module": "src/utils/mixins/AvatarComponentMixin.ts"
196
- }
197
- },
198
- {
199
- "name": "counter",
200
- "type": {
201
- "text": "number | undefined"
202
- },
203
- "description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
204
- "fieldName": "counter",
205
- "inheritedFrom": {
206
- "name": "AvatarComponentMixin",
207
- "module": "src/utils/mixins/AvatarComponentMixin.ts"
208
- }
209
- },
210
- {
211
- "name": "is-typing",
212
- "type": {
213
- "text": "boolean"
214
- },
215
- "default": "false",
216
- "description": "Represents the typing indicator when the user is typing.",
217
- "fieldName": "isTyping",
218
- "inheritedFrom": {
219
- "name": "AvatarComponentMixin",
220
- "module": "src/utils/mixins/AvatarComponentMixin.ts"
221
- }
222
- },
223
- {
224
- "name": "icon-name",
225
- "type": {
226
- "text": "IconNames | undefined"
227
- },
228
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
229
- "fieldName": "iconName",
230
- "inheritedFrom": {
231
- "name": "IconNameMixin",
232
- "module": "src/utils/mixins/IconNameMixin.ts"
233
- }
234
- }
235
- ]
236
- }
237
- ],
238
- "exports": [
239
- {
240
- "kind": "js",
241
- "name": "default",
242
- "declaration": {
243
- "name": "Avatar",
244
- "module": "components/avatar/avatar.component.js"
245
- }
246
- }
247
- ]
248
- },
249
5
  {
250
6
  "kind": "javascript-module",
251
7
  "path": "components/avatarbutton/avatarbutton.component.js",
@@ -1121,20 +877,264 @@
1121
877
  },
1122
878
  {
1123
879
  "kind": "javascript-module",
1124
- "path": "components/bullet/bullet.component.js",
880
+ "path": "components/avatar/avatar.component.js",
1125
881
  "declarations": [
1126
882
  {
1127
883
  "kind": "class",
1128
- "description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
1129
- "name": "Bullet",
884
+ "description": "The `mdc-avatar` component is used to represent a person or a space.\nAn avatar can be an icon, initials, counter and photo.\n\nTo set the photo of an avatar,\nyou need to set \"src\" attribute.\n\nWhile the avatar image is loading, as a placeholder,\nwe will show the initials text.\nIf the initials are not specified then,\nwe will show `user-regular` icon as a placeholder.\n\nBy default, if there are no attributes specified,\nthen the default avatar will be an icon with `user-regular` name.\n\nThe avatar component is non clickable and non interactive/focusable component.\nIf the avatar is typing, then the loading indicator will be displayed.\nIf the counter type avatar is set to a negative number, then we will display 0.\nThe presence indicator will be hidden when the counter property is set.",
885
+ "name": "Avatar",
1130
886
  "cssProperties": [
1131
887
  {
1132
- "description": "background color of the bullet",
1133
- "name": "--mdc-bullet-background-color"
888
+ "description": "Allows customization of the default background color.",
889
+ "name": "--mdc-avatar-default-background-color"
1134
890
  },
1135
891
  {
1136
- "description": "small size value of the bullet",
1137
- "name": "--mdc-bullet-size-small"
892
+ "description": "Allows customization of the default foreground color.",
893
+ "name": "--mdc-avatar-default-foreground-color"
894
+ },
895
+ {
896
+ "description": "Allows customization of the loading indicator background color.",
897
+ "name": "--mdc-avatar-loading-indicator-background-color"
898
+ },
899
+ {
900
+ "description": "Allows customization of the loading indicator foreground color.",
901
+ "name": "--mdc-avatar-loading-indicator-foreground-color"
902
+ },
903
+ {
904
+ "description": "Allows customization of the loading overlay background color.",
905
+ "name": "--mdc-avatar-loading-overlay-background-color"
906
+ }
907
+ ],
908
+ "members": [
909
+ {
910
+ "kind": "field",
911
+ "name": "src",
912
+ "type": {
913
+ "text": "string | undefined"
914
+ },
915
+ "description": "The src is the url which will be used to display the avatar.\nWhen the src is loading, we will display the initials as a placeholder.",
916
+ "attribute": "src",
917
+ "inheritedFrom": {
918
+ "name": "AvatarComponentMixin",
919
+ "module": "utils/mixins/AvatarComponentMixin.js"
920
+ }
921
+ },
922
+ {
923
+ "kind": "field",
924
+ "name": "initials",
925
+ "type": {
926
+ "text": "string | undefined"
927
+ },
928
+ "description": "The initials to be displayed for the avatar.",
929
+ "attribute": "initials",
930
+ "inheritedFrom": {
931
+ "name": "AvatarComponentMixin",
932
+ "module": "utils/mixins/AvatarComponentMixin.js"
933
+ }
934
+ },
935
+ {
936
+ "kind": "field",
937
+ "name": "presence",
938
+ "type": {
939
+ "text": "PresenceType | undefined"
940
+ },
941
+ "description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
942
+ "attribute": "presence",
943
+ "inheritedFrom": {
944
+ "name": "AvatarComponentMixin",
945
+ "module": "utils/mixins/AvatarComponentMixin.js"
946
+ }
947
+ },
948
+ {
949
+ "kind": "field",
950
+ "name": "size",
951
+ "type": {
952
+ "text": "AvatarSize"
953
+ },
954
+ "description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
955
+ "default": "32",
956
+ "attribute": "size",
957
+ "reflects": true,
958
+ "inheritedFrom": {
959
+ "name": "AvatarComponentMixin",
960
+ "module": "utils/mixins/AvatarComponentMixin.js"
961
+ }
962
+ },
963
+ {
964
+ "kind": "field",
965
+ "name": "counter",
966
+ "type": {
967
+ "text": "number | undefined"
968
+ },
969
+ "description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
970
+ "attribute": "counter",
971
+ "inheritedFrom": {
972
+ "name": "AvatarComponentMixin",
973
+ "module": "utils/mixins/AvatarComponentMixin.js"
974
+ }
975
+ },
976
+ {
977
+ "kind": "field",
978
+ "name": "isTyping",
979
+ "type": {
980
+ "text": "boolean"
981
+ },
982
+ "default": "false",
983
+ "description": "Represents the typing indicator when the user is typing.",
984
+ "attribute": "is-typing",
985
+ "inheritedFrom": {
986
+ "name": "AvatarComponentMixin",
987
+ "module": "utils/mixins/AvatarComponentMixin.js"
988
+ }
989
+ },
990
+ {
991
+ "kind": "field",
992
+ "name": "iconName",
993
+ "type": {
994
+ "text": "IconNames | undefined"
995
+ },
996
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
997
+ "attribute": "icon-name",
998
+ "inheritedFrom": {
999
+ "name": "IconNameMixin",
1000
+ "module": "utils/mixins/IconNameMixin.js"
1001
+ }
1002
+ }
1003
+ ],
1004
+ "mixins": [
1005
+ {
1006
+ "name": "AvatarComponentMixin",
1007
+ "module": "/src/utils/mixins/AvatarComponentMixin"
1008
+ },
1009
+ {
1010
+ "name": "IconNameMixin",
1011
+ "module": "/src/utils/mixins/IconNameMixin"
1012
+ }
1013
+ ],
1014
+ "superclass": {
1015
+ "name": "Component",
1016
+ "module": "/src/models"
1017
+ },
1018
+ "tagName": "mdc-avatar",
1019
+ "jsDoc": "/**\n * The `mdc-avatar` component is used to represent a person or a space.\n * An avatar can be an icon, initials, counter and photo.\n *\n * To set the photo of an avatar,\n * you need to set \"src\" attribute.\n *\n * While the avatar image is loading, as a placeholder,\n * we will show the initials text.\n * If the initials are not specified then,\n * we will show `user-regular` icon as a placeholder.\n *\n * By default, if there are no attributes specified,\n * then the default avatar will be an icon with `user-regular` name.\n *\n * The avatar component is non clickable and non interactive/focusable component.\n * If the avatar is typing, then the loading indicator will be displayed.\n * If the counter type avatar is set to a negative number, then we will display 0.\n * The presence indicator will be hidden when the counter property is set.\n *\n * @dependency mdc-icon\n * @dependency mdc-presence\n * @dependency mdc-text\n *\n * @tagname mdc-avatar\n *\n * @cssproperty --mdc-avatar-default-background-color - Allows customization of the default background color.\n * @cssproperty --mdc-avatar-default-foreground-color - Allows customization of the default foreground color.\n * @cssproperty --mdc-avatar-loading-indicator-background-color -\n * Allows customization of the loading indicator background color.\n * @cssproperty --mdc-avatar-loading-indicator-foreground-color -\n * Allows customization of the loading indicator foreground color.\n * @cssproperty --mdc-avatar-loading-overlay-background-color -\n * Allows customization of the loading overlay background color.\n */",
1020
+ "customElement": true,
1021
+ "attributes": [
1022
+ {
1023
+ "name": "src",
1024
+ "type": {
1025
+ "text": "string | undefined"
1026
+ },
1027
+ "description": "The src is the url which will be used to display the avatar.\nWhen the src is loading, we will display the initials as a placeholder.",
1028
+ "fieldName": "src",
1029
+ "inheritedFrom": {
1030
+ "name": "AvatarComponentMixin",
1031
+ "module": "src/utils/mixins/AvatarComponentMixin.ts"
1032
+ }
1033
+ },
1034
+ {
1035
+ "name": "initials",
1036
+ "type": {
1037
+ "text": "string | undefined"
1038
+ },
1039
+ "description": "The initials to be displayed for the avatar.",
1040
+ "fieldName": "initials",
1041
+ "inheritedFrom": {
1042
+ "name": "AvatarComponentMixin",
1043
+ "module": "src/utils/mixins/AvatarComponentMixin.ts"
1044
+ }
1045
+ },
1046
+ {
1047
+ "name": "presence",
1048
+ "type": {
1049
+ "text": "PresenceType | undefined"
1050
+ },
1051
+ "description": "The presence is the status which can be used to display the\nactivity state of a user or a space within an avatar component.\n\nAcceptable values include:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
1052
+ "fieldName": "presence",
1053
+ "inheritedFrom": {
1054
+ "name": "AvatarComponentMixin",
1055
+ "module": "src/utils/mixins/AvatarComponentMixin.ts"
1056
+ }
1057
+ },
1058
+ {
1059
+ "name": "size",
1060
+ "type": {
1061
+ "text": "AvatarSize"
1062
+ },
1063
+ "description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
1064
+ "default": "32",
1065
+ "fieldName": "size",
1066
+ "inheritedFrom": {
1067
+ "name": "AvatarComponentMixin",
1068
+ "module": "src/utils/mixins/AvatarComponentMixin.ts"
1069
+ }
1070
+ },
1071
+ {
1072
+ "name": "counter",
1073
+ "type": {
1074
+ "text": "number | undefined"
1075
+ },
1076
+ "description": "The counter is the number which can be displayed on the avatar.\nThe maximum number is 99 and if the given number is greater than 99,\nthen the avatar will be displayed as `99+`.\nIf the given number is a negative number,\nthen the avatar will be displayed as `0`.",
1077
+ "fieldName": "counter",
1078
+ "inheritedFrom": {
1079
+ "name": "AvatarComponentMixin",
1080
+ "module": "src/utils/mixins/AvatarComponentMixin.ts"
1081
+ }
1082
+ },
1083
+ {
1084
+ "name": "is-typing",
1085
+ "type": {
1086
+ "text": "boolean"
1087
+ },
1088
+ "default": "false",
1089
+ "description": "Represents the typing indicator when the user is typing.",
1090
+ "fieldName": "isTyping",
1091
+ "inheritedFrom": {
1092
+ "name": "AvatarComponentMixin",
1093
+ "module": "src/utils/mixins/AvatarComponentMixin.ts"
1094
+ }
1095
+ },
1096
+ {
1097
+ "name": "icon-name",
1098
+ "type": {
1099
+ "text": "IconNames | undefined"
1100
+ },
1101
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
1102
+ "fieldName": "iconName",
1103
+ "inheritedFrom": {
1104
+ "name": "IconNameMixin",
1105
+ "module": "src/utils/mixins/IconNameMixin.ts"
1106
+ }
1107
+ }
1108
+ ]
1109
+ }
1110
+ ],
1111
+ "exports": [
1112
+ {
1113
+ "kind": "js",
1114
+ "name": "default",
1115
+ "declaration": {
1116
+ "name": "Avatar",
1117
+ "module": "components/avatar/avatar.component.js"
1118
+ }
1119
+ }
1120
+ ]
1121
+ },
1122
+ {
1123
+ "kind": "javascript-module",
1124
+ "path": "components/bullet/bullet.component.js",
1125
+ "declarations": [
1126
+ {
1127
+ "kind": "class",
1128
+ "description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
1129
+ "name": "Bullet",
1130
+ "cssProperties": [
1131
+ {
1132
+ "description": "background color of the bullet",
1133
+ "name": "--mdc-bullet-background-color"
1134
+ },
1135
+ {
1136
+ "description": "small size value of the bullet",
1137
+ "name": "--mdc-bullet-size-small"
1138
1138
  },
1139
1139
  {
1140
1140
  "description": "medium size value of the bullet",
@@ -2119,19 +2119,39 @@
2119
2119
  }
2120
2120
  }
2121
2121
  ],
2122
- "description": "Toggles the state of the checkbox element.\nand dispatch the new event."
2123
- },
2124
- {
2125
- "kind": "field",
2126
- "name": "internals"
2122
+ "description": "Toggles the state of the checkbox element.\nand dispatch the new change event."
2127
2123
  },
2128
2124
  {
2129
- "kind": "field",
2130
- "name": "helpTextType",
2131
- "type": {
2132
- "text": "ValidationType"
2133
- },
2134
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
2125
+ "kind": "method",
2126
+ "name": "handleKeyDown",
2127
+ "privacy": "private",
2128
+ "return": {
2129
+ "type": {
2130
+ "text": "void"
2131
+ }
2132
+ },
2133
+ "parameters": [
2134
+ {
2135
+ "name": "event",
2136
+ "type": {
2137
+ "text": "KeyboardEvent"
2138
+ },
2139
+ "description": "The keyboard event."
2140
+ }
2141
+ ],
2142
+ "description": "Handles the keydown event on the checkbox.\nWhen the user presses Enter, the form is submitted."
2143
+ },
2144
+ {
2145
+ "kind": "field",
2146
+ "name": "internals"
2147
+ },
2148
+ {
2149
+ "kind": "field",
2150
+ "name": "helpTextType",
2151
+ "type": {
2152
+ "text": "ValidationType"
2153
+ },
2154
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
2135
2155
  "attribute": "help-text-type",
2136
2156
  "reflects": true,
2137
2157
  "default": "undefined as unknown",
@@ -2318,7 +2338,7 @@
2318
2338
  "events": [
2319
2339
  {
2320
2340
  "type": {
2321
- "text": "Event"
2341
+ "text": "EventConstructor"
2322
2342
  }
2323
2343
  }
2324
2344
  ],
@@ -2484,6 +2504,112 @@
2484
2504
  }
2485
2505
  ]
2486
2506
  },
2507
+ {
2508
+ "kind": "javascript-module",
2509
+ "path": "components/checkboxgroup/checkboxgroup.component.js",
2510
+ "declarations": [
2511
+ {
2512
+ "kind": "class",
2513
+ "description": "`mdc-checkboxgroup` component allows you to select multiple options from a predefined list.\nIt is commonly used in forms where multiple selections are required, such as preferences, filters, or categories.\n\nA checkbox group typically consists of multiple checkboxes grouped together,\neach representing a selectable option. You can check or uncheck options based on their preferences.",
2514
+ "name": "Checkboxgroup",
2515
+ "slots": [
2516
+ {
2517
+ "description": "This is a help text slot.",
2518
+ "name": "help-text"
2519
+ },
2520
+ {
2521
+ "description": "This is a default slot for children.",
2522
+ "name": "default"
2523
+ }
2524
+ ],
2525
+ "members": [
2526
+ {
2527
+ "kind": "field",
2528
+ "name": "headerText",
2529
+ "type": {
2530
+ "text": "string | undefined"
2531
+ },
2532
+ "description": "The header text of the checkboxgroup.",
2533
+ "attribute": "header-text"
2534
+ },
2535
+ {
2536
+ "kind": "method",
2537
+ "name": "handleKeyDown",
2538
+ "privacy": "private",
2539
+ "return": {
2540
+ "type": {
2541
+ "text": "void"
2542
+ }
2543
+ },
2544
+ "parameters": [
2545
+ {
2546
+ "name": "event",
2547
+ "type": {
2548
+ "text": "KeyboardEvent"
2549
+ },
2550
+ "description": "The KeyboardEvent"
2551
+ }
2552
+ ],
2553
+ "description": "Handles the keydown event on the parent checkbox in the checkboxgroup.\nWhen the user presses the down arrow key, the focus is moved to the next checkbox in the checkboxgroup.\nWhen the user presses the up arrow key, the focus is moved to the previous checkbox in the checkboxgroup."
2554
+ },
2555
+ {
2556
+ "kind": "method",
2557
+ "name": "navigate",
2558
+ "privacy": "private",
2559
+ "return": {
2560
+ "type": {
2561
+ "text": "void"
2562
+ }
2563
+ },
2564
+ "parameters": [
2565
+ {
2566
+ "name": "origin",
2567
+ "type": {
2568
+ "text": "EventTarget | null"
2569
+ },
2570
+ "description": "The element that triggered the event."
2571
+ },
2572
+ {
2573
+ "name": "direction",
2574
+ "type": {
2575
+ "text": "number"
2576
+ },
2577
+ "description": "The direction of navigation, either -1 or 1."
2578
+ }
2579
+ ],
2580
+ "description": "Navigate to the next or previous checkbox in the checkboxgroup based on the given origin and direction."
2581
+ }
2582
+ ],
2583
+ "attributes": [
2584
+ {
2585
+ "name": "header-text",
2586
+ "type": {
2587
+ "text": "string | undefined"
2588
+ },
2589
+ "description": "The header text of the checkboxgroup.",
2590
+ "fieldName": "headerText"
2591
+ }
2592
+ ],
2593
+ "superclass": {
2594
+ "name": "Component",
2595
+ "module": "/src/models"
2596
+ },
2597
+ "tagName": "mdc-checkboxgroup",
2598
+ "jsDoc": "/**\n * `mdc-checkboxgroup` component allows you to select multiple options from a predefined list.\n * It is commonly used in forms where multiple selections are required, such as preferences, filters, or categories.\n *\n * A checkbox group typically consists of multiple checkboxes grouped together,\n * each representing a selectable option. You can check or uncheck options based on their preferences.\n *\n * @dependency mdc-text\n *\n * @tagname mdc-checkboxgroup\n *\n * @slot help-text - This is a help text slot.\n * @slot default - This is a default slot for children.\n */",
2599
+ "customElement": true
2600
+ }
2601
+ ],
2602
+ "exports": [
2603
+ {
2604
+ "kind": "js",
2605
+ "name": "default",
2606
+ "declaration": {
2607
+ "name": "Checkboxgroup",
2608
+ "module": "components/checkboxgroup/checkboxgroup.component.js"
2609
+ }
2610
+ }
2611
+ ]
2612
+ },
2487
2613
  {
2488
2614
  "kind": "javascript-module",
2489
2615
  "path": "components/divider/divider.component.js",
@@ -3133,150 +3259,308 @@
3133
3259
  },
3134
3260
  {
3135
3261
  "kind": "javascript-module",
3136
- "path": "components/input/input.component.js",
3262
+ "path": "components/iconprovider/iconprovider.component.js",
3137
3263
  "declarations": [
3138
3264
  {
3139
3265
  "kind": "class",
3140
- "description": "mdc-input is a component that allows users to input text.\n It contains:\n- label field - describe the input field.\n- input field - contains the value\n- help text or validation message - displayed below the input field.\n- trailing button - it displays a clear the input field.\n- prefix text - displayed before the input field.\n- leading icon - displayed before the input field.\n- clear-aria-label - aria label for the trailing button.\n- all the attributes of the input field.",
3141
- "name": "Input",
3142
- "cssProperties": [
3143
- {
3144
- "description": "Border color for the input container when disabled",
3145
- "name": "--mdc-input-disabled-border-color"
3146
- },
3147
- {
3148
- "description": "Text color for the input field when disabled",
3149
- "name": "--mdc-input-disabled-text-color"
3150
- },
3151
- {
3152
- "description": "Background color for the input field when disabled",
3153
- "name": "--mdc-input-disabled-background-color"
3154
- },
3155
- {
3156
- "description": "Border color for the input container",
3157
- "name": "--mdc-input-border-color"
3158
- },
3159
- {
3160
- "description": "Text color for the input field",
3161
- "name": "--mdc-input-text-color"
3162
- },
3163
- {
3164
- "description": "Background color for the input field",
3165
- "name": "--mdc-input-background-color"
3166
- },
3167
- {
3168
- "description": "Background color for the selected text",
3169
- "name": "--mdc-input-selection-background-color"
3170
- },
3171
- {
3172
- "description": "Text color for the selected text",
3173
- "name": "--mdc-input-selection-text-color"
3174
- },
3175
- {
3176
- "description": "Text color for the help text",
3177
- "name": "--mdc-input-support-text-color"
3178
- },
3179
- {
3180
- "description": "Background color for the input field when hovered",
3181
- "name": "--mdc-input-hover-background-color"
3182
- },
3183
- {
3184
- "description": "Background color for the input field when focused",
3185
- "name": "--mdc-input-focused-background-color"
3186
- },
3187
- {
3188
- "description": "Border color for the input container when focused",
3189
- "name": "--mdc-input-focused-border-color"
3190
- },
3191
- {
3192
- "description": "Border color for the input container when error",
3193
- "name": "--mdc-input-error-border-color"
3194
- },
3195
- {
3196
- "description": "Border color for the input container when warning",
3197
- "name": "--mdc-input-warning-border-color"
3198
- },
3199
- {
3200
- "description": "Border color for the input container when success",
3201
- "name": "--mdc-input-success-border-color"
3202
- },
3266
+ "description": "IconProvider component, which allows to be consumed from sub components\n(see `providerUtils.consume` for how to consume)\n\nBundling icons will be up to the consumer of this component, such\nthat only a url has to be passed in from which the icons will be\nfetched.\n\nIf `shouldCache` is set to true, the IconProvider will cache the icons\nin a Map to avoid fetching the same icon multiple times over the network.\nThis is useful when the same icon is used multiple times in the application.\nKeep in mind that this cache is not persisted and will be lost when the\nIconProvider is removed from the DOM.",
3267
+ "name": "IconProvider",
3268
+ "slots": [
3203
3269
  {
3204
- "description": "Border color for the input container when primary",
3205
- "name": "--mdc-input-primary-border-color"
3270
+ "description": "children",
3271
+ "name": ""
3206
3272
  }
3207
3273
  ],
3208
3274
  "members": [
3209
3275
  {
3210
3276
  "kind": "field",
3211
- "name": "placeholder",
3212
- "type": {
3213
- "text": "string"
3214
- },
3215
- "default": "''",
3216
- "description": "The placeholder text that is displayed when the input field is empty.",
3217
- "attribute": "placeholder"
3277
+ "name": "Context",
3278
+ "privacy": "public",
3279
+ "static": true,
3280
+ "description": "Context object of the IconProvider, to be consumed by child components",
3281
+ "readonly": true
3218
3282
  },
3219
3283
  {
3220
3284
  "kind": "field",
3221
- "name": "required",
3285
+ "name": "url",
3222
3286
  "type": {
3223
- "text": "boolean"
3287
+ "text": "string | undefined"
3224
3288
  },
3225
- "default": "false",
3226
- "description": "required attribute of the input field.\nIf true, the consumer should indicate it on the label that the input field is required.",
3227
- "attribute": "required"
3289
+ "description": "Url of where icons will be fetched from",
3290
+ "attribute": "url"
3228
3291
  },
3229
3292
  {
3230
3293
  "kind": "field",
3231
- "name": "readonly",
3294
+ "name": "fileExtension",
3232
3295
  "type": {
3233
- "text": "boolean"
3296
+ "text": "string | undefined"
3234
3297
  },
3235
- "default": "false",
3236
- "description": "readonly attribute of the input field. If true, the input field is read-only.",
3237
- "attribute": "readonly"
3298
+ "description": "File extension of icons",
3299
+ "default": "svg",
3300
+ "attribute": "file-extension",
3301
+ "reflects": true
3238
3302
  },
3239
3303
  {
3240
3304
  "kind": "field",
3241
- "name": "prefixText",
3305
+ "name": "lengthUnit",
3242
3306
  "type": {
3243
- "text": "string | undefined"
3307
+ "text": "string"
3244
3308
  },
3245
- "description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
3246
- "attribute": "prefix-text"
3309
+ "description": "Length unit used for sizing of icons",
3310
+ "default": "em",
3311
+ "attribute": "length-unit",
3312
+ "reflects": true
3247
3313
  },
3248
3314
  {
3249
3315
  "kind": "field",
3250
- "name": "leadingIcon",
3316
+ "name": "size",
3251
3317
  "type": {
3252
- "text": "IconNames | undefined"
3318
+ "text": "number | undefined"
3253
3319
  },
3254
- "description": "The leading icon that is displayed before the input field.",
3255
- "attribute": "leading-icon"
3320
+ "description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
3321
+ "default": "1",
3322
+ "attribute": "size",
3323
+ "reflects": true
3256
3324
  },
3257
3325
  {
3258
3326
  "kind": "field",
3259
- "name": "trailingButton",
3327
+ "name": "shouldCache",
3260
3328
  "type": {
3261
- "text": "boolean"
3329
+ "text": "boolean | undefined"
3262
3330
  },
3331
+ "description": "If the IconProvider should cache the icons\nin a Map to avoid fetching the same icon multiple times",
3263
3332
  "default": "false",
3264
- "description": "The trailing button when set to true, shows a clear button that clears the input field.",
3265
- "attribute": "trailing-button"
3333
+ "attribute": "should-cache",
3334
+ "reflects": true
3266
3335
  },
3267
3336
  {
3268
- "kind": "field",
3269
- "name": "maxlength",
3270
- "type": {
3271
- "text": "number | undefined"
3272
- },
3273
- "description": "The maximum number of characters that the input field can accept.",
3274
- "attribute": "maxlength"
3337
+ "kind": "method",
3338
+ "name": "updateValuesInContext",
3339
+ "privacy": "private"
3275
3340
  },
3276
3341
  {
3277
- "kind": "field",
3278
- "name": "minlength",
3279
- "type": {
3342
+ "kind": "method",
3343
+ "name": "updateContext",
3344
+ "privacy": "protected",
3345
+ "return": {
3346
+ "type": {
3347
+ "text": "void"
3348
+ }
3349
+ }
3350
+ }
3351
+ ],
3352
+ "attributes": [
3353
+ {
3354
+ "name": "url",
3355
+ "type": {
3356
+ "text": "string | undefined"
3357
+ },
3358
+ "description": "Url of where icons will be fetched from",
3359
+ "fieldName": "url"
3360
+ },
3361
+ {
3362
+ "name": "file-extension",
3363
+ "type": {
3364
+ "text": "string | undefined"
3365
+ },
3366
+ "description": "File extension of icons",
3367
+ "default": "svg",
3368
+ "fieldName": "fileExtension"
3369
+ },
3370
+ {
3371
+ "name": "length-unit",
3372
+ "type": {
3373
+ "text": "string"
3374
+ },
3375
+ "description": "Length unit used for sizing of icons",
3376
+ "default": "em",
3377
+ "fieldName": "lengthUnit"
3378
+ },
3379
+ {
3380
+ "name": "size",
3381
+ "type": {
3382
+ "text": "number | undefined"
3383
+ },
3384
+ "description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
3385
+ "default": "1",
3386
+ "fieldName": "size"
3387
+ },
3388
+ {
3389
+ "name": "should-cache",
3390
+ "type": {
3391
+ "text": "boolean | undefined"
3392
+ },
3393
+ "description": "If the IconProvider should cache the icons\nin a Map to avoid fetching the same icon multiple times",
3394
+ "default": "false",
3395
+ "fieldName": "shouldCache"
3396
+ }
3397
+ ],
3398
+ "superclass": {
3399
+ "name": "Provider",
3400
+ "module": "/src/models"
3401
+ },
3402
+ "tagName": "mdc-iconprovider",
3403
+ "jsDoc": "/**\n * IconProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Bundling icons will be up to the consumer of this component, such\n * that only a url has to be passed in from which the icons will be\n * fetched.\n *\n * If `shouldCache` is set to true, the IconProvider will cache the icons\n * in a Map 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 * Keep in mind that this cache is not persisted and will be lost when the\n * IconProvider is removed from the DOM.\n *\n * @tagname mdc-iconprovider\n *\n * @slot - children\n */",
3404
+ "customElement": true
3405
+ }
3406
+ ],
3407
+ "exports": [
3408
+ {
3409
+ "kind": "js",
3410
+ "name": "default",
3411
+ "declaration": {
3412
+ "name": "IconProvider",
3413
+ "module": "components/iconprovider/iconprovider.component.js"
3414
+ }
3415
+ }
3416
+ ]
3417
+ },
3418
+ {
3419
+ "kind": "javascript-module",
3420
+ "path": "components/input/input.component.js",
3421
+ "declarations": [
3422
+ {
3423
+ "kind": "class",
3424
+ "description": "mdc-input is a component that allows users to input text.\n It contains:\n- label field - describe the input field.\n- input field - contains the value\n- help text or validation message - displayed below the input field.\n- trailing button - it displays a clear the input field.\n- prefix text - displayed before the input field.\n- leading icon - displayed before the input field.\n- clear-aria-label - aria label for the trailing button.\n- all the attributes of the input field.",
3425
+ "name": "Input",
3426
+ "cssProperties": [
3427
+ {
3428
+ "description": "Border color for the input container when disabled",
3429
+ "name": "--mdc-input-disabled-border-color"
3430
+ },
3431
+ {
3432
+ "description": "Text color for the input field when disabled",
3433
+ "name": "--mdc-input-disabled-text-color"
3434
+ },
3435
+ {
3436
+ "description": "Background color for the input field when disabled",
3437
+ "name": "--mdc-input-disabled-background-color"
3438
+ },
3439
+ {
3440
+ "description": "Border color for the input container",
3441
+ "name": "--mdc-input-border-color"
3442
+ },
3443
+ {
3444
+ "description": "Text color for the input field",
3445
+ "name": "--mdc-input-text-color"
3446
+ },
3447
+ {
3448
+ "description": "Background color for the input field",
3449
+ "name": "--mdc-input-background-color"
3450
+ },
3451
+ {
3452
+ "description": "Background color for the selected text",
3453
+ "name": "--mdc-input-selection-background-color"
3454
+ },
3455
+ {
3456
+ "description": "Text color for the selected text",
3457
+ "name": "--mdc-input-selection-text-color"
3458
+ },
3459
+ {
3460
+ "description": "Text color for the help text",
3461
+ "name": "--mdc-input-support-text-color"
3462
+ },
3463
+ {
3464
+ "description": "Background color for the input field when hovered",
3465
+ "name": "--mdc-input-hover-background-color"
3466
+ },
3467
+ {
3468
+ "description": "Background color for the input field when focused",
3469
+ "name": "--mdc-input-focused-background-color"
3470
+ },
3471
+ {
3472
+ "description": "Border color for the input container when focused",
3473
+ "name": "--mdc-input-focused-border-color"
3474
+ },
3475
+ {
3476
+ "description": "Border color for the input container when error",
3477
+ "name": "--mdc-input-error-border-color"
3478
+ },
3479
+ {
3480
+ "description": "Border color for the input container when warning",
3481
+ "name": "--mdc-input-warning-border-color"
3482
+ },
3483
+ {
3484
+ "description": "Border color for the input container when success",
3485
+ "name": "--mdc-input-success-border-color"
3486
+ },
3487
+ {
3488
+ "description": "Border color for the input container when primary",
3489
+ "name": "--mdc-input-primary-border-color"
3490
+ }
3491
+ ],
3492
+ "members": [
3493
+ {
3494
+ "kind": "field",
3495
+ "name": "placeholder",
3496
+ "type": {
3497
+ "text": "string"
3498
+ },
3499
+ "default": "''",
3500
+ "description": "The placeholder text that is displayed when the input field is empty.",
3501
+ "attribute": "placeholder"
3502
+ },
3503
+ {
3504
+ "kind": "field",
3505
+ "name": "required",
3506
+ "type": {
3507
+ "text": "boolean"
3508
+ },
3509
+ "default": "false",
3510
+ "description": "required attribute of the input field.\nIf true, the consumer should indicate it on the label that the input field is required.",
3511
+ "attribute": "required"
3512
+ },
3513
+ {
3514
+ "kind": "field",
3515
+ "name": "readonly",
3516
+ "type": {
3517
+ "text": "boolean"
3518
+ },
3519
+ "default": "false",
3520
+ "description": "readonly attribute of the input field. If true, the input field is read-only.",
3521
+ "attribute": "readonly"
3522
+ },
3523
+ {
3524
+ "kind": "field",
3525
+ "name": "prefixText",
3526
+ "type": {
3527
+ "text": "string | undefined"
3528
+ },
3529
+ "description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
3530
+ "attribute": "prefix-text"
3531
+ },
3532
+ {
3533
+ "kind": "field",
3534
+ "name": "leadingIcon",
3535
+ "type": {
3536
+ "text": "IconNames | undefined"
3537
+ },
3538
+ "description": "The leading icon that is displayed before the input field.",
3539
+ "attribute": "leading-icon"
3540
+ },
3541
+ {
3542
+ "kind": "field",
3543
+ "name": "trailingButton",
3544
+ "type": {
3545
+ "text": "boolean"
3546
+ },
3547
+ "default": "false",
3548
+ "description": "The trailing button when set to true, shows a clear button that clears the input field.",
3549
+ "attribute": "trailing-button"
3550
+ },
3551
+ {
3552
+ "kind": "field",
3553
+ "name": "maxlength",
3554
+ "type": {
3555
+ "text": "number | undefined"
3556
+ },
3557
+ "description": "The maximum number of characters that the input field can accept.",
3558
+ "attribute": "maxlength"
3559
+ },
3560
+ {
3561
+ "kind": "field",
3562
+ "name": "minlength",
3563
+ "type": {
3280
3564
  "text": "number | undefined"
3281
3565
  },
3282
3566
  "description": "The minimum number of characters that the input field can accept.",
@@ -4262,148 +4546,109 @@
4262
4546
  },
4263
4547
  {
4264
4548
  "kind": "javascript-module",
4265
- "path": "components/iconprovider/iconprovider.component.js",
4549
+ "path": "components/modalcontainer/modalcontainer.component.js",
4266
4550
  "declarations": [
4267
4551
  {
4268
4552
  "kind": "class",
4269
- "description": "IconProvider component, which allows to be consumed from sub components\n(see `providerUtils.consume` for how to consume)\n\nBundling icons will be up to the consumer of this component, such\nthat only a url has to be passed in from which the icons will be\nfetched.\n\nIf `shouldCache` is set to true, the IconProvider will cache the icons\nin a Map to avoid fetching the same icon multiple times over the network.\nThis is useful when the same icon is used multiple times in the application.\nKeep in mind that this cache is not persisted and will be lost when the\nIconProvider is removed from the DOM.",
4270
- "name": "IconProvider",
4271
- "slots": [
4553
+ "description": "The `mdc-modalcontainer` component is an element used to\ndisplay a modal container that can further be used in popover.",
4554
+ "name": "Modalcontainer",
4555
+ "cssProperties": [
4272
4556
  {
4273
- "description": "children",
4274
- "name": ""
4275
- }
4276
- ],
4277
- "members": [
4557
+ "description": "primary background color of the modalcontainer",
4558
+ "name": "--mdc-modalcontainer-primary-background-color"
4559
+ },
4278
4560
  {
4279
- "kind": "field",
4280
- "name": "Context",
4281
- "privacy": "public",
4282
- "static": true,
4283
- "description": "Context object of the IconProvider, to be consumed by child components",
4284
- "readonly": true
4561
+ "description": "border color of the modalcontainer",
4562
+ "name": "--mdc-modalcontainer-border-color"
4285
4563
  },
4286
4564
  {
4287
- "kind": "field",
4288
- "name": "url",
4289
- "type": {
4290
- "text": "string | undefined"
4291
- },
4292
- "description": "Url of where icons will be fetched from",
4293
- "attribute": "url"
4565
+ "description": "inverted background color of the modalcontainer",
4566
+ "name": "--mdc-modalcontainer-inverted-background-color"
4294
4567
  },
4295
4568
  {
4296
- "kind": "field",
4297
- "name": "fileExtension",
4298
- "type": {
4299
- "text": "string | undefined"
4300
- },
4301
- "description": "File extension of icons",
4302
- "default": "svg",
4303
- "attribute": "file-extension",
4304
- "reflects": true
4569
+ "description": "inverted border color of the modalcontainer",
4570
+ "name": "--mdc-modalcontainer-inverted-border-color"
4305
4571
  },
4572
+ {
4573
+ "description": "inverted text color of the modalcontainer",
4574
+ "name": "--mdc-modalcontainer-inverted-text-color"
4575
+ }
4576
+ ],
4577
+ "slots": [
4578
+ {
4579
+ "description": "Default slot for modal container",
4580
+ "name": ""
4581
+ }
4582
+ ],
4583
+ "members": [
4306
4584
  {
4307
4585
  "kind": "field",
4308
- "name": "lengthUnit",
4586
+ "name": "color",
4309
4587
  "type": {
4310
- "text": "string"
4588
+ "text": "ModalContainerColor"
4311
4589
  },
4312
- "description": "Length unit used for sizing of icons",
4313
- "default": "em",
4314
- "attribute": "length-unit",
4590
+ "description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
4591
+ "default": "tonal",
4592
+ "attribute": "color",
4315
4593
  "reflects": true
4316
4594
  },
4317
4595
  {
4318
4596
  "kind": "field",
4319
- "name": "size",
4597
+ "name": "elevation",
4320
4598
  "type": {
4321
- "text": "number | undefined"
4599
+ "text": "ModalContainerElevation"
4322
4600
  },
4323
- "description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
4324
- "default": "1",
4325
- "attribute": "size",
4601
+ "description": "Elevation of the modalcontainer where each value corresponds to a different drop shadow.\n- **0**\n- **1**\n- **2**\n- **3**\n- **4**",
4602
+ "default": "0",
4603
+ "attribute": "elevation",
4326
4604
  "reflects": true
4327
4605
  },
4328
4606
  {
4329
4607
  "kind": "field",
4330
- "name": "shouldCache",
4608
+ "name": "role",
4331
4609
  "type": {
4332
- "text": "boolean | undefined"
4610
+ "text": "ModalContainerRole"
4333
4611
  },
4334
- "description": "If the IconProvider should cache the icons\nin a Map to avoid fetching the same icon multiple times",
4335
- "default": "false",
4336
- "attribute": "should-cache",
4337
- "reflects": true
4338
- },
4339
- {
4340
- "kind": "method",
4341
- "name": "updateValuesInContext",
4342
- "privacy": "private"
4343
- },
4344
- {
4345
- "kind": "method",
4346
- "name": "updateContext",
4347
- "privacy": "protected",
4348
- "return": {
4349
- "type": {
4350
- "text": "void"
4351
- }
4352
- }
4612
+ "description": "Role of the modalcontainer",
4613
+ "default": "dialog",
4614
+ "attribute": "role"
4353
4615
  }
4354
4616
  ],
4355
4617
  "attributes": [
4356
4618
  {
4357
- "name": "url",
4358
- "type": {
4359
- "text": "string | undefined"
4360
- },
4361
- "description": "Url of where icons will be fetched from",
4362
- "fieldName": "url"
4363
- },
4364
- {
4365
- "name": "file-extension",
4366
- "type": {
4367
- "text": "string | undefined"
4368
- },
4369
- "description": "File extension of icons",
4370
- "default": "svg",
4371
- "fieldName": "fileExtension"
4372
- },
4373
- {
4374
- "name": "length-unit",
4619
+ "name": "color",
4375
4620
  "type": {
4376
- "text": "string"
4621
+ "text": "ModalContainerColor"
4377
4622
  },
4378
- "description": "Length unit used for sizing of icons",
4379
- "default": "em",
4380
- "fieldName": "lengthUnit"
4623
+ "description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
4624
+ "default": "tonal",
4625
+ "fieldName": "color"
4381
4626
  },
4382
4627
  {
4383
- "name": "size",
4628
+ "name": "elevation",
4384
4629
  "type": {
4385
- "text": "number | undefined"
4630
+ "text": "ModalContainerElevation"
4386
4631
  },
4387
- "description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
4388
- "default": "1",
4389
- "fieldName": "size"
4632
+ "description": "Elevation of the modalcontainer where each value corresponds to a different drop shadow.\n- **0**\n- **1**\n- **2**\n- **3**\n- **4**",
4633
+ "default": "0",
4634
+ "fieldName": "elevation"
4390
4635
  },
4391
4636
  {
4392
- "name": "should-cache",
4637
+ "name": "role",
4393
4638
  "type": {
4394
- "text": "boolean | undefined"
4639
+ "text": "ModalContainerRole"
4395
4640
  },
4396
- "description": "If the IconProvider should cache the icons\nin a Map to avoid fetching the same icon multiple times",
4397
- "default": "false",
4398
- "fieldName": "shouldCache"
4641
+ "description": "Role of the modalcontainer",
4642
+ "default": "dialog",
4643
+ "fieldName": "role"
4399
4644
  }
4400
4645
  ],
4401
4646
  "superclass": {
4402
- "name": "Provider",
4647
+ "name": "Component",
4403
4648
  "module": "/src/models"
4404
4649
  },
4405
- "tagName": "mdc-iconprovider",
4406
- "jsDoc": "/**\n * IconProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Bundling icons will be up to the consumer of this component, such\n * that only a url has to be passed in from which the icons will be\n * fetched.\n *\n * If `shouldCache` is set to true, the IconProvider will cache the icons\n * in a Map 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 * Keep in mind that this cache is not persisted and will be lost when the\n * IconProvider is removed from the DOM.\n *\n * @tagname mdc-iconprovider\n *\n * @slot - children\n */",
4650
+ "tagName": "mdc-modalcontainer",
4651
+ "jsDoc": "/**\n * The `mdc-modalcontainer` component is an element used to\n * display a modal container that can further be used in popover.\n *\n * @tagname mdc-modalcontainer\n *\n * @cssproperty --mdc-modalcontainer-primary-background-color - primary background color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-border-color - border color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-background-color - inverted background color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-border-color - inverted border color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-text-color - inverted text color of the modalcontainer\n *\n * @slot - Default slot for modal container\n */",
4407
4652
  "customElement": true
4408
4653
  }
4409
4654
  ],
@@ -4412,8 +4657,8 @@
4412
4657
  "kind": "js",
4413
4658
  "name": "default",
4414
4659
  "declaration": {
4415
- "name": "IconProvider",
4416
- "module": "components/iconprovider/iconprovider.component.js"
4660
+ "name": "Modalcontainer",
4661
+ "module": "components/modalcontainer/modalcontainer.component.js"
4417
4662
  }
4418
4663
  }
4419
4664
  ]
@@ -4588,125 +4833,6 @@
4588
4833
  }
4589
4834
  ]
4590
4835
  },
4591
- {
4592
- "kind": "javascript-module",
4593
- "path": "components/modalcontainer/modalcontainer.component.js",
4594
- "declarations": [
4595
- {
4596
- "kind": "class",
4597
- "description": "The `mdc-modalcontainer` component is an element used to\ndisplay a modal container that can further be used in popover.",
4598
- "name": "Modalcontainer",
4599
- "cssProperties": [
4600
- {
4601
- "description": "primary background color of the modalcontainer",
4602
- "name": "--mdc-modalcontainer-primary-background-color"
4603
- },
4604
- {
4605
- "description": "border color of the modalcontainer",
4606
- "name": "--mdc-modalcontainer-border-color"
4607
- },
4608
- {
4609
- "description": "inverted background color of the modalcontainer",
4610
- "name": "--mdc-modalcontainer-inverted-background-color"
4611
- },
4612
- {
4613
- "description": "inverted border color of the modalcontainer",
4614
- "name": "--mdc-modalcontainer-inverted-border-color"
4615
- },
4616
- {
4617
- "description": "inverted text color of the modalcontainer",
4618
- "name": "--mdc-modalcontainer-inverted-text-color"
4619
- }
4620
- ],
4621
- "slots": [
4622
- {
4623
- "description": "Default slot for modal container",
4624
- "name": ""
4625
- }
4626
- ],
4627
- "members": [
4628
- {
4629
- "kind": "field",
4630
- "name": "color",
4631
- "type": {
4632
- "text": "ModalContainerColor"
4633
- },
4634
- "description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
4635
- "default": "tonal",
4636
- "attribute": "color",
4637
- "reflects": true
4638
- },
4639
- {
4640
- "kind": "field",
4641
- "name": "elevation",
4642
- "type": {
4643
- "text": "ModalContainerElevation"
4644
- },
4645
- "description": "Elevation of the modalcontainer where each value corresponds to a different drop shadow.\n- **0**\n- **1**\n- **2**\n- **3**\n- **4**",
4646
- "default": "0",
4647
- "attribute": "elevation",
4648
- "reflects": true
4649
- },
4650
- {
4651
- "kind": "field",
4652
- "name": "role",
4653
- "type": {
4654
- "text": "ModalContainerRole"
4655
- },
4656
- "description": "Role of the modalcontainer",
4657
- "default": "dialog",
4658
- "attribute": "role"
4659
- }
4660
- ],
4661
- "attributes": [
4662
- {
4663
- "name": "color",
4664
- "type": {
4665
- "text": "ModalContainerColor"
4666
- },
4667
- "description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
4668
- "default": "tonal",
4669
- "fieldName": "color"
4670
- },
4671
- {
4672
- "name": "elevation",
4673
- "type": {
4674
- "text": "ModalContainerElevation"
4675
- },
4676
- "description": "Elevation of the modalcontainer where each value corresponds to a different drop shadow.\n- **0**\n- **1**\n- **2**\n- **3**\n- **4**",
4677
- "default": "0",
4678
- "fieldName": "elevation"
4679
- },
4680
- {
4681
- "name": "role",
4682
- "type": {
4683
- "text": "ModalContainerRole"
4684
- },
4685
- "description": "Role of the modalcontainer",
4686
- "default": "dialog",
4687
- "fieldName": "role"
4688
- }
4689
- ],
4690
- "superclass": {
4691
- "name": "Component",
4692
- "module": "/src/models"
4693
- },
4694
- "tagName": "mdc-modalcontainer",
4695
- "jsDoc": "/**\n * The `mdc-modalcontainer` component is an element used to\n * display a modal container that can further be used in popover.\n *\n * @tagname mdc-modalcontainer\n *\n * @cssproperty --mdc-modalcontainer-primary-background-color - primary background color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-border-color - border color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-background-color - inverted background color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-border-color - inverted border color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-text-color - inverted text color of the modalcontainer\n *\n * @slot - Default slot for modal container\n */",
4696
- "customElement": true
4697
- }
4698
- ],
4699
- "exports": [
4700
- {
4701
- "kind": "js",
4702
- "name": "default",
4703
- "declaration": {
4704
- "name": "Modalcontainer",
4705
- "module": "components/modalcontainer/modalcontainer.component.js"
4706
- }
4707
- }
4708
- ]
4709
- },
4710
4836
  {
4711
4837
  "kind": "javascript-module",
4712
4838
  "path": "components/radio/radio.component.js",