@momentum-design/components 0.105.3 → 0.105.4
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 +73 -73
- package/dist/browser/index.js.map +3 -3
- package/dist/components/virtualizedlist/virtualizedlist.component.d.ts +5 -8
- package/dist/components/virtualizedlist/virtualizedlist.component.js +10 -7
- package/dist/components/virtualizedlist/virtualizedlist.helper.test.js +1 -1
- package/dist/components/virtualizedlist/virtualizedlist.types.d.ts +3 -2
- package/dist/custom-elements.json +775 -762
- package/dist/index.d.ts +2 -1
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/dist/react/virtualizedlist/index.d.ts +2 -2
- package/dist/react/virtualizedlist/index.js +2 -2
- package/package.json +1 -1
@@ -4,63 +4,149 @@
|
|
4
4
|
"modules": [
|
5
5
|
{
|
6
6
|
"kind": "javascript-module",
|
7
|
-
"path": "components/
|
7
|
+
"path": "components/accordion/accordion.component.js",
|
8
8
|
"declarations": [
|
9
9
|
{
|
10
10
|
"kind": "class",
|
11
|
-
"description": "An accordion
|
12
|
-
"name": "
|
11
|
+
"description": "An accordion contains a header and body section with a focusable heading that can be expanded or collapsed.\n\nThe header section contains:\n- Prefix Icon\n- Header Text\n- Leading Slot - Contains the leading controls of the accordion on the header section. This will be placed on the leading side, after the header text.\n- Trailing Slot - Contains the trailing controls of the accordion on the header section. This will be placed on the trailing side, before the expand/collapse button.\n\nThe body section contains:\n- Default slot - User can place any content inside the body section.\n\nThe accordion can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\nThere are two types of variants based on that the border styling of the accordion gets reflected. <br/>\nThere are two sizes of accordion, one is small and the other is large.\nSmall size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n\nBy default, the header text in the accordion heading is of H3 with an aria-level of '3'.\nIf this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n\nAn accordion can be disabled, and when it's disabled, the header section will not be clickable.\n\nIf you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n\nIf an accordion is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion.",
|
12
|
+
"name": "Accordion",
|
13
13
|
"cssProperties": [
|
14
14
|
{
|
15
|
-
"description": "The border color of the accordion
|
16
|
-
"name": "--mdc-accordionbutton-border-color"
|
15
|
+
"description": "The border color of the accordion.",
|
16
|
+
"name": "--mdc-accordionbutton-border-color",
|
17
|
+
"inheritedFrom": {
|
18
|
+
"name": "AccordionButton",
|
19
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
20
|
+
}
|
17
21
|
},
|
18
22
|
{
|
19
|
-
"description": "The hover color of the accordion
|
20
|
-
"name": "--mdc-accordionbutton-hover-color"
|
23
|
+
"description": "The hover color of the accordion.",
|
24
|
+
"name": "--mdc-accordionbutton-hover-color",
|
25
|
+
"inheritedFrom": {
|
26
|
+
"name": "AccordionButton",
|
27
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
28
|
+
}
|
21
29
|
},
|
22
30
|
{
|
23
|
-
"description": "The active color of the accordion
|
24
|
-
"name": "--mdc-accordionbutton-active-color"
|
31
|
+
"description": "The active color of the accordion.",
|
32
|
+
"name": "--mdc-accordionbutton-active-color",
|
33
|
+
"inheritedFrom": {
|
34
|
+
"name": "AccordionButton",
|
35
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
36
|
+
}
|
25
37
|
},
|
26
38
|
{
|
27
|
-
"description": "The disabled color of the accordion
|
28
|
-
"name": "--mdc-accordionbutton-disabled-color"
|
39
|
+
"description": "The disabled color of the accordion.",
|
40
|
+
"name": "--mdc-accordionbutton-disabled-color",
|
41
|
+
"inheritedFrom": {
|
42
|
+
"name": "AccordionButton",
|
43
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
44
|
+
}
|
29
45
|
}
|
30
46
|
],
|
31
47
|
"cssParts": [
|
32
48
|
{
|
33
|
-
"description": "The header section of the accordion
|
34
|
-
"name": "header-section"
|
49
|
+
"description": "The header section of the accordion.",
|
50
|
+
"name": "header-section",
|
51
|
+
"inheritedFrom": {
|
52
|
+
"name": "AccordionButton",
|
53
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
54
|
+
}
|
35
55
|
},
|
36
56
|
{
|
37
|
-
"description": "The header
|
38
|
-
"name": "header
|
57
|
+
"description": "The leading header of the accordion.",
|
58
|
+
"name": "leading-header",
|
59
|
+
"inheritedFrom": {
|
60
|
+
"name": "AccordionButton",
|
61
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
62
|
+
}
|
39
63
|
},
|
40
64
|
{
|
41
|
-
"description": "The
|
42
|
-
"name": "
|
65
|
+
"description": "The trailing header of the accordion.",
|
66
|
+
"name": "trailing-header",
|
67
|
+
"inheritedFrom": {
|
68
|
+
"name": "AccordionButton",
|
69
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
70
|
+
}
|
43
71
|
},
|
44
72
|
{
|
45
|
-
"description": "The trailing header of the accordion
|
46
|
-
"name": "trailing-
|
73
|
+
"description": "The trailing header button of the accordion.",
|
74
|
+
"name": "trailing-header__button"
|
47
75
|
},
|
48
76
|
{
|
49
|
-
"description": "The
|
50
|
-
"name": "
|
77
|
+
"description": "The body section of the accordion.",
|
78
|
+
"name": "body-section",
|
79
|
+
"inheritedFrom": {
|
80
|
+
"name": "AccordionButton",
|
81
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
82
|
+
}
|
51
83
|
},
|
52
84
|
{
|
53
|
-
"description": "The
|
54
|
-
"name": "
|
85
|
+
"description": "The header button section of the accordion button.",
|
86
|
+
"name": "header-button-section",
|
87
|
+
"inheritedFrom": {
|
88
|
+
"name": "AccordionButton",
|
89
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
90
|
+
}
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"description": "The trailing header icon of the accordion button.",
|
94
|
+
"name": "trailing-header__icon",
|
95
|
+
"inheritedFrom": {
|
96
|
+
"name": "AccordionButton",
|
97
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
98
|
+
}
|
55
99
|
}
|
56
100
|
],
|
57
101
|
"slots": [
|
102
|
+
{
|
103
|
+
"description": "The leading controls slot of the accordion on the header section.",
|
104
|
+
"name": "leading-controls"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"description": "The trailing controls slot of the accordion on the header section.",
|
108
|
+
"name": "trailing-controls"
|
109
|
+
},
|
58
110
|
{
|
59
111
|
"description": "The default slot contains the body section of the accordion. User can place anything inside this body slot.",
|
60
|
-
"name": "default"
|
112
|
+
"name": "default",
|
113
|
+
"inheritedFrom": {
|
114
|
+
"name": "AccordionButton",
|
115
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
116
|
+
}
|
61
117
|
}
|
62
118
|
],
|
63
119
|
"members": [
|
120
|
+
{
|
121
|
+
"kind": "method",
|
122
|
+
"name": "renderHeader",
|
123
|
+
"privacy": "protected",
|
124
|
+
"return": {
|
125
|
+
"type": {
|
126
|
+
"text": ""
|
127
|
+
}
|
128
|
+
},
|
129
|
+
"description": "Renders the header section of the accordion.\nThis includes the leading icon, text and controls, and the trailing controls.\nThe trailing controls include the expand/collapse button.\nThe button is disabled if the accordion is disabled.\nThe button is also given the aria-controls attribute set to the id of the body section.\nThe button is also given the aria-expanded attribute set to the expanded state of the accordion.\nThe prefix icon of the button is set to the expanded state of the accordion.",
|
130
|
+
"inheritedFrom": {
|
131
|
+
"name": "AccordionButton",
|
132
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
133
|
+
}
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"kind": "field",
|
137
|
+
"name": "disabled",
|
138
|
+
"type": {
|
139
|
+
"text": "boolean | undefined"
|
140
|
+
},
|
141
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
142
|
+
"default": "undefined",
|
143
|
+
"attribute": "disabled",
|
144
|
+
"reflects": true,
|
145
|
+
"inheritedFrom": {
|
146
|
+
"name": "DisabledMixin",
|
147
|
+
"module": "utils/mixins/DisabledMixin.js"
|
148
|
+
}
|
149
|
+
},
|
64
150
|
{
|
65
151
|
"kind": "field",
|
66
152
|
"name": "size",
|
@@ -70,7 +156,11 @@
|
|
70
156
|
"description": "The size of the accordion item.",
|
71
157
|
"default": "'small'",
|
72
158
|
"attribute": "size",
|
73
|
-
"reflects": true
|
159
|
+
"reflects": true,
|
160
|
+
"inheritedFrom": {
|
161
|
+
"name": "AccordionButton",
|
162
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
163
|
+
}
|
74
164
|
},
|
75
165
|
{
|
76
166
|
"kind": "field",
|
@@ -81,7 +171,11 @@
|
|
81
171
|
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
82
172
|
"default": "'default'",
|
83
173
|
"attribute": "variant",
|
84
|
-
"reflects": true
|
174
|
+
"reflects": true,
|
175
|
+
"inheritedFrom": {
|
176
|
+
"name": "AccordionButton",
|
177
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
178
|
+
}
|
85
179
|
},
|
86
180
|
{
|
87
181
|
"kind": "field",
|
@@ -92,7 +186,11 @@
|
|
92
186
|
"description": "The aria level of the accordion component.",
|
93
187
|
"default": "3",
|
94
188
|
"attribute": "data-aria-level",
|
95
|
-
"reflects": true
|
189
|
+
"reflects": true,
|
190
|
+
"inheritedFrom": {
|
191
|
+
"name": "AccordionButton",
|
192
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
193
|
+
}
|
96
194
|
},
|
97
195
|
{
|
98
196
|
"kind": "field",
|
@@ -103,7 +201,11 @@
|
|
103
201
|
"description": "The visibility of the accordion button.",
|
104
202
|
"default": "false",
|
105
203
|
"attribute": "expanded",
|
106
|
-
"reflects": true
|
204
|
+
"reflects": true,
|
205
|
+
"inheritedFrom": {
|
206
|
+
"name": "AccordionButton",
|
207
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
208
|
+
}
|
107
209
|
},
|
108
210
|
{
|
109
211
|
"kind": "field",
|
@@ -113,7 +215,11 @@
|
|
113
215
|
},
|
114
216
|
"description": "The header text of the accordion item.",
|
115
217
|
"attribute": "header-text",
|
116
|
-
"reflects": true
|
218
|
+
"reflects": true,
|
219
|
+
"inheritedFrom": {
|
220
|
+
"name": "AccordionButton",
|
221
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
222
|
+
}
|
117
223
|
},
|
118
224
|
{
|
119
225
|
"kind": "field",
|
@@ -122,7 +228,11 @@
|
|
122
228
|
"text": "IconNames | undefined"
|
123
229
|
},
|
124
230
|
"description": "The leading icon that is displayed before the header text.",
|
125
|
-
"attribute": "prefix-icon"
|
231
|
+
"attribute": "prefix-icon",
|
232
|
+
"inheritedFrom": {
|
233
|
+
"name": "AccordionButton",
|
234
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
235
|
+
}
|
126
236
|
},
|
127
237
|
{
|
128
238
|
"kind": "method",
|
@@ -133,7 +243,11 @@
|
|
133
243
|
"text": "void"
|
134
244
|
}
|
135
245
|
},
|
136
|
-
"description": "Handles the click event of the header section.\nIf the accordion is disabled, it will not toggle the expanded state.\nIt will dispatch the `shown` event with the current expanded state."
|
246
|
+
"description": "Handles the click event of the header section.\nIf the accordion is disabled, it will not toggle the expanded state.\nIt will dispatch the `shown` event with the current expanded state.",
|
247
|
+
"inheritedFrom": {
|
248
|
+
"name": "AccordionButton",
|
249
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
250
|
+
}
|
137
251
|
},
|
138
252
|
{
|
139
253
|
"kind": "method",
|
@@ -144,7 +258,11 @@
|
|
144
258
|
"text": "void"
|
145
259
|
}
|
146
260
|
},
|
147
|
-
"description": "Dispatches the `shown` event with the current expanded state.\nThe event is cancelable and bubbles.\nThe event detail contains the current expanded state."
|
261
|
+
"description": "Dispatches the `shown` event with the current expanded state.\nThe event is cancelable and bubbles.\nThe event detail contains the current expanded state.",
|
262
|
+
"inheritedFrom": {
|
263
|
+
"name": "AccordionButton",
|
264
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
265
|
+
}
|
148
266
|
},
|
149
267
|
{
|
150
268
|
"kind": "method",
|
@@ -164,7 +282,11 @@
|
|
164
282
|
"description": "The KeyboardEvent fired."
|
165
283
|
}
|
166
284
|
],
|
167
|
-
"description": "Handles the keydown event of the component.\nIf the key pressed is either Enter or Space, it calls the handleHeaderClick method.\nThis allows keyboard users to toggle the accordion button using these keys."
|
285
|
+
"description": "Handles the keydown event of the component.\nIf the key pressed is either Enter or Space, it calls the handleHeaderClick method.\nThis allows keyboard users to toggle the accordion button using these keys.",
|
286
|
+
"inheritedFrom": {
|
287
|
+
"name": "AccordionButton",
|
288
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
289
|
+
}
|
168
290
|
},
|
169
291
|
{
|
170
292
|
"kind": "method",
|
@@ -183,7 +305,11 @@
|
|
183
305
|
"text": "IconNames"
|
184
306
|
}
|
185
307
|
}
|
186
|
-
]
|
308
|
+
],
|
309
|
+
"inheritedFrom": {
|
310
|
+
"name": "AccordionButton",
|
311
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
312
|
+
}
|
187
313
|
},
|
188
314
|
{
|
189
315
|
"kind": "method",
|
@@ -193,16 +319,10 @@
|
|
193
319
|
"type": {
|
194
320
|
"text": "TemplateResult | typeof nothing"
|
195
321
|
}
|
196
|
-
}
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
"name": "renderHeader",
|
201
|
-
"privacy": "protected",
|
202
|
-
"return": {
|
203
|
-
"type": {
|
204
|
-
"text": "TemplateResult"
|
205
|
-
}
|
322
|
+
},
|
323
|
+
"inheritedFrom": {
|
324
|
+
"name": "AccordionButton",
|
325
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
206
326
|
}
|
207
327
|
},
|
208
328
|
{
|
@@ -214,7 +334,11 @@
|
|
214
334
|
"text": ""
|
215
335
|
}
|
216
336
|
},
|
217
|
-
"description": "Returns the icon name based on the expanded state.\nIf the accordion button is disabled, it always returns the arrow down icon.\nOtherwise, it returns the arrow up icon if the accordion button is expanded, otherwise the arrow down icon."
|
337
|
+
"description": "Returns the icon name based on the expanded state.\nIf the accordion button is disabled, it always returns the arrow down icon.\nOtherwise, it returns the arrow up icon if the accordion button is expanded, otherwise the arrow down icon.",
|
338
|
+
"inheritedFrom": {
|
339
|
+
"name": "AccordionButton",
|
340
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
341
|
+
}
|
218
342
|
},
|
219
343
|
{
|
220
344
|
"kind": "method",
|
@@ -224,32 +348,45 @@
|
|
224
348
|
"type": {
|
225
349
|
"text": "TemplateResult | typeof nothing"
|
226
350
|
}
|
227
|
-
}
|
228
|
-
},
|
229
|
-
{
|
230
|
-
"kind": "field",
|
231
|
-
"name": "disabled",
|
232
|
-
"type": {
|
233
|
-
"text": "boolean | undefined"
|
234
351
|
},
|
235
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
236
|
-
"default": "undefined",
|
237
|
-
"attribute": "disabled",
|
238
|
-
"reflects": true,
|
239
352
|
"inheritedFrom": {
|
240
|
-
"name": "
|
241
|
-
"module": "
|
353
|
+
"name": "AccordionButton",
|
354
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
242
355
|
}
|
243
356
|
}
|
244
357
|
],
|
245
358
|
"events": [
|
246
359
|
{
|
247
|
-
"description": "(React: onShown) This event is triggered when the accordion
|
360
|
+
"description": "(React: onShown) This event is triggered when the accordion is expanded.",
|
248
361
|
"name": "shown",
|
249
|
-
"reactName": "onShown"
|
362
|
+
"reactName": "onShown",
|
363
|
+
"inheritedFrom": {
|
364
|
+
"name": "AccordionButton",
|
365
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
366
|
+
}
|
250
367
|
}
|
251
368
|
],
|
369
|
+
"superclass": {
|
370
|
+
"name": "AccordionButton",
|
371
|
+
"module": "/src/components/accordionbutton/accordionbutton.component"
|
372
|
+
},
|
373
|
+
"tagName": "mdc-accordion",
|
374
|
+
"jsDoc": "/**\n * An accordion contains a header and body section with a focusable heading that can be expanded or collapsed.\n *\n * The header section contains:\n * - Prefix Icon\n * - Header Text\n * - Leading Slot - Contains the leading controls of the accordion on the header section. This will be placed on the leading side, after the header text.\n * - Trailing Slot - Contains the trailing controls of the accordion on the header section. This will be placed on the trailing side, before the expand/collapse button.\n *\n * The body section contains:\n * - Default slot - User can place any content inside the body section.\n *\n * The accordion can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\n * There are two types of variants based on that the border styling of the accordion gets reflected. <br/>\n * There are two sizes of accordion, one is small and the other is large.\n * Small size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n *\n * By default, the header text in the accordion heading is of H3 with an aria-level of '3'.\n * If this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n *\n * An accordion can be disabled, and when it's disabled, the header section will not be clickable.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If an accordion is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion.\n *\n * @tagname mdc-accordion\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot leading-controls - The leading controls slot of the accordion on the header section.\n * @slot trailing-controls - The trailing controls slot of the accordion on the header section.\n * @slot default - The default slot contains the body section of the accordion. User can place anything inside this body slot.\n *\n * @event shown - (React: onShown) This event is triggered when the accordion is expanded.\n *\n * @cssproperty --mdc-accordionbutton-border-color - The border color of the accordion.\n * @cssproperty --mdc-accordionbutton-hover-color - The hover color of the accordion.\n * @cssproperty --mdc-accordionbutton-active-color - The active color of the accordion.\n * @cssproperty --mdc-accordionbutton-disabled-color - The disabled color of the accordion.\n *\n * @csspart header-section - The header section of the accordion.\n * @csspart leading-header - The leading header of the accordion.\n * @csspart trailing-header - The trailing header of the accordion.\n * @csspart trailing-header__button - The trailing header button of the accordion.\n * @csspart body-section - The body section of the accordion.\n */",
|
375
|
+
"customElement": true,
|
252
376
|
"attributes": [
|
377
|
+
{
|
378
|
+
"name": "disabled",
|
379
|
+
"type": {
|
380
|
+
"text": "boolean | undefined"
|
381
|
+
},
|
382
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
383
|
+
"default": "undefined",
|
384
|
+
"fieldName": "disabled",
|
385
|
+
"inheritedFrom": {
|
386
|
+
"name": "DisabledMixin",
|
387
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
388
|
+
}
|
389
|
+
},
|
253
390
|
{
|
254
391
|
"name": "size",
|
255
392
|
"type": {
|
@@ -257,7 +394,11 @@
|
|
257
394
|
},
|
258
395
|
"description": "The size of the accordion item.",
|
259
396
|
"default": "'small'",
|
260
|
-
"fieldName": "size"
|
397
|
+
"fieldName": "size",
|
398
|
+
"inheritedFrom": {
|
399
|
+
"name": "AccordionButton",
|
400
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
401
|
+
}
|
261
402
|
},
|
262
403
|
{
|
263
404
|
"name": "variant",
|
@@ -266,7 +407,11 @@
|
|
266
407
|
},
|
267
408
|
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
268
409
|
"default": "'default'",
|
269
|
-
"fieldName": "variant"
|
410
|
+
"fieldName": "variant",
|
411
|
+
"inheritedFrom": {
|
412
|
+
"name": "AccordionButton",
|
413
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
414
|
+
}
|
270
415
|
},
|
271
416
|
{
|
272
417
|
"name": "data-aria-level",
|
@@ -275,7 +420,11 @@
|
|
275
420
|
},
|
276
421
|
"description": "The aria level of the accordion component.",
|
277
422
|
"default": "3",
|
278
|
-
"fieldName": "dataAriaLevel"
|
423
|
+
"fieldName": "dataAriaLevel",
|
424
|
+
"inheritedFrom": {
|
425
|
+
"name": "AccordionButton",
|
426
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
427
|
+
}
|
279
428
|
},
|
280
429
|
{
|
281
430
|
"name": "expanded",
|
@@ -284,7 +433,11 @@
|
|
284
433
|
},
|
285
434
|
"description": "The visibility of the accordion button.",
|
286
435
|
"default": "false",
|
287
|
-
"fieldName": "expanded"
|
436
|
+
"fieldName": "expanded",
|
437
|
+
"inheritedFrom": {
|
438
|
+
"name": "AccordionButton",
|
439
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
440
|
+
}
|
288
441
|
},
|
289
442
|
{
|
290
443
|
"name": "header-text",
|
@@ -292,7 +445,11 @@
|
|
292
445
|
"text": "string | undefined"
|
293
446
|
},
|
294
447
|
"description": "The header text of the accordion item.",
|
295
|
-
"fieldName": "headerText"
|
448
|
+
"fieldName": "headerText",
|
449
|
+
"inheritedFrom": {
|
450
|
+
"name": "AccordionButton",
|
451
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
452
|
+
}
|
296
453
|
},
|
297
454
|
{
|
298
455
|
"name": "prefix-icon",
|
@@ -300,35 +457,13 @@
|
|
300
457
|
"text": "IconNames | undefined"
|
301
458
|
},
|
302
459
|
"description": "The leading icon that is displayed before the header text.",
|
303
|
-
"fieldName": "prefixIcon"
|
304
|
-
},
|
305
|
-
{
|
306
|
-
"name": "disabled",
|
307
|
-
"type": {
|
308
|
-
"text": "boolean | undefined"
|
309
|
-
},
|
310
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
311
|
-
"default": "undefined",
|
312
|
-
"fieldName": "disabled",
|
460
|
+
"fieldName": "prefixIcon",
|
313
461
|
"inheritedFrom": {
|
314
|
-
"name": "
|
315
|
-
"module": "src/
|
462
|
+
"name": "AccordionButton",
|
463
|
+
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
316
464
|
}
|
317
465
|
}
|
318
|
-
]
|
319
|
-
"mixins": [
|
320
|
-
{
|
321
|
-
"name": "DisabledMixin",
|
322
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
323
|
-
}
|
324
|
-
],
|
325
|
-
"superclass": {
|
326
|
-
"name": "Component",
|
327
|
-
"module": "/src/models"
|
328
|
-
},
|
329
|
-
"tagName": "mdc-accordionbutton",
|
330
|
-
"jsDoc": "/**\n * An accordion button contains a header and body section with optional slots inside the heading which are focusable.\n *\n * The header section contains:\n * - Prefix Icon\n * - Header Text\n *\n * The body section contains:\n * - Default slot - User can place any content inside the body section.\n *\n * The accordion button can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\n * There are two types of variants based on that the border styling of the accordion gets reflected. <br/>\n * There are two sizes of accordion, one is small and the other is large.\n * Small size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n *\n * By default, the header text in the accordion heading is of H3 with an aria-level of '3'.\n * If this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n *\n * An accordion can be disabled, and when it's disabled, the header section will not be clickable.\n *\n * If you do need any controls on your accordion heading, then it's advised to use `accordion` component.\n *\n * If an accordion button is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion button.\n *\n * @tagname mdc-accordionbutton\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot default - The default slot contains the body section of the accordion. User can place anything inside this body slot.\n *\n * @event shown - (React: onShown) This event is triggered when the accordion button is expanded.\n *\n * @cssproperty --mdc-accordionbutton-border-color - The border color of the accordion button.\n * @cssproperty --mdc-accordionbutton-hover-color - The hover color of the accordion button.\n * @cssproperty --mdc-accordionbutton-active-color - The active color of the accordion button.\n * @cssproperty --mdc-accordionbutton-disabled-color - The disabled color of the accordion button.\n *\n * @csspart header-section - The header section of the accordion button.\n * @csspart header-button-section - The header button section of the accordion button.\n * @csspart leading-header - The leading header of the accordion button.\n * @csspart trailing-header - The trailing header of the accordion button.\n * @csspart trailing-header__icon - The trailing header icon of the accordion button.\n * @csspart body-section - The body section of the accordion button.\n */",
|
331
|
-
"customElement": true
|
466
|
+
]
|
332
467
|
}
|
333
468
|
],
|
334
469
|
"exports": [
|
@@ -336,157 +471,71 @@
|
|
336
471
|
"kind": "js",
|
337
472
|
"name": "default",
|
338
473
|
"declaration": {
|
339
|
-
"name": "
|
340
|
-
"module": "components/
|
474
|
+
"name": "Accordion",
|
475
|
+
"module": "components/accordion/accordion.component.js"
|
341
476
|
}
|
342
477
|
}
|
343
478
|
]
|
344
479
|
},
|
345
480
|
{
|
346
481
|
"kind": "javascript-module",
|
347
|
-
"path": "components/
|
482
|
+
"path": "components/accordionbutton/accordionbutton.component.js",
|
348
483
|
"declarations": [
|
349
484
|
{
|
350
485
|
"kind": "class",
|
351
|
-
"description": "An accordion contains a header and body section with
|
352
|
-
"name": "
|
486
|
+
"description": "An accordion button contains a header and body section with optional slots inside the heading which are focusable.\n\nThe header section contains:\n- Prefix Icon\n- Header Text\n\nThe body section contains:\n- Default slot - User can place any content inside the body section.\n\nThe accordion button can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\nThere are two types of variants based on that the border styling of the accordion gets reflected. <br/>\nThere are two sizes of accordion, one is small and the other is large.\nSmall size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n\nBy default, the header text in the accordion heading is of H3 with an aria-level of '3'.\nIf this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n\nAn accordion can be disabled, and when it's disabled, the header section will not be clickable.\n\nIf you do need any controls on your accordion heading, then it's advised to use `accordion` component.\n\nIf an accordion button is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion button.",
|
487
|
+
"name": "AccordionButton",
|
353
488
|
"cssProperties": [
|
354
489
|
{
|
355
|
-
"description": "The border color of the accordion.",
|
356
|
-
"name": "--mdc-accordionbutton-border-color"
|
357
|
-
"inheritedFrom": {
|
358
|
-
"name": "AccordionButton",
|
359
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
360
|
-
}
|
490
|
+
"description": "The border color of the accordion button.",
|
491
|
+
"name": "--mdc-accordionbutton-border-color"
|
361
492
|
},
|
362
493
|
{
|
363
|
-
"description": "The hover color of the accordion.",
|
364
|
-
"name": "--mdc-accordionbutton-hover-color"
|
365
|
-
"inheritedFrom": {
|
366
|
-
"name": "AccordionButton",
|
367
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
368
|
-
}
|
494
|
+
"description": "The hover color of the accordion button.",
|
495
|
+
"name": "--mdc-accordionbutton-hover-color"
|
369
496
|
},
|
370
497
|
{
|
371
|
-
"description": "The active color of the accordion.",
|
372
|
-
"name": "--mdc-accordionbutton-active-color"
|
373
|
-
"inheritedFrom": {
|
374
|
-
"name": "AccordionButton",
|
375
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
376
|
-
}
|
498
|
+
"description": "The active color of the accordion button.",
|
499
|
+
"name": "--mdc-accordionbutton-active-color"
|
377
500
|
},
|
378
501
|
{
|
379
|
-
"description": "The disabled color of the accordion.",
|
380
|
-
"name": "--mdc-accordionbutton-disabled-color"
|
381
|
-
"inheritedFrom": {
|
382
|
-
"name": "AccordionButton",
|
383
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
384
|
-
}
|
502
|
+
"description": "The disabled color of the accordion button.",
|
503
|
+
"name": "--mdc-accordionbutton-disabled-color"
|
385
504
|
}
|
386
505
|
],
|
387
506
|
"cssParts": [
|
388
507
|
{
|
389
|
-
"description": "The header section of the accordion.",
|
390
|
-
"name": "header-section"
|
391
|
-
"inheritedFrom": {
|
392
|
-
"name": "AccordionButton",
|
393
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
394
|
-
}
|
395
|
-
},
|
396
|
-
{
|
397
|
-
"description": "The leading header of the accordion.",
|
398
|
-
"name": "leading-header",
|
399
|
-
"inheritedFrom": {
|
400
|
-
"name": "AccordionButton",
|
401
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
402
|
-
}
|
508
|
+
"description": "The header section of the accordion button.",
|
509
|
+
"name": "header-section"
|
403
510
|
},
|
404
511
|
{
|
405
|
-
"description": "The
|
406
|
-
"name": "
|
407
|
-
"inheritedFrom": {
|
408
|
-
"name": "AccordionButton",
|
409
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
410
|
-
}
|
512
|
+
"description": "The header button section of the accordion button.",
|
513
|
+
"name": "header-button-section"
|
411
514
|
},
|
412
515
|
{
|
413
|
-
"description": "The
|
414
|
-
"name": "
|
516
|
+
"description": "The leading header of the accordion button.",
|
517
|
+
"name": "leading-header"
|
415
518
|
},
|
416
519
|
{
|
417
|
-
"description": "The
|
418
|
-
"name": "
|
419
|
-
"inheritedFrom": {
|
420
|
-
"name": "AccordionButton",
|
421
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
422
|
-
}
|
520
|
+
"description": "The trailing header of the accordion button.",
|
521
|
+
"name": "trailing-header"
|
423
522
|
},
|
424
523
|
{
|
425
|
-
"description": "The header
|
426
|
-
"name": "
|
427
|
-
"inheritedFrom": {
|
428
|
-
"name": "AccordionButton",
|
429
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
430
|
-
}
|
524
|
+
"description": "The trailing header icon of the accordion button.",
|
525
|
+
"name": "trailing-header__icon"
|
431
526
|
},
|
432
527
|
{
|
433
|
-
"description": "The
|
434
|
-
"name": "
|
435
|
-
"inheritedFrom": {
|
436
|
-
"name": "AccordionButton",
|
437
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
438
|
-
}
|
528
|
+
"description": "The body section of the accordion button.",
|
529
|
+
"name": "body-section"
|
439
530
|
}
|
440
531
|
],
|
441
532
|
"slots": [
|
442
|
-
{
|
443
|
-
"description": "The leading controls slot of the accordion on the header section.",
|
444
|
-
"name": "leading-controls"
|
445
|
-
},
|
446
|
-
{
|
447
|
-
"description": "The trailing controls slot of the accordion on the header section.",
|
448
|
-
"name": "trailing-controls"
|
449
|
-
},
|
450
533
|
{
|
451
534
|
"description": "The default slot contains the body section of the accordion. User can place anything inside this body slot.",
|
452
|
-
"name": "default"
|
453
|
-
"inheritedFrom": {
|
454
|
-
"name": "AccordionButton",
|
455
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
456
|
-
}
|
535
|
+
"name": "default"
|
457
536
|
}
|
458
537
|
],
|
459
538
|
"members": [
|
460
|
-
{
|
461
|
-
"kind": "method",
|
462
|
-
"name": "renderHeader",
|
463
|
-
"privacy": "protected",
|
464
|
-
"return": {
|
465
|
-
"type": {
|
466
|
-
"text": ""
|
467
|
-
}
|
468
|
-
},
|
469
|
-
"description": "Renders the header section of the accordion.\nThis includes the leading icon, text and controls, and the trailing controls.\nThe trailing controls include the expand/collapse button.\nThe button is disabled if the accordion is disabled.\nThe button is also given the aria-controls attribute set to the id of the body section.\nThe button is also given the aria-expanded attribute set to the expanded state of the accordion.\nThe prefix icon of the button is set to the expanded state of the accordion.",
|
470
|
-
"inheritedFrom": {
|
471
|
-
"name": "AccordionButton",
|
472
|
-
"module": "components/accordionbutton/accordionbutton.component.js"
|
473
|
-
}
|
474
|
-
},
|
475
|
-
{
|
476
|
-
"kind": "field",
|
477
|
-
"name": "disabled",
|
478
|
-
"type": {
|
479
|
-
"text": "boolean | undefined"
|
480
|
-
},
|
481
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
482
|
-
"default": "undefined",
|
483
|
-
"attribute": "disabled",
|
484
|
-
"reflects": true,
|
485
|
-
"inheritedFrom": {
|
486
|
-
"name": "AccordionButton",
|
487
|
-
"module": "components/accordionbutton/accordionbutton.component.js"
|
488
|
-
}
|
489
|
-
},
|
490
539
|
{
|
491
540
|
"kind": "field",
|
492
541
|
"name": "size",
|
@@ -496,11 +545,7 @@
|
|
496
545
|
"description": "The size of the accordion item.",
|
497
546
|
"default": "'small'",
|
498
547
|
"attribute": "size",
|
499
|
-
"reflects": true
|
500
|
-
"inheritedFrom": {
|
501
|
-
"name": "AccordionButton",
|
502
|
-
"module": "components/accordionbutton/accordionbutton.component.js"
|
503
|
-
}
|
548
|
+
"reflects": true
|
504
549
|
},
|
505
550
|
{
|
506
551
|
"kind": "field",
|
@@ -511,11 +556,7 @@
|
|
511
556
|
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
512
557
|
"default": "'default'",
|
513
558
|
"attribute": "variant",
|
514
|
-
"reflects": true
|
515
|
-
"inheritedFrom": {
|
516
|
-
"name": "AccordionButton",
|
517
|
-
"module": "components/accordionbutton/accordionbutton.component.js"
|
518
|
-
}
|
559
|
+
"reflects": true
|
519
560
|
},
|
520
561
|
{
|
521
562
|
"kind": "field",
|
@@ -526,11 +567,7 @@
|
|
526
567
|
"description": "The aria level of the accordion component.",
|
527
568
|
"default": "3",
|
528
569
|
"attribute": "data-aria-level",
|
529
|
-
"reflects": true
|
530
|
-
"inheritedFrom": {
|
531
|
-
"name": "AccordionButton",
|
532
|
-
"module": "components/accordionbutton/accordionbutton.component.js"
|
533
|
-
}
|
570
|
+
"reflects": true
|
534
571
|
},
|
535
572
|
{
|
536
573
|
"kind": "field",
|
@@ -541,11 +578,7 @@
|
|
541
578
|
"description": "The visibility of the accordion button.",
|
542
579
|
"default": "false",
|
543
580
|
"attribute": "expanded",
|
544
|
-
"reflects": true
|
545
|
-
"inheritedFrom": {
|
546
|
-
"name": "AccordionButton",
|
547
|
-
"module": "components/accordionbutton/accordionbutton.component.js"
|
548
|
-
}
|
581
|
+
"reflects": true
|
549
582
|
},
|
550
583
|
{
|
551
584
|
"kind": "field",
|
@@ -555,11 +588,7 @@
|
|
555
588
|
},
|
556
589
|
"description": "The header text of the accordion item.",
|
557
590
|
"attribute": "header-text",
|
558
|
-
"reflects": true
|
559
|
-
"inheritedFrom": {
|
560
|
-
"name": "AccordionButton",
|
561
|
-
"module": "components/accordionbutton/accordionbutton.component.js"
|
562
|
-
}
|
591
|
+
"reflects": true
|
563
592
|
},
|
564
593
|
{
|
565
594
|
"kind": "field",
|
@@ -568,11 +597,7 @@
|
|
568
597
|
"text": "IconNames | undefined"
|
569
598
|
},
|
570
599
|
"description": "The leading icon that is displayed before the header text.",
|
571
|
-
"attribute": "prefix-icon"
|
572
|
-
"inheritedFrom": {
|
573
|
-
"name": "AccordionButton",
|
574
|
-
"module": "components/accordionbutton/accordionbutton.component.js"
|
575
|
-
}
|
600
|
+
"attribute": "prefix-icon"
|
576
601
|
},
|
577
602
|
{
|
578
603
|
"kind": "method",
|
@@ -583,11 +608,7 @@
|
|
583
608
|
"text": "void"
|
584
609
|
}
|
585
610
|
},
|
586
|
-
"description": "Handles the click event of the header section.\nIf the accordion is disabled, it will not toggle the expanded state.\nIt will dispatch the `shown` event with the current expanded state."
|
587
|
-
"inheritedFrom": {
|
588
|
-
"name": "AccordionButton",
|
589
|
-
"module": "components/accordionbutton/accordionbutton.component.js"
|
590
|
-
}
|
611
|
+
"description": "Handles the click event of the header section.\nIf the accordion is disabled, it will not toggle the expanded state.\nIt will dispatch the `shown` event with the current expanded state."
|
591
612
|
},
|
592
613
|
{
|
593
614
|
"kind": "method",
|
@@ -598,11 +619,7 @@
|
|
598
619
|
"text": "void"
|
599
620
|
}
|
600
621
|
},
|
601
|
-
"description": "Dispatches the `shown` event with the current expanded state.\nThe event is cancelable and bubbles.\nThe event detail contains the current expanded state."
|
602
|
-
"inheritedFrom": {
|
603
|
-
"name": "AccordionButton",
|
604
|
-
"module": "components/accordionbutton/accordionbutton.component.js"
|
605
|
-
}
|
622
|
+
"description": "Dispatches the `shown` event with the current expanded state.\nThe event is cancelable and bubbles.\nThe event detail contains the current expanded state."
|
606
623
|
},
|
607
624
|
{
|
608
625
|
"kind": "method",
|
@@ -622,11 +639,7 @@
|
|
622
639
|
"description": "The KeyboardEvent fired."
|
623
640
|
}
|
624
641
|
],
|
625
|
-
"description": "Handles the keydown event of the component.\nIf the key pressed is either Enter or Space, it calls the handleHeaderClick method.\nThis allows keyboard users to toggle the accordion button using these keys."
|
626
|
-
"inheritedFrom": {
|
627
|
-
"name": "AccordionButton",
|
628
|
-
"module": "components/accordionbutton/accordionbutton.component.js"
|
629
|
-
}
|
642
|
+
"description": "Handles the keydown event of the component.\nIf the key pressed is either Enter or Space, it calls the handleHeaderClick method.\nThis allows keyboard users to toggle the accordion button using these keys."
|
630
643
|
},
|
631
644
|
{
|
632
645
|
"kind": "method",
|
@@ -645,11 +658,7 @@
|
|
645
658
|
"text": "IconNames"
|
646
659
|
}
|
647
660
|
}
|
648
|
-
]
|
649
|
-
"inheritedFrom": {
|
650
|
-
"name": "AccordionButton",
|
651
|
-
"module": "components/accordionbutton/accordionbutton.component.js"
|
652
|
-
}
|
661
|
+
]
|
653
662
|
},
|
654
663
|
{
|
655
664
|
"kind": "method",
|
@@ -659,10 +668,16 @@
|
|
659
668
|
"type": {
|
660
669
|
"text": "TemplateResult | typeof nothing"
|
661
670
|
}
|
662
|
-
}
|
663
|
-
|
664
|
-
|
665
|
-
|
671
|
+
}
|
672
|
+
},
|
673
|
+
{
|
674
|
+
"kind": "method",
|
675
|
+
"name": "renderHeader",
|
676
|
+
"privacy": "protected",
|
677
|
+
"return": {
|
678
|
+
"type": {
|
679
|
+
"text": "TemplateResult"
|
680
|
+
}
|
666
681
|
}
|
667
682
|
},
|
668
683
|
{
|
@@ -674,11 +689,7 @@
|
|
674
689
|
"text": ""
|
675
690
|
}
|
676
691
|
},
|
677
|
-
"description": "Returns the icon name based on the expanded state.\nIf the accordion button is disabled, it always returns the arrow down icon.\nOtherwise, it returns the arrow up icon if the accordion button is expanded, otherwise the arrow down icon."
|
678
|
-
"inheritedFrom": {
|
679
|
-
"name": "AccordionButton",
|
680
|
-
"module": "components/accordionbutton/accordionbutton.component.js"
|
681
|
-
}
|
692
|
+
"description": "Returns the icon name based on the expanded state.\nIf the accordion button is disabled, it always returns the arrow down icon.\nOtherwise, it returns the arrow up icon if the accordion button is expanded, otherwise the arrow down icon."
|
682
693
|
},
|
683
694
|
{
|
684
695
|
"kind": "method",
|
@@ -688,45 +699,32 @@
|
|
688
699
|
"type": {
|
689
700
|
"text": "TemplateResult | typeof nothing"
|
690
701
|
}
|
702
|
+
}
|
703
|
+
},
|
704
|
+
{
|
705
|
+
"kind": "field",
|
706
|
+
"name": "disabled",
|
707
|
+
"type": {
|
708
|
+
"text": "boolean | undefined"
|
691
709
|
},
|
710
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
711
|
+
"default": "undefined",
|
712
|
+
"attribute": "disabled",
|
713
|
+
"reflects": true,
|
692
714
|
"inheritedFrom": {
|
693
|
-
"name": "
|
694
|
-
"module": "
|
715
|
+
"name": "DisabledMixin",
|
716
|
+
"module": "utils/mixins/DisabledMixin.js"
|
695
717
|
}
|
696
718
|
}
|
697
719
|
],
|
698
720
|
"events": [
|
699
721
|
{
|
700
|
-
"description": "(React: onShown) This event is triggered when the accordion is expanded.",
|
722
|
+
"description": "(React: onShown) This event is triggered when the accordion button is expanded.",
|
701
723
|
"name": "shown",
|
702
|
-
"reactName": "onShown"
|
703
|
-
"inheritedFrom": {
|
704
|
-
"name": "AccordionButton",
|
705
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
706
|
-
}
|
724
|
+
"reactName": "onShown"
|
707
725
|
}
|
708
726
|
],
|
709
|
-
"superclass": {
|
710
|
-
"name": "AccordionButton",
|
711
|
-
"module": "/src/components/accordionbutton/accordionbutton.component"
|
712
|
-
},
|
713
|
-
"tagName": "mdc-accordion",
|
714
|
-
"jsDoc": "/**\n * An accordion contains a header and body section with a focusable heading that can be expanded or collapsed.\n *\n * The header section contains:\n * - Prefix Icon\n * - Header Text\n * - Leading Slot - Contains the leading controls of the accordion on the header section. This will be placed on the leading side, after the header text.\n * - Trailing Slot - Contains the trailing controls of the accordion on the header section. This will be placed on the trailing side, before the expand/collapse button.\n *\n * The body section contains:\n * - Default slot - User can place any content inside the body section.\n *\n * The accordion can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\n * There are two types of variants based on that the border styling of the accordion gets reflected. <br/>\n * There are two sizes of accordion, one is small and the other is large.\n * Small size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n *\n * By default, the header text in the accordion heading is of H3 with an aria-level of '3'.\n * If this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n *\n * An accordion can be disabled, and when it's disabled, the header section will not be clickable.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If an accordion is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion.\n *\n * @tagname mdc-accordion\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot leading-controls - The leading controls slot of the accordion on the header section.\n * @slot trailing-controls - The trailing controls slot of the accordion on the header section.\n * @slot default - The default slot contains the body section of the accordion. User can place anything inside this body slot.\n *\n * @event shown - (React: onShown) This event is triggered when the accordion is expanded.\n *\n * @cssproperty --mdc-accordionbutton-border-color - The border color of the accordion.\n * @cssproperty --mdc-accordionbutton-hover-color - The hover color of the accordion.\n * @cssproperty --mdc-accordionbutton-active-color - The active color of the accordion.\n * @cssproperty --mdc-accordionbutton-disabled-color - The disabled color of the accordion.\n *\n * @csspart header-section - The header section of the accordion.\n * @csspart leading-header - The leading header of the accordion.\n * @csspart trailing-header - The trailing header of the accordion.\n * @csspart trailing-header__button - The trailing header button of the accordion.\n * @csspart body-section - The body section of the accordion.\n */",
|
715
|
-
"customElement": true,
|
716
727
|
"attributes": [
|
717
|
-
{
|
718
|
-
"name": "disabled",
|
719
|
-
"type": {
|
720
|
-
"text": "boolean | undefined"
|
721
|
-
},
|
722
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
723
|
-
"default": "undefined",
|
724
|
-
"fieldName": "disabled",
|
725
|
-
"inheritedFrom": {
|
726
|
-
"name": "AccordionButton",
|
727
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
728
|
-
}
|
729
|
-
},
|
730
728
|
{
|
731
729
|
"name": "size",
|
732
730
|
"type": {
|
@@ -734,11 +732,7 @@
|
|
734
732
|
},
|
735
733
|
"description": "The size of the accordion item.",
|
736
734
|
"default": "'small'",
|
737
|
-
"fieldName": "size"
|
738
|
-
"inheritedFrom": {
|
739
|
-
"name": "AccordionButton",
|
740
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
741
|
-
}
|
735
|
+
"fieldName": "size"
|
742
736
|
},
|
743
737
|
{
|
744
738
|
"name": "variant",
|
@@ -747,11 +741,7 @@
|
|
747
741
|
},
|
748
742
|
"description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
|
749
743
|
"default": "'default'",
|
750
|
-
"fieldName": "variant"
|
751
|
-
"inheritedFrom": {
|
752
|
-
"name": "AccordionButton",
|
753
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
754
|
-
}
|
744
|
+
"fieldName": "variant"
|
755
745
|
},
|
756
746
|
{
|
757
747
|
"name": "data-aria-level",
|
@@ -760,11 +750,7 @@
|
|
760
750
|
},
|
761
751
|
"description": "The aria level of the accordion component.",
|
762
752
|
"default": "3",
|
763
|
-
"fieldName": "dataAriaLevel"
|
764
|
-
"inheritedFrom": {
|
765
|
-
"name": "AccordionButton",
|
766
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
767
|
-
}
|
753
|
+
"fieldName": "dataAriaLevel"
|
768
754
|
},
|
769
755
|
{
|
770
756
|
"name": "expanded",
|
@@ -773,11 +759,7 @@
|
|
773
759
|
},
|
774
760
|
"description": "The visibility of the accordion button.",
|
775
761
|
"default": "false",
|
776
|
-
"fieldName": "expanded"
|
777
|
-
"inheritedFrom": {
|
778
|
-
"name": "AccordionButton",
|
779
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
780
|
-
}
|
762
|
+
"fieldName": "expanded"
|
781
763
|
},
|
782
764
|
{
|
783
765
|
"name": "header-text",
|
@@ -785,11 +767,7 @@
|
|
785
767
|
"text": "string | undefined"
|
786
768
|
},
|
787
769
|
"description": "The header text of the accordion item.",
|
788
|
-
"fieldName": "headerText"
|
789
|
-
"inheritedFrom": {
|
790
|
-
"name": "AccordionButton",
|
791
|
-
"module": "src/components/accordionbutton/accordionbutton.component.ts"
|
792
|
-
}
|
770
|
+
"fieldName": "headerText"
|
793
771
|
},
|
794
772
|
{
|
795
773
|
"name": "prefix-icon",
|
@@ -797,13 +775,35 @@
|
|
797
775
|
"text": "IconNames | undefined"
|
798
776
|
},
|
799
777
|
"description": "The leading icon that is displayed before the header text.",
|
800
|
-
"fieldName": "prefixIcon"
|
778
|
+
"fieldName": "prefixIcon"
|
779
|
+
},
|
780
|
+
{
|
781
|
+
"name": "disabled",
|
782
|
+
"type": {
|
783
|
+
"text": "boolean | undefined"
|
784
|
+
},
|
785
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
786
|
+
"default": "undefined",
|
787
|
+
"fieldName": "disabled",
|
801
788
|
"inheritedFrom": {
|
802
|
-
"name": "
|
803
|
-
"module": "src/
|
789
|
+
"name": "DisabledMixin",
|
790
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
804
791
|
}
|
805
792
|
}
|
806
|
-
]
|
793
|
+
],
|
794
|
+
"mixins": [
|
795
|
+
{
|
796
|
+
"name": "DisabledMixin",
|
797
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
798
|
+
}
|
799
|
+
],
|
800
|
+
"superclass": {
|
801
|
+
"name": "Component",
|
802
|
+
"module": "/src/models"
|
803
|
+
},
|
804
|
+
"tagName": "mdc-accordionbutton",
|
805
|
+
"jsDoc": "/**\n * An accordion button contains a header and body section with optional slots inside the heading which are focusable.\n *\n * The header section contains:\n * - Prefix Icon\n * - Header Text\n *\n * The body section contains:\n * - Default slot - User can place any content inside the body section.\n *\n * The accordion button can be expanded or collapsed. The visibility of the body section can be controlled by `expanded` attribute. <br/>\n * There are two types of variants based on that the border styling of the accordion gets reflected. <br/>\n * There are two sizes of accordion, one is small and the other is large.\n * Small size has a padding of 1rem (16px) and large size has a padding of 1.5rem (24px) for the body section of accordion.\n *\n * By default, the header text in the accordion heading is of H3 with an aria-level of '3'.\n * If this accordion is placed on any other level in the entire webpage, then do adjust the aria-level number based on that.\n *\n * An accordion can be disabled, and when it's disabled, the header section will not be clickable.\n *\n * If you do need any controls on your accordion heading, then it's advised to use `accordion` component.\n *\n * If an accordion button is expanded by default, then the screen reader might loose focus when toggling the visibilty of the accordion button.\n *\n * @tagname mdc-accordionbutton\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot default - The default slot contains the body section of the accordion. User can place anything inside this body slot.\n *\n * @event shown - (React: onShown) This event is triggered when the accordion button is expanded.\n *\n * @cssproperty --mdc-accordionbutton-border-color - The border color of the accordion button.\n * @cssproperty --mdc-accordionbutton-hover-color - The hover color of the accordion button.\n * @cssproperty --mdc-accordionbutton-active-color - The active color of the accordion button.\n * @cssproperty --mdc-accordionbutton-disabled-color - The disabled color of the accordion button.\n *\n * @csspart header-section - The header section of the accordion button.\n * @csspart header-button-section - The header button section of the accordion button.\n * @csspart leading-header - The leading header of the accordion button.\n * @csspart trailing-header - The trailing header of the accordion button.\n * @csspart trailing-header__icon - The trailing header icon of the accordion button.\n * @csspart body-section - The body section of the accordion button.\n */",
|
806
|
+
"customElement": true
|
807
807
|
}
|
808
808
|
],
|
809
809
|
"exports": [
|
@@ -811,8 +811,8 @@
|
|
811
811
|
"kind": "js",
|
812
812
|
"name": "default",
|
813
813
|
"declaration": {
|
814
|
-
"name": "
|
815
|
-
"module": "components/
|
814
|
+
"name": "AccordionButton",
|
815
|
+
"module": "components/accordionbutton/accordionbutton.component.js"
|
816
816
|
}
|
817
817
|
}
|
818
818
|
]
|
@@ -30893,6 +30893,185 @@
|
|
30893
30893
|
}
|
30894
30894
|
]
|
30895
30895
|
},
|
30896
|
+
{
|
30897
|
+
"kind": "javascript-module",
|
30898
|
+
"path": "components/screenreaderannouncer/screenreaderannouncer.component.js",
|
30899
|
+
"declarations": [
|
30900
|
+
{
|
30901
|
+
"kind": "class",
|
30902
|
+
"description": "`mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n\nTo make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n\n**Internal logic**\n\nWhen the screenreader announcer is connected to the DOM, if the `identity` attribute is not\nprovided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\nin the DOM. If the `identity` attribute is provided, the identity element is used and no new element\nis created in the DOM.\n\nWhen the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n`aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\nAfter delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n\nThe announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n\nWhen the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\nall the announcement elements added are removed from the DOM and timeouts cleared.\n\n**Note**\n1. The default delay of 150 miliseconds is used as we dynamically generate the\naria-live region in the DOM and add the announcement text to it.\n3. If no `identity` is provided, all the screen reader components will create and use only one\n`<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n\nReference: https://patrickhlauke.github.io/aria/tests/live-regions/",
|
30903
|
+
"name": "ScreenreaderAnnouncer",
|
30904
|
+
"members": [
|
30905
|
+
{
|
30906
|
+
"kind": "field",
|
30907
|
+
"name": "announcement",
|
30908
|
+
"type": {
|
30909
|
+
"text": "string"
|
30910
|
+
},
|
30911
|
+
"default": "''",
|
30912
|
+
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
30913
|
+
"attribute": "announcement",
|
30914
|
+
"reflects": true
|
30915
|
+
},
|
30916
|
+
{
|
30917
|
+
"kind": "field",
|
30918
|
+
"name": "identity",
|
30919
|
+
"type": {
|
30920
|
+
"text": "string"
|
30921
|
+
},
|
30922
|
+
"default": "''",
|
30923
|
+
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
30924
|
+
"attribute": "identity",
|
30925
|
+
"reflects": true
|
30926
|
+
},
|
30927
|
+
{
|
30928
|
+
"kind": "field",
|
30929
|
+
"name": "dataAriaLive",
|
30930
|
+
"type": {
|
30931
|
+
"text": "AriaLive"
|
30932
|
+
},
|
30933
|
+
"description": "Aria live value for announcement.",
|
30934
|
+
"default": "'polite'",
|
30935
|
+
"attribute": "data-aria-live",
|
30936
|
+
"reflects": true
|
30937
|
+
},
|
30938
|
+
{
|
30939
|
+
"kind": "field",
|
30940
|
+
"name": "delay",
|
30941
|
+
"type": {
|
30942
|
+
"text": "number"
|
30943
|
+
},
|
30944
|
+
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
30945
|
+
"default": "150",
|
30946
|
+
"attribute": "delay",
|
30947
|
+
"reflects": true
|
30948
|
+
},
|
30949
|
+
{
|
30950
|
+
"kind": "field",
|
30951
|
+
"name": "timeout",
|
30952
|
+
"type": {
|
30953
|
+
"text": "number"
|
30954
|
+
},
|
30955
|
+
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
30956
|
+
"default": "20_000",
|
30957
|
+
"attribute": "timeout",
|
30958
|
+
"reflects": true
|
30959
|
+
},
|
30960
|
+
{
|
30961
|
+
"kind": "method",
|
30962
|
+
"name": "announce",
|
30963
|
+
"parameters": [
|
30964
|
+
{
|
30965
|
+
"name": "announcement",
|
30966
|
+
"type": {
|
30967
|
+
"text": "string"
|
30968
|
+
},
|
30969
|
+
"description": "The announcement to be made."
|
30970
|
+
},
|
30971
|
+
{
|
30972
|
+
"name": "delay",
|
30973
|
+
"type": {
|
30974
|
+
"text": "number"
|
30975
|
+
},
|
30976
|
+
"description": "The delay in milliseconds before announcing the message."
|
30977
|
+
},
|
30978
|
+
{
|
30979
|
+
"name": "timeout",
|
30980
|
+
"type": {
|
30981
|
+
"text": "number"
|
30982
|
+
},
|
30983
|
+
"description": "The timeout in milliseconds before removing the announcement."
|
30984
|
+
},
|
30985
|
+
{
|
30986
|
+
"name": "ariaLive",
|
30987
|
+
"type": {
|
30988
|
+
"text": "AriaLive"
|
30989
|
+
},
|
30990
|
+
"description": "The aria live value for the announcement."
|
30991
|
+
}
|
30992
|
+
],
|
30993
|
+
"description": "Announces the given announcement to the screen reader.\n\nA div element with aria-live attribute set to the given ariaLive value is created\nand a p element with the announcement text is appended to it.\n\nThe div element is appended to the element in the DOM identified with id as\nidentity attribute."
|
30994
|
+
},
|
30995
|
+
{
|
30996
|
+
"kind": "method",
|
30997
|
+
"name": "clearTimeOutsAndAnnouncements",
|
30998
|
+
"privacy": "private",
|
30999
|
+
"description": "Clears all timeouts and removes all announcements from the screen reader."
|
31000
|
+
},
|
31001
|
+
{
|
31002
|
+
"kind": "method",
|
31003
|
+
"name": "createAnnouncementAriaLiveRegion",
|
31004
|
+
"privacy": "private",
|
31005
|
+
"description": "Creates a div element with id as identity attribute in the DOM.\n\nIf the identity attribute is not provided, it is set internally to\n`mdc-screenreaderannouncer-identity`."
|
31006
|
+
}
|
31007
|
+
],
|
31008
|
+
"attributes": [
|
31009
|
+
{
|
31010
|
+
"name": "announcement",
|
31011
|
+
"type": {
|
31012
|
+
"text": "string"
|
31013
|
+
},
|
31014
|
+
"default": "''",
|
31015
|
+
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
31016
|
+
"fieldName": "announcement"
|
31017
|
+
},
|
31018
|
+
{
|
31019
|
+
"name": "identity",
|
31020
|
+
"type": {
|
31021
|
+
"text": "string"
|
31022
|
+
},
|
31023
|
+
"default": "''",
|
31024
|
+
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
31025
|
+
"fieldName": "identity"
|
31026
|
+
},
|
31027
|
+
{
|
31028
|
+
"name": "data-aria-live",
|
31029
|
+
"type": {
|
31030
|
+
"text": "AriaLive"
|
31031
|
+
},
|
31032
|
+
"description": "Aria live value for announcement.",
|
31033
|
+
"default": "'polite'",
|
31034
|
+
"fieldName": "dataAriaLive"
|
31035
|
+
},
|
31036
|
+
{
|
31037
|
+
"name": "delay",
|
31038
|
+
"type": {
|
31039
|
+
"text": "number"
|
31040
|
+
},
|
31041
|
+
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
31042
|
+
"default": "150",
|
31043
|
+
"fieldName": "delay"
|
31044
|
+
},
|
31045
|
+
{
|
31046
|
+
"name": "timeout",
|
31047
|
+
"type": {
|
31048
|
+
"text": "number"
|
31049
|
+
},
|
31050
|
+
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
31051
|
+
"default": "20_000",
|
31052
|
+
"fieldName": "timeout"
|
31053
|
+
}
|
31054
|
+
],
|
31055
|
+
"superclass": {
|
31056
|
+
"name": "Component",
|
31057
|
+
"module": "/src/models"
|
31058
|
+
},
|
31059
|
+
"tagName": "mdc-screenreaderannouncer",
|
31060
|
+
"jsDoc": "/**\n * `mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n *\n * To make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n *\n * **Internal logic**\n *\n * When the screenreader announcer is connected to the DOM, if the `identity` attribute is not\n * provided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\n * in the DOM. If the `identity` attribute is provided, the identity element is used and no new element\n * is created in the DOM.\n *\n * When the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n * `aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\n * After delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n *\n * The announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n *\n * When the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\n * all the announcement elements added are removed from the DOM and timeouts cleared.\n *\n * **Note**\n * 1. The default delay of 150 miliseconds is used as we dynamically generate the\n * aria-live region in the DOM and add the announcement text to it.\n * 3. If no `identity` is provided, all the screen reader components will create and use only one\n * `<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n *\n * Reference: https://patrickhlauke.github.io/aria/tests/live-regions/\n *\n * @tagname mdc-screenreaderannouncer\n */",
|
31061
|
+
"customElement": true
|
31062
|
+
}
|
31063
|
+
],
|
31064
|
+
"exports": [
|
31065
|
+
{
|
31066
|
+
"kind": "js",
|
31067
|
+
"name": "default",
|
31068
|
+
"declaration": {
|
31069
|
+
"name": "ScreenreaderAnnouncer",
|
31070
|
+
"module": "components/screenreaderannouncer/screenreaderannouncer.component.js"
|
31071
|
+
}
|
31072
|
+
}
|
31073
|
+
]
|
31074
|
+
},
|
30896
31075
|
{
|
30897
31076
|
"kind": "javascript-module",
|
30898
31077
|
"path": "components/searchfield/searchfield.component.js",
|
@@ -32134,185 +32313,6 @@
|
|
32134
32313
|
}
|
32135
32314
|
]
|
32136
32315
|
},
|
32137
|
-
{
|
32138
|
-
"kind": "javascript-module",
|
32139
|
-
"path": "components/screenreaderannouncer/screenreaderannouncer.component.js",
|
32140
|
-
"declarations": [
|
32141
|
-
{
|
32142
|
-
"kind": "class",
|
32143
|
-
"description": "`mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n\nTo make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n\n**Internal logic**\n\nWhen the screenreader announcer is connected to the DOM, if the `identity` attribute is not\nprovided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\nin the DOM. If the `identity` attribute is provided, the identity element is used and no new element\nis created in the DOM.\n\nWhen the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n`aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\nAfter delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n\nThe announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n\nWhen the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\nall the announcement elements added are removed from the DOM and timeouts cleared.\n\n**Note**\n1. The default delay of 150 miliseconds is used as we dynamically generate the\naria-live region in the DOM and add the announcement text to it.\n3. If no `identity` is provided, all the screen reader components will create and use only one\n`<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n\nReference: https://patrickhlauke.github.io/aria/tests/live-regions/",
|
32144
|
-
"name": "ScreenreaderAnnouncer",
|
32145
|
-
"members": [
|
32146
|
-
{
|
32147
|
-
"kind": "field",
|
32148
|
-
"name": "announcement",
|
32149
|
-
"type": {
|
32150
|
-
"text": "string"
|
32151
|
-
},
|
32152
|
-
"default": "''",
|
32153
|
-
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
32154
|
-
"attribute": "announcement",
|
32155
|
-
"reflects": true
|
32156
|
-
},
|
32157
|
-
{
|
32158
|
-
"kind": "field",
|
32159
|
-
"name": "identity",
|
32160
|
-
"type": {
|
32161
|
-
"text": "string"
|
32162
|
-
},
|
32163
|
-
"default": "''",
|
32164
|
-
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
32165
|
-
"attribute": "identity",
|
32166
|
-
"reflects": true
|
32167
|
-
},
|
32168
|
-
{
|
32169
|
-
"kind": "field",
|
32170
|
-
"name": "dataAriaLive",
|
32171
|
-
"type": {
|
32172
|
-
"text": "AriaLive"
|
32173
|
-
},
|
32174
|
-
"description": "Aria live value for announcement.",
|
32175
|
-
"default": "'polite'",
|
32176
|
-
"attribute": "data-aria-live",
|
32177
|
-
"reflects": true
|
32178
|
-
},
|
32179
|
-
{
|
32180
|
-
"kind": "field",
|
32181
|
-
"name": "delay",
|
32182
|
-
"type": {
|
32183
|
-
"text": "number"
|
32184
|
-
},
|
32185
|
-
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
32186
|
-
"default": "150",
|
32187
|
-
"attribute": "delay",
|
32188
|
-
"reflects": true
|
32189
|
-
},
|
32190
|
-
{
|
32191
|
-
"kind": "field",
|
32192
|
-
"name": "timeout",
|
32193
|
-
"type": {
|
32194
|
-
"text": "number"
|
32195
|
-
},
|
32196
|
-
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
32197
|
-
"default": "20_000",
|
32198
|
-
"attribute": "timeout",
|
32199
|
-
"reflects": true
|
32200
|
-
},
|
32201
|
-
{
|
32202
|
-
"kind": "method",
|
32203
|
-
"name": "announce",
|
32204
|
-
"parameters": [
|
32205
|
-
{
|
32206
|
-
"name": "announcement",
|
32207
|
-
"type": {
|
32208
|
-
"text": "string"
|
32209
|
-
},
|
32210
|
-
"description": "The announcement to be made."
|
32211
|
-
},
|
32212
|
-
{
|
32213
|
-
"name": "delay",
|
32214
|
-
"type": {
|
32215
|
-
"text": "number"
|
32216
|
-
},
|
32217
|
-
"description": "The delay in milliseconds before announcing the message."
|
32218
|
-
},
|
32219
|
-
{
|
32220
|
-
"name": "timeout",
|
32221
|
-
"type": {
|
32222
|
-
"text": "number"
|
32223
|
-
},
|
32224
|
-
"description": "The timeout in milliseconds before removing the announcement."
|
32225
|
-
},
|
32226
|
-
{
|
32227
|
-
"name": "ariaLive",
|
32228
|
-
"type": {
|
32229
|
-
"text": "AriaLive"
|
32230
|
-
},
|
32231
|
-
"description": "The aria live value for the announcement."
|
32232
|
-
}
|
32233
|
-
],
|
32234
|
-
"description": "Announces the given announcement to the screen reader.\n\nA div element with aria-live attribute set to the given ariaLive value is created\nand a p element with the announcement text is appended to it.\n\nThe div element is appended to the element in the DOM identified with id as\nidentity attribute."
|
32235
|
-
},
|
32236
|
-
{
|
32237
|
-
"kind": "method",
|
32238
|
-
"name": "clearTimeOutsAndAnnouncements",
|
32239
|
-
"privacy": "private",
|
32240
|
-
"description": "Clears all timeouts and removes all announcements from the screen reader."
|
32241
|
-
},
|
32242
|
-
{
|
32243
|
-
"kind": "method",
|
32244
|
-
"name": "createAnnouncementAriaLiveRegion",
|
32245
|
-
"privacy": "private",
|
32246
|
-
"description": "Creates a div element with id as identity attribute in the DOM.\n\nIf the identity attribute is not provided, it is set internally to\n`mdc-screenreaderannouncer-identity`."
|
32247
|
-
}
|
32248
|
-
],
|
32249
|
-
"attributes": [
|
32250
|
-
{
|
32251
|
-
"name": "announcement",
|
32252
|
-
"type": {
|
32253
|
-
"text": "string"
|
32254
|
-
},
|
32255
|
-
"default": "''",
|
32256
|
-
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
32257
|
-
"fieldName": "announcement"
|
32258
|
-
},
|
32259
|
-
{
|
32260
|
-
"name": "identity",
|
32261
|
-
"type": {
|
32262
|
-
"text": "string"
|
32263
|
-
},
|
32264
|
-
"default": "''",
|
32265
|
-
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
32266
|
-
"fieldName": "identity"
|
32267
|
-
},
|
32268
|
-
{
|
32269
|
-
"name": "data-aria-live",
|
32270
|
-
"type": {
|
32271
|
-
"text": "AriaLive"
|
32272
|
-
},
|
32273
|
-
"description": "Aria live value for announcement.",
|
32274
|
-
"default": "'polite'",
|
32275
|
-
"fieldName": "dataAriaLive"
|
32276
|
-
},
|
32277
|
-
{
|
32278
|
-
"name": "delay",
|
32279
|
-
"type": {
|
32280
|
-
"text": "number"
|
32281
|
-
},
|
32282
|
-
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
32283
|
-
"default": "150",
|
32284
|
-
"fieldName": "delay"
|
32285
|
-
},
|
32286
|
-
{
|
32287
|
-
"name": "timeout",
|
32288
|
-
"type": {
|
32289
|
-
"text": "number"
|
32290
|
-
},
|
32291
|
-
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
32292
|
-
"default": "20_000",
|
32293
|
-
"fieldName": "timeout"
|
32294
|
-
}
|
32295
|
-
],
|
32296
|
-
"superclass": {
|
32297
|
-
"name": "Component",
|
32298
|
-
"module": "/src/models"
|
32299
|
-
},
|
32300
|
-
"tagName": "mdc-screenreaderannouncer",
|
32301
|
-
"jsDoc": "/**\n * `mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n *\n * To make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n *\n * **Internal logic**\n *\n * When the screenreader announcer is connected to the DOM, if the `identity` attribute is not\n * provided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\n * in the DOM. If the `identity` attribute is provided, the identity element is used and no new element\n * is created in the DOM.\n *\n * When the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n * `aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\n * After delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n *\n * The announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n *\n * When the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\n * all the announcement elements added are removed from the DOM and timeouts cleared.\n *\n * **Note**\n * 1. The default delay of 150 miliseconds is used as we dynamically generate the\n * aria-live region in the DOM and add the announcement text to it.\n * 3. If no `identity` is provided, all the screen reader components will create and use only one\n * `<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n *\n * Reference: https://patrickhlauke.github.io/aria/tests/live-regions/\n *\n * @tagname mdc-screenreaderannouncer\n */",
|
32302
|
-
"customElement": true
|
32303
|
-
}
|
32304
|
-
],
|
32305
|
-
"exports": [
|
32306
|
-
{
|
32307
|
-
"kind": "js",
|
32308
|
-
"name": "default",
|
32309
|
-
"declaration": {
|
32310
|
-
"name": "ScreenreaderAnnouncer",
|
32311
|
-
"module": "components/screenreaderannouncer/screenreaderannouncer.component.js"
|
32312
|
-
}
|
32313
|
-
}
|
32314
|
-
]
|
32315
|
-
},
|
32316
32316
|
{
|
32317
32317
|
"kind": "javascript-module",
|
32318
32318
|
"path": "components/select/select.component.js",
|
@@ -34194,129 +34194,134 @@
|
|
34194
34194
|
},
|
34195
34195
|
{
|
34196
34196
|
"kind": "javascript-module",
|
34197
|
-
"path": "components/
|
34197
|
+
"path": "components/staticcheckbox/staticcheckbox.component.js",
|
34198
34198
|
"declarations": [
|
34199
34199
|
{
|
34200
34200
|
"kind": "class",
|
34201
|
-
"description": "
|
34202
|
-
"name": "
|
34201
|
+
"description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 3 properties - checked, indeterminate and disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
|
34202
|
+
"name": "StaticCheckbox",
|
34203
34203
|
"cssProperties": [
|
34204
34204
|
{
|
34205
|
-
"description": "
|
34206
|
-
"name": "--mdc-
|
34205
|
+
"description": "Border color in high contrast.",
|
34206
|
+
"name": "--mdc-staticcheckbox-border-color"
|
34207
34207
|
},
|
34208
34208
|
{
|
34209
|
-
"description": "
|
34210
|
-
"name": "--mdc-
|
34209
|
+
"description": "Background color for a selected checkbox.",
|
34210
|
+
"name": "--mdc-staticcheckbox-checked-background-color"
|
34211
34211
|
},
|
34212
34212
|
{
|
34213
|
-
"description": "
|
34214
|
-
"name": "--mdc-
|
34213
|
+
"description": "Background color for a disabled checkbox.",
|
34214
|
+
"name": "--mdc-staticcheckbox-disabled-background-color"
|
34215
34215
|
},
|
34216
34216
|
{
|
34217
|
-
"description": "
|
34218
|
-
"name": "--mdc-
|
34219
|
-
}
|
34220
|
-
],
|
34221
|
-
"cssParts": [
|
34217
|
+
"description": "Border color for a disabled checkbox.",
|
34218
|
+
"name": "--mdc-checkbox-disabled-border-color"
|
34219
|
+
},
|
34222
34220
|
{
|
34223
|
-
"description": "
|
34224
|
-
"name": "
|
34221
|
+
"description": "Background color for a disabled, selected checkbox.",
|
34222
|
+
"name": "--mdc-checkbox-disabled-checked-icon-color"
|
34225
34223
|
},
|
34226
34224
|
{
|
34227
|
-
"description": "
|
34228
|
-
"name": "
|
34225
|
+
"description": "Icon color for a disabled checkbox.",
|
34226
|
+
"name": "--mdc-staticcheckbox-disabled-icon-color"
|
34227
|
+
},
|
34228
|
+
{
|
34229
|
+
"description": "Background color for an unselected checkbox.",
|
34230
|
+
"name": "--mdc-staticcheckbox-icon-background-color"
|
34231
|
+
},
|
34232
|
+
{
|
34233
|
+
"description": "Default background color for an unselected checkbox.",
|
34234
|
+
"name": "--mdc-staticcheckbox-icon-border-color"
|
34235
|
+
},
|
34236
|
+
{
|
34237
|
+
"description": "Icon color for an unselected checkbox.",
|
34238
|
+
"name": "--mdc-staticcheckbox-icon-color"
|
34229
34239
|
}
|
34230
34240
|
],
|
34231
34241
|
"members": [
|
34232
34242
|
{
|
34233
34243
|
"kind": "field",
|
34234
|
-
"name": "
|
34244
|
+
"name": "checked",
|
34235
34245
|
"type": {
|
34236
|
-
"text": "boolean
|
34246
|
+
"text": "boolean"
|
34237
34247
|
},
|
34238
|
-
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
34239
34248
|
"default": "false",
|
34240
|
-
"
|
34249
|
+
"description": "Determines whether the checkbox is selected or unselected.",
|
34250
|
+
"attribute": "checked",
|
34241
34251
|
"reflects": true
|
34242
34252
|
},
|
34243
34253
|
{
|
34244
34254
|
"kind": "field",
|
34245
|
-
"name": "
|
34255
|
+
"name": "indeterminate",
|
34246
34256
|
"type": {
|
34247
|
-
"text": "
|
34257
|
+
"text": "boolean"
|
34248
34258
|
},
|
34249
|
-
"
|
34250
|
-
"
|
34251
|
-
"attribute": "
|
34259
|
+
"default": "false",
|
34260
|
+
"description": "Determines whether the checkbox is in an indeterminate state.",
|
34261
|
+
"attribute": "indeterminate",
|
34252
34262
|
"reflects": true
|
34253
34263
|
},
|
34254
34264
|
{
|
34255
34265
|
"kind": "field",
|
34256
|
-
"name": "
|
34257
|
-
"type": {
|
34258
|
-
"text": "string | null"
|
34259
|
-
},
|
34260
|
-
"default": "null",
|
34261
|
-
"description": "Aria-label attribute to be set for accessibility",
|
34262
|
-
"attribute": "aria-label"
|
34263
|
-
},
|
34264
|
-
{
|
34265
|
-
"kind": "field",
|
34266
|
-
"name": "variant",
|
34266
|
+
"name": "disabled",
|
34267
34267
|
"type": {
|
34268
|
-
"text": "
|
34268
|
+
"text": "boolean | undefined"
|
34269
34269
|
},
|
34270
|
-
"description": "
|
34271
|
-
"default": "
|
34272
|
-
"attribute": "
|
34273
|
-
"reflects": true
|
34270
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
34271
|
+
"default": "undefined",
|
34272
|
+
"attribute": "disabled",
|
34273
|
+
"reflects": true,
|
34274
|
+
"inheritedFrom": {
|
34275
|
+
"name": "DisabledMixin",
|
34276
|
+
"module": "utils/mixins/DisabledMixin.js"
|
34277
|
+
}
|
34274
34278
|
}
|
34275
34279
|
],
|
34276
34280
|
"attributes": [
|
34277
34281
|
{
|
34278
|
-
"name": "
|
34282
|
+
"name": "checked",
|
34279
34283
|
"type": {
|
34280
|
-
"text": "boolean
|
34284
|
+
"text": "boolean"
|
34281
34285
|
},
|
34282
|
-
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
34283
34286
|
"default": "false",
|
34284
|
-
"
|
34287
|
+
"description": "Determines whether the checkbox is selected or unselected.",
|
34288
|
+
"fieldName": "checked"
|
34285
34289
|
},
|
34286
34290
|
{
|
34287
|
-
"name": "
|
34291
|
+
"name": "indeterminate",
|
34288
34292
|
"type": {
|
34289
|
-
"text": "
|
34293
|
+
"text": "boolean"
|
34290
34294
|
},
|
34291
|
-
"
|
34292
|
-
"
|
34293
|
-
"fieldName": "
|
34295
|
+
"default": "false",
|
34296
|
+
"description": "Determines whether the checkbox is in an indeterminate state.",
|
34297
|
+
"fieldName": "indeterminate"
|
34294
34298
|
},
|
34295
34299
|
{
|
34296
|
-
"name": "
|
34300
|
+
"name": "disabled",
|
34297
34301
|
"type": {
|
34298
|
-
"text": "
|
34302
|
+
"text": "boolean | undefined"
|
34299
34303
|
},
|
34300
|
-
"
|
34301
|
-
"
|
34302
|
-
"fieldName": "
|
34303
|
-
|
34304
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
34305
|
+
"default": "undefined",
|
34306
|
+
"fieldName": "disabled",
|
34307
|
+
"inheritedFrom": {
|
34308
|
+
"name": "DisabledMixin",
|
34309
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
34310
|
+
}
|
34311
|
+
}
|
34312
|
+
],
|
34313
|
+
"mixins": [
|
34304
34314
|
{
|
34305
|
-
"name": "
|
34306
|
-
"
|
34307
|
-
"text": "SpinnerVariant"
|
34308
|
-
},
|
34309
|
-
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
34310
|
-
"default": "standalone",
|
34311
|
-
"fieldName": "variant"
|
34315
|
+
"name": "DisabledMixin",
|
34316
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
34312
34317
|
}
|
34313
34318
|
],
|
34314
34319
|
"superclass": {
|
34315
34320
|
"name": "Component",
|
34316
34321
|
"module": "/src/models"
|
34317
34322
|
},
|
34318
|
-
"tagName": "mdc-
|
34319
|
-
"jsDoc": "/**\n *
|
34323
|
+
"tagName": "mdc-staticcheckbox",
|
34324
|
+
"jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 3 properties - checked, indeterminate and disabled.\n *\n * We are using the same styling that has been created for the `mdc-checkbox` component.\n *\n * @tagname mdc-staticcheckbox\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-staticcheckbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-staticcheckbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-staticcheckbox-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-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.\n *\n */",
|
34320
34325
|
"customElement": true
|
34321
34326
|
}
|
34322
34327
|
],
|
@@ -34325,56 +34330,60 @@
|
|
34325
34330
|
"kind": "js",
|
34326
34331
|
"name": "default",
|
34327
34332
|
"declaration": {
|
34328
|
-
"name": "
|
34329
|
-
"module": "components/
|
34333
|
+
"name": "StaticCheckbox",
|
34334
|
+
"module": "components/staticcheckbox/staticcheckbox.component.js"
|
34330
34335
|
}
|
34331
34336
|
}
|
34332
34337
|
]
|
34333
34338
|
},
|
34334
34339
|
{
|
34335
34340
|
"kind": "javascript-module",
|
34336
|
-
"path": "components/
|
34341
|
+
"path": "components/staticradio/staticradio.component.js",
|
34337
34342
|
"declarations": [
|
34338
34343
|
{
|
34339
34344
|
"kind": "class",
|
34340
|
-
"description": "This is a decorative component that is styled to look as a
|
34341
|
-
"name": "
|
34345
|
+
"description": "This is a decorative component that is styled to look as a radio.\nIt has 2 properties - checked and disabled.\n\nWe are using the same styling that has been created for the `mdc-radio` component.",
|
34346
|
+
"name": "StaticRadio",
|
34342
34347
|
"cssProperties": [
|
34343
34348
|
{
|
34344
|
-
"description": "
|
34345
|
-
"name": "--mdc-
|
34349
|
+
"description": "size of the inner circle",
|
34350
|
+
"name": "--mdc-staticradio-inner-circle-size"
|
34346
34351
|
},
|
34347
34352
|
{
|
34348
|
-
"description": "
|
34349
|
-
"name": "--mdc-
|
34353
|
+
"description": "color of the label when disabled",
|
34354
|
+
"name": "--mdc-staticradio-text-disabled-color"
|
34350
34355
|
},
|
34351
34356
|
{
|
34352
|
-
"description": "
|
34353
|
-
"name": "--mdc-
|
34357
|
+
"description": "color of the radio button border when normal",
|
34358
|
+
"name": "--mdc-staticradio-normal-border-color"
|
34354
34359
|
},
|
34355
34360
|
{
|
34356
|
-
"description": "
|
34357
|
-
"name": "--mdc-
|
34361
|
+
"description": "color of the radio button border when disabled",
|
34362
|
+
"name": "--mdc-staticradio-disabled-border-color"
|
34358
34363
|
},
|
34359
34364
|
{
|
34360
|
-
"description": "
|
34361
|
-
"name": "--mdc-
|
34365
|
+
"description": "background color of the inner circle when normal",
|
34366
|
+
"name": "--mdc-staticradio-inner-circle-normal-background"
|
34362
34367
|
},
|
34363
34368
|
{
|
34364
|
-
"description": "
|
34365
|
-
"name": "--mdc-
|
34369
|
+
"description": "background color of the inner circle when disabled",
|
34370
|
+
"name": "--mdc-staticradio-inner-circle-disabled-background"
|
34366
34371
|
},
|
34367
34372
|
{
|
34368
|
-
"description": "
|
34369
|
-
"name": "--mdc-
|
34373
|
+
"description": "color of the radio button when inactive",
|
34374
|
+
"name": "--mdc-staticradio-control-inactive-color"
|
34370
34375
|
},
|
34371
34376
|
{
|
34372
|
-
"description": "
|
34373
|
-
"name": "--mdc-
|
34377
|
+
"description": "background color of the radio button when inactive and disabled",
|
34378
|
+
"name": "--mdc-staticradio-control-inactive-disabled-background"
|
34374
34379
|
},
|
34375
34380
|
{
|
34376
|
-
"description": "
|
34377
|
-
"name": "--mdc-
|
34381
|
+
"description": "color of the radio button when active",
|
34382
|
+
"name": "--mdc-staticradio-control-active-color"
|
34383
|
+
},
|
34384
|
+
{
|
34385
|
+
"description": "background color of the radio button when active and disabled",
|
34386
|
+
"name": "--mdc-staticradio-control-active-disabled-background"
|
34378
34387
|
}
|
34379
34388
|
],
|
34380
34389
|
"members": [
|
@@ -34385,19 +34394,19 @@
|
|
34385
34394
|
"text": "boolean"
|
34386
34395
|
},
|
34387
34396
|
"default": "false",
|
34388
|
-
"description": "Determines whether the
|
34397
|
+
"description": "Determines whether the radio is selected or unselected.",
|
34389
34398
|
"attribute": "checked",
|
34390
34399
|
"reflects": true
|
34391
34400
|
},
|
34392
34401
|
{
|
34393
34402
|
"kind": "field",
|
34394
|
-
"name": "
|
34403
|
+
"name": "readonly",
|
34395
34404
|
"type": {
|
34396
34405
|
"text": "boolean"
|
34397
34406
|
},
|
34398
34407
|
"default": "false",
|
34399
|
-
"description": "Determines whether the
|
34400
|
-
"attribute": "
|
34408
|
+
"description": "Determines whether the radio is read-only.",
|
34409
|
+
"attribute": "readonly",
|
34401
34410
|
"reflects": true
|
34402
34411
|
},
|
34403
34412
|
{
|
@@ -34423,17 +34432,17 @@
|
|
34423
34432
|
"text": "boolean"
|
34424
34433
|
},
|
34425
34434
|
"default": "false",
|
34426
|
-
"description": "Determines whether the
|
34435
|
+
"description": "Determines whether the radio is selected or unselected.",
|
34427
34436
|
"fieldName": "checked"
|
34428
34437
|
},
|
34429
34438
|
{
|
34430
|
-
"name": "
|
34439
|
+
"name": "readonly",
|
34431
34440
|
"type": {
|
34432
34441
|
"text": "boolean"
|
34433
34442
|
},
|
34434
34443
|
"default": "false",
|
34435
|
-
"description": "Determines whether the
|
34436
|
-
"fieldName": "
|
34444
|
+
"description": "Determines whether the radio is read-only.",
|
34445
|
+
"fieldName": "readonly"
|
34437
34446
|
},
|
34438
34447
|
{
|
34439
34448
|
"name": "disabled",
|
@@ -34459,8 +34468,8 @@
|
|
34459
34468
|
"name": "Component",
|
34460
34469
|
"module": "/src/models"
|
34461
34470
|
},
|
34462
|
-
"tagName": "mdc-
|
34463
|
-
"jsDoc": "/**\n * This is a decorative component that is styled to look as a
|
34471
|
+
"tagName": "mdc-staticradio",
|
34472
|
+
"jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
|
34464
34473
|
"customElement": true
|
34465
34474
|
}
|
34466
34475
|
],
|
@@ -34469,60 +34478,86 @@
|
|
34469
34478
|
"kind": "js",
|
34470
34479
|
"name": "default",
|
34471
34480
|
"declaration": {
|
34472
|
-
"name": "
|
34473
|
-
"module": "components/
|
34481
|
+
"name": "StaticRadio",
|
34482
|
+
"module": "components/staticradio/staticradio.component.js"
|
34474
34483
|
}
|
34475
34484
|
}
|
34476
34485
|
]
|
34477
34486
|
},
|
34478
34487
|
{
|
34479
34488
|
"kind": "javascript-module",
|
34480
|
-
"path": "components/
|
34489
|
+
"path": "components/statictoggle/statictoggle.component.js",
|
34481
34490
|
"declarations": [
|
34482
34491
|
{
|
34483
34492
|
"kind": "class",
|
34484
|
-
"description": "This is a decorative component that is styled to look as a
|
34485
|
-
"name": "
|
34493
|
+
"description": "This is a decorative component that is styled to look as a toggle. <br/>\nIt has 3 properties - checked, size and disabled. <br/>\nWe are using the same styling that has been created for the `mdc-toggle` component.",
|
34494
|
+
"name": "StaticToggle",
|
34486
34495
|
"cssProperties": [
|
34487
34496
|
{
|
34488
|
-
"description": "
|
34489
|
-
"name": "--mdc-
|
34497
|
+
"description": "Width of the toggle",
|
34498
|
+
"name": "--mdc-statictoggle-width"
|
34490
34499
|
},
|
34491
34500
|
{
|
34492
|
-
"description": "
|
34493
|
-
"name": "--mdc-
|
34501
|
+
"description": "Height of the toggle",
|
34502
|
+
"name": "--mdc-statictoggle-height"
|
34494
34503
|
},
|
34495
34504
|
{
|
34496
|
-
"description": "
|
34497
|
-
"name": "--mdc-
|
34505
|
+
"description": "Width of the toggle when it's size is compact",
|
34506
|
+
"name": "--mdc-statictoggle-width-compact"
|
34498
34507
|
},
|
34499
34508
|
{
|
34500
|
-
"description": "
|
34501
|
-
"name": "--mdc-
|
34509
|
+
"description": "Height of the toggle when it's size is compact",
|
34510
|
+
"name": "--mdc-statictoggle-height-compact"
|
34502
34511
|
},
|
34503
34512
|
{
|
34504
|
-
"description": "
|
34505
|
-
"name": "--mdc-
|
34513
|
+
"description": "Border radius of the toggle",
|
34514
|
+
"name": "--mdc-statictoggle-border-radius"
|
34506
34515
|
},
|
34507
34516
|
{
|
34508
|
-
"description": "
|
34509
|
-
"name": "--mdc-
|
34517
|
+
"description": "Border radius of the toggle when it's size is compact",
|
34518
|
+
"name": "--mdc-statictoggle-border-radius-compact"
|
34510
34519
|
},
|
34511
34520
|
{
|
34512
|
-
"description": "
|
34513
|
-
"name": "--mdc-
|
34521
|
+
"description": "Border of the toggle",
|
34522
|
+
"name": "--mdc-statictoggle-border"
|
34514
34523
|
},
|
34515
34524
|
{
|
34516
|
-
"description": "
|
34517
|
-
"name": "--mdc-
|
34525
|
+
"description": "Background color of the inactive toggle in rest state",
|
34526
|
+
"name": "--mdc-statictoggle-inactive-rest-color"
|
34518
34527
|
},
|
34519
34528
|
{
|
34520
|
-
"description": "color of the
|
34521
|
-
"name": "--mdc-
|
34529
|
+
"description": "Background color of the inactive toggle in disabled state",
|
34530
|
+
"name": "--mdc-statictoggle-inactive-disabled-color"
|
34522
34531
|
},
|
34523
34532
|
{
|
34524
|
-
"description": "
|
34525
|
-
"name": "--mdc-
|
34533
|
+
"description": "Background color of the active toggle in rest state",
|
34534
|
+
"name": "--mdc-statictoggle-active-rest-color"
|
34535
|
+
},
|
34536
|
+
{
|
34537
|
+
"description": "Background color of the active toggle in disabled state",
|
34538
|
+
"name": "--mdc-statictoggle-active-disabled-color"
|
34539
|
+
},
|
34540
|
+
{
|
34541
|
+
"description": "Color of the icon in normal state",
|
34542
|
+
"name": "--mdc-statictoggle-icon-color-normal"
|
34543
|
+
},
|
34544
|
+
{
|
34545
|
+
"description": "Color of the icon in disabled state",
|
34546
|
+
"name": "--mdc-statictoggle-icon-color-disabled"
|
34547
|
+
},
|
34548
|
+
{
|
34549
|
+
"description": "Background color of the icon in normal state",
|
34550
|
+
"name": "--mdc-statictoggle-icon-background-color-normal"
|
34551
|
+
},
|
34552
|
+
{
|
34553
|
+
"description": "Background color of the icon in disabled state",
|
34554
|
+
"name": "--mdc-statictoggle-icon-background-color-disabled"
|
34555
|
+
}
|
34556
|
+
],
|
34557
|
+
"slots": [
|
34558
|
+
{
|
34559
|
+
"description": "This is a default/unnamed slot",
|
34560
|
+
"name": "default"
|
34526
34561
|
}
|
34527
34562
|
],
|
34528
34563
|
"members": [
|
@@ -34533,19 +34568,19 @@
|
|
34533
34568
|
"text": "boolean"
|
34534
34569
|
},
|
34535
34570
|
"default": "false",
|
34536
|
-
"description": "Determines whether the
|
34571
|
+
"description": "Determines whether the toggle is active or inactive.",
|
34537
34572
|
"attribute": "checked",
|
34538
34573
|
"reflects": true
|
34539
34574
|
},
|
34540
34575
|
{
|
34541
34576
|
"kind": "field",
|
34542
|
-
"name": "
|
34577
|
+
"name": "size",
|
34543
34578
|
"type": {
|
34544
|
-
"text": "
|
34579
|
+
"text": "ToggleSize"
|
34545
34580
|
},
|
34546
|
-
"
|
34547
|
-
"
|
34548
|
-
"attribute": "
|
34581
|
+
"description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
|
34582
|
+
"default": "default",
|
34583
|
+
"attribute": "size",
|
34549
34584
|
"reflects": true
|
34550
34585
|
},
|
34551
34586
|
{
|
@@ -34571,17 +34606,17 @@
|
|
34571
34606
|
"text": "boolean"
|
34572
34607
|
},
|
34573
34608
|
"default": "false",
|
34574
|
-
"description": "Determines whether the
|
34609
|
+
"description": "Determines whether the toggle is active or inactive.",
|
34575
34610
|
"fieldName": "checked"
|
34576
34611
|
},
|
34577
34612
|
{
|
34578
|
-
"name": "
|
34613
|
+
"name": "size",
|
34579
34614
|
"type": {
|
34580
|
-
"text": "
|
34615
|
+
"text": "ToggleSize"
|
34581
34616
|
},
|
34582
|
-
"
|
34583
|
-
"
|
34584
|
-
"fieldName": "
|
34617
|
+
"description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
|
34618
|
+
"default": "default",
|
34619
|
+
"fieldName": "size"
|
34585
34620
|
},
|
34586
34621
|
{
|
34587
34622
|
"name": "disabled",
|
@@ -34607,8 +34642,8 @@
|
|
34607
34642
|
"name": "Component",
|
34608
34643
|
"module": "/src/models"
|
34609
34644
|
},
|
34610
|
-
"tagName": "mdc-
|
34611
|
-
"jsDoc": "/**\n * This is a decorative component that is styled to look as a
|
34645
|
+
"tagName": "mdc-statictoggle",
|
34646
|
+
"jsDoc": "/**\n * This is a decorative component that is styled to look as a toggle. <br/>\n * It has 3 properties - checked, size and disabled. <br/>\n * We are using the same styling that has been created for the `mdc-toggle` component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-statictoggle\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --mdc-statictoggle-width - Width of the toggle\n * @cssproperty --mdc-statictoggle-height - Height of the toggle\n * @cssproperty --mdc-statictoggle-width-compact - Width of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-height-compact - Height of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border-radius - Border radius of the toggle\n * @cssproperty --mdc-statictoggle-border-radius-compact - Border radius of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border - Border of the toggle\n * @cssproperty --mdc-statictoggle-inactive-rest-color - Background color of the inactive toggle in rest state\n * @cssproperty --mdc-statictoggle-inactive-disabled-color - Background color of the inactive toggle in disabled state\n * @cssproperty --mdc-statictoggle-active-rest-color - Background color of the active toggle in rest state\n * @cssproperty --mdc-statictoggle-active-disabled-color - Background color of the active toggle in disabled state\n * @cssproperty --mdc-statictoggle-icon-color-normal - Color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-color-disabled - Color of the icon in disabled state\n * @cssproperty --mdc-statictoggle-icon-background-color-normal - Background color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-background-color-disabled - Background color of the icon in disabled state\n */",
|
34612
34647
|
"customElement": true
|
34613
34648
|
}
|
34614
34649
|
],
|
@@ -34617,172 +34652,137 @@
|
|
34617
34652
|
"kind": "js",
|
34618
34653
|
"name": "default",
|
34619
34654
|
"declaration": {
|
34620
|
-
"name": "
|
34621
|
-
"module": "components/
|
34655
|
+
"name": "StaticToggle",
|
34656
|
+
"module": "components/statictoggle/statictoggle.component.js"
|
34622
34657
|
}
|
34623
34658
|
}
|
34624
34659
|
]
|
34625
34660
|
},
|
34626
34661
|
{
|
34627
34662
|
"kind": "javascript-module",
|
34628
|
-
"path": "components/
|
34663
|
+
"path": "components/spinner/spinner.component.js",
|
34629
34664
|
"declarations": [
|
34630
34665
|
{
|
34631
34666
|
"kind": "class",
|
34632
|
-
"description": "
|
34633
|
-
"name": "
|
34667
|
+
"description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
|
34668
|
+
"name": "Spinner",
|
34634
34669
|
"cssProperties": [
|
34635
34670
|
{
|
34636
|
-
"description": "
|
34637
|
-
"name": "--mdc-
|
34638
|
-
},
|
34639
|
-
{
|
34640
|
-
"description": "Height of the toggle",
|
34641
|
-
"name": "--mdc-statictoggle-height"
|
34642
|
-
},
|
34643
|
-
{
|
34644
|
-
"description": "Width of the toggle when it's size is compact",
|
34645
|
-
"name": "--mdc-statictoggle-width-compact"
|
34646
|
-
},
|
34647
|
-
{
|
34648
|
-
"description": "Height of the toggle when it's size is compact",
|
34649
|
-
"name": "--mdc-statictoggle-height-compact"
|
34650
|
-
},
|
34651
|
-
{
|
34652
|
-
"description": "Border radius of the toggle",
|
34653
|
-
"name": "--mdc-statictoggle-border-radius"
|
34654
|
-
},
|
34655
|
-
{
|
34656
|
-
"description": "Border radius of the toggle when it's size is compact",
|
34657
|
-
"name": "--mdc-statictoggle-border-radius-compact"
|
34658
|
-
},
|
34659
|
-
{
|
34660
|
-
"description": "Border of the toggle",
|
34661
|
-
"name": "--mdc-statictoggle-border"
|
34662
|
-
},
|
34663
|
-
{
|
34664
|
-
"description": "Background color of the inactive toggle in rest state",
|
34665
|
-
"name": "--mdc-statictoggle-inactive-rest-color"
|
34666
|
-
},
|
34667
|
-
{
|
34668
|
-
"description": "Background color of the inactive toggle in disabled state",
|
34669
|
-
"name": "--mdc-statictoggle-inactive-disabled-color"
|
34670
|
-
},
|
34671
|
-
{
|
34672
|
-
"description": "Background color of the active toggle in rest state",
|
34673
|
-
"name": "--mdc-statictoggle-active-rest-color"
|
34674
|
-
},
|
34675
|
-
{
|
34676
|
-
"description": "Background color of the active toggle in disabled state",
|
34677
|
-
"name": "--mdc-statictoggle-active-disabled-color"
|
34678
|
-
},
|
34679
|
-
{
|
34680
|
-
"description": "Color of the icon in normal state",
|
34681
|
-
"name": "--mdc-statictoggle-icon-color-normal"
|
34671
|
+
"description": "Allows customization of the default spinner color.",
|
34672
|
+
"name": "--mdc-spinner-default-color"
|
34682
34673
|
},
|
34683
34674
|
{
|
34684
|
-
"description": "
|
34685
|
-
"name": "--mdc-
|
34675
|
+
"description": "Allows customization of the inverted spinner color.",
|
34676
|
+
"name": "--mdc-spinner-inverted-color"
|
34686
34677
|
},
|
34687
34678
|
{
|
34688
|
-
"description": "
|
34689
|
-
"name": "--mdc-
|
34679
|
+
"description": "Allows customization of the spinner Button variant color.",
|
34680
|
+
"name": "--mdc-spinner-button-variant-color"
|
34690
34681
|
},
|
34691
34682
|
{
|
34692
|
-
"description": "
|
34693
|
-
"name": "--mdc-
|
34683
|
+
"description": "Allows customization of the spinner size.",
|
34684
|
+
"name": "--mdc-spinner-size"
|
34694
34685
|
}
|
34695
34686
|
],
|
34696
|
-
"
|
34687
|
+
"cssParts": [
|
34697
34688
|
{
|
34698
|
-
"description": "
|
34699
|
-
"name": "
|
34689
|
+
"description": "The svg which contains the circle spinner.",
|
34690
|
+
"name": "container"
|
34691
|
+
},
|
34692
|
+
{
|
34693
|
+
"description": "The circle of the spinner.",
|
34694
|
+
"name": "circle"
|
34700
34695
|
}
|
34701
34696
|
],
|
34702
34697
|
"members": [
|
34703
34698
|
{
|
34704
34699
|
"kind": "field",
|
34705
|
-
"name": "
|
34700
|
+
"name": "inverted",
|
34706
34701
|
"type": {
|
34707
|
-
"text": "boolean"
|
34702
|
+
"text": "boolean | undefined"
|
34708
34703
|
},
|
34704
|
+
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
34709
34705
|
"default": "false",
|
34710
|
-
"
|
34711
|
-
"attribute": "checked",
|
34706
|
+
"attribute": "inverted",
|
34712
34707
|
"reflects": true
|
34713
34708
|
},
|
34714
34709
|
{
|
34715
34710
|
"kind": "field",
|
34716
34711
|
"name": "size",
|
34717
34712
|
"type": {
|
34718
|
-
"text": "
|
34713
|
+
"text": "SpinnerSize | undefined"
|
34719
34714
|
},
|
34720
|
-
"description": "
|
34721
|
-
"default": "
|
34715
|
+
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
34716
|
+
"default": "midsize",
|
34722
34717
|
"attribute": "size",
|
34723
34718
|
"reflects": true
|
34724
34719
|
},
|
34725
34720
|
{
|
34726
34721
|
"kind": "field",
|
34727
|
-
"name": "
|
34722
|
+
"name": "ariaLabel",
|
34728
34723
|
"type": {
|
34729
|
-
"text": "
|
34724
|
+
"text": "string | null"
|
34730
34725
|
},
|
34731
|
-
"
|
34732
|
-
"
|
34733
|
-
"attribute": "
|
34734
|
-
|
34735
|
-
|
34736
|
-
|
34737
|
-
|
34738
|
-
|
34726
|
+
"default": "null",
|
34727
|
+
"description": "Aria-label attribute to be set for accessibility",
|
34728
|
+
"attribute": "aria-label"
|
34729
|
+
},
|
34730
|
+
{
|
34731
|
+
"kind": "field",
|
34732
|
+
"name": "variant",
|
34733
|
+
"type": {
|
34734
|
+
"text": "SpinnerVariant"
|
34735
|
+
},
|
34736
|
+
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
34737
|
+
"default": "standalone",
|
34738
|
+
"attribute": "variant",
|
34739
|
+
"reflects": true
|
34739
34740
|
}
|
34740
34741
|
],
|
34741
34742
|
"attributes": [
|
34742
34743
|
{
|
34743
|
-
"name": "
|
34744
|
+
"name": "inverted",
|
34744
34745
|
"type": {
|
34745
|
-
"text": "boolean"
|
34746
|
+
"text": "boolean | undefined"
|
34746
34747
|
},
|
34748
|
+
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
34747
34749
|
"default": "false",
|
34748
|
-
"
|
34749
|
-
"fieldName": "checked"
|
34750
|
+
"fieldName": "inverted"
|
34750
34751
|
},
|
34751
34752
|
{
|
34752
34753
|
"name": "size",
|
34753
34754
|
"type": {
|
34754
|
-
"text": "
|
34755
|
+
"text": "SpinnerSize | undefined"
|
34755
34756
|
},
|
34756
|
-
"description": "
|
34757
|
-
"default": "
|
34757
|
+
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
34758
|
+
"default": "midsize",
|
34758
34759
|
"fieldName": "size"
|
34759
34760
|
},
|
34760
34761
|
{
|
34761
|
-
"name": "
|
34762
|
+
"name": "aria-label",
|
34762
34763
|
"type": {
|
34763
|
-
"text": "
|
34764
|
+
"text": "string | null"
|
34764
34765
|
},
|
34765
|
-
"
|
34766
|
-
"
|
34767
|
-
"fieldName": "
|
34768
|
-
|
34769
|
-
"name": "DisabledMixin",
|
34770
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
34771
|
-
}
|
34772
|
-
}
|
34773
|
-
],
|
34774
|
-
"mixins": [
|
34766
|
+
"default": "null",
|
34767
|
+
"description": "Aria-label attribute to be set for accessibility",
|
34768
|
+
"fieldName": "ariaLabel"
|
34769
|
+
},
|
34775
34770
|
{
|
34776
|
-
"name": "
|
34777
|
-
"
|
34771
|
+
"name": "variant",
|
34772
|
+
"type": {
|
34773
|
+
"text": "SpinnerVariant"
|
34774
|
+
},
|
34775
|
+
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
34776
|
+
"default": "standalone",
|
34777
|
+
"fieldName": "variant"
|
34778
34778
|
}
|
34779
34779
|
],
|
34780
34780
|
"superclass": {
|
34781
34781
|
"name": "Component",
|
34782
34782
|
"module": "/src/models"
|
34783
34783
|
},
|
34784
|
-
"tagName": "mdc-
|
34785
|
-
"jsDoc": "/**\n *
|
34784
|
+
"tagName": "mdc-spinner",
|
34785
|
+
"jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
|
34786
34786
|
"customElement": true
|
34787
34787
|
}
|
34788
34788
|
],
|
@@ -34791,8 +34791,8 @@
|
|
34791
34791
|
"kind": "js",
|
34792
34792
|
"name": "default",
|
34793
34793
|
"declaration": {
|
34794
|
-
"name": "
|
34795
|
-
"module": "components/
|
34794
|
+
"name": "Spinner",
|
34795
|
+
"module": "components/spinner/spinner.component.js"
|
34796
34796
|
}
|
34797
34797
|
}
|
34798
34798
|
]
|
@@ -42876,16 +42876,6 @@
|
|
42876
42876
|
}
|
42877
42877
|
],
|
42878
42878
|
"members": [
|
42879
|
-
{
|
42880
|
-
"kind": "field",
|
42881
|
-
"name": "onscroll",
|
42882
|
-
"type": {
|
42883
|
-
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
42884
|
-
},
|
42885
|
-
"description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
|
42886
|
-
"default": "null",
|
42887
|
-
"attribute": "onscroll"
|
42888
|
-
},
|
42889
42879
|
{
|
42890
42880
|
"kind": "field",
|
42891
42881
|
"name": "virtualizerProps",
|
@@ -42931,6 +42921,25 @@
|
|
42931
42921
|
"privacy": "public",
|
42932
42922
|
"default": "[]"
|
42933
42923
|
},
|
42924
|
+
{
|
42925
|
+
"kind": "method",
|
42926
|
+
"name": "handleScroll",
|
42927
|
+
"privacy": "private",
|
42928
|
+
"return": {
|
42929
|
+
"type": {
|
42930
|
+
"text": "void"
|
42931
|
+
}
|
42932
|
+
},
|
42933
|
+
"parameters": [
|
42934
|
+
{
|
42935
|
+
"name": "event",
|
42936
|
+
"type": {
|
42937
|
+
"text": "Event"
|
42938
|
+
}
|
42939
|
+
}
|
42940
|
+
],
|
42941
|
+
"description": "Refires the scroll event from the internal scroll container to the host element"
|
42942
|
+
},
|
42934
42943
|
{
|
42935
42944
|
"kind": "field",
|
42936
42945
|
"name": "virtualizerController",
|
@@ -42938,25 +42947,29 @@
|
|
42938
42947
|
"text": "null"
|
42939
42948
|
},
|
42940
42949
|
"default": "null"
|
42950
|
+
},
|
42951
|
+
{
|
42952
|
+
"kind": "field",
|
42953
|
+
"name": "onscroll",
|
42954
|
+
"type": {
|
42955
|
+
"text": "null"
|
42956
|
+
},
|
42957
|
+
"default": "null"
|
42941
42958
|
}
|
42942
42959
|
],
|
42943
42960
|
"events": [
|
42961
|
+
{
|
42962
|
+
"type": {
|
42963
|
+
"text": "EventConstructor"
|
42964
|
+
}
|
42965
|
+
},
|
42944
42966
|
{
|
42945
42967
|
"description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
|
42946
|
-
"name": "
|
42968
|
+
"name": "scroll",
|
42947
42969
|
"reactName": "onScroll"
|
42948
42970
|
}
|
42949
42971
|
],
|
42950
42972
|
"attributes": [
|
42951
|
-
{
|
42952
|
-
"name": "onscroll",
|
42953
|
-
"type": {
|
42954
|
-
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
42955
|
-
},
|
42956
|
-
"description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
|
42957
|
-
"default": "null",
|
42958
|
-
"fieldName": "onscroll"
|
42959
|
-
},
|
42960
42973
|
{
|
42961
42974
|
"name": "virtualizerprops",
|
42962
42975
|
"type": {
|
@@ -42980,7 +42993,7 @@
|
|
42980
42993
|
"module": "/src/models"
|
42981
42994
|
},
|
42982
42995
|
"tagName": "mdc-virtualizedlist",
|
42983
|
-
"jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event
|
42996
|
+
"jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event scroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
|
42984
42997
|
"customElement": true
|
42985
42998
|
}
|
42986
42999
|
],
|