@momentum-design/components 0.24.1 → 0.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/browser/index.js +98 -74
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/checkbox/checkbox.component.d.ts +2 -2
  4. package/dist/components/checkbox/checkbox.component.js +5 -6
  5. package/dist/components/formfieldgroup/formfieldgroup.component.d.ts +34 -0
  6. package/dist/components/formfieldgroup/formfieldgroup.component.js +57 -0
  7. package/dist/components/formfieldgroup/formfieldgroup.constants.d.ts +6 -0
  8. package/dist/components/formfieldgroup/formfieldgroup.constants.js +7 -0
  9. package/dist/components/formfieldgroup/formfieldgroup.styles.js +20 -0
  10. package/dist/components/formfieldgroup/index.d.ts +8 -0
  11. package/dist/components/formfieldgroup/index.js +5 -0
  12. package/dist/components/formfieldwrapper/formfieldwrapper.component.d.ts +1 -1
  13. package/dist/components/formfieldwrapper/formfieldwrapper.component.js +8 -4
  14. package/dist/components/formfieldwrapper/formfieldwrapper.constants.d.ts +2 -0
  15. package/dist/components/formfieldwrapper/formfieldwrapper.constants.js +2 -0
  16. package/dist/components/input/input.component.js +2 -0
  17. package/dist/components/radio/radio.component.js +2 -0
  18. package/dist/components/toggle/toggle.component.d.ts +2 -0
  19. package/dist/components/toggle/toggle.component.js +4 -0
  20. package/dist/custom-elements.json +1475 -1263
  21. package/dist/index.d.ts +2 -2
  22. package/dist/index.js +2 -2
  23. package/dist/react/checkbox/index.d.ts +2 -0
  24. package/dist/react/checkbox/index.js +2 -0
  25. package/dist/react/formfieldgroup/index.d.ts +23 -0
  26. package/dist/react/formfieldgroup/index.js +32 -0
  27. package/dist/react/index.d.ts +3 -3
  28. package/dist/react/index.js +3 -3
  29. package/dist/react/toggle/index.d.ts +2 -0
  30. package/dist/react/toggle/index.js +2 -0
  31. package/package.json +1 -1
  32. package/dist/components/checkboxgroup/checkboxgroup.component.d.ts +0 -43
  33. package/dist/components/checkboxgroup/checkboxgroup.component.js +0 -94
  34. package/dist/components/checkboxgroup/checkboxgroup.constants.d.ts +0 -2
  35. package/dist/components/checkboxgroup/checkboxgroup.constants.js +0 -3
  36. package/dist/components/checkboxgroup/checkboxgroup.styles.js +0 -9
  37. package/dist/components/checkboxgroup/index.d.ts +0 -8
  38. package/dist/components/checkboxgroup/index.js +0 -5
  39. package/dist/react/checkboxgroup/index.d.ts +0 -17
  40. package/dist/react/checkboxgroup/index.js +0 -26
  41. /package/dist/components/{checkboxgroup/checkboxgroup.styles.d.ts → formfieldgroup/formfieldgroup.styles.d.ts} +0 -0
@@ -2,6 +2,250 @@
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
+ },
5
249
  {
6
250
  "kind": "javascript-module",
7
251
  "path": "components/avatarbutton/avatarbutton.component.js",
@@ -877,260 +1121,16 @@
877
1121
  },
