@momentum-design/components 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +94 -80
- package/dist/browser/index.js.map +4 -4
- package/dist/components/checkbox/checkbox.component.d.ts +2 -2
- package/dist/components/checkbox/checkbox.component.js +5 -6
- package/dist/components/formfieldgroup/formfieldgroup.component.d.ts +43 -0
- package/dist/components/formfieldgroup/formfieldgroup.component.js +78 -0
- package/dist/components/formfieldgroup/formfieldgroup.constants.d.ts +10 -0
- package/dist/components/formfieldgroup/formfieldgroup.constants.js +11 -0
- package/dist/components/{checkboxgroup/checkboxgroup.styles.js → formfieldgroup/formfieldgroup.styles.js} +4 -1
- package/dist/components/formfieldgroup/index.d.ts +8 -0
- package/dist/components/formfieldgroup/index.js +5 -0
- package/dist/components/formfieldwrapper/formfieldwrapper.component.js +4 -3
- package/dist/components/formfieldwrapper/formfieldwrapper.constants.d.ts +1 -0
- package/dist/components/formfieldwrapper/formfieldwrapper.constants.js +1 -0
- package/dist/components/input/input.component.js +2 -0
- package/dist/components/radio/radio.component.js +2 -0
- package/dist/components/toggle/toggle.component.d.ts +2 -0
- package/dist/components/toggle/toggle.component.js +4 -0
- package/dist/custom-elements.json +1556 -1517
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/react/checkbox/index.d.ts +2 -0
- package/dist/react/checkbox/index.js +2 -0
- package/dist/react/formfieldgroup/index.d.ts +23 -0
- package/dist/react/formfieldgroup/index.js +32 -0
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +5 -5
- package/dist/react/toggle/index.d.ts +2 -0
- package/dist/react/toggle/index.js +2 -0
- package/package.json +1 -1
- package/dist/components/checkboxgroup/checkboxgroup.component.d.ts +0 -43
- package/dist/components/checkboxgroup/checkboxgroup.component.js +0 -94
- package/dist/components/checkboxgroup/checkboxgroup.constants.d.ts +0 -2
- package/dist/components/checkboxgroup/checkboxgroup.constants.js +0 -3
- package/dist/components/checkboxgroup/index.d.ts +0 -8
- package/dist/components/checkboxgroup/index.js +0 -5
- package/dist/react/checkboxgroup/index.d.ts +0 -17
- package/dist/react/checkboxgroup/index.js +0 -26
- /package/dist/components/{checkboxgroup/checkboxgroup.styles.d.ts → formfieldgroup/formfieldgroup.styles.d.ts} +0 -0
@@ -4,35 +4,110 @@
|
|
4
4
|
"modules": [
|
5
5
|
{
|
6
6
|
"kind": "javascript-module",
|
7
|
-
"path": "components/
|
7
|
+
"path": "components/avatarbutton/avatarbutton.component.js",
|
8
8
|
"declarations": [
|
9
9
|
{
|
10
10
|
"kind": "class",
|
11
|
-
"description": "The `mdc-
|
12
|
-
"name": "
|
13
|
-
"
|
11
|
+
"description": "The `mdc-avatarbutton` component is an interactable version of the `mdc-avatar` component.\n\nThis component is made by extending `buttonsimple` class.\nThe button component acts as a wrapper for the avatar component.",
|
12
|
+
"name": "AvatarButton",
|
13
|
+
"members": [
|
14
14
|
{
|
15
|
-
"
|
16
|
-
"name": "
|
15
|
+
"kind": "field",
|
16
|
+
"name": "ariaLabel",
|
17
|
+
"type": {
|
18
|
+
"text": "string | null"
|
19
|
+
},
|
20
|
+
"default": "null",
|
21
|
+
"description": "Aria-label attribute to be set for accessibility",
|
22
|
+
"attribute": "aria-label"
|
17
23
|
},
|
18
24
|
{
|
19
|
-
"
|
20
|
-
"name": "
|
25
|
+
"kind": "method",
|
26
|
+
"name": "setSize",
|
27
|
+
"privacy": "private",
|
28
|
+
"parameters": [
|
29
|
+
{
|
30
|
+
"name": "size",
|
31
|
+
"type": {
|
32
|
+
"text": "AvatarSize"
|
33
|
+
}
|
34
|
+
}
|
35
|
+
]
|
21
36
|
},
|
22
37
|
{
|
23
|
-
"
|
24
|
-
"name": "
|
38
|
+
"kind": "field",
|
39
|
+
"name": "active",
|
40
|
+
"type": {
|
41
|
+
"text": "boolean"
|
42
|
+
},
|
43
|
+
"default": "undefined as unknown",
|
44
|
+
"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.",
|
45
|
+
"attribute": "active",
|
46
|
+
"reflects": true,
|
47
|
+
"inheritedFrom": {
|
48
|
+
"name": "Buttonsimple",
|
49
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
50
|
+
}
|
25
51
|
},
|
26
52
|
{
|
27
|
-
"
|
28
|
-
"name": "
|
53
|
+
"kind": "field",
|
54
|
+
"name": "disabled",
|
55
|
+
"type": {
|
56
|
+
"text": "boolean"
|
57
|
+
},
|
58
|
+
"default": "undefined as unknown",
|
59
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
60
|
+
"attribute": "disabled",
|
61
|
+
"reflects": true,
|
62
|
+
"inheritedFrom": {
|
63
|
+
"name": "DisabledMixin",
|
64
|
+
"module": "utils/mixins/DisabledMixin.js"
|
65
|
+
}
|
29
66
|
},
|
30
67
|
{
|
31
|
-
"
|
32
|
-
"name": "
|
33
|
-
|
34
|
-
|
35
|
-
|
68
|
+
"kind": "field",
|
69
|
+
"name": "softDisabled",
|
70
|
+
"type": {
|
71
|
+
"text": "boolean"
|
72
|
+
},
|
73
|
+
"default": "undefined as unknown",
|
74
|
+
"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.",
|
75
|
+
"attribute": "soft-disabled",
|
76
|
+
"inheritedFrom": {
|
77
|
+
"name": "Buttonsimple",
|
78
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
79
|
+
}
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"kind": "field",
|
83
|
+
"name": "role",
|
84
|
+
"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.",
|
85
|
+
"default": "'button'",
|
86
|
+
"attribute": "role",
|
87
|
+
"reflects": true,
|
88
|
+
"type": {
|
89
|
+
"text": "string"
|
90
|
+
},
|
91
|
+
"inheritedFrom": {
|
92
|
+
"name": "Buttonsimple",
|
93
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
94
|
+
}
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"kind": "field",
|
98
|
+
"name": "type",
|
99
|
+
"type": {
|
100
|
+
"text": "ButtonType"
|
101
|
+
},
|
102
|
+
"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.",
|
103
|
+
"default": "button",
|
104
|
+
"attribute": "type",
|
105
|
+
"reflects": true,
|
106
|
+
"inheritedFrom": {
|
107
|
+
"name": "Buttonsimple",
|
108
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
109
|
+
}
|
110
|
+
},
|
36
111
|
{
|
37
112
|
"kind": "field",
|
38
113
|
"name": "src",
|
@@ -76,15 +151,15 @@
|
|
76
151
|
"kind": "field",
|
77
152
|
"name": "size",
|
78
153
|
"type": {
|
79
|
-
"text": "
|
154
|
+
"text": "ButtonSize"
|
80
155
|
},
|
81
156
|
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
82
157
|
"default": "32",
|
83
158
|
"attribute": "size",
|
84
159
|
"reflects": true,
|
85
160
|
"inheritedFrom": {
|
86
|
-
"name": "
|
87
|
-
"module": "
|
161
|
+
"name": "Buttonsimple",
|
162
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
88
163
|
}
|
89
164
|
},
|
90
165
|
{
|
@@ -126,91 +201,232 @@
|
|
126
201
|
"name": "IconNameMixin",
|
127
202
|
"module": "utils/mixins/IconNameMixin.js"
|
128
203
|
}
|
129
|
-
}
|
130
|
-
],
|
131
|
-
"mixins": [
|
132
|
-
{
|
133
|
-
"name": "AvatarComponentMixin",
|
134
|
-
"module": "/src/utils/mixins/AvatarComponentMixin"
|
135
204
|
},
|
136
205
|
{
|
137
|
-
"
|
138
|
-
"
|
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",
|
206
|
+
"kind": "field",
|
207
|
+
"name": "tabIndex",
|
151
208
|
"type": {
|
152
|
-
"text": "
|
209
|
+
"text": "number"
|
153
210
|
},
|
154
|
-
"
|
155
|
-
"
|
211
|
+
"default": "0",
|
212
|
+
"description": "This property specifies the tab order of the element.",
|
213
|
+
"attribute": "tabIndex",
|
214
|
+
"reflects": true,
|
156
215
|
"inheritedFrom": {
|
157
|
-
"name": "
|
158
|
-
"module": "
|
216
|
+
"name": "TabIndexMixin",
|
217
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
159
218
|
}
|
160
219
|
},
|
161
220
|
{
|
162
|
-
"
|
163
|
-
"
|
164
|
-
|
165
|
-
},
|
166
|
-
"description": "The initials to be displayed for the avatar.",
|
167
|
-
"fieldName": "initials",
|
221
|
+
"kind": "method",
|
222
|
+
"name": "executeAction",
|
223
|
+
"privacy": "protected",
|
168
224
|
"inheritedFrom": {
|
169
|
-
"name": "
|
170
|
-
"module": "
|
225
|
+
"name": "Buttonsimple",
|
226
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
171
227
|
}
|
172
228
|
},
|
173
229
|
{
|
174
|
-
"
|
175
|
-
"
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
230
|
+
"kind": "method",
|
231
|
+
"name": "setActive",
|
232
|
+
"privacy": "protected",
|
233
|
+
"parameters": [
|
234
|
+
{
|
235
|
+
"name": "element",
|
236
|
+
"type": {
|
237
|
+
"text": "HTMLElement"
|
238
|
+
},
|
239
|
+
"description": "The button element"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"name": "active",
|
243
|
+
"type": {
|
244
|
+
"text": "boolean"
|
245
|
+
},
|
246
|
+
"description": "The active state of the element"
|
247
|
+
}
|
248
|
+
],
|
249
|
+
"description": "Sets the aria-pressed attribute based on the active state of the button.",
|
180
250
|
"inheritedFrom": {
|
181
|
-
"name": "
|
182
|
-
"module": "
|
251
|
+
"name": "Buttonsimple",
|
252
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
183
253
|
}
|
184
254
|
},
|
185
255
|
{
|
186
|
-
"
|
187
|
-
"
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
256
|
+
"kind": "method",
|
257
|
+
"name": "setSoftDisabled",
|
258
|
+
"privacy": "private",
|
259
|
+
"parameters": [
|
260
|
+
{
|
261
|
+
"name": "element",
|
262
|
+
"type": {
|
263
|
+
"text": "HTMLElement"
|
264
|
+
},
|
265
|
+
"description": "The button element."
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"name": "softDisabled",
|
269
|
+
"type": {
|
270
|
+
"text": "boolean"
|
271
|
+
},
|
272
|
+
"description": "The soft-disabled state."
|
273
|
+
}
|
274
|
+
],
|
275
|
+
"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.",
|
193
276
|
"inheritedFrom": {
|
194
|
-
"name": "
|
195
|
-
"module": "
|
277
|
+
"name": "Buttonsimple",
|
278
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
196
279
|
}
|
197
280
|
},
|
198
281
|
{
|
199
|
-
"
|
200
|
-
"
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
282
|
+
"kind": "method",
|
283
|
+
"name": "setDisabled",
|
284
|
+
"privacy": "private",
|
285
|
+
"parameters": [
|
286
|
+
{
|
287
|
+
"name": "element",
|
288
|
+
"type": {
|
289
|
+
"text": "HTMLElement"
|
290
|
+
},
|
291
|
+
"description": "The button element."
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"name": "disabled",
|
295
|
+
"type": {
|
296
|
+
"text": "boolean"
|
297
|
+
},
|
298
|
+
"description": "The disabled state."
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"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.",
|
205
302
|
"inheritedFrom": {
|
206
|
-
"name": "
|
207
|
-
"module": "
|
303
|
+
"name": "Buttonsimple",
|
304
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
208
305
|
}
|
209
306
|
},
|
210
307
|
{
|
211
|
-
"
|
212
|
-
"
|
213
|
-
|
308
|
+
"kind": "method",
|
309
|
+
"name": "triggerClickEvent",
|
310
|
+
"privacy": "private",
|
311
|
+
"inheritedFrom": {
|
312
|
+
"name": "Buttonsimple",
|
313
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
314
|
+
}
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"kind": "method",
|
318
|
+
"name": "handleKeyDown",
|
319
|
+
"privacy": "private",
|
320
|
+
"parameters": [
|
321
|
+
{
|
322
|
+
"name": "event",
|
323
|
+
"type": {
|
324
|
+
"text": "KeyboardEvent"
|
325
|
+
},
|
326
|
+
"description": "The keyboard event."
|
327
|
+
}
|
328
|
+
],
|
329
|
+
"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.",
|
330
|
+
"inheritedFrom": {
|
331
|
+
"name": "Buttonsimple",
|
332
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
333
|
+
}
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"kind": "method",
|
337
|
+
"name": "handleKeyUp",
|
338
|
+
"privacy": "private",
|
339
|
+
"parameters": [
|
340
|
+
{
|
341
|
+
"name": "event",
|
342
|
+
"type": {
|
343
|
+
"text": "KeyboardEvent"
|
344
|
+
},
|
345
|
+
"description": "The keyboard event."
|
346
|
+
}
|
347
|
+
],
|
348
|
+
"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.",
|
349
|
+
"inheritedFrom": {
|
350
|
+
"name": "Buttonsimple",
|
351
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
352
|
+
}
|
353
|
+
}
|
354
|
+
],
|
355
|
+
"attributes": [
|
356
|
+
{
|
357
|
+
"name": "aria-label",
|
358
|
+
"type": {
|
359
|
+
"text": "string | null"
|
360
|
+
},
|
361
|
+
"default": "null",
|
362
|
+
"description": "Aria-label attribute to be set for accessibility",
|
363
|
+
"fieldName": "ariaLabel"
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"name": "src",
|
367
|
+
"type": {
|
368
|
+
"text": "string | undefined"
|
369
|
+
},
|
370
|
+
"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.",
|
371
|
+
"fieldName": "src",
|
372
|
+
"inheritedFrom": {
|
373
|
+
"name": "AvatarComponentMixin",
|
374
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
375
|
+
}
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"name": "initials",
|
379
|
+
"type": {
|
380
|
+
"text": "string | undefined"
|
381
|
+
},
|
382
|
+
"description": "The initials to be displayed for the avatar.",
|
383
|
+
"fieldName": "initials",
|
384
|
+
"inheritedFrom": {
|
385
|
+
"name": "AvatarComponentMixin",
|
386
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
387
|
+
}
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"name": "presence",
|
391
|
+
"type": {
|
392
|
+
"text": "PresenceType | undefined"
|
393
|
+
},
|
394
|
+
"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`",
|
395
|
+
"fieldName": "presence",
|
396
|
+
"inheritedFrom": {
|
397
|
+
"name": "AvatarComponentMixin",
|
398
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
399
|
+
}
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"name": "size",
|
403
|
+
"type": {
|
404
|
+
"text": "ButtonSize"
|
405
|
+
},
|
406
|
+
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
407
|
+
"default": "32",
|
408
|
+
"fieldName": "size",
|
409
|
+
"inheritedFrom": {
|
410
|
+
"name": "Buttonsimple",
|
411
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
412
|
+
}
|
413
|
+
},
|
414
|
+
{
|
415
|
+
"name": "counter",
|
416
|
+
"type": {
|
417
|
+
"text": "number | undefined"
|
418
|
+
},
|
419
|
+
"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`.",
|
420
|
+
"fieldName": "counter",
|
421
|
+
"inheritedFrom": {
|
422
|
+
"name": "AvatarComponentMixin",
|
423
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
424
|
+
}
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"name": "is-typing",
|
428
|
+
"type": {
|
429
|
+
"text": "boolean"
|
214
430
|
},
|
215
431
|
"default": "false",
|
216
432
|
"description": "Represents the typing indicator when the user is typing.",
|
@@ -231,8 +447,100 @@
|
|
231
447
|
"name": "IconNameMixin",
|
232
448
|
"module": "src/utils/mixins/IconNameMixin.ts"
|
233
449
|
}
|
450
|
+
},
|
451
|
+
{
|
452
|
+
"name": "tabIndex",
|
453
|
+
"type": {
|
454
|
+
"text": "number"
|
455
|
+
},
|
456
|
+
"default": "0",
|
457
|
+
"description": "This property specifies the tab order of the element.",
|
458
|
+
"fieldName": "tabIndex",
|
459
|
+
"inheritedFrom": {
|
460
|
+
"name": "TabIndexMixin",
|
461
|
+
"module": "src/utils/mixins/TabIndexMixin.ts"
|
462
|
+
}
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"name": "disabled",
|
466
|
+
"type": {
|
467
|
+
"text": "boolean"
|
468
|
+
},
|
469
|
+
"default": "false",
|
470
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
471
|
+
"fieldName": "disabled",
|
472
|
+
"inheritedFrom": {
|
473
|
+
"name": "DisabledMixin",
|
474
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
475
|
+
}
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"name": "active",
|
479
|
+
"type": {
|
480
|
+
"text": "boolean"
|
481
|
+
},
|
482
|
+
"default": "false",
|
483
|
+
"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.",
|
484
|
+
"fieldName": "active",
|
485
|
+
"inheritedFrom": {
|
486
|
+
"name": "Buttonsimple",
|
487
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
488
|
+
}
|
489
|
+
},
|
490
|
+
{
|
491
|
+
"name": "soft-disabled",
|
492
|
+
"type": {
|
493
|
+
"text": "boolean"
|
494
|
+
},
|
495
|
+
"default": "false",
|
496
|
+
"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.",
|
497
|
+
"fieldName": "softDisabled",
|
498
|
+
"inheritedFrom": {
|
499
|
+
"name": "Buttonsimple",
|
500
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
501
|
+
}
|
502
|
+
},
|
503
|
+
{
|
504
|
+
"name": "role",
|
505
|
+
"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.",
|
506
|
+
"default": "button",
|
507
|
+
"fieldName": "role",
|
508
|
+
"inheritedFrom": {
|
509
|
+
"name": "Buttonsimple",
|
510
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
511
|
+
}
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"name": "type",
|
515
|
+
"type": {
|
516
|
+
"text": "ButtonType"
|
517
|
+
},
|
518
|
+
"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.",
|
519
|
+
"default": "button",
|
520
|
+
"fieldName": "type",
|
521
|
+
"inheritedFrom": {
|
522
|
+
"name": "Buttonsimple",
|
523
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
524
|
+
}
|
234
525
|
}
|
235
|
-
]
|
526
|
+
],
|
527
|
+
"mixins": [
|
528
|
+
{
|
529
|
+
"name": "AvatarComponentMixin",
|
530
|
+
"module": "/src/utils/mixins/AvatarComponentMixin"
|
531
|
+
},
|
532
|
+
{
|
533
|
+
"name": "IconNameMixin",
|
534
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
535
|
+
}
|
536
|
+
],
|
537
|
+
"superclass": {
|
538
|
+
"name": "Buttonsimple",
|
539
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
540
|
+
},
|
541
|
+
"tagName": "mdc-avatarbutton",
|
542
|
+
"jsDoc": "/**\n * The `mdc-avatarbutton` component is an interactable version of the `mdc-avatar` component.\n *\n * This component is made by extending `buttonsimple` class.\n * The button component acts as a wrapper for the avatar component.\n *\n * @dependency mdc-avatar\n *\n * @tagname mdc-avatarbutton\n */",
|
543
|
+
"customElement": true
|
236
544
|
}
|
237
545
|
],
|
238
546
|
"exports": [
|
@@ -240,8 +548,8 @@
|
|
240
548
|
"kind": "js",
|
241
549
|
"name": "default",
|
242
550
|
"declaration": {
|
243
|
-
"name": "
|
244
|
-
"module": "components/
|
551
|
+
"name": "AvatarButton",
|
552
|
+
"module": "components/avatarbutton/avatarbutton.component.js"
|
245
553
|
}
|
246
554
|
}
|
247
555
|
]
|
@@ -569,110 +877,35 @@
|
|
569
877
|
},
|
570
878
|
{
|
571
879
|
"kind": "javascript-module",
|
572
|
-
"path": "components/
|
880
|
+
"path": "components/avatar/avatar.component.js",
|
573
881
|
"declarations": [
|
574
882
|
{
|
575
883
|
"kind": "class",
|
576
|
-
"description": "The `mdc-
|
577
|
-
"name": "
|
578
|
-
"
|
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",
|
886
|
+
"cssProperties": [
|
579
887
|
{
|
580
|
-
"
|
581
|
-
"name": "
|
582
|
-
"type": {
|
583
|
-
"text": "string | null"
|
584
|
-
},
|
585
|
-
"default": "null",
|
586
|
-
"description": "Aria-label attribute to be set for accessibility",
|
587
|
-
"attribute": "aria-label"
|
888
|
+
"description": "Allows customization of the default background color.",
|
889
|
+
"name": "--mdc-avatar-default-background-color"
|
588
890
|
},
|
589
891
|
{
|
590
|
-
"
|
591
|
-
"name": "
|
592
|
-
"privacy": "private",
|
593
|
-
"parameters": [
|
594
|
-
{
|
595
|
-
"name": "size",
|
596
|
-
"type": {
|
597
|
-
"text": "AvatarSize"
|
598
|
-
}
|
599
|
-
}
|
600
|
-
]
|
892
|
+
"description": "Allows customization of the default foreground color.",
|
893
|
+
"name": "--mdc-avatar-default-foreground-color"
|
601
894
|
},
|
602
895
|
{
|
603
|
-
"
|
604
|
-
"name": "
|
605
|
-
"type": {
|
606
|
-
"text": "boolean"
|
607
|
-
},
|
608
|
-
"default": "undefined as unknown",
|
609
|
-
"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.",
|
610
|
-
"attribute": "active",
|
611
|
-
"reflects": true,
|
612
|
-
"inheritedFrom": {
|
613
|
-
"name": "Buttonsimple",
|
614
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
615
|
-
}
|
616
|
-
},
|
617
|
-
{
|
618
|
-
"kind": "field",
|
619
|
-
"name": "disabled",
|
620
|
-
"type": {
|
621
|
-
"text": "boolean"
|
622
|
-
},
|
623
|
-
"default": "undefined as unknown",
|
624
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
625
|
-
"attribute": "disabled",
|
626
|
-
"reflects": true,
|
627
|
-
"inheritedFrom": {
|
628
|
-
"name": "DisabledMixin",
|
629
|
-
"module": "utils/mixins/DisabledMixin.js"
|
630
|
-
}
|
631
|
-
},
|
632
|
-
{
|
633
|
-
"kind": "field",
|
634
|
-
"name": "softDisabled",
|
635
|
-
"type": {
|
636
|
-
"text": "boolean"
|
637
|
-
},
|
638
|
-
"default": "undefined as unknown",
|
639
|
-
"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.",
|
640
|
-
"attribute": "soft-disabled",
|
641
|
-
"inheritedFrom": {
|
642
|
-
"name": "Buttonsimple",
|
643
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
644
|
-
}
|
896
|
+
"description": "Allows customization of the loading indicator background color.",
|
897
|
+
"name": "--mdc-avatar-loading-indicator-background-color"
|
645
898
|
},
|
646
899
|
{
|
647
|
-
"
|
648
|
-
"name": "
|
649
|
-
"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.",
|
650
|
-
"default": "'button'",
|
651
|
-
"attribute": "role",
|
652
|
-
"reflects": true,
|
653
|
-
"type": {
|
654
|
-
"text": "string"
|
655
|
-
},
|
656
|
-
"inheritedFrom": {
|
657
|
-
"name": "Buttonsimple",
|
658
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
659
|
-
}
|
900
|
+
"description": "Allows customization of the loading indicator foreground color.",
|
901
|
+
"name": "--mdc-avatar-loading-indicator-foreground-color"
|
660
902
|
},
|
661
903
|
{
|
662
|
-
"
|
663
|
-
"name": "
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
"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.",
|
668
|
-
"default": "button",
|
669
|
-
"attribute": "type",
|
670
|
-
"reflects": true,
|
671
|
-
"inheritedFrom": {
|
672
|
-
"name": "Buttonsimple",
|
673
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
674
|
-
}
|
675
|
-
},
|
904
|
+
"description": "Allows customization of the loading overlay background color.",
|
905
|
+
"name": "--mdc-avatar-loading-overlay-background-color"
|
906
|
+
}
|
907
|
+
],
|
908
|
+
"members": [
|
676
909
|
{
|
677
910
|
"kind": "field",
|
678
911
|
"name": "src",
|
@@ -716,15 +949,15 @@
|
|
716
949
|
"kind": "field",
|
717
950
|
"name": "size",
|
718
951
|
"type": {
|
719
|
-
"text": "
|
952
|
+
"text": "AvatarSize"
|
720
953
|
},
|
721
954
|
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
722
955
|
"default": "32",
|
723
956
|
"attribute": "size",
|
724
957
|
"reflects": true,
|
725
958
|
"inheritedFrom": {
|
726
|
-
"name": "
|
727
|
-
"module": "
|
959
|
+
"name": "AvatarComponentMixin",
|
960
|
+
"module": "utils/mixins/AvatarComponentMixin.js"
|
728
961
|
}
|
729
962
|
},
|
730
963
|
{
|
@@ -766,167 +999,26 @@
|
|
766
999
|
"name": "IconNameMixin",
|
767
1000
|
"module": "utils/mixins/IconNameMixin.js"
|
768
1001
|
}
|
769
|
-
}
|
770
|
-
|
771
|
-
|
772
|
-
"name": "tabIndex",
|
773
|
-
"type": {
|
774
|
-
"text": "number"
|
775
|
-
},
|
776
|
-
"default": "0",
|
777
|
-
"description": "This property specifies the tab order of the element.",
|
778
|
-
"attribute": "tabIndex",
|
779
|
-
"reflects": true,
|
780
|
-
"inheritedFrom": {
|
781
|
-
"name": "TabIndexMixin",
|
782
|
-
"module": "utils/mixins/TabIndexMixin.js"
|
783
|
-
}
|
784
|
-
},
|
785
|
-
{
|
786
|
-
"kind": "method",
|
787
|
-
"name": "executeAction",
|
788
|
-
"privacy": "protected",
|
789
|
-
"inheritedFrom": {
|
790
|
-
"name": "Buttonsimple",
|
791
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
792
|
-
}
|
793
|
-
},
|
794
|
-
{
|
795
|
-
"kind": "method",
|
796
|
-
"name": "setActive",
|
797
|
-
"privacy": "protected",
|
798
|
-
"parameters": [
|
799
|
-
{
|
800
|
-
"name": "element",
|
801
|
-
"type": {
|
802
|
-
"text": "HTMLElement"
|
803
|
-
},
|
804
|
-
"description": "The button element"
|
805
|
-
},
|
806
|
-
{
|
807
|
-
"name": "active",
|
808
|
-
"type": {
|
809
|
-
"text": "boolean"
|
810
|
-
},
|
811
|
-
"description": "The active state of the element"
|
812
|
-
}
|
813
|
-
],
|
814
|
-
"description": "Sets the aria-pressed attribute based on the active state of the button.",
|
815
|
-
"inheritedFrom": {
|
816
|
-
"name": "Buttonsimple",
|
817
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
818
|
-
}
|
819
|
-
},
|
820
|
-
{
|
821
|
-
"kind": "method",
|
822
|
-
"name": "setSoftDisabled",
|
823
|
-
"privacy": "private",
|
824
|
-
"parameters": [
|
825
|
-
{
|
826
|
-
"name": "element",
|
827
|
-
"type": {
|
828
|
-
"text": "HTMLElement"
|
829
|
-
},
|
830
|
-
"description": "The button element."
|
831
|
-
},
|
832
|
-
{
|
833
|
-
"name": "softDisabled",
|
834
|
-
"type": {
|
835
|
-
"text": "boolean"
|
836
|
-
},
|
837
|
-
"description": "The soft-disabled state."
|
838
|
-
}
|
839
|
-
],
|
840
|
-
"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.",
|
841
|
-
"inheritedFrom": {
|
842
|
-
"name": "Buttonsimple",
|
843
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
844
|
-
}
|
845
|
-
},
|
846
|
-
{
|
847
|
-
"kind": "method",
|
848
|
-
"name": "setDisabled",
|
849
|
-
"privacy": "private",
|
850
|
-
"parameters": [
|
851
|
-
{
|
852
|
-
"name": "element",
|
853
|
-
"type": {
|
854
|
-
"text": "HTMLElement"
|
855
|
-
},
|
856
|
-
"description": "The button element."
|
857
|
-
},
|
858
|
-
{
|
859
|
-
"name": "disabled",
|
860
|
-
"type": {
|
861
|
-
"text": "boolean"
|
862
|
-
},
|
863
|
-
"description": "The disabled state."
|
864
|
-
}
|
865
|
-
],
|
866
|
-
"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.",
|
867
|
-
"inheritedFrom": {
|
868
|
-
"name": "Buttonsimple",
|
869
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
870
|
-
}
|
871
|
-
},
|
872
|
-
{
|
873
|
-
"kind": "method",
|
874
|
-
"name": "triggerClickEvent",
|
875
|
-
"privacy": "private",
|
876
|
-
"inheritedFrom": {
|
877
|
-
"name": "Buttonsimple",
|
878
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
879
|
-
}
|
880
|
-
},
|
1002
|
+
}
|
1003
|
+
],
|
1004
|
+
"mixins": [
|
881
1005
|
{
|
882
|
-
"
|
883
|
-
"
|
884
|
-
"privacy": "private",
|
885
|
-
"parameters": [
|
886
|
-
{
|
887
|
-
"name": "event",
|
888
|
-
"type": {
|
889
|
-
"text": "KeyboardEvent"
|
890
|
-
},
|
891
|
-
"description": "The keyboard event."
|
892
|
-
}
|
893
|
-
],
|
894
|
-
"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.",
|
895
|
-
"inheritedFrom": {
|
896
|
-
"name": "Buttonsimple",
|
897
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
898
|
-
}
|
1006
|
+
"name": "AvatarComponentMixin",
|
1007
|
+
"module": "/src/utils/mixins/AvatarComponentMixin"
|
899
1008
|
},
|
900
1009
|
{
|
901
|
-
"
|
902
|
-
"
|
903
|
-
"privacy": "private",
|
904
|
-
"parameters": [
|
905
|
-
{
|
906
|
-
"name": "event",
|
907
|
-
"type": {
|
908
|
-
"text": "KeyboardEvent"
|
909
|
-
},
|
910
|
-
"description": "The keyboard event."
|
911
|
-
}
|
912
|
-
],
|
913
|
-
"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.",
|
914
|
-
"inheritedFrom": {
|
915
|
-
"name": "Buttonsimple",
|
916
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
917
|
-
}
|
1010
|
+
"name": "IconNameMixin",
|
1011
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
918
1012
|
}
|
919
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,
|
920
1021
|
"attributes": [
|
921
|
-
{
|
922
|
-
"name": "aria-label",
|
923
|
-
"type": {
|
924
|
-
"text": "string | null"
|
925
|
-
},
|
926
|
-
"default": "null",
|
927
|
-
"description": "Aria-label attribute to be set for accessibility",
|
928
|
-
"fieldName": "ariaLabel"
|
929
|
-
},
|
930
1022
|
{
|
931
1023
|
"name": "src",
|
932
1024
|
"type": {
|
@@ -966,14 +1058,14 @@
|
|
966
1058
|
{
|
967
1059
|
"name": "size",
|
968
1060
|
"type": {
|
969
|
-
"text": "
|
1061
|
+
"text": "AvatarSize"
|
970
1062
|
},
|
971
1063
|
"description": "Acceptable values include (size in px unit):\n- 24\n- 32\n- 48\n- 64\n- 72\n- 88\n- 124",
|
972
1064
|
"default": "32",
|
973
1065
|
"fieldName": "size",
|
974
1066
|
"inheritedFrom": {
|
975
|
-
"name": "
|
976
|
-
"module": "src/
|
1067
|
+
"name": "AvatarComponentMixin",
|
1068
|
+
"module": "src/utils/mixins/AvatarComponentMixin.ts"
|
977
1069
|
}
|
978
1070
|
},
|
979
1071
|
{
|
@@ -1012,100 +1104,8 @@
|
|
1012
1104
|
"name": "IconNameMixin",
|
1013
1105
|
"module": "src/utils/mixins/IconNameMixin.ts"
|
1014
1106
|
}
|
1015
|
-
},
|
1016
|
-
{
|
1017
|
-
"name": "tabIndex",
|
1018
|
-
"type": {
|
1019
|
-
"text": "number"
|
1020
|
-
},
|
1021
|
-
"default": "0",
|
1022
|
-
"description": "This property specifies the tab order of the element.",
|
1023
|
-
"fieldName": "tabIndex",
|
1024
|
-
"inheritedFrom": {
|
1025
|
-
"name": "TabIndexMixin",
|
1026
|
-
"module": "src/utils/mixins/TabIndexMixin.ts"
|
1027
|
-
}
|
1028
|
-
},
|
1029
|
-
{
|
1030
|
-
"name": "disabled",
|
1031
|
-
"type": {
|
1032
|
-
"text": "boolean"
|
1033
|
-
},
|
1034
|
-
"default": "false",
|
1035
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
1036
|
-
"fieldName": "disabled",
|
1037
|
-
"inheritedFrom": {
|
1038
|
-
"name": "DisabledMixin",
|
1039
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
1040
|
-
}
|
1041
|
-
},
|
1042
|
-
{
|
1043
|
-
"name": "active",
|
1044
|
-
"type": {
|
1045
|
-
"text": "boolean"
|
1046
|
-
},
|
1047
|
-
"default": "false",
|
1048
|
-
"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.",
|
1049
|
-
"fieldName": "active",
|
1050
|
-
"inheritedFrom": {
|
1051
|
-
"name": "Buttonsimple",
|
1052
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
1053
|
-
}
|
1054
|
-
},
|
1055
|
-
{
|
1056
|
-
"name": "soft-disabled",
|
1057
|
-
"type": {
|
1058
|
-
"text": "boolean"
|
1059
|
-
},
|
1060
|
-
"default": "false",
|
1061
|
-
"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.",
|
1062
|
-
"fieldName": "softDisabled",
|
1063
|
-
"inheritedFrom": {
|
1064
|
-
"name": "Buttonsimple",
|
1065
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
1066
|
-
}
|
1067
|
-
},
|
1068
|
-
{
|
1069
|
-
"name": "role",
|
1070
|
-
"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.",
|
1071
|
-
"default": "button",
|
1072
|
-
"fieldName": "role",
|
1073
|
-
"inheritedFrom": {
|
1074
|
-
"name": "Buttonsimple",
|
1075
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
1076
|
-
}
|
1077
|
-
},
|
1078
|
-
{
|
1079
|
-
"name": "type",
|
1080
|
-
"type": {
|
1081
|
-
"text": "ButtonType"
|
1082
|
-
},
|
1083
|
-
"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.",
|
1084
|
-
"default": "button",
|
1085
|
-
"fieldName": "type",
|
1086
|
-
"inheritedFrom": {
|
1087
|
-
"name": "Buttonsimple",
|
1088
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
1089
|
-
}
|
1090
|
-
}
|
1091
|
-
],
|
1092
|
-
"mixins": [
|
1093
|
-
{
|
1094
|
-
"name": "AvatarComponentMixin",
|
1095
|
-
"module": "/src/utils/mixins/AvatarComponentMixin"
|
1096
|
-
},
|
1097
|
-
{
|
1098
|
-
"name": "IconNameMixin",
|
1099
|
-
"module": "/src/utils/mixins/IconNameMixin"
|
1100
1107
|
}
|
1101
|
-
]
|
1102
|
-
"superclass": {
|
1103
|
-
"name": "Buttonsimple",
|
1104
|
-
"module": "/src/components/buttonsimple/buttonsimple.component"
|
1105
|
-
},
|
1106
|
-
"tagName": "mdc-avatarbutton",
|
1107
|
-
"jsDoc": "/**\n * The `mdc-avatarbutton` component is an interactable version of the `mdc-avatar` component.\n *\n * This component is made by extending `buttonsimple` class.\n * The button component acts as a wrapper for the avatar component.\n *\n * @dependency mdc-avatar\n *\n * @tagname mdc-avatarbutton\n */",
|
1108
|
-
"customElement": true
|
1108
|
+
]
|
1109
1109
|
}
|
1110
1110
|
],
|
1111
1111
|
"exports": [
|
@@ -1113,8 +1113,8 @@
|
|
1113
1113
|
"kind": "js",
|
1114
1114
|
"name": "default",
|
1115
1115
|
"declaration": {
|
1116
|
-
"name": "
|
1117
|
-
"module": "components/
|
1116
|
+
"name": "Avatar",
|
1117
|
+
"module": "components/avatar/avatar.component.js"
|
1118
1118
|
}
|
1119
1119
|
}
|
1120
1120
|
]
|
@@ -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
|
{
|
@@ -2539,112 +2539,6 @@
|
|
2539
2539
|
}
|
2540
2540
|
]
|
2541
2541
|
},
|
2542
|
-
{
|
2543
|
-
"kind": "javascript-module",
|
2544
|
-
"path": "components/checkboxgroup/checkboxgroup.component.js",
|
2545
|
-
"declarations": [
|
2546
|
-
{
|
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": [
|
2551
|
-
{
|
2552
|
-
"description": "This is a help text slot.",
|
2553
|
-
"name": "help-text"
|
2554
|
-
},
|
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
2542
|
{
|
2649
2543
|
"kind": "javascript-module",
|
2650
2544
|
"path": "components/divider/divider.component.js",
|
@@ -2877,68 +2771,213 @@
|
|
2877
2771
|
},
|
2878
2772
|
{
|
2879
2773
|
"kind": "javascript-module",
|
2880
|
-
"path": "components/
|
2774
|
+
"path": "components/formfieldgroup/formfieldgroup.component.js",
|
2881
2775
|
"declarations": [
|
2882
2776
|
{
|
2883
2777
|
"kind": "class",
|
2884
|
-
"description": "
|
2885
|
-
"name": "
|
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": [
|
2887
2781
|
{
|
2888
|
-
"description": "slot
|
2889
|
-
"name": "
|
2782
|
+
"description": "This is a default slot for checkbox or toggle components.",
|
2783
|
+
"name": "default"
|
2890
2784
|
}
|
2891
2785
|
],
|
2892
2786
|
"members": [
|
2893
2787
|
{
|
2894
2788
|
"kind": "field",
|
2895
|
-
"name": "
|
2789
|
+
"name": "headerText",
|
2896
2790
|
"type": {
|
2897
2791
|
"text": "string | undefined"
|
2898
2792
|
},
|
2899
|
-
"description": "The
|
2900
|
-
"attribute": "
|
2793
|
+
"description": "The header text of the group.",
|
2794
|
+
"attribute": "header-text",
|
2901
2795
|
"reflects": true
|
2902
2796
|
},
|
2903
2797
|
{
|
2904
2798
|
"kind": "field",
|
2905
|
-
"name": "
|
2799
|
+
"name": "descriptionText",
|
2906
2800
|
"type": {
|
2907
2801
|
"text": "string | undefined"
|
2908
2802
|
},
|
2909
|
-
"description": "The
|
2910
|
-
"attribute": "
|
2803
|
+
"description": "The description of the group.",
|
2804
|
+
"attribute": "description-text",
|
2911
2805
|
"reflects": true
|
2912
2806
|
},
|
2913
2807
|
{
|
2914
|
-
"kind": "
|
2915
|
-
"name": "
|
2916
|
-
"
|
2917
|
-
"
|
2918
|
-
|
2808
|
+
"kind": "method",
|
2809
|
+
"name": "renderText",
|
2810
|
+
"privacy": "private",
|
2811
|
+
"return": {
|
2812
|
+
"type": {
|
2813
|
+
"text": "TemplateResult | typeof nothing"
|
2814
|
+
}
|
2815
|
+
},
|
2816
|
+
"parameters": [
|
2817
|
+
{
|
2818
|
+
"name": "type",
|
2819
|
+
"type": {
|
2820
|
+
"text": "TextType"
|
2821
|
+
}
|
2822
|
+
},
|
2823
|
+
{
|
2824
|
+
"name": "id",
|
2825
|
+
"type": {
|
2826
|
+
"text": "string"
|
2827
|
+
}
|
2828
|
+
},
|
2829
|
+
{
|
2830
|
+
"name": "cssPart",
|
2831
|
+
"type": {
|
2832
|
+
"text": "string"
|
2833
|
+
}
|
2834
|
+
},
|
2835
|
+
{
|
2836
|
+
"name": "value",
|
2837
|
+
"optional": true,
|
2838
|
+
"type": {
|
2839
|
+
"text": "string"
|
2840
|
+
}
|
2841
|
+
}
|
2842
|
+
]
|
2919
2843
|
},
|
2920
2844
|
{
|
2921
2845
|
"kind": "field",
|
2922
|
-
"name": "
|
2846
|
+
"name": "dataAriaLabel",
|
2923
2847
|
"type": {
|
2924
|
-
"text": "
|
2848
|
+
"text": "string | null"
|
2925
2849
|
},
|
2926
|
-
"
|
2927
|
-
"
|
2928
|
-
"
|
2850
|
+
"default": "null",
|
2851
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
2852
|
+
"attribute": "data-aria-label",
|
2853
|
+
"reflects": true,
|
2854
|
+
"inheritedFrom": {
|
2855
|
+
"name": "DataAriaLabelMixin",
|
2856
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
2857
|
+
}
|
2858
|
+
}
|
2859
|
+
],
|
2860
|
+
"attributes": [
|
2861
|
+
{
|
2862
|
+
"name": "header-text",
|
2863
|
+
"type": {
|
2864
|
+
"text": "string | undefined"
|
2865
|
+
},
|
2866
|
+
"description": "The header text of the group.",
|
2867
|
+
"fieldName": "headerText"
|
2929
2868
|
},
|
2930
2869
|
{
|
2931
|
-
"
|
2932
|
-
"name": "helpText",
|
2870
|
+
"name": "description-text",
|
2933
2871
|
"type": {
|
2934
2872
|
"text": "string | undefined"
|
2935
2873
|
},
|
2936
|
-
"description": "The
|
2937
|
-
"
|
2938
|
-
"reflects": true
|
2874
|
+
"description": "The description of the group.",
|
2875
|
+
"fieldName": "descriptionText"
|
2939
2876
|
},
|
2940
2877
|
{
|
2941
|
-
"
|
2878
|
+
"name": "data-aria-label",
|
2879
|
+
"type": {
|
2880
|
+
"text": "string | null"
|
2881
|
+
},
|
2882
|
+
"default": "null",
|
2883
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
2884
|
+
"fieldName": "dataAriaLabel",
|
2885
|
+
"inheritedFrom": {
|
2886
|
+
"name": "DataAriaLabelMixin",
|
2887
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
2888
|
+
}
|
2889
|
+
}
|
2890
|
+
],
|
2891
|
+
"mixins": [
|
2892
|
+
{
|
2893
|
+
"name": "DataAriaLabelMixin",
|
2894
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
2895
|
+
}
|
2896
|
+
],
|
2897
|
+
"superclass": {
|
2898
|
+
"name": "Component",
|
2899
|
+
"module": "/src/models"
|
2900
|
+
},
|
2901
|
+
"tagName": "mdc-formfieldgroup",
|
2902
|
+
"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 */",
|
2903
|
+
"customElement": true
|
2904
|
+
}
|
2905
|
+
],
|
2906
|
+
"exports": [
|
2907
|
+
{
|
2908
|
+
"kind": "js",
|
2909
|
+
"name": "default",
|
2910
|
+
"declaration": {
|
2911
|
+
"name": "FormfieldGroup",
|
2912
|
+
"module": "components/formfieldgroup/formfieldgroup.component.js"
|
2913
|
+
}
|
2914
|
+
}
|
2915
|
+
]
|
2916
|
+
},
|
2917
|
+
{
|
2918
|
+
"kind": "javascript-module",
|
2919
|
+
"path": "components/formfieldwrapper/formfieldwrapper.component.js",
|
2920
|
+
"declarations": [
|
2921
|
+
{
|
2922
|
+
"kind": "class",
|
2923
|
+
"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.",
|
2924
|
+
"name": "FormfieldWrapper",
|
2925
|
+
"slots": [
|
2926
|
+
{
|
2927
|
+
"description": "slot to add the label info icon",
|
2928
|
+
"name": "label-info"
|
2929
|
+
}
|
2930
|
+
],
|
2931
|
+
"members": [
|
2932
|
+
{
|
2933
|
+
"kind": "field",
|
2934
|
+
"name": "label",
|
2935
|
+
"type": {
|
2936
|
+
"text": "string | undefined"
|
2937
|
+
},
|
2938
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
2939
|
+
"attribute": "label",
|
2940
|
+
"reflects": true
|
2941
|
+
},
|
2942
|
+
{
|
2943
|
+
"kind": "field",
|
2944
|
+
"name": "requiredLabel",
|
2945
|
+
"type": {
|
2946
|
+
"text": "string | undefined"
|
2947
|
+
},
|
2948
|
+
"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.",
|
2949
|
+
"attribute": "required-label",
|
2950
|
+
"reflects": true
|
2951
|
+
},
|
2952
|
+
{
|
2953
|
+
"kind": "field",
|
2954
|
+
"name": "id",
|
2955
|
+
"default": "`mdc-input-${uuidv4()}`",
|
2956
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
2957
|
+
"attribute": "id"
|
2958
|
+
},
|
2959
|
+
{
|
2960
|
+
"kind": "field",
|
2961
|
+
"name": "helpTextType",
|
2962
|
+
"type": {
|
2963
|
+
"text": "ValidationType"
|
2964
|
+
},
|
2965
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
2966
|
+
"attribute": "help-text-type",
|
2967
|
+
"reflects": true
|
2968
|
+
},
|
2969
|
+
{
|
2970
|
+
"kind": "field",
|
2971
|
+
"name": "helpText",
|
2972
|
+
"type": {
|
2973
|
+
"text": "string | undefined"
|
2974
|
+
},
|
2975
|
+
"description": "The help text that is displayed below the input field.",
|
2976
|
+
"attribute": "help-text",
|
2977
|
+
"reflects": true
|
2978
|
+
},
|
2979
|
+
{
|
2980
|
+
"kind": "method",
|
2942
2981
|
"name": "renderLabelElement",
|
2943
2982
|
"privacy": "protected",
|
2944
2983
|
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
@@ -4547,77 +4586,6 @@
|
|
4547
4586
|
}
|
4548
4587
|
]
|
4549
4588
|
},
|
4550
|
-
{
|
4551
|
-
"kind": "javascript-module",
|
4552
|
-
"path": "components/marker/marker.component.js",
|
4553
|
-
"declarations": [
|
4554
|
-
{
|
4555
|
-
"kind": "class",
|
4556
|
-
"description": "`mdc-marker`, which is a vertical line and\nused to draw attention to specific parts of\nthe content or to signify important information.\n\n**Marker Variants**:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
4557
|
-
"name": "Marker",
|
4558
|
-
"cssProperties": [
|
4559
|
-
{
|
4560
|
-
"description": "Allows customization of the default background color in solid variant.",
|
4561
|
-
"name": "--mdc-marker-solid-background-color"
|
4562
|
-
},
|
4563
|
-
{
|
4564
|
-
"description": "Allows customization of the default stripes in striped variant.",
|
4565
|
-
"name": "--mdc-marker-striped-color"
|
4566
|
-
},
|
4567
|
-
{
|
4568
|
-
"description": "Allows customization of the default background color in striped variant.",
|
4569
|
-
"name": "--mdc-marker-striped-background-color"
|
4570
|
-
},
|
4571
|
-
{
|
4572
|
-
"description": "Allows customization of the default width.",
|
4573
|
-
"name": "--mdc-marker-width"
|
4574
|
-
}
|
4575
|
-
],
|
4576
|
-
"members": [
|
4577
|
-
{
|
4578
|
-
"kind": "field",
|
4579
|
-
"name": "variant",
|
4580
|
-
"type": {
|
4581
|
-
"text": "MarkerVariants"
|
4582
|
-
},
|
4583
|
-
"privacy": "public",
|
4584
|
-
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
4585
|
-
"default": "solid",
|
4586
|
-
"attribute": "variant",
|
4587
|
-
"reflects": true
|
4588
|
-
}
|
4589
|
-
],
|
4590
|
-
"attributes": [
|
4591
|
-
{
|
4592
|
-
"name": "variant",
|
4593
|
-
"type": {
|
4594
|
-
"text": "MarkerVariants"
|
4595
|
-
},
|
4596
|
-
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
4597
|
-
"default": "solid",
|
4598
|
-
"fieldName": "variant"
|
4599
|
-
}
|
4600
|
-
],
|
4601
|
-
"superclass": {
|
4602
|
-
"name": "Component",
|
4603
|
-
"module": "/src/models"
|
4604
|
-
},
|
4605
|
-
"tagName": "mdc-marker",
|
4606
|
-
"jsDoc": "/**\n * `mdc-marker`, which is a vertical line and\n * used to draw attention to specific parts of\n * the content or to signify important information.\n *\n * **Marker Variants**:\n * - **solid**: Solid marker.\n * - **striped**: Striped marker.\n *\n * @tagname mdc-marker\n *\n * @cssproperty --mdc-marker-solid-background-color - Allows customization of the default background color\n * in solid variant.\n * @cssproperty --mdc-marker-striped-color - Allows customization of the default stripes in striped variant.\n * @cssproperty --mdc-marker-striped-background-color - Allows customization of the default background color\n * in striped variant.\n * @cssproperty --mdc-marker-width - Allows customization of the default width.\n */",
|
4607
|
-
"customElement": true
|
4608
|
-
}
|
4609
|
-
],
|
4610
|
-
"exports": [
|
4611
|
-
{
|
4612
|
-
"kind": "js",
|
4613
|
-
"name": "default",
|
4614
|
-
"declaration": {
|
4615
|
-
"name": "Marker",
|
4616
|
-
"module": "components/marker/marker.component.js"
|
4617
|
-
}
|
4618
|
-
}
|
4619
|
-
]
|
4620
|
-
},
|
4621
4589
|
{
|
4622
4590
|
"kind": "javascript-module",
|
4623
4591
|
"path": "components/modalcontainer/modalcontainer.component.js",
|
@@ -4909,587 +4877,62 @@
|
|
4909
4877
|
},
|
4910
4878
|
{
|
4911
4879
|
"kind": "javascript-module",
|
4912
|
-
"path": "components/
|
4880
|
+
"path": "components/marker/marker.component.js",
|
4913
4881
|
"declarations": [
|
4914
4882
|
{
|
4915
4883
|
"kind": "class",
|
4916
|
-
"description": "
|
4917
|
-
"name": "
|
4884
|
+
"description": "`mdc-marker`, which is a vertical line and\nused to draw attention to specific parts of\nthe content or to signify important information.\n\n**Marker Variants**:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
4885
|
+
"name": "Marker",
|
4918
4886
|
"cssProperties": [
|
4919
4887
|
{
|
4920
|
-
"description": "
|
4921
|
-
"name": "--mdc-
|
4922
|
-
},
|
4923
|
-
{
|
4924
|
-
"description": "color of the label when disabled",
|
4925
|
-
"name": "--mdc-radio-text-disabled-color"
|
4926
|
-
},
|
4927
|
-
{
|
4928
|
-
"description": "color of the radio button border when disabled",
|
4929
|
-
"name": "--mdc-radio-disabled-border-color"
|
4930
|
-
},
|
4931
|
-
{
|
4932
|
-
"description": "color of the radio button border when normal",
|
4933
|
-
"name": "--mdc-radio-normal-border-color"
|
4934
|
-
},
|
4935
|
-
{
|
4936
|
-
"description": "background color of the inner circle when normal",
|
4937
|
-
"name": "--mdc-radio-inner-circle-normal-background"
|
4938
|
-
},
|
4939
|
-
{
|
4940
|
-
"description": "background color of the inner circle when disabled",
|
4941
|
-
"name": "--mdc-radio-inner-circle-disabled-background"
|
4942
|
-
},
|
4943
|
-
{
|
4944
|
-
"description": "color of the radio button when inactive",
|
4945
|
-
"name": "--mdc-radio-control-inactive-color"
|
4946
|
-
},
|
4947
|
-
{
|
4948
|
-
"description": "color of the radio button when inactive and hovered",
|
4949
|
-
"name": "--mdc-radio-control-inactive-hover"
|
4950
|
-
},
|
4951
|
-
{
|
4952
|
-
"description": "color of the radio button when inactive and pressed",
|
4953
|
-
"name": "--mdc-radio-control-inactive-pressed-color"
|
4954
|
-
},
|
4955
|
-
{
|
4956
|
-
"description": "background color of the radio button when inactive and disabled",
|
4957
|
-
"name": "--mdc-radio-control-inactive-disabled-background"
|
4958
|
-
},
|
4959
|
-
{
|
4960
|
-
"description": "color of the radio button when active",
|
4961
|
-
"name": "--mdc-radio-control-active-color"
|
4888
|
+
"description": "Allows customization of the default background color in solid variant.",
|
4889
|
+
"name": "--mdc-marker-solid-background-color"
|
4962
4890
|
},
|
4963
4891
|
{
|
4964
|
-
"description": "
|
4965
|
-
"name": "--mdc-
|
4892
|
+
"description": "Allows customization of the default stripes in striped variant.",
|
4893
|
+
"name": "--mdc-marker-striped-color"
|
4966
4894
|
},
|
4967
4895
|
{
|
4968
|
-
"description": "
|
4969
|
-
"name": "--mdc-
|
4896
|
+
"description": "Allows customization of the default background color in striped variant.",
|
4897
|
+
"name": "--mdc-marker-striped-background-color"
|
4970
4898
|
},
|
4971
4899
|
{
|
4972
|
-
"description": "
|
4973
|
-
"name": "--mdc-
|
4900
|
+
"description": "Allows customization of the default width.",
|
4901
|
+
"name": "--mdc-marker-width"
|
4974
4902
|
}
|
4975
4903
|
],
|
4976
4904
|
"members": [
|
4977
4905
|
{
|
4978
4906
|
"kind": "field",
|
4979
|
-
"name": "
|
4907
|
+
"name": "variant",
|
4980
4908
|
"type": {
|
4981
|
-
"text": "
|
4909
|
+
"text": "MarkerVariants"
|
4982
4910
|
},
|
4983
|
-
"
|
4984
|
-
"description": "
|
4985
|
-
"
|
4911
|
+
"privacy": "public",
|
4912
|
+
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
4913
|
+
"default": "solid",
|
4914
|
+
"attribute": "variant",
|
4986
4915
|
"reflects": true
|
4987
|
-
}
|
4916
|
+
}
|
4917
|
+
],
|
4918
|
+
"attributes": [
|
4988
4919
|
{
|
4989
|
-
"
|
4990
|
-
"name": "readonly",
|
4920
|
+
"name": "variant",
|
4991
4921
|
"type": {
|
4992
|
-
"text": "
|
4922
|
+
"text": "MarkerVariants"
|
4993
4923
|
},
|
4994
|
-
"
|
4995
|
-
"
|
4996
|
-
"
|
4997
|
-
"reflects": true
|
4998
|
-
},
|
4999
|
-
{
|
5000
|
-
"kind": "method",
|
5001
|
-
"name": "setFormValue",
|
5002
|
-
"privacy": "private",
|
5003
|
-
"description": "Updates the form value to reflect the current state of the radio.\nIf checked, the value is set to the user-provided value.\nIf unchecked, the value is set to null."
|
5004
|
-
},
|
5005
|
-
{
|
5006
|
-
"kind": "method",
|
5007
|
-
"name": "getAllRadiosWithinSameGroup",
|
5008
|
-
"privacy": "private",
|
5009
|
-
"return": {
|
5010
|
-
"type": {
|
5011
|
-
"text": "Radio[]"
|
5012
|
-
}
|
5013
|
-
},
|
5014
|
-
"description": "Returns all radios within the same group (name)."
|
5015
|
-
},
|
5016
|
-
{
|
5017
|
-
"kind": "method",
|
5018
|
-
"name": "dispatchChangeEvent",
|
5019
|
-
"privacy": "private",
|
5020
|
-
"return": {
|
5021
|
-
"type": {
|
5022
|
-
"text": "void"
|
5023
|
-
}
|
5024
|
-
},
|
5025
|
-
"parameters": [
|
5026
|
-
{
|
5027
|
-
"name": "event",
|
5028
|
-
"type": {
|
5029
|
-
"text": "Event"
|
5030
|
-
}
|
5031
|
-
}
|
5032
|
-
],
|
5033
|
-
"description": "The 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed"
|
5034
|
-
},
|
5035
|
-
{
|
5036
|
-
"kind": "method",
|
5037
|
-
"name": "handleChange",
|
5038
|
-
"privacy": "private",
|
5039
|
-
"return": {
|
5040
|
-
"type": {
|
5041
|
-
"text": "void"
|
5042
|
-
}
|
5043
|
-
},
|
5044
|
-
"parameters": [
|
5045
|
-
{
|
5046
|
-
"name": "event",
|
5047
|
-
"type": {
|
5048
|
-
"text": "Event"
|
5049
|
-
}
|
5050
|
-
}
|
5051
|
-
],
|
5052
|
-
"description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
|
5053
|
-
},
|
5054
|
-
{
|
5055
|
-
"kind": "method",
|
5056
|
-
"name": "updateRadio",
|
5057
|
-
"privacy": "private",
|
5058
|
-
"parameters": [
|
5059
|
-
{
|
5060
|
-
"name": "enabledRadios",
|
5061
|
-
"type": {
|
5062
|
-
"text": "Radio[]"
|
5063
|
-
},
|
5064
|
-
"description": "An array of enabled radio buttons within the same group."
|
5065
|
-
},
|
5066
|
-
{
|
5067
|
-
"name": "index",
|
5068
|
-
"type": {
|
5069
|
-
"text": "number"
|
5070
|
-
},
|
5071
|
-
"description": "The index of the radio button to be updated within the enabled radios array."
|
5072
|
-
},
|
5073
|
-
{
|
5074
|
-
"name": "event",
|
5075
|
-
"type": {
|
5076
|
-
"text": "Event"
|
5077
|
-
},
|
5078
|
-
"description": "The event that triggered the update."
|
5079
|
-
}
|
5080
|
-
],
|
5081
|
-
"description": "Updates the state of the radio button at the specified index within the enabled radios.\nFocuses the radio button and triggers the change event if the radio button is not read-only."
|
5082
|
-
},
|
5083
|
-
{
|
5084
|
-
"kind": "method",
|
5085
|
-
"name": "handleKeyDown",
|
5086
|
-
"privacy": "private",
|
5087
|
-
"return": {
|
5088
|
-
"type": {
|
5089
|
-
"text": "void"
|
5090
|
-
}
|
5091
|
-
},
|
5092
|
-
"parameters": [
|
5093
|
-
{
|
5094
|
-
"name": "event",
|
5095
|
-
"type": {
|
5096
|
-
"text": "KeyboardEvent"
|
5097
|
-
}
|
5098
|
-
}
|
5099
|
-
],
|
5100
|
-
"description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
|
5101
|
-
},
|
5102
|
-
{
|
5103
|
-
"kind": "method",
|
5104
|
-
"name": "updateTabIndex",
|
5105
|
-
"privacy": "private",
|
5106
|
-
"return": {
|
5107
|
-
"type": {
|
5108
|
-
"text": "void"
|
5109
|
-
}
|
5110
|
-
},
|
5111
|
-
"description": "Update tab index for all radios in the same group (name)\nIf any radio group is checked, it will have a tab index of 0\nIf no radio group is checked, the first enabled radio will have a tab index of 0"
|
5112
|
-
},
|
5113
|
-
{
|
5114
|
-
"kind": "field",
|
5115
|
-
"name": "name",
|
5116
|
-
"type": {
|
5117
|
-
"text": "string"
|
5118
|
-
},
|
5119
|
-
"default": "''",
|
5120
|
-
"description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
|
5121
|
-
"attribute": "name",
|
5122
|
-
"reflects": true,
|
5123
|
-
"inheritedFrom": {
|
5124
|
-
"name": "NameMixin",
|
5125
|
-
"module": "utils/mixins/NameMixin.js"
|
5126
|
-
}
|
5127
|
-
},
|
5128
|
-
{
|
5129
|
-
"kind": "field",
|
5130
|
-
"name": "value",
|
5131
|
-
"type": {
|
5132
|
-
"text": "string"
|
5133
|
-
},
|
5134
|
-
"default": "''",
|
5135
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
5136
|
-
"attribute": "value",
|
5137
|
-
"reflects": true,
|
5138
|
-
"inheritedFrom": {
|
5139
|
-
"name": "ValueMixin",
|
5140
|
-
"module": "utils/mixins/ValueMixin.js"
|
5141
|
-
}
|
5142
|
-
},
|
5143
|
-
{
|
5144
|
-
"kind": "field",
|
5145
|
-
"name": "dataAriaLabel",
|
5146
|
-
"type": {
|
5147
|
-
"text": "string | null"
|
5148
|
-
},
|
5149
|
-
"default": "null",
|
5150
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
5151
|
-
"attribute": "data-aria-label",
|
5152
|
-
"reflects": true,
|
5153
|
-
"inheritedFrom": {
|
5154
|
-
"name": "DataAriaLabelMixin",
|
5155
|
-
"module": "utils/mixins/DataAriaLabelMixin.js"
|
5156
|
-
}
|
5157
|
-
},
|
5158
|
-
{
|
5159
|
-
"kind": "field",
|
5160
|
-
"name": "disabled",
|
5161
|
-
"type": {
|
5162
|
-
"text": "boolean"
|
5163
|
-
},
|
5164
|
-
"default": "false",
|
5165
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
5166
|
-
"attribute": "disabled",
|
5167
|
-
"reflects": true,
|
5168
|
-
"inheritedFrom": {
|
5169
|
-
"name": "FormfieldWrapper",
|
5170
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5171
|
-
}
|
5172
|
-
},
|
5173
|
-
{
|
5174
|
-
"kind": "field",
|
5175
|
-
"name": "label",
|
5176
|
-
"type": {
|
5177
|
-
"text": "string | undefined"
|
5178
|
-
},
|
5179
|
-
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
5180
|
-
"attribute": "label",
|
5181
|
-
"reflects": true,
|
5182
|
-
"inheritedFrom": {
|
5183
|
-
"name": "FormfieldWrapper",
|
5184
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5185
|
-
}
|
5186
|
-
},
|
5187
|
-
{
|
5188
|
-
"kind": "field",
|
5189
|
-
"name": "requiredLabel",
|
5190
|
-
"type": {
|
5191
|
-
"text": "string | undefined"
|
5192
|
-
},
|
5193
|
-
"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.",
|
5194
|
-
"attribute": "required-label",
|
5195
|
-
"reflects": true,
|
5196
|
-
"inheritedFrom": {
|
5197
|
-
"name": "FormfieldWrapper",
|
5198
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5199
|
-
}
|
5200
|
-
},
|
5201
|
-
{
|
5202
|
-
"kind": "field",
|
5203
|
-
"name": "id",
|
5204
|
-
"default": "`mdc-input-${uuidv4()}`",
|
5205
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
5206
|
-
"attribute": "id",
|
5207
|
-
"inheritedFrom": {
|
5208
|
-
"name": "FormfieldWrapper",
|
5209
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5210
|
-
}
|
5211
|
-
},
|
5212
|
-
{
|
5213
|
-
"kind": "field",
|
5214
|
-
"name": "helpTextType",
|
5215
|
-
"type": {
|
5216
|
-
"text": "ValidationType"
|
5217
|
-
},
|
5218
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
5219
|
-
"attribute": "help-text-type",
|
5220
|
-
"reflects": true,
|
5221
|
-
"inheritedFrom": {
|
5222
|
-
"name": "FormfieldWrapper",
|
5223
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5224
|
-
}
|
5225
|
-
},
|
5226
|
-
{
|
5227
|
-
"kind": "field",
|
5228
|
-
"name": "helpText",
|
5229
|
-
"type": {
|
5230
|
-
"text": "string | undefined"
|
5231
|
-
},
|
5232
|
-
"description": "The help text that is displayed below the input field.",
|
5233
|
-
"attribute": "help-text",
|
5234
|
-
"reflects": true,
|
5235
|
-
"inheritedFrom": {
|
5236
|
-
"name": "FormfieldWrapper",
|
5237
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5238
|
-
}
|
5239
|
-
},
|
5240
|
-
{
|
5241
|
-
"kind": "method",
|
5242
|
-
"name": "renderLabelElement",
|
5243
|
-
"privacy": "protected",
|
5244
|
-
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
5245
|
-
"return": {
|
5246
|
-
"type": {
|
5247
|
-
"text": ""
|
5248
|
-
}
|
5249
|
-
},
|
5250
|
-
"inheritedFrom": {
|
5251
|
-
"name": "FormfieldWrapper",
|
5252
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5253
|
-
}
|
5254
|
-
},
|
5255
|
-
{
|
5256
|
-
"kind": "method",
|
5257
|
-
"name": "renderRequiredLabel",
|
5258
|
-
"privacy": "protected",
|
5259
|
-
"inheritedFrom": {
|
5260
|
-
"name": "FormfieldWrapper",
|
5261
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5262
|
-
}
|
5263
|
-
},
|
5264
|
-
{
|
5265
|
-
"kind": "method",
|
5266
|
-
"name": "renderHelpTextIcon",
|
5267
|
-
"privacy": "protected",
|
5268
|
-
"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.",
|
5269
|
-
"return": {
|
5270
|
-
"type": {
|
5271
|
-
"text": ""
|
5272
|
-
}
|
5273
|
-
},
|
5274
|
-
"inheritedFrom": {
|
5275
|
-
"name": "FormfieldWrapper",
|
5276
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5277
|
-
}
|
5278
|
-
},
|
5279
|
-
{
|
5280
|
-
"kind": "method",
|
5281
|
-
"name": "renderHelpText",
|
5282
|
-
"privacy": "protected",
|
5283
|
-
"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.",
|
5284
|
-
"return": {
|
5285
|
-
"type": {
|
5286
|
-
"text": ""
|
5287
|
-
}
|
5288
|
-
},
|
5289
|
-
"inheritedFrom": {
|
5290
|
-
"name": "FormfieldWrapper",
|
5291
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5292
|
-
}
|
5293
|
-
},
|
5294
|
-
{
|
5295
|
-
"kind": "method",
|
5296
|
-
"name": "renderLabel",
|
5297
|
-
"privacy": "protected",
|
5298
|
-
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
5299
|
-
"return": {
|
5300
|
-
"type": {
|
5301
|
-
"text": ""
|
5302
|
-
}
|
5303
|
-
},
|
5304
|
-
"inheritedFrom": {
|
5305
|
-
"name": "FormfieldWrapper",
|
5306
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5307
|
-
}
|
5308
|
-
},
|
5309
|
-
{
|
5310
|
-
"kind": "method",
|
5311
|
-
"name": "renderHelperText",
|
5312
|
-
"privacy": "protected",
|
5313
|
-
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
5314
|
-
"return": {
|
5315
|
-
"type": {
|
5316
|
-
"text": ""
|
5317
|
-
}
|
5318
|
-
},
|
5319
|
-
"inheritedFrom": {
|
5320
|
-
"name": "FormfieldWrapper",
|
5321
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5322
|
-
}
|
5323
|
-
}
|
5324
|
-
],
|
5325
|
-
"events": [
|
5326
|
-
{
|
5327
|
-
"type": {
|
5328
|
-
"text": "EventConstructor"
|
5329
|
-
}
|
5330
|
-
}
|
5331
|
-
],
|
5332
|
-
"attributes": [
|
5333
|
-
{
|
5334
|
-
"name": "checked",
|
5335
|
-
"type": {
|
5336
|
-
"text": "boolean"
|
5337
|
-
},
|
5338
|
-
"default": "false",
|
5339
|
-
"description": "Determines whether the radio is selected or unselected.",
|
5340
|
-
"fieldName": "checked"
|
5341
|
-
},
|
5342
|
-
{
|
5343
|
-
"name": "readonly",
|
5344
|
-
"type": {
|
5345
|
-
"text": "boolean"
|
5346
|
-
},
|
5347
|
-
"default": "false",
|
5348
|
-
"description": "Determines whether the radio is read-only.",
|
5349
|
-
"fieldName": "readonly"
|
5350
|
-
},
|
5351
|
-
{
|
5352
|
-
"name": "name",
|
5353
|
-
"type": {
|
5354
|
-
"text": "string"
|
5355
|
-
},
|
5356
|
-
"default": "''",
|
5357
|
-
"description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
|
5358
|
-
"fieldName": "name",
|
5359
|
-
"inheritedFrom": {
|
5360
|
-
"name": "NameMixin",
|
5361
|
-
"module": "src/utils/mixins/NameMixin.ts"
|
5362
|
-
}
|
5363
|
-
},
|
5364
|
-
{
|
5365
|
-
"name": "value",
|
5366
|
-
"type": {
|
5367
|
-
"text": "string"
|
5368
|
-
},
|
5369
|
-
"default": "''",
|
5370
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
5371
|
-
"fieldName": "value",
|
5372
|
-
"inheritedFrom": {
|
5373
|
-
"name": "ValueMixin",
|
5374
|
-
"module": "src/utils/mixins/ValueMixin.ts"
|
5375
|
-
}
|
5376
|
-
},
|
5377
|
-
{
|
5378
|
-
"name": "data-aria-label",
|
5379
|
-
"type": {
|
5380
|
-
"text": "string | null"
|
5381
|
-
},
|
5382
|
-
"default": "null",
|
5383
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
5384
|
-
"fieldName": "dataAriaLabel",
|
5385
|
-
"inheritedFrom": {
|
5386
|
-
"name": "DataAriaLabelMixin",
|
5387
|
-
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
5388
|
-
}
|
5389
|
-
},
|
5390
|
-
{
|
5391
|
-
"name": "disabled",
|
5392
|
-
"type": {
|
5393
|
-
"text": "boolean"
|
5394
|
-
},
|
5395
|
-
"default": "false",
|
5396
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
5397
|
-
"fieldName": "disabled",
|
5398
|
-
"inheritedFrom": {
|
5399
|
-
"name": "FormfieldWrapper",
|
5400
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
5401
|
-
}
|
5402
|
-
},
|
5403
|
-
{
|
5404
|
-
"name": "label",
|
5405
|
-
"type": {
|
5406
|
-
"text": "string | undefined"
|
5407
|
-
},
|
5408
|
-
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
5409
|
-
"fieldName": "label",
|
5410
|
-
"inheritedFrom": {
|
5411
|
-
"name": "FormfieldWrapper",
|
5412
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
5413
|
-
}
|
5414
|
-
},
|
5415
|
-
{
|
5416
|
-
"name": "required-label",
|
5417
|
-
"type": {
|
5418
|
-
"text": "string | undefined"
|
5419
|
-
},
|
5420
|
-
"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.",
|
5421
|
-
"fieldName": "requiredLabel",
|
5422
|
-
"inheritedFrom": {
|
5423
|
-
"name": "FormfieldWrapper",
|
5424
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
5425
|
-
}
|
5426
|
-
},
|
5427
|
-
{
|
5428
|
-
"name": "id",
|
5429
|
-
"default": "`mdc-input-${uuidv4()}`",
|
5430
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
5431
|
-
"fieldName": "id",
|
5432
|
-
"inheritedFrom": {
|
5433
|
-
"name": "FormfieldWrapper",
|
5434
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
5435
|
-
}
|
5436
|
-
},
|
5437
|
-
{
|
5438
|
-
"name": "help-text-type",
|
5439
|
-
"type": {
|
5440
|
-
"text": "ValidationType"
|
5441
|
-
},
|
5442
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
5443
|
-
"fieldName": "helpTextType",
|
5444
|
-
"inheritedFrom": {
|
5445
|
-
"name": "FormfieldWrapper",
|
5446
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
5447
|
-
}
|
5448
|
-
},
|
5449
|
-
{
|
5450
|
-
"name": "help-text",
|
5451
|
-
"type": {
|
5452
|
-
"text": "string | undefined"
|
5453
|
-
},
|
5454
|
-
"description": "The help text that is displayed below the input field.",
|
5455
|
-
"fieldName": "helpText",
|
5456
|
-
"inheritedFrom": {
|
5457
|
-
"name": "FormfieldWrapper",
|
5458
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
5459
|
-
}
|
5460
|
-
}
|
5461
|
-
],
|
5462
|
-
"mixins": [
|
5463
|
-
{
|
5464
|
-
"name": "NameMixin",
|
5465
|
-
"module": "/src/utils/mixins/NameMixin"
|
5466
|
-
},
|
5467
|
-
{
|
5468
|
-
"name": "ValueMixin",
|
5469
|
-
"module": "/src/utils/mixins/ValueMixin"
|
5470
|
-
},
|
5471
|
-
{
|
5472
|
-
"name": "DataAriaLabelMixin",
|
5473
|
-
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
4924
|
+
"description": "There are two variants of markers, each with a width of 0.25rem:\n- **solid**: Solid marker.\n- **striped**: Striped marker.",
|
4925
|
+
"default": "solid",
|
4926
|
+
"fieldName": "variant"
|
5474
4927
|
}
|
5475
4928
|
],
|
5476
4929
|
"superclass": {
|
5477
|
-
"name": "
|
5478
|
-
"module": "/src/
|
4930
|
+
"name": "Component",
|
4931
|
+
"module": "/src/models"
|
5479
4932
|
},
|
5480
|
-
"tagName": "mdc-
|
5481
|
-
"jsDoc": "/**\n *
|
5482
|
-
"customElement": true
|
5483
|
-
"slots": [
|
5484
|
-
{
|
5485
|
-
"description": "slot to add the label info icon",
|
5486
|
-
"name": "label-info",
|
5487
|
-
"inheritedFrom": {
|
5488
|
-
"name": "FormfieldWrapper",
|
5489
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
5490
|
-
}
|
5491
|
-
}
|
5492
|
-
]
|
4933
|
+
"tagName": "mdc-marker",
|
4934
|
+
"jsDoc": "/**\n * `mdc-marker`, which is a vertical line and\n * used to draw attention to specific parts of\n * the content or to signify important information.\n *\n * **Marker Variants**:\n * - **solid**: Solid marker.\n * - **striped**: Striped marker.\n *\n * @tagname mdc-marker\n *\n * @cssproperty --mdc-marker-solid-background-color - Allows customization of the default background color\n * in solid variant.\n * @cssproperty --mdc-marker-striped-color - Allows customization of the default stripes in striped variant.\n * @cssproperty --mdc-marker-striped-background-color - Allows customization of the default background color\n * in striped variant.\n * @cssproperty --mdc-marker-width - Allows customization of the default width.\n */",
|
4935
|
+
"customElement": true
|
5493
4936
|
}
|
5494
4937
|
],
|
5495
4938
|
"exports": [
|
@@ -5497,8 +4940,8 @@
|
|
5497
4940
|
"kind": "js",
|
5498
4941
|
"name": "default",
|
5499
4942
|
"declaration": {
|
5500
|
-
"name": "
|
5501
|
-
"module": "components/
|
4943
|
+
"name": "Marker",
|
4944
|
+
"module": "components/marker/marker.component.js"
|
5502
4945
|
}
|
5503
4946
|
}
|
5504
4947
|
]
|
@@ -5553,191 +4996,734 @@
|
|
5553
4996
|
"name": "--mdc-tab-glass-inactive-background-color-disabled"
|
5554
4997
|
},
|
5555
4998
|
{
|
5556
|
-
"description": "Background color for inactive glass tab in hover state.",
|
5557
|
-
"name": "--mdc-tab-glass-inactive-background-color-hover"
|
4999
|
+
"description": "Background color for inactive glass tab in hover state.",
|
5000
|
+
"name": "--mdc-tab-glass-inactive-background-color-hover"
|
5001
|
+
},
|
5002
|
+
{
|
5003
|
+
"description": "Background color for inactive glass tab in rest state.",
|
5004
|
+
"name": "--mdc-tab-glass-inactive-background-color-normal"
|
5005
|
+
},
|
5006
|
+
{
|
5007
|
+
"description": "Background color for inactive glass tab in pressed state.",
|
5008
|
+
"name": "--mdc-tab-glass-inactive-background-color-pressed"
|
5009
|
+
},
|
5010
|
+
{
|
5011
|
+
"description": "Text and icon color for inactive glass tab.",
|
5012
|
+
"name": "--mdc-tab-glass-inactive-color"
|
5013
|
+
},
|
5014
|
+
{
|
5015
|
+
"description": "Text and icon color for inactive glass tab in disabled state.",
|
5016
|
+
"name": "--mdc-tab-glass-inactive-color-disabled"
|
5017
|
+
},
|
5018
|
+
{
|
5019
|
+
"description": "Background color for active line tab in pressed state.",
|
5020
|
+
"name": "--mdc-tab-line-active-background-color-pressed"
|
5021
|
+
},
|
5022
|
+
{
|
5023
|
+
"description": "Background color for active line tab in disabled state.",
|
5024
|
+
"name": "--mdc-tab-line-active-background-color-disabled"
|
5025
|
+
},
|
5026
|
+
{
|
5027
|
+
"description": "Background color for active line tab in hover state.",
|
5028
|
+
"name": "--mdc-tab-line-active-background-color-hover"
|
5029
|
+
},
|
5030
|
+
{
|
5031
|
+
"description": "Background color for active line tab in rest state.",
|
5032
|
+
"name": "--mdc-tab-line-active-background-color-normal"
|
5033
|
+
},
|
5034
|
+
{
|
5035
|
+
"description": "Text and icon color for active line tab.",
|
5036
|
+
"name": "--mdc-tab-line-active-color"
|
5037
|
+
},
|
5038
|
+
{
|
5039
|
+
"description": "Text and icon color for active line tab in disabled state.",
|
5040
|
+
"name": "--mdc-tab-line-active-color-disabled"
|
5041
|
+
},
|
5042
|
+
{
|
5043
|
+
"description": "color for indicator in active line tab.",
|
5044
|
+
"name": "--mdc-tab-line-active-indicator-color"
|
5045
|
+
},
|
5046
|
+
{
|
5047
|
+
"description": "Color for indicator in active line tab in disabled state.",
|
5048
|
+
"name": "--mdc-tab-line-active-indicator-color-disabled"
|
5049
|
+
},
|
5050
|
+
{
|
5051
|
+
"description": "Height for indicator in active line tab.",
|
5052
|
+
"name": "--mdc-tab-line-active-indicator-height"
|
5053
|
+
},
|
5054
|
+
{
|
5055
|
+
"description": "Width for indicator in active line tab.",
|
5056
|
+
"name": "--mdc-tab-line-active-indicator-width"
|
5057
|
+
},
|
5058
|
+
{
|
5059
|
+
"description": "Bottom left border radius for line tab.",
|
5060
|
+
"name": "--mdc-tab-line-border-bottom-left-radius"
|
5061
|
+
},
|
5062
|
+
{
|
5063
|
+
"description": "Bottom right border radius for line tab.",
|
5064
|
+
"name": "--mdc-tab-line-border-bottom-right-radius"
|
5065
|
+
},
|
5066
|
+
{
|
5067
|
+
"description": "Top left border radius for line tab.",
|
5068
|
+
"name": "--mdc-tab-line-border-top-left-radius"
|
5069
|
+
},
|
5070
|
+
{
|
5071
|
+
"description": "Top right border radius for line tab.",
|
5072
|
+
"name": "--mdc-tab-line-border-top-right-radius"
|
5073
|
+
},
|
5074
|
+
{
|
5075
|
+
"description": "Background color for inactive line tab in pressed state.",
|
5076
|
+
"name": "--mdc-tab-line-inactive-background-color-pressed"
|
5077
|
+
},
|
5078
|
+
{
|
5079
|
+
"description": "Background color for inactive line tab in disabled state",
|
5080
|
+
"name": "--mdc-tab-line-inactive-background-color-disabled"
|
5081
|
+
},
|
5082
|
+
{
|
5083
|
+
"description": "Background color for inactive line tab in hover state.",
|
5084
|
+
"name": "--mdc-tab-line-inactive-background-color-hover"
|
5085
|
+
},
|
5086
|
+
{
|
5087
|
+
"description": "Background color for inactive line tab in rest state.",
|
5088
|
+
"name": "--mdc-tab-line-inactive-background-color-normal"
|
5089
|
+
},
|
5090
|
+
{
|
5091
|
+
"description": "Text and icon color for inactive line tab.",
|
5092
|
+
"name": "--mdc-tab-line-inactive-color"
|
5093
|
+
},
|
5094
|
+
{
|
5095
|
+
"description": "Text and icon color for inactive line tab in disabled state.",
|
5096
|
+
"name": "--mdc-tab-line-inactive-color-disabled"
|
5097
|
+
},
|
5098
|
+
{
|
5099
|
+
"description": "Padding left for the tab.",
|
5100
|
+
"name": "--mdc-tab-padding-left"
|
5101
|
+
},
|
5102
|
+
{
|
5103
|
+
"description": "Padding right for the tab.",
|
5104
|
+
"name": "--mdc-tab-padding-right"
|
5105
|
+
},
|
5106
|
+
{
|
5107
|
+
"description": "Background color for active pill tab in pressed state.",
|
5108
|
+
"name": "--mdc-tab-pill-active-background-color-pressed"
|
5109
|
+
},
|
5110
|
+
{
|
5111
|
+
"description": "Background color for active pill tab in disabled state.",
|
5112
|
+
"name": "--mdc-tab-pill-active-background-color-disabled"
|
5113
|
+
},
|
5114
|
+
{
|
5115
|
+
"description": "Background color for active pill tab in hover state.",
|
5116
|
+
"name": "--mdc-tab-pill-active-background-color-hover"
|
5117
|
+
},
|
5118
|
+
{
|
5119
|
+
"description": "Background color for active pill tab in rest state.",
|
5120
|
+
"name": "--mdc-tab-pill-active-background-color-normal"
|
5121
|
+
},
|
5122
|
+
{
|
5123
|
+
"description": "Text and icon color for active pill tab.",
|
5124
|
+
"name": "--mdc-tab-pill-active-color"
|
5125
|
+
},
|
5126
|
+
{
|
5127
|
+
"description": "Text and icon color for active pill tab in disabled state.",
|
5128
|
+
"name": "--mdc-tab-pill-active-color-disabled"
|
5129
|
+
},
|
5130
|
+
{
|
5131
|
+
"description": "Border radius for pill tab.",
|
5132
|
+
"name": "--mdc-tab-pill-border-radius"
|
5133
|
+
},
|
5134
|
+
{
|
5135
|
+
"description": "Background color for inactive pill tab in pressed state.",
|
5136
|
+
"name": "--mdc-tab-pill-inactive-background-color-pressed"
|
5137
|
+
},
|
5138
|
+
{
|
5139
|
+
"description": "Background color for inactive pill tab in disabled state.",
|
5140
|
+
"name": "--mdc-tab-pill-inactive-background-color-disabled"
|
5141
|
+
},
|
5142
|
+
{
|
5143
|
+
"description": "Background color for inactive pill tab in hover state.",
|
5144
|
+
"name": "--mdc-tab-pill-inactive-background-color-hover"
|
5145
|
+
},
|
5146
|
+
{
|
5147
|
+
"description": "Background color for inactive pill tab in rest state.",
|
5148
|
+
"name": "--mdc-tab-pill-inactive-background-color-normal"
|
5149
|
+
},
|
5150
|
+
{
|
5151
|
+
"description": "Text and icon color for inactive pill tab.",
|
5152
|
+
"name": "--mdc-tab-pill-inactive-color"
|
5153
|
+
},
|
5154
|
+
{
|
5155
|
+
"description": "Text and icon color for inactive pill tab in disabled state.",
|
5156
|
+
"name": "--mdc-tab-pill-inactive-color-disabled"
|
5157
|
+
}
|
5158
|
+
],
|
5159
|
+
"members": [
|
5160
|
+
{
|
5161
|
+
"kind": "field",
|
5162
|
+
"name": "text",
|
5163
|
+
"type": {
|
5164
|
+
"text": "string | undefined"
|
5165
|
+
},
|
5166
|
+
"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.",
|
5167
|
+
"attribute": "text",
|
5168
|
+
"reflects": true
|
5169
|
+
},
|
5170
|
+
{
|
5171
|
+
"kind": "field",
|
5172
|
+
"name": "variant",
|
5173
|
+
"type": {
|
5174
|
+
"text": "Variant"
|
5175
|
+
},
|
5176
|
+
"description": "Tab can have three variants:\n- `glass`\n- `line`\n- `pill`\n\nIt defines the background and foreground color of the tab.",
|
5177
|
+
"default": "pill",
|
5178
|
+
"attribute": "variant",
|
5179
|
+
"reflects": true
|
5180
|
+
},
|
5181
|
+
{
|
5182
|
+
"kind": "method",
|
5183
|
+
"name": "modifyIconName",
|
5184
|
+
"privacy": "private",
|
5185
|
+
"return": {
|
5186
|
+
"type": {
|
5187
|
+
"text": "void"
|
5188
|
+
}
|
5189
|
+
},
|
5190
|
+
"parameters": [
|
5191
|
+
{
|
5192
|
+
"name": "active",
|
5193
|
+
"type": {
|
5194
|
+
"text": "boolean"
|
5195
|
+
},
|
5196
|
+
"description": "The active state."
|
5197
|
+
}
|
5198
|
+
],
|
5199
|
+
"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."
|
5200
|
+
},
|
5201
|
+
{
|
5202
|
+
"kind": "method",
|
5203
|
+
"name": "setVariant",
|
5204
|
+
"privacy": "private",
|
5205
|
+
"return": {
|
5206
|
+
"type": {
|
5207
|
+
"text": "void"
|
5208
|
+
}
|
5209
|
+
},
|
5210
|
+
"parameters": [
|
5211
|
+
{
|
5212
|
+
"name": "variant",
|
5213
|
+
"type": {
|
5214
|
+
"text": "Variant"
|
5215
|
+
},
|
5216
|
+
"description": "The variant to set."
|
5217
|
+
}
|
5218
|
+
],
|
5219
|
+
"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."
|
5220
|
+
},
|
5221
|
+
{
|
5222
|
+
"kind": "method",
|
5223
|
+
"name": "setActive",
|
5224
|
+
"privacy": "protected",
|
5225
|
+
"parameters": [
|
5226
|
+
{
|
5227
|
+
"name": "element",
|
5228
|
+
"type": {
|
5229
|
+
"text": "HTMLElement"
|
5230
|
+
},
|
5231
|
+
"description": "The tab element."
|
5232
|
+
},
|
5233
|
+
{
|
5234
|
+
"name": "active",
|
5235
|
+
"type": {
|
5236
|
+
"text": "boolean"
|
5237
|
+
},
|
5238
|
+
"description": "The active state of the tab."
|
5239
|
+
}
|
5240
|
+
],
|
5241
|
+
"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.",
|
5242
|
+
"inheritedFrom": {
|
5243
|
+
"name": "Buttonsimple",
|
5244
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
5245
|
+
}
|
5558
5246
|
},
|
5559
5247
|
{
|
5560
|
-
"
|
5561
|
-
"name": "
|
5248
|
+
"kind": "method",
|
5249
|
+
"name": "executeAction",
|
5250
|
+
"privacy": "protected",
|
5251
|
+
"inheritedFrom": {
|
5252
|
+
"name": "Buttonsimple",
|
5253
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
5254
|
+
}
|
5562
5255
|
},
|
5563
5256
|
{
|
5564
|
-
"
|
5565
|
-
"name": "
|
5257
|
+
"kind": "field",
|
5258
|
+
"name": "role",
|
5259
|
+
"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.",
|
5260
|
+
"default": "'tab'",
|
5261
|
+
"attribute": "role",
|
5262
|
+
"reflects": true,
|
5263
|
+
"type": {
|
5264
|
+
"text": "string"
|
5265
|
+
},
|
5266
|
+
"inheritedFrom": {
|
5267
|
+
"name": "Buttonsimple",
|
5268
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
5269
|
+
}
|
5566
5270
|
},
|
5567
5271
|
{
|
5568
|
-
"
|
5569
|
-
"name": "
|
5272
|
+
"kind": "field",
|
5273
|
+
"name": "softDisabled",
|
5274
|
+
"type": {
|
5275
|
+
"text": "boolean"
|
5276
|
+
},
|
5277
|
+
"default": "undefined as unknown",
|
5278
|
+
"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.",
|
5279
|
+
"attribute": "soft-disabled",
|
5280
|
+
"inheritedFrom": {
|
5281
|
+
"name": "Buttonsimple",
|
5282
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
5283
|
+
}
|
5570
5284
|
},
|
5571
5285
|
{
|
5572
|
-
"
|
5573
|
-
"name": "
|
5286
|
+
"kind": "field",
|
5287
|
+
"name": "size",
|
5288
|
+
"type": {
|
5289
|
+
"text": "ButtonSize"
|
5290
|
+
},
|
5291
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
5292
|
+
"default": "undefined as unknown",
|
5293
|
+
"attribute": "size",
|
5294
|
+
"reflects": true,
|
5295
|
+
"inheritedFrom": {
|
5296
|
+
"name": "Buttonsimple",
|
5297
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
5298
|
+
}
|
5574
5299
|
},
|
5575
5300
|
{
|
5576
|
-
"
|
5577
|
-
"name": "
|
5301
|
+
"kind": "field",
|
5302
|
+
"name": "type",
|
5303
|
+
"type": {
|
5304
|
+
"text": "ButtonType"
|
5305
|
+
},
|
5306
|
+
"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.",
|
5307
|
+
"default": "undefined as unknown",
|
5308
|
+
"attribute": "type",
|
5309
|
+
"reflects": true,
|
5310
|
+
"inheritedFrom": {
|
5311
|
+
"name": "Buttonsimple",
|
5312
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
5313
|
+
}
|
5578
5314
|
},
|
5579
5315
|
{
|
5580
|
-
"
|
5581
|
-
"name": "
|
5316
|
+
"kind": "field",
|
5317
|
+
"name": "iconName",
|
5318
|
+
"type": {
|
5319
|
+
"text": "IconNames | undefined"
|
5320
|
+
},
|
5321
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
5322
|
+
"attribute": "icon-name",
|
5323
|
+
"inheritedFrom": {
|
5324
|
+
"name": "IconNameMixin",
|
5325
|
+
"module": "utils/mixins/IconNameMixin.js"
|
5326
|
+
}
|
5582
5327
|
},
|
5583
5328
|
{
|
5584
|
-
"
|
5585
|
-
"name": "
|
5329
|
+
"kind": "field",
|
5330
|
+
"name": "tabIndex",
|
5331
|
+
"type": {
|
5332
|
+
"text": "number"
|
5333
|
+
},
|
5334
|
+
"default": "0",
|
5335
|
+
"description": "This property specifies the tab order of the element.",
|
5336
|
+
"attribute": "tabIndex",
|
5337
|
+
"reflects": true,
|
5338
|
+
"inheritedFrom": {
|
5339
|
+
"name": "Buttonsimple",
|
5340
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
5341
|
+
}
|
5586
5342
|
},
|
5587
5343
|
{
|
5588
|
-
"
|
5589
|
-
"name": "
|
5344
|
+
"kind": "field",
|
5345
|
+
"name": "disabled",
|
5346
|
+
"type": {
|
5347
|
+
"text": "boolean"
|
5348
|
+
},
|
5349
|
+
"default": "false",
|
5350
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
5351
|
+
"attribute": "disabled",
|
5352
|
+
"reflects": true,
|
5353
|
+
"inheritedFrom": {
|
5354
|
+
"name": "Buttonsimple",
|
5355
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
5356
|
+
}
|
5590
5357
|
},
|
5591
5358
|
{
|
5592
|
-
"
|
5593
|
-
"name": "
|
5359
|
+
"kind": "field",
|
5360
|
+
"name": "active",
|
5361
|
+
"type": {
|
5362
|
+
"text": "boolean"
|
5363
|
+
},
|
5364
|
+
"default": "false",
|
5365
|
+
"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.",
|
5366
|
+
"attribute": "active",
|
5367
|
+
"reflects": true,
|
5368
|
+
"inheritedFrom": {
|
5369
|
+
"name": "Buttonsimple",
|
5370
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
5371
|
+
}
|
5594
5372
|
},
|
5595
5373
|
{
|
5596
|
-
"
|
5597
|
-
"name": "
|
5374
|
+
"kind": "method",
|
5375
|
+
"name": "setSoftDisabled",
|
5376
|
+
"privacy": "private",
|
5377
|
+
"parameters": [
|
5378
|
+
{
|
5379
|
+
"name": "element",
|
5380
|
+
"type": {
|
5381
|
+
"text": "HTMLElement"
|
5382
|
+
},
|
5383
|
+
"description": "The button element."
|
5384
|
+
},
|
5385
|
+
{
|
5386
|
+
"name": "softDisabled",
|
5387
|
+
"type": {
|
5388
|
+
"text": "boolean"
|
5389
|
+
},
|
5390
|
+
"description": "The soft-disabled state."
|
5391
|
+
}
|
5392
|
+
],
|
5393
|
+
"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.",
|
5394
|
+
"inheritedFrom": {
|
5395
|
+
"name": "Buttonsimple",
|
5396
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
5397
|
+
}
|
5598
5398
|
},
|
5599
5399
|
{
|
5600
|
-
"
|
5601
|
-
"name": "
|
5400
|
+
"kind": "method",
|
5401
|
+
"name": "setDisabled",
|
5402
|
+
"privacy": "private",
|
5403
|
+
"parameters": [
|
5404
|
+
{
|
5405
|
+
"name": "element",
|
5406
|
+
"type": {
|
5407
|
+
"text": "HTMLElement"
|
5408
|
+
},
|
5409
|
+
"description": "The button element."
|
5410
|
+
},
|
5411
|
+
{
|
5412
|
+
"name": "disabled",
|
5413
|
+
"type": {
|
5414
|
+
"text": "boolean"
|
5415
|
+
},
|
5416
|
+
"description": "The disabled state."
|
5417
|
+
}
|
5418
|
+
],
|
5419
|
+
"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.",
|
5420
|
+
"inheritedFrom": {
|
5421
|
+
"name": "Buttonsimple",
|
5422
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
5423
|
+
}
|
5602
5424
|
},
|
5603
5425
|
{
|
5604
|
-
"
|
5605
|
-
"name": "
|
5426
|
+
"kind": "method",
|
5427
|
+
"name": "triggerClickEvent",
|
5428
|
+
"privacy": "private",
|
5429
|
+
"inheritedFrom": {
|
5430
|
+
"name": "Buttonsimple",
|
5431
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
5432
|
+
}
|
5606
5433
|
},
|
5607
5434
|
{
|
5608
|
-
"
|
5609
|
-
"name": "
|
5435
|
+
"kind": "method",
|
5436
|
+
"name": "handleKeyDown",
|
5437
|
+
"privacy": "private",
|
5438
|
+
"parameters": [
|
5439
|
+
{
|
5440
|
+
"name": "event",
|
5441
|
+
"type": {
|
5442
|
+
"text": "KeyboardEvent"
|
5443
|
+
},
|
5444
|
+
"description": "The keyboard event."
|
5445
|
+
}
|
5446
|
+
],
|
5447
|
+
"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.",
|
5448
|
+
"inheritedFrom": {
|
5449
|
+
"name": "Buttonsimple",
|
5450
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
5451
|
+
}
|
5610
5452
|
},
|
5611
5453
|
{
|
5612
|
-
"
|
5613
|
-
"name": "
|
5614
|
-
|
5454
|
+
"kind": "method",
|
5455
|
+
"name": "handleKeyUp",
|
5456
|
+
"privacy": "private",
|
5457
|
+
"parameters": [
|
5458
|
+
{
|
5459
|
+
"name": "event",
|
5460
|
+
"type": {
|
5461
|
+
"text": "KeyboardEvent"
|
5462
|
+
},
|
5463
|
+
"description": "The keyboard event."
|
5464
|
+
}
|
5465
|
+
],
|
5466
|
+
"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.",
|
5467
|
+
"inheritedFrom": {
|
5468
|
+
"name": "Buttonsimple",
|
5469
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
5470
|
+
}
|
5471
|
+
}
|
5472
|
+
],
|
5473
|
+
"attributes": [
|
5615
5474
|
{
|
5616
|
-
"
|
5617
|
-
"
|
5475
|
+
"name": "text",
|
5476
|
+
"type": {
|
5477
|
+
"text": "string | undefined"
|
5478
|
+
},
|
5479
|
+
"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.",
|
5480
|
+
"fieldName": "text"
|
5618
5481
|
},
|
5619
5482
|
{
|
5620
|
-
"
|
5621
|
-
"
|
5483
|
+
"name": "variant",
|
5484
|
+
"type": {
|
5485
|
+
"text": "Variant"
|
5486
|
+
},
|
5487
|
+
"description": "Tab can have three variants:\n- `glass`\n- `line`\n- `pill`\n\nIt defines the background and foreground color of the tab.",
|
5488
|
+
"default": "pill",
|
5489
|
+
"fieldName": "variant"
|
5622
5490
|
},
|
5623
5491
|
{
|
5624
|
-
"
|
5625
|
-
"
|
5492
|
+
"name": "icon-name",
|
5493
|
+
"type": {
|
5494
|
+
"text": "IconNames | undefined"
|
5495
|
+
},
|
5496
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
5497
|
+
"fieldName": "iconName",
|
5498
|
+
"inheritedFrom": {
|
5499
|
+
"name": "IconNameMixin",
|
5500
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
5501
|
+
}
|
5626
5502
|
},
|
5627
5503
|
{
|
5628
|
-
"
|
5629
|
-
"
|
5504
|
+
"name": "tabIndex",
|
5505
|
+
"type": {
|
5506
|
+
"text": "number"
|
5507
|
+
},
|
5508
|
+
"default": "0",
|
5509
|
+
"description": "This property specifies the tab order of the element.",
|
5510
|
+
"fieldName": "tabIndex",
|
5511
|
+
"inheritedFrom": {
|
5512
|
+
"name": "Buttonsimple",
|
5513
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
5514
|
+
}
|
5630
5515
|
},
|
5631
5516
|
{
|
5632
|
-
"
|
5633
|
-
"
|
5517
|
+
"name": "disabled",
|
5518
|
+
"type": {
|
5519
|
+
"text": "boolean"
|
5520
|
+
},
|
5521
|
+
"default": "false",
|
5522
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
5523
|
+
"fieldName": "disabled",
|
5524
|
+
"inheritedFrom": {
|
5525
|
+
"name": "Buttonsimple",
|
5526
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
5527
|
+
}
|
5634
5528
|
},
|
5635
5529
|
{
|
5636
|
-
"
|
5637
|
-
"
|
5530
|
+
"name": "active",
|
5531
|
+
"type": {
|
5532
|
+
"text": "boolean"
|
5533
|
+
},
|
5534
|
+
"default": "false",
|
5535
|
+
"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.",
|
5536
|
+
"fieldName": "active",
|
5537
|
+
"inheritedFrom": {
|
5538
|
+
"name": "Buttonsimple",
|
5539
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
5540
|
+
}
|
5638
5541
|
},
|
5639
5542
|
{
|
5640
|
-
"
|
5641
|
-
"
|
5543
|
+
"name": "soft-disabled",
|
5544
|
+
"type": {
|
5545
|
+
"text": "boolean"
|
5546
|
+
},
|
5547
|
+
"default": "false",
|
5548
|
+
"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.",
|
5549
|
+
"fieldName": "softDisabled",
|
5550
|
+
"inheritedFrom": {
|
5551
|
+
"name": "Buttonsimple",
|
5552
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
5553
|
+
}
|
5642
5554
|
},
|
5643
5555
|
{
|
5644
|
-
"
|
5645
|
-
"
|
5556
|
+
"name": "size",
|
5557
|
+
"type": {
|
5558
|
+
"text": "ButtonSize"
|
5559
|
+
},
|
5560
|
+
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
5561
|
+
"default": "32",
|
5562
|
+
"fieldName": "size",
|
5563
|
+
"inheritedFrom": {
|
5564
|
+
"name": "Buttonsimple",
|
5565
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
5566
|
+
}
|
5646
5567
|
},
|
5647
5568
|
{
|
5648
|
-
"
|
5649
|
-
"
|
5569
|
+
"name": "role",
|
5570
|
+
"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.",
|
5571
|
+
"default": "button",
|
5572
|
+
"fieldName": "role",
|
5573
|
+
"inheritedFrom": {
|
5574
|
+
"name": "Buttonsimple",
|
5575
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
5576
|
+
}
|
5650
5577
|
},
|
5651
5578
|
{
|
5652
|
-
"
|
5653
|
-
"
|
5654
|
-
|
5579
|
+
"name": "type",
|
5580
|
+
"type": {
|
5581
|
+
"text": "ButtonType"
|
5582
|
+
},
|
5583
|
+
"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.",
|
5584
|
+
"default": "button",
|
5585
|
+
"fieldName": "type",
|
5586
|
+
"inheritedFrom": {
|
5587
|
+
"name": "Buttonsimple",
|
5588
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
5589
|
+
}
|
5590
|
+
}
|
5591
|
+
],
|
5592
|
+
"mixins": [
|
5655
5593
|
{
|
5656
|
-
"
|
5657
|
-
"
|
5658
|
-
}
|
5594
|
+
"name": "IconNameMixin",
|
5595
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
5596
|
+
}
|
5597
|
+
],
|
5598
|
+
"superclass": {
|
5599
|
+
"name": "Buttonsimple",
|
5600
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
5601
|
+
},
|
5602
|
+
"tagName": "mdc-tab",
|
5603
|
+
"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 */",
|
5604
|
+
"customElement": true
|
5605
|
+
}
|
5606
|
+
],
|
5607
|
+
"exports": [
|
5608
|
+
{
|
5609
|
+
"kind": "js",
|
5610
|
+
"name": "default",
|
5611
|
+
"declaration": {
|
5612
|
+
"name": "Tab",
|
5613
|
+
"module": "components/tab/tab.component.js"
|
5614
|
+
}
|
5615
|
+
}
|
5616
|
+
]
|
5617
|
+
},
|
5618
|
+
{
|
5619
|
+
"kind": "javascript-module",
|
5620
|
+
"path": "components/radio/radio.component.js",
|
5621
|
+
"declarations": [
|
5622
|
+
{
|
5623
|
+
"kind": "class",
|
5624
|
+
"description": "Radio allow users to select single options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selection in lists.\n\nA radio component contains an optional label, optional info icon and an optional helper text.",
|
5625
|
+
"name": "Radio",
|
5626
|
+
"cssProperties": [
|
5659
5627
|
{
|
5660
|
-
"description": "
|
5661
|
-
"name": "--mdc-
|
5628
|
+
"description": "size of the inner circle",
|
5629
|
+
"name": "--mdc-radio-inner-circle-size"
|
5662
5630
|
},
|
5663
5631
|
{
|
5664
|
-
"description": "
|
5665
|
-
"name": "--mdc-
|
5632
|
+
"description": "color of the label when disabled",
|
5633
|
+
"name": "--mdc-radio-text-disabled-color"
|
5666
5634
|
},
|
5667
5635
|
{
|
5668
|
-
"description": "
|
5669
|
-
"name": "--mdc-
|
5636
|
+
"description": "color of the radio button border when disabled",
|
5637
|
+
"name": "--mdc-radio-disabled-border-color"
|
5670
5638
|
},
|
5671
5639
|
{
|
5672
|
-
"description": "
|
5673
|
-
"name": "--mdc-
|
5640
|
+
"description": "color of the radio button border when normal",
|
5641
|
+
"name": "--mdc-radio-normal-border-color"
|
5674
5642
|
},
|
5675
5643
|
{
|
5676
|
-
"description": "
|
5677
|
-
"name": "--mdc-
|
5644
|
+
"description": "background color of the inner circle when normal",
|
5645
|
+
"name": "--mdc-radio-inner-circle-normal-background"
|
5678
5646
|
},
|
5679
5647
|
{
|
5680
|
-
"description": "
|
5681
|
-
"name": "--mdc-
|
5648
|
+
"description": "background color of the inner circle when disabled",
|
5649
|
+
"name": "--mdc-radio-inner-circle-disabled-background"
|
5682
5650
|
},
|
5683
5651
|
{
|
5684
|
-
"description": "
|
5685
|
-
"name": "--mdc-
|
5652
|
+
"description": "color of the radio button when inactive",
|
5653
|
+
"name": "--mdc-radio-control-inactive-color"
|
5686
5654
|
},
|
5687
5655
|
{
|
5688
|
-
"description": "
|
5689
|
-
"name": "--mdc-
|
5656
|
+
"description": "color of the radio button when inactive and hovered",
|
5657
|
+
"name": "--mdc-radio-control-inactive-hover"
|
5690
5658
|
},
|
5691
5659
|
{
|
5692
|
-
"description": "
|
5693
|
-
"name": "--mdc-
|
5660
|
+
"description": "color of the radio button when inactive and pressed",
|
5661
|
+
"name": "--mdc-radio-control-inactive-pressed-color"
|
5694
5662
|
},
|
5695
5663
|
{
|
5696
|
-
"description": "
|
5697
|
-
"name": "--mdc-
|
5664
|
+
"description": "background color of the radio button when inactive and disabled",
|
5665
|
+
"name": "--mdc-radio-control-inactive-disabled-background"
|
5698
5666
|
},
|
5699
5667
|
{
|
5700
|
-
"description": "
|
5701
|
-
"name": "--mdc-
|
5668
|
+
"description": "color of the radio button when active",
|
5669
|
+
"name": "--mdc-radio-control-active-color"
|
5702
5670
|
},
|
5703
5671
|
{
|
5704
|
-
"description": "
|
5705
|
-
"name": "--mdc-
|
5672
|
+
"description": "color of the radio button when active and hovered",
|
5673
|
+
"name": "--mdc-radio-control-active-hover-color"
|
5706
5674
|
},
|
5707
5675
|
{
|
5708
|
-
"description": "
|
5709
|
-
"name": "--mdc-
|
5676
|
+
"description": "color of the radio button when active and pressed",
|
5677
|
+
"name": "--mdc-radio-control-active-pressed-color"
|
5710
5678
|
},
|
5711
5679
|
{
|
5712
|
-
"description": "
|
5713
|
-
"name": "--mdc-
|
5680
|
+
"description": "background color of the radio button when active and disabled",
|
5681
|
+
"name": "--mdc-radio-control-active-disabled-background"
|
5714
5682
|
}
|
5715
5683
|
],
|
5716
5684
|
"members": [
|
5717
5685
|
{
|
5718
5686
|
"kind": "field",
|
5719
|
-
"name": "
|
5687
|
+
"name": "checked",
|
5720
5688
|
"type": {
|
5721
|
-
"text": "
|
5689
|
+
"text": "boolean"
|
5722
5690
|
},
|
5723
|
-
"
|
5724
|
-
"
|
5691
|
+
"default": "false",
|
5692
|
+
"description": "Determines whether the radio is selected or unselected.",
|
5693
|
+
"attribute": "checked",
|
5725
5694
|
"reflects": true
|
5726
5695
|
},
|
5727
5696
|
{
|
5728
5697
|
"kind": "field",
|
5729
|
-
"name": "
|
5698
|
+
"name": "readonly",
|
5730
5699
|
"type": {
|
5731
|
-
"text": "
|
5700
|
+
"text": "boolean"
|
5701
|
+
},
|
5702
|
+
"default": "false",
|
5703
|
+
"description": "Determines whether the radio is read-only.",
|
5704
|
+
"attribute": "readonly",
|
5705
|
+
"reflects": true
|
5706
|
+
},
|
5707
|
+
{
|
5708
|
+
"kind": "method",
|
5709
|
+
"name": "setFormValue",
|
5710
|
+
"privacy": "private",
|
5711
|
+
"description": "Updates the form value to reflect the current state of the radio.\nIf checked, the value is set to the user-provided value.\nIf unchecked, the value is set to null."
|
5712
|
+
},
|
5713
|
+
{
|
5714
|
+
"kind": "method",
|
5715
|
+
"name": "getAllRadiosWithinSameGroup",
|
5716
|
+
"privacy": "private",
|
5717
|
+
"return": {
|
5718
|
+
"type": {
|
5719
|
+
"text": "Radio[]"
|
5720
|
+
}
|
5732
5721
|
},
|
5733
|
-
"description": "
|
5734
|
-
"default": "pill",
|
5735
|
-
"attribute": "variant",
|
5736
|
-
"reflects": true
|
5722
|
+
"description": "Returns all radios within the same group (name)."
|
5737
5723
|
},
|
5738
5724
|
{
|
5739
5725
|
"kind": "method",
|
5740
|
-
"name": "
|
5726
|
+
"name": "dispatchChangeEvent",
|
5741
5727
|
"privacy": "private",
|
5742
5728
|
"return": {
|
5743
5729
|
"type": {
|
@@ -5746,18 +5732,17 @@
|
|
5746
5732
|
},
|
5747
5733
|
"parameters": [
|
5748
5734
|
{
|
5749
|
-
"name": "
|
5735
|
+
"name": "event",
|
5750
5736
|
"type": {
|
5751
|
-
"text": "
|
5752
|
-
}
|
5753
|
-
"description": "The active state."
|
5737
|
+
"text": "Event"
|
5738
|
+
}
|
5754
5739
|
}
|
5755
5740
|
],
|
5756
|
-
"description": "
|
5741
|
+
"description": "The 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed"
|
5757
5742
|
},
|
5758
5743
|
{
|
5759
5744
|
"kind": "method",
|
5760
|
-
"name": "
|
5745
|
+
"name": "handleChange",
|
5761
5746
|
"privacy": "private",
|
5762
5747
|
"return": {
|
5763
5748
|
"type": {
|
@@ -5766,308 +5751,348 @@
|
|
5766
5751
|
},
|
5767
5752
|
"parameters": [
|
5768
5753
|
{
|
5769
|
-
"name": "
|
5754
|
+
"name": "event",
|
5770
5755
|
"type": {
|
5771
|
-
"text": "
|
5772
|
-
}
|
5773
|
-
"description": "The variant to set."
|
5756
|
+
"text": "Event"
|
5757
|
+
}
|
5774
5758
|
}
|
5775
5759
|
],
|
5776
|
-
"description": "
|
5760
|
+
"description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
|
5777
5761
|
},
|
5778
5762
|
{
|
5779
5763
|
"kind": "method",
|
5780
|
-
"name": "
|
5781
|
-
"privacy": "
|
5764
|
+
"name": "updateRadio",
|
5765
|
+
"privacy": "private",
|
5782
5766
|
"parameters": [
|
5783
5767
|
{
|
5784
|
-
"name": "
|
5768
|
+
"name": "enabledRadios",
|
5785
5769
|
"type": {
|
5786
|
-
"text": "
|
5770
|
+
"text": "Radio[]"
|
5787
5771
|
},
|
5788
|
-
"description": "
|
5772
|
+
"description": "An array of enabled radio buttons within the same group."
|
5789
5773
|
},
|
5790
5774
|
{
|
5791
|
-
"name": "
|
5775
|
+
"name": "index",
|
5792
5776
|
"type": {
|
5793
|
-
"text": "
|
5777
|
+
"text": "number"
|
5794
5778
|
},
|
5795
|
-
"description": "The
|
5779
|
+
"description": "The index of the radio button to be updated within the enabled radios array."
|
5780
|
+
},
|
5781
|
+
{
|
5782
|
+
"name": "event",
|
5783
|
+
"type": {
|
5784
|
+
"text": "Event"
|
5785
|
+
},
|
5786
|
+
"description": "The event that triggered the update."
|
5796
5787
|
}
|
5797
5788
|
],
|
5798
|
-
"description": "
|
5799
|
-
"inheritedFrom": {
|
5800
|
-
"name": "Buttonsimple",
|
5801
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
5802
|
-
}
|
5789
|
+
"description": "Updates the state of the radio button at the specified index within the enabled radios.\nFocuses the radio button and triggers the change event if the radio button is not read-only."
|
5803
5790
|
},
|
5804
5791
|
{
|
5805
5792
|
"kind": "method",
|
5806
|
-
"name": "
|
5807
|
-
"privacy": "
|
5808
|
-
"
|
5809
|
-
"
|
5810
|
-
|
5811
|
-
|
5793
|
+
"name": "handleKeyDown",
|
5794
|
+
"privacy": "private",
|
5795
|
+
"return": {
|
5796
|
+
"type": {
|
5797
|
+
"text": "void"
|
5798
|
+
}
|
5799
|
+
},
|
5800
|
+
"parameters": [
|
5801
|
+
{
|
5802
|
+
"name": "event",
|
5803
|
+
"type": {
|
5804
|
+
"text": "KeyboardEvent"
|
5805
|
+
}
|
5806
|
+
}
|
5807
|
+
],
|
5808
|
+
"description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
|
5809
|
+
},
|
5810
|
+
{
|
5811
|
+
"kind": "method",
|
5812
|
+
"name": "updateTabIndex",
|
5813
|
+
"privacy": "private",
|
5814
|
+
"return": {
|
5815
|
+
"type": {
|
5816
|
+
"text": "void"
|
5817
|
+
}
|
5818
|
+
},
|
5819
|
+
"description": "Update tab index for all radios in the same group (name)\nIf any radio group is checked, it will have a tab index of 0\nIf no radio group is checked, the first enabled radio will have a tab index of 0"
|
5812
5820
|
},
|
5813
5821
|
{
|
5814
5822
|
"kind": "field",
|
5815
|
-
"name": "
|
5816
|
-
"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.",
|
5817
|
-
"default": "'tab'",
|
5818
|
-
"attribute": "role",
|
5819
|
-
"reflects": true,
|
5823
|
+
"name": "name",
|
5820
5824
|
"type": {
|
5821
5825
|
"text": "string"
|
5822
5826
|
},
|
5827
|
+
"default": "''",
|
5828
|
+
"description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
|
5829
|
+
"attribute": "name",
|
5830
|
+
"reflects": true,
|
5823
5831
|
"inheritedFrom": {
|
5824
|
-
"name": "
|
5825
|
-
"module": "
|
5832
|
+
"name": "NameMixin",
|
5833
|
+
"module": "utils/mixins/NameMixin.js"
|
5826
5834
|
}
|
5827
5835
|
},
|
5828
5836
|
{
|
5829
5837
|
"kind": "field",
|
5830
|
-
"name": "
|
5838
|
+
"name": "value",
|
5831
5839
|
"type": {
|
5832
|
-
"text": "
|
5840
|
+
"text": "string"
|
5833
5841
|
},
|
5834
|
-
"default": "
|
5835
|
-
"description": "Indicates
|
5836
|
-
"attribute": "
|
5842
|
+
"default": "''",
|
5843
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
5844
|
+
"attribute": "value",
|
5845
|
+
"reflects": true,
|
5837
5846
|
"inheritedFrom": {
|
5838
|
-
"name": "
|
5839
|
-
"module": "
|
5847
|
+
"name": "ValueMixin",
|
5848
|
+
"module": "utils/mixins/ValueMixin.js"
|
5840
5849
|
}
|
5841
5850
|
},
|
5842
5851
|
{
|
5843
5852
|
"kind": "field",
|
5844
|
-
"name": "
|
5853
|
+
"name": "dataAriaLabel",
|
5845
5854
|
"type": {
|
5846
|
-
"text": "
|
5855
|
+
"text": "string | null"
|
5847
5856
|
},
|
5848
|
-
"
|
5849
|
-
"
|
5850
|
-
"attribute": "
|
5857
|
+
"default": "null",
|
5858
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
5859
|
+
"attribute": "data-aria-label",
|
5851
5860
|
"reflects": true,
|
5852
5861
|
"inheritedFrom": {
|
5853
|
-
"name": "
|
5854
|
-
"module": "
|
5862
|
+
"name": "DataAriaLabelMixin",
|
5863
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
5855
5864
|
}
|
5856
5865
|
},
|
5857
5866
|
{
|
5858
5867
|
"kind": "field",
|
5859
|
-
"name": "
|
5868
|
+
"name": "disabled",
|
5860
5869
|
"type": {
|
5861
|
-
"text": "
|
5870
|
+
"text": "boolean"
|
5862
5871
|
},
|
5863
|
-
"
|
5864
|
-
"
|
5865
|
-
"attribute": "
|
5872
|
+
"default": "false",
|
5873
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
5874
|
+
"attribute": "disabled",
|
5866
5875
|
"reflects": true,
|
5867
5876
|
"inheritedFrom": {
|
5868
|
-
"name": "
|
5869
|
-
"module": "components/
|
5877
|
+
"name": "FormfieldWrapper",
|
5878
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5870
5879
|
}
|
5871
5880
|
},
|
5872
5881
|
{
|
5873
5882
|
"kind": "field",
|
5874
|
-
"name": "
|
5883
|
+
"name": "label",
|
5875
5884
|
"type": {
|
5876
|
-
"text": "
|
5885
|
+
"text": "string | undefined"
|
5877
5886
|
},
|
5878
|
-
"description": "
|
5879
|
-
"attribute": "
|
5887
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
5888
|
+
"attribute": "label",
|
5889
|
+
"reflects": true,
|
5880
5890
|
"inheritedFrom": {
|
5881
|
-
"name": "
|
5882
|
-
"module": "
|
5891
|
+
"name": "FormfieldWrapper",
|
5892
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5883
5893
|
}
|
5884
5894
|
},
|
5885
5895
|
{
|
5886
5896
|
"kind": "field",
|
5887
|
-
"name": "
|
5897
|
+
"name": "requiredLabel",
|
5888
5898
|
"type": {
|
5889
|
-
"text": "
|
5899
|
+
"text": "string | undefined"
|
5890
5900
|
},
|
5891
|
-
"
|
5892
|
-
"
|
5893
|
-
"attribute": "tabIndex",
|
5901
|
+
"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.",
|
5902
|
+
"attribute": "required-label",
|
5894
5903
|
"reflects": true,
|
5895
5904
|
"inheritedFrom": {
|
5896
|
-
"name": "
|
5897
|
-
"module": "components/
|
5905
|
+
"name": "FormfieldWrapper",
|
5906
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5898
5907
|
}
|
5899
5908
|
},
|
5900
5909
|
{
|
5901
5910
|
"kind": "field",
|
5902
|
-
"name": "
|
5911
|
+
"name": "id",
|
5912
|
+
"default": "`mdc-input-${uuidv4()}`",
|
5913
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
5914
|
+
"attribute": "id",
|
5915
|
+
"inheritedFrom": {
|
5916
|
+
"name": "FormfieldWrapper",
|
5917
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5918
|
+
}
|
5919
|
+
},
|
5920
|
+
{
|
5921
|
+
"kind": "field",
|
5922
|
+
"name": "helpTextType",
|
5903
5923
|
"type": {
|
5904
|
-
"text": "
|
5924
|
+
"text": "ValidationType"
|
5905
5925
|
},
|
5906
|
-
"
|
5907
|
-
"
|
5908
|
-
"attribute": "disabled",
|
5926
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
5927
|
+
"attribute": "help-text-type",
|
5909
5928
|
"reflects": true,
|
5910
5929
|
"inheritedFrom": {
|
5911
|
-
"name": "
|
5912
|
-
"module": "components/
|
5930
|
+
"name": "FormfieldWrapper",
|
5931
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5913
5932
|
}
|
5914
5933
|
},
|
5915
5934
|
{
|
5916
5935
|
"kind": "field",
|
5917
|
-
"name": "
|
5936
|
+
"name": "helpText",
|
5918
5937
|
"type": {
|
5919
|
-
"text": "
|
5938
|
+
"text": "string | undefined"
|
5920
5939
|
},
|
5921
|
-
"
|
5922
|
-
"
|
5923
|
-
"attribute": "active",
|
5940
|
+
"description": "The help text that is displayed below the input field.",
|
5941
|
+
"attribute": "help-text",
|
5924
5942
|
"reflects": true,
|
5925
5943
|
"inheritedFrom": {
|
5926
|
-
"name": "
|
5927
|
-
"module": "components/
|
5944
|
+
"name": "FormfieldWrapper",
|
5945
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5928
5946
|
}
|
5929
5947
|
},
|
5930
5948
|
{
|
5931
5949
|
"kind": "method",
|
5932
|
-
"name": "
|
5933
|
-
"privacy": "
|
5934
|
-
"
|
5935
|
-
|
5936
|
-
|
5937
|
-
"
|
5938
|
-
"text": "HTMLElement"
|
5939
|
-
},
|
5940
|
-
"description": "The button element."
|
5941
|
-
},
|
5942
|
-
{
|
5943
|
-
"name": "softDisabled",
|
5944
|
-
"type": {
|
5945
|
-
"text": "boolean"
|
5946
|
-
},
|
5947
|
-
"description": "The soft-disabled state."
|
5950
|
+
"name": "renderLabelElement",
|
5951
|
+
"privacy": "protected",
|
5952
|
+
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
5953
|
+
"return": {
|
5954
|
+
"type": {
|
5955
|
+
"text": ""
|
5948
5956
|
}
|
5949
|
-
|
5950
|
-
"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.",
|
5957
|
+
},
|
5951
5958
|
"inheritedFrom": {
|
5952
|
-
"name": "
|
5953
|
-
"module": "components/
|
5959
|
+
"name": "FormfieldWrapper",
|
5960
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5954
5961
|
}
|
5955
5962
|
},
|
5956
|
-
{
|
5957
|
-
"kind": "method",
|
5958
|
-
"name": "
|
5959
|
-
"privacy": "
|
5960
|
-
"
|
5961
|
-
|
5962
|
-
|
5963
|
-
|
5964
|
-
|
5965
|
-
|
5966
|
-
|
5967
|
-
|
5968
|
-
|
5969
|
-
|
5970
|
-
|
5971
|
-
|
5972
|
-
|
5973
|
-
"description": "The disabled state."
|
5963
|
+
{
|
5964
|
+
"kind": "method",
|
5965
|
+
"name": "renderRequiredLabel",
|
5966
|
+
"privacy": "protected",
|
5967
|
+
"inheritedFrom": {
|
5968
|
+
"name": "FormfieldWrapper",
|
5969
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5970
|
+
}
|
5971
|
+
},
|
5972
|
+
{
|
5973
|
+
"kind": "method",
|
5974
|
+
"name": "renderHelpTextIcon",
|
5975
|
+
"privacy": "protected",
|
5976
|
+
"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.",
|
5977
|
+
"return": {
|
5978
|
+
"type": {
|
5979
|
+
"text": ""
|
5974
5980
|
}
|
5975
|
-
|
5976
|
-
"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.",
|
5981
|
+
},
|
5977
5982
|
"inheritedFrom": {
|
5978
|
-
"name": "
|
5979
|
-
"module": "components/
|
5983
|
+
"name": "FormfieldWrapper",
|
5984
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5980
5985
|
}
|
5981
5986
|
},
|
5982
5987
|
{
|
5983
5988
|
"kind": "method",
|
5984
|
-
"name": "
|
5985
|
-
"privacy": "
|
5989
|
+
"name": "renderHelpText",
|
5990
|
+
"privacy": "protected",
|
5991
|
+
"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.",
|
5992
|
+
"return": {
|
5993
|
+
"type": {
|
5994
|
+
"text": ""
|
5995
|
+
}
|
5996
|
+
},
|
5986
5997
|
"inheritedFrom": {
|
5987
|
-
"name": "
|
5988
|
-
"module": "components/
|
5998
|
+
"name": "FormfieldWrapper",
|
5999
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
5989
6000
|
}
|
5990
6001
|
},
|
5991
6002
|
{
|
5992
6003
|
"kind": "method",
|
5993
|
-
"name": "
|
5994
|
-
"privacy": "
|
5995
|
-
"
|
5996
|
-
|
5997
|
-
|
5998
|
-
"
|
5999
|
-
"text": "KeyboardEvent"
|
6000
|
-
},
|
6001
|
-
"description": "The keyboard event."
|
6004
|
+
"name": "renderLabel",
|
6005
|
+
"privacy": "protected",
|
6006
|
+
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
6007
|
+
"return": {
|
6008
|
+
"type": {
|
6009
|
+
"text": ""
|
6002
6010
|
}
|
6003
|
-
|
6004
|
-
"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.",
|
6011
|
+
},
|
6005
6012
|
"inheritedFrom": {
|
6006
|
-
"name": "
|
6007
|
-
"module": "components/
|
6013
|
+
"name": "FormfieldWrapper",
|
6014
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
6008
6015
|
}
|
6009
6016
|
},
|
6010
6017
|
{
|
6011
6018
|
"kind": "method",
|
6012
|
-
"name": "
|
6013
|
-
"privacy": "
|
6014
|
-
"
|
6015
|
-
|
6016
|
-
|
6017
|
-
"
|
6018
|
-
"text": "KeyboardEvent"
|
6019
|
-
},
|
6020
|
-
"description": "The keyboard event."
|
6019
|
+
"name": "renderHelperText",
|
6020
|
+
"privacy": "protected",
|
6021
|
+
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
6022
|
+
"return": {
|
6023
|
+
"type": {
|
6024
|
+
"text": ""
|
6021
6025
|
}
|
6022
|
-
|
6023
|
-
"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.",
|
6026
|
+
},
|
6024
6027
|
"inheritedFrom": {
|
6025
|
-
"name": "
|
6026
|
-
"module": "components/
|
6028
|
+
"name": "FormfieldWrapper",
|
6029
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
6030
|
+
}
|
6031
|
+
}
|
6032
|
+
],
|
6033
|
+
"events": [
|
6034
|
+
{
|
6035
|
+
"type": {
|
6036
|
+
"text": "EventConstructor"
|
6027
6037
|
}
|
6028
6038
|
}
|
6029
6039
|
],
|
6030
6040
|
"attributes": [
|
6031
6041
|
{
|
6032
|
-
"name": "
|
6042
|
+
"name": "checked",
|
6033
6043
|
"type": {
|
6034
|
-
"text": "
|
6044
|
+
"text": "boolean"
|
6035
6045
|
},
|
6036
|
-
"
|
6037
|
-
"
|
6046
|
+
"default": "false",
|
6047
|
+
"description": "Determines whether the radio is selected or unselected.",
|
6048
|
+
"fieldName": "checked"
|
6038
6049
|
},
|
6039
6050
|
{
|
6040
|
-
"name": "
|
6051
|
+
"name": "readonly",
|
6041
6052
|
"type": {
|
6042
|
-
"text": "
|
6053
|
+
"text": "boolean"
|
6043
6054
|
},
|
6044
|
-
"
|
6045
|
-
"
|
6046
|
-
"fieldName": "
|
6055
|
+
"default": "false",
|
6056
|
+
"description": "Determines whether the radio is read-only.",
|
6057
|
+
"fieldName": "readonly"
|
6047
6058
|
},
|
6048
6059
|
{
|
6049
|
-
"name": "
|
6060
|
+
"name": "name",
|
6050
6061
|
"type": {
|
6051
|
-
"text": "
|
6062
|
+
"text": "string"
|
6052
6063
|
},
|
6053
|
-
"
|
6054
|
-
"
|
6064
|
+
"default": "''",
|
6065
|
+
"description": "Indicates the name of the component group (ex: checkbox, radio group).\nThey are used to group elements in a form together.",
|
6066
|
+
"fieldName": "name",
|
6055
6067
|
"inheritedFrom": {
|
6056
|
-
"name": "
|
6057
|
-
"module": "src/utils/mixins/
|
6068
|
+
"name": "NameMixin",
|
6069
|
+
"module": "src/utils/mixins/NameMixin.ts"
|
6058
6070
|
}
|
6059
6071
|
},
|
6060
6072
|
{
|
6061
|
-
"name": "
|
6073
|
+
"name": "value",
|
6062
6074
|
"type": {
|
6063
|
-
"text": "
|
6075
|
+
"text": "string"
|
6064
6076
|
},
|
6065
|
-
"default": "
|
6066
|
-
"description": "
|
6067
|
-
"fieldName": "
|
6077
|
+
"default": "''",
|
6078
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
6079
|
+
"fieldName": "value",
|
6068
6080
|
"inheritedFrom": {
|
6069
|
-
"name": "
|
6070
|
-
"module": "src/
|
6081
|
+
"name": "ValueMixin",
|
6082
|
+
"module": "src/utils/mixins/ValueMixin.ts"
|
6083
|
+
}
|
6084
|
+
},
|
6085
|
+
{
|
6086
|
+
"name": "data-aria-label",
|
6087
|
+
"type": {
|
6088
|
+
"text": "string | null"
|
6089
|
+
},
|
6090
|
+
"default": "null",
|
6091
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
6092
|
+
"fieldName": "dataAriaLabel",
|
6093
|
+
"inheritedFrom": {
|
6094
|
+
"name": "DataAriaLabelMixin",
|
6095
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
6071
6096
|
}
|
6072
6097
|
},
|
6073
6098
|
{
|
@@ -6079,86 +6104,100 @@
|
|
6079
6104
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
6080
6105
|
"fieldName": "disabled",
|
6081
6106
|
"inheritedFrom": {
|
6082
|
-
"name": "
|
6083
|
-
"module": "src/components/
|
6107
|
+
"name": "FormfieldWrapper",
|
6108
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
6084
6109
|
}
|
6085
6110
|
},
|
6086
6111
|
{
|
6087
|
-
"name": "
|
6112
|
+
"name": "label",
|
6088
6113
|
"type": {
|
6089
|
-
"text": "
|
6114
|
+
"text": "string | undefined"
|
6090
6115
|
},
|
6091
|
-
"
|
6092
|
-
"
|
6093
|
-
"fieldName": "active",
|
6116
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
6117
|
+
"fieldName": "label",
|
6094
6118
|
"inheritedFrom": {
|
6095
|
-
"name": "
|
6096
|
-
"module": "src/components/
|
6119
|
+
"name": "FormfieldWrapper",
|
6120
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
6097
6121
|
}
|
6098
6122
|
},
|
6099
6123
|
{
|
6100
|
-
"name": "
|
6124
|
+
"name": "required-label",
|
6101
6125
|
"type": {
|
6102
|
-
"text": "
|
6126
|
+
"text": "string | undefined"
|
6103
6127
|
},
|
6104
|
-
"
|
6105
|
-
"
|
6106
|
-
"fieldName": "softDisabled",
|
6128
|
+
"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.",
|
6129
|
+
"fieldName": "requiredLabel",
|
6107
6130
|
"inheritedFrom": {
|
6108
|
-
"name": "
|
6109
|
-
"module": "src/components/
|
6131
|
+
"name": "FormfieldWrapper",
|
6132
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
6110
6133
|
}
|
6111
6134
|
},
|
6112
6135
|
{
|
6113
|
-
"name": "
|
6114
|
-
"
|
6115
|
-
|
6116
|
-
|
6117
|
-
"description": "Simplebutton size is a super set of all the sizes supported by children components.",
|
6118
|
-
"default": "32",
|
6119
|
-
"fieldName": "size",
|
6136
|
+
"name": "id",
|
6137
|
+
"default": "`mdc-input-${uuidv4()}`",
|
6138
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
6139
|
+
"fieldName": "id",
|
6120
6140
|
"inheritedFrom": {
|
6121
|
-
"name": "
|
6122
|
-
"module": "src/components/
|
6141
|
+
"name": "FormfieldWrapper",
|
6142
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
6123
6143
|
}
|
6124
6144
|
},
|
6125
6145
|
{
|
6126
|
-
"name": "
|
6127
|
-
"
|
6128
|
-
|
6129
|
-
|
6146
|
+
"name": "help-text-type",
|
6147
|
+
"type": {
|
6148
|
+
"text": "ValidationType"
|
6149
|
+
},
|
6150
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
6151
|
+
"fieldName": "helpTextType",
|
6130
6152
|
"inheritedFrom": {
|
6131
|
-
"name": "
|
6132
|
-
"module": "src/components/
|
6153
|
+
"name": "FormfieldWrapper",
|
6154
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
6133
6155
|
}
|
6134
6156
|
},
|
6135
6157
|
{
|
6136
|
-
"name": "
|
6158
|
+
"name": "help-text",
|
6137
6159
|
"type": {
|
6138
|
-
"text": "
|
6160
|
+
"text": "string | undefined"
|
6139
6161
|
},
|
6140
|
-
"description": "
|
6141
|
-
"
|
6142
|
-
"fieldName": "type",
|
6162
|
+
"description": "The help text that is displayed below the input field.",
|
6163
|
+
"fieldName": "helpText",
|
6143
6164
|
"inheritedFrom": {
|
6144
|
-
"name": "
|
6145
|
-
"module": "src/components/
|
6165
|
+
"name": "FormfieldWrapper",
|
6166
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
6146
6167
|
}
|
6147
6168
|
}
|
6148
6169
|
],
|
6149
6170
|
"mixins": [
|
6150
6171
|
{
|
6151
|
-
"name": "
|
6152
|
-
"module": "/src/utils/mixins/
|
6172
|
+
"name": "NameMixin",
|
6173
|
+
"module": "/src/utils/mixins/NameMixin"
|
6174
|
+
},
|
6175
|
+
{
|
6176
|
+
"name": "ValueMixin",
|
6177
|
+
"module": "/src/utils/mixins/ValueMixin"
|
6178
|
+
},
|
6179
|
+
{
|
6180
|
+
"name": "DataAriaLabelMixin",
|
6181
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
6153
6182
|
}
|
6154
6183
|
],
|
6155
6184
|
"superclass": {
|
6156
|
-
"name": "
|
6157
|
-
"module": "/src/components/
|
6185
|
+
"name": "FormfieldWrapper",
|
6186
|
+
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
6158
6187
|
},
|
6159
|
-
"tagName": "mdc-
|
6160
|
-
"jsDoc": "/**\n *
|
6161
|
-
"customElement": true
|
6188
|
+
"tagName": "mdc-radio",
|
6189
|
+
"jsDoc": "/**\n * Radio allow users to select single options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selection in lists.\n *\n * A radio component contains an optional label, optional info icon and an optional helper text.\n * @dependency mdc-formfieldwrapper\n *\n * @tagname mdc-radio\n *\n * @cssproperty --mdc-radio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-radio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-radio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-radio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-radio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-radio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-radio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-radio-control-inactive-hover - color of the radio button when inactive and hovered\n * @cssproperty --mdc-radio-control-inactive-pressed-color - color of the radio button when inactive and pressed\n * @cssproperty --mdc-radio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-radio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-radio-control-active-hover-color - color of the radio button when active and hovered\n * @cssproperty --mdc-radio-control-active-pressed-color - color of the radio button when active and pressed\n * @cssproperty --mdc-radio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n *\n */",
|
6190
|
+
"customElement": true,
|
6191
|
+
"slots": [
|
6192
|
+
{
|
6193
|
+
"description": "slot to add the label info icon",
|
6194
|
+
"name": "label-info",
|
6195
|
+
"inheritedFrom": {
|
6196
|
+
"name": "FormfieldWrapper",
|
6197
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
6198
|
+
}
|
6199
|
+
}
|
6200
|
+
]
|
6162
6201
|
}
|
6163
6202
|
],
|
6164
6203
|
"exports": [
|
@@ -6166,8 +6205,8 @@
|
|
6166
6205
|
"kind": "js",
|
6167
6206
|
"name": "default",
|
6168
6207
|
"declaration": {
|
6169
|
-
"name": "
|
6170
|
-
"module": "components/
|
6208
|
+
"name": "Radio",
|
6209
|
+
"module": "components/radio/radio.component.js"
|
6171
6210
|
}
|
6172
6211
|
}
|
6173
6212
|
]
|
@@ -6360,7 +6399,7 @@
|
|
6360
6399
|
"declarations": [
|
6361
6400
|
{
|
6362
6401
|
"kind": "class",
|
6363
|
-
"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.",
|
6402
|
+
"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.",
|
6364
6403
|
"name": "Toggle",
|
6365
6404
|
"cssProperties": [
|
6366
6405
|
{
|
@@ -6870,7 +6909,7 @@
|
|
6870
6909
|
"module": "/src/components/formfieldwrapper"
|
6871
6910
|
},
|
6872
6911
|
"tagName": "mdc-toggle",
|
6873
|
-
"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 */",
|
6912
|
+
"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 */",
|
6874
6913
|
"customElement": true,
|
6875
6914
|
"slots": [
|
6876
6915
|
{
|