@aurodesignsystem-dev/auro-formkit 0.0.0-pr1600.3 → 0.0.0-pr1602.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +110 -4
- package/components/combobox/demo/getting-started.md +49 -0
- package/components/combobox/demo/getting-started.min.js +129 -4
- package/components/combobox/demo/index.min.js +110 -4
- package/components/combobox/dist/auro-combobox.d.ts +22 -0
- package/components/combobox/dist/index.js +94 -4
- package/components/combobox/dist/registered.js +94 -4
- package/components/counter/demo/api.md +2 -0
- package/components/counter/demo/customize.min.js +320 -22
- package/components/counter/demo/getting-started.html +3 -1
- package/components/counter/demo/getting-started.md +49 -0
- package/components/counter/demo/getting-started.min.js +8766 -0
- package/components/counter/demo/index.min.js +320 -22
- package/components/counter/dist/auro-counter-group.d.ts +6 -0
- package/components/counter/dist/auro-counter.d.ts +6 -0
- package/components/counter/dist/counterGroupKeyboardStrategy.d.ts +1 -0
- package/components/counter/dist/index.js +320 -22
- package/components/counter/dist/registered.js +320 -22
- package/components/datepicker/demo/customize.min.js +3 -3
- package/components/datepicker/demo/getting-started.html +3 -1
- package/components/datepicker/demo/getting-started.md +39 -0
- package/components/datepicker/demo/getting-started.min.js +37626 -0
- package/components/datepicker/demo/index.min.js +3 -3
- package/components/datepicker/dist/index.js +3 -3
- package/components/datepicker/dist/registered.js +3 -3
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +2 -2
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +444 -35
- package/components/form/demo/getting-started.min.js +444 -35
- package/components/form/demo/index.min.js +444 -35
- package/components/form/demo/registerDemoDeps.min.js +438 -34
- package/components/form/dist/index.js +6 -1
- package/components/form/dist/registered.js +6 -1
- package/components/input/demo/customize.md +0 -37
- package/components/input/demo/customize.min.js +1 -10
- package/components/input/demo/getting-started.md +33 -0
- package/components/input/demo/getting-started.min.js +21 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/menu/demo/index.min.js +16 -0
- package/components/menu/dist/index.js +16 -0
- package/components/menu/dist/registered.js +16 -0
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +18 -2
- package/components/select/demo/getting-started.md +49 -0
- package/components/select/demo/getting-started.min.js +40 -3
- package/components/select/demo/index.min.js +18 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +606 -566
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -4,41 +4,41 @@
|
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "javascript-module",
|
|
7
|
-
"path": "components/
|
|
7
|
+
"path": "components/bibtemplate/src/auro-bibtemplate.js",
|
|
8
8
|
"declarations": [
|
|
9
9
|
{
|
|
10
10
|
"kind": "class",
|
|
11
|
-
"description": "The `auro-
|
|
12
|
-
"name": "
|
|
11
|
+
"description": "The `auro-bibtemplate` element provides users a template for creating modal dialog elements.",
|
|
12
|
+
"name": "AuroBibtemplate",
|
|
13
13
|
"cssParts": [
|
|
14
14
|
{
|
|
15
|
-
"description": "
|
|
16
|
-
"name": "
|
|
15
|
+
"description": "The outermost bibtemplate container element.",
|
|
16
|
+
"name": "bibtemplate"
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
19
|
"slots": [
|
|
20
20
|
{
|
|
21
|
-
"description": "
|
|
22
|
-
"name": "
|
|
21
|
+
"description": "The default slot for the main content.",
|
|
22
|
+
"name": "default"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
"description": "
|
|
26
|
-
"name": "
|
|
25
|
+
"description": "Slot for the header content.",
|
|
26
|
+
"name": "header"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
"description": "
|
|
30
|
-
"name": "
|
|
29
|
+
"description": "Slot for the subheader content.",
|
|
30
|
+
"name": "subheader"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
"description": "
|
|
34
|
-
"name": "
|
|
33
|
+
"description": "Slot for the footer content.",
|
|
34
|
+
"name": "footer"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"description": "Slot for the close button aria-label.",
|
|
38
|
+
"name": "ariaLabel.close"
|
|
35
39
|
}
|
|
36
40
|
],
|
|
37
41
|
"members": [
|
|
38
|
-
{
|
|
39
|
-
"kind": "method",
|
|
40
|
-
"name": "_initializeDefaults"
|
|
41
|
-
},
|
|
42
42
|
{
|
|
43
43
|
"kind": "method",
|
|
44
44
|
"name": "register",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"parameters": [
|
|
47
47
|
{
|
|
48
48
|
"name": "name",
|
|
49
|
-
"default": "\"auro-
|
|
50
|
-
"description": "The name of
|
|
49
|
+
"default": "\"auro-bibtemplate\"",
|
|
50
|
+
"description": "The name of element that you want to register to.",
|
|
51
51
|
"optional": true,
|
|
52
52
|
"type": {
|
|
53
53
|
"text": "string"
|
|
@@ -58,25 +58,17 @@
|
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"kind": "method",
|
|
61
|
-
"name": "
|
|
61
|
+
"name": "preventBodyScroll",
|
|
62
62
|
"parameters": [
|
|
63
63
|
{
|
|
64
|
-
"name": "
|
|
65
|
-
"description": "The
|
|
66
|
-
"type": {
|
|
67
|
-
"text": "String"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"name": "selected",
|
|
72
|
-
"description": "The checked state of the checkbox.",
|
|
64
|
+
"name": "event",
|
|
65
|
+
"description": "The touchmove event.",
|
|
73
66
|
"type": {
|
|
74
|
-
"text": "
|
|
67
|
+
"text": "Event"
|
|
75
68
|
}
|
|
76
69
|
}
|
|
77
70
|
],
|
|
78
|
-
"description": "
|
|
79
|
-
"privacy": "private",
|
|
71
|
+
"description": "Prevents scrolling of the body when touching empty areas of the component.",
|
|
80
72
|
"return": {
|
|
81
73
|
"type": {
|
|
82
74
|
"text": "void"
|
|
@@ -85,9 +77,8 @@
|
|
|
85
77
|
},
|
|
86
78
|
{
|
|
87
79
|
"kind": "method",
|
|
88
|
-
"name": "
|
|
89
|
-
"description": "
|
|
90
|
-
"privacy": "private",
|
|
80
|
+
"name": "focusCloseButton",
|
|
81
|
+
"description": "Focuses the close button inside the bibtemplate's shadow DOM.\nUsed by parent components to set initial focus when the fullscreen dialog opens.",
|
|
91
82
|
"return": {
|
|
92
83
|
"type": {
|
|
93
84
|
"text": "void"
|
|
@@ -96,311 +87,225 @@
|
|
|
96
87
|
},
|
|
97
88
|
{
|
|
98
89
|
"kind": "method",
|
|
99
|
-
"name": "
|
|
100
|
-
"description": "Helper method that handles the state of checkboxes.",
|
|
101
|
-
"privacy": "private",
|
|
102
|
-
"return": {
|
|
103
|
-
"type": {
|
|
104
|
-
"text": "void"
|
|
105
|
-
}
|
|
106
|
-
}
|
|
90
|
+
"name": "onCloseButtonClick"
|
|
107
91
|
},
|
|
108
92
|
{
|
|
109
93
|
"kind": "method",
|
|
110
|
-
"name": "
|
|
111
|
-
"description": "
|
|
94
|
+
"name": "exposeCssParts",
|
|
95
|
+
"description": "Exposes CSS parts for styling from parent components.",
|
|
112
96
|
"return": {
|
|
113
97
|
"type": {
|
|
114
98
|
"text": "void"
|
|
115
99
|
}
|
|
116
100
|
}
|
|
117
101
|
},
|
|
118
|
-
{
|
|
119
|
-
"kind": "method",
|
|
120
|
-
"name": "validate",
|
|
121
|
-
"parameters": [
|
|
122
|
-
{
|
|
123
|
-
"name": "force",
|
|
124
|
-
"default": "false",
|
|
125
|
-
"description": "Whether to force validation.",
|
|
126
|
-
"optional": true,
|
|
127
|
-
"type": {
|
|
128
|
-
"text": "boolean"
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
"description": "Validates value."
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"kind": "field",
|
|
136
|
-
"name": "appearance",
|
|
137
|
-
"privacy": "public",
|
|
138
|
-
"type": {
|
|
139
|
-
"text": "'default' | 'inverse'"
|
|
140
|
-
},
|
|
141
|
-
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
142
|
-
"default": "'default'",
|
|
143
|
-
"attribute": "appearance",
|
|
144
|
-
"reflects": true
|
|
145
|
-
},
|
|
146
102
|
{
|
|
147
103
|
"kind": "field",
|
|
148
|
-
"name": "
|
|
104
|
+
"name": "large",
|
|
149
105
|
"privacy": "public",
|
|
150
106
|
"type": {
|
|
151
107
|
"text": "boolean"
|
|
152
108
|
},
|
|
153
|
-
"description": "If
|
|
154
|
-
"
|
|
109
|
+
"description": "If declared, the fullscreen headline renders using the larger display heading style.",
|
|
110
|
+
"default": "false",
|
|
111
|
+
"attribute": "large",
|
|
155
112
|
"reflects": true
|
|
156
113
|
},
|
|
157
114
|
{
|
|
158
115
|
"kind": "field",
|
|
159
|
-
"name": "
|
|
160
|
-
"privacy": "
|
|
161
|
-
"type": {
|
|
162
|
-
"text": "string"
|
|
163
|
-
},
|
|
164
|
-
"description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
|
|
165
|
-
"attribute": "error",
|
|
166
|
-
"reflects": true
|
|
116
|
+
"name": "iconTag",
|
|
117
|
+
"privacy": "private"
|
|
167
118
|
},
|
|
168
119
|
{
|
|
169
120
|
"kind": "field",
|
|
170
|
-
"name": "
|
|
171
|
-
"privacy": "
|
|
172
|
-
"type": {
|
|
173
|
-
"text": "boolean"
|
|
174
|
-
},
|
|
175
|
-
"description": "If set, checkboxes will be aligned horizontally.",
|
|
176
|
-
"attribute": "horizontal",
|
|
177
|
-
"reflects": true
|
|
121
|
+
"name": "headerTag",
|
|
122
|
+
"privacy": "private"
|
|
178
123
|
},
|
|
179
124
|
{
|
|
180
125
|
"kind": "field",
|
|
181
|
-
"name": "
|
|
182
|
-
"privacy": "
|
|
183
|
-
"type": {
|
|
184
|
-
"text": "boolean"
|
|
185
|
-
},
|
|
186
|
-
"description": "If set, disables auto-validation on blur.",
|
|
187
|
-
"attribute": "novalidate",
|
|
188
|
-
"reflects": true
|
|
126
|
+
"name": "buttonTag",
|
|
127
|
+
"privacy": "private"
|
|
189
128
|
},
|
|
190
129
|
{
|
|
191
130
|
"kind": "field",
|
|
192
|
-
"name": "
|
|
131
|
+
"name": "isFullscreen",
|
|
193
132
|
"privacy": "public",
|
|
194
133
|
"type": {
|
|
195
134
|
"text": "boolean"
|
|
196
135
|
},
|
|
197
|
-
"description": "
|
|
198
|
-
"
|
|
199
|
-
"attribute": "ondark",
|
|
136
|
+
"description": "If declared, the bibtemplate renders in fullscreen mode, exposing the header, subheader, and footer regions.",
|
|
137
|
+
"attribute": "isfullscreen",
|
|
200
138
|
"reflects": true
|
|
201
139
|
},
|
|
202
140
|
{
|
|
203
141
|
"kind": "field",
|
|
204
|
-
"name": "
|
|
142
|
+
"name": "showFooter",
|
|
205
143
|
"privacy": "public",
|
|
206
144
|
"type": {
|
|
207
145
|
"text": "boolean"
|
|
208
146
|
},
|
|
209
|
-
"description": "
|
|
210
|
-
"attribute": "
|
|
211
|
-
"reflects": true
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"kind": "field",
|
|
215
|
-
"name": "setCustomValidity",
|
|
216
|
-
"privacy": "public",
|
|
217
|
-
"type": {
|
|
218
|
-
"text": "string"
|
|
219
|
-
},
|
|
220
|
-
"description": "Sets a custom help text message to display for all validityStates.",
|
|
221
|
-
"attribute": "setcustomvalidity"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"kind": "field",
|
|
225
|
-
"name": "setCustomValidityCustomError",
|
|
226
|
-
"privacy": "public",
|
|
227
|
-
"type": {
|
|
228
|
-
"text": "string"
|
|
229
|
-
},
|
|
230
|
-
"description": "Custom help text message to display when validity = `customError`.",
|
|
231
|
-
"attribute": "setcustomvaliditycustomerror"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"kind": "field",
|
|
235
|
-
"name": "setCustomValidityValueMissing",
|
|
236
|
-
"privacy": "public",
|
|
237
|
-
"type": {
|
|
238
|
-
"text": "string"
|
|
239
|
-
},
|
|
240
|
-
"description": "Custom help text message to display when validity = `valueMissing`.",
|
|
241
|
-
"attribute": "setcustomvalidityvaluemissing"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"kind": "field",
|
|
245
|
-
"name": "validity",
|
|
246
|
-
"privacy": "public",
|
|
247
|
-
"type": {
|
|
248
|
-
"text": "string"
|
|
249
|
-
},
|
|
250
|
-
"description": "Specifies the `validityState` this element is in.",
|
|
251
|
-
"attribute": "validity",
|
|
147
|
+
"description": "If declared, the footer slot will be rendered even when not in fullscreen mode.",
|
|
148
|
+
"attribute": "showfooter",
|
|
252
149
|
"reflects": true
|
|
253
150
|
}
|
|
254
151
|
],
|
|
255
152
|
"events": [
|
|
256
153
|
{
|
|
257
|
-
"name": "
|
|
154
|
+
"name": "close-click",
|
|
258
155
|
"type": {
|
|
259
|
-
"text": "
|
|
156
|
+
"text": "Event"
|
|
260
157
|
},
|
|
261
|
-
"description": "Notifies when the
|
|
158
|
+
"description": "Notifies when the close button is clicked."
|
|
262
159
|
},
|
|
263
160
|
{
|
|
264
|
-
"
|
|
265
|
-
"
|
|
161
|
+
"name": "auro-bibtemplate-connected",
|
|
162
|
+
"type": {
|
|
163
|
+
"text": "CustomEvent"
|
|
164
|
+
},
|
|
165
|
+
"description": "Notifies that the bibtemplate has connected to the DOM, passing a reference to the element in the event detail."
|
|
266
166
|
}
|
|
267
167
|
],
|
|
268
168
|
"attributes": [
|
|
269
169
|
{
|
|
270
|
-
"name": "
|
|
271
|
-
"type": {
|
|
272
|
-
"text": "'default' | 'inverse'"
|
|
273
|
-
},
|
|
274
|
-
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
275
|
-
"default": "'default'",
|
|
276
|
-
"fieldName": "appearance"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"name": "disabled",
|
|
280
|
-
"type": {
|
|
281
|
-
"text": "boolean"
|
|
282
|
-
},
|
|
283
|
-
"description": "If set, disables the checkbox group.",
|
|
284
|
-
"fieldName": "disabled"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"name": "error",
|
|
288
|
-
"type": {
|
|
289
|
-
"text": "string"
|
|
290
|
-
},
|
|
291
|
-
"description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
|
|
292
|
-
"fieldName": "error"
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"name": "horizontal",
|
|
296
|
-
"type": {
|
|
297
|
-
"text": "boolean"
|
|
298
|
-
},
|
|
299
|
-
"description": "If set, checkboxes will be aligned horizontally.",
|
|
300
|
-
"fieldName": "horizontal"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"name": "novalidate",
|
|
170
|
+
"name": "isfullscreen",
|
|
304
171
|
"type": {
|
|
305
172
|
"text": "boolean"
|
|
306
173
|
},
|
|
307
|
-
"description": "If
|
|
308
|
-
"fieldName": "
|
|
174
|
+
"description": "If declared, the bibtemplate renders in fullscreen mode, exposing the header, subheader, and footer regions.",
|
|
175
|
+
"fieldName": "isFullscreen"
|
|
309
176
|
},
|
|
310
177
|
{
|
|
311
|
-
"name": "
|
|
178
|
+
"name": "large",
|
|
312
179
|
"type": {
|
|
313
180
|
"text": "boolean"
|
|
314
181
|
},
|
|
315
|
-
"description": "
|
|
316
|
-
"
|
|
317
|
-
"fieldName": "
|
|
182
|
+
"description": "If declared, the fullscreen headline renders using the larger display heading style.",
|
|
183
|
+
"default": "false",
|
|
184
|
+
"fieldName": "large"
|
|
318
185
|
},
|
|
319
186
|
{
|
|
320
|
-
"name": "
|
|
187
|
+
"name": "showfooter",
|
|
321
188
|
"type": {
|
|
322
189
|
"text": "boolean"
|
|
323
190
|
},
|
|
324
|
-
"description": "
|
|
325
|
-
"fieldName": "
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"name": "setcustomvalidity",
|
|
329
|
-
"type": {
|
|
330
|
-
"text": "string"
|
|
331
|
-
},
|
|
332
|
-
"description": "Sets a custom help text message to display for all validityStates.",
|
|
333
|
-
"fieldName": "setCustomValidity"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"name": "setcustomvaliditycustomerror",
|
|
337
|
-
"type": {
|
|
338
|
-
"text": "string"
|
|
339
|
-
},
|
|
340
|
-
"description": "Custom help text message to display when validity = `customError`.",
|
|
341
|
-
"fieldName": "setCustomValidityCustomError"
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"name": "setcustomvalidityvaluemissing",
|
|
345
|
-
"type": {
|
|
346
|
-
"text": "string"
|
|
347
|
-
},
|
|
348
|
-
"description": "Custom help text message to display when validity = `valueMissing`.",
|
|
349
|
-
"fieldName": "setCustomValidityValueMissing"
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"name": "validity",
|
|
353
|
-
"type": {
|
|
354
|
-
"text": "string"
|
|
355
|
-
},
|
|
356
|
-
"description": "Specifies the `validityState` this element is in.",
|
|
357
|
-
"fieldName": "validity"
|
|
191
|
+
"description": "If declared, the footer slot will be rendered even when not in fullscreen mode.",
|
|
192
|
+
"fieldName": "showFooter"
|
|
358
193
|
}
|
|
359
194
|
],
|
|
360
195
|
"superclass": {
|
|
361
196
|
"name": "LitElement",
|
|
362
197
|
"package": "lit"
|
|
363
198
|
},
|
|
364
|
-
"tagName": "auro-
|
|
199
|
+
"tagName": "auro-bibtemplate",
|
|
365
200
|
"customElement": true
|
|
366
201
|
}
|
|
367
202
|
],
|
|
368
203
|
"exports": [
|
|
369
204
|
{
|
|
370
205
|
"kind": "js",
|
|
371
|
-
"name": "
|
|
206
|
+
"name": "AuroBibtemplate",
|
|
372
207
|
"declaration": {
|
|
373
|
-
"name": "
|
|
374
|
-
"module": "components/
|
|
208
|
+
"name": "AuroBibtemplate",
|
|
209
|
+
"module": "components/bibtemplate/src/auro-bibtemplate.js"
|
|
375
210
|
}
|
|
376
211
|
}
|
|
377
212
|
]
|
|
378
213
|
},
|
|
379
214
|
{
|
|
380
215
|
"kind": "javascript-module",
|
|
381
|
-
"path": "components/
|
|
216
|
+
"path": "components/bibtemplate/src/buttonVersion.js",
|
|
217
|
+
"declarations": [],
|
|
218
|
+
"exports": [
|
|
219
|
+
{
|
|
220
|
+
"kind": "js",
|
|
221
|
+
"name": "default",
|
|
222
|
+
"declaration": {
|
|
223
|
+
"name": "12.3.2",
|
|
224
|
+
"module": "components/bibtemplate/src/buttonVersion.js"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"kind": "javascript-module",
|
|
231
|
+
"path": "components/bibtemplate/src/headerVersion.js",
|
|
232
|
+
"declarations": [],
|
|
233
|
+
"exports": [
|
|
234
|
+
{
|
|
235
|
+
"kind": "js",
|
|
236
|
+
"name": "default",
|
|
237
|
+
"declaration": {
|
|
238
|
+
"name": "5.0.1",
|
|
239
|
+
"module": "components/bibtemplate/src/headerVersion.js"
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"kind": "javascript-module",
|
|
246
|
+
"path": "components/bibtemplate/src/iconVersion.js",
|
|
247
|
+
"declarations": [],
|
|
248
|
+
"exports": [
|
|
249
|
+
{
|
|
250
|
+
"kind": "js",
|
|
251
|
+
"name": "default",
|
|
252
|
+
"declaration": {
|
|
253
|
+
"name": "9.2.0",
|
|
254
|
+
"module": "components/bibtemplate/src/iconVersion.js"
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"kind": "javascript-module",
|
|
261
|
+
"path": "components/bibtemplate/src/index.js",
|
|
262
|
+
"declarations": [],
|
|
263
|
+
"exports": [
|
|
264
|
+
{
|
|
265
|
+
"kind": "js",
|
|
266
|
+
"name": "AuroBibtemplate",
|
|
267
|
+
"declaration": {
|
|
268
|
+
"name": "AuroBibtemplate",
|
|
269
|
+
"module": "components/bibtemplate/src/index.js"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"kind": "javascript-module",
|
|
276
|
+
"path": "components/bibtemplate/src/registered.js",
|
|
277
|
+
"declarations": [],
|
|
278
|
+
"exports": []
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"kind": "javascript-module",
|
|
282
|
+
"path": "components/checkbox/src/auro-checkbox-group.js",
|
|
382
283
|
"declarations": [
|
|
383
284
|
{
|
|
384
285
|
"kind": "class",
|
|
385
|
-
"description": "The `auro-checkbox` element is
|
|
386
|
-
"name": "
|
|
286
|
+
"description": "The `auro-checkbox-group` element is a wrapper for `auro-checkbox` elements.",
|
|
287
|
+
"name": "AuroCheckboxGroup",
|
|
387
288
|
"cssParts": [
|
|
388
289
|
{
|
|
389
|
-
"description": "
|
|
390
|
-
"name": "
|
|
290
|
+
"description": "Apply css to the help text element that displays helper or error messages.",
|
|
291
|
+
"name": "helpText"
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"slots": [
|
|
295
|
+
{
|
|
296
|
+
"description": "Allows for the legend to be overridden.",
|
|
297
|
+
"name": "legend"
|
|
391
298
|
},
|
|
392
299
|
{
|
|
393
|
-
"description": "
|
|
394
|
-
"name": "
|
|
300
|
+
"description": "Allows overriding the optional display text \"(optional)\", which appears next to the label.",
|
|
301
|
+
"name": "optionalLabel"
|
|
395
302
|
},
|
|
396
303
|
{
|
|
397
|
-
"description": "
|
|
398
|
-
"name": "
|
|
399
|
-
}
|
|
400
|
-
],
|
|
401
|
-
"slots": [
|
|
304
|
+
"description": "Allows for the helper text to be overridden.",
|
|
305
|
+
"name": "helpText"
|
|
306
|
+
},
|
|
402
307
|
{
|
|
403
|
-
"description": "The default slot for the checkbox
|
|
308
|
+
"description": "The default slot for the checkbox items.",
|
|
404
309
|
"name": "default"
|
|
405
310
|
}
|
|
406
311
|
],
|
|
@@ -416,8 +321,8 @@
|
|
|
416
321
|
"parameters": [
|
|
417
322
|
{
|
|
418
323
|
"name": "name",
|
|
419
|
-
"default": "\"auro-checkbox\"",
|
|
420
|
-
"description": "The name of element that you want to register
|
|
324
|
+
"default": "\"auro-checkbox-group\"",
|
|
325
|
+
"description": "The name of the element that you want to register.",
|
|
421
326
|
"optional": true,
|
|
422
327
|
"type": {
|
|
423
328
|
"text": "string"
|
|
@@ -428,37 +333,24 @@
|
|
|
428
333
|
},
|
|
429
334
|
{
|
|
430
335
|
"kind": "method",
|
|
431
|
-
"name": "
|
|
336
|
+
"name": "handleValueUpdate",
|
|
432
337
|
"parameters": [
|
|
433
338
|
{
|
|
434
|
-
"name": "
|
|
435
|
-
"description": "The
|
|
339
|
+
"name": "value",
|
|
340
|
+
"description": "The value of the checkbox.",
|
|
436
341
|
"type": {
|
|
437
|
-
"text": "
|
|
342
|
+
"text": "String"
|
|
438
343
|
}
|
|
439
|
-
}
|
|
440
|
-
],
|
|
441
|
-
"description": "Handles the change event for the checkbox input.\nUpdates the checked state and dispatches a corresponding custom event.\nThis custom event is only for the purpose of supporting IE.",
|
|
442
|
-
"privacy": "private",
|
|
443
|
-
"return": {
|
|
444
|
-
"type": {
|
|
445
|
-
"text": "void"
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"kind": "method",
|
|
451
|
-
"name": "handleInput",
|
|
452
|
-
"parameters": [
|
|
344
|
+
},
|
|
453
345
|
{
|
|
454
|
-
"name": "
|
|
455
|
-
"description": "The
|
|
346
|
+
"name": "selected",
|
|
347
|
+
"description": "The checked state of the checkbox.",
|
|
456
348
|
"type": {
|
|
457
|
-
"text": "
|
|
349
|
+
"text": "Boolean"
|
|
458
350
|
}
|
|
459
351
|
}
|
|
460
352
|
],
|
|
461
|
-
"description": "
|
|
353
|
+
"description": "Helper method to handle checkbox value changing.",
|
|
462
354
|
"privacy": "private",
|
|
463
355
|
"return": {
|
|
464
356
|
"type": {
|
|
@@ -468,8 +360,8 @@
|
|
|
468
360
|
},
|
|
469
361
|
{
|
|
470
362
|
"kind": "method",
|
|
471
|
-
"name": "
|
|
472
|
-
"description": "
|
|
363
|
+
"name": "handlePreselectedItems",
|
|
364
|
+
"description": "Helper method that handles the state of preselected checkboxes.",
|
|
473
365
|
"privacy": "private",
|
|
474
366
|
"return": {
|
|
475
367
|
"type": {
|
|
@@ -479,12 +371,12 @@
|
|
|
479
371
|
},
|
|
480
372
|
{
|
|
481
373
|
"kind": "method",
|
|
482
|
-
"name": "
|
|
483
|
-
"description": "
|
|
374
|
+
"name": "handleItems",
|
|
375
|
+
"description": "Helper method that handles the state of checkboxes.",
|
|
484
376
|
"privacy": "private",
|
|
485
377
|
"return": {
|
|
486
378
|
"type": {
|
|
487
|
-
"text": "
|
|
379
|
+
"text": "void"
|
|
488
380
|
}
|
|
489
381
|
}
|
|
490
382
|
},
|
|
@@ -500,34 +392,19 @@
|
|
|
500
392
|
},
|
|
501
393
|
{
|
|
502
394
|
"kind": "method",
|
|
503
|
-
"name": "
|
|
504
|
-
"description": "Updates the aria-label based on slot content.",
|
|
505
|
-
"privacy": "private",
|
|
506
|
-
"return": {
|
|
507
|
-
"type": {
|
|
508
|
-
"text": "void"
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"kind": "method",
|
|
514
|
-
"name": "handleKeyDown",
|
|
395
|
+
"name": "validate",
|
|
515
396
|
"parameters": [
|
|
516
397
|
{
|
|
517
|
-
"name": "
|
|
518
|
-
"
|
|
398
|
+
"name": "force",
|
|
399
|
+
"default": "false",
|
|
400
|
+
"description": "Whether to force validation.",
|
|
401
|
+
"optional": true,
|
|
519
402
|
"type": {
|
|
520
|
-
"text": "
|
|
403
|
+
"text": "boolean"
|
|
521
404
|
}
|
|
522
405
|
}
|
|
523
406
|
],
|
|
524
|
-
"description": "
|
|
525
|
-
"privacy": "private",
|
|
526
|
-
"return": {
|
|
527
|
-
"type": {
|
|
528
|
-
"text": "void"
|
|
529
|
-
}
|
|
530
|
-
}
|
|
407
|
+
"description": "Validates value."
|
|
531
408
|
},
|
|
532
409
|
{
|
|
533
410
|
"kind": "field",
|
|
@@ -541,17 +418,6 @@
|
|
|
541
418
|
"attribute": "appearance",
|
|
542
419
|
"reflects": true
|
|
543
420
|
},
|
|
544
|
-
{
|
|
545
|
-
"kind": "field",
|
|
546
|
-
"name": "checked",
|
|
547
|
-
"privacy": "public",
|
|
548
|
-
"type": {
|
|
549
|
-
"text": "boolean"
|
|
550
|
-
},
|
|
551
|
-
"description": "If set to true, the checkbox will be filled with a checkmark.",
|
|
552
|
-
"attribute": "checked",
|
|
553
|
-
"reflects": true
|
|
554
|
-
},
|
|
555
421
|
{
|
|
556
422
|
"kind": "field",
|
|
557
423
|
"name": "disabled",
|
|
@@ -559,7 +425,7 @@
|
|
|
559
425
|
"type": {
|
|
560
426
|
"text": "boolean"
|
|
561
427
|
},
|
|
562
|
-
"description": "If set
|
|
428
|
+
"description": "If set, disables the checkbox group.",
|
|
563
429
|
"attribute": "disabled",
|
|
564
430
|
"reflects": true
|
|
565
431
|
},
|
|
@@ -568,41 +434,33 @@
|
|
|
568
434
|
"name": "error",
|
|
569
435
|
"privacy": "public",
|
|
570
436
|
"type": {
|
|
571
|
-
"text": "
|
|
437
|
+
"text": "string"
|
|
572
438
|
},
|
|
573
|
-
"description": "
|
|
439
|
+
"description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
|
|
574
440
|
"attribute": "error",
|
|
575
441
|
"reflects": true
|
|
576
442
|
},
|
|
577
443
|
{
|
|
578
444
|
"kind": "field",
|
|
579
|
-
"name": "
|
|
445
|
+
"name": "horizontal",
|
|
580
446
|
"privacy": "public",
|
|
581
447
|
"type": {
|
|
582
|
-
"text": "
|
|
448
|
+
"text": "boolean"
|
|
583
449
|
},
|
|
584
|
-
"description": "
|
|
585
|
-
"attribute": "
|
|
450
|
+
"description": "If set, checkboxes will be aligned horizontally.",
|
|
451
|
+
"attribute": "horizontal",
|
|
586
452
|
"reflects": true
|
|
587
453
|
},
|
|
588
454
|
{
|
|
589
455
|
"kind": "field",
|
|
590
|
-
"name": "
|
|
591
|
-
"privacy": "private",
|
|
592
|
-
"type": {
|
|
593
|
-
"text": "string"
|
|
594
|
-
},
|
|
595
|
-
"description": "The id for input node."
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
"kind": "field",
|
|
599
|
-
"name": "name",
|
|
456
|
+
"name": "noValidate",
|
|
600
457
|
"privacy": "public",
|
|
601
458
|
"type": {
|
|
602
|
-
"text": "
|
|
459
|
+
"text": "boolean"
|
|
603
460
|
},
|
|
604
|
-
"description": "
|
|
605
|
-
"attribute": "
|
|
461
|
+
"description": "If set, disables auto-validation on blur.",
|
|
462
|
+
"attribute": "novalidate",
|
|
463
|
+
"reflects": true
|
|
606
464
|
},
|
|
607
465
|
{
|
|
608
466
|
"kind": "field",
|
|
@@ -618,99 +476,68 @@
|
|
|
618
476
|
},
|
|
619
477
|
{
|
|
620
478
|
"kind": "field",
|
|
621
|
-
"name": "
|
|
622
|
-
"privacy": "
|
|
479
|
+
"name": "required",
|
|
480
|
+
"privacy": "public",
|
|
623
481
|
"type": {
|
|
624
482
|
"text": "boolean"
|
|
625
483
|
},
|
|
626
|
-
"description": "
|
|
484
|
+
"description": "Populates the `required` attribute on the element. Used for client-side validation.",
|
|
485
|
+
"attribute": "required",
|
|
486
|
+
"reflects": true
|
|
627
487
|
},
|
|
628
488
|
{
|
|
629
489
|
"kind": "field",
|
|
630
|
-
"name": "
|
|
490
|
+
"name": "setCustomValidity",
|
|
631
491
|
"privacy": "public",
|
|
632
492
|
"type": {
|
|
633
493
|
"text": "string"
|
|
634
494
|
},
|
|
635
|
-
"description": "Sets
|
|
636
|
-
"attribute": "
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
"kind": "field",
|
|
640
|
-
"name": "tabIndex",
|
|
641
|
-
"privacy": "private",
|
|
642
|
-
"type": {
|
|
643
|
-
"text": "number"
|
|
644
|
-
},
|
|
645
|
-
"description": "The tabindex attribute for the checkbox.",
|
|
646
|
-
"attribute": "tabindex",
|
|
647
|
-
"reflects": true
|
|
495
|
+
"description": "Sets a custom help text message to display for all validityStates.",
|
|
496
|
+
"attribute": "setcustomvalidity"
|
|
648
497
|
},
|
|
649
498
|
{
|
|
650
499
|
"kind": "field",
|
|
651
|
-
"name": "
|
|
652
|
-
"privacy": "
|
|
500
|
+
"name": "setCustomValidityCustomError",
|
|
501
|
+
"privacy": "public",
|
|
653
502
|
"type": {
|
|
654
503
|
"text": "string"
|
|
655
504
|
},
|
|
656
|
-
"description": "
|
|
657
|
-
"attribute": "
|
|
658
|
-
"reflects": true
|
|
505
|
+
"description": "Custom help text message to display when validity = `customError`.",
|
|
506
|
+
"attribute": "setcustomvaliditycustomerror"
|
|
659
507
|
},
|
|
660
508
|
{
|
|
661
509
|
"kind": "field",
|
|
662
|
-
"name": "
|
|
663
|
-
"privacy": "
|
|
510
|
+
"name": "setCustomValidityValueMissing",
|
|
511
|
+
"privacy": "public",
|
|
664
512
|
"type": {
|
|
665
513
|
"text": "string"
|
|
666
514
|
},
|
|
667
|
-
"description": "
|
|
668
|
-
"attribute": "
|
|
669
|
-
"reflects": true
|
|
515
|
+
"description": "Custom help text message to display when validity = `valueMissing`.",
|
|
516
|
+
"attribute": "setcustomvalidityvaluemissing"
|
|
670
517
|
},
|
|
671
518
|
{
|
|
672
519
|
"kind": "field",
|
|
673
|
-
"name": "
|
|
674
|
-
"privacy": "
|
|
520
|
+
"name": "validity",
|
|
521
|
+
"privacy": "public",
|
|
675
522
|
"type": {
|
|
676
523
|
"text": "string"
|
|
677
524
|
},
|
|
678
|
-
"description": "
|
|
679
|
-
"attribute": "
|
|
525
|
+
"description": "Specifies the `validityState` this element is in.",
|
|
526
|
+
"attribute": "validity",
|
|
680
527
|
"reflects": true
|
|
681
528
|
}
|
|
682
529
|
],
|
|
683
530
|
"events": [
|
|
684
531
|
{
|
|
685
|
-
"name": "
|
|
686
|
-
"type": {
|
|
687
|
-
"text": "CustomEvent"
|
|
688
|
-
},
|
|
689
|
-
"description": "Notifies when the checked value is changed by user interaction. **DEPRECATED** - Use the `input` event instead.",
|
|
690
|
-
"deprecated": "Use the `input` event instead."
|
|
691
|
-
},
|
|
692
|
-
{
|
|
693
|
-
"name": "auroCheckbox-focusin",
|
|
694
|
-
"type": {
|
|
695
|
-
"text": "CustomEvent"
|
|
696
|
-
},
|
|
697
|
-
"description": "Notifies when the checkbox receives focus."
|
|
698
|
-
},
|
|
699
|
-
{
|
|
700
|
-
"name": "auroCheckbox-focusout",
|
|
532
|
+
"name": "input",
|
|
701
533
|
"type": {
|
|
702
534
|
"text": "CustomEvent"
|
|
703
535
|
},
|
|
704
|
-
"description": "Notifies when the checkbox
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
"description": "Notifies when checked value is changed. **DEPRECATED** - Use the `input` event instead.",
|
|
708
|
-
"name": "change",
|
|
709
|
-
"deprecated": "Use the `input` event instead."
|
|
536
|
+
"description": "Notifies when the group's value changes due to a checkbox selection being added or removed."
|
|
710
537
|
},
|
|
711
538
|
{
|
|
712
|
-
"description": "Notifies
|
|
713
|
-
"name": "
|
|
539
|
+
"description": "Notifies that the `validity` and `errorMessage` values have changed.",
|
|
540
|
+
"name": "auroFormElement-validated"
|
|
714
541
|
}
|
|
715
542
|
],
|
|
716
543
|
"attributes": [
|
|
@@ -723,45 +550,37 @@
|
|
|
723
550
|
"default": "'default'",
|
|
724
551
|
"fieldName": "appearance"
|
|
725
552
|
},
|
|
726
|
-
{
|
|
727
|
-
"name": "checked",
|
|
728
|
-
"type": {
|
|
729
|
-
"text": "boolean"
|
|
730
|
-
},
|
|
731
|
-
"description": "If set to true, the checkbox will be filled with a checkmark.",
|
|
732
|
-
"fieldName": "checked"
|
|
733
|
-
},
|
|
734
553
|
{
|
|
735
554
|
"name": "disabled",
|
|
736
555
|
"type": {
|
|
737
556
|
"text": "boolean"
|
|
738
557
|
},
|
|
739
|
-
"description": "If set
|
|
558
|
+
"description": "If set, disables the checkbox group.",
|
|
740
559
|
"fieldName": "disabled"
|
|
741
560
|
},
|
|
742
561
|
{
|
|
743
562
|
"name": "error",
|
|
744
563
|
"type": {
|
|
745
|
-
"text": "
|
|
564
|
+
"text": "string"
|
|
746
565
|
},
|
|
747
|
-
"description": "
|
|
566
|
+
"description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
|
|
748
567
|
"fieldName": "error"
|
|
749
568
|
},
|
|
750
569
|
{
|
|
751
|
-
"name": "
|
|
570
|
+
"name": "horizontal",
|
|
752
571
|
"type": {
|
|
753
|
-
"text": "
|
|
572
|
+
"text": "boolean"
|
|
754
573
|
},
|
|
755
|
-
"description": "
|
|
756
|
-
"fieldName": "
|
|
574
|
+
"description": "If set, checkboxes will be aligned horizontally.",
|
|
575
|
+
"fieldName": "horizontal"
|
|
757
576
|
},
|
|
758
577
|
{
|
|
759
|
-
"name": "
|
|
578
|
+
"name": "novalidate",
|
|
760
579
|
"type": {
|
|
761
|
-
"text": "
|
|
580
|
+
"text": "boolean"
|
|
762
581
|
},
|
|
763
|
-
"description": "
|
|
764
|
-
"fieldName": "
|
|
582
|
+
"description": "If set, disables auto-validation on blur.",
|
|
583
|
+
"fieldName": "noValidate"
|
|
765
584
|
},
|
|
766
585
|
{
|
|
767
586
|
"name": "ondark",
|
|
@@ -773,131 +592,98 @@
|
|
|
773
592
|
"fieldName": "onDark"
|
|
774
593
|
},
|
|
775
594
|
{
|
|
776
|
-
"name": "
|
|
595
|
+
"name": "required",
|
|
777
596
|
"type": {
|
|
778
|
-
"text": "
|
|
597
|
+
"text": "boolean"
|
|
779
598
|
},
|
|
780
|
-
"description": "
|
|
781
|
-
"fieldName": "
|
|
599
|
+
"description": "Populates the `required` attribute on the element. Used for client-side validation.",
|
|
600
|
+
"fieldName": "required"
|
|
782
601
|
},
|
|
783
602
|
{
|
|
784
|
-
"name": "
|
|
603
|
+
"name": "setcustomvalidity",
|
|
785
604
|
"type": {
|
|
786
|
-
"text": "
|
|
605
|
+
"text": "string"
|
|
787
606
|
},
|
|
788
|
-
"description": "
|
|
789
|
-
"fieldName": "
|
|
607
|
+
"description": "Sets a custom help text message to display for all validityStates.",
|
|
608
|
+
"fieldName": "setCustomValidity"
|
|
790
609
|
},
|
|
791
610
|
{
|
|
792
|
-
"name": "
|
|
611
|
+
"name": "setcustomvaliditycustomerror",
|
|
793
612
|
"type": {
|
|
794
613
|
"text": "string"
|
|
795
614
|
},
|
|
796
|
-
"description": "
|
|
797
|
-
"fieldName": "
|
|
615
|
+
"description": "Custom help text message to display when validity = `customError`.",
|
|
616
|
+
"fieldName": "setCustomValidityCustomError"
|
|
798
617
|
},
|
|
799
618
|
{
|
|
800
|
-
"name": "
|
|
619
|
+
"name": "setcustomvalidityvaluemissing",
|
|
801
620
|
"type": {
|
|
802
621
|
"text": "string"
|
|
803
622
|
},
|
|
804
|
-
"description": "
|
|
805
|
-
"fieldName": "
|
|
623
|
+
"description": "Custom help text message to display when validity = `valueMissing`.",
|
|
624
|
+
"fieldName": "setCustomValidityValueMissing"
|
|
806
625
|
},
|
|
807
626
|
{
|
|
808
|
-
"name": "
|
|
627
|
+
"name": "validity",
|
|
809
628
|
"type": {
|
|
810
629
|
"text": "string"
|
|
811
630
|
},
|
|
812
|
-
"description": "
|
|
813
|
-
"fieldName": "
|
|
631
|
+
"description": "Specifies the `validityState` this element is in.",
|
|
632
|
+
"fieldName": "validity"
|
|
814
633
|
}
|
|
815
634
|
],
|
|
816
635
|
"superclass": {
|
|
817
636
|
"name": "LitElement",
|
|
818
637
|
"package": "lit"
|
|
819
638
|
},
|
|
820
|
-
"tagName": "auro-checkbox",
|
|
639
|
+
"tagName": "auro-checkbox-group",
|
|
821
640
|
"customElement": true
|
|
822
641
|
}
|
|
823
642
|
],
|
|
824
643
|
"exports": [
|
|
825
|
-
{
|
|
826
|
-
"kind": "js",
|
|
827
|
-
"name": "AuroCheckbox",
|
|
828
|
-
"declaration": {
|
|
829
|
-
"name": "AuroCheckbox",
|
|
830
|
-
"module": "components/checkbox/src/auro-checkbox.js"
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
]
|
|
834
|
-
},
|
|
835
|
-
{
|
|
836
|
-
"kind": "javascript-module",
|
|
837
|
-
"path": "components/checkbox/src/index.js",
|
|
838
|
-
"declarations": [],
|
|
839
|
-
"exports": [
|
|
840
|
-
{
|
|
841
|
-
"kind": "js",
|
|
842
|
-
"name": "AuroCheckbox",
|
|
843
|
-
"declaration": {
|
|
844
|
-
"name": "AuroCheckbox",
|
|
845
|
-
"module": "components/checkbox/src/index.js"
|
|
846
|
-
}
|
|
847
|
-
},
|
|
848
644
|
{
|
|
849
645
|
"kind": "js",
|
|
850
646
|
"name": "AuroCheckboxGroup",
|
|
851
647
|
"declaration": {
|
|
852
648
|
"name": "AuroCheckboxGroup",
|
|
853
|
-
"module": "components/checkbox/src/
|
|
649
|
+
"module": "components/checkbox/src/auro-checkbox-group.js"
|
|
854
650
|
}
|
|
855
651
|
}
|
|
856
652
|
]
|
|
857
653
|
},
|
|
858
654
|
{
|
|
859
655
|
"kind": "javascript-module",
|
|
860
|
-
"path": "components/checkbox/src/
|
|
861
|
-
"declarations": [],
|
|
862
|
-
"exports": []
|
|
863
|
-
},
|
|
864
|
-
{
|
|
865
|
-
"kind": "javascript-module",
|
|
866
|
-
"path": "components/bibtemplate/src/auro-bibtemplate.js",
|
|
656
|
+
"path": "components/checkbox/src/auro-checkbox.js",
|
|
867
657
|
"declarations": [
|
|
868
658
|
{
|
|
869
659
|
"kind": "class",
|
|
870
|
-
"description": "The `auro-
|
|
871
|
-
"name": "
|
|
660
|
+
"description": "The `auro-checkbox` element is for the purpose of allowing users to select one or more options of a limited number of choices.",
|
|
661
|
+
"name": "AuroCheckbox",
|
|
872
662
|
"cssParts": [
|
|
873
663
|
{
|
|
874
|
-
"description": "
|
|
875
|
-
"name": "
|
|
876
|
-
}
|
|
877
|
-
],
|
|
878
|
-
"slots": [
|
|
879
|
-
{
|
|
880
|
-
"description": "The default slot for the main content.",
|
|
881
|
-
"name": "default"
|
|
882
|
-
},
|
|
883
|
-
{
|
|
884
|
-
"description": "Slot for the header content.",
|
|
885
|
-
"name": "header"
|
|
664
|
+
"description": "apply css to a specific checkbox.",
|
|
665
|
+
"name": "checkbox"
|
|
886
666
|
},
|
|
887
667
|
{
|
|
888
|
-
"description": "
|
|
889
|
-
"name": "
|
|
668
|
+
"description": "apply css to a specific checkbox's input.",
|
|
669
|
+
"name": "checkbox-input"
|
|
890
670
|
},
|
|
891
671
|
{
|
|
892
|
-
"description": "
|
|
893
|
-
"name": "
|
|
894
|
-
}
|
|
672
|
+
"description": "apply css to a specific checkbox's label.",
|
|
673
|
+
"name": "checkbox-label"
|
|
674
|
+
}
|
|
675
|
+
],
|
|
676
|
+
"slots": [
|
|
895
677
|
{
|
|
896
|
-
"description": "
|
|
897
|
-
"name": "
|
|
678
|
+
"description": "The default slot for the checkbox label.",
|
|
679
|
+
"name": "default"
|
|
898
680
|
}
|
|
899
681
|
],
|
|
900
682
|
"members": [
|
|
683
|
+
{
|
|
684
|
+
"kind": "method",
|
|
685
|
+
"name": "_initializeDefaults"
|
|
686
|
+
},
|
|
901
687
|
{
|
|
902
688
|
"kind": "method",
|
|
903
689
|
"name": "register",
|
|
@@ -905,7 +691,7 @@
|
|
|
905
691
|
"parameters": [
|
|
906
692
|
{
|
|
907
693
|
"name": "name",
|
|
908
|
-
"default": "\"auro-
|
|
694
|
+
"default": "\"auro-checkbox\"",
|
|
909
695
|
"description": "The name of element that you want to register to.",
|
|
910
696
|
"optional": true,
|
|
911
697
|
"type": {
|
|
@@ -917,17 +703,18 @@
|
|
|
917
703
|
},
|
|
918
704
|
{
|
|
919
705
|
"kind": "method",
|
|
920
|
-
"name": "
|
|
706
|
+
"name": "handleChange",
|
|
921
707
|
"parameters": [
|
|
922
708
|
{
|
|
923
709
|
"name": "event",
|
|
924
|
-
"description": "The
|
|
710
|
+
"description": "The change event from the checkbox input.",
|
|
925
711
|
"type": {
|
|
926
712
|
"text": "Event"
|
|
927
713
|
}
|
|
928
714
|
}
|
|
929
715
|
],
|
|
930
|
-
"description": "
|
|
716
|
+
"description": "Handles the change event for the checkbox input.\nUpdates the checked state and dispatches a corresponding custom event.\nThis custom event is only for the purpose of supporting IE.",
|
|
717
|
+
"privacy": "private",
|
|
931
718
|
"return": {
|
|
932
719
|
"type": {
|
|
933
720
|
"text": "void"
|
|
@@ -936,8 +723,18 @@
|
|
|
936
723
|
},
|
|
937
724
|
{
|
|
938
725
|
"kind": "method",
|
|
939
|
-
"name": "
|
|
940
|
-
"
|
|
726
|
+
"name": "handleInput",
|
|
727
|
+
"parameters": [
|
|
728
|
+
{
|
|
729
|
+
"name": "event",
|
|
730
|
+
"description": "The input event from the checkbox input.",
|
|
731
|
+
"type": {
|
|
732
|
+
"text": "Event"
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
],
|
|
736
|
+
"description": "Handles the input event for the checkbox input.\nUpdates the checked state and dispatches a custom 'auroCheckbox-input' event.",
|
|
737
|
+
"privacy": "private",
|
|
941
738
|
"return": {
|
|
942
739
|
"type": {
|
|
943
740
|
"text": "void"
|
|
@@ -946,12 +743,61 @@
|
|
|
946
743
|
},
|
|
947
744
|
{
|
|
948
745
|
"kind": "method",
|
|
949
|
-
"name": "
|
|
746
|
+
"name": "handleFocusin",
|
|
747
|
+
"description": "Function to support",
|
|
748
|
+
"privacy": "private",
|
|
749
|
+
"return": {
|
|
750
|
+
"type": {
|
|
751
|
+
"text": "void"
|
|
752
|
+
}
|
|
753
|
+
}
|
|
950
754
|
},
|
|
951
755
|
{
|
|
952
756
|
"kind": "method",
|
|
953
|
-
"name": "
|
|
954
|
-
"description": "
|
|
757
|
+
"name": "generateIconHtml",
|
|
758
|
+
"description": "Function to generate checkmark svg.",
|
|
759
|
+
"privacy": "private",
|
|
760
|
+
"return": {
|
|
761
|
+
"type": {
|
|
762
|
+
"text": "HTMLElement"
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"kind": "method",
|
|
768
|
+
"name": "reset",
|
|
769
|
+
"description": "Resets component to initial state.",
|
|
770
|
+
"return": {
|
|
771
|
+
"type": {
|
|
772
|
+
"text": "void"
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"kind": "method",
|
|
778
|
+
"name": "updateAriaLabel",
|
|
779
|
+
"description": "Updates the aria-label based on slot content.",
|
|
780
|
+
"privacy": "private",
|
|
781
|
+
"return": {
|
|
782
|
+
"type": {
|
|
783
|
+
"text": "void"
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"kind": "method",
|
|
789
|
+
"name": "handleKeyDown",
|
|
790
|
+
"parameters": [
|
|
791
|
+
{
|
|
792
|
+
"name": "event",
|
|
793
|
+
"description": "The keydown event from the checkbox input.",
|
|
794
|
+
"type": {
|
|
795
|
+
"text": "KeyboardEvent"
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
],
|
|
799
|
+
"description": "Handles keydown event to toggle the checkbox with Space key.",
|
|
800
|
+
"privacy": "private",
|
|
955
801
|
"return": {
|
|
956
802
|
"type": {
|
|
957
803
|
"text": "void"
|
|
@@ -960,179 +806,333 @@
|
|
|
960
806
|
},
|
|
961
807
|
{
|
|
962
808
|
"kind": "field",
|
|
963
|
-
"name": "
|
|
809
|
+
"name": "appearance",
|
|
810
|
+
"privacy": "public",
|
|
811
|
+
"type": {
|
|
812
|
+
"text": "'default' | 'inverse'"
|
|
813
|
+
},
|
|
814
|
+
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
815
|
+
"default": "'default'",
|
|
816
|
+
"attribute": "appearance",
|
|
817
|
+
"reflects": true
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"kind": "field",
|
|
821
|
+
"name": "checked",
|
|
964
822
|
"privacy": "public",
|
|
965
823
|
"type": {
|
|
966
824
|
"text": "boolean"
|
|
967
825
|
},
|
|
968
|
-
"description": "If
|
|
969
|
-
"
|
|
970
|
-
"attribute": "large",
|
|
826
|
+
"description": "If set to true, the checkbox will be filled with a checkmark.",
|
|
827
|
+
"attribute": "checked",
|
|
971
828
|
"reflects": true
|
|
972
829
|
},
|
|
973
830
|
{
|
|
974
831
|
"kind": "field",
|
|
975
|
-
"name": "
|
|
976
|
-
"privacy": "
|
|
832
|
+
"name": "disabled",
|
|
833
|
+
"privacy": "public",
|
|
834
|
+
"type": {
|
|
835
|
+
"text": "boolean"
|
|
836
|
+
},
|
|
837
|
+
"description": "If set to true, the checkbox will not be clickable.",
|
|
838
|
+
"attribute": "disabled",
|
|
839
|
+
"reflects": true
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"kind": "field",
|
|
843
|
+
"name": "error",
|
|
844
|
+
"privacy": "public",
|
|
845
|
+
"type": {
|
|
846
|
+
"text": "boolean"
|
|
847
|
+
},
|
|
848
|
+
"description": "If set to true, the checkbox will be displayed with an error state.",
|
|
849
|
+
"attribute": "error",
|
|
850
|
+
"reflects": true
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"kind": "field",
|
|
854
|
+
"name": "id",
|
|
855
|
+
"privacy": "public",
|
|
856
|
+
"type": {
|
|
857
|
+
"text": "string"
|
|
858
|
+
},
|
|
859
|
+
"description": "The id global attribute defines an identifier (ID) which must be unique in the whole document.",
|
|
860
|
+
"attribute": "id",
|
|
861
|
+
"reflects": true
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"kind": "field",
|
|
865
|
+
"name": "inputId",
|
|
866
|
+
"privacy": "private",
|
|
867
|
+
"type": {
|
|
868
|
+
"text": "string"
|
|
869
|
+
},
|
|
870
|
+
"description": "The id for input node."
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"kind": "field",
|
|
874
|
+
"name": "name",
|
|
875
|
+
"privacy": "public",
|
|
876
|
+
"type": {
|
|
877
|
+
"text": "string"
|
|
878
|
+
},
|
|
879
|
+
"description": "Accepts any string and is used to identify related checkboxes when submitting form data.",
|
|
880
|
+
"attribute": "name"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"kind": "field",
|
|
884
|
+
"name": "onDark",
|
|
885
|
+
"privacy": "public",
|
|
886
|
+
"type": {
|
|
887
|
+
"text": "boolean"
|
|
888
|
+
},
|
|
889
|
+
"description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
|
|
890
|
+
"deprecated": "Use `appearance=\"inverse\"` instead.",
|
|
891
|
+
"attribute": "ondark",
|
|
892
|
+
"reflects": true
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"kind": "field",
|
|
896
|
+
"name": "touched",
|
|
897
|
+
"privacy": "private",
|
|
898
|
+
"type": {
|
|
899
|
+
"text": "boolean"
|
|
900
|
+
},
|
|
901
|
+
"description": "Indicates whether the checkbox has been interacted with."
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"kind": "field",
|
|
905
|
+
"name": "value",
|
|
906
|
+
"privacy": "public",
|
|
907
|
+
"type": {
|
|
908
|
+
"text": "string"
|
|
909
|
+
},
|
|
910
|
+
"description": "Sets the element's input value. Must be unique within an auro-checkbox-group element.",
|
|
911
|
+
"attribute": "value"
|
|
977
912
|
},
|
|
978
913
|
{
|
|
979
914
|
"kind": "field",
|
|
980
|
-
"name": "
|
|
981
|
-
"privacy": "private"
|
|
915
|
+
"name": "tabIndex",
|
|
916
|
+
"privacy": "private",
|
|
917
|
+
"type": {
|
|
918
|
+
"text": "number"
|
|
919
|
+
},
|
|
920
|
+
"description": "The tabindex attribute for the checkbox.",
|
|
921
|
+
"attribute": "tabindex",
|
|
922
|
+
"reflects": true
|
|
982
923
|
},
|
|
983
924
|
{
|
|
984
925
|
"kind": "field",
|
|
985
|
-
"name": "
|
|
986
|
-
"privacy": "private"
|
|
926
|
+
"name": "ariaChecked",
|
|
927
|
+
"privacy": "private",
|
|
928
|
+
"type": {
|
|
929
|
+
"text": "string"
|
|
930
|
+
},
|
|
931
|
+
"description": "The aria-checked attribute for the checkbox.",
|
|
932
|
+
"attribute": "aria-checked",
|
|
933
|
+
"reflects": true
|
|
987
934
|
},
|
|
988
935
|
{
|
|
989
936
|
"kind": "field",
|
|
990
|
-
"name": "
|
|
991
|
-
"privacy": "
|
|
937
|
+
"name": "ariaDisabled",
|
|
938
|
+
"privacy": "private",
|
|
992
939
|
"type": {
|
|
993
|
-
"text": "
|
|
940
|
+
"text": "string"
|
|
994
941
|
},
|
|
995
|
-
"description": "
|
|
996
|
-
"attribute": "
|
|
942
|
+
"description": "The aria-disabled attribute for the checkbox.",
|
|
943
|
+
"attribute": "aria-disabled",
|
|
997
944
|
"reflects": true
|
|
998
945
|
},
|
|
999
946
|
{
|
|
1000
947
|
"kind": "field",
|
|
1001
|
-
"name": "
|
|
1002
|
-
"privacy": "
|
|
948
|
+
"name": "role",
|
|
949
|
+
"privacy": "private",
|
|
1003
950
|
"type": {
|
|
1004
|
-
"text": "
|
|
951
|
+
"text": "string"
|
|
1005
952
|
},
|
|
1006
|
-
"description": "
|
|
1007
|
-
"attribute": "
|
|
953
|
+
"description": "The ARIA role for the element. Must remain 'checkbox' for screen readers\nto correctly identify this as a checkbox control.",
|
|
954
|
+
"attribute": "role",
|
|
1008
955
|
"reflects": true
|
|
1009
956
|
}
|
|
1010
957
|
],
|
|
1011
958
|
"events": [
|
|
1012
959
|
{
|
|
1013
|
-
"name": "
|
|
960
|
+
"name": "auroCheckbox-input",
|
|
1014
961
|
"type": {
|
|
1015
|
-
"text": "
|
|
962
|
+
"text": "CustomEvent"
|
|
1016
963
|
},
|
|
1017
|
-
"description": "Notifies when the
|
|
964
|
+
"description": "Notifies when the checked value is changed by user interaction. **DEPRECATED** - Use the `input` event instead.",
|
|
965
|
+
"deprecated": "Use the `input` event instead."
|
|
1018
966
|
},
|
|
1019
967
|
{
|
|
1020
|
-
"name": "
|
|
968
|
+
"name": "auroCheckbox-focusin",
|
|
1021
969
|
"type": {
|
|
1022
970
|
"text": "CustomEvent"
|
|
1023
971
|
},
|
|
1024
|
-
"description": "Notifies
|
|
972
|
+
"description": "Notifies when the checkbox receives focus."
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
"name": "auroCheckbox-focusout",
|
|
976
|
+
"type": {
|
|
977
|
+
"text": "CustomEvent"
|
|
978
|
+
},
|
|
979
|
+
"description": "Notifies when the checkbox loses focus."
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"description": "Notifies when checked value is changed. **DEPRECATED** - Use the `input` event instead.",
|
|
983
|
+
"name": "change",
|
|
984
|
+
"deprecated": "Use the `input` event instead."
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
"description": "Notifies when checked value is changed by user's interface.",
|
|
988
|
+
"name": "input"
|
|
1025
989
|
}
|
|
1026
990
|
],
|
|
1027
991
|
"attributes": [
|
|
1028
992
|
{
|
|
1029
|
-
"name": "
|
|
993
|
+
"name": "appearance",
|
|
994
|
+
"type": {
|
|
995
|
+
"text": "'default' | 'inverse'"
|
|
996
|
+
},
|
|
997
|
+
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
998
|
+
"default": "'default'",
|
|
999
|
+
"fieldName": "appearance"
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "checked",
|
|
1030
1003
|
"type": {
|
|
1031
1004
|
"text": "boolean"
|
|
1032
1005
|
},
|
|
1033
|
-
"description": "If
|
|
1034
|
-
"fieldName": "
|
|
1006
|
+
"description": "If set to true, the checkbox will be filled with a checkmark.",
|
|
1007
|
+
"fieldName": "checked"
|
|
1035
1008
|
},
|
|
1036
1009
|
{
|
|
1037
|
-
"name": "
|
|
1010
|
+
"name": "disabled",
|
|
1038
1011
|
"type": {
|
|
1039
1012
|
"text": "boolean"
|
|
1040
1013
|
},
|
|
1041
|
-
"description": "If
|
|
1042
|
-
"
|
|
1043
|
-
"fieldName": "large"
|
|
1014
|
+
"description": "If set to true, the checkbox will not be clickable.",
|
|
1015
|
+
"fieldName": "disabled"
|
|
1044
1016
|
},
|
|
1045
1017
|
{
|
|
1046
|
-
"name": "
|
|
1018
|
+
"name": "error",
|
|
1047
1019
|
"type": {
|
|
1048
1020
|
"text": "boolean"
|
|
1049
1021
|
},
|
|
1050
|
-
"description": "If
|
|
1051
|
-
"fieldName": "
|
|
1022
|
+
"description": "If set to true, the checkbox will be displayed with an error state.",
|
|
1023
|
+
"fieldName": "error"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"name": "id",
|
|
1027
|
+
"type": {
|
|
1028
|
+
"text": "string"
|
|
1029
|
+
},
|
|
1030
|
+
"description": "The id global attribute defines an identifier (ID) which must be unique in the whole document.",
|
|
1031
|
+
"fieldName": "id"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"name": "name",
|
|
1035
|
+
"type": {
|
|
1036
|
+
"text": "string"
|
|
1037
|
+
},
|
|
1038
|
+
"description": "Accepts any string and is used to identify related checkboxes when submitting form data.",
|
|
1039
|
+
"fieldName": "name"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"name": "ondark",
|
|
1043
|
+
"type": {
|
|
1044
|
+
"text": "boolean"
|
|
1045
|
+
},
|
|
1046
|
+
"description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
|
|
1047
|
+
"deprecated": "Use `appearance=\"inverse\"` instead.",
|
|
1048
|
+
"fieldName": "onDark"
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"name": "value",
|
|
1052
|
+
"type": {
|
|
1053
|
+
"text": "string"
|
|
1054
|
+
},
|
|
1055
|
+
"description": "Sets the element's input value. Must be unique within an auro-checkbox-group element.",
|
|
1056
|
+
"fieldName": "value"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"name": "tabindex",
|
|
1060
|
+
"type": {
|
|
1061
|
+
"text": "number"
|
|
1062
|
+
},
|
|
1063
|
+
"description": "The tabindex attribute for the checkbox.",
|
|
1064
|
+
"fieldName": "tabIndex"
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"name": "aria-checked",
|
|
1068
|
+
"type": {
|
|
1069
|
+
"text": "string"
|
|
1070
|
+
},
|
|
1071
|
+
"description": "The aria-checked attribute for the checkbox.",
|
|
1072
|
+
"fieldName": "ariaChecked"
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"name": "aria-disabled",
|
|
1076
|
+
"type": {
|
|
1077
|
+
"text": "string"
|
|
1078
|
+
},
|
|
1079
|
+
"description": "The aria-disabled attribute for the checkbox.",
|
|
1080
|
+
"fieldName": "ariaDisabled"
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"name": "role",
|
|
1084
|
+
"type": {
|
|
1085
|
+
"text": "string"
|
|
1086
|
+
},
|
|
1087
|
+
"description": "The ARIA role for the element. Must remain 'checkbox' for screen readers\nto correctly identify this as a checkbox control.",
|
|
1088
|
+
"fieldName": "role"
|
|
1052
1089
|
}
|
|
1053
1090
|
],
|
|
1054
1091
|
"superclass": {
|
|
1055
1092
|
"name": "LitElement",
|
|
1056
1093
|
"package": "lit"
|
|
1057
1094
|
},
|
|
1058
|
-
"tagName": "auro-
|
|
1095
|
+
"tagName": "auro-checkbox",
|
|
1059
1096
|
"customElement": true
|
|
1060
1097
|
}
|
|
1061
1098
|
],
|
|
1062
1099
|
"exports": [
|
|
1063
1100
|
{
|
|
1064
1101
|
"kind": "js",
|
|
1065
|
-
"name": "
|
|
1066
|
-
"declaration": {
|
|
1067
|
-
"name": "AuroBibtemplate",
|
|
1068
|
-
"module": "components/bibtemplate/src/auro-bibtemplate.js"
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
]
|
|
1072
|
-
},
|
|
1073
|
-
{
|
|
1074
|
-
"kind": "javascript-module",
|
|
1075
|
-
"path": "components/bibtemplate/src/buttonVersion.js",
|
|
1076
|
-
"declarations": [],
|
|
1077
|
-
"exports": [
|
|
1078
|
-
{
|
|
1079
|
-
"kind": "js",
|
|
1080
|
-
"name": "default",
|
|
1081
|
-
"declaration": {
|
|
1082
|
-
"name": "12.3.2",
|
|
1083
|
-
"module": "components/bibtemplate/src/buttonVersion.js"
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
]
|
|
1087
|
-
},
|
|
1088
|
-
{
|
|
1089
|
-
"kind": "javascript-module",
|
|
1090
|
-
"path": "components/bibtemplate/src/headerVersion.js",
|
|
1091
|
-
"declarations": [],
|
|
1092
|
-
"exports": [
|
|
1093
|
-
{
|
|
1094
|
-
"kind": "js",
|
|
1095
|
-
"name": "default",
|
|
1102
|
+
"name": "AuroCheckbox",
|
|
1096
1103
|
"declaration": {
|
|
1097
|
-
"name": "
|
|
1098
|
-
"module": "components/
|
|
1104
|
+
"name": "AuroCheckbox",
|
|
1105
|
+
"module": "components/checkbox/src/auro-checkbox.js"
|
|
1099
1106
|
}
|
|
1100
1107
|
}
|
|
1101
1108
|
]
|
|
1102
1109
|
},
|
|
1103
1110
|
{
|
|
1104
1111
|
"kind": "javascript-module",
|
|
1105
|
-
"path": "components/
|
|
1112
|
+
"path": "components/checkbox/src/index.js",
|
|
1106
1113
|
"declarations": [],
|
|
1107
1114
|
"exports": [
|
|
1108
1115
|
{
|
|
1109
1116
|
"kind": "js",
|
|
1110
|
-
"name": "
|
|
1117
|
+
"name": "AuroCheckbox",
|
|
1111
1118
|
"declaration": {
|
|
1112
|
-
"name": "
|
|
1113
|
-
"module": "components/
|
|
1119
|
+
"name": "AuroCheckbox",
|
|
1120
|
+
"module": "components/checkbox/src/index.js"
|
|
1114
1121
|
}
|
|
1115
|
-
}
|
|
1116
|
-
]
|
|
1117
|
-
},
|
|
1118
|
-
{
|
|
1119
|
-
"kind": "javascript-module",
|
|
1120
|
-
"path": "components/bibtemplate/src/index.js",
|
|
1121
|
-
"declarations": [],
|
|
1122
|
-
"exports": [
|
|
1122
|
+
},
|
|
1123
1123
|
{
|
|
1124
1124
|
"kind": "js",
|
|
1125
|
-
"name": "
|
|
1125
|
+
"name": "AuroCheckboxGroup",
|
|
1126
1126
|
"declaration": {
|
|
1127
|
-
"name": "
|
|
1128
|
-
"module": "components/
|
|
1127
|
+
"name": "AuroCheckboxGroup",
|
|
1128
|
+
"module": "components/checkbox/src/index.js"
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
1131
|
]
|
|
1132
1132
|
},
|
|
1133
1133
|
{
|
|
1134
1134
|
"kind": "javascript-module",
|
|
1135
|
-
"path": "components/
|
|
1135
|
+
"path": "components/checkbox/src/registered.js",
|
|
1136
1136
|
"declarations": [],
|
|
1137
1137
|
"exports": []
|
|
1138
1138
|
},
|
|
@@ -1464,6 +1464,26 @@
|
|
|
1464
1464
|
}
|
|
1465
1465
|
}
|
|
1466
1466
|
},
|
|
1467
|
+
{
|
|
1468
|
+
"kind": "method",
|
|
1469
|
+
"name": "trackClearBtnActivation",
|
|
1470
|
+
"parameters": [
|
|
1471
|
+
{
|
|
1472
|
+
"name": "inputEl",
|
|
1473
|
+
"description": "The auro-input whose clear button to track.",
|
|
1474
|
+
"type": {
|
|
1475
|
+
"text": "Element"
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
],
|
|
1479
|
+
"description": "Flags genuine clear-button activations on an auro-input so the SPA-preselect\nguard in handleInputValueChange doesn't swallow them.\n\nThe auro-input clear button fires an `isProgrammatic` input event (via\nnotifyValueChanged) that is indistinguishable in shape from the\nSPA-preselect echo that guard bails on (isProgrammatic + set value + empty\ninput). Without this one-shot flag, clicking clear would leave\nthis.value/optionSelected stale (AB#1634257).\n\nDelegated on the shadow root so it works regardless of when .clearBtn\nrenders (it only exists after a value is set), and covers both real clicks\nand programmatic clearBtn.click() (which no focusin precedes). Registered in\nthe CAPTURE phase so the flag is set BEFORE the button's own",
|
|
1480
|
+
"privacy": "private",
|
|
1481
|
+
"return": {
|
|
1482
|
+
"type": {
|
|
1483
|
+
"text": "void"
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1486
|
+
},
|
|
1467
1487
|
{
|
|
1468
1488
|
"kind": "method",
|
|
1469
1489
|
"name": "handleMenuLoadingChange",
|
|
@@ -2877,6 +2897,16 @@
|
|
|
2877
2897
|
],
|
|
2878
2898
|
"description": "Validates value."
|
|
2879
2899
|
},
|
|
2900
|
+
{
|
|
2901
|
+
"kind": "method",
|
|
2902
|
+
"name": "reset",
|
|
2903
|
+
"description": "Resets the counter group to its initial state by resetting each child counter and clearing validity.\nEach child reset dispatches an `input` event, which triggers `updateValue()` to recompute `value`/`total`.",
|
|
2904
|
+
"return": {
|
|
2905
|
+
"type": {
|
|
2906
|
+
"text": "void"
|
|
2907
|
+
}
|
|
2908
|
+
}
|
|
2909
|
+
},
|
|
2880
2910
|
{
|
|
2881
2911
|
"kind": "method",
|
|
2882
2912
|
"name": "register",
|
|
@@ -3856,6 +3886,16 @@
|
|
|
3856
3886
|
],
|
|
3857
3887
|
"description": "Validates value."
|
|
3858
3888
|
},
|
|
3889
|
+
{
|
|
3890
|
+
"kind": "method",
|
|
3891
|
+
"name": "reset",
|
|
3892
|
+
"description": "Resets the counter to its default state, clearing validity/touched state and returning\nthe value to `min` — matching the clear-on-reset behavior of the other Auro form elements.",
|
|
3893
|
+
"return": {
|
|
3894
|
+
"type": {
|
|
3895
|
+
"text": "void"
|
|
3896
|
+
}
|
|
3897
|
+
}
|
|
3898
|
+
},
|
|
3859
3899
|
{
|
|
3860
3900
|
"kind": "method",
|
|
3861
3901
|
"name": "setTagAttribute",
|
|
@@ -4165,7 +4205,7 @@
|
|
|
4165
4205
|
"type": {
|
|
4166
4206
|
"text": "object"
|
|
4167
4207
|
},
|
|
4168
|
-
"default": "{ Escape(component, evt) { if (!component.dropdown || !component.dropdown.isPopoverVisible) { return; } // Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups. // Because stopPropagation prevents the document-level floatingUI keydown handler from // seeing this event, we must also close the dropdown explicitly. evt.stopPropagation(); component.dropdown.hide(); }, }"
|
|
4208
|
+
"default": "{ Escape(component, evt) { if (!component.dropdown || !component.dropdown.isPopoverVisible) { return; } // Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups. // Because stopPropagation prevents the document-level floatingUI keydown handler from // seeing this event, we must also close the dropdown explicitly. evt.stopPropagation(); component.dropdown.hide(); }, Tab(component, evt, ctx) { // Forward Tab already exits past the bib content and the focusout handler // closes the bib. Fullscreen relies on the dialog's native focus trapping. if (!ctx.isExpanded || ctx.isModal || !evt.shiftKey) { return; } // The trigger precedes the bib content in the flattened tab order, so a // native Shift+Tab off the first counter lands back on the trigger and // leaves the bib open. Only intercept when focus is on the first focusable // in the bib; otherwise let the browser move to the previous counter. // `composedPath()` reports the real event origin through every shadow // boundary, unlike `document.activeElement`, which retargets to the first // slotted counter and cannot tell the counters apart. const focusables = getFocusableElements(component.dropdown.bibContent); if (!focusables.length) { return; } const path = evt.composedPath(); const activeIndex = focusables.findIndex((el) => path.includes(el)); if (activeIndex !== 0) { return; } const previousTabStop = getPreviousTabStop(component); // Always suppress the native Shift+Tab. Otherwise it fires against the bib // as it is torn down and lands focus on the trigger (which precedes the // first counter), re-opening the exact loop this handler prevents. When // nothing precedes the group, focus falls to the body instead of the // trigger, which reads as exiting the group backward. evt.preventDefault(); component.hideBib(); if (!previousTabStop) { return; } doubleRaf(() => previousTabStop.focus()); }, }"
|
|
4169
4209
|
}
|
|
4170
4210
|
],
|
|
4171
4211
|
"exports": [
|