878
1122
  {
879
1123
  "kind": "javascript-module",
880
- "path": "components/avatar/avatar.component.js",
1124
+ "path": "components/bullet/bullet.component.js",
881
1125
  "declarations": [
882
1126
  {
883
1127
  "kind": "class",
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",
1128
+ "description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
1129
+ "name": "Bullet",
886
1130
  "cssProperties": [
887
1131
  {
888
- "description": "Allows customization of the default background color.",
889
- "name": "--mdc-avatar-default-background-color"
890
- },
891
- {
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"
1132
+ "description": "background color of the bullet",
1133
+ "name": "--mdc-bullet-background-color"
1134
1134
  },
1135
1135
  {
1136
1136
  "description": "small size value of the bullet",
@@ -2006,7 +2006,7 @@
2006
2006
  "declarations": [
2007
2007
  {
2008
2008
  "kind": "class",
2009
- "description": "Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selections in lists.\n\nA checkbox component contains an optional label and an optional helper text.",
2009
+ "description": "Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selections in lists.\n\nA checkbox component contains an optional label and an optional helper text.\n\nTo create a group of checkboxes, use the FormFieldGroup component.",
2010
2010
  "name": "Checkbox",
2011
2011
  "cssProperties": [
2012
2012
  {
@@ -2514,7 +2514,7 @@
2514
2514
  "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
2515
2515
  },
2516
2516
  "tagName": "mdc-checkbox",
2517
- "jsDoc": "/**\n * Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selections in lists.\n *\n * A checkbox component contains an optional label and an optional helper text.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-checkbox\n *\n * @cssproperty --mdc-checkbox-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-checkbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-checkbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-checkbox-checked-background-color-hover - Background color for a selected checkbox when hovered.\n * @cssproperty --mdc-checkbox-checked-pressed-icon-color - Background color for a selected checkbox when pressed.\n * @cssproperty --mdc-checkbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-checkbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-color - Icon color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-pressed-icon-color - Background color for a selected checkbox when pressed.\n */",
2517
+ "jsDoc": "/**\n * Checkboxes allow users to select multiple options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selections in lists.\n *\n * A checkbox component contains an optional label and an optional helper text.\n *\n * To create a group of checkboxes, use the FormFieldGroup component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-checkbox\n *\n * @cssproperty --mdc-checkbox-background-color-hover - Allows customization of the background color on hover.\n * @cssproperty --mdc-checkbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-checkbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-checkbox-checked-background-color-hover - Background color for a selected checkbox when hovered.\n * @cssproperty --mdc-checkbox-checked-pressed-icon-color - Background color for a selected checkbox when pressed.\n * @cssproperty --mdc-checkbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-checkbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-icon-color - Icon color for an unselected checkbox.\n * @cssproperty --mdc-checkbox-pressed-icon-color - Background color for a selected checkbox when pressed.\n */",
2518
2518
  "customElement": true,
2519
2519
  "slots": [
2520
2520
  {
@@ -2541,127 +2541,21 @@
2541
2541
  },
2542
2542
  {
2543
2543
  "kind": "javascript-module",
2544
- "path": "components/checkboxgroup/checkboxgroup.component.js",
2544
+ "path": "components/divider/divider.component.js",
2545
2545
  "declarations": [
2546
2546
  {
2547
2547
  "kind": "class",
2548
- "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.",
2549
- "name": "Checkboxgroup",
2550
- "slots": [
2548
+ "description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
2549
+ "name": "Divider",
2550
+ "cssProperties": [
2551
2551
  {
2552
- "description": "This is a help text slot.",
2553
- "name": "help-text"
2552
+ "description": "background color of the divider",
2553
+ "name": "--mdc-divider-background-color"
2554
2554
  },
2555
2555
  {
2556
- "description": "This is a default slot for children.",
2557
- "name": "default"
2558
- }
2559
- ],
2560
- "members": [
2561
- {
2562
- "kind": "field",
2563
- "name": "headerText",
2564
- "type": {
2565
- "text": "string | undefined"
2566
- },
2567
- "description": "The header text of the checkboxgroup.",
2568
- "attribute": "header-text"
2569
- },
2570
- {
2571
- "kind": "method",
2572
- "name": "handleKeyDown",
2573
- "privacy": "private",
2574
- "return": {
2575
- "type": {
2576
- "text": "void"
2577
- }
2578
- },
2579
- "parameters": [
2580
- {
2581
- "name": "event",
2582
- "type": {
2583
- "text": "KeyboardEvent"
2584
- },
2585
- "description": "The KeyboardEvent"
2586
- }
2587
- ],
2588
- "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."
2589
- },
2590
- {
2591
- "kind": "method",
2592
- "name": "navigate",
2593
- "privacy": "private",
2594
- "return": {
2595
- "type": {
2596
- "text": "void"
2597
- }
2598
- },
2599
- "parameters": [
2600
- {
2601
- "name": "origin",
2602
- "type": {
2603
- "text": "EventTarget | null"
2604
- },
2605
- "description": "The element that triggered the event."
2606
- },
2607
- {
2608
- "name": "direction",
2609
- "type": {
2610
- "text": "number"
2611
- },
2612
- "description": "The direction of navigation, either -1 or 1."
2613
- }
2614
- ],
2615
- "description": "Navigate to the next or previous checkbox in the checkboxgroup based on the given origin and direction."
2616
- }
2617
- ],
2618
- "attributes": [
2619
- {
2620
- "name": "header-text",
2621
- "type": {
2622
- "text": "string | undefined"
2623
- },
2624
- "description": "The header text of the checkboxgroup.",
2625
- "fieldName": "headerText"
2626
- }
2627
- ],
2628
- "superclass": {
2629
- "name": "Component",
2630
- "module": "/src/models"
2631
- },
2632
- "tagName": "mdc-checkboxgroup",
2633
- "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 */",
2634
- "customElement": true
2635
- }
2636
- ],
2637
- "exports": [
2638
- {
2639
- "kind": "js",
2640
- "name": "default",
2641
- "declaration": {
2642
- "name": "Checkboxgroup",
2643
- "module": "components/checkboxgroup/checkboxgroup.component.js"
2644
- }
2645
- }
2646
- ]
2647
- },
2648
- {
2649
- "kind": "javascript-module",
2650
- "path": "components/divider/divider.component.js",
2651
- "declarations": [
2652
- {
2653
- "kind": "class",
2654
- "description": "`mdc-divider` is a component that provides a line to separate and organize content.\nIt can also include a button or text positioned centrally, allowing users to interact with the layout.\n\n**Divider Orientation:**\n- **Horizontal**: A thin, horizontal line.\n- **Vertical**: A thin, vertical line.\n\n**Divider Variants:**\n- **solid**: Solid line.\n- **gradient**: Gradient Line.\n\n**Divider Types:**\n- The type of divider is inferred based on the kind of slot present.\n - **Primary**: A simple horizontal or vertical divider.\n - **Text**: A horizontal divider with a text label in the center.\n - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.\n\n**Accessibility:**\n- When the slot is replaced by an `mdc-button`:\n - `aria-label` should be passed to the `mdc-button`.\n - `aria-expanded` should be passed to the `mdc-button`.\n\n**Notes:**\n- If the slot is replaced by an invalid tag name or contains multiple elements,\n the divider defaults to the **Primary** type.\n- To override the styles of the divider, use the provided CSS custom properties.",
2655
- "name": "Divider",
2656
- "cssProperties": [
2657
- {
2658
- "description": "background color of the divider",
2659
- "name": "--mdc-divider-background-color"
2660
- },
2661
- {
2662
- "description": "width of the divider",
2663
- "name": "--mdc-divider-width"
2664
- },
2556
+ "description": "width of the divider",
2557
+ "name": "--mdc-divider-width"
2558
+ },
2665
2559
  {
2666
2560
  "description": "gradient of the horizontal divider",
2667
2561
  "name": "--mdc-divider-horizontal-gradient"
@@ -2877,19 +2771,72 @@
2877
2771
  },
2878
2772
  {
2879
2773
  "kind": "javascript-module",
2880
- "path": "components/formfieldwrapper/formfieldwrapper.component.js",
2774
+ "path": "components/formfieldgroup/formfieldgroup.component.js",
2881
2775
  "declarations": [
2882
2776
  {
2883
2777
  "kind": "class",
2884
- "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.",
2885
- "name": "FormfieldWrapper",
2778
+ "description": "`mdc-formfieldgroup` component, groups the form field components together.\nAll passed in children will have a gap of 12px (0.75rem) each applied.\n\nThis component is specifically for creating a `checkbox` group and a `toggle` group component.\nFor the radiogroup use the RadioGroup component instead.\n\nThe header text and description text are displayed above the items with accessible labels.<br/>\nThe consumer has to provide atleast the header-text or the aria-label,\nlike one of them <b>has</b> to be passed in always, otherwise its not accessible.\n\nThe role will be set to `group`.\nThe aria-label will be set with the data-aria-label property.\nThe aria-labelledby will be set with the header id which contains the header text information.\nThe aria-describedby will be set with the description id which contains the description text information.",
2779
+ "name": "FormfieldGroup",
2886
2780
  "slots": [
2781
+ {
2782
+ "description": "This is a default slot for checkbox or toggle components.",
2783
+ "name": "default"
2784
+ },
2887
2785
  {
2888
2786
  "description": "slot to add the label info icon",
2889
- "name": "label-info"
2787
+ "name": "label-info",
2788
+ "inheritedFrom": {
2789
+ "name": "FormfieldWrapper",
2790
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
2791
+ }
2890
2792
  }
2891
2793
  ],
2892
2794
  "members": [
2795
+ {
2796
+ "kind": "field",
2797
+ "name": "helpTextType",
2798
+ "type": {
2799
+ "text": "ValidationType"
2800
+ },
2801
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
2802
+ "attribute": "help-text-type",
2803
+ "reflects": true,
2804
+ "default": "undefined as unknown",
2805
+ "inheritedFrom": {
2806
+ "name": "FormfieldWrapper",
2807
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2808
+ }
2809
+ },
2810
+ {
2811
+ "kind": "field",
2812
+ "name": "dataAriaLabel",
2813
+ "type": {
2814
+ "text": "string | null"
2815
+ },
2816
+ "default": "null",
2817
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
2818
+ "attribute": "data-aria-label",
2819
+ "reflects": true,
2820
+ "inheritedFrom": {
2821
+ "name": "DataAriaLabelMixin",
2822
+ "module": "utils/mixins/DataAriaLabelMixin.js"
2823
+ }
2824
+ },
2825
+ {
2826
+ "kind": "field",
2827
+ "name": "disabled",
2828
+ "type": {
2829
+ "text": "boolean"
2830
+ },
2831
+ "default": "false",
2832
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2833
+ "attribute": "disabled",
2834
+ "reflects": true,
2835
+ "inheritedFrom": {
2836
+ "name": "DisabledMixin",
2837
+ "module": "utils/mixins/DisabledMixin.js"
2838
+ }
2839
+ },
2893
2840
  {
2894
2841
  "kind": "field",
2895
2842
  "name": "label",
@@ -2898,7 +2845,11 @@
2898
2845
  },
2899
2846
  "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
2900
2847
  "attribute": "label",
2901
- "reflects": true
2848
+ "reflects": true,
2849
+ "inheritedFrom": {
2850
+ "name": "FormfieldWrapper",
2851
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2852
+ }
2902
2853
  },
2903
2854
  {
2904
2855
  "kind": "field",
@@ -2908,24 +2859,22 @@
2908
2859
  },
2909
2860
  "description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
2910
2861
  "attribute": "required-label",
2911
- "reflects": true
2862
+ "reflects": true,
2863
+ "inheritedFrom": {
2864
+ "name": "FormfieldWrapper",
2865
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2866
+ }
2912
2867
  },
2913
2868
  {
2914
2869
  "kind": "field",
2915
2870
  "name": "id",
2916
2871
  "default": "`mdc-input-${uuidv4()}`",
2917
2872
  "description": "The unique id of the input field. It is used to link the input field with the label.",
2918
- "attribute": "id"
2919
- },
2920
- {
2921
- "kind": "field",
2922
- "name": "helpTextType",
2923
- "type": {
2924
- "text": "ValidationType"
2925
- },
2926
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
2927
- "attribute": "help-text-type",
2928
- "reflects": true
2873
+ "attribute": "id",
2874
+ "inheritedFrom": {
2875
+ "name": "FormfieldWrapper",
2876
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2877
+ }
2929
2878
  },
2930
2879
  {
2931
2880
  "kind": "field",
@@ -2935,7 +2884,11 @@
2935
2884
  },
2936
2885
  "description": "The help text that is displayed below the input field.",
2937
2886
  "attribute": "help-text",
2938
- "reflects": true
2887
+ "reflects": true,
2888
+ "inheritedFrom": {
2889
+ "name": "FormfieldWrapper",
2890
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2891
+ }
2939
2892
  },
2940
2893
  {
2941
2894
  "kind": "method",
@@ -2946,12 +2899,20 @@
2946
2899
  "type": {
2947
2900
  "text": ""
2948
2901
  }
2902
+ },
2903
+ "inheritedFrom": {
2904
+ "name": "FormfieldWrapper",
2905
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2949
2906
  }
2950
2907
  },
2951
2908
  {
2952
2909
  "kind": "method",
2953
2910
  "name": "renderRequiredLabel",
2954
- "privacy": "protected"
2911
+ "privacy": "protected",
2912
+ "inheritedFrom": {
2913
+ "name": "FormfieldWrapper",
2914
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2915
+ }
2955
2916
  },
2956
2917
  {
2957
2918
  "kind": "method",
@@ -2962,6 +2923,10 @@
2962
2923
  "type": {
2963
2924
  "text": ""
2964
2925
  }
2926
+ },
2927
+ "inheritedFrom": {
2928
+ "name": "FormfieldWrapper",
2929
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2965
2930
  }
2966
2931
  },
2967
2932
  {
@@ -2973,6 +2938,10 @@
2973
2938
  "type": {
2974
2939
  "text": ""
2975
2940
  }
2941
+ },
2942
+ "inheritedFrom": {
2943
+ "name": "FormfieldWrapper",
2944
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2976
2945
  }
2977
2946
  },
2978
2947
  {
@@ -2984,6 +2953,10 @@
2984
2953
  "type": {
2985
2954
  "text": ""
2986
2955
  }
2956
+ },
2957
+ "inheritedFrom": {
2958
+ "name": "FormfieldWrapper",
2959
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2987
2960
  }
2988
2961
  },
2989
2962
  {
@@ -2995,32 +2968,64 @@
2995
2968
  "type": {
2996
2969
  "text": ""
2997
2970
  }
2971
+ },
2972
+ "inheritedFrom": {
2973
+ "name": "FormfieldWrapper",
2974
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
2975
+ }
2976
+ }
2977
+ ],
2978
+ "mixins": [
2979
+ {
2980
+ "name": "DataAriaLabelMixin",
2981
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
2982
+ }
2983
+ ],
2984
+ "superclass": {
2985
+ "name": "FormfieldWrapper",
2986
+ "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
2987
+ },
2988
+ "tagName": "mdc-formfieldgroup",
2989
+ "jsDoc": "/**\n * `mdc-formfieldgroup` component, groups the form field components together.\n * All passed in children will have a gap of 12px (0.75rem) each applied.\n *\n * This component is specifically for creating a `checkbox` group and a `toggle` group component.\n * For the radiogroup use the RadioGroup component instead.\n *\n * The header text and description text are displayed above the items with accessible labels.<br/>\n * The consumer has to provide atleast the header-text or the aria-label,\n * like one of them <b>has</b> to be passed in always, otherwise its not accessible.\n *\n * The role will be set to `group`.\n * The aria-label will be set with the data-aria-label property.\n * The aria-labelledby will be set with the header id which contains the header text information.\n * The aria-describedby will be set with the description id which contains the description text information.\n *\n * @tagname mdc-formfieldgroup\n *\n * @slot default - This is a default slot for checkbox or toggle components.\n */",
2990
+ "customElement": true,
2991
+ "attributes": [
2992
+ {
2993
+ "name": "data-aria-label",
2994
+ "type": {
2995
+ "text": "string | null"
2996
+ },
2997
+ "default": "null",
2998
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
2999
+ "fieldName": "dataAriaLabel",
3000
+ "inheritedFrom": {
3001
+ "name": "DataAriaLabelMixin",
3002
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
2998
3003
  }
2999
3004
  },
3000
3005
  {
3001
- "kind": "field",
3002
3006
  "name": "disabled",
3003
3007
  "type": {
3004
3008
  "text": "boolean"
3005
3009
  },
3006
3010
  "default": "false",
3007
3011
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3008
- "attribute": "disabled",
3009
- "reflects": true,
3012
+ "fieldName": "disabled",
3010
3013
  "inheritedFrom": {
3011
3014
  "name": "DisabledMixin",
3012
- "module": "utils/mixins/DisabledMixin.js"
3015
+ "module": "src/utils/mixins/DisabledMixin.ts"
3013
3016
  }
3014
- }
3015
- ],
3016
- "attributes": [
3017
+ },
3017
3018
  {
3018
3019
  "name": "label",
3019
3020
  "type": {
3020
3021
  "text": "string | undefined"
3021
3022
  },
3022
3023
  "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
3023
- "fieldName": "label"
3024
+ "fieldName": "label",
3025
+ "inheritedFrom": {
3026
+ "name": "FormfieldWrapper",
3027
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
3028
+ }
3024
3029
  },
3025
3030
  {
3026
3031
  "name": "required-label",
@@ -3028,13 +3033,220 @@
3028
3033
  "text": "string | undefined"
3029
3034
  },
3030
3035
  "description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
3031
- "fieldName": "requiredLabel"
3036
+ "fieldName": "requiredLabel",
3037
+ "inheritedFrom": {
3038
+ "name": "FormfieldWrapper",
3039
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
3040
+ }
3032
3041
  },
3033
3042
  {
3034
3043
  "name": "id",
3035
3044
  "default": "`mdc-input-${uuidv4()}`",
3036
3045
  "description": "The unique id of the input field. It is used to link the input field with the label.",
3037
- "fieldName": "id"
3046
+ "fieldName": "id",
3047
+ "inheritedFrom": {
3048
+ "name": "FormfieldWrapper",
3049
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
3050
+ }
3051
+ },
3052
+ {
3053
+ "name": "help-text-type",
3054
+ "type": {
3055
+ "text": "ValidationType"
3056
+ },
3057
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
3058
+ "fieldName": "helpTextType",
3059
+ "inheritedFrom": {
3060
+ "name": "FormfieldWrapper",
3061
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
3062
+ }
3063
+ },
3064
+ {
3065
+ "name": "help-text",
3066
+ "type": {
3067
+ "text": "string | undefined"
3068
+ },
3069
+ "description": "The help text that is displayed below the input field.",
3070
+ "fieldName": "helpText",
3071
+ "inheritedFrom": {
3072
+ "name": "FormfieldWrapper",
3073
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
3074
+ }
3075
+ }
3076
+ ]
3077
+ }
3078
+ ],
3079
+ "exports": [
3080
+ {
3081
+ "kind": "js",
3082
+ "name": "default",
3083
+ "declaration": {
3084
+ "name": "FormfieldGroup",
3085
+ "module": "components/formfieldgroup/formfieldgroup.component.js"
3086
+ }
3087
+ }
3088
+ ]
3089
+ },
3090
+ {
3091
+ "kind": "javascript-module",
3092
+ "path": "components/formfieldwrapper/formfieldwrapper.component.js",
3093
+ "declarations": [
3094
+ {
3095
+ "kind": "class",
3096
+ "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.",
3097
+ "name": "FormfieldWrapper",
3098
+ "slots": [
3099
+ {
3100
+ "description": "slot to add the label info icon",
3101
+ "name": "label-info"
3102
+ }
3103
+ ],
3104
+ "members": [
3105
+ {
3106
+ "kind": "field",
3107
+ "name": "label",
3108
+ "type": {
3109
+ "text": "string | undefined"
3110
+ },
3111
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
3112
+ "attribute": "label",
3113
+ "reflects": true
3114
+ },
3115
+ {
3116
+ "kind": "field",
3117
+ "name": "requiredLabel",
3118
+ "type": {
3119
+ "text": "string | undefined"
3120
+ },
3121
+ "description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
3122
+ "attribute": "required-label",
3123
+ "reflects": true
3124
+ },
3125
+ {
3126
+ "kind": "field",
3127
+ "name": "id",
3128
+ "default": "`mdc-input-${uuidv4()}`",
3129
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
3130
+ "attribute": "id"
3131
+ },
3132
+ {
3133
+ "kind": "field",
3134
+ "name": "helpTextType",
3135
+ "type": {
3136
+ "text": "ValidationType"
3137
+ },
3138
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
3139
+ "attribute": "help-text-type",
3140
+ "reflects": true
3141
+ },
3142
+ {
3143
+ "kind": "field",
3144
+ "name": "helpText",
3145
+ "type": {
3146
+ "text": "string | undefined"
3147
+ },
3148
+ "description": "The help text that is displayed below the input field.",
3149
+ "attribute": "help-text",
3150
+ "reflects": true
3151
+ },
3152
+ {
3153
+ "kind": "method",
3154
+ "name": "renderLabelElement",
3155
+ "privacy": "protected",
3156
+ "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
3157
+ "return": {
3158
+ "type": {
3159
+ "text": ""
3160
+ }
3161
+ }
3162
+ },
3163
+ {
3164
+ "kind": "method",
3165
+ "name": "renderRequiredLabel",
3166
+ "privacy": "protected"
3167
+ },
3168
+ {
3169
+ "kind": "method",
3170
+ "name": "renderHelpTextIcon",
3171
+ "privacy": "protected",
3172
+ "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.",
3173
+ "return": {
3174
+ "type": {
3175
+ "text": ""
3176
+ }
3177
+ }
3178
+ },
3179
+ {
3180
+ "kind": "method",
3181
+ "name": "renderHelpText",
3182
+ "privacy": "protected",
3183
+ "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.",
3184
+ "return": {
3185
+ "type": {
3186
+ "text": ""
3187
+ }
3188
+ }
3189
+ },
3190
+ {
3191
+ "kind": "method",
3192
+ "name": "renderLabel",
3193
+ "privacy": "protected",
3194
+ "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
3195
+ "return": {
3196
+ "type": {
3197
+ "text": ""
3198
+ }
3199
+ }
3200
+ },
3201
+ {
3202
+ "kind": "method",
3203
+ "name": "renderHelperText",
3204
+ "privacy": "protected",
3205
+ "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
3206
+ "return": {
3207
+ "type": {
3208
+ "text": ""
3209
+ }
3210
+ }
3211
+ },
3212
+ {
3213
+ "kind": "field",
3214
+ "name": "disabled",
3215
+ "type": {
3216
+ "text": "boolean"
3217
+ },
3218
+ "default": "false",
3219
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3220
+ "attribute": "disabled",
3221
+ "reflects": true,
3222
+ "inheritedFrom": {
3223
+ "name": "DisabledMixin",
3224
+ "module": "utils/mixins/DisabledMixin.js"
3225
+ }
3226
+ }
3227
+ ],
3228
+ "attributes": [
3229
+ {
3230
+ "name": "label",
3231
+ "type": {
3232
+ "text": "string | undefined"
3233
+ },
3234
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
3235
+ "fieldName": "label"
3236
+ },
3237
+ {
3238
+ "name": "required-label",
3239
+ "type": {
3240
+ "text": "string | undefined"
3241
+ },
3242
+ "description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
3243
+ "fieldName": "requiredLabel"
3244
+ },
3245
+ {
3246
+ "name": "id",
3247
+ "default": "`mdc-input-${uuidv4()}`",
3248
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
3249
+ "fieldName": "id"
3038
3250
  },
3039
3251
  {
3040
3252
  "name": "help-text-type",
@@ -5505,714 +5717,660 @@
5505
5717
  },
5506
5718
  {
5507
5719
  "kind": "javascript-module",
5508
- "path": "components/text/text.component.js",
5720
+ "path": "components/tab/tab.component.js",
5509
5721
  "declarations": [
5510
5722
  {
5511
5723
  "kind": "class",
5512
- "description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
5513
- "name": "Text",
5514
- "cssParts": [
5515
- {
5516
- "description": "The text element",
5517
- "name": "text"
5518
- }
5519
- ],
5520
- "slots": [
5724
+ "description": "`mdc-tab` is Tab component to be used within the Tabgroup.\n\nPassing in the attribute `text` to the tab component is changing the text displayed in the tab.\n\nThe `slot=\"badge\"` can be used to add a badge to the tab.\n\nFor `icon`, the `mdc-icon` component is used to render the icon.",
5725
+ "name": "Tab",
5726
+ "cssProperties": [
5521
5727
  {
5522
- "description": "Default slot for text content",
5523
- "name": ""
5524
- }
5525
- ],
5526
- "members": [
5728
+ "description": "Gap between the badge(if provided), icon and text.",
5729
+ "name": "--mdc-tab-content-gap"
5730
+ },
5527
5731
  {
5528
- "kind": "field",
5529
- "name": "type",
5530
- "type": {
5531
- "text": "TextType"
5532
- },
5533
- "privacy": "public",
5534
- "description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
5535
- "default": "body-large-regular",
5536
- "attribute": "type",
5537
- "reflects": true
5732
+ "description": "Height of the tab.",
5733
+ "name": "--mdc-tab-height"
5538
5734
  },
5539
5735
  {
5540
- "kind": "field",
5541
- "name": "tagname",
5542
- "type": {
5543
- "text": "TagName | undefined"
5544
- },
5545
- "privacy": "public",
5546
- "description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
5547
- "attribute": "tagname",
5548
- "reflects": true
5549
- }
5550
- ],
5551
- "attributes": [
5736
+ "description": "Background color for active glass tab in disabled state.",
5737
+ "name": "--mdc-tab-glass-active-background-color-disabled"
5738
+ },
5552
5739
  {
5553
- "name": "type",
5554
- "type": {
5555
- "text": "TextType"
5556
- },
5557
- "description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
5558
- "default": "body-large-regular",
5559
- "fieldName": "type"
5740
+ "description": "Background color for active glass tab in hover state.",
5741
+ "name": "--mdc-tab-glass-active-background-color-hover"
5560
5742
  },
5561
5743
  {
5562
- "name": "tagname",
5563
- "type": {
5564
- "text": "TagName | undefined"
5565
- },
5566
- "description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
5567
- "fieldName": "tagname"
5568
- }
5569
- ],
5570
- "superclass": {
5571
- "name": "Component",
5572
- "module": "/src/models"
5573
- },
5574
- "tagName": "mdc-text",
5575
- "jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
5576
- "customElement": true
5577
- }
5578
- ],
5579
- "exports": [
5580
- {
5581
- "kind": "js",
5582
- "name": "default",
5583
- "declaration": {
5584
- "name": "Text",
5585
- "module": "components/text/text.component.js"
5586
- }
5587
- }
5588
- ]
5589
- },
5590
- {
5591
- "kind": "javascript-module",
5592
- "path": "components/themeprovider/themeprovider.component.js",
5593
- "declarations": [
5594
- {
5595
- "kind": "class",
5596
- "description": "ThemeProvider component, which sets the passed in themeclass as class.\nIf the themeclass switches, the existing themeclass will be removed as a class\nand the new themeclass will be added.\n\nCSS variables defined in the themeclass will be used for the styling of child dom nodes.\n\nThemeclass context can be be consumed from Lit child components\n(see providerUtils.consume for how to consume)\n\nThemeProvider also includes basic font defaults for text.",
5597
- "name": "ThemeProvider",
5598
- "cssProperties": [
5744
+ "description": "Background color for active glass tab in rest state.",
5745
+ "name": "--mdc-tab-glass-active-background-color-normal"
5746
+ },
5599
5747
  {
5600
- "description": "Option to override the default color, default: color-theme-text-primary-normal",
5601
- "name": "--mdc-themeprovider-color-default"
5748
+ "description": "Background color for active glass tab in pressed state.",
5749
+ "name": "--mdc-tab-glass-active-background-color-pressed"
5602
5750
  },
5603
5751
  {
5604
- "description": "Option to override the font family, default: `Momentum` (from momentum-design/fonts)",
5605
- "name": "--mdc-themeprovider-font-family"
5752
+ "description": "Text and icon color for active glass tab.",
5753
+ "name": "--mdc-tab-glass-active-color"
5606
5754
  },
5607
5755
  {
5608
- "description": "Option to override the font weight, default: `400`",
5609
- "name": "--mdc-themeprovider-font-weight"
5756
+ "description": "Text and icon color for active glass tab in disabled state.",
5757
+ "name": "--mdc-tab-glass-active-color-disabled"
5610
5758
  },
5611
5759
  {
5612
- "description": "Option to override the default letter-spacing, default: `-0.25px` (this is to match the old CiscoSans)",
5613
- "name": "--mdc-themeprovider-letter-spacing-adjustment"
5614
- }
5615
- ],
5616
- "slots": [
5760
+ "description": "Border radius for glass tab.",
5761
+ "name": "--mdc-tab-glass-border-radius"
5762
+ },
5617
5763
  {
5618
- "description": "children",
5619
- "name": ""
5620
- }
5621
- ],
5622
- "members": [
5764
+ "description": "Background color for inactive glass tab in disabled state.",
5765
+ "name": "--mdc-tab-glass-inactive-background-color-disabled"
5766
+ },
5623
5767
  {
5624
- "kind": "field",
5625
- "name": "Context",
5626
- "privacy": "public",
5627
- "static": true,
5628
- "description": "Context object of the ThemeProvider, to be consumed by child components",
5629
- "readonly": true
5768
+ "description": "Background color for inactive glass tab in hover state.",
5769
+ "name": "--mdc-tab-glass-inactive-background-color-hover"
5630
5770
  },
5631
5771
  {
5632
- "kind": "field",
5633
- "name": "themeclass",
5634
- "type": {
5635
- "text": "string"
5636
- },
5637
- "description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
5638
- "attribute": "themeclass"
5772
+ "description": "Background color for inactive glass tab in rest state.",
5773
+ "name": "--mdc-tab-glass-inactive-background-color-normal"
5639
5774
  },
5640
5775
  {
5641
- "kind": "method",
5642
- "name": "updateContext",
5643
- "privacy": "protected",
5644
- "return": {
5645
- "type": {
5646
- "text": "void"
5647
- }
5648
- },
5649
- "description": "Update all observing components of this\nprovider to update the themeclass\n\nIs called on every re-render, see Provider class"
5776
+ "description": "Background color for inactive glass tab in pressed state.",
5777
+ "name": "--mdc-tab-glass-inactive-background-color-pressed"
5650
5778
  },
5651
5779
  {
5652
- "kind": "method",
5653
- "name": "setThemeInClassList",
5654
- "privacy": "private",
5655
- "description": "Function to update the active theme classnames to update the theme tokens\nas CSS variables on the web component."
5656
- }
5657
- ],
5658
- "attributes": [
5780
+ "description": "Text and icon color for inactive glass tab.",
5781
+ "name": "--mdc-tab-glass-inactive-color"
5782
+ },
5659
5783
  {
5660
- "name": "themeclass",
5661
- "type": {
5662
- "text": "string"
5663
- },
5664
- "description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
5665
- "fieldName": "themeclass"
5666
- }
5667
- ],
5668
- "superclass": {
5669
- "name": "Provider",
5670
- "module": "/src/models"
5671
- },
5672
- "tagName": "mdc-themeprovider",
5673
- "jsDoc": "/**\n * ThemeProvider component, which sets the passed in themeclass as class.\n * If the themeclass switches, the existing themeclass will be removed as a class\n * and the new themeclass will be added.\n *\n * CSS variables defined in the themeclass will be used for the styling of child dom nodes.\n *\n * Themeclass context can be be consumed from Lit child components\n * (see providerUtils.consume for how to consume)\n *\n * ThemeProvider also includes basic font defaults for text.\n *\n * @tagname mdc-themeprovider\n *\n * @slot - children\n *\n * @cssproperty --mdc-themeprovider-color-default - Option to override the default color,\n * default: color-theme-text-primary-normal\n * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,\n * default: `Momentum` (from momentum-design/fonts)\n * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`\n * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,\n * default: `-0.25px` (this is to match the old CiscoSans)\n */",
5674
- "customElement": true
5675
- }
5676
- ],
5677
- "exports": [
5678
- {
5679
- "kind": "js",
5680
- "name": "default",
5681
- "declaration": {
5682
- "name": "ThemeProvider",
5683
- "module": "components/themeprovider/themeprovider.component.js"
5684
- }
5685
- }
5686
- ]
5687
- },
5688
- {
5689
- "kind": "javascript-module",
5690
- "path": "components/toggle/toggle.component.js",
5691
- "declarations": [
5692
- {
5693
- "kind": "class",
5694
- "description": "Toggle Component is an interactive control used to switch between two mutually exclusive options,\nsuch as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\nwhere users need to enable or disable a feature.\nIt contains an optional label and an optional helper text.\n\nNote: It internally renders a checkbox styled as a toggle switch.",
5695
- "name": "Toggle",
5696
- "cssProperties": [
5784
+ "description": "Text and icon color for inactive glass tab in disabled state.",
5785
+ "name": "--mdc-tab-glass-inactive-color-disabled"
5786
+ },
5697
5787
  {
5698
- "description": "width of the toggle",
5699
- "name": "--mdc-toggle-width"
5788
+ "description": "Background color for active line tab in pressed state.",
5789
+ "name": "--mdc-tab-line-active-background-color-pressed"
5700
5790
  },
5701
5791
  {
5702
- "description": "height of the toggle",
5703
- "name": "--mdc-toggle-height"
5792
+ "description": "Background color for active line tab in disabled state.",
5793
+ "name": "--mdc-tab-line-active-background-color-disabled"
5704
5794
  },
5705
5795
  {
5706
- "description": "width of the toggle when it's size is compact",
5707
- "name": "--mdc-toggle-width-compact"
5796
+ "description": "Background color for active line tab in hover state.",
5797
+ "name": "--mdc-tab-line-active-background-color-hover"
5708
5798
  },
5709
5799
  {
5710
- "description": "height of the toggle when it's size is compact",
5711
- "name": "--mdc-toggle-height-compact"
5800
+ "description": "Background color for active line tab in rest state.",
5801
+ "name": "--mdc-tab-line-active-background-color-normal"
5712
5802
  },
5713
5803
  {
5714
- "description": "border radius of the toggle",
5715
- "name": "--mdc-toggle-border-radius"
5804
+ "description": "Text and icon color for active line tab.",
5805
+ "name": "--mdc-tab-line-active-color"
5716
5806
  },
5717
5807
  {
5718
- "description": "border radius of the toggle when it's size is compact",
5719
- "name": "--mdc-toggle-border-radius-compact"
5808
+ "description": "Text and icon color for active line tab in disabled state.",
5809
+ "name": "--mdc-tab-line-active-color-disabled"
5720
5810
  },
5721
5811
  {
5722
- "description": "border of the toggle",
5723
- "name": "--mdc-toggle-border"
5812
+ "description": "color for indicator in active line tab.",
5813
+ "name": "--mdc-tab-line-active-indicator-color"
5724
5814
  },
5725
5815
  {
5726
- "description": "background color of the inactive toggle in rest state",
5727
- "name": "--mdc-toggle-inactive-rest-color"
5816
+ "description": "Color for indicator in active line tab in disabled state.",
5817
+ "name": "--mdc-tab-line-active-indicator-color-disabled"
5728
5818
  },
5729
5819
  {
5730
- "description": "background color of the inactive toggle in hover state",
5731
- "name": "--mdc-toggle-inactive-hover-color"
5820
+ "description": "Height for indicator in active line tab.",
5821
+ "name": "--mdc-tab-line-active-indicator-height"
5732
5822
  },
5733
5823
  {
5734
- "description": "background color of the inactive toggle in pressed state",
5735
- "name": "--mdc-toggle-inactive-pressed-color"
5824
+ "description": "Width for indicator in active line tab.",
5825
+ "name": "--mdc-tab-line-active-indicator-width"
5736
5826
  },
5737
5827
  {
5738
- "description": "background color of the inactive toggle in disabled state",
5739
- "name": "--mdc-toggle-inactive-disabled-color"
5828
+ "description": "Bottom left border radius for line tab.",
5829
+ "name": "--mdc-tab-line-border-bottom-left-radius"
5740
5830
  },
5741
5831
  {
5742
- "description": "background color of the active toggle in rest state",
5743
- "name": "--mdc-toggle-active-rest-color"
5832
+ "description": "Bottom right border radius for line tab.",
5833
+ "name": "--mdc-tab-line-border-bottom-right-radius"
5744
5834
  },
5745
5835
  {
5746
- "description": "background color of the active toggle in hover state",
5747
- "name": "--mdc-toggle-active-hover-color"
5836
+ "description": "Top left border radius for line tab.",
5837
+ "name": "--mdc-tab-line-border-top-left-radius"
5748
5838
  },
5749
5839
  {
5750
- "description": "background color of the active toggle in pressed state",
5751
- "name": "--mdc-toggle-active-pressed-color"
5840
+ "description": "Top right border radius for line tab.",
5841
+ "name": "--mdc-tab-line-border-top-right-radius"
5752
5842
  },
5753
5843
  {
5754
- "description": "background color of the active toggle in disabled state",
5755
- "name": "--mdc-toggle-active-disabled-color"
5844
+ "description": "Background color for inactive line tab in pressed state.",
5845
+ "name": "--mdc-tab-line-inactive-background-color-pressed"
5756
5846
  },
5757
5847
  {
5758
- "description": " color of the help text label",
5759
- "name": "--mdc-toggle-help-text-color"
5848
+ "description": "Background color for inactive line tab in disabled state",
5849
+ "name": "--mdc-tab-line-inactive-background-color-disabled"
5760
5850
  },
5761
5851
  {
5762
- "description": "color of the toggle label and help text in disabled state",
5763
- "name": "--mdc-toggle-label-color-disabled"
5764
- }
5765
- ],
5766
- "members": [
5852
+ "description": "Background color for inactive line tab in hover state.",
5853
+ "name": "--mdc-tab-line-inactive-background-color-hover"
5854
+ },
5767
5855
  {
5768
- "kind": "field",
5769
- "name": "checked",
5770
- "type": {
5771
- "text": "boolean"
5772
- },
5773
- "default": "false",
5774
- "description": "Determines whether the toggle is active or inactive.",
5775
- "attribute": "checked",
5776
- "reflects": true
5856
+ "description": "Background color for inactive line tab in rest state.",
5857
+ "name": "--mdc-tab-line-inactive-background-color-normal"
5777
5858
  },
5778
5859
  {
5779
- "kind": "field",
5780
- "name": "size",
5781
- "type": {
5782
- "text": "ToggleSize"
5783
- },
5784
- "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
5785
- "default": "default",
5786
- "attribute": "size",
5787
- "reflects": true
5860
+ "description": "Text and icon color for inactive line tab.",
5861
+ "name": "--mdc-tab-line-inactive-color"
5788
5862
  },
5789
5863
  {
5790
- "kind": "method",
5791
- "name": "setFormValue",
5792
- "privacy": "private",
5793
- "description": "Updates the form value to reflect the current state of the toggle.\nIf toggle is switched on, the value is set to either the user-provided value or 'isActive' if no value is provided.\nIf toggle is switched off, the value is set to null."
5864
+ "description": "Text and icon color for inactive line tab in disabled state.",
5865
+ "name": "--mdc-tab-line-inactive-color-disabled"
5794
5866
  },
5795
5867
  {
5796
- "kind": "method",
5797
- "name": "toggleState",
5798
- "privacy": "private",
5799
- "return": {
5800
- "type": {
5801
- "text": "void"
5802
- }
5803
- },
5804
- "description": "Toggles the state of the toggle element.\nIf the element is not disabled, then the checked property is toggled."
5868
+ "description": "Padding left for the tab.",
5869
+ "name": "--mdc-tab-padding-left"
5805
5870
  },
5806
5871
  {
5807
- "kind": "method",
5808
- "name": "handleChange",
5872
+ "description": "Padding right for the tab.",
5873
+ "name": "--mdc-tab-padding-right"
5874
+ },
5875
+ {
5876
+ "description": "Background color for active pill tab in pressed state.",
5877
+ "name": "--mdc-tab-pill-active-background-color-pressed"
5878
+ },
5879
+ {
5880
+ "description": "Background color for active pill tab in disabled state.",
5881
+ "name": "--mdc-tab-pill-active-background-color-disabled"
5882
+ },
5883
+ {
5884
+ "description": "Background color for active pill tab in hover state.",
5885
+ "name": "--mdc-tab-pill-active-background-color-hover"
5886
+ },
5887
+ {
5888
+ "description": "Background color for active pill tab in rest state.",
5889
+ "name": "--mdc-tab-pill-active-background-color-normal"
5890
+ },
5891
+ {
5892
+ "description": "Text and icon color for active pill tab.",
5893
+ "name": "--mdc-tab-pill-active-color"
5894
+ },
5895
+ {
5896
+ "description": "Text and icon color for active pill tab in disabled state.",
5897
+ "name": "--mdc-tab-pill-active-color-disabled"
5898
+ },
5899
+ {
5900
+ "description": "Border radius for pill tab.",
5901
+ "name": "--mdc-tab-pill-border-radius"
5902
+ },
5903
+ {
5904
+ "description": "Background color for inactive pill tab in pressed state.",
5905
+ "name": "--mdc-tab-pill-inactive-background-color-pressed"
5906
+ },
5907
+ {
5908
+ "description": "Background color for inactive pill tab in disabled state.",
5909
+ "name": "--mdc-tab-pill-inactive-background-color-disabled"
5910
+ },
5911
+ {
5912
+ "description": "Background color for inactive pill tab in hover state.",
5913
+ "name": "--mdc-tab-pill-inactive-background-color-hover"
5914
+ },
5915
+ {
5916
+ "description": "Background color for inactive pill tab in rest state.",
5917
+ "name": "--mdc-tab-pill-inactive-background-color-normal"
5918
+ },
5919
+ {
5920
+ "description": "Text and icon color for inactive pill tab.",
5921
+ "name": "--mdc-tab-pill-inactive-color"
5922
+ },
5923
+ {
5924
+ "description": "Text and icon color for inactive pill tab in disabled state.",
5925
+ "name": "--mdc-tab-pill-inactive-color-disabled"
5926
+ }
5927
+ ],
5928
+ "members": [
5929
+ {
5930
+ "kind": "field",
5931
+ "name": "text",
5932
+ "type": {
5933
+ "text": "string | undefined"
5934
+ },
5935
+ "description": "Text to be displayed in the tab.\nIf no `text` is provided, no text will be rendered,\n`aria-label` should be set on the tab.",
5936
+ "attribute": "text",
5937
+ "reflects": true
5938
+ },
5939
+ {
5940
+ "kind": "field",
5941
+ "name": "variant",
5942
+ "type": {
5943
+ "text": "Variant"
5944
+ },
5945
+ "description": "Tab can have three variants:\n- `glass`\n- `line`\n- `pill`\n\nIt defines the background and foreground color of the tab.",
5946
+ "default": "pill",
5947
+ "attribute": "variant",
5948
+ "reflects": true
5949
+ },
5950
+ {
5951
+ "kind": "method",
5952
+ "name": "modifyIconName",
5809
5953
  "privacy": "private",
5954
+ "return": {
5955
+ "type": {
5956
+ "text": "void"
5957
+ }
5958
+ },
5810
5959
  "parameters": [
5811
5960
  {
5812
- "name": "event",
5961
+ "name": "active",
5813
5962
  "type": {
5814
- "text": "Event"
5815
- }
5963
+ "text": "boolean"
5964
+ },
5965
+ "description": "The active state."
5816
5966
  }
5817
5967
  ],
5818
- "description": "Toggles the state of the toggle element.\nand dispatch the new change event."
5968
+ "description": "Modifies the icon name based on the active state.\nIf the tab is active, the icon name is suffixed with '-filled'.\nIf the tab is inactive, the icon name is restored to its original value.\nIf '-filled' icon is not available, the icon name remains unchanged."
5819
5969
  },
5820
5970
  {
5821
5971
  "kind": "method",
5822
- "name": "setToggleSize",
5972
+ "name": "setVariant",
5823
5973
  "privacy": "private",
5974
+ "return": {
5975
+ "type": {
5976
+ "text": "void"
5977
+ }
5978
+ },
5824
5979
  "parameters": [
5825
5980
  {
5826
- "name": "size",
5981
+ "name": "variant",
5827
5982
  "type": {
5828
- "text": "ToggleSize"
5983
+ "text": "Variant"
5829
5984
  },
5830
- "description": "The size to set."
5985
+ "description": "The variant to set."
5831
5986
  }
5832
5987
  ],
5833
- "description": "Sets the size attribute for the toggle component.\nIf the provided size is not included in the TOGGLE_SIZE,\nit defaults to the value specified in DEFAULTS.SIZE."
5988
+ "description": "Sets the variant attribute for the tab component.\nIf the provided variant is not included in the TAB_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT."
5834
5989
  },
5835
5990
  {
5836
- "kind": "field",
5837
- "name": "helpTextType",
5838
- "type": {
5839
- "text": "ValidationType"
5840
- },
5841
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
5842
- "attribute": "help-text-type",
5843
- "reflects": true,
5844
- "default": "undefined as unknown",
5991
+ "kind": "method",
5992
+ "name": "setActive",
5993
+ "privacy": "protected",
5994
+ "parameters": [
5995
+ {
5996
+ "name": "element",
5997
+ "type": {
5998
+ "text": "HTMLElement"
5999
+ },
6000
+ "description": "The tab element."
6001
+ },
6002
+ {
6003
+ "name": "active",
6004
+ "type": {
6005
+ "text": "boolean"
6006
+ },
6007
+ "description": "The active state of the tab."
6008
+ }
6009
+ ],
6010
+ "description": "Sets the aria-selected attribute based on the active state of the Tab.\nIf the tab is active, the filled version of the icon is displayed,\nelse the icon is restored to its original value.",
5845
6011
  "inheritedFrom": {
5846
- "name": "FormfieldWrapper",
5847
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6012
+ "name": "Buttonsimple",
6013
+ "module": "components/buttonsimple/buttonsimple.component.js"
6014
+ }
6015
+ },
6016
+ {
6017
+ "kind": "method",
6018
+ "name": "executeAction",
6019
+ "privacy": "protected",
6020
+ "inheritedFrom": {
6021
+ "name": "Buttonsimple",
6022
+ "module": "components/buttonsimple/buttonsimple.component.js"
5848
6023
  }
5849
6024
  },
5850
6025
  {
5851
6026
  "kind": "field",
5852
- "name": "name",
6027
+ "name": "role",
6028
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
6029
+ "default": "'tab'",
6030
+ "attribute": "role",
6031
+ "reflects": true,
5853
6032
  "type": {
5854
6033
  "text": "string"
5855
6034
  },
5856
- "default": "''",
5857
- "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
5858
- "attribute": "name",
5859
- "reflects": true,
5860
6035
  "inheritedFrom": {
5861
- "name": "NameMixin",
5862
- "module": "utils/mixins/NameMixin.js"
6036
+ "name": "Buttonsimple",
6037
+ "module": "components/buttonsimple/buttonsimple.component.js"
5863
6038
  }
5864
6039
  },
5865
6040
  {
5866
6041
  "kind": "field",
5867
- "name": "value",
6042
+ "name": "softDisabled",
5868
6043
  "type": {
5869
- "text": "string"
6044
+ "text": "boolean"
5870
6045
  },
5871
- "default": "''",
5872
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
5873
- "attribute": "value",
5874
- "reflects": true,
6046
+ "default": "undefined as unknown",
6047
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
6048
+ "attribute": "soft-disabled",
5875
6049
  "inheritedFrom": {
5876
- "name": "ValueMixin",
5877
- "module": "utils/mixins/ValueMixin.js"
6050
+ "name": "Buttonsimple",
6051
+ "module": "components/buttonsimple/buttonsimple.component.js"
5878
6052
  }
5879
6053
  },
5880
6054
  {
5881
6055
  "kind": "field",
5882
- "name": "dataAriaLabel",
6056
+ "name": "size",
5883
6057
  "type": {
5884
- "text": "string | null"
6058
+ "text": "ButtonSize"
5885
6059
  },
5886
- "default": "null",
5887
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
5888
- "attribute": "data-aria-label",
6060
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6061
+ "default": "undefined as unknown",
6062
+ "attribute": "size",
5889
6063
  "reflects": true,
5890
6064
  "inheritedFrom": {
5891
- "name": "DataAriaLabelMixin",
5892
- "module": "utils/mixins/DataAriaLabelMixin.js"
6065
+ "name": "Buttonsimple",
6066
+ "module": "components/buttonsimple/buttonsimple.component.js"
5893
6067
  }
5894
6068
  },
5895
6069
  {
5896
6070
  "kind": "field",
5897
- "name": "disabled",
6071
+ "name": "type",
5898
6072
  "type": {
5899
- "text": "boolean"
6073
+ "text": "ButtonType"
5900
6074
  },
5901
- "default": "false",
5902
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5903
- "attribute": "disabled",
6075
+ "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
6076
+ "default": "undefined as unknown",
6077
+ "attribute": "type",
5904
6078
  "reflects": true,
5905
6079
  "inheritedFrom": {
5906
- "name": "FormfieldWrapper",
5907
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6080
+ "name": "Buttonsimple",
6081
+ "module": "components/buttonsimple/buttonsimple.component.js"
5908
6082
  }
5909
6083
  },
5910
6084
  {
5911
6085
  "kind": "field",
5912
- "name": "label",
6086
+ "name": "iconName",
5913
6087
  "type": {
5914
- "text": "string | undefined"
6088
+ "text": "IconNames | undefined"
5915
6089
  },
5916
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
5917
- "attribute": "label",
5918
- "reflects": true,
6090
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6091
+ "attribute": "icon-name",
5919
6092
  "inheritedFrom": {
5920
- "name": "FormfieldWrapper",
5921
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6093
+ "name": "IconNameMixin",
6094
+ "module": "utils/mixins/IconNameMixin.js"
5922
6095
  }
5923
6096
  },
5924
6097
  {
5925
6098
  "kind": "field",
5926
- "name": "requiredLabel",
6099
+ "name": "tabIndex",
5927
6100
  "type": {
5928
- "text": "string | undefined"
6101
+ "text": "number"
5929
6102
  },
5930
- "description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
5931
- "attribute": "required-label",
6103
+ "default": "0",
6104
+ "description": "This property specifies the tab order of the element.",
6105
+ "attribute": "tabIndex",
5932
6106
  "reflects": true,
5933
6107
  "inheritedFrom": {
5934
- "name": "FormfieldWrapper",
5935
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6108
+ "name": "Buttonsimple",
6109
+ "module": "components/buttonsimple/buttonsimple.component.js"
5936
6110
  }
5937
6111
  },
5938
6112
  {
5939
6113
  "kind": "field",
5940
- "name": "id",
5941
- "default": "`mdc-input-${uuidv4()}`",
5942
- "description": "The unique id of the input field. It is used to link the input field with the label.",
5943
- "attribute": "id",
6114
+ "name": "disabled",
6115
+ "type": {
6116
+ "text": "boolean"
6117
+ },
6118
+ "default": "false",
6119
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6120
+ "attribute": "disabled",
6121
+ "reflects": true,
5944
6122
  "inheritedFrom": {
5945
- "name": "FormfieldWrapper",
5946
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6123
+ "name": "Buttonsimple",
6124
+ "module": "components/buttonsimple/buttonsimple.component.js"
5947
6125
  }
5948
6126
  },
5949
6127
  {
5950
6128
  "kind": "field",
5951
- "name": "helpText",
6129
+ "name": "active",
5952
6130
  "type": {
5953
- "text": "string | undefined"
6131
+ "text": "boolean"
5954
6132
  },
5955
- "description": "The help text that is displayed below the input field.",
5956
- "attribute": "help-text",
6133
+ "default": "false",
6134
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.",
6135
+ "attribute": "active",
5957
6136
  "reflects": true,
5958
6137
  "inheritedFrom": {
5959
- "name": "FormfieldWrapper",
5960
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6138
+ "name": "Buttonsimple",
6139
+ "module": "components/buttonsimple/buttonsimple.component.js"
5961
6140
  }
5962
6141
  },
5963
6142
  {
5964
6143
  "kind": "method",
5965
- "name": "renderLabelElement",
5966
- "privacy": "protected",
5967
- "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
5968
- "return": {
5969
- "type": {
5970
- "text": ""
6144
+ "name": "setSoftDisabled",
6145
+ "privacy": "private",
6146
+ "parameters": [
6147
+ {
6148
+ "name": "element",
6149
+ "type": {
6150
+ "text": "HTMLElement"
6151
+ },
6152
+ "description": "The button element."
6153
+ },
6154
+ {
6155
+ "name": "softDisabled",
6156
+ "type": {
6157
+ "text": "boolean"
6158
+ },
6159
+ "description": "The soft-disabled state."
5971
6160
  }
5972
- },
5973
- "inheritedFrom": {
5974
- "name": "FormfieldWrapper",
5975
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
5976
- }
5977
- },
5978
- {
5979
- "kind": "method",
5980
- "name": "renderRequiredLabel",
5981
- "privacy": "protected",
6161
+ ],
6162
+ "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute.",
5982
6163
  "inheritedFrom": {
5983
- "name": "FormfieldWrapper",
5984
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6164
+ "name": "Buttonsimple",
6165
+ "module": "components/buttonsimple/buttonsimple.component.js"
5985
6166
  }
5986
6167
  },
5987
6168
  {
5988
6169
  "kind": "method",
5989
- "name": "renderHelpTextIcon",
5990
- "privacy": "protected",
5991
- "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.",
5992
- "return": {
5993
- "type": {
5994
- "text": ""
6170
+ "name": "setDisabled",
6171
+ "privacy": "private",
6172
+ "parameters": [
6173
+ {
6174
+ "name": "element",
6175
+ "type": {
6176
+ "text": "HTMLElement"
6177
+ },
6178
+ "description": "The button element."
6179
+ },
6180
+ {
6181
+ "name": "disabled",
6182
+ "type": {
6183
+ "text": "boolean"
6184
+ },
6185
+ "description": "The disabled state."
5995
6186
  }
5996
- },
6187
+ ],
6188
+ "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
5997
6189
  "inheritedFrom": {
5998
- "name": "FormfieldWrapper",
5999
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6190
+ "name": "Buttonsimple",
6191
+ "module": "components/buttonsimple/buttonsimple.component.js"
6000
6192
  }
6001
6193
  },
6002
6194
  {
6003
6195
  "kind": "method",
6004
- "name": "renderHelpText",
6005
- "privacy": "protected",
6006
- "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.",
6007
- "return": {
6008
- "type": {
6009
- "text": ""
6010
- }
6011
- },
6196
+ "name": "triggerClickEvent",
6197
+ "privacy": "private",
6012
6198
  "inheritedFrom": {
6013
- "name": "FormfieldWrapper",
6014
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6199
+ "name": "Buttonsimple",
6200
+ "module": "components/buttonsimple/buttonsimple.component.js"
6015
6201
  }
6016
6202
  },
6017
6203
  {
6018
6204
  "kind": "method",
6019
- "name": "renderLabel",
6020
- "privacy": "protected",
6021
- "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
6022
- "return": {
6023
- "type": {
6024
- "text": ""
6205
+ "name": "handleKeyDown",
6206
+ "privacy": "private",
6207
+ "parameters": [
6208
+ {
6209
+ "name": "event",
6210
+ "type": {
6211
+ "text": "KeyboardEvent"
6212
+ },
6213
+ "description": "The keyboard event."
6025
6214
  }
6026
- },
6215
+ ],
6216
+ "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.",
6027
6217
  "inheritedFrom": {
6028
- "name": "FormfieldWrapper",
6029
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6218
+ "name": "Buttonsimple",
6219
+ "module": "components/buttonsimple/buttonsimple.component.js"
6030
6220
  }
6031
6221
  },
6032
6222
  {
6033
6223
  "kind": "method",
6034
- "name": "renderHelperText",
6035
- "privacy": "protected",
6036
- "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
6037
- "return": {
6038
- "type": {
6039
- "text": ""
6224
+ "name": "handleKeyUp",
6225
+ "privacy": "private",
6226
+ "parameters": [
6227
+ {
6228
+ "name": "event",
6229
+ "type": {
6230
+ "text": "KeyboardEvent"
6231
+ },
6232
+ "description": "The keyboard event."
6040
6233
  }
6041
- },
6234
+ ],
6235
+ "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
6042
6236
  "inheritedFrom": {
6043
- "name": "FormfieldWrapper",
6044
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6045
- }
6046
- }
6047
- ],
6048
- "events": [
6049
- {
6050
- "type": {
6051
- "text": "EventConstructor"
6237
+ "name": "Buttonsimple",
6238
+ "module": "components/buttonsimple/buttonsimple.component.js"
6052
6239
  }
6053
6240
  }
6054
6241
  ],
6055
6242
  "attributes": [
6056
6243
  {
6057
- "name": "checked",
6244
+ "name": "text",
6058
6245
  "type": {
6059
- "text": "boolean"
6246
+ "text": "string | undefined"
6060
6247
  },
6061
- "default": "false",
6062
- "description": "Determines whether the toggle is active or inactive.",
6063
- "fieldName": "checked"
6248
+ "description": "Text to be displayed in the tab.\nIf no `text` is provided, no text will be rendered,\n`aria-label` should be set on the tab.",
6249
+ "fieldName": "text"
6064
6250
  },
6065
6251
  {
6066
- "name": "size",
6252
+ "name": "variant",
6067
6253
  "type": {
6068
- "text": "ToggleSize"
6254
+ "text": "Variant"
6069
6255
  },
6070
- "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
6071
- "default": "default",
6072
- "fieldName": "size"
6256
+ "description": "Tab can have three variants:\n- `glass`\n- `line`\n- `pill`\n\nIt defines the background and foreground color of the tab.",
6257
+ "default": "pill",
6258
+ "fieldName": "variant"
6073
6259
  },
6074
6260
  {
6075
- "name": "name",
6261
+ "name": "icon-name",
6076
6262
  "type": {
6077
- "text": "string"
6263
+ "text": "IconNames | undefined"
6078
6264
  },
6079
- "default": "''",
6080
- "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
6081
- "fieldName": "name",
6265
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6266
+ "fieldName": "iconName",
6082
6267
  "inheritedFrom": {
6083
- "name": "NameMixin",
6084
- "module": "src/utils/mixins/NameMixin.ts"
6268
+ "name": "IconNameMixin",
6269
+ "module": "src/utils/mixins/IconNameMixin.ts"
6085
6270
  }
6086
6271
  },
6087
6272
  {
6088
- "name": "value",
6273
+ "name": "tabIndex",
6089
6274
  "type": {
6090
- "text": "string"
6275
+ "text": "number"
6091
6276
  },
6092
- "default": "''",
6093
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
6094
- "fieldName": "value",
6277
+ "default": "0",
6278
+ "description": "This property specifies the tab order of the element.",
6279
+ "fieldName": "tabIndex",
6095
6280
  "inheritedFrom": {
6096
- "name": "ValueMixin",
6097
- "module": "src/utils/mixins/ValueMixin.ts"
6281
+ "name": "Buttonsimple",
6282
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6098
6283
  }
6099
6284
  },
6100
6285
  {
6101
- "name": "data-aria-label",
6286
+ "name": "disabled",
6102
6287
  "type": {
6103
- "text": "string | null"
6288
+ "text": "boolean"
6104
6289
  },
6105
- "default": "null",
6106
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
6107
- "fieldName": "dataAriaLabel",
6290
+ "default": "false",
6291
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6292
+ "fieldName": "disabled",
6108
6293
  "inheritedFrom": {
6109
- "name": "DataAriaLabelMixin",
6110
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
6294
+ "name": "Buttonsimple",
6295
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6111
6296
  }
6112
6297
  },
6113
6298
  {
6114
- "name": "disabled",
6299
+ "name": "active",
6115
6300
  "type": {
6116
6301
  "text": "boolean"
6117
6302
  },
6118
6303
  "default": "false",
6119
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6120
- "fieldName": "disabled",
6304
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.",
6305
+ "fieldName": "active",
6121
6306
  "inheritedFrom": {
6122
- "name": "FormfieldWrapper",
6123
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6307
+ "name": "Buttonsimple",
6308
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6124
6309
  }
6125
6310
  },
6126
6311
  {
6127
- "name": "label",
6312
+ "name": "soft-disabled",
6128
6313
  "type": {
6129
- "text": "string | undefined"
6314
+ "text": "boolean"
6130
6315
  },
6131
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
6132
- "fieldName": "label",
6316
+ "default": "false",
6317
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
6318
+ "fieldName": "softDisabled",
6133
6319
  "inheritedFrom": {
6134
- "name": "FormfieldWrapper",
6135
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6320
+ "name": "Buttonsimple",
6321
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6136
6322
  }
6137
6323
  },
6138
6324
  {
6139
- "name": "required-label",
6325
+ "name": "size",
6140
6326
  "type": {
6141
- "text": "string | undefined"
6327
+ "text": "ButtonSize"
6142
6328
  },
6143
- "description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
6144
- "fieldName": "requiredLabel",
6329
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6330
+ "default": "32",
6331
+ "fieldName": "size",
6145
6332
  "inheritedFrom": {
6146
- "name": "FormfieldWrapper",
6147
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6333
+ "name": "Buttonsimple",
6334
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6148
6335
  }
6149
6336
  },
6150
6337
  {
6151
- "name": "id",
6152
- "default": "`mdc-input-${uuidv4()}`",
6153
- "description": "The unique id of the input field. It is used to link the input field with the label.",
6154
- "fieldName": "id",
6338
+ "name": "role",
6339
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
6340
+ "default": "button",
6341
+ "fieldName": "role",
6155
6342
  "inheritedFrom": {
6156
- "name": "FormfieldWrapper",
6157
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6343
+ "name": "Buttonsimple",
6344
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6158
6345
  }
6159
6346
  },
6160
6347
  {
6161
- "name": "help-text-type",
6348
+ "name": "type",
6162
6349
  "type": {
6163
- "text": "ValidationType"
6350
+ "text": "ButtonType"
6164
6351
  },
6165
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
6166
- "fieldName": "helpTextType",
6167
- "inheritedFrom": {
6168
- "name": "FormfieldWrapper",
6169
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6170
- }
6171
- },
6172
- {
6173
- "name": "help-text",
6174
- "type": {
6175
- "text": "string | undefined"
6176
- },
6177
- "description": "The help text that is displayed below the input field.",
6178
- "fieldName": "helpText",
6352
+ "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
6353
+ "default": "button",
6354
+ "fieldName": "type",
6179
6355
  "inheritedFrom": {
6180
- "name": "FormfieldWrapper",
6181
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6356
+ "name": "Buttonsimple",
6357
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6182
6358
  }
6183
6359
  }
6184
6360
  ],
6185
6361
  "mixins": [
6186
6362
  {
6187
- "name": "NameMixin",
6188
- "module": "/src/utils/mixins/NameMixin"
6189
- },
6190
- {
6191
- "name": "ValueMixin",
6192
- "module": "/src/utils/mixins/ValueMixin"
6193
- },
6194
- {
6195
- "name": "DataAriaLabelMixin",
6196
- "module": "/src/utils/mixins/DataAriaLabelMixin"
6363
+ "name": "IconNameMixin",
6364
+ "module": "/src/utils/mixins/IconNameMixin"
6197
6365
  }
6198
6366
  ],
6199
6367
  "superclass": {
6200
- "name": "FormfieldWrapper",
6201
- "module": "/src/components/formfieldwrapper"
6368
+ "name": "Buttonsimple",
6369
+ "module": "/src/components/buttonsimple/buttonsimple.component"
6202
6370
  },
6203
- "tagName": "mdc-toggle",
6204
- "jsDoc": "/**\n * Toggle Component is an interactive control used to switch between two mutually exclusive options,\n * such as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\n * where users need to enable or disable a feature.\n * It contains an optional label and an optional helper text.\n *\n * Note: It internally renders a checkbox styled as a toggle switch.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-toggle\n *\n * @cssproperty --mdc-toggle-width - width of the toggle\n * @cssproperty --mdc-toggle-height - height of the toggle\n * @cssproperty --mdc-toggle-width-compact - width of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-height-compact - height of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-border-radius - border radius of the toggle\n * @cssproperty --mdc-toggle-border-radius-compact - border radius of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-border - border of the toggle\n * @cssproperty --mdc-toggle-inactive-rest-color - background color of the inactive toggle in rest state\n * @cssproperty --mdc-toggle-inactive-hover-color - background color of the inactive toggle in hover state\n * @cssproperty --mdc-toggle-inactive-pressed-color - background color of the inactive toggle in pressed state\n * @cssproperty --mdc-toggle-inactive-disabled-color - background color of the inactive toggle in disabled state\n * @cssproperty --mdc-toggle-active-rest-color - background color of the active toggle in rest state\n * @cssproperty --mdc-toggle-active-hover-color - background color of the active toggle in hover state\n * @cssproperty --mdc-toggle-active-pressed-color - background color of the active toggle in pressed state\n * @cssproperty --mdc-toggle-active-disabled-color - background color of the active toggle in disabled state\n * @cssproperty --mdc-toggle-help-text-color - color of the help text label\n * @cssproperty --mdc-toggle-label-color-disabled - color of the toggle label and help text in disabled state\n *\n */",
6205
- "customElement": true,
6206
- "slots": [
6207
- {
6208
- "description": "slot to add the label info icon",
6209
- "name": "label-info",
6210
- "inheritedFrom": {
6211
- "name": "FormfieldWrapper",
6212
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6213
- }
6214
- }
6215
- ]
6371
+ "tagName": "mdc-tab",
6372
+ "jsDoc": "/**\n * `mdc-tab` is Tab component to be used within the Tabgroup.\n *\n * Passing in the attribute `text` to the tab component is changing the text displayed in the tab.\n *\n * The `slot=\"badge\"` can be used to add a badge to the tab.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-tab\n *\n * @cssproperty --mdc-tab-content-gap - Gap between the badge(if provided), icon and text.\n * @cssproperty --mdc-tab-height - Height of the tab.\n * @cssproperty --mdc-tab-glass-active-background-color-disabled - Background color for active glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-active-background-color-hover - Background color for active glass tab in hover state.\n * @cssproperty --mdc-tab-glass-active-background-color-normal - Background color for active glass tab in rest state.\n * @cssproperty --mdc-tab-glass-active-background-color-pressed - Background color for active glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-active-color - Text and icon color for active glass tab.\n * @cssproperty --mdc-tab-glass-active-color-disabled - Text and icon color for active glass tab in disabled state.\n * @cssproperty --mdc-tab-glass-border-radius - Border radius for glass tab.\n * @cssproperty --mdc-tab-glass-inactive-background-color-disabled - Background color for inactive glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-hover - Background color for inactive glass tab\n * in hover state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-normal - Background color for inactive glass tab\n * in rest state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-pressed - Background color for inactive glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-inactive-color - Text and icon color for inactive glass tab.\n * @cssproperty --mdc-tab-glass-inactive-color-disabled - Text and icon color for inactive glass tab in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-pressed - Background color for active line tab in pressed state.\n * @cssproperty --mdc-tab-line-active-background-color-disabled - Background color for active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-hover - Background color for active line tab in hover state.\n * @cssproperty --mdc-tab-line-active-background-color-normal - Background color for active line tab in rest state.\n * @cssproperty --mdc-tab-line-active-color - Text and icon color for active line tab.\n * @cssproperty --mdc-tab-line-active-color-disabled - Text and icon color for active line tab in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-color - color for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-color-disabled - Color for indicator in active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-height - Height for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-width - Width for indicator in active line tab.\n * @cssproperty --mdc-tab-line-border-bottom-left-radius - Bottom left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-bottom-right-radius - Bottom right border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-left-radius - Top left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-right-radius - Top right border radius for line tab.\n * @cssproperty --mdc-tab-line-inactive-background-color-pressed - Background color for inactive line tab\n * in pressed state.\n * @cssproperty --mdc-tab-line-inactive-background-color-disabled - Background color for inactive line tab\n * in disabled state\n * @cssproperty --mdc-tab-line-inactive-background-color-hover - Background color for inactive line tab in hover state.\n * @cssproperty --mdc-tab-line-inactive-background-color-normal - Background color for inactive line tab\n * in rest state.\n * @cssproperty --mdc-tab-line-inactive-color - Text and icon color for inactive line tab.\n * @cssproperty --mdc-tab-line-inactive-color-disabled - Text and icon color for inactive line tab in disabled state.\n * @cssproperty --mdc-tab-padding-left - Padding left for the tab.\n * @cssproperty --mdc-tab-padding-right - Padding right for the tab.\n * @cssproperty --mdc-tab-pill-active-background-color-pressed - Background color for active pill tab in pressed state.\n * @cssproperty --mdc-tab-pill-active-background-color-disabled - Background color for active pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-active-background-color-hover - Background color for active pill tab in hover state.\n * @cssproperty --mdc-tab-pill-active-background-color-normal - Background color for active pill tab in rest state.\n * @cssproperty --mdc-tab-pill-active-color - Text and icon color for active pill tab.\n * @cssproperty --mdc-tab-pill-active-color-disabled - Text and icon color for active pill tab in disabled state.\n * @cssproperty --mdc-tab-pill-border-radius - Border radius for pill tab.\n * @cssproperty --mdc-tab-pill-inactive-background-color-pressed - Background color for inactive pill tab\n * in pressed state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-disabled - Background color for inactive pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-hover - Background color for inactive pill tab in hover state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-normal - Background color for inactive pill tab in rest state.\n * @cssproperty --mdc-tab-pill-inactive-color - Text and icon color for inactive pill tab.\n * @cssproperty --mdc-tab-pill-inactive-color-disabled - Text and icon color for inactive pill tab in disabled state.\n */",
6373
+ "customElement": true
6216
6374
  }
6217
6375
  ],
6218
6376
  "exports": [
@@ -6220,577 +6378,617 @@
6220
6378
  "kind": "js",
6221
6379
  "name": "default",
6222
6380
  "declaration": {
6223
- "name": "Toggle",
6224
- "module": "components/toggle/toggle.component.js"
6381
+ "name": "Tab",
6382
+ "module": "components/tab/tab.component.js"
6225
6383
  }
6226
6384
  }
6227
6385
  ]
6228
6386
  },
6229
6387
  {
6230
6388
  "kind": "javascript-module",
6231
- "path": "components/tab/tab.component.js",
6389
+ "path": "components/text/text.component.js",
6232
6390
  "declarations": [
6233
6391
  {
6234
6392
  "kind": "class",
6235
- "description": "`mdc-tab` is Tab component to be used within the Tabgroup.\n\nPassing in the attribute `text` to the tab component is changing the text displayed in the tab.\n\nThe `slot=\"badge\"` can be used to add a badge to the tab.\n\nFor `icon`, the `mdc-icon` component is used to render the icon.",
6236
- "name": "Tab",
6237
- "cssProperties": [
6238
- {
6239
- "description": "Gap between the badge(if provided), icon and text.",
6240
- "name": "--mdc-tab-content-gap"
6241
- },
6242
- {
6243
- "description": "Height of the tab.",
6244
- "name": "--mdc-tab-height"
6245
- },
6246
- {
6247
- "description": "Background color for active glass tab in disabled state.",
6248
- "name": "--mdc-tab-glass-active-background-color-disabled"
6249
- },
6250
- {
6251
- "description": "Background color for active glass tab in hover state.",
6252
- "name": "--mdc-tab-glass-active-background-color-hover"
6253
- },
6254
- {
6255
- "description": "Background color for active glass tab in rest state.",
6256
- "name": "--mdc-tab-glass-active-background-color-normal"
6257
- },
6258
- {
6259
- "description": "Background color for active glass tab in pressed state.",
6260
- "name": "--mdc-tab-glass-active-background-color-pressed"
6261
- },
6262
- {
6263
- "description": "Text and icon color for active glass tab.",
6264
- "name": "--mdc-tab-glass-active-color"
6265
- },
6266
- {
6267
- "description": "Text and icon color for active glass tab in disabled state.",
6268
- "name": "--mdc-tab-glass-active-color-disabled"
6269
- },
6270
- {
6271
- "description": "Border radius for glass tab.",
6272
- "name": "--mdc-tab-glass-border-radius"
6273
- },
6274
- {
6275
- "description": "Background color for inactive glass tab in disabled state.",
6276
- "name": "--mdc-tab-glass-inactive-background-color-disabled"
6277
- },
6278
- {
6279
- "description": "Background color for inactive glass tab in hover state.",
6280
- "name": "--mdc-tab-glass-inactive-background-color-hover"
6281
- },
6282
- {
6283
- "description": "Background color for inactive glass tab in rest state.",
6284
- "name": "--mdc-tab-glass-inactive-background-color-normal"
6285
- },
6286
- {
6287
- "description": "Background color for inactive glass tab in pressed state.",
6288
- "name": "--mdc-tab-glass-inactive-background-color-pressed"
6289
- },
6290
- {
6291
- "description": "Text and icon color for inactive glass tab.",
6292
- "name": "--mdc-tab-glass-inactive-color"
6293
- },
6294
- {
6295
- "description": "Text and icon color for inactive glass tab in disabled state.",
6296
- "name": "--mdc-tab-glass-inactive-color-disabled"
6297
- },
6298
- {
6299
- "description": "Background color for active line tab in pressed state.",
6300
- "name": "--mdc-tab-line-active-background-color-pressed"
6301
- },
6302
- {
6303
- "description": "Background color for active line tab in disabled state.",
6304
- "name": "--mdc-tab-line-active-background-color-disabled"
6305
- },
6393
+ "description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
6394
+ "name": "Text",
6395
+ "cssParts": [
6306
6396
  {
6307
- "description": "Background color for active line tab in hover state.",
6308
- "name": "--mdc-tab-line-active-background-color-hover"
6309
- },
6397
+ "description": "The text element",
6398
+ "name": "text"
6399
+ }
6400
+ ],
6401
+ "slots": [
6310
6402
  {
6311
- "description": "Background color for active line tab in rest state.",
6312
- "name": "--mdc-tab-line-active-background-color-normal"
6313
- },
6403
+ "description": "Default slot for text content",
6404
+ "name": ""
6405
+ }
6406
+ ],
6407
+ "members": [
6314
6408
  {
6315
- "description": "Text and icon color for active line tab.",
6316
- "name": "--mdc-tab-line-active-color"
6409
+ "kind": "field",
6410
+ "name": "type",
6411
+ "type": {
6412
+ "text": "TextType"
6413
+ },
6414
+ "privacy": "public",
6415
+ "description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
6416
+ "default": "body-large-regular",
6417
+ "attribute": "type",
6418
+ "reflects": true
6317
6419
  },
6318
6420
  {
6319
- "description": "Text and icon color for active line tab in disabled state.",
6320
- "name": "--mdc-tab-line-active-color-disabled"
6321
- },
6421
+ "kind": "field",
6422
+ "name": "tagname",
6423
+ "type": {
6424
+ "text": "TagName | undefined"
6425
+ },
6426
+ "privacy": "public",
6427
+ "description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
6428
+ "attribute": "tagname",
6429
+ "reflects": true
6430
+ }
6431
+ ],
6432
+ "attributes": [
6322
6433
  {
6323
- "description": "color for indicator in active line tab.",
6324
- "name": "--mdc-tab-line-active-indicator-color"
6434
+ "name": "type",
6435
+ "type": {
6436
+ "text": "TextType"
6437
+ },
6438
+ "description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
6439
+ "default": "body-large-regular",
6440
+ "fieldName": "type"
6325
6441
  },
6326
6442
  {
6327
- "description": "Color for indicator in active line tab in disabled state.",
6328
- "name": "--mdc-tab-line-active-indicator-color-disabled"
6329
- },
6443
+ "name": "tagname",
6444
+ "type": {
6445
+ "text": "TagName | undefined"
6446
+ },
6447
+ "description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
6448
+ "fieldName": "tagname"
6449
+ }
6450
+ ],
6451
+ "superclass": {
6452
+ "name": "Component",
6453
+ "module": "/src/models"
6454
+ },
6455
+ "tagName": "mdc-text",
6456
+ "jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
6457
+ "customElement": true
6458
+ }
6459
+ ],
6460
+ "exports": [
6461
+ {
6462
+ "kind": "js",
6463
+ "name": "default",
6464
+ "declaration": {
6465
+ "name": "Text",
6466
+ "module": "components/text/text.component.js"
6467
+ }
6468
+ }
6469
+ ]
6470
+ },
6471
+ {
6472
+ "kind": "javascript-module",
6473
+ "path": "components/themeprovider/themeprovider.component.js",
6474
+ "declarations": [
6475
+ {
6476
+ "kind": "class",
6477
+ "description": "ThemeProvider component, which sets the passed in themeclass as class.\nIf the themeclass switches, the existing themeclass will be removed as a class\nand the new themeclass will be added.\n\nCSS variables defined in the themeclass will be used for the styling of child dom nodes.\n\nThemeclass context can be be consumed from Lit child components\n(see providerUtils.consume for how to consume)\n\nThemeProvider also includes basic font defaults for text.",
6478
+ "name": "ThemeProvider",
6479
+ "cssProperties": [
6330
6480
  {
6331
- "description": "Height for indicator in active line tab.",
6332
- "name": "--mdc-tab-line-active-indicator-height"
6481
+ "description": "Option to override the default color, default: color-theme-text-primary-normal",
6482
+ "name": "--mdc-themeprovider-color-default"
6333
6483
  },
6334
6484
  {
6335
- "description": "Width for indicator in active line tab.",
6336
- "name": "--mdc-tab-line-active-indicator-width"
6485
+ "description": "Option to override the font family, default: `Momentum` (from momentum-design/fonts)",
6486
+ "name": "--mdc-themeprovider-font-family"
6337
6487
  },
6338
6488
  {
6339
- "description": "Bottom left border radius for line tab.",
6340
- "name": "--mdc-tab-line-border-bottom-left-radius"
6489
+ "description": "Option to override the font weight, default: `400`",
6490
+ "name": "--mdc-themeprovider-font-weight"
6341
6491
  },
6342
6492
  {
6343
- "description": "Bottom right border radius for line tab.",
6344
- "name": "--mdc-tab-line-border-bottom-right-radius"
6345
- },
6493
+ "description": "Option to override the default letter-spacing, default: `-0.25px` (this is to match the old CiscoSans)",
6494
+ "name": "--mdc-themeprovider-letter-spacing-adjustment"
6495
+ }
6496
+ ],
6497
+ "slots": [
6346
6498
  {
6347
- "description": "Top left border radius for line tab.",
6348
- "name": "--mdc-tab-line-border-top-left-radius"
6349
- },
6499
+ "description": "children",
6500
+ "name": ""
6501
+ }
6502
+ ],
6503
+ "members": [
6350
6504
  {
6351
- "description": "Top right border radius for line tab.",
6352
- "name": "--mdc-tab-line-border-top-right-radius"
6505
+ "kind": "field",
6506
+ "name": "Context",
6507
+ "privacy": "public",
6508
+ "static": true,
6509
+ "description": "Context object of the ThemeProvider, to be consumed by child components",
6510
+ "readonly": true
6353
6511
  },
6354
6512
  {
6355
- "description": "Background color for inactive line tab in pressed state.",
6356
- "name": "--mdc-tab-line-inactive-background-color-pressed"
6513
+ "kind": "field",
6514
+ "name": "themeclass",
6515
+ "type": {
6516
+ "text": "string"
6517
+ },
6518
+ "description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
6519
+ "attribute": "themeclass"
6357
6520
  },
6358
6521
  {
6359
- "description": "Background color for inactive line tab in disabled state",
6360
- "name": "--mdc-tab-line-inactive-background-color-disabled"
6522
+ "kind": "method",
6523
+ "name": "updateContext",
6524
+ "privacy": "protected",
6525
+ "return": {
6526
+ "type": {
6527
+ "text": "void"
6528
+ }
6529
+ },
6530
+ "description": "Update all observing components of this\nprovider to update the themeclass\n\nIs called on every re-render, see Provider class"
6361
6531
  },
6362
6532
  {
6363
- "description": "Background color for inactive line tab in hover state.",
6364
- "name": "--mdc-tab-line-inactive-background-color-hover"
6365
- },
6533
+ "kind": "method",
6534
+ "name": "setThemeInClassList",
6535
+ "privacy": "private",
6536
+ "description": "Function to update the active theme classnames to update the theme tokens\nas CSS variables on the web component."
6537
+ }
6538
+ ],
6539
+ "attributes": [
6366
6540
  {
6367
- "description": "Background color for inactive line tab in rest state.",
6368
- "name": "--mdc-tab-line-inactive-background-color-normal"
6369
- },
6541
+ "name": "themeclass",
6542
+ "type": {
6543
+ "text": "string"
6544
+ },
6545
+ "description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
6546
+ "fieldName": "themeclass"
6547
+ }
6548
+ ],
6549
+ "superclass": {
6550
+ "name": "Provider",
6551
+ "module": "/src/models"
6552
+ },
6553
+ "tagName": "mdc-themeprovider",
6554
+ "jsDoc": "/**\n * ThemeProvider component, which sets the passed in themeclass as class.\n * If the themeclass switches, the existing themeclass will be removed as a class\n * and the new themeclass will be added.\n *\n * CSS variables defined in the themeclass will be used for the styling of child dom nodes.\n *\n * Themeclass context can be be consumed from Lit child components\n * (see providerUtils.consume for how to consume)\n *\n * ThemeProvider also includes basic font defaults for text.\n *\n * @tagname mdc-themeprovider\n *\n * @slot - children\n *\n * @cssproperty --mdc-themeprovider-color-default - Option to override the default color,\n * default: color-theme-text-primary-normal\n * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,\n * default: `Momentum` (from momentum-design/fonts)\n * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`\n * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,\n * default: `-0.25px` (this is to match the old CiscoSans)\n */",
6555
+ "customElement": true
6556
+ }
6557
+ ],
6558
+ "exports": [
6559
+ {
6560
+ "kind": "js",
6561
+ "name": "default",
6562
+ "declaration": {
6563
+ "name": "ThemeProvider",
6564
+ "module": "components/themeprovider/themeprovider.component.js"
6565
+ }
6566
+ }
6567
+ ]
6568
+ },
6569
+ {
6570
+ "kind": "javascript-module",
6571
+ "path": "components/toggle/toggle.component.js",
6572
+ "declarations": [
6573
+ {
6574
+ "kind": "class",
6575
+ "description": "Toggle Component is an interactive control used to switch between two mutually exclusive options,\nsuch as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\nwhere users need to enable or disable a feature.\nIt contains an optional label and an optional helper text.\n\nTo create a group of toggles, use the FormFieldGroup component.\n\nNote: It internally renders a checkbox styled as a toggle switch.",
6576
+ "name": "Toggle",
6577
+ "cssProperties": [
6370
6578
  {
6371
- "description": "Text and icon color for inactive line tab.",
6372
- "name": "--mdc-tab-line-inactive-color"
6579
+ "description": "width of the toggle",
6580
+ "name": "--mdc-toggle-width"
6373
6581
  },
6374
6582
  {
6375
- "description": "Text and icon color for inactive line tab in disabled state.",
6376
- "name": "--mdc-tab-line-inactive-color-disabled"
6583
+ "description": "height of the toggle",
6584
+ "name": "--mdc-toggle-height"
6377
6585
  },
6378
6586
  {
6379
- "description": "Padding left for the tab.",
6380
- "name": "--mdc-tab-padding-left"
6587
+ "description": "width of the toggle when it's size is compact",
6588
+ "name": "--mdc-toggle-width-compact"
6381
6589
  },
6382
6590
  {
6383
- "description": "Padding right for the tab.",
6384
- "name": "--mdc-tab-padding-right"
6591
+ "description": "height of the toggle when it's size is compact",
6592
+ "name": "--mdc-toggle-height-compact"
6385
6593
  },
6386
6594
  {
6387
- "description": "Background color for active pill tab in pressed state.",
6388
- "name": "--mdc-tab-pill-active-background-color-pressed"
6595
+ "description": "border radius of the toggle",
6596
+ "name": "--mdc-toggle-border-radius"
6389
6597
  },
6390
6598
  {
6391
- "description": "Background color for active pill tab in disabled state.",
6392
- "name": "--mdc-tab-pill-active-background-color-disabled"
6599
+ "description": "border radius of the toggle when it's size is compact",
6600
+ "name": "--mdc-toggle-border-radius-compact"
6393
6601
  },
6394
6602
  {
6395
- "description": "Background color for active pill tab in hover state.",
6396
- "name": "--mdc-tab-pill-active-background-color-hover"
6603
+ "description": "border of the toggle",
6604
+ "name": "--mdc-toggle-border"
6397
6605
  },
6398
6606
  {
6399
- "description": "Background color for active pill tab in rest state.",
6400
- "name": "--mdc-tab-pill-active-background-color-normal"
6607
+ "description": "background color of the inactive toggle in rest state",
6608
+ "name": "--mdc-toggle-inactive-rest-color"
6401
6609
  },
6402
6610
  {
6403
- "description": "Text and icon color for active pill tab.",
6404
- "name": "--mdc-tab-pill-active-color"
6611
+ "description": "background color of the inactive toggle in hover state",
6612
+ "name": "--mdc-toggle-inactive-hover-color"
6405
6613
  },
6406
6614
  {
6407
- "description": "Text and icon color for active pill tab in disabled state.",
6408
- "name": "--mdc-tab-pill-active-color-disabled"
6615
+ "description": "background color of the inactive toggle in pressed state",
6616
+ "name": "--mdc-toggle-inactive-pressed-color"
6409
6617
  },
6410
6618
  {
6411
- "description": "Border radius for pill tab.",
6412
- "name": "--mdc-tab-pill-border-radius"
6619
+ "description": "background color of the inactive toggle in disabled state",
6620
+ "name": "--mdc-toggle-inactive-disabled-color"
6413
6621
  },
6414
6622
  {
6415
- "description": "Background color for inactive pill tab in pressed state.",
6416
- "name": "--mdc-tab-pill-inactive-background-color-pressed"
6623
+ "description": "background color of the active toggle in rest state",
6624
+ "name": "--mdc-toggle-active-rest-color"
6417
6625
  },
6418
6626
  {
6419
- "description": "Background color for inactive pill tab in disabled state.",
6420
- "name": "--mdc-tab-pill-inactive-background-color-disabled"
6627
+ "description": "background color of the active toggle in hover state",
6628
+ "name": "--mdc-toggle-active-hover-color"
6421
6629
  },
6422
6630
  {
6423
- "description": "Background color for inactive pill tab in hover state.",
6424
- "name": "--mdc-tab-pill-inactive-background-color-hover"
6631
+ "description": "background color of the active toggle in pressed state",
6632
+ "name": "--mdc-toggle-active-pressed-color"
6425
6633
  },
6426
6634
  {
6427
- "description": "Background color for inactive pill tab in rest state.",
6428
- "name": "--mdc-tab-pill-inactive-background-color-normal"
6635
+ "description": "background color of the active toggle in disabled state",
6636
+ "name": "--mdc-toggle-active-disabled-color"
6429
6637
  },
6430
6638
  {
6431
- "description": "Text and icon color for inactive pill tab.",
6432
- "name": "--mdc-tab-pill-inactive-color"
6639
+ "description": " color of the help text label",
6640
+ "name": "--mdc-toggle-help-text-color"
6433
6641
  },
6434
- {
6435
- "description": "Text and icon color for inactive pill tab in disabled state.",
6436
- "name": "--mdc-tab-pill-inactive-color-disabled"
6642
+ {
6643
+ "description": "color of the toggle label and help text in disabled state",
6644
+ "name": "--mdc-toggle-label-color-disabled"
6437
6645
  }
6438
6646
  ],
6439
6647
  "members": [
6440
6648
  {
6441
6649
  "kind": "field",
6442
- "name": "text",
6650
+ "name": "checked",
6443
6651
  "type": {
6444
- "text": "string | undefined"
6652
+ "text": "boolean"
6445
6653
  },
6446
- "description": "Text to be displayed in the tab.\nIf no `text` is provided, no text will be rendered,\n`aria-label` should be set on the tab.",
6447
- "attribute": "text",
6654
+ "default": "false",
6655
+ "description": "Determines whether the toggle is active or inactive.",
6656
+ "attribute": "checked",
6448
6657
  "reflects": true
6449
6658
  },
6450
6659
  {
6451
6660
  "kind": "field",
6452
- "name": "variant",
6661
+ "name": "size",
6453
6662
  "type": {
6454
- "text": "Variant"
6663
+ "text": "ToggleSize"
6455
6664
  },
6456
- "description": "Tab can have three variants:\n- `glass`\n- `line`\n- `pill`\n\nIt defines the background and foreground color of the tab.",
6457
- "default": "pill",
6458
- "attribute": "variant",
6665
+ "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
6666
+ "default": "default",
6667
+ "attribute": "size",
6459
6668
  "reflects": true
6460
6669
  },
6461
6670
  {
6462
6671
  "kind": "method",
6463
- "name": "modifyIconName",
6672
+ "name": "setFormValue",
6464
6673
  "privacy": "private",
6465
- "return": {
6466
- "type": {
6467
- "text": "void"
6468
- }
6469
- },
6470
- "parameters": [
6471
- {
6472
- "name": "active",
6473
- "type": {
6474
- "text": "boolean"
6475
- },
6476
- "description": "The active state."
6477
- }
6478
- ],
6479
- "description": "Modifies the icon name based on the active state.\nIf the tab is active, the icon name is suffixed with '-filled'.\nIf the tab is inactive, the icon name is restored to its original value.\nIf '-filled' icon is not available, the icon name remains unchanged."
6674
+ "description": "Updates the form value to reflect the current state of the toggle.\nIf toggle is switched on, the value is set to either the user-provided value or 'isActive' if no value is provided.\nIf toggle is switched off, the value is set to null."
6480
6675
  },
6481
6676
  {
6482
6677
  "kind": "method",
6483
- "name": "setVariant",
6678
+ "name": "toggleState",
6484
6679
  "privacy": "private",
6485
6680
  "return": {
6486
6681
  "type": {
6487
6682
  "text": "void"
6488
6683
  }
6489
6684
  },
6685
+ "description": "Toggles the state of the toggle element.\nIf the element is not disabled, then the checked property is toggled."
6686
+ },
6687
+ {
6688
+ "kind": "method",
6689
+ "name": "handleChange",
6690
+ "privacy": "private",
6490
6691
  "parameters": [
6491
6692
  {
6492
- "name": "variant",
6693
+ "name": "event",
6493
6694
  "type": {
6494
- "text": "Variant"
6495
- },
6496
- "description": "The variant to set."
6695
+ "text": "Event"
6696
+ }
6497
6697
  }
6498
6698
  ],
6499
- "description": "Sets the variant attribute for the tab component.\nIf the provided variant is not included in the TAB_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT."
6699
+ "description": "Toggles the state of the toggle element.\nand dispatch the new change event."
6500
6700
  },
6501
6701
  {
6502
6702
  "kind": "method",
6503
- "name": "setActive",
6504
- "privacy": "protected",
6703
+ "name": "setToggleSize",
6704
+ "privacy": "private",
6505
6705
  "parameters": [
6506
6706
  {
6507
- "name": "element",
6508
- "type": {
6509
- "text": "HTMLElement"
6510
- },
6511
- "description": "The tab element."
6512
- },
6513
- {
6514
- "name": "active",
6707
+ "name": "size",
6515
6708
  "type": {
6516
- "text": "boolean"
6709
+ "text": "ToggleSize"
6517
6710
  },
6518
- "description": "The active state of the tab."
6711
+ "description": "The size to set."
6519
6712
  }
6520
6713
  ],
6521
- "description": "Sets the aria-selected attribute based on the active state of the Tab.\nIf the tab is active, the filled version of the icon is displayed,\nelse the icon is restored to its original value.",
6522
- "inheritedFrom": {
6523
- "name": "Buttonsimple",
6524
- "module": "components/buttonsimple/buttonsimple.component.js"
6525
- }
6714
+ "description": "Sets the size attribute for the toggle component.\nIf the provided size is not included in the TOGGLE_SIZE,\nit defaults to the value specified in DEFAULTS.SIZE."
6526
6715
  },
6527
6716
  {
6528
- "kind": "method",
6529
- "name": "executeAction",
6530
- "privacy": "protected",
6717
+ "kind": "field",
6718
+ "name": "helpTextType",
6719
+ "type": {
6720
+ "text": "ValidationType"
6721
+ },
6722
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
6723
+ "attribute": "help-text-type",
6724
+ "reflects": true,
6725
+ "default": "undefined as unknown",
6531
6726
  "inheritedFrom": {
6532
- "name": "Buttonsimple",
6533
- "module": "components/buttonsimple/buttonsimple.component.js"
6727
+ "name": "FormfieldWrapper",
6728
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6534
6729
  }
6535
6730
  },
6536
6731
  {
6537
6732
  "kind": "field",
6538
- "name": "role",
6539
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
6540
- "default": "'tab'",
6541
- "attribute": "role",
6542
- "reflects": true,
6733
+ "name": "name",
6543
6734
  "type": {
6544
6735
  "text": "string"
6545
6736
  },
6737
+ "default": "''",
6738
+ "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
6739
+ "attribute": "name",
6740
+ "reflects": true,
6546
6741
  "inheritedFrom": {
6547
- "name": "Buttonsimple",
6548
- "module": "components/buttonsimple/buttonsimple.component.js"
6742
+ "name": "NameMixin",
6743
+ "module": "utils/mixins/NameMixin.js"
6549
6744
  }
6550
6745
  },
6551
6746
  {
6552
6747
  "kind": "field",
6553
- "name": "softDisabled",
6748
+ "name": "value",
6554
6749
  "type": {
6555
- "text": "boolean"
6750
+ "text": "string"
6556
6751
  },
6557
- "default": "undefined as unknown",
6558
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
6559
- "attribute": "soft-disabled",
6752
+ "default": "''",
6753
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
6754
+ "attribute": "value",
6755
+ "reflects": true,
6560
6756
  "inheritedFrom": {
6561
- "name": "Buttonsimple",
6562
- "module": "components/buttonsimple/buttonsimple.component.js"
6757
+ "name": "ValueMixin",
6758
+ "module": "utils/mixins/ValueMixin.js"
6563
6759
  }
6564
6760
  },
6565
6761
  {
6566
6762
  "kind": "field",
6567
- "name": "size",
6763
+ "name": "dataAriaLabel",
6568
6764
  "type": {
6569
- "text": "ButtonSize"
6765
+ "text": "string | null"
6570
6766
  },
6571
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6572
- "default": "undefined as unknown",
6573
- "attribute": "size",
6767
+ "default": "null",
6768
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
6769
+ "attribute": "data-aria-label",
6574
6770
  "reflects": true,
6575
6771
  "inheritedFrom": {
6576
- "name": "Buttonsimple",
6577
- "module": "components/buttonsimple/buttonsimple.component.js"
6772
+ "name": "DataAriaLabelMixin",
6773
+ "module": "utils/mixins/DataAriaLabelMixin.js"
6578
6774
  }
6579
6775
  },
6580
6776
  {
6581
6777
  "kind": "field",
6582
- "name": "type",
6778
+ "name": "disabled",
6583
6779
  "type": {
6584
- "text": "ButtonType"
6780
+ "text": "boolean"
6585
6781
  },
6586
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
6587
- "default": "undefined as unknown",
6588
- "attribute": "type",
6782
+ "default": "false",
6783
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6784
+ "attribute": "disabled",
6589
6785
  "reflects": true,
6590
6786
  "inheritedFrom": {
6591
- "name": "Buttonsimple",
6592
- "module": "components/buttonsimple/buttonsimple.component.js"
6787
+ "name": "FormfieldWrapper",
6788
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6593
6789
  }
6594
6790
  },
6595
6791
  {
6596
6792
  "kind": "field",
6597
- "name": "iconName",
6793
+ "name": "label",
6598
6794
  "type": {
6599
- "text": "IconNames | undefined"
6795
+ "text": "string | undefined"
6600
6796
  },
6601
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6602
- "attribute": "icon-name",
6797
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
6798
+ "attribute": "label",
6799
+ "reflects": true,
6603
6800
  "inheritedFrom": {
6604
- "name": "IconNameMixin",
6605
- "module": "utils/mixins/IconNameMixin.js"
6801
+ "name": "FormfieldWrapper",
6802
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6606
6803
  }
6607
6804
  },
6608
6805
  {
6609
6806
  "kind": "field",
6610
- "name": "tabIndex",
6807
+ "name": "requiredLabel",
6611
6808
  "type": {
6612
- "text": "number"
6809
+ "text": "string | undefined"
6613
6810
  },
6614
- "default": "0",
6615
- "description": "This property specifies the tab order of the element.",
6616
- "attribute": "tabIndex",
6811
+ "description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
6812
+ "attribute": "required-label",
6617
6813
  "reflects": true,
6618
6814
  "inheritedFrom": {
6619
- "name": "Buttonsimple",
6620
- "module": "components/buttonsimple/buttonsimple.component.js"
6815
+ "name": "FormfieldWrapper",
6816
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6621
6817
  }
6622
6818
  },
6623
6819
  {
6624
6820
  "kind": "field",
6625
- "name": "disabled",
6626
- "type": {
6627
- "text": "boolean"
6628
- },
6629
- "default": "false",
6630
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6631
- "attribute": "disabled",
6632
- "reflects": true,
6821
+ "name": "id",
6822
+ "default": "`mdc-input-${uuidv4()}`",
6823
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
6824
+ "attribute": "id",
6633
6825
  "inheritedFrom": {
6634
- "name": "Buttonsimple",
6635
- "module": "components/buttonsimple/buttonsimple.component.js"
6826
+ "name": "FormfieldWrapper",
6827
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6636
6828
  }
6637
6829
  },
6638
6830
  {
6639
6831
  "kind": "field",
6640
- "name": "active",
6832
+ "name": "helpText",
6641
6833
  "type": {
6642
- "text": "boolean"
6834
+ "text": "string | undefined"
6643
6835
  },
6644
- "default": "false",
6645
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.",
6646
- "attribute": "active",
6836
+ "description": "The help text that is displayed below the input field.",
6837
+ "attribute": "help-text",
6647
6838
  "reflects": true,
6648
6839
  "inheritedFrom": {
6649
- "name": "Buttonsimple",
6650
- "module": "components/buttonsimple/buttonsimple.component.js"
6840
+ "name": "FormfieldWrapper",
6841
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6651
6842
  }
6652
6843
  },
6653
6844
  {
6654
6845
  "kind": "method",
6655
- "name": "setSoftDisabled",
6656
- "privacy": "private",
6657
- "parameters": [
6658
- {
6659
- "name": "element",
6660
- "type": {
6661
- "text": "HTMLElement"
6662
- },
6663
- "description": "The button element."
6664
- },
6665
- {
6666
- "name": "softDisabled",
6667
- "type": {
6668
- "text": "boolean"
6669
- },
6670
- "description": "The soft-disabled state."
6846
+ "name": "renderLabelElement",
6847
+ "privacy": "protected",
6848
+ "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
6849
+ "return": {
6850
+ "type": {
6851
+ "text": ""
6671
6852
  }
6672
- ],
6673
- "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute.",
6853
+ },
6674
6854
  "inheritedFrom": {
6675
- "name": "Buttonsimple",
6676
- "module": "components/buttonsimple/buttonsimple.component.js"
6855
+ "name": "FormfieldWrapper",
6856
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6677
6857
  }
6678
- },
6679
- {
6680
- "kind": "method",
6681
- "name": "setDisabled",
6682
- "privacy": "private",
6683
- "parameters": [
6684
- {
6685
- "name": "element",
6686
- "type": {
6687
- "text": "HTMLElement"
6688
- },
6689
- "description": "The button element."
6690
- },
6691
- {
6692
- "name": "disabled",
6693
- "type": {
6694
- "text": "boolean"
6695
- },
6696
- "description": "The disabled state."
6858
+ },
6859
+ {
6860
+ "kind": "method",
6861
+ "name": "renderRequiredLabel",
6862
+ "privacy": "protected",
6863
+ "inheritedFrom": {
6864
+ "name": "FormfieldWrapper",
6865
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6866
+ }
6867
+ },
6868
+ {
6869
+ "kind": "method",
6870
+ "name": "renderHelpTextIcon",
6871
+ "privacy": "protected",
6872
+ "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.",
6873
+ "return": {
6874
+ "type": {
6875
+ "text": ""
6697
6876
  }
6698
- ],
6699
- "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
6877
+ },
6700
6878
  "inheritedFrom": {
6701
- "name": "Buttonsimple",
6702
- "module": "components/buttonsimple/buttonsimple.component.js"
6879
+ "name": "FormfieldWrapper",
6880
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6703
6881
  }
6704
6882
  },
6705
6883
  {
6706
6884
  "kind": "method",
6707
- "name": "triggerClickEvent",
6708
- "privacy": "private",
6885
+ "name": "renderHelpText",
6886
+ "privacy": "protected",
6887
+ "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.",
6888
+ "return": {
6889
+ "type": {
6890
+ "text": ""
6891
+ }
6892
+ },
6709
6893
  "inheritedFrom": {
6710
- "name": "Buttonsimple",
6711
- "module": "components/buttonsimple/buttonsimple.component.js"
6894
+ "name": "FormfieldWrapper",
6895
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6712
6896
  }
6713
6897
  },
6714
6898
  {
6715
6899
  "kind": "method",
6716
- "name": "handleKeyDown",
6717
- "privacy": "private",
6718
- "parameters": [
6719
- {
6720
- "name": "event",
6721
- "type": {
6722
- "text": "KeyboardEvent"
6723
- },
6724
- "description": "The keyboard event."
6900
+ "name": "renderLabel",
6901
+ "privacy": "protected",
6902
+ "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
6903
+ "return": {
6904
+ "type": {
6905
+ "text": ""
6725
6906
  }
6726
- ],
6727
- "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.",
6907
+ },
6728
6908
  "inheritedFrom": {
6729
- "name": "Buttonsimple",
6730
- "module": "components/buttonsimple/buttonsimple.component.js"
6909
+ "name": "FormfieldWrapper",
6910
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6731
6911
  }
6732
6912
  },
6733
6913
  {
6734
6914
  "kind": "method",
6735
- "name": "handleKeyUp",
6736
- "privacy": "private",
6737
- "parameters": [
6738
- {
6739
- "name": "event",
6740
- "type": {
6741
- "text": "KeyboardEvent"
6742
- },
6743
- "description": "The keyboard event."
6915
+ "name": "renderHelperText",
6916
+ "privacy": "protected",
6917
+ "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
6918
+ "return": {
6919
+ "type": {
6920
+ "text": ""
6744
6921
  }
6745
- ],
6746
- "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
6922
+ },
6747
6923
  "inheritedFrom": {
6748
- "name": "Buttonsimple",
6749
- "module": "components/buttonsimple/buttonsimple.component.js"
6924
+ "name": "FormfieldWrapper",
6925
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
6926
+ }
6927
+ }
6928
+ ],
6929
+ "events": [
6930
+ {
6931
+ "type": {
6932
+ "text": "EventConstructor"
6750
6933
  }
6751
6934
  }
6752
6935
  ],
6753
6936
  "attributes": [
6754
6937
  {
6755
- "name": "text",
6938
+ "name": "checked",
6756
6939
  "type": {
6757
- "text": "string | undefined"
6940
+ "text": "boolean"
6758
6941
  },
6759
- "description": "Text to be displayed in the tab.\nIf no `text` is provided, no text will be rendered,\n`aria-label` should be set on the tab.",
6760
- "fieldName": "text"
6942
+ "default": "false",
6943
+ "description": "Determines whether the toggle is active or inactive.",
6944
+ "fieldName": "checked"
6761
6945
  },
6762
6946
  {
6763
- "name": "variant",
6947
+ "name": "size",
6764
6948
  "type": {
6765
- "text": "Variant"
6949
+ "text": "ToggleSize"
6766
6950
  },
6767
- "description": "Tab can have three variants:\n- `glass`\n- `line`\n- `pill`\n\nIt defines the background and foreground color of the tab.",
6768
- "default": "pill",
6769
- "fieldName": "variant"
6951
+ "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
6952
+ "default": "default",
6953
+ "fieldName": "size"
6770
6954
  },
6771
6955
  {
6772
- "name": "icon-name",
6956
+ "name": "name",
6773
6957
  "type": {
6774
- "text": "IconNames | undefined"
6958
+ "text": "string"
6775
6959
  },
6776
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6777
- "fieldName": "iconName",
6960
+ "default": "''",
6961
+ "description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
6962
+ "fieldName": "name",
6778
6963
  "inheritedFrom": {
6779
- "name": "IconNameMixin",
6780
- "module": "src/utils/mixins/IconNameMixin.ts"
6964
+ "name": "NameMixin",
6965
+ "module": "src/utils/mixins/NameMixin.ts"
6781
6966
  }
6782
6967
  },
6783
6968
  {
6784
- "name": "tabIndex",
6969
+ "name": "value",
6785
6970
  "type": {
6786
- "text": "number"
6971
+ "text": "string"
6787
6972
  },
6788
- "default": "0",
6789
- "description": "This property specifies the tab order of the element.",
6790
- "fieldName": "tabIndex",
6973
+ "default": "''",
6974
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
6975
+ "fieldName": "value",
6791
6976
  "inheritedFrom": {
6792
- "name": "Buttonsimple",
6793
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6977
+ "name": "ValueMixin",
6978
+ "module": "src/utils/mixins/ValueMixin.ts"
6979
+ }
6980
+ },
6981
+ {
6982
+ "name": "data-aria-label",
6983
+ "type": {
6984
+ "text": "string | null"
6985
+ },
6986
+ "default": "null",
6987
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
6988
+ "fieldName": "dataAriaLabel",
6989
+ "inheritedFrom": {
6990
+ "name": "DataAriaLabelMixin",
6991
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
6794
6992
  }
6795
6993
  },
6796
6994
  {
@@ -6802,86 +7000,100 @@
6802
7000
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6803
7001
  "fieldName": "disabled",
6804
7002
  "inheritedFrom": {
6805
- "name": "Buttonsimple",
6806
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7003
+ "name": "FormfieldWrapper",
7004
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6807
7005
  }
6808
7006
  },
6809
7007
  {
6810
- "name": "active",
7008
+ "name": "label",
6811
7009
  "type": {
6812
- "text": "boolean"
7010
+ "text": "string | undefined"
6813
7011
  },
6814
- "default": "false",
6815
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.",
6816
- "fieldName": "active",
7012
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
7013
+ "fieldName": "label",
6817
7014
  "inheritedFrom": {
6818
- "name": "Buttonsimple",
6819
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7015
+ "name": "FormfieldWrapper",
7016
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6820
7017
  }
6821
7018
  },
6822
7019
  {
6823
- "name": "soft-disabled",
7020
+ "name": "required-label",
6824
7021
  "type": {
6825
- "text": "boolean"
7022
+ "text": "string | undefined"
6826
7023
  },
6827
- "default": "false",
6828
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
6829
- "fieldName": "softDisabled",
7024
+ "description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
7025
+ "fieldName": "requiredLabel",
6830
7026
  "inheritedFrom": {
6831
- "name": "Buttonsimple",
6832
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7027
+ "name": "FormfieldWrapper",
7028
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6833
7029
  }
6834
7030
  },
6835
7031
  {
6836
- "name": "size",
6837
- "type": {
6838
- "text": "ButtonSize"
6839
- },
6840
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6841
- "default": "32",
6842
- "fieldName": "size",
7032
+ "name": "id",
7033
+ "default": "`mdc-input-${uuidv4()}`",
7034
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
7035
+ "fieldName": "id",
6843
7036
  "inheritedFrom": {
6844
- "name": "Buttonsimple",
6845
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7037
+ "name": "FormfieldWrapper",
7038
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6846
7039
  }
6847
7040
  },
6848
7041
  {
6849
- "name": "role",
6850
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
6851
- "default": "button",
6852
- "fieldName": "role",
7042
+ "name": "help-text-type",
7043
+ "type": {
7044
+ "text": "ValidationType"
7045
+ },
7046
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
7047
+ "fieldName": "helpTextType",
6853
7048
  "inheritedFrom": {
6854
- "name": "Buttonsimple",
6855
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7049
+ "name": "FormfieldWrapper",
7050
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6856
7051
  }
6857
7052
  },
6858
7053
  {
6859
- "name": "type",
7054
+ "name": "help-text",
6860
7055
  "type": {
6861
- "text": "ButtonType"
7056
+ "text": "string | undefined"
6862
7057
  },
6863
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
6864
- "default": "button",
6865
- "fieldName": "type",
7058
+ "description": "The help text that is displayed below the input field.",
7059
+ "fieldName": "helpText",
6866
7060
  "inheritedFrom": {
6867
- "name": "Buttonsimple",
6868
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7061
+ "name": "FormfieldWrapper",
7062
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
6869
7063
  }
6870
7064
  }
6871
7065
  ],
6872
7066
  "mixins": [
6873
7067
  {
6874
- "name": "IconNameMixin",
6875
- "module": "/src/utils/mixins/IconNameMixin"
7068
+ "name": "NameMixin",
7069
+ "module": "/src/utils/mixins/NameMixin"
7070
+ },
7071
+ {
7072
+ "name": "ValueMixin",
7073
+ "module": "/src/utils/mixins/ValueMixin"
7074
+ },
7075
+ {
7076
+ "name": "DataAriaLabelMixin",
7077
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
6876
7078
  }
6877
7079
  ],
6878
7080
  "superclass": {
6879
- "name": "Buttonsimple",
6880
- "module": "/src/components/buttonsimple/buttonsimple.component"
7081
+ "name": "FormfieldWrapper",
7082
+ "module": "/src/components/formfieldwrapper"
6881
7083
  },
6882
- "tagName": "mdc-tab",
6883
- "jsDoc": "/**\n * `mdc-tab` is Tab component to be used within the Tabgroup.\n *\n * Passing in the attribute `text` to the tab component is changing the text displayed in the tab.\n *\n * The `slot=\"badge\"` can be used to add a badge to the tab.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-tab\n *\n * @cssproperty --mdc-tab-content-gap - Gap between the badge(if provided), icon and text.\n * @cssproperty --mdc-tab-height - Height of the tab.\n * @cssproperty --mdc-tab-glass-active-background-color-disabled - Background color for active glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-active-background-color-hover - Background color for active glass tab in hover state.\n * @cssproperty --mdc-tab-glass-active-background-color-normal - Background color for active glass tab in rest state.\n * @cssproperty --mdc-tab-glass-active-background-color-pressed - Background color for active glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-active-color - Text and icon color for active glass tab.\n * @cssproperty --mdc-tab-glass-active-color-disabled - Text and icon color for active glass tab in disabled state.\n * @cssproperty --mdc-tab-glass-border-radius - Border radius for glass tab.\n * @cssproperty --mdc-tab-glass-inactive-background-color-disabled - Background color for inactive glass tab\n * in disabled state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-hover - Background color for inactive glass tab\n * in hover state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-normal - Background color for inactive glass tab\n * in rest state.\n * @cssproperty --mdc-tab-glass-inactive-background-color-pressed - Background color for inactive glass tab\n * in pressed state.\n * @cssproperty --mdc-tab-glass-inactive-color - Text and icon color for inactive glass tab.\n * @cssproperty --mdc-tab-glass-inactive-color-disabled - Text and icon color for inactive glass tab in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-pressed - Background color for active line tab in pressed state.\n * @cssproperty --mdc-tab-line-active-background-color-disabled - Background color for active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-background-color-hover - Background color for active line tab in hover state.\n * @cssproperty --mdc-tab-line-active-background-color-normal - Background color for active line tab in rest state.\n * @cssproperty --mdc-tab-line-active-color - Text and icon color for active line tab.\n * @cssproperty --mdc-tab-line-active-color-disabled - Text and icon color for active line tab in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-color - color for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-color-disabled - Color for indicator in active line tab\n * in disabled state.\n * @cssproperty --mdc-tab-line-active-indicator-height - Height for indicator in active line tab.\n * @cssproperty --mdc-tab-line-active-indicator-width - Width for indicator in active line tab.\n * @cssproperty --mdc-tab-line-border-bottom-left-radius - Bottom left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-bottom-right-radius - Bottom right border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-left-radius - Top left border radius for line tab.\n * @cssproperty --mdc-tab-line-border-top-right-radius - Top right border radius for line tab.\n * @cssproperty --mdc-tab-line-inactive-background-color-pressed - Background color for inactive line tab\n * in pressed state.\n * @cssproperty --mdc-tab-line-inactive-background-color-disabled - Background color for inactive line tab\n * in disabled state\n * @cssproperty --mdc-tab-line-inactive-background-color-hover - Background color for inactive line tab in hover state.\n * @cssproperty --mdc-tab-line-inactive-background-color-normal - Background color for inactive line tab\n * in rest state.\n * @cssproperty --mdc-tab-line-inactive-color - Text and icon color for inactive line tab.\n * @cssproperty --mdc-tab-line-inactive-color-disabled - Text and icon color for inactive line tab in disabled state.\n * @cssproperty --mdc-tab-padding-left - Padding left for the tab.\n * @cssproperty --mdc-tab-padding-right - Padding right for the tab.\n * @cssproperty --mdc-tab-pill-active-background-color-pressed - Background color for active pill tab in pressed state.\n * @cssproperty --mdc-tab-pill-active-background-color-disabled - Background color for active pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-active-background-color-hover - Background color for active pill tab in hover state.\n * @cssproperty --mdc-tab-pill-active-background-color-normal - Background color for active pill tab in rest state.\n * @cssproperty --mdc-tab-pill-active-color - Text and icon color for active pill tab.\n * @cssproperty --mdc-tab-pill-active-color-disabled - Text and icon color for active pill tab in disabled state.\n * @cssproperty --mdc-tab-pill-border-radius - Border radius for pill tab.\n * @cssproperty --mdc-tab-pill-inactive-background-color-pressed - Background color for inactive pill tab\n * in pressed state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-disabled - Background color for inactive pill tab\n * in disabled state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-hover - Background color for inactive pill tab in hover state.\n * @cssproperty --mdc-tab-pill-inactive-background-color-normal - Background color for inactive pill tab in rest state.\n * @cssproperty --mdc-tab-pill-inactive-color - Text and icon color for inactive pill tab.\n * @cssproperty --mdc-tab-pill-inactive-color-disabled - Text and icon color for inactive pill tab in disabled state.\n */",
6884
- "customElement": true
7084
+ "tagName": "mdc-toggle",
7085
+ "jsDoc": "/**\n * Toggle Component is an interactive control used to switch between two mutually exclusive options,\n * such as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\n * where users need to enable or disable a feature.\n * It contains an optional label and an optional helper text.\n *\n * To create a group of toggles, use the FormFieldGroup component.\n *\n * Note: It internally renders a checkbox styled as a toggle switch.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-toggle\n *\n * @cssproperty --mdc-toggle-width - width of the toggle\n * @cssproperty --mdc-toggle-height - height of the toggle\n * @cssproperty --mdc-toggle-width-compact - width of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-height-compact - height of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-border-radius - border radius of the toggle\n * @cssproperty --mdc-toggle-border-radius-compact - border radius of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-border - border of the toggle\n * @cssproperty --mdc-toggle-inactive-rest-color - background color of the inactive toggle in rest state\n * @cssproperty --mdc-toggle-inactive-hover-color - background color of the inactive toggle in hover state\n * @cssproperty --mdc-toggle-inactive-pressed-color - background color of the inactive toggle in pressed state\n * @cssproperty --mdc-toggle-inactive-disabled-color - background color of the inactive toggle in disabled state\n * @cssproperty --mdc-toggle-active-rest-color - background color of the active toggle in rest state\n * @cssproperty --mdc-toggle-active-hover-color - background color of the active toggle in hover state\n * @cssproperty --mdc-toggle-active-pressed-color - background color of the active toggle in pressed state\n * @cssproperty --mdc-toggle-active-disabled-color - background color of the active toggle in disabled state\n * @cssproperty --mdc-toggle-help-text-color - color of the help text label\n * @cssproperty --mdc-toggle-label-color-disabled - color of the toggle label and help text in disabled state\n *\n */",
7086
+ "customElement": true,
7087
+ "slots": [
7088
+ {
7089
+ "description": "slot to add the label info icon",
7090
+ "name": "label-info",
7091
+ "inheritedFrom": {
7092
+ "name": "FormfieldWrapper",
7093
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7094
+ }
7095
+ }
7096
+ ]
6885
7097
  }
6886
7098
  ],
6887
7099
  "exports": [
@@ -6889,8 +7101,8 @@
6889
7101
  "kind": "js",
6890
7102
  "name": "default",
6891
7103
  "declaration": {
6892
- "name": "Tab",
6893
- "module": "components/tab/tab.component.js"
7104
+ "name": "Toggle",
7105
+ "module": "components/toggle/toggle.component.js"
6894
7106
  }
6895
7107
  }
6896
7108
  ]