@aurodesignsystem-dev/auro-formkit 0.0.0-pr1441.0 → 0.0.0-pr1441.2
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/api.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/api.min.js +3 -3
- package/components/combobox/demo/index.min.js +3 -3
- package/components/combobox/dist/index.js +3 -3
- package/components/combobox/dist/registered.js +3 -3
- package/components/counter/demo/api.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/api.min.js +11 -3
- package/components/datepicker/demo/index.min.js +11 -3
- package/components/datepicker/dist/auro-datepicker.d.ts +1 -0
- package/components/datepicker/dist/index.js +11 -3
- package/components/datepicker/dist/registered.js +11 -3
- package/components/dropdown/demo/api.min.js +1 -1
- 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/api.min.js +21 -13
- package/components/form/demo/index.min.js +21 -13
- package/components/input/demo/api.min.js +1 -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/radio/demo/api.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/api.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +1431 -1431
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -248,80 +248,34 @@
|
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
250
|
"kind": "javascript-module",
|
|
251
|
-
"path": "components/
|
|
251
|
+
"path": "components/checkbox/src/auro-checkbox-group.js",
|
|
252
252
|
"declarations": [
|
|
253
253
|
{
|
|
254
254
|
"kind": "class",
|
|
255
|
-
"description": "The `auro-
|
|
256
|
-
"name": "
|
|
255
|
+
"description": "The `auro-checkbox-group` element is a wrapper for `auro-checkbox` elements.",
|
|
256
|
+
"name": "AuroCheckboxGroup",
|
|
257
257
|
"slots": [
|
|
258
258
|
{
|
|
259
|
-
"description": "
|
|
260
|
-
"name": ""
|
|
259
|
+
"description": "Allows for the legend to be overridden.",
|
|
260
|
+
"name": "legend"
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
|
-
"type": {
|
|
264
|
-
"text": "HTMLSlotElement"
|
|
265
|
-
},
|
|
266
263
|
"description": "Allows overriding the optional display text \"(optional)\", which appears next to the label.",
|
|
267
264
|
"name": "optionalLabel"
|
|
268
265
|
},
|
|
269
266
|
{
|
|
270
|
-
"description": "
|
|
271
|
-
"name": "ariaLabel.input.clear"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"description": "Sets aria-label on close button in fullscreen bib",
|
|
275
|
-
"name": "ariaLabel.bib.close"
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"description": "Defines the headline to display above menu-options",
|
|
279
|
-
"name": "bib.fullscreen.headline"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"description": "Defines the content of the label.",
|
|
283
|
-
"name": "label"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"description": "Defines the content of the helpText.",
|
|
267
|
+
"description": "Allows for the helper text to be overridden.",
|
|
287
268
|
"name": "helpText"
|
|
288
269
|
},
|
|
289
270
|
{
|
|
290
|
-
"description": "
|
|
291
|
-
"name": "
|
|
271
|
+
"description": "The default slot for the checkbox items.",
|
|
272
|
+
"name": "default"
|
|
292
273
|
}
|
|
293
274
|
],
|
|
294
275
|
"members": [
|
|
295
276
|
{
|
|
296
277
|
"kind": "method",
|
|
297
|
-
"name": "_initializeDefaults"
|
|
298
|
-
"privacy": "private",
|
|
299
|
-
"return": {
|
|
300
|
-
"type": {
|
|
301
|
-
"text": "void"
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"kind": "field",
|
|
307
|
-
"name": "inputValue",
|
|
308
|
-
"description": "Returns the current value of the input element within the combobox.",
|
|
309
|
-
"return": {
|
|
310
|
-
"type": {
|
|
311
|
-
"text": "string|undefined"
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
|
-
"readonly": true
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"kind": "method",
|
|
318
|
-
"name": "isValid",
|
|
319
|
-
"description": "Checks if the element is valid.",
|
|
320
|
-
"return": {
|
|
321
|
-
"type": {
|
|
322
|
-
"text": "boolean"
|
|
323
|
-
}
|
|
324
|
-
}
|
|
278
|
+
"name": "_initializeDefaults"
|
|
325
279
|
},
|
|
326
280
|
{
|
|
327
281
|
"kind": "method",
|
|
@@ -330,7 +284,7 @@
|
|
|
330
284
|
"parameters": [
|
|
331
285
|
{
|
|
332
286
|
"name": "name",
|
|
333
|
-
"default": "
|
|
287
|
+
"default": "\"auro-checkbox-group\"",
|
|
334
288
|
"description": "The name of the element that you want to register.",
|
|
335
289
|
"optional": true,
|
|
336
290
|
"type": {
|
|
@@ -342,62 +296,24 @@
|
|
|
342
296
|
},
|
|
343
297
|
{
|
|
344
298
|
"kind": "method",
|
|
345
|
-
"name": "
|
|
346
|
-
"description": "Mark the first available (non-hidden), enabled option as `active`.",
|
|
347
|
-
"privacy": "private",
|
|
348
|
-
"return": {
|
|
349
|
-
"type": {
|
|
350
|
-
"text": "void"
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
"kind": "method",
|
|
356
|
-
"name": "activateLastEnabledAvailableOption",
|
|
357
|
-
"description": "Mark the last available (non-hidden), enabled option as `active`.",
|
|
358
|
-
"privacy": "private",
|
|
359
|
-
"return": {
|
|
360
|
-
"type": {
|
|
361
|
-
"text": "void"
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
"kind": "method",
|
|
367
|
-
"name": "updateFilter",
|
|
368
|
-
"description": "Updates the filter for the available options based on the input value.",
|
|
369
|
-
"privacy": "private"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"kind": "method",
|
|
373
|
-
"name": "syncValuesAndStates",
|
|
374
|
-
"description": "Syncs the values and states of this component, the input, and the menu, including this.optionSelected and this.menu.optionSelected.",
|
|
375
|
-
"privacy": "private",
|
|
376
|
-
"return": {
|
|
377
|
-
"type": {
|
|
378
|
-
"text": "void"
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"kind": "method",
|
|
384
|
-
"name": "updateTriggerTextDisplay",
|
|
299
|
+
"name": "handleValueUpdate",
|
|
385
300
|
"parameters": [
|
|
386
301
|
{
|
|
387
|
-
"name": "
|
|
388
|
-
"description": "The
|
|
302
|
+
"name": "value",
|
|
303
|
+
"description": "The value of the checkbox.",
|
|
389
304
|
"type": {
|
|
390
|
-
"text": "
|
|
305
|
+
"text": "String"
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"name": "selected",
|
|
310
|
+
"description": "The checked state of the checkbox.",
|
|
311
|
+
"type": {
|
|
312
|
+
"text": "Boolean"
|
|
391
313
|
}
|
|
392
314
|
}
|
|
393
315
|
],
|
|
394
|
-
"description": "
|
|
395
|
-
"privacy": "private"
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
"kind": "method",
|
|
399
|
-
"name": "handleMenuOptions",
|
|
400
|
-
"description": "Processes hidden state of all menu options and determines if there are any available options not hidden.",
|
|
316
|
+
"description": "Helper method to handle checkbox value changing.",
|
|
401
317
|
"privacy": "private",
|
|
402
318
|
"return": {
|
|
403
319
|
"type": {
|
|
@@ -407,8 +323,8 @@
|
|
|
407
323
|
},
|
|
408
324
|
{
|
|
409
325
|
"kind": "method",
|
|
410
|
-
"name": "
|
|
411
|
-
"description": "
|
|
326
|
+
"name": "handlePreselectedItems",
|
|
327
|
+
"description": "Helper method that handles the state of preselected checkboxes.",
|
|
412
328
|
"privacy": "private",
|
|
413
329
|
"return": {
|
|
414
330
|
"type": {
|
|
@@ -418,8 +334,9 @@
|
|
|
418
334
|
},
|
|
419
335
|
{
|
|
420
336
|
"kind": "method",
|
|
421
|
-
"name": "
|
|
422
|
-
"description": "
|
|
337
|
+
"name": "handleItems",
|
|
338
|
+
"description": "Helper method that handles the state of checkboxes.",
|
|
339
|
+
"privacy": "private",
|
|
423
340
|
"return": {
|
|
424
341
|
"type": {
|
|
425
342
|
"text": "void"
|
|
@@ -428,8 +345,8 @@
|
|
|
428
345
|
},
|
|
429
346
|
{
|
|
430
347
|
"kind": "method",
|
|
431
|
-
"name": "
|
|
432
|
-
"description": "
|
|
348
|
+
"name": "reset",
|
|
349
|
+
"description": "Resets component to initial state.",
|
|
433
350
|
"return": {
|
|
434
351
|
"type": {
|
|
435
352
|
"text": "void"
|
|
@@ -438,102 +355,325 @@
|
|
|
438
355
|
},
|
|
439
356
|
{
|
|
440
357
|
"kind": "method",
|
|
441
|
-
"name": "
|
|
442
|
-
"
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
"
|
|
358
|
+
"name": "validate",
|
|
359
|
+
"parameters": [
|
|
360
|
+
{
|
|
361
|
+
"name": "force",
|
|
362
|
+
"default": "false",
|
|
363
|
+
"description": "Whether to force validation.",
|
|
364
|
+
"optional": true,
|
|
365
|
+
"type": {
|
|
366
|
+
"text": "boolean"
|
|
367
|
+
}
|
|
447
368
|
}
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
{
|
|
451
|
-
"kind": "method",
|
|
452
|
-
"name": "setClearBtnFocus",
|
|
453
|
-
"privacy": "private"
|
|
369
|
+
],
|
|
370
|
+
"description": "Validates value."
|
|
454
371
|
},
|
|
455
372
|
{
|
|
456
|
-
"kind": "
|
|
457
|
-
"name": "
|
|
458
|
-
"privacy": "
|
|
373
|
+
"kind": "field",
|
|
374
|
+
"name": "appearance",
|
|
375
|
+
"privacy": "public",
|
|
376
|
+
"type": {
|
|
377
|
+
"text": "'default' | 'inverse'"
|
|
378
|
+
},
|
|
379
|
+
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
380
|
+
"default": "'default'",
|
|
381
|
+
"attribute": "appearance",
|
|
382
|
+
"reflects": true
|
|
459
383
|
},
|
|
460
384
|
{
|
|
461
|
-
"kind": "
|
|
462
|
-
"name": "
|
|
463
|
-
"privacy": "
|
|
385
|
+
"kind": "field",
|
|
386
|
+
"name": "disabled",
|
|
387
|
+
"privacy": "public",
|
|
388
|
+
"type": {
|
|
389
|
+
"text": "boolean"
|
|
390
|
+
},
|
|
391
|
+
"description": "If set, disables the checkbox group.",
|
|
392
|
+
"attribute": "disabled",
|
|
393
|
+
"reflects": true
|
|
464
394
|
},
|
|
465
395
|
{
|
|
466
|
-
"kind": "
|
|
467
|
-
"name": "
|
|
468
|
-
"
|
|
469
|
-
"
|
|
396
|
+
"kind": "field",
|
|
397
|
+
"name": "error",
|
|
398
|
+
"privacy": "public",
|
|
399
|
+
"type": {
|
|
400
|
+
"text": "string"
|
|
401
|
+
},
|
|
402
|
+
"description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
|
|
403
|
+
"attribute": "error",
|
|
404
|
+
"reflects": true
|
|
470
405
|
},
|
|
471
406
|
{
|
|
472
|
-
"kind": "
|
|
473
|
-
"name": "
|
|
474
|
-
"
|
|
475
|
-
"
|
|
407
|
+
"kind": "field",
|
|
408
|
+
"name": "horizontal",
|
|
409
|
+
"privacy": "public",
|
|
410
|
+
"type": {
|
|
411
|
+
"text": "boolean"
|
|
412
|
+
},
|
|
413
|
+
"description": "If set, checkboxes will be aligned horizontally.",
|
|
414
|
+
"attribute": "horizontal",
|
|
415
|
+
"reflects": true
|
|
476
416
|
},
|
|
477
417
|
{
|
|
478
|
-
"kind": "
|
|
479
|
-
"name": "
|
|
480
|
-
"
|
|
481
|
-
"
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
418
|
+
"kind": "field",
|
|
419
|
+
"name": "noValidate",
|
|
420
|
+
"privacy": "public",
|
|
421
|
+
"type": {
|
|
422
|
+
"text": "boolean"
|
|
423
|
+
},
|
|
424
|
+
"description": "If set, disables auto-validation on blur.",
|
|
425
|
+
"attribute": "noValidate",
|
|
426
|
+
"reflects": true
|
|
487
427
|
},
|
|
488
428
|
{
|
|
489
|
-
"kind": "
|
|
490
|
-
"name": "
|
|
491
|
-
"
|
|
492
|
-
"
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
429
|
+
"kind": "field",
|
|
430
|
+
"name": "onDark",
|
|
431
|
+
"privacy": "public",
|
|
432
|
+
"type": {
|
|
433
|
+
"text": "boolean"
|
|
434
|
+
},
|
|
435
|
+
"description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
|
|
436
|
+
"attribute": "onDark",
|
|
437
|
+
"reflects": true
|
|
498
438
|
},
|
|
499
439
|
{
|
|
500
|
-
"kind": "
|
|
501
|
-
"name": "
|
|
502
|
-
"
|
|
503
|
-
"
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
440
|
+
"kind": "field",
|
|
441
|
+
"name": "required",
|
|
442
|
+
"privacy": "public",
|
|
443
|
+
"type": {
|
|
444
|
+
"text": "boolean"
|
|
445
|
+
},
|
|
446
|
+
"description": "Populates the `required` attribute on the element. Used for client-side validation.",
|
|
447
|
+
"attribute": "required",
|
|
448
|
+
"reflects": true
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"kind": "field",
|
|
452
|
+
"name": "setCustomValidity",
|
|
453
|
+
"privacy": "public",
|
|
454
|
+
"type": {
|
|
455
|
+
"text": "string"
|
|
456
|
+
},
|
|
457
|
+
"description": "Sets a custom help text message to display for all validityStates.",
|
|
458
|
+
"attribute": "setCustomValidity"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"kind": "field",
|
|
462
|
+
"name": "setCustomValidityCustomError",
|
|
463
|
+
"privacy": "public",
|
|
464
|
+
"type": {
|
|
465
|
+
"text": "string"
|
|
466
|
+
},
|
|
467
|
+
"description": "Custom help text message to display when validity = `customError`.",
|
|
468
|
+
"attribute": "setCustomValidityCustomError"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"kind": "field",
|
|
472
|
+
"name": "setCustomValidityValueMissing",
|
|
473
|
+
"privacy": "public",
|
|
474
|
+
"type": {
|
|
475
|
+
"text": "string"
|
|
476
|
+
},
|
|
477
|
+
"description": "Custom help text message to display when validity = `valueMissing`.",
|
|
478
|
+
"attribute": "setCustomValidityValueMissing"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"kind": "field",
|
|
482
|
+
"name": "validity",
|
|
483
|
+
"privacy": "public",
|
|
484
|
+
"type": {
|
|
485
|
+
"text": "string"
|
|
486
|
+
},
|
|
487
|
+
"description": "Specifies the `validityState` this element is in.",
|
|
488
|
+
"attribute": "validity",
|
|
489
|
+
"reflects": true
|
|
490
|
+
}
|
|
491
|
+
],
|
|
492
|
+
"events": [
|
|
493
|
+
{
|
|
494
|
+
"name": "input",
|
|
495
|
+
"type": {
|
|
496
|
+
"text": "CustomEvent"
|
|
508
497
|
}
|
|
509
498
|
},
|
|
499
|
+
{
|
|
500
|
+
"description": "Notifies that the `validity` and `errorMessage` values have changed.",
|
|
501
|
+
"name": "auroFormElement-validated"
|
|
502
|
+
}
|
|
503
|
+
],
|
|
504
|
+
"attributes": [
|
|
505
|
+
{
|
|
506
|
+
"name": "appearance",
|
|
507
|
+
"type": {
|
|
508
|
+
"text": "'default' | 'inverse'"
|
|
509
|
+
},
|
|
510
|
+
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
511
|
+
"default": "'default'",
|
|
512
|
+
"fieldName": "appearance"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "disabled",
|
|
516
|
+
"type": {
|
|
517
|
+
"text": "boolean"
|
|
518
|
+
},
|
|
519
|
+
"description": "If set, disables the checkbox group.",
|
|
520
|
+
"fieldName": "disabled"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"name": "error",
|
|
524
|
+
"type": {
|
|
525
|
+
"text": "string"
|
|
526
|
+
},
|
|
527
|
+
"description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
|
|
528
|
+
"fieldName": "error"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "horizontal",
|
|
532
|
+
"type": {
|
|
533
|
+
"text": "boolean"
|
|
534
|
+
},
|
|
535
|
+
"description": "If set, checkboxes will be aligned horizontally.",
|
|
536
|
+
"fieldName": "horizontal"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"name": "noValidate",
|
|
540
|
+
"type": {
|
|
541
|
+
"text": "boolean"
|
|
542
|
+
},
|
|
543
|
+
"description": "If set, disables auto-validation on blur.",
|
|
544
|
+
"fieldName": "noValidate"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"name": "onDark",
|
|
548
|
+
"type": {
|
|
549
|
+
"text": "boolean"
|
|
550
|
+
},
|
|
551
|
+
"description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
|
|
552
|
+
"fieldName": "onDark"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"name": "required",
|
|
556
|
+
"type": {
|
|
557
|
+
"text": "boolean"
|
|
558
|
+
},
|
|
559
|
+
"description": "Populates the `required` attribute on the element. Used for client-side validation.",
|
|
560
|
+
"fieldName": "required"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"name": "setCustomValidity",
|
|
564
|
+
"type": {
|
|
565
|
+
"text": "string"
|
|
566
|
+
},
|
|
567
|
+
"description": "Sets a custom help text message to display for all validityStates.",
|
|
568
|
+
"fieldName": "setCustomValidity"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"name": "setCustomValidityCustomError",
|
|
572
|
+
"type": {
|
|
573
|
+
"text": "string"
|
|
574
|
+
},
|
|
575
|
+
"description": "Custom help text message to display when validity = `customError`.",
|
|
576
|
+
"fieldName": "setCustomValidityCustomError"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"name": "setCustomValidityValueMissing",
|
|
580
|
+
"type": {
|
|
581
|
+
"text": "string"
|
|
582
|
+
},
|
|
583
|
+
"description": "Custom help text message to display when validity = `valueMissing`.",
|
|
584
|
+
"fieldName": "setCustomValidityValueMissing"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"name": "validity",
|
|
588
|
+
"type": {
|
|
589
|
+
"text": "string"
|
|
590
|
+
},
|
|
591
|
+
"description": "Specifies the `validityState` this element is in.",
|
|
592
|
+
"fieldName": "validity"
|
|
593
|
+
}
|
|
594
|
+
],
|
|
595
|
+
"superclass": {
|
|
596
|
+
"name": "LitElement",
|
|
597
|
+
"package": "lit"
|
|
598
|
+
},
|
|
599
|
+
"tagName": "auro-checkbox-group",
|
|
600
|
+
"customElement": true
|
|
601
|
+
}
|
|
602
|
+
],
|
|
603
|
+
"exports": [
|
|
604
|
+
{
|
|
605
|
+
"kind": "js",
|
|
606
|
+
"name": "AuroCheckboxGroup",
|
|
607
|
+
"declaration": {
|
|
608
|
+
"name": "AuroCheckboxGroup",
|
|
609
|
+
"module": "components/checkbox/src/auro-checkbox-group.js"
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
]
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"kind": "javascript-module",
|
|
616
|
+
"path": "components/checkbox/src/auro-checkbox.js",
|
|
617
|
+
"declarations": [
|
|
618
|
+
{
|
|
619
|
+
"kind": "class",
|
|
620
|
+
"description": "The `auro-checkbox` element is for the purpose of allowing users to select one or more options of a limited number of choices.",
|
|
621
|
+
"name": "AuroCheckbox",
|
|
622
|
+
"cssParts": [
|
|
623
|
+
{
|
|
624
|
+
"description": "apply css to a specific checkbox.",
|
|
625
|
+
"name": "checkbox"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"description": "apply css to a specific checkbox's input.",
|
|
629
|
+
"name": "checkbox-input"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"description": "apply css to a specific checkbox's label.",
|
|
633
|
+
"name": "checkbox-label"
|
|
634
|
+
}
|
|
635
|
+
],
|
|
636
|
+
"slots": [
|
|
637
|
+
{
|
|
638
|
+
"description": "The default slot for the checkbox label.",
|
|
639
|
+
"name": "default"
|
|
640
|
+
}
|
|
641
|
+
],
|
|
642
|
+
"members": [
|
|
510
643
|
{
|
|
511
644
|
"kind": "method",
|
|
512
|
-
"name": "
|
|
645
|
+
"name": "_initializeDefaults"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"kind": "method",
|
|
649
|
+
"name": "register",
|
|
650
|
+
"static": true,
|
|
513
651
|
"parameters": [
|
|
514
652
|
{
|
|
515
|
-
"name": "
|
|
516
|
-
"
|
|
517
|
-
"
|
|
518
|
-
|
|
519
|
-
}
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
"description": "Indicates whether the menu is currently loading.",
|
|
523
|
-
"name": "event.detail.loading",
|
|
653
|
+
"name": "name",
|
|
654
|
+
"default": "\"auro-checkbox\"",
|
|
655
|
+
"description": "The name of element that you want to register to.",
|
|
656
|
+
"optional": true,
|
|
524
657
|
"type": {
|
|
525
|
-
"text": "
|
|
658
|
+
"text": "string"
|
|
526
659
|
}
|
|
527
|
-
}
|
|
660
|
+
}
|
|
661
|
+
],
|
|
662
|
+
"description": "This will register this element with the browser."
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"kind": "method",
|
|
666
|
+
"name": "handleChange",
|
|
667
|
+
"parameters": [
|
|
528
668
|
{
|
|
529
|
-
"
|
|
530
|
-
"
|
|
669
|
+
"name": "event",
|
|
670
|
+
"description": "The change event from the checkbox input.",
|
|
531
671
|
"type": {
|
|
532
|
-
"text": "
|
|
672
|
+
"text": "Event"
|
|
533
673
|
}
|
|
534
674
|
}
|
|
535
675
|
],
|
|
536
|
-
"description": "
|
|
676
|
+
"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.",
|
|
537
677
|
"privacy": "private",
|
|
538
678
|
"return": {
|
|
539
679
|
"type": {
|
|
@@ -543,17 +683,17 @@
|
|
|
543
683
|
},
|
|
544
684
|
{
|
|
545
685
|
"kind": "method",
|
|
546
|
-
"name": "
|
|
686
|
+
"name": "handleInput",
|
|
547
687
|
"parameters": [
|
|
548
688
|
{
|
|
549
689
|
"name": "event",
|
|
550
|
-
"description": "The input event
|
|
690
|
+
"description": "The input event from the checkbox input.",
|
|
551
691
|
"type": {
|
|
552
692
|
"text": "Event"
|
|
553
693
|
}
|
|
554
694
|
}
|
|
555
695
|
],
|
|
556
|
-
"description": "
|
|
696
|
+
"description": "Handles the input event for the checkbox input.\nUpdates the checked state and dispatches a custom 'auroCheckbox-input' event.",
|
|
557
697
|
"privacy": "private",
|
|
558
698
|
"return": {
|
|
559
699
|
"type": {
|
|
@@ -563,8 +703,8 @@
|
|
|
563
703
|
},
|
|
564
704
|
{
|
|
565
705
|
"kind": "method",
|
|
566
|
-
"name": "
|
|
567
|
-
"description": "
|
|
706
|
+
"name": "handleFocusin",
|
|
707
|
+
"description": "Function to support",
|
|
568
708
|
"privacy": "private",
|
|
569
709
|
"return": {
|
|
570
710
|
"type": {
|
|
@@ -574,30 +714,12 @@
|
|
|
574
714
|
},
|
|
575
715
|
{
|
|
576
716
|
"kind": "method",
|
|
577
|
-
"name": "
|
|
578
|
-
"description": "
|
|
579
|
-
"
|
|
580
|
-
"type": {
|
|
581
|
-
"text": "void"
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
"kind": "method",
|
|
587
|
-
"name": "setMenuValue",
|
|
588
|
-
"parameters": [
|
|
589
|
-
{
|
|
590
|
-
"name": "value",
|
|
591
|
-
"description": "The value to set on the menu.",
|
|
592
|
-
"type": {
|
|
593
|
-
"text": "string"
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
],
|
|
597
|
-
"description": "Sets the menu value if menu is available.",
|
|
717
|
+
"name": "generateIconHtml",
|
|
718
|
+
"description": "Function to generate checkmark svg.",
|
|
719
|
+
"privacy": "private",
|
|
598
720
|
"return": {
|
|
599
721
|
"type": {
|
|
600
|
-
"text": "
|
|
722
|
+
"text": "HTMLElement"
|
|
601
723
|
}
|
|
602
724
|
}
|
|
603
725
|
},
|
|
@@ -613,57 +735,8 @@
|
|
|
613
735
|
},
|
|
614
736
|
{
|
|
615
737
|
"kind": "method",
|
|
616
|
-
"name": "
|
|
617
|
-
"description": "
|
|
618
|
-
"return": {
|
|
619
|
-
"type": {
|
|
620
|
-
"text": "void"
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
"kind": "method",
|
|
626
|
-
"name": "validate",
|
|
627
|
-
"parameters": [
|
|
628
|
-
{
|
|
629
|
-
"name": "force",
|
|
630
|
-
"default": "false",
|
|
631
|
-
"description": "Whether to force validation.",
|
|
632
|
-
"optional": true,
|
|
633
|
-
"type": {
|
|
634
|
-
"text": "boolean"
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
],
|
|
638
|
-
"description": "Validates value."
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
"kind": "method",
|
|
642
|
-
"name": "transportAssignedNodes",
|
|
643
|
-
"parameters": [
|
|
644
|
-
{
|
|
645
|
-
"name": "slot",
|
|
646
|
-
"description": "The slot element containing the nodes to apply.",
|
|
647
|
-
"type": {
|
|
648
|
-
"text": "HTMLSlotElement"
|
|
649
|
-
}
|
|
650
|
-
},
|
|
651
|
-
{
|
|
652
|
-
"name": "target",
|
|
653
|
-
"description": "The target element to apply the nodes to.",
|
|
654
|
-
"type": {
|
|
655
|
-
"text": "HTMLElement"
|
|
656
|
-
}
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
"name": "newSlotName",
|
|
660
|
-
"description": "The new slot name for the applied nodes.",
|
|
661
|
-
"type": {
|
|
662
|
-
"text": "string"
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
],
|
|
666
|
-
"description": "Applies slotted nodes to a target element with a new slot name.",
|
|
738
|
+
"name": "updateAriaLabel",
|
|
739
|
+
"description": "Updates the aria-label based on slot content.",
|
|
667
740
|
"privacy": "private",
|
|
668
741
|
"return": {
|
|
669
742
|
"type": {
|
|
@@ -673,31 +746,17 @@
|
|
|
673
746
|
},
|
|
674
747
|
{
|
|
675
748
|
"kind": "method",
|
|
676
|
-
"name": "
|
|
677
|
-
"parameters": [
|
|
678
|
-
{
|
|
679
|
-
"name": "index",
|
|
680
|
-
"description": "Index of the option to make active.",
|
|
681
|
-
"type": {
|
|
682
|
-
"text": "number"
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
],
|
|
686
|
-
"description": "Updates the active option in the menu."
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
"kind": "method",
|
|
690
|
-
"name": "handleSlotChange",
|
|
749
|
+
"name": "handleKeyDown",
|
|
691
750
|
"parameters": [
|
|
692
751
|
{
|
|
693
752
|
"name": "event",
|
|
694
|
-
"description": "
|
|
753
|
+
"description": "The keydown event from the checkbox input.",
|
|
695
754
|
"type": {
|
|
696
|
-
"text": "
|
|
755
|
+
"text": "KeyboardEvent"
|
|
697
756
|
}
|
|
698
757
|
}
|
|
699
758
|
],
|
|
700
|
-
"description": "
|
|
759
|
+
"description": "Handles keydown event to toggle the checkbox with Space key.",
|
|
701
760
|
"privacy": "private",
|
|
702
761
|
"return": {
|
|
703
762
|
"type": {
|
|
@@ -710,7 +769,7 @@
|
|
|
710
769
|
"name": "appearance",
|
|
711
770
|
"privacy": "public",
|
|
712
771
|
"type": {
|
|
713
|
-
"text": "
|
|
772
|
+
"text": "'default' | 'inverse'"
|
|
714
773
|
},
|
|
715
774
|
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
716
775
|
"default": "'default'",
|
|
@@ -719,992 +778,671 @@
|
|
|
719
778
|
},
|
|
720
779
|
{
|
|
721
780
|
"kind": "field",
|
|
722
|
-
"name": "
|
|
723
|
-
"privacy": "public",
|
|
724
|
-
"type": {
|
|
725
|
-
"text": "string"
|
|
726
|
-
},
|
|
727
|
-
"description": "An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete=\"off\"` is supported.",
|
|
728
|
-
"attribute": "autocomplete",
|
|
729
|
-
"reflects": true
|
|
730
|
-
},
|
|
731
|
-
{
|
|
732
|
-
"kind": "field",
|
|
733
|
-
"name": "autoPlacement",
|
|
781
|
+
"name": "checked",
|
|
734
782
|
"privacy": "public",
|
|
735
783
|
"type": {
|
|
736
784
|
"text": "boolean"
|
|
737
785
|
},
|
|
738
|
-
"description": "If
|
|
739
|
-
"attribute": "
|
|
786
|
+
"description": "If set to true, the checkbox will be filled with a checkmark.",
|
|
787
|
+
"attribute": "checked",
|
|
740
788
|
"reflects": true
|
|
741
789
|
},
|
|
742
790
|
{
|
|
743
791
|
"kind": "field",
|
|
744
|
-
"name": "
|
|
745
|
-
"privacy": "private",
|
|
746
|
-
"type": {
|
|
747
|
-
"text": "array"
|
|
748
|
-
},
|
|
749
|
-
"description": "Array of available options to display in the dropdown.\nThis array contains all non-hidden options (e.g., hidden by filtering on input value).",
|
|
750
|
-
"attribute": "availableOptions"
|
|
751
|
-
},
|
|
752
|
-
{
|
|
753
|
-
"kind": "field",
|
|
754
|
-
"name": "behavior",
|
|
792
|
+
"name": "disabled",
|
|
755
793
|
"privacy": "public",
|
|
756
794
|
"type": {
|
|
757
|
-
"text": "
|
|
795
|
+
"text": "boolean"
|
|
758
796
|
},
|
|
759
|
-
"description": "
|
|
760
|
-
"
|
|
761
|
-
"attribute": "behavior",
|
|
797
|
+
"description": "If set to true, the checkbox will not be clickable.",
|
|
798
|
+
"attribute": "disabled",
|
|
762
799
|
"reflects": true
|
|
763
800
|
},
|
|
764
801
|
{
|
|
765
802
|
"kind": "field",
|
|
766
|
-
"name": "
|
|
803
|
+
"name": "error",
|
|
767
804
|
"privacy": "public",
|
|
768
805
|
"type": {
|
|
769
806
|
"text": "boolean"
|
|
770
807
|
},
|
|
771
|
-
"description": "
|
|
772
|
-
"attribute": "
|
|
808
|
+
"description": "If set to true, the checkbox will be displayed with an error state.",
|
|
809
|
+
"attribute": "error",
|
|
773
810
|
"reflects": true
|
|
774
811
|
},
|
|
775
812
|
{
|
|
776
813
|
"kind": "field",
|
|
777
|
-
"name": "
|
|
814
|
+
"name": "id",
|
|
778
815
|
"privacy": "public",
|
|
779
816
|
"type": {
|
|
780
|
-
"text": "
|
|
817
|
+
"text": "string"
|
|
781
818
|
},
|
|
782
|
-
"description": "
|
|
783
|
-
"attribute": "
|
|
784
|
-
"reflects": true
|
|
819
|
+
"description": "The id global attribute defines an identifier (ID) which must be unique in the whole document.",
|
|
820
|
+
"attribute": "id"
|
|
785
821
|
},
|
|
786
822
|
{
|
|
787
823
|
"kind": "field",
|
|
788
|
-
"name": "
|
|
824
|
+
"name": "inputId",
|
|
789
825
|
"privacy": "private",
|
|
790
826
|
"type": {
|
|
791
827
|
"text": "string"
|
|
792
828
|
},
|
|
793
|
-
"description": "
|
|
829
|
+
"description": "The id for input node."
|
|
794
830
|
},
|
|
795
831
|
{
|
|
796
832
|
"kind": "field",
|
|
797
|
-
"name": "
|
|
798
|
-
"privacy": "
|
|
833
|
+
"name": "name",
|
|
834
|
+
"privacy": "public",
|
|
799
835
|
"type": {
|
|
800
|
-
"text": "
|
|
836
|
+
"text": "string"
|
|
801
837
|
},
|
|
802
|
-
"description": "
|
|
838
|
+
"description": "Accepts any string and is used to identify related checkboxes when submitting form data.",
|
|
839
|
+
"attribute": "name"
|
|
803
840
|
},
|
|
804
841
|
{
|
|
805
842
|
"kind": "field",
|
|
806
|
-
"name": "
|
|
843
|
+
"name": "onDark",
|
|
807
844
|
"privacy": "public",
|
|
808
845
|
"type": {
|
|
809
846
|
"text": "boolean"
|
|
810
847
|
},
|
|
811
|
-
"description": "
|
|
812
|
-
"attribute": "
|
|
848
|
+
"description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
|
|
849
|
+
"attribute": "onDark",
|
|
813
850
|
"reflects": true
|
|
814
851
|
},
|
|
815
852
|
{
|
|
816
853
|
"kind": "field",
|
|
817
|
-
"name": "
|
|
818
|
-
"privacy": "
|
|
854
|
+
"name": "touched",
|
|
855
|
+
"privacy": "private",
|
|
819
856
|
"type": {
|
|
820
|
-
"text": "
|
|
857
|
+
"text": "boolean"
|
|
821
858
|
},
|
|
822
|
-
"description": "
|
|
823
|
-
"attribute": "error",
|
|
824
|
-
"reflects": true
|
|
859
|
+
"description": "Indicates whether the checkbox has been interacted with."
|
|
825
860
|
},
|
|
826
861
|
{
|
|
827
862
|
"kind": "field",
|
|
828
|
-
"name": "
|
|
863
|
+
"name": "value",
|
|
829
864
|
"privacy": "public",
|
|
830
865
|
"type": {
|
|
831
866
|
"text": "string"
|
|
832
867
|
},
|
|
833
|
-
"description": "
|
|
834
|
-
"attribute": "
|
|
835
|
-
"reflects": true
|
|
868
|
+
"description": "Sets the element's input value. Must be unique within an auro-checkbox-group element.",
|
|
869
|
+
"attribute": "value"
|
|
836
870
|
},
|
|
837
871
|
{
|
|
838
872
|
"kind": "field",
|
|
839
|
-
"name": "
|
|
840
|
-
"privacy": "
|
|
873
|
+
"name": "tabIndex",
|
|
874
|
+
"privacy": "private",
|
|
841
875
|
"type": {
|
|
842
|
-
"text": "
|
|
876
|
+
"text": "number"
|
|
843
877
|
},
|
|
844
|
-
"description": "
|
|
845
|
-
"attribute": "
|
|
878
|
+
"description": "The tabindex attribute for the checkbox.",
|
|
879
|
+
"attribute": "tabindex",
|
|
846
880
|
"reflects": true
|
|
847
881
|
},
|
|
848
882
|
{
|
|
849
883
|
"kind": "field",
|
|
850
|
-
"name": "
|
|
851
|
-
"privacy": "
|
|
884
|
+
"name": "ariaChecked",
|
|
885
|
+
"privacy": "private",
|
|
852
886
|
"type": {
|
|
853
887
|
"text": "string"
|
|
854
888
|
},
|
|
855
|
-
"description": "
|
|
856
|
-
"
|
|
857
|
-
"
|
|
858
|
-
"reflects": true,
|
|
859
|
-
"inheritedFrom": {
|
|
860
|
-
"name": "AuroElement",
|
|
861
|
-
"module": "components/layoutElement/src/auroElement.js"
|
|
862
|
-
}
|
|
889
|
+
"description": "The aria-checked attribute for the checkbox.",
|
|
890
|
+
"attribute": "aria-checked",
|
|
891
|
+
"reflects": true
|
|
863
892
|
},
|
|
864
893
|
{
|
|
865
894
|
"kind": "field",
|
|
866
|
-
"name": "
|
|
895
|
+
"name": "ariaDisabled",
|
|
867
896
|
"privacy": "private",
|
|
868
897
|
"type": {
|
|
869
|
-
"text": "
|
|
898
|
+
"text": "string"
|
|
870
899
|
},
|
|
871
|
-
"description": "
|
|
872
|
-
"attribute": "
|
|
900
|
+
"description": "The aria-disabled attribute for the checkbox.",
|
|
901
|
+
"attribute": "aria-disabled",
|
|
873
902
|
"reflects": true
|
|
874
903
|
},
|
|
875
904
|
{
|
|
876
905
|
"kind": "field",
|
|
877
|
-
"name": "
|
|
878
|
-
"privacy": "
|
|
906
|
+
"name": "role",
|
|
907
|
+
"privacy": "private",
|
|
879
908
|
"type": {
|
|
880
|
-
"text": "
|
|
909
|
+
"text": "string"
|
|
881
910
|
},
|
|
882
|
-
"description": "
|
|
883
|
-
"attribute": "
|
|
911
|
+
"description": "The ARIA role for the element. Must remain 'checkbox' for screen readers\nto correctly identify this as a checkbox control.",
|
|
912
|
+
"attribute": "role",
|
|
884
913
|
"reflects": true
|
|
914
|
+
}
|
|
915
|
+
],
|
|
916
|
+
"events": [
|
|
917
|
+
{
|
|
918
|
+
"name": "auroCheckbox-input",
|
|
919
|
+
"type": {
|
|
920
|
+
"text": "CustomEvent"
|
|
921
|
+
}
|
|
885
922
|
},
|
|
886
923
|
{
|
|
887
|
-
"
|
|
888
|
-
"name": "noFlip",
|
|
889
|
-
"privacy": "public",
|
|
924
|
+
"name": "auroCheckbox-focusin",
|
|
890
925
|
"type": {
|
|
891
|
-
"text": "
|
|
892
|
-
}
|
|
893
|
-
"description": "If declared, the bib will NOT flip to an alternate position\nwhen there isn't enough space in the specified `placement`.",
|
|
894
|
-
"attribute": "noFlip",
|
|
895
|
-
"reflects": true
|
|
926
|
+
"text": "CustomEvent"
|
|
927
|
+
}
|
|
896
928
|
},
|
|
897
929
|
{
|
|
898
|
-
"
|
|
899
|
-
"name": "shift",
|
|
900
|
-
"privacy": "public",
|
|
930
|
+
"name": "auroCheckbox-focusout",
|
|
901
931
|
"type": {
|
|
902
|
-
"text": "
|
|
903
|
-
}
|
|
904
|
-
"description": "If declared, the dropdown will shift its position to avoid being cut off by the viewport.",
|
|
905
|
-
"attribute": "shift",
|
|
906
|
-
"reflects": true
|
|
932
|
+
"text": "CustomEvent"
|
|
933
|
+
}
|
|
907
934
|
},
|
|
908
935
|
{
|
|
909
|
-
"kind": "field",
|
|
910
|
-
"name": "noValidate",
|
|
911
|
-
"privacy": "public",
|
|
912
936
|
"type": {
|
|
913
|
-
"text": "
|
|
937
|
+
"text": "CustomEvent<any>"
|
|
914
938
|
},
|
|
915
|
-
"description": "
|
|
916
|
-
"
|
|
917
|
-
"reflects": true
|
|
939
|
+
"description": "(Deprecated) Notifies when checked value is changed.",
|
|
940
|
+
"name": "change"
|
|
918
941
|
},
|
|
919
942
|
{
|
|
920
|
-
"kind": "field",
|
|
921
|
-
"name": "offset",
|
|
922
|
-
"privacy": "public",
|
|
923
943
|
"type": {
|
|
924
|
-
"text": "
|
|
944
|
+
"text": "InputEvent"
|
|
925
945
|
},
|
|
926
|
-
"description": "
|
|
927
|
-
"
|
|
928
|
-
|
|
929
|
-
|
|
946
|
+
"description": "Notifies when when checked value is changed by user's interface.",
|
|
947
|
+
"name": "input"
|
|
948
|
+
}
|
|
949
|
+
],
|
|
950
|
+
"attributes": [
|
|
951
|
+
{
|
|
952
|
+
"name": "appearance",
|
|
953
|
+
"type": {
|
|
954
|
+
"text": "'default' | 'inverse'"
|
|
955
|
+
},
|
|
956
|
+
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
957
|
+
"default": "'default'",
|
|
958
|
+
"fieldName": "appearance"
|
|
930
959
|
},
|
|
931
960
|
{
|
|
932
|
-
"
|
|
933
|
-
"name": "onDark",
|
|
934
|
-
"privacy": "public",
|
|
961
|
+
"name": "checked",
|
|
935
962
|
"type": {
|
|
936
963
|
"text": "boolean"
|
|
937
964
|
},
|
|
938
|
-
"
|
|
939
|
-
"
|
|
940
|
-
"description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
|
|
941
|
-
"inheritedFrom": {
|
|
942
|
-
"name": "AuroElement",
|
|
943
|
-
"module": "components/layoutElement/src/auroElement.js"
|
|
944
|
-
}
|
|
965
|
+
"description": "If set to true, the checkbox will be filled with a checkmark.",
|
|
966
|
+
"fieldName": "checked"
|
|
945
967
|
},
|
|
946
968
|
{
|
|
947
|
-
"
|
|
948
|
-
"name": "optionSelected",
|
|
949
|
-
"privacy": "public",
|
|
969
|
+
"name": "disabled",
|
|
950
970
|
"type": {
|
|
951
|
-
"text": "
|
|
971
|
+
"text": "boolean"
|
|
952
972
|
},
|
|
953
|
-
"description": "
|
|
954
|
-
"
|
|
973
|
+
"description": "If set to true, the checkbox will not be clickable.",
|
|
974
|
+
"fieldName": "disabled"
|
|
955
975
|
},
|
|
956
976
|
{
|
|
957
|
-
"
|
|
958
|
-
"name": "persistInput",
|
|
959
|
-
"privacy": "public",
|
|
977
|
+
"name": "error",
|
|
960
978
|
"type": {
|
|
961
979
|
"text": "boolean"
|
|
962
980
|
},
|
|
963
|
-
"description": "If
|
|
964
|
-
"
|
|
965
|
-
"reflects": true
|
|
981
|
+
"description": "If set to true, the checkbox will be displayed with an error state.",
|
|
982
|
+
"fieldName": "error"
|
|
966
983
|
},
|
|
967
984
|
{
|
|
968
|
-
"
|
|
969
|
-
"name": "placement",
|
|
970
|
-
"privacy": "public",
|
|
985
|
+
"name": "id",
|
|
971
986
|
"type": {
|
|
972
|
-
"text": "
|
|
987
|
+
"text": "string"
|
|
973
988
|
},
|
|
974
|
-
"description": "
|
|
975
|
-
"
|
|
976
|
-
"attribute": "placement",
|
|
977
|
-
"reflects": true
|
|
989
|
+
"description": "The id global attribute defines an identifier (ID) which must be unique in the whole document.",
|
|
990
|
+
"fieldName": "id"
|
|
978
991
|
},
|
|
979
992
|
{
|
|
980
|
-
"
|
|
981
|
-
"name": "placeholder",
|
|
982
|
-
"privacy": "public",
|
|
993
|
+
"name": "name",
|
|
983
994
|
"type": {
|
|
984
995
|
"text": "string"
|
|
985
996
|
},
|
|
986
|
-
"description": "
|
|
987
|
-
"
|
|
988
|
-
"reflects": true
|
|
997
|
+
"description": "Accepts any string and is used to identify related checkboxes when submitting form data.",
|
|
998
|
+
"fieldName": "name"
|
|
989
999
|
},
|
|
990
1000
|
{
|
|
991
|
-
"
|
|
992
|
-
"name": "required",
|
|
993
|
-
"privacy": "public",
|
|
1001
|
+
"name": "onDark",
|
|
994
1002
|
"type": {
|
|
995
1003
|
"text": "boolean"
|
|
996
1004
|
},
|
|
997
|
-
"description": "
|
|
998
|
-
"
|
|
999
|
-
"reflects": true
|
|
1005
|
+
"description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
|
|
1006
|
+
"fieldName": "onDark"
|
|
1000
1007
|
},
|
|
1001
1008
|
{
|
|
1002
|
-
"
|
|
1003
|
-
"name": "setCustomValidity",
|
|
1004
|
-
"privacy": "public",
|
|
1009
|
+
"name": "value",
|
|
1005
1010
|
"type": {
|
|
1006
1011
|
"text": "string"
|
|
1007
1012
|
},
|
|
1008
|
-
"description": "Sets
|
|
1009
|
-
"
|
|
1013
|
+
"description": "Sets the element's input value. Must be unique within an auro-checkbox-group element.",
|
|
1014
|
+
"fieldName": "value"
|
|
1010
1015
|
},
|
|
1011
1016
|
{
|
|
1012
|
-
"
|
|
1013
|
-
"name": "setCustomValidityCustomError",
|
|
1014
|
-
"privacy": "public",
|
|
1017
|
+
"name": "tabindex",
|
|
1015
1018
|
"type": {
|
|
1016
|
-
"text": "
|
|
1019
|
+
"text": "number"
|
|
1017
1020
|
},
|
|
1018
|
-
"description": "
|
|
1019
|
-
"
|
|
1021
|
+
"description": "The tabindex attribute for the checkbox.",
|
|
1022
|
+
"fieldName": "tabIndex"
|
|
1020
1023
|
},
|
|
1021
1024
|
{
|
|
1022
|
-
"
|
|
1023
|
-
"name": "setCustomValidityValueMissing",
|
|
1024
|
-
"privacy": "public",
|
|
1025
|
+
"name": "aria-checked",
|
|
1025
1026
|
"type": {
|
|
1026
1027
|
"text": "string"
|
|
1027
1028
|
},
|
|
1028
|
-
"description": "
|
|
1029
|
-
"
|
|
1029
|
+
"description": "The aria-checked attribute for the checkbox.",
|
|
1030
|
+
"fieldName": "ariaChecked"
|
|
1030
1031
|
},
|
|
1031
1032
|
{
|
|
1032
|
-
"
|
|
1033
|
-
"name": "setCustomValidityValueMissingFilter",
|
|
1034
|
-
"privacy": "public",
|
|
1033
|
+
"name": "aria-disabled",
|
|
1035
1034
|
"type": {
|
|
1036
1035
|
"text": "string"
|
|
1037
1036
|
},
|
|
1038
|
-
"description": "
|
|
1039
|
-
"
|
|
1037
|
+
"description": "The aria-disabled attribute for the checkbox.",
|
|
1038
|
+
"fieldName": "ariaDisabled"
|
|
1040
1039
|
},
|
|
1041
1040
|
{
|
|
1042
|
-
"
|
|
1043
|
-
"name": "touched",
|
|
1044
|
-
"privacy": "private",
|
|
1041
|
+
"name": "role",
|
|
1045
1042
|
"type": {
|
|
1046
|
-
"text": "
|
|
1043
|
+
"text": "string"
|
|
1047
1044
|
},
|
|
1048
|
-
"description": "
|
|
1049
|
-
|
|
1045
|
+
"description": "The ARIA role for the element. Must remain 'checkbox' for screen readers\nto correctly identify this as a checkbox control.",
|
|
1046
|
+
"fieldName": "role"
|
|
1047
|
+
}
|
|
1048
|
+
],
|
|
1049
|
+
"superclass": {
|
|
1050
|
+
"name": "LitElement",
|
|
1051
|
+
"package": "lit"
|
|
1052
|
+
},
|
|
1053
|
+
"tagName": "auro-checkbox",
|
|
1054
|
+
"customElement": true
|
|
1055
|
+
}
|
|
1056
|
+
],
|
|
1057
|
+
"exports": [
|
|
1058
|
+
{
|
|
1059
|
+
"kind": "js",
|
|
1060
|
+
"name": "AuroCheckbox",
|
|
1061
|
+
"declaration": {
|
|
1062
|
+
"name": "AuroCheckbox",
|
|
1063
|
+
"module": "components/checkbox/src/auro-checkbox.js"
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
]
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
"kind": "javascript-module",
|
|
1070
|
+
"path": "components/checkbox/src/index.js",
|
|
1071
|
+
"declarations": [],
|
|
1072
|
+
"exports": [
|
|
1073
|
+
{
|
|
1074
|
+
"kind": "js",
|
|
1075
|
+
"name": "AuroCheckbox",
|
|
1076
|
+
"declaration": {
|
|
1077
|
+
"name": "AuroCheckbox",
|
|
1078
|
+
"module": "components/checkbox/src/index.js"
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"kind": "js",
|
|
1083
|
+
"name": "AuroCheckboxGroup",
|
|
1084
|
+
"declaration": {
|
|
1085
|
+
"name": "AuroCheckboxGroup",
|
|
1086
|
+
"module": "components/checkbox/src/index.js"
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
]
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
"kind": "javascript-module",
|
|
1093
|
+
"path": "components/checkbox/src/registered.js",
|
|
1094
|
+
"declarations": [],
|
|
1095
|
+
"exports": []
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"kind": "javascript-module",
|
|
1099
|
+
"path": "components/combobox/src/auro-combobox.js",
|
|
1100
|
+
"declarations": [
|
|
1101
|
+
{
|
|
1102
|
+
"kind": "class",
|
|
1103
|
+
"description": "The `auro-combobox` element provides users with a way to select an option from a list of filtered or suggested options based on user input.",
|
|
1104
|
+
"name": "AuroCombobox",
|
|
1105
|
+
"slots": [
|
|
1050
1106
|
{
|
|
1051
|
-
"
|
|
1052
|
-
"name": "
|
|
1053
|
-
"privacy": "public",
|
|
1054
|
-
"type": {
|
|
1055
|
-
"text": "boolean"
|
|
1056
|
-
},
|
|
1057
|
-
"description": "If set, the `icon` attribute will be applied to the trigger `auro-input` element.",
|
|
1058
|
-
"attribute": "triggerIcon",
|
|
1059
|
-
"reflects": true
|
|
1107
|
+
"description": "Default slot for the menu content.",
|
|
1108
|
+
"name": ""
|
|
1060
1109
|
},
|
|
1061
1110
|
{
|
|
1062
|
-
"kind": "field",
|
|
1063
|
-
"name": "type",
|
|
1064
|
-
"privacy": "public",
|
|
1065
1111
|
"type": {
|
|
1066
|
-
"text": "
|
|
1112
|
+
"text": "HTMLSlotElement"
|
|
1067
1113
|
},
|
|
1068
|
-
"description": "
|
|
1069
|
-
"
|
|
1070
|
-
"reflects": true
|
|
1114
|
+
"description": "Allows overriding the optional display text \"(optional)\", which appears next to the label.",
|
|
1115
|
+
"name": "optionalLabel"
|
|
1071
1116
|
},
|
|
1072
1117
|
{
|
|
1073
|
-
"
|
|
1074
|
-
"name": "
|
|
1075
|
-
"privacy": "public",
|
|
1076
|
-
"type": {
|
|
1077
|
-
"text": "string"
|
|
1078
|
-
},
|
|
1079
|
-
"description": "Specifies the value of the input element within the combobox.",
|
|
1080
|
-
"attribute": "typedValue",
|
|
1081
|
-
"reflects": true
|
|
1118
|
+
"description": "Sets aria-label on clear button",
|
|
1119
|
+
"name": "ariaLabel.input.clear"
|
|
1082
1120
|
},
|
|
1083
1121
|
{
|
|
1084
|
-
"
|
|
1085
|
-
"name": "
|
|
1086
|
-
"privacy": "public",
|
|
1087
|
-
"type": {
|
|
1088
|
-
"text": "string"
|
|
1089
|
-
},
|
|
1090
|
-
"description": "Specifies the `validityState` this element is in.",
|
|
1091
|
-
"attribute": "validity",
|
|
1092
|
-
"reflects": true
|
|
1122
|
+
"description": "Sets aria-label on close button in fullscreen bib",
|
|
1123
|
+
"name": "ariaLabel.bib.close"
|
|
1093
1124
|
},
|
|
1094
1125
|
{
|
|
1095
|
-
"
|
|
1096
|
-
"name": "
|
|
1097
|
-
"privacy": "public",
|
|
1098
|
-
"type": {
|
|
1099
|
-
"text": "string"
|
|
1100
|
-
},
|
|
1101
|
-
"description": "Value selected for the dropdown menu.",
|
|
1102
|
-
"attribute": "value"
|
|
1126
|
+
"description": "Defines the headline to display above menu-options",
|
|
1127
|
+
"name": "bib.fullscreen.headline"
|
|
1103
1128
|
},
|
|
1104
1129
|
{
|
|
1105
|
-
"
|
|
1106
|
-
"name": "
|
|
1107
|
-
"privacy": "public",
|
|
1108
|
-
"type": {
|
|
1109
|
-
"text": "boolean"
|
|
1110
|
-
},
|
|
1111
|
-
"description": "If declared, make bib.fullscreen.headline in HeadingDisplay.\nOtherwise, Heading 600",
|
|
1112
|
-
"attribute": "largeFullscreenHeadline",
|
|
1113
|
-
"reflects": true
|
|
1130
|
+
"description": "Defines the content of the label.",
|
|
1131
|
+
"name": "label"
|
|
1114
1132
|
},
|
|
1115
1133
|
{
|
|
1116
|
-
"
|
|
1117
|
-
"name": "
|
|
1118
|
-
"privacy": "public",
|
|
1119
|
-
"type": {
|
|
1120
|
-
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'"
|
|
1121
|
-
},
|
|
1122
|
-
"description": "Defines the screen size breakpointat which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.\n\nWhen expanded, the dropdown will automatically display in fullscreen mode\nif the screen size is equal to or smaller than the selected breakpoint.",
|
|
1123
|
-
"default": "'sm'",
|
|
1124
|
-
"attribute": "fullscreenBreakpoint",
|
|
1125
|
-
"reflects": true
|
|
1134
|
+
"description": "Defines the content of the helpText.",
|
|
1135
|
+
"name": "helpText"
|
|
1126
1136
|
},
|
|
1127
1137
|
{
|
|
1128
|
-
"
|
|
1129
|
-
"name": "
|
|
1138
|
+
"description": "Allows custom HTML content to display the selected value when the combobox is not focused. Only works with `snowflake` and `emphasized` layouts.",
|
|
1139
|
+
"name": "displayValue"
|
|
1140
|
+
}
|
|
1141
|
+
],
|
|
1142
|
+
"members": [
|
|
1143
|
+
{
|
|
1144
|
+
"kind": "method",
|
|
1145
|
+
"name": "_initializeDefaults",
|
|
1130
1146
|
"privacy": "private",
|
|
1131
|
-
"
|
|
1132
|
-
"
|
|
1133
|
-
|
|
1134
|
-
|
|
1147
|
+
"return": {
|
|
1148
|
+
"type": {
|
|
1149
|
+
"text": "void"
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1135
1152
|
},
|
|
1136
1153
|
{
|
|
1137
1154
|
"kind": "field",
|
|
1138
|
-
"name": "
|
|
1139
|
-
"
|
|
1140
|
-
"
|
|
1141
|
-
"
|
|
1155
|
+
"name": "inputValue",
|
|
1156
|
+
"description": "Returns the current value of the input element within the combobox.",
|
|
1157
|
+
"return": {
|
|
1158
|
+
"type": {
|
|
1159
|
+
"text": "string|undefined"
|
|
1160
|
+
}
|
|
1142
1161
|
},
|
|
1143
|
-
"
|
|
1162
|
+
"readonly": true
|
|
1144
1163
|
},
|
|
1145
1164
|
{
|
|
1146
|
-
"kind": "
|
|
1147
|
-
"name": "
|
|
1148
|
-
"description": "
|
|
1149
|
-
"privacy": "private",
|
|
1165
|
+
"kind": "method",
|
|
1166
|
+
"name": "isValid",
|
|
1167
|
+
"description": "Checks if the element is valid.",
|
|
1150
1168
|
"return": {
|
|
1151
1169
|
"type": {
|
|
1152
1170
|
"text": "boolean"
|
|
1153
1171
|
}
|
|
1154
|
-
},
|
|
1155
|
-
"readonly": true,
|
|
1156
|
-
"inheritedFrom": {
|
|
1157
|
-
"name": "AuroElement",
|
|
1158
|
-
"module": "components/layoutElement/src/auroElement.js"
|
|
1159
1172
|
}
|
|
1160
1173
|
},
|
|
1161
1174
|
{
|
|
1162
1175
|
"kind": "method",
|
|
1163
|
-
"name": "
|
|
1164
|
-
"
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1176
|
+
"name": "register",
|
|
1177
|
+
"static": true,
|
|
1178
|
+
"parameters": [
|
|
1179
|
+
{
|
|
1180
|
+
"name": "name",
|
|
1181
|
+
"default": "'auro-combobox'",
|
|
1182
|
+
"description": "The name of the element that you want to register.",
|
|
1183
|
+
"optional": true,
|
|
1184
|
+
"type": {
|
|
1185
|
+
"text": "string"
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
],
|
|
1189
|
+
"description": "This will register this element with the browser."
|
|
1168
1190
|
},
|
|
1169
1191
|
{
|
|
1170
1192
|
"kind": "method",
|
|
1171
|
-
"name": "
|
|
1172
|
-
"
|
|
1173
|
-
|
|
1174
|
-
|
|
1193
|
+
"name": "activateFirstEnabledAvailableOption",
|
|
1194
|
+
"description": "Mark the first available (non-hidden), enabled option as `active`.",
|
|
1195
|
+
"privacy": "private",
|
|
1196
|
+
"return": {
|
|
1197
|
+
"type": {
|
|
1198
|
+
"text": "void"
|
|
1199
|
+
}
|
|
1175
1200
|
}
|
|
1176
1201
|
},
|
|
1177
1202
|
{
|
|
1178
1203
|
"kind": "method",
|
|
1179
|
-
"name": "
|
|
1180
|
-
"
|
|
1181
|
-
|
|
1182
|
-
|
|
1204
|
+
"name": "activateLastEnabledAvailableOption",
|
|
1205
|
+
"description": "Mark the last available (non-hidden), enabled option as `active`.",
|
|
1206
|
+
"privacy": "private",
|
|
1207
|
+
"return": {
|
|
1208
|
+
"type": {
|
|
1209
|
+
"text": "void"
|
|
1210
|
+
}
|
|
1183
1211
|
}
|
|
1184
1212
|
},
|
|
1185
1213
|
{
|
|
1186
|
-
"kind": "
|
|
1187
|
-
"name": "
|
|
1188
|
-
"
|
|
1189
|
-
"
|
|
1190
|
-
"text": "string"
|
|
1191
|
-
},
|
|
1192
|
-
"attribute": "shape",
|
|
1193
|
-
"reflects": true,
|
|
1194
|
-
"inheritedFrom": {
|
|
1195
|
-
"name": "AuroElement",
|
|
1196
|
-
"module": "components/layoutElement/src/auroElement.js"
|
|
1197
|
-
}
|
|
1214
|
+
"kind": "method",
|
|
1215
|
+
"name": "updateFilter",
|
|
1216
|
+
"description": "Updates the filter for the available options based on the input value.",
|
|
1217
|
+
"privacy": "private"
|
|
1198
1218
|
},
|
|
1199
1219
|
{
|
|
1200
|
-
"kind": "
|
|
1201
|
-
"name": "
|
|
1202
|
-
"
|
|
1203
|
-
"
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
"inheritedFrom": {
|
|
1209
|
-
"name": "AuroElement",
|
|
1210
|
-
"module": "components/layoutElement/src/auroElement.js"
|
|
1220
|
+
"kind": "method",
|
|
1221
|
+
"name": "syncValuesAndStates",
|
|
1222
|
+
"description": "Syncs the values and states of this component, the input, and the menu, including this.optionSelected and this.menu.optionSelected.",
|
|
1223
|
+
"privacy": "private",
|
|
1224
|
+
"return": {
|
|
1225
|
+
"type": {
|
|
1226
|
+
"text": "void"
|
|
1227
|
+
}
|
|
1211
1228
|
}
|
|
1212
|
-
}
|
|
1213
|
-
],
|
|
1214
|
-
"events": [
|
|
1229
|
+
},
|
|
1215
1230
|
{
|
|
1216
|
-
"
|
|
1217
|
-
"
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1231
|
+
"kind": "method",
|
|
1232
|
+
"name": "updateTriggerTextDisplay",
|
|
1233
|
+
"parameters": [
|
|
1234
|
+
{
|
|
1235
|
+
"name": "label",
|
|
1236
|
+
"description": "The label of the selected option.",
|
|
1237
|
+
"type": {
|
|
1238
|
+
"text": "string"
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
],
|
|
1242
|
+
"description": "Update displayValue or input.value, it's called when making a selection.",
|
|
1243
|
+
"privacy": "private"
|
|
1221
1244
|
},
|
|
1222
1245
|
{
|
|
1223
|
-
"
|
|
1224
|
-
"
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
"
|
|
1246
|
+
"kind": "method",
|
|
1247
|
+
"name": "handleMenuOptions",
|
|
1248
|
+
"description": "Processes hidden state of all menu options and determines if there are any available options not hidden.",
|
|
1249
|
+
"privacy": "private",
|
|
1250
|
+
"return": {
|
|
1251
|
+
"type": {
|
|
1252
|
+
"text": "void"
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1228
1255
|
},
|
|
1229
1256
|
{
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
"
|
|
1257
|
+
"kind": "method",
|
|
1258
|
+
"name": "generateOptionsArray",
|
|
1259
|
+
"description": "Determines the element error state based on the `required` attribute and input value.",
|
|
1260
|
+
"privacy": "private",
|
|
1261
|
+
"return": {
|
|
1262
|
+
"type": {
|
|
1263
|
+
"text": "void"
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1235
1266
|
},
|
|
1236
1267
|
{
|
|
1237
|
-
"
|
|
1238
|
-
"name": "
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1268
|
+
"kind": "method",
|
|
1269
|
+
"name": "hideBib",
|
|
1270
|
+
"description": "Hides the dropdown bib if its open.",
|
|
1271
|
+
"return": {
|
|
1272
|
+
"type": {
|
|
1273
|
+
"text": "void"
|
|
1274
|
+
}
|
|
1275
|
+
}
|
|
1276
|
+
},
|
|
1242
1277
|
{
|
|
1243
|
-
"
|
|
1244
|
-
"
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1278
|
+
"kind": "method",
|
|
1279
|
+
"name": "showBib",
|
|
1280
|
+
"description": "Shows the dropdown bib if there are options to show.",
|
|
1281
|
+
"return": {
|
|
1282
|
+
"type": {
|
|
1283
|
+
"text": "void"
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1250
1286
|
},
|
|
1251
1287
|
{
|
|
1252
|
-
"
|
|
1253
|
-
"
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
"
|
|
1257
|
-
|
|
1288
|
+
"kind": "method",
|
|
1289
|
+
"name": "configureDropdown",
|
|
1290
|
+
"description": "Binds all behavior needed to the dropdown after rendering.",
|
|
1291
|
+
"privacy": "private",
|
|
1292
|
+
"return": {
|
|
1293
|
+
"type": {
|
|
1294
|
+
"text": "void"
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1258
1297
|
},
|
|
1259
1298
|
{
|
|
1260
|
-
"
|
|
1261
|
-
"
|
|
1262
|
-
|
|
1263
|
-
},
|
|
1264
|
-
"description": "If declared, bib's position will be automatically calculated where to appear.",
|
|
1265
|
-
"fieldName": "autoPlacement"
|
|
1299
|
+
"kind": "method",
|
|
1300
|
+
"name": "setClearBtnFocus",
|
|
1301
|
+
"privacy": "private"
|
|
1266
1302
|
},
|
|
1267
1303
|
{
|
|
1268
|
-
"
|
|
1269
|
-
"
|
|
1270
|
-
|
|
1271
|
-
},
|
|
1272
|
-
"description": "Array of available options to display in the dropdown.\nThis array contains all non-hidden options (e.g., hidden by filtering on input value).",
|
|
1273
|
-
"fieldName": "availableOptions"
|
|
1304
|
+
"kind": "method",
|
|
1305
|
+
"name": "setTriggerInputFocus",
|
|
1306
|
+
"privacy": "private"
|
|
1274
1307
|
},
|
|
1275
1308
|
{
|
|
1276
|
-
"
|
|
1277
|
-
"
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
"description": "Sets the behavior of the combobox, \"filter\" or \"suggestion\".\n\"filter\" requires the user to select an option from the menu.\n\"suggestion\" allows the user to enter a value not present in the menu options.",
|
|
1281
|
-
"default": "'suggestion'",
|
|
1282
|
-
"fieldName": "behavior"
|
|
1283
|
-
},
|
|
1284
|
-
{
|
|
1285
|
-
"name": "checkmark",
|
|
1286
|
-
"type": {
|
|
1287
|
-
"text": "boolean"
|
|
1288
|
-
},
|
|
1289
|
-
"description": "When attribute is present auro-menu will apply check marks to selected options.",
|
|
1290
|
-
"fieldName": "checkmark"
|
|
1291
|
-
},
|
|
1292
|
-
{
|
|
1293
|
-
"name": "disabled",
|
|
1294
|
-
"type": {
|
|
1295
|
-
"text": "boolean"
|
|
1296
|
-
},
|
|
1297
|
-
"description": "If set, disables the combobox.",
|
|
1298
|
-
"fieldName": "disabled"
|
|
1299
|
-
},
|
|
1300
|
-
{
|
|
1301
|
-
"name": "dvInputOnly",
|
|
1302
|
-
"type": {
|
|
1303
|
-
"text": "boolean"
|
|
1304
|
-
},
|
|
1305
|
-
"description": "If defined, the display value slot content will only mask the HTML5 input element. The inputs label will not be masked.",
|
|
1306
|
-
"fieldName": "dvInputOnly"
|
|
1307
|
-
},
|
|
1308
|
-
{
|
|
1309
|
-
"name": "error",
|
|
1310
|
-
"type": {
|
|
1311
|
-
"text": "string"
|
|
1312
|
-
},
|
|
1313
|
-
"description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
|
|
1314
|
-
"fieldName": "error"
|
|
1315
|
-
},
|
|
1316
|
-
{
|
|
1317
|
-
"name": "format",
|
|
1318
|
-
"type": {
|
|
1319
|
-
"text": "string"
|
|
1320
|
-
},
|
|
1321
|
-
"description": "Specifies the input mask format.",
|
|
1322
|
-
"fieldName": "format"
|
|
1323
|
-
},
|
|
1324
|
-
{
|
|
1325
|
-
"name": "inputmode",
|
|
1326
|
-
"type": {
|
|
1327
|
-
"text": "string"
|
|
1328
|
-
},
|
|
1329
|
-
"description": "Exposes inputmode attribute for input.",
|
|
1330
|
-
"fieldName": "inputmode"
|
|
1331
|
-
},
|
|
1332
|
-
{
|
|
1333
|
-
"name": "layout",
|
|
1334
|
-
"type": {
|
|
1335
|
-
"text": "string"
|
|
1336
|
-
},
|
|
1337
|
-
"description": "Sets the layout of the combobox.",
|
|
1338
|
-
"default": "'classic'",
|
|
1339
|
-
"fieldName": "layout",
|
|
1340
|
-
"inheritedFrom": {
|
|
1341
|
-
"name": "AuroElement",
|
|
1342
|
-
"module": "components/layoutElement/src/auroElement.js"
|
|
1343
|
-
}
|
|
1344
|
-
},
|
|
1345
|
-
{
|
|
1346
|
-
"name": "matchWidth",
|
|
1347
|
-
"type": {
|
|
1348
|
-
"text": "boolean"
|
|
1349
|
-
},
|
|
1350
|
-
"description": "If declared, the popover and trigger will be set to the same width.",
|
|
1351
|
-
"fieldName": "matchWidth"
|
|
1352
|
-
},
|
|
1353
|
-
{
|
|
1354
|
-
"name": "noFilter",
|
|
1355
|
-
"type": {
|
|
1356
|
-
"text": "boolean"
|
|
1357
|
-
},
|
|
1358
|
-
"description": "If set, combobox will not filter menuoptions based on input.",
|
|
1359
|
-
"fieldName": "noFilter"
|
|
1360
|
-
},
|
|
1361
|
-
{
|
|
1362
|
-
"name": "noFlip",
|
|
1363
|
-
"type": {
|
|
1364
|
-
"text": "boolean"
|
|
1365
|
-
},
|
|
1366
|
-
"description": "If declared, the bib will NOT flip to an alternate position\nwhen there isn't enough space in the specified `placement`.",
|
|
1367
|
-
"fieldName": "noFlip"
|
|
1368
|
-
},
|
|
1369
|
-
{
|
|
1370
|
-
"name": "shift",
|
|
1371
|
-
"type": {
|
|
1372
|
-
"text": "boolean"
|
|
1373
|
-
},
|
|
1374
|
-
"description": "If declared, the dropdown will shift its position to avoid being cut off by the viewport.",
|
|
1375
|
-
"fieldName": "shift"
|
|
1376
|
-
},
|
|
1377
|
-
{
|
|
1378
|
-
"name": "noValidate",
|
|
1379
|
-
"type": {
|
|
1380
|
-
"text": "boolean"
|
|
1381
|
-
},
|
|
1382
|
-
"description": "If set, disables auto-validation on blur.",
|
|
1383
|
-
"fieldName": "noValidate"
|
|
1384
|
-
},
|
|
1385
|
-
{
|
|
1386
|
-
"name": "offset",
|
|
1387
|
-
"type": {
|
|
1388
|
-
"text": "number"
|
|
1389
|
-
},
|
|
1390
|
-
"description": "Gap between the trigger element and bib.",
|
|
1391
|
-
"default": "0",
|
|
1392
|
-
"fieldName": "offset"
|
|
1393
|
-
},
|
|
1394
|
-
{
|
|
1395
|
-
"name": "onDark",
|
|
1396
|
-
"type": {
|
|
1397
|
-
"text": "boolean"
|
|
1398
|
-
},
|
|
1399
|
-
"description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
|
|
1400
|
-
"fieldName": "onDark"
|
|
1401
|
-
},
|
|
1402
|
-
{
|
|
1403
|
-
"name": "optionSelected",
|
|
1404
|
-
"type": {
|
|
1405
|
-
"text": "HTMLElement"
|
|
1406
|
-
},
|
|
1407
|
-
"description": "Specifies the current selected option.",
|
|
1408
|
-
"fieldName": "optionSelected"
|
|
1409
|
-
},
|
|
1410
|
-
{
|
|
1411
|
-
"name": "persistInput",
|
|
1412
|
-
"type": {
|
|
1413
|
-
"text": "boolean"
|
|
1414
|
-
},
|
|
1415
|
-
"description": "If declared, selecting a menu option will not change the input value. By doing so,\nthe current menu filter will be preserved and the user can continue from their last\nfilter state. It is recommended to use this in combination with the `displayValue` slot.",
|
|
1416
|
-
"fieldName": "persistInput"
|
|
1417
|
-
},
|
|
1418
|
-
{
|
|
1419
|
-
"name": "placement",
|
|
1420
|
-
"type": {
|
|
1421
|
-
"text": "'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'"
|
|
1422
|
-
},
|
|
1423
|
-
"description": "Position where the bib should appear relative to the trigger.",
|
|
1424
|
-
"default": "'bottom-start'",
|
|
1425
|
-
"fieldName": "placement"
|
|
1426
|
-
},
|
|
1427
|
-
{
|
|
1428
|
-
"name": "placeholder",
|
|
1429
|
-
"type": {
|
|
1430
|
-
"text": "string"
|
|
1431
|
-
},
|
|
1432
|
-
"description": "Define custom placeholder text, only supported by date input formats.",
|
|
1433
|
-
"fieldName": "placeholder"
|
|
1434
|
-
},
|
|
1435
|
-
{
|
|
1436
|
-
"name": "required",
|
|
1437
|
-
"type": {
|
|
1438
|
-
"text": "boolean"
|
|
1439
|
-
},
|
|
1440
|
-
"description": "Populates the `required` attribute on the input. Used for client-side validation.",
|
|
1441
|
-
"fieldName": "required"
|
|
1442
|
-
},
|
|
1443
|
-
{
|
|
1444
|
-
"name": "setCustomValidity",
|
|
1445
|
-
"type": {
|
|
1446
|
-
"text": "string"
|
|
1447
|
-
},
|
|
1448
|
-
"description": "Sets a custom help text message to display for all validityStates.",
|
|
1449
|
-
"fieldName": "setCustomValidity"
|
|
1450
|
-
},
|
|
1451
|
-
{
|
|
1452
|
-
"name": "setCustomValidityCustomError",
|
|
1453
|
-
"type": {
|
|
1454
|
-
"text": "string"
|
|
1455
|
-
},
|
|
1456
|
-
"description": "Custom help text message to display when validity = `customError`.",
|
|
1457
|
-
"fieldName": "setCustomValidityCustomError"
|
|
1458
|
-
},
|
|
1459
|
-
{
|
|
1460
|
-
"name": "setCustomValidityValueMissing",
|
|
1461
|
-
"type": {
|
|
1462
|
-
"text": "string"
|
|
1463
|
-
},
|
|
1464
|
-
"description": "Custom help text message to display when validity = `valueMissing`.",
|
|
1465
|
-
"fieldName": "setCustomValidityValueMissing"
|
|
1466
|
-
},
|
|
1467
|
-
{
|
|
1468
|
-
"name": "setCustomValidityValueMissingFilter",
|
|
1469
|
-
"type": {
|
|
1470
|
-
"text": "string"
|
|
1471
|
-
},
|
|
1472
|
-
"description": "Custom help text message to display when validity = `valueMissing` due to the user not choosing a menu option when behavior = \"filter\".",
|
|
1473
|
-
"fieldName": "setCustomValidityValueMissingFilter"
|
|
1474
|
-
},
|
|
1475
|
-
{
|
|
1476
|
-
"name": "triggerIcon",
|
|
1477
|
-
"type": {
|
|
1478
|
-
"text": "boolean"
|
|
1479
|
-
},
|
|
1480
|
-
"description": "If set, the `icon` attribute will be applied to the trigger `auro-input` element.",
|
|
1481
|
-
"fieldName": "triggerIcon"
|
|
1482
|
-
},
|
|
1483
|
-
{
|
|
1484
|
-
"name": "type",
|
|
1485
|
-
"type": {
|
|
1486
|
-
"text": "string"
|
|
1487
|
-
},
|
|
1488
|
-
"description": "Applies the defined value as the type attribute on `auro-input`.",
|
|
1489
|
-
"fieldName": "type"
|
|
1490
|
-
},
|
|
1491
|
-
{
|
|
1492
|
-
"name": "typedValue",
|
|
1493
|
-
"type": {
|
|
1494
|
-
"text": "string"
|
|
1495
|
-
},
|
|
1496
|
-
"description": "Specifies the value of the input element within the combobox.",
|
|
1497
|
-
"fieldName": "typedValue"
|
|
1498
|
-
},
|
|
1499
|
-
{
|
|
1500
|
-
"name": "validity",
|
|
1501
|
-
"type": {
|
|
1502
|
-
"text": "string"
|
|
1503
|
-
},
|
|
1504
|
-
"description": "Specifies the `validityState` this element is in.",
|
|
1505
|
-
"fieldName": "validity"
|
|
1506
|
-
},
|
|
1507
|
-
{
|
|
1508
|
-
"name": "value",
|
|
1509
|
-
"type": {
|
|
1510
|
-
"text": "string"
|
|
1511
|
-
},
|
|
1512
|
-
"description": "Value selected for the dropdown menu.",
|
|
1513
|
-
"fieldName": "value"
|
|
1514
|
-
},
|
|
1515
|
-
{
|
|
1516
|
-
"name": "largeFullscreenHeadline",
|
|
1517
|
-
"type": {
|
|
1518
|
-
"text": "boolean"
|
|
1519
|
-
},
|
|
1520
|
-
"description": "If declared, make bib.fullscreen.headline in HeadingDisplay.\nOtherwise, Heading 600",
|
|
1521
|
-
"fieldName": "largeFullscreenHeadline"
|
|
1522
|
-
},
|
|
1523
|
-
{
|
|
1524
|
-
"name": "fullscreenBreakpoint",
|
|
1525
|
-
"type": {
|
|
1526
|
-
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'"
|
|
1527
|
-
},
|
|
1528
|
-
"description": "Defines the screen size breakpointat which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.\n\nWhen expanded, the dropdown will automatically display in fullscreen mode\nif the screen size is equal to or smaller than the selected breakpoint.",
|
|
1529
|
-
"default": "'sm'",
|
|
1530
|
-
"fieldName": "fullscreenBreakpoint"
|
|
1531
|
-
},
|
|
1532
|
-
{
|
|
1533
|
-
"name": "shape",
|
|
1534
|
-
"type": {
|
|
1535
|
-
"text": "string"
|
|
1536
|
-
},
|
|
1537
|
-
"fieldName": "shape",
|
|
1538
|
-
"inheritedFrom": {
|
|
1539
|
-
"name": "AuroElement",
|
|
1540
|
-
"module": "components/layoutElement/src/auroElement.js"
|
|
1541
|
-
}
|
|
1542
|
-
},
|
|
1543
|
-
{
|
|
1544
|
-
"name": "size",
|
|
1545
|
-
"type": {
|
|
1546
|
-
"text": "string"
|
|
1547
|
-
},
|
|
1548
|
-
"fieldName": "size",
|
|
1549
|
-
"inheritedFrom": {
|
|
1550
|
-
"name": "AuroElement",
|
|
1551
|
-
"module": "components/layoutElement/src/auroElement.js"
|
|
1552
|
-
}
|
|
1553
|
-
},
|
|
1554
|
-
{
|
|
1555
|
-
"name": "ondark",
|
|
1556
|
-
"type": {
|
|
1557
|
-
"text": "boolean"
|
|
1558
|
-
},
|
|
1559
|
-
"fieldName": "onDark",
|
|
1560
|
-
"inheritedFrom": {
|
|
1561
|
-
"name": "AuroElement",
|
|
1562
|
-
"module": "components/layoutElement/src/auroElement.js"
|
|
1563
|
-
}
|
|
1564
|
-
}
|
|
1565
|
-
],
|
|
1566
|
-
"superclass": {
|
|
1567
|
-
"name": "AuroElement",
|
|
1568
|
-
"module": "/components/layoutElement/src/auroElement.js"
|
|
1569
|
-
},
|
|
1570
|
-
"tagName": "auro-combobox",
|
|
1571
|
-
"customElement": true
|
|
1572
|
-
}
|
|
1573
|
-
],
|
|
1574
|
-
"exports": [
|
|
1575
|
-
{
|
|
1576
|
-
"kind": "js",
|
|
1577
|
-
"name": "AuroCombobox",
|
|
1578
|
-
"declaration": {
|
|
1579
|
-
"name": "AuroCombobox",
|
|
1580
|
-
"module": "components/combobox/src/auro-combobox.js"
|
|
1581
|
-
}
|
|
1582
|
-
}
|
|
1583
|
-
]
|
|
1584
|
-
},
|
|
1585
|
-
{
|
|
1586
|
-
"kind": "javascript-module",
|
|
1587
|
-
"path": "components/combobox/src/comboboxKeyboardStrategy.js",
|
|
1588
|
-
"declarations": [
|
|
1589
|
-
{
|
|
1590
|
-
"kind": "variable",
|
|
1591
|
-
"name": "comboboxKeyboardStrategy",
|
|
1592
|
-
"type": {
|
|
1593
|
-
"text": "object"
|
|
1594
|
-
},
|
|
1595
|
-
"default": "{ ArrowDown(component, evt, ctx) { // If the clear button has focus, let the browser handle ArrowDown normally. if (isClearBtnFocused(ctx)) { return; } // option display and navigation are prevented if there are no available options if (component.availableOptions.length > 0) { evt.preventDefault(); // navigate if bib is open otherwise open it if (component.dropdown.isPopoverVisible) { if (evt.altKey || evt.metaKey) { component.activateLastEnabledAvailableOption(); } else { navigateArrow(component, 'down'); } } else { component.showBib(); } } }, ArrowUp(component, evt, ctx) { // If the clear button has focus, let the browser handle ArrowUp normally. if (isClearBtnFocused(ctx)) { return; } // option display and navigation are prevented if there are no available options if (component.availableOptions.length > 0) { evt.preventDefault(); // navigate if bib is open otherwise open it if (component.dropdown.isPopoverVisible) { if (evt.altKey || evt.metaKey) { component.activateFirstEnabledAvailableOption(); } else { navigateArrow(component, 'up'); } } else { component.showBib(); } } }, End(component, evt, ctx) { if (ctx.isExpanded) { evt.preventDefault(); evt.stopPropagation(); component.activateLastEnabledAvailableOption(); } }, Enter(component, evt, ctx) { if (isClearBtnFocused(ctx)) { // If the clear button has focus, let the browser activate it normally. // stopPropagation prevents parent containers (e.g., forms) from treating // Enter as a submit, but we must NOT call preventDefault — that would // block the browser's built-in \"Enter activates focused button\" behavior. evt.stopPropagation(); } else if (ctx.isExpanded && component.menu.optionActive) { component.menu.makeSelection(); if (ctx.isModal) { component.setTriggerInputFocus(); } evt.preventDefault(); evt.stopPropagation(); } else { // Prevent the keypress from bubbling to parent containers (e.g., forms) // which could interpret Enter as a submit or trigger other unintended behavior. // This is safe because showBib() opens the dialog programmatically, // not via event propagation. evt.preventDefault(); evt.stopPropagation(); component.showBib(); } }, Escape(component, evt, ctx) { if (!ctx.isExpanded) { return; } // Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups evt.stopPropagation(); if (ctx.isModal) { component.setTriggerInputFocus(); } component.hideBib(); }, Home(component, evt, ctx) { if (ctx.isExpanded) { evt.preventDefault(); evt.stopPropagation(); component.activateFirstEnabledAvailableOption(); } }, Tab(component, evt, ctx) { if (ctx.isExpanded && !isClearBtnFocused(ctx)) { // When the clear button is focused, Tab events do not bubble out of // its shadow DOM, so this handler only fires when the clear button // is NOT focused. In that case, select the active option and close. component.menu.makeSelection(); component.hideBib(); // In fullscreen modal mode, closing the dialog does not // automatically restores focus to the input. In the tab case, // Explicitly move focus to the trigger's clear button so the // user can continues tabbing through the page normally. if (ctx.isModal && !evt.shiftKey) { component.setClearBtnFocus(); } } }, }"
|
|
1596
|
-
}
|
|
1597
|
-
],
|
|
1598
|
-
"exports": [
|
|
1599
|
-
{
|
|
1600
|
-
"kind": "js",
|
|
1601
|
-
"name": "comboboxKeyboardStrategy",
|
|
1602
|
-
"declaration": {
|
|
1603
|
-
"name": "comboboxKeyboardStrategy",
|
|
1604
|
-
"module": "components/combobox/src/comboboxKeyboardStrategy.js"
|
|
1605
|
-
}
|
|
1606
|
-
}
|
|
1607
|
-
]
|
|
1608
|
-
},
|
|
1609
|
-
{
|
|
1610
|
-
"kind": "javascript-module",
|
|
1611
|
-
"path": "components/combobox/src/index.js",
|
|
1612
|
-
"declarations": [],
|
|
1613
|
-
"exports": [
|
|
1614
|
-
{
|
|
1615
|
-
"kind": "js",
|
|
1616
|
-
"name": "AuroCombobox",
|
|
1617
|
-
"declaration": {
|
|
1618
|
-
"name": "AuroCombobox",
|
|
1619
|
-
"module": "components/combobox/src/index.js"
|
|
1620
|
-
}
|
|
1621
|
-
}
|
|
1622
|
-
]
|
|
1623
|
-
},
|
|
1624
|
-
{
|
|
1625
|
-
"kind": "javascript-module",
|
|
1626
|
-
"path": "components/combobox/src/registered.js",
|
|
1627
|
-
"declarations": [],
|
|
1628
|
-
"exports": [
|
|
1629
|
-
{
|
|
1630
|
-
"kind": "js",
|
|
1631
|
-
"name": "AuroCombobox",
|
|
1632
|
-
"declaration": {
|
|
1633
|
-
"name": "AuroCombobox",
|
|
1634
|
-
"module": "components/combobox/src/registered.js"
|
|
1635
|
-
}
|
|
1636
|
-
}
|
|
1637
|
-
]
|
|
1638
|
-
},
|
|
1639
|
-
{
|
|
1640
|
-
"kind": "javascript-module",
|
|
1641
|
-
"path": "components/checkbox/src/auro-checkbox-group.js",
|
|
1642
|
-
"declarations": [
|
|
1643
|
-
{
|
|
1644
|
-
"kind": "class",
|
|
1645
|
-
"description": "The `auro-checkbox-group` element is a wrapper for `auro-checkbox` elements.",
|
|
1646
|
-
"name": "AuroCheckboxGroup",
|
|
1647
|
-
"slots": [
|
|
1309
|
+
"kind": "method",
|
|
1310
|
+
"name": "setInputFocus",
|
|
1311
|
+
"privacy": "private"
|
|
1312
|
+
},
|
|
1648
1313
|
{
|
|
1649
|
-
"
|
|
1650
|
-
"name": "
|
|
1314
|
+
"kind": "method",
|
|
1315
|
+
"name": "updateBibDialogRole",
|
|
1316
|
+
"description": "Suppresses or restores dialog semantics on the bib's dialog element.\nOn desktop (non-fullscreen), VoiceOver verbosely announces \"listbox inside\nof a dialog\" which disrupts combobox usage. Setting role=\"presentation\"\nsuppresses this. In fullscreen mode, dialog semantics are restored.",
|
|
1317
|
+
"privacy": "private"
|
|
1651
1318
|
},
|
|
1652
1319
|
{
|
|
1653
|
-
"
|
|
1654
|
-
"name": "
|
|
1320
|
+
"kind": "method",
|
|
1321
|
+
"name": "updateMenuShapeSize",
|
|
1322
|
+
"description": "Update menu to default for fullscreen bib, otherwise to this.size and this.shape.",
|
|
1323
|
+
"privacy": "private"
|
|
1655
1324
|
},
|
|
1656
1325
|
{
|
|
1657
|
-
"
|
|
1658
|
-
"name": "
|
|
1326
|
+
"kind": "method",
|
|
1327
|
+
"name": "_getAnnouncementRoot",
|
|
1328
|
+
"description": "Returns the shadow root containing the live region for screen reader announcements.\nWhen the bib is open in fullscreen modal mode, everything outside the <dialog>\nis inert, so we target the bib's own shadow root instead of the host's.",
|
|
1329
|
+
"privacy": "private",
|
|
1330
|
+
"return": {
|
|
1331
|
+
"type": {
|
|
1332
|
+
"text": "ShadowRoot"
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1659
1335
|
},
|
|
1660
1336
|
{
|
|
1661
|
-
"
|
|
1662
|
-
"name": "
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1337
|
+
"kind": "method",
|
|
1338
|
+
"name": "configureMenu",
|
|
1339
|
+
"description": "Binds all behavior needed to the menu after rendering.",
|
|
1340
|
+
"privacy": "private",
|
|
1341
|
+
"return": {
|
|
1342
|
+
"type": {
|
|
1343
|
+
"text": "void"
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
},
|
|
1666
1347
|
{
|
|
1667
1348
|
"kind": "method",
|
|
1668
|
-
"name": "
|
|
1349
|
+
"name": "configureInput",
|
|
1350
|
+
"description": "Binds all behavior needed to the input after rendering.",
|
|
1351
|
+
"privacy": "private",
|
|
1352
|
+
"return": {
|
|
1353
|
+
"type": {
|
|
1354
|
+
"text": "void"
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1669
1357
|
},
|
|
1670
1358
|
{
|
|
1671
1359
|
"kind": "method",
|
|
1672
|
-
"name": "
|
|
1673
|
-
"static": true,
|
|
1360
|
+
"name": "handleMenuLoadingChange",
|
|
1674
1361
|
"parameters": [
|
|
1675
1362
|
{
|
|
1676
|
-
"name": "
|
|
1677
|
-
"
|
|
1678
|
-
"description": "The name of the element that you want to register.",
|
|
1679
|
-
"optional": true,
|
|
1363
|
+
"name": "event",
|
|
1364
|
+
"description": "The event object containing details about the loading state change.",
|
|
1680
1365
|
"type": {
|
|
1681
|
-
"text": "
|
|
1366
|
+
"text": "CustomEvent"
|
|
1367
|
+
}
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"description": "Indicates whether the menu is currently loading.",
|
|
1371
|
+
"name": "event.detail.loading",
|
|
1372
|
+
"type": {
|
|
1373
|
+
"text": "boolean"
|
|
1374
|
+
}
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"description": "Indicates if there are loading placeholders present.",
|
|
1378
|
+
"name": "event.detail.hasLoadingPlaceholder",
|
|
1379
|
+
"type": {
|
|
1380
|
+
"text": "boolean"
|
|
1682
1381
|
}
|
|
1683
1382
|
}
|
|
1684
1383
|
],
|
|
1685
|
-
"description": "
|
|
1384
|
+
"description": "Manages the visibility of the dropdown based on loading state changes.\n\nThis method listens for loading state changes and adjusts the visibility of the dropdown accordingly.\nIf the dropdown is visible and loading is true without any loading placeholders, it hides the dropdown\nand sets a flag to indicate it is hidden while loading. If loading is false and the dropdown was previously\nhidden, it checks if the active element is within the dropdown and shows it again if true.",
|
|
1385
|
+
"privacy": "private",
|
|
1386
|
+
"return": {
|
|
1387
|
+
"type": {
|
|
1388
|
+
"text": "void"
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1686
1391
|
},
|
|
1687
1392
|
{
|
|
1688
1393
|
"kind": "method",
|
|
1689
|
-
"name": "
|
|
1394
|
+
"name": "handleInputValueChange",
|
|
1690
1395
|
"parameters": [
|
|
1691
1396
|
{
|
|
1692
|
-
"name": "
|
|
1693
|
-
"description": "The
|
|
1397
|
+
"name": "event",
|
|
1398
|
+
"description": "The input event triggered by the input element.",
|
|
1694
1399
|
"type": {
|
|
1695
|
-
"text": "
|
|
1400
|
+
"text": "Event"
|
|
1696
1401
|
}
|
|
1697
|
-
}
|
|
1402
|
+
}
|
|
1403
|
+
],
|
|
1404
|
+
"description": "Handle changes to the input value and trigger changes that should result.",
|
|
1405
|
+
"privacy": "private",
|
|
1406
|
+
"return": {
|
|
1407
|
+
"type": {
|
|
1408
|
+
"text": "void"
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
"kind": "method",
|
|
1414
|
+
"name": "configureCombobox",
|
|
1415
|
+
"description": "Binds all behavior needed to the combobox after rendering.",
|
|
1416
|
+
"privacy": "private",
|
|
1417
|
+
"return": {
|
|
1418
|
+
"type": {
|
|
1419
|
+
"text": "void"
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"kind": "method",
|
|
1425
|
+
"name": "focus",
|
|
1426
|
+
"description": "Focuses the combobox trigger input.",
|
|
1427
|
+
"return": {
|
|
1428
|
+
"type": {
|
|
1429
|
+
"text": "void"
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
"kind": "method",
|
|
1435
|
+
"name": "setMenuValue",
|
|
1436
|
+
"parameters": [
|
|
1698
1437
|
{
|
|
1699
|
-
"name": "
|
|
1700
|
-
"description": "The
|
|
1438
|
+
"name": "value",
|
|
1439
|
+
"description": "The value to set on the menu.",
|
|
1701
1440
|
"type": {
|
|
1702
|
-
"text": "
|
|
1441
|
+
"text": "string"
|
|
1703
1442
|
}
|
|
1704
1443
|
}
|
|
1705
1444
|
],
|
|
1706
|
-
"description": "
|
|
1707
|
-
"privacy": "private",
|
|
1445
|
+
"description": "Sets the menu value if menu is available.",
|
|
1708
1446
|
"return": {
|
|
1709
1447
|
"type": {
|
|
1710
1448
|
"text": "void"
|
|
@@ -1713,9 +1451,8 @@
|
|
|
1713
1451
|
},
|
|
1714
1452
|
{
|
|
1715
1453
|
"kind": "method",
|
|
1716
|
-
"name": "
|
|
1717
|
-
"description": "
|
|
1718
|
-
"privacy": "private",
|
|
1454
|
+
"name": "reset",
|
|
1455
|
+
"description": "Resets component to initial state.",
|
|
1719
1456
|
"return": {
|
|
1720
1457
|
"type": {
|
|
1721
1458
|
"text": "void"
|
|
@@ -1724,8 +1461,57 @@
|
|
|
1724
1461
|
},
|
|
1725
1462
|
{
|
|
1726
1463
|
"kind": "method",
|
|
1727
|
-
"name": "
|
|
1728
|
-
"description": "
|
|
1464
|
+
"name": "clear",
|
|
1465
|
+
"description": "Clears the current value of the combobox.",
|
|
1466
|
+
"return": {
|
|
1467
|
+
"type": {
|
|
1468
|
+
"text": "void"
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"kind": "method",
|
|
1474
|
+
"name": "validate",
|
|
1475
|
+
"parameters": [
|
|
1476
|
+
{
|
|
1477
|
+
"name": "force",
|
|
1478
|
+
"default": "false",
|
|
1479
|
+
"description": "Whether to force validation.",
|
|
1480
|
+
"optional": true,
|
|
1481
|
+
"type": {
|
|
1482
|
+
"text": "boolean"
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
],
|
|
1486
|
+
"description": "Validates value."
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"kind": "method",
|
|
1490
|
+
"name": "transportAssignedNodes",
|
|
1491
|
+
"parameters": [
|
|
1492
|
+
{
|
|
1493
|
+
"name": "slot",
|
|
1494
|
+
"description": "The slot element containing the nodes to apply.",
|
|
1495
|
+
"type": {
|
|
1496
|
+
"text": "HTMLSlotElement"
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"name": "target",
|
|
1501
|
+
"description": "The target element to apply the nodes to.",
|
|
1502
|
+
"type": {
|
|
1503
|
+
"text": "HTMLElement"
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"name": "newSlotName",
|
|
1508
|
+
"description": "The new slot name for the applied nodes.",
|
|
1509
|
+
"type": {
|
|
1510
|
+
"text": "string"
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
],
|
|
1514
|
+
"description": "Applies slotted nodes to a target element with a new slot name.",
|
|
1729
1515
|
"privacy": "private",
|
|
1730
1516
|
"return": {
|
|
1731
1517
|
"type": {
|
|
@@ -1735,42 +1521,105 @@
|
|
|
1735
1521
|
},
|
|
1736
1522
|
{
|
|
1737
1523
|
"kind": "method",
|
|
1738
|
-
"name": "
|
|
1739
|
-
"
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
"
|
|
1524
|
+
"name": "updateActiveOption",
|
|
1525
|
+
"parameters": [
|
|
1526
|
+
{
|
|
1527
|
+
"name": "index",
|
|
1528
|
+
"description": "Index of the option to make active.",
|
|
1529
|
+
"type": {
|
|
1530
|
+
"text": "number"
|
|
1531
|
+
}
|
|
1743
1532
|
}
|
|
1744
|
-
|
|
1533
|
+
],
|
|
1534
|
+
"description": "Updates the active option in the menu."
|
|
1745
1535
|
},
|
|
1746
1536
|
{
|
|
1747
1537
|
"kind": "method",
|
|
1748
|
-
"name": "
|
|
1538
|
+
"name": "handleSlotChange",
|
|
1749
1539
|
"parameters": [
|
|
1750
1540
|
{
|
|
1751
|
-
"name": "
|
|
1752
|
-
"
|
|
1753
|
-
"description": "Whether to force validation.",
|
|
1754
|
-
"optional": true,
|
|
1541
|
+
"name": "event",
|
|
1542
|
+
"description": "`slotchange` event.",
|
|
1755
1543
|
"type": {
|
|
1756
|
-
"text": "
|
|
1544
|
+
"text": "Event"
|
|
1757
1545
|
}
|
|
1758
1546
|
}
|
|
1759
1547
|
],
|
|
1760
|
-
"description": "
|
|
1548
|
+
"description": "Watch for slot changes and recalculate the menuoptions.",
|
|
1549
|
+
"privacy": "private",
|
|
1550
|
+
"return": {
|
|
1551
|
+
"type": {
|
|
1552
|
+
"text": "void"
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1761
1555
|
},
|
|
1762
1556
|
{
|
|
1763
1557
|
"kind": "field",
|
|
1764
1558
|
"name": "appearance",
|
|
1765
1559
|
"privacy": "public",
|
|
1766
1560
|
"type": {
|
|
1767
|
-
"text": "
|
|
1561
|
+
"text": "string"
|
|
1768
1562
|
},
|
|
1769
1563
|
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
1770
1564
|
"default": "'default'",
|
|
1771
1565
|
"attribute": "appearance",
|
|
1772
1566
|
"reflects": true
|
|
1773
1567
|
},
|
|
1568
|
+
{
|
|
1569
|
+
"kind": "field",
|
|
1570
|
+
"name": "autocomplete",
|
|
1571
|
+
"privacy": "public",
|
|
1572
|
+
"type": {
|
|
1573
|
+
"text": "string"
|
|
1574
|
+
},
|
|
1575
|
+
"description": "An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete=\"off\"` is supported.",
|
|
1576
|
+
"attribute": "autocomplete",
|
|
1577
|
+
"reflects": true
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
"kind": "field",
|
|
1581
|
+
"name": "autoPlacement",
|
|
1582
|
+
"privacy": "public",
|
|
1583
|
+
"type": {
|
|
1584
|
+
"text": "boolean"
|
|
1585
|
+
},
|
|
1586
|
+
"description": "If declared, bib's position will be automatically calculated where to appear.",
|
|
1587
|
+
"attribute": "autoPlacement",
|
|
1588
|
+
"reflects": true
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"kind": "field",
|
|
1592
|
+
"name": "availableOptions",
|
|
1593
|
+
"privacy": "private",
|
|
1594
|
+
"type": {
|
|
1595
|
+
"text": "array"
|
|
1596
|
+
},
|
|
1597
|
+
"description": "Array of available options to display in the dropdown.\nThis array contains all non-hidden options (e.g., hidden by filtering on input value).",
|
|
1598
|
+
"attribute": "availableOptions"
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
"kind": "field",
|
|
1602
|
+
"name": "behavior",
|
|
1603
|
+
"privacy": "public",
|
|
1604
|
+
"type": {
|
|
1605
|
+
"text": "'filter' | 'suggestion'"
|
|
1606
|
+
},
|
|
1607
|
+
"description": "Sets the behavior of the combobox, \"filter\" or \"suggestion\".\n\"filter\" requires the user to select an option from the menu.\n\"suggestion\" allows the user to enter a value not present in the menu options.",
|
|
1608
|
+
"default": "'suggestion'",
|
|
1609
|
+
"attribute": "behavior",
|
|
1610
|
+
"reflects": true
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"kind": "field",
|
|
1614
|
+
"name": "checkmark",
|
|
1615
|
+
"privacy": "public",
|
|
1616
|
+
"type": {
|
|
1617
|
+
"text": "boolean"
|
|
1618
|
+
},
|
|
1619
|
+
"description": "When attribute is present auro-menu will apply check marks to selected options.",
|
|
1620
|
+
"attribute": "checkmark",
|
|
1621
|
+
"reflects": true
|
|
1622
|
+
},
|
|
1774
1623
|
{
|
|
1775
1624
|
"kind": "field",
|
|
1776
1625
|
"name": "disabled",
|
|
@@ -1778,10 +1627,39 @@
|
|
|
1778
1627
|
"type": {
|
|
1779
1628
|
"text": "boolean"
|
|
1780
1629
|
},
|
|
1781
|
-
"description": "If set, disables the
|
|
1630
|
+
"description": "If set, disables the combobox.",
|
|
1782
1631
|
"attribute": "disabled",
|
|
1783
1632
|
"reflects": true
|
|
1784
1633
|
},
|
|
1634
|
+
{
|
|
1635
|
+
"kind": "field",
|
|
1636
|
+
"name": "dropdownId",
|
|
1637
|
+
"privacy": "private",
|
|
1638
|
+
"type": {
|
|
1639
|
+
"text": "string"
|
|
1640
|
+
},
|
|
1641
|
+
"description": "ID for the dropdown."
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"kind": "field",
|
|
1645
|
+
"name": "dropdownOpen",
|
|
1646
|
+
"privacy": "private",
|
|
1647
|
+
"type": {
|
|
1648
|
+
"text": "boolean"
|
|
1649
|
+
},
|
|
1650
|
+
"description": "Whether or not the dropdown is open."
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"kind": "field",
|
|
1654
|
+
"name": "dvInputOnly",
|
|
1655
|
+
"privacy": "public",
|
|
1656
|
+
"type": {
|
|
1657
|
+
"text": "boolean"
|
|
1658
|
+
},
|
|
1659
|
+
"description": "If defined, the display value slot content will only mask the HTML5 input element. The inputs label will not be masked.",
|
|
1660
|
+
"attribute": "dvInputOnly",
|
|
1661
|
+
"reflects": true
|
|
1662
|
+
},
|
|
1785
1663
|
{
|
|
1786
1664
|
"kind": "field",
|
|
1787
1665
|
"name": "error",
|
|
@@ -1795,35 +1673,166 @@
|
|
|
1795
1673
|
},
|
|
1796
1674
|
{
|
|
1797
1675
|
"kind": "field",
|
|
1798
|
-
"name": "
|
|
1676
|
+
"name": "format",
|
|
1677
|
+
"privacy": "public",
|
|
1678
|
+
"type": {
|
|
1679
|
+
"text": "string"
|
|
1680
|
+
},
|
|
1681
|
+
"description": "Specifies the input mask format.",
|
|
1682
|
+
"attribute": "format",
|
|
1683
|
+
"reflects": true
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"kind": "field",
|
|
1687
|
+
"name": "inputmode",
|
|
1688
|
+
"privacy": "public",
|
|
1689
|
+
"type": {
|
|
1690
|
+
"text": "string"
|
|
1691
|
+
},
|
|
1692
|
+
"description": "Exposes inputmode attribute for input.",
|
|
1693
|
+
"attribute": "inputmode",
|
|
1694
|
+
"reflects": true
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"kind": "field",
|
|
1698
|
+
"name": "layout",
|
|
1699
|
+
"privacy": "public",
|
|
1700
|
+
"type": {
|
|
1701
|
+
"text": "string"
|
|
1702
|
+
},
|
|
1703
|
+
"description": "Sets the layout of the combobox.",
|
|
1704
|
+
"default": "'classic'",
|
|
1705
|
+
"attribute": "layout",
|
|
1706
|
+
"reflects": true,
|
|
1707
|
+
"inheritedFrom": {
|
|
1708
|
+
"name": "AuroElement",
|
|
1709
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
1710
|
+
}
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
"kind": "field",
|
|
1714
|
+
"name": "matchWidth",
|
|
1715
|
+
"privacy": "private",
|
|
1716
|
+
"type": {
|
|
1717
|
+
"text": "boolean"
|
|
1718
|
+
},
|
|
1719
|
+
"description": "If declared, the popover and trigger will be set to the same width.",
|
|
1720
|
+
"attribute": "matchWidth",
|
|
1721
|
+
"reflects": true
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"kind": "field",
|
|
1725
|
+
"name": "noFilter",
|
|
1726
|
+
"privacy": "public",
|
|
1727
|
+
"type": {
|
|
1728
|
+
"text": "boolean"
|
|
1729
|
+
},
|
|
1730
|
+
"description": "If set, combobox will not filter menuoptions based on input.",
|
|
1731
|
+
"attribute": "noFilter",
|
|
1732
|
+
"reflects": true
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"kind": "field",
|
|
1736
|
+
"name": "noFlip",
|
|
1737
|
+
"privacy": "public",
|
|
1738
|
+
"type": {
|
|
1739
|
+
"text": "boolean"
|
|
1740
|
+
},
|
|
1741
|
+
"description": "If declared, the bib will NOT flip to an alternate position\nwhen there isn't enough space in the specified `placement`.",
|
|
1742
|
+
"attribute": "noFlip",
|
|
1743
|
+
"reflects": true
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"kind": "field",
|
|
1747
|
+
"name": "shift",
|
|
1748
|
+
"privacy": "public",
|
|
1749
|
+
"type": {
|
|
1750
|
+
"text": "boolean"
|
|
1751
|
+
},
|
|
1752
|
+
"description": "If declared, the dropdown will shift its position to avoid being cut off by the viewport.",
|
|
1753
|
+
"attribute": "shift",
|
|
1754
|
+
"reflects": true
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
"kind": "field",
|
|
1758
|
+
"name": "noValidate",
|
|
1759
|
+
"privacy": "public",
|
|
1760
|
+
"type": {
|
|
1761
|
+
"text": "boolean"
|
|
1762
|
+
},
|
|
1763
|
+
"description": "If set, disables auto-validation on blur.",
|
|
1764
|
+
"attribute": "noValidate",
|
|
1765
|
+
"reflects": true
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"kind": "field",
|
|
1769
|
+
"name": "offset",
|
|
1770
|
+
"privacy": "public",
|
|
1771
|
+
"type": {
|
|
1772
|
+
"text": "number"
|
|
1773
|
+
},
|
|
1774
|
+
"description": "Gap between the trigger element and bib.",
|
|
1775
|
+
"default": "0",
|
|
1776
|
+
"attribute": "offset",
|
|
1777
|
+
"reflects": true
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
"kind": "field",
|
|
1781
|
+
"name": "onDark",
|
|
1782
|
+
"privacy": "public",
|
|
1783
|
+
"type": {
|
|
1784
|
+
"text": "boolean"
|
|
1785
|
+
},
|
|
1786
|
+
"attribute": "onDark",
|
|
1787
|
+
"reflects": true,
|
|
1788
|
+
"description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
|
|
1789
|
+
"inheritedFrom": {
|
|
1790
|
+
"name": "AuroElement",
|
|
1791
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
1792
|
+
}
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"kind": "field",
|
|
1796
|
+
"name": "optionSelected",
|
|
1797
|
+
"privacy": "public",
|
|
1798
|
+
"type": {
|
|
1799
|
+
"text": "HTMLElement"
|
|
1800
|
+
},
|
|
1801
|
+
"description": "Specifies the current selected option.",
|
|
1802
|
+
"attribute": "optionSelected"
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
"kind": "field",
|
|
1806
|
+
"name": "persistInput",
|
|
1799
1807
|
"privacy": "public",
|
|
1800
1808
|
"type": {
|
|
1801
1809
|
"text": "boolean"
|
|
1802
1810
|
},
|
|
1803
|
-
"description": "If
|
|
1804
|
-
"attribute": "
|
|
1811
|
+
"description": "If declared, selecting a menu option will not change the input value. By doing so,\nthe current menu filter will be preserved and the user can continue from their last\nfilter state. It is recommended to use this in combination with the `displayValue` slot.",
|
|
1812
|
+
"attribute": "persistInput",
|
|
1805
1813
|
"reflects": true
|
|
1806
1814
|
},
|
|
1807
1815
|
{
|
|
1808
1816
|
"kind": "field",
|
|
1809
|
-
"name": "
|
|
1817
|
+
"name": "placement",
|
|
1810
1818
|
"privacy": "public",
|
|
1811
1819
|
"type": {
|
|
1812
|
-
"text": "
|
|
1820
|
+
"text": "'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'"
|
|
1813
1821
|
},
|
|
1814
|
-
"description": "
|
|
1815
|
-
"
|
|
1822
|
+
"description": "Position where the bib should appear relative to the trigger.",
|
|
1823
|
+
"default": "'bottom-start'",
|
|
1824
|
+
"attribute": "placement",
|
|
1816
1825
|
"reflects": true
|
|
1817
1826
|
},
|
|
1818
1827
|
{
|
|
1819
1828
|
"kind": "field",
|
|
1820
|
-
"name": "
|
|
1829
|
+
"name": "placeholder",
|
|
1821
1830
|
"privacy": "public",
|
|
1822
1831
|
"type": {
|
|
1823
|
-
"text": "
|
|
1832
|
+
"text": "string"
|
|
1824
1833
|
},
|
|
1825
|
-
"description": "
|
|
1826
|
-
"attribute": "
|
|
1834
|
+
"description": "Define custom placeholder text, only supported by date input formats.",
|
|
1835
|
+
"attribute": "placeholder",
|
|
1827
1836
|
"reflects": true
|
|
1828
1837
|
},
|
|
1829
1838
|
{
|
|
@@ -1833,7 +1842,7 @@
|
|
|
1833
1842
|
"type": {
|
|
1834
1843
|
"text": "boolean"
|
|
1835
1844
|
},
|
|
1836
|
-
"description": "Populates the `required` attribute on the
|
|
1845
|
+
"description": "Populates the `required` attribute on the input. Used for client-side validation.",
|
|
1837
1846
|
"attribute": "required",
|
|
1838
1847
|
"reflects": true
|
|
1839
1848
|
},
|
|
@@ -1869,620 +1878,611 @@
|
|
|
1869
1878
|
},
|
|
1870
1879
|
{
|
|
1871
1880
|
"kind": "field",
|
|
1872
|
-
"name": "
|
|
1881
|
+
"name": "setCustomValidityValueMissingFilter",
|
|
1873
1882
|
"privacy": "public",
|
|
1874
1883
|
"type": {
|
|
1875
1884
|
"text": "string"
|
|
1876
1885
|
},
|
|
1877
|
-
"description": "
|
|
1878
|
-
"attribute": "
|
|
1879
|
-
"reflects": true
|
|
1880
|
-
}
|
|
1881
|
-
],
|
|
1882
|
-
"events": [
|
|
1883
|
-
{
|
|
1884
|
-
"name": "input",
|
|
1885
|
-
"type": {
|
|
1886
|
-
"text": "CustomEvent"
|
|
1887
|
-
}
|
|
1888
|
-
},
|
|
1889
|
-
{
|
|
1890
|
-
"description": "Notifies that the `validity` and `errorMessage` values have changed.",
|
|
1891
|
-
"name": "auroFormElement-validated"
|
|
1892
|
-
}
|
|
1893
|
-
],
|
|
1894
|
-
"attributes": [
|
|
1895
|
-
{
|
|
1896
|
-
"name": "appearance",
|
|
1897
|
-
"type": {
|
|
1898
|
-
"text": "'default' | 'inverse'"
|
|
1899
|
-
},
|
|
1900
|
-
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
1901
|
-
"default": "'default'",
|
|
1902
|
-
"fieldName": "appearance"
|
|
1903
|
-
},
|
|
1904
|
-
{
|
|
1905
|
-
"name": "disabled",
|
|
1906
|
-
"type": {
|
|
1907
|
-
"text": "boolean"
|
|
1908
|
-
},
|
|
1909
|
-
"description": "If set, disables the checkbox group.",
|
|
1910
|
-
"fieldName": "disabled"
|
|
1911
|
-
},
|
|
1912
|
-
{
|
|
1913
|
-
"name": "error",
|
|
1914
|
-
"type": {
|
|
1915
|
-
"text": "string"
|
|
1916
|
-
},
|
|
1917
|
-
"description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
|
|
1918
|
-
"fieldName": "error"
|
|
1886
|
+
"description": "Custom help text message to display when validity = `valueMissing` due to the user not choosing a menu option when behavior = \"filter\".",
|
|
1887
|
+
"attribute": "setCustomValidityValueMissingFilter"
|
|
1919
1888
|
},
|
|
1920
1889
|
{
|
|
1921
|
-
"
|
|
1890
|
+
"kind": "field",
|
|
1891
|
+
"name": "touched",
|
|
1892
|
+
"privacy": "private",
|
|
1922
1893
|
"type": {
|
|
1923
1894
|
"text": "boolean"
|
|
1924
1895
|
},
|
|
1925
|
-
"description": "
|
|
1926
|
-
"fieldName": "horizontal"
|
|
1896
|
+
"description": "Indicates whether the combobox is in a dirty state (has been interacted with)."
|
|
1927
1897
|
},
|
|
1928
1898
|
{
|
|
1929
|
-
"
|
|
1899
|
+
"kind": "field",
|
|
1900
|
+
"name": "triggerIcon",
|
|
1901
|
+
"privacy": "public",
|
|
1930
1902
|
"type": {
|
|
1931
1903
|
"text": "boolean"
|
|
1932
1904
|
},
|
|
1933
|
-
"description": "If set,
|
|
1934
|
-
"
|
|
1905
|
+
"description": "If set, the `icon` attribute will be applied to the trigger `auro-input` element.",
|
|
1906
|
+
"attribute": "triggerIcon",
|
|
1907
|
+
"reflects": true
|
|
1935
1908
|
},
|
|
1936
1909
|
{
|
|
1937
|
-
"
|
|
1910
|
+
"kind": "field",
|
|
1911
|
+
"name": "type",
|
|
1912
|
+
"privacy": "public",
|
|
1938
1913
|
"type": {
|
|
1939
|
-
"text": "
|
|
1914
|
+
"text": "string"
|
|
1940
1915
|
},
|
|
1941
|
-
"description": "
|
|
1942
|
-
"
|
|
1916
|
+
"description": "Applies the defined value as the type attribute on `auro-input`.",
|
|
1917
|
+
"attribute": "type",
|
|
1918
|
+
"reflects": true
|
|
1943
1919
|
},
|
|
1944
1920
|
{
|
|
1945
|
-
"
|
|
1921
|
+
"kind": "field",
|
|
1922
|
+
"name": "typedValue",
|
|
1923
|
+
"privacy": "public",
|
|
1946
1924
|
"type": {
|
|
1947
|
-
"text": "
|
|
1925
|
+
"text": "string"
|
|
1948
1926
|
},
|
|
1949
|
-
"description": "
|
|
1950
|
-
"
|
|
1927
|
+
"description": "Specifies the value of the input element within the combobox.",
|
|
1928
|
+
"attribute": "typedValue",
|
|
1929
|
+
"reflects": true
|
|
1951
1930
|
},
|
|
1952
1931
|
{
|
|
1953
|
-
"
|
|
1932
|
+
"kind": "field",
|
|
1933
|
+
"name": "validity",
|
|
1934
|
+
"privacy": "public",
|
|
1954
1935
|
"type": {
|
|
1955
1936
|
"text": "string"
|
|
1956
1937
|
},
|
|
1957
|
-
"description": "
|
|
1958
|
-
"
|
|
1938
|
+
"description": "Specifies the `validityState` this element is in.",
|
|
1939
|
+
"attribute": "validity",
|
|
1940
|
+
"reflects": true
|
|
1959
1941
|
},
|
|
1960
1942
|
{
|
|
1961
|
-
"
|
|
1943
|
+
"kind": "field",
|
|
1944
|
+
"name": "value",
|
|
1945
|
+
"privacy": "public",
|
|
1962
1946
|
"type": {
|
|
1963
1947
|
"text": "string"
|
|
1964
1948
|
},
|
|
1965
|
-
"description": "
|
|
1966
|
-
"
|
|
1949
|
+
"description": "Value selected for the dropdown menu.",
|
|
1950
|
+
"attribute": "value"
|
|
1967
1951
|
},
|
|
1968
1952
|
{
|
|
1969
|
-
"
|
|
1953
|
+
"kind": "field",
|
|
1954
|
+
"name": "largeFullscreenHeadline",
|
|
1955
|
+
"privacy": "public",
|
|
1970
1956
|
"type": {
|
|
1971
|
-
"text": "
|
|
1957
|
+
"text": "boolean"
|
|
1972
1958
|
},
|
|
1973
|
-
"description": "
|
|
1974
|
-
"
|
|
1959
|
+
"description": "If declared, make bib.fullscreen.headline in HeadingDisplay.\nOtherwise, Heading 600",
|
|
1960
|
+
"attribute": "largeFullscreenHeadline",
|
|
1961
|
+
"reflects": true
|
|
1975
1962
|
},
|
|
1976
1963
|
{
|
|
1977
|
-
"
|
|
1964
|
+
"kind": "field",
|
|
1965
|
+
"name": "fullscreenBreakpoint",
|
|
1966
|
+
"privacy": "public",
|
|
1978
1967
|
"type": {
|
|
1979
|
-
"text": "
|
|
1968
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'"
|
|
1980
1969
|
},
|
|
1981
|
-
"description": "
|
|
1982
|
-
"
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
"superclass": {
|
|
1986
|
-
"name": "LitElement",
|
|
1987
|
-
"package": "lit"
|
|
1988
|
-
},
|
|
1989
|
-
"tagName": "auro-checkbox-group",
|
|
1990
|
-
"customElement": true
|
|
1991
|
-
}
|
|
1992
|
-
],
|
|
1993
|
-
"exports": [
|
|
1994
|
-
{
|
|
1995
|
-
"kind": "js",
|
|
1996
|
-
"name": "AuroCheckboxGroup",
|
|
1997
|
-
"declaration": {
|
|
1998
|
-
"name": "AuroCheckboxGroup",
|
|
1999
|
-
"module": "components/checkbox/src/auro-checkbox-group.js"
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
|
-
]
|
|
2003
|
-
},
|
|
2004
|
-
{
|
|
2005
|
-
"kind": "javascript-module",
|
|
2006
|
-
"path": "components/checkbox/src/auro-checkbox.js",
|
|
2007
|
-
"declarations": [
|
|
2008
|
-
{
|
|
2009
|
-
"kind": "class",
|
|
2010
|
-
"description": "The `auro-checkbox` element is for the purpose of allowing users to select one or more options of a limited number of choices.",
|
|
2011
|
-
"name": "AuroCheckbox",
|
|
2012
|
-
"cssParts": [
|
|
2013
|
-
{
|
|
2014
|
-
"description": "apply css to a specific checkbox.",
|
|
2015
|
-
"name": "checkbox"
|
|
2016
|
-
},
|
|
2017
|
-
{
|
|
2018
|
-
"description": "apply css to a specific checkbox's input.",
|
|
2019
|
-
"name": "checkbox-input"
|
|
2020
|
-
},
|
|
2021
|
-
{
|
|
2022
|
-
"description": "apply css to a specific checkbox's label.",
|
|
2023
|
-
"name": "checkbox-label"
|
|
2024
|
-
}
|
|
2025
|
-
],
|
|
2026
|
-
"slots": [
|
|
2027
|
-
{
|
|
2028
|
-
"description": "The default slot for the checkbox label.",
|
|
2029
|
-
"name": "default"
|
|
2030
|
-
}
|
|
2031
|
-
],
|
|
2032
|
-
"members": [
|
|
2033
|
-
{
|
|
2034
|
-
"kind": "method",
|
|
2035
|
-
"name": "_initializeDefaults"
|
|
2036
|
-
},
|
|
2037
|
-
{
|
|
2038
|
-
"kind": "method",
|
|
2039
|
-
"name": "register",
|
|
2040
|
-
"static": true,
|
|
2041
|
-
"parameters": [
|
|
2042
|
-
{
|
|
2043
|
-
"name": "name",
|
|
2044
|
-
"default": "\"auro-checkbox\"",
|
|
2045
|
-
"description": "The name of element that you want to register to.",
|
|
2046
|
-
"optional": true,
|
|
2047
|
-
"type": {
|
|
2048
|
-
"text": "string"
|
|
2049
|
-
}
|
|
2050
|
-
}
|
|
2051
|
-
],
|
|
2052
|
-
"description": "This will register this element with the browser."
|
|
1970
|
+
"description": "Defines the screen size breakpointat which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.\n\nWhen expanded, the dropdown will automatically display in fullscreen mode\nif the screen size is equal to or smaller than the selected breakpoint.",
|
|
1971
|
+
"default": "'sm'",
|
|
1972
|
+
"attribute": "fullscreenBreakpoint",
|
|
1973
|
+
"reflects": true
|
|
2053
1974
|
},
|
|
2054
1975
|
{
|
|
2055
|
-
"kind": "
|
|
2056
|
-
"name": "
|
|
2057
|
-
"parameters": [
|
|
2058
|
-
{
|
|
2059
|
-
"name": "event",
|
|
2060
|
-
"description": "The change event from the checkbox input.",
|
|
2061
|
-
"type": {
|
|
2062
|
-
"text": "Event"
|
|
2063
|
-
}
|
|
2064
|
-
}
|
|
2065
|
-
],
|
|
2066
|
-
"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.",
|
|
1976
|
+
"kind": "field",
|
|
1977
|
+
"name": "optionActive",
|
|
2067
1978
|
"privacy": "private",
|
|
2068
|
-
"
|
|
2069
|
-
"
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
}
|
|
1979
|
+
"type": {
|
|
1980
|
+
"text": "object"
|
|
1981
|
+
},
|
|
1982
|
+
"description": "Specifies the currently active option."
|
|
2073
1983
|
},
|
|
2074
1984
|
{
|
|
2075
|
-
"kind": "
|
|
2076
|
-
"name": "
|
|
2077
|
-
"parameters": [
|
|
2078
|
-
{
|
|
2079
|
-
"name": "event",
|
|
2080
|
-
"description": "The input event from the checkbox input.",
|
|
2081
|
-
"type": {
|
|
2082
|
-
"text": "Event"
|
|
2083
|
-
}
|
|
2084
|
-
}
|
|
2085
|
-
],
|
|
2086
|
-
"description": "Handles the input event for the checkbox input.\nUpdates the checked state and dispatches a custom 'auroCheckbox-input' event.",
|
|
1985
|
+
"kind": "field",
|
|
1986
|
+
"name": "triggerExpandedState",
|
|
2087
1987
|
"privacy": "private",
|
|
2088
|
-
"
|
|
2089
|
-
"
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
}
|
|
1988
|
+
"type": {
|
|
1989
|
+
"text": "boolean"
|
|
1990
|
+
},
|
|
1991
|
+
"description": "Deferred aria-expanded state for the trigger input.\nDelays the \"true\" transition so VoiceOver finishes its character echo\nbefore announcing \"expanded\"."
|
|
2093
1992
|
},
|
|
2094
1993
|
{
|
|
2095
|
-
"kind": "
|
|
2096
|
-
"name": "
|
|
2097
|
-
"description": "
|
|
1994
|
+
"kind": "field",
|
|
1995
|
+
"name": "componentHasFocus",
|
|
1996
|
+
"description": "Returns true if the element has focus.",
|
|
2098
1997
|
"privacy": "private",
|
|
2099
1998
|
"return": {
|
|
2100
1999
|
"type": {
|
|
2101
|
-
"text": "
|
|
2000
|
+
"text": "boolean"
|
|
2102
2001
|
}
|
|
2002
|
+
},
|
|
2003
|
+
"readonly": true,
|
|
2004
|
+
"inheritedFrom": {
|
|
2005
|
+
"name": "AuroElement",
|
|
2006
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2103
2007
|
}
|
|
2104
2008
|
},
|
|
2105
2009
|
{
|
|
2106
2010
|
"kind": "method",
|
|
2107
|
-
"name": "
|
|
2108
|
-
"
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
"type": {
|
|
2112
|
-
"text": "HTMLElement"
|
|
2113
|
-
}
|
|
2011
|
+
"name": "resetShapeClasses",
|
|
2012
|
+
"inheritedFrom": {
|
|
2013
|
+
"name": "AuroElement",
|
|
2014
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2114
2015
|
}
|
|
2115
2016
|
},
|
|
2116
2017
|
{
|
|
2117
2018
|
"kind": "method",
|
|
2118
|
-
"name": "
|
|
2119
|
-
"
|
|
2120
|
-
|
|
2121
|
-
"
|
|
2122
|
-
"text": "void"
|
|
2123
|
-
}
|
|
2019
|
+
"name": "resetLayoutClasses",
|
|
2020
|
+
"inheritedFrom": {
|
|
2021
|
+
"name": "AuroElement",
|
|
2022
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2124
2023
|
}
|
|
2125
2024
|
},
|
|
2126
2025
|
{
|
|
2127
2026
|
"kind": "method",
|
|
2128
|
-
"name": "
|
|
2129
|
-
"
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
"type": {
|
|
2133
|
-
"text": "void"
|
|
2134
|
-
}
|
|
2027
|
+
"name": "updateComponentArchitecture",
|
|
2028
|
+
"inheritedFrom": {
|
|
2029
|
+
"name": "AuroElement",
|
|
2030
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2135
2031
|
}
|
|
2136
2032
|
},
|
|
2137
2033
|
{
|
|
2138
|
-
"kind": "
|
|
2139
|
-
"name": "
|
|
2140
|
-
"
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
"description": "Handles keydown event to toggle the checkbox with Space key.",
|
|
2150
|
-
"privacy": "private",
|
|
2151
|
-
"return": {
|
|
2152
|
-
"type": {
|
|
2153
|
-
"text": "void"
|
|
2154
|
-
}
|
|
2034
|
+
"kind": "field",
|
|
2035
|
+
"name": "shape",
|
|
2036
|
+
"privacy": "public",
|
|
2037
|
+
"type": {
|
|
2038
|
+
"text": "string"
|
|
2039
|
+
},
|
|
2040
|
+
"attribute": "shape",
|
|
2041
|
+
"reflects": true,
|
|
2042
|
+
"inheritedFrom": {
|
|
2043
|
+
"name": "AuroElement",
|
|
2044
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2155
2045
|
}
|
|
2156
2046
|
},
|
|
2157
2047
|
{
|
|
2158
2048
|
"kind": "field",
|
|
2159
|
-
"name": "
|
|
2049
|
+
"name": "size",
|
|
2160
2050
|
"privacy": "public",
|
|
2161
2051
|
"type": {
|
|
2162
|
-
"text": "
|
|
2052
|
+
"text": "string"
|
|
2053
|
+
},
|
|
2054
|
+
"attribute": "size",
|
|
2055
|
+
"reflects": true,
|
|
2056
|
+
"inheritedFrom": {
|
|
2057
|
+
"name": "AuroElement",
|
|
2058
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
],
|
|
2062
|
+
"events": [
|
|
2063
|
+
{
|
|
2064
|
+
"name": "inputValue",
|
|
2065
|
+
"type": {
|
|
2066
|
+
"text": "CustomEvent"
|
|
2067
|
+
},
|
|
2068
|
+
"description": "Notifies that the components internal HTML5 input value has changed."
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
"name": "input",
|
|
2072
|
+
"type": {
|
|
2073
|
+
"text": "CustomEvent"
|
|
2074
|
+
},
|
|
2075
|
+
"description": "Notifies that the component has a new value set."
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
"name": "auroCombobox-valueSet",
|
|
2079
|
+
"type": {
|
|
2080
|
+
"text": "CustomEvent"
|
|
2081
|
+
},
|
|
2082
|
+
"description": "(Deprecated) Notifies that the component has a new value set."
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"description": "Notifies that the component value(s) have been validated.",
|
|
2086
|
+
"name": "auroFormElement-validated"
|
|
2087
|
+
}
|
|
2088
|
+
],
|
|
2089
|
+
"attributes": [
|
|
2090
|
+
{
|
|
2091
|
+
"name": "appearance",
|
|
2092
|
+
"type": {
|
|
2093
|
+
"text": "string"
|
|
2163
2094
|
},
|
|
2164
2095
|
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
2165
2096
|
"default": "'default'",
|
|
2166
|
-
"
|
|
2167
|
-
"reflects": true
|
|
2097
|
+
"fieldName": "appearance"
|
|
2168
2098
|
},
|
|
2169
2099
|
{
|
|
2170
|
-
"
|
|
2171
|
-
"
|
|
2172
|
-
|
|
2100
|
+
"name": "autocomplete",
|
|
2101
|
+
"type": {
|
|
2102
|
+
"text": "string"
|
|
2103
|
+
},
|
|
2104
|
+
"description": "An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete=\"off\"` is supported.",
|
|
2105
|
+
"fieldName": "autocomplete"
|
|
2106
|
+
},
|
|
2107
|
+
{
|
|
2108
|
+
"name": "autoPlacement",
|
|
2173
2109
|
"type": {
|
|
2174
2110
|
"text": "boolean"
|
|
2175
2111
|
},
|
|
2176
|
-
"description": "If
|
|
2177
|
-
"
|
|
2178
|
-
|
|
2112
|
+
"description": "If declared, bib's position will be automatically calculated where to appear.",
|
|
2113
|
+
"fieldName": "autoPlacement"
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
"name": "availableOptions",
|
|
2117
|
+
"type": {
|
|
2118
|
+
"text": "array"
|
|
2119
|
+
},
|
|
2120
|
+
"description": "Array of available options to display in the dropdown.\nThis array contains all non-hidden options (e.g., hidden by filtering on input value).",
|
|
2121
|
+
"fieldName": "availableOptions"
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
"name": "behavior",
|
|
2125
|
+
"type": {
|
|
2126
|
+
"text": "'filter' | 'suggestion'"
|
|
2127
|
+
},
|
|
2128
|
+
"description": "Sets the behavior of the combobox, \"filter\" or \"suggestion\".\n\"filter\" requires the user to select an option from the menu.\n\"suggestion\" allows the user to enter a value not present in the menu options.",
|
|
2129
|
+
"default": "'suggestion'",
|
|
2130
|
+
"fieldName": "behavior"
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
"name": "checkmark",
|
|
2134
|
+
"type": {
|
|
2135
|
+
"text": "boolean"
|
|
2136
|
+
},
|
|
2137
|
+
"description": "When attribute is present auro-menu will apply check marks to selected options.",
|
|
2138
|
+
"fieldName": "checkmark"
|
|
2179
2139
|
},
|
|
2180
2140
|
{
|
|
2181
|
-
"kind": "field",
|
|
2182
2141
|
"name": "disabled",
|
|
2183
|
-
"privacy": "public",
|
|
2184
2142
|
"type": {
|
|
2185
2143
|
"text": "boolean"
|
|
2186
2144
|
},
|
|
2187
|
-
"description": "If set
|
|
2188
|
-
"
|
|
2189
|
-
"reflects": true
|
|
2145
|
+
"description": "If set, disables the combobox.",
|
|
2146
|
+
"fieldName": "disabled"
|
|
2190
2147
|
},
|
|
2191
2148
|
{
|
|
2192
|
-
"
|
|
2193
|
-
"name": "error",
|
|
2194
|
-
"privacy": "public",
|
|
2149
|
+
"name": "dvInputOnly",
|
|
2195
2150
|
"type": {
|
|
2196
2151
|
"text": "boolean"
|
|
2197
2152
|
},
|
|
2198
|
-
"description": "If
|
|
2199
|
-
"
|
|
2200
|
-
"reflects": true
|
|
2153
|
+
"description": "If defined, the display value slot content will only mask the HTML5 input element. The inputs label will not be masked.",
|
|
2154
|
+
"fieldName": "dvInputOnly"
|
|
2201
2155
|
},
|
|
2202
2156
|
{
|
|
2203
|
-
"
|
|
2204
|
-
"name": "id",
|
|
2205
|
-
"privacy": "public",
|
|
2157
|
+
"name": "error",
|
|
2206
2158
|
"type": {
|
|
2207
2159
|
"text": "string"
|
|
2208
2160
|
},
|
|
2209
|
-
"description": "
|
|
2210
|
-
"
|
|
2161
|
+
"description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
|
|
2162
|
+
"fieldName": "error"
|
|
2211
2163
|
},
|
|
2212
2164
|
{
|
|
2213
|
-
"
|
|
2214
|
-
"name": "inputId",
|
|
2215
|
-
"privacy": "private",
|
|
2165
|
+
"name": "format",
|
|
2216
2166
|
"type": {
|
|
2217
2167
|
"text": "string"
|
|
2218
2168
|
},
|
|
2219
|
-
"description": "
|
|
2169
|
+
"description": "Specifies the input mask format.",
|
|
2170
|
+
"fieldName": "format"
|
|
2220
2171
|
},
|
|
2221
2172
|
{
|
|
2222
|
-
"
|
|
2223
|
-
"name": "name",
|
|
2224
|
-
"privacy": "public",
|
|
2173
|
+
"name": "inputmode",
|
|
2225
2174
|
"type": {
|
|
2226
2175
|
"text": "string"
|
|
2227
2176
|
},
|
|
2228
|
-
"description": "
|
|
2229
|
-
"
|
|
2177
|
+
"description": "Exposes inputmode attribute for input.",
|
|
2178
|
+
"fieldName": "inputmode"
|
|
2230
2179
|
},
|
|
2231
2180
|
{
|
|
2232
|
-
"
|
|
2233
|
-
"
|
|
2234
|
-
|
|
2181
|
+
"name": "layout",
|
|
2182
|
+
"type": {
|
|
2183
|
+
"text": "string"
|
|
2184
|
+
},
|
|
2185
|
+
"description": "Sets the layout of the combobox.",
|
|
2186
|
+
"default": "'classic'",
|
|
2187
|
+
"fieldName": "layout",
|
|
2188
|
+
"inheritedFrom": {
|
|
2189
|
+
"name": "AuroElement",
|
|
2190
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2191
|
+
}
|
|
2192
|
+
},
|
|
2193
|
+
{
|
|
2194
|
+
"name": "matchWidth",
|
|
2235
2195
|
"type": {
|
|
2236
2196
|
"text": "boolean"
|
|
2237
2197
|
},
|
|
2238
|
-
"description": "
|
|
2239
|
-
"
|
|
2240
|
-
"reflects": true
|
|
2198
|
+
"description": "If declared, the popover and trigger will be set to the same width.",
|
|
2199
|
+
"fieldName": "matchWidth"
|
|
2241
2200
|
},
|
|
2242
2201
|
{
|
|
2243
|
-
"
|
|
2244
|
-
"name": "touched",
|
|
2245
|
-
"privacy": "private",
|
|
2202
|
+
"name": "noFilter",
|
|
2246
2203
|
"type": {
|
|
2247
2204
|
"text": "boolean"
|
|
2248
2205
|
},
|
|
2249
|
-
"description": "
|
|
2206
|
+
"description": "If set, combobox will not filter menuoptions based on input.",
|
|
2207
|
+
"fieldName": "noFilter"
|
|
2208
|
+
},
|
|
2209
|
+
{
|
|
2210
|
+
"name": "noFlip",
|
|
2211
|
+
"type": {
|
|
2212
|
+
"text": "boolean"
|
|
2213
|
+
},
|
|
2214
|
+
"description": "If declared, the bib will NOT flip to an alternate position\nwhen there isn't enough space in the specified `placement`.",
|
|
2215
|
+
"fieldName": "noFlip"
|
|
2216
|
+
},
|
|
2217
|
+
{
|
|
2218
|
+
"name": "shift",
|
|
2219
|
+
"type": {
|
|
2220
|
+
"text": "boolean"
|
|
2221
|
+
},
|
|
2222
|
+
"description": "If declared, the dropdown will shift its position to avoid being cut off by the viewport.",
|
|
2223
|
+
"fieldName": "shift"
|
|
2250
2224
|
},
|
|
2251
2225
|
{
|
|
2252
|
-
"
|
|
2253
|
-
"name": "value",
|
|
2254
|
-
"privacy": "public",
|
|
2226
|
+
"name": "noValidate",
|
|
2255
2227
|
"type": {
|
|
2256
|
-
"text": "
|
|
2228
|
+
"text": "boolean"
|
|
2257
2229
|
},
|
|
2258
|
-
"description": "
|
|
2259
|
-
"
|
|
2230
|
+
"description": "If set, disables auto-validation on blur.",
|
|
2231
|
+
"fieldName": "noValidate"
|
|
2260
2232
|
},
|
|
2261
2233
|
{
|
|
2262
|
-
"
|
|
2263
|
-
"name": "tabIndex",
|
|
2264
|
-
"privacy": "private",
|
|
2234
|
+
"name": "offset",
|
|
2265
2235
|
"type": {
|
|
2266
2236
|
"text": "number"
|
|
2267
2237
|
},
|
|
2268
|
-
"description": "
|
|
2269
|
-
"
|
|
2270
|
-
"
|
|
2238
|
+
"description": "Gap between the trigger element and bib.",
|
|
2239
|
+
"default": "0",
|
|
2240
|
+
"fieldName": "offset"
|
|
2271
2241
|
},
|
|
2272
2242
|
{
|
|
2273
|
-
"
|
|
2274
|
-
"name": "ariaChecked",
|
|
2275
|
-
"privacy": "private",
|
|
2243
|
+
"name": "onDark",
|
|
2276
2244
|
"type": {
|
|
2277
|
-
"text": "
|
|
2245
|
+
"text": "boolean"
|
|
2278
2246
|
},
|
|
2279
|
-
"description": "
|
|
2280
|
-
"
|
|
2281
|
-
"reflects": true
|
|
2247
|
+
"description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
|
|
2248
|
+
"fieldName": "onDark"
|
|
2282
2249
|
},
|
|
2283
2250
|
{
|
|
2284
|
-
"
|
|
2285
|
-
"name": "ariaDisabled",
|
|
2286
|
-
"privacy": "private",
|
|
2251
|
+
"name": "optionSelected",
|
|
2287
2252
|
"type": {
|
|
2288
|
-
"text": "
|
|
2253
|
+
"text": "HTMLElement"
|
|
2289
2254
|
},
|
|
2290
|
-
"description": "
|
|
2291
|
-
"
|
|
2292
|
-
"reflects": true
|
|
2255
|
+
"description": "Specifies the current selected option.",
|
|
2256
|
+
"fieldName": "optionSelected"
|
|
2293
2257
|
},
|
|
2294
2258
|
{
|
|
2295
|
-
"
|
|
2296
|
-
"name": "role",
|
|
2297
|
-
"privacy": "private",
|
|
2259
|
+
"name": "persistInput",
|
|
2298
2260
|
"type": {
|
|
2299
|
-
"text": "
|
|
2261
|
+
"text": "boolean"
|
|
2300
2262
|
},
|
|
2301
|
-
"description": "
|
|
2302
|
-
"
|
|
2303
|
-
"reflects": true
|
|
2304
|
-
}
|
|
2305
|
-
],
|
|
2306
|
-
"events": [
|
|
2307
|
-
{
|
|
2308
|
-
"name": "auroCheckbox-input",
|
|
2309
|
-
"type": {
|
|
2310
|
-
"text": "CustomEvent"
|
|
2311
|
-
}
|
|
2263
|
+
"description": "If declared, selecting a menu option will not change the input value. By doing so,\nthe current menu filter will be preserved and the user can continue from their last\nfilter state. It is recommended to use this in combination with the `displayValue` slot.",
|
|
2264
|
+
"fieldName": "persistInput"
|
|
2312
2265
|
},
|
|
2313
2266
|
{
|
|
2314
|
-
"name": "
|
|
2267
|
+
"name": "placement",
|
|
2315
2268
|
"type": {
|
|
2316
|
-
"text": "
|
|
2317
|
-
}
|
|
2269
|
+
"text": "'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'"
|
|
2270
|
+
},
|
|
2271
|
+
"description": "Position where the bib should appear relative to the trigger.",
|
|
2272
|
+
"default": "'bottom-start'",
|
|
2273
|
+
"fieldName": "placement"
|
|
2318
2274
|
},
|
|
2319
2275
|
{
|
|
2320
|
-
"name": "
|
|
2276
|
+
"name": "placeholder",
|
|
2321
2277
|
"type": {
|
|
2322
|
-
"text": "
|
|
2323
|
-
}
|
|
2278
|
+
"text": "string"
|
|
2279
|
+
},
|
|
2280
|
+
"description": "Define custom placeholder text, only supported by date input formats.",
|
|
2281
|
+
"fieldName": "placeholder"
|
|
2324
2282
|
},
|
|
2325
2283
|
{
|
|
2284
|
+
"name": "required",
|
|
2326
2285
|
"type": {
|
|
2327
|
-
"text": "
|
|
2286
|
+
"text": "boolean"
|
|
2328
2287
|
},
|
|
2329
|
-
"description": "
|
|
2330
|
-
"
|
|
2288
|
+
"description": "Populates the `required` attribute on the input. Used for client-side validation.",
|
|
2289
|
+
"fieldName": "required"
|
|
2331
2290
|
},
|
|
2332
2291
|
{
|
|
2292
|
+
"name": "setCustomValidity",
|
|
2333
2293
|
"type": {
|
|
2334
|
-
"text": "
|
|
2294
|
+
"text": "string"
|
|
2335
2295
|
},
|
|
2336
|
-
"description": "
|
|
2337
|
-
"
|
|
2338
|
-
}
|
|
2339
|
-
],
|
|
2340
|
-
"attributes": [
|
|
2296
|
+
"description": "Sets a custom help text message to display for all validityStates.",
|
|
2297
|
+
"fieldName": "setCustomValidity"
|
|
2298
|
+
},
|
|
2341
2299
|
{
|
|
2342
|
-
"name": "
|
|
2300
|
+
"name": "setCustomValidityCustomError",
|
|
2343
2301
|
"type": {
|
|
2344
|
-
"text": "
|
|
2302
|
+
"text": "string"
|
|
2345
2303
|
},
|
|
2346
|
-
"description": "
|
|
2347
|
-
"
|
|
2348
|
-
"fieldName": "appearance"
|
|
2304
|
+
"description": "Custom help text message to display when validity = `customError`.",
|
|
2305
|
+
"fieldName": "setCustomValidityCustomError"
|
|
2349
2306
|
},
|
|
2350
2307
|
{
|
|
2351
|
-
"name": "
|
|
2308
|
+
"name": "setCustomValidityValueMissing",
|
|
2352
2309
|
"type": {
|
|
2353
|
-
"text": "
|
|
2310
|
+
"text": "string"
|
|
2354
2311
|
},
|
|
2355
|
-
"description": "
|
|
2356
|
-
"fieldName": "
|
|
2312
|
+
"description": "Custom help text message to display when validity = `valueMissing`.",
|
|
2313
|
+
"fieldName": "setCustomValidityValueMissing"
|
|
2357
2314
|
},
|
|
2358
2315
|
{
|
|
2359
|
-
"name": "
|
|
2316
|
+
"name": "setCustomValidityValueMissingFilter",
|
|
2360
2317
|
"type": {
|
|
2361
|
-
"text": "
|
|
2318
|
+
"text": "string"
|
|
2362
2319
|
},
|
|
2363
|
-
"description": "
|
|
2364
|
-
"fieldName": "
|
|
2320
|
+
"description": "Custom help text message to display when validity = `valueMissing` due to the user not choosing a menu option when behavior = \"filter\".",
|
|
2321
|
+
"fieldName": "setCustomValidityValueMissingFilter"
|
|
2365
2322
|
},
|
|
2366
2323
|
{
|
|
2367
|
-
"name": "
|
|
2324
|
+
"name": "triggerIcon",
|
|
2368
2325
|
"type": {
|
|
2369
2326
|
"text": "boolean"
|
|
2370
2327
|
},
|
|
2371
|
-
"description": "If set
|
|
2372
|
-
"fieldName": "
|
|
2328
|
+
"description": "If set, the `icon` attribute will be applied to the trigger `auro-input` element.",
|
|
2329
|
+
"fieldName": "triggerIcon"
|
|
2373
2330
|
},
|
|
2374
2331
|
{
|
|
2375
|
-
"name": "
|
|
2332
|
+
"name": "type",
|
|
2376
2333
|
"type": {
|
|
2377
2334
|
"text": "string"
|
|
2378
2335
|
},
|
|
2379
|
-
"description": "
|
|
2380
|
-
"fieldName": "
|
|
2336
|
+
"description": "Applies the defined value as the type attribute on `auro-input`.",
|
|
2337
|
+
"fieldName": "type"
|
|
2381
2338
|
},
|
|
2382
2339
|
{
|
|
2383
|
-
"name": "
|
|
2340
|
+
"name": "typedValue",
|
|
2384
2341
|
"type": {
|
|
2385
2342
|
"text": "string"
|
|
2386
2343
|
},
|
|
2387
|
-
"description": "
|
|
2388
|
-
"fieldName": "
|
|
2344
|
+
"description": "Specifies the value of the input element within the combobox.",
|
|
2345
|
+
"fieldName": "typedValue"
|
|
2389
2346
|
},
|
|
2390
2347
|
{
|
|
2391
|
-
"name": "
|
|
2348
|
+
"name": "validity",
|
|
2392
2349
|
"type": {
|
|
2393
|
-
"text": "
|
|
2350
|
+
"text": "string"
|
|
2394
2351
|
},
|
|
2395
|
-
"description": "
|
|
2396
|
-
"fieldName": "
|
|
2352
|
+
"description": "Specifies the `validityState` this element is in.",
|
|
2353
|
+
"fieldName": "validity"
|
|
2397
2354
|
},
|
|
2398
2355
|
{
|
|
2399
2356
|
"name": "value",
|
|
2400
2357
|
"type": {
|
|
2401
2358
|
"text": "string"
|
|
2402
2359
|
},
|
|
2403
|
-
"description": "
|
|
2360
|
+
"description": "Value selected for the dropdown menu.",
|
|
2404
2361
|
"fieldName": "value"
|
|
2405
2362
|
},
|
|
2406
2363
|
{
|
|
2407
|
-
"name": "
|
|
2364
|
+
"name": "largeFullscreenHeadline",
|
|
2408
2365
|
"type": {
|
|
2409
|
-
"text": "
|
|
2366
|
+
"text": "boolean"
|
|
2410
2367
|
},
|
|
2411
|
-
"description": "
|
|
2412
|
-
"fieldName": "
|
|
2368
|
+
"description": "If declared, make bib.fullscreen.headline in HeadingDisplay.\nOtherwise, Heading 600",
|
|
2369
|
+
"fieldName": "largeFullscreenHeadline"
|
|
2413
2370
|
},
|
|
2414
2371
|
{
|
|
2415
|
-
"name": "
|
|
2372
|
+
"name": "fullscreenBreakpoint",
|
|
2416
2373
|
"type": {
|
|
2417
|
-
"text": "
|
|
2374
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'"
|
|
2418
2375
|
},
|
|
2419
|
-
"description": "
|
|
2420
|
-
"
|
|
2376
|
+
"description": "Defines the screen size breakpointat which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.\n\nWhen expanded, the dropdown will automatically display in fullscreen mode\nif the screen size is equal to or smaller than the selected breakpoint.",
|
|
2377
|
+
"default": "'sm'",
|
|
2378
|
+
"fieldName": "fullscreenBreakpoint"
|
|
2421
2379
|
},
|
|
2422
2380
|
{
|
|
2423
|
-
"name": "
|
|
2381
|
+
"name": "shape",
|
|
2424
2382
|
"type": {
|
|
2425
2383
|
"text": "string"
|
|
2426
2384
|
},
|
|
2427
|
-
"
|
|
2428
|
-
"
|
|
2385
|
+
"fieldName": "shape",
|
|
2386
|
+
"inheritedFrom": {
|
|
2387
|
+
"name": "AuroElement",
|
|
2388
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2389
|
+
}
|
|
2429
2390
|
},
|
|
2430
2391
|
{
|
|
2431
|
-
"name": "
|
|
2392
|
+
"name": "size",
|
|
2432
2393
|
"type": {
|
|
2433
2394
|
"text": "string"
|
|
2434
2395
|
},
|
|
2435
|
-
"
|
|
2436
|
-
"
|
|
2396
|
+
"fieldName": "size",
|
|
2397
|
+
"inheritedFrom": {
|
|
2398
|
+
"name": "AuroElement",
|
|
2399
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2400
|
+
}
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
"name": "ondark",
|
|
2404
|
+
"type": {
|
|
2405
|
+
"text": "boolean"
|
|
2406
|
+
},
|
|
2407
|
+
"fieldName": "onDark",
|
|
2408
|
+
"inheritedFrom": {
|
|
2409
|
+
"name": "AuroElement",
|
|
2410
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2411
|
+
}
|
|
2437
2412
|
}
|
|
2438
2413
|
],
|
|
2439
2414
|
"superclass": {
|
|
2440
|
-
"name": "
|
|
2441
|
-
"
|
|
2415
|
+
"name": "AuroElement",
|
|
2416
|
+
"module": "/components/layoutElement/src/auroElement.js"
|
|
2442
2417
|
},
|
|
2443
|
-
"tagName": "auro-
|
|
2418
|
+
"tagName": "auro-combobox",
|
|
2444
2419
|
"customElement": true
|
|
2445
2420
|
}
|
|
2446
2421
|
],
|
|
2447
2422
|
"exports": [
|
|
2448
2423
|
{
|
|
2449
2424
|
"kind": "js",
|
|
2450
|
-
"name": "
|
|
2425
|
+
"name": "AuroCombobox",
|
|
2451
2426
|
"declaration": {
|
|
2452
|
-
"name": "
|
|
2453
|
-
"module": "components/
|
|
2427
|
+
"name": "AuroCombobox",
|
|
2428
|
+
"module": "components/combobox/src/auro-combobox.js"
|
|
2454
2429
|
}
|
|
2455
2430
|
}
|
|
2456
2431
|
]
|
|
2457
2432
|
},
|
|
2458
2433
|
{
|
|
2459
2434
|
"kind": "javascript-module",
|
|
2460
|
-
"path": "components/
|
|
2461
|
-
"declarations": [
|
|
2435
|
+
"path": "components/combobox/src/comboboxKeyboardStrategy.js",
|
|
2436
|
+
"declarations": [
|
|
2437
|
+
{
|
|
2438
|
+
"kind": "variable",
|
|
2439
|
+
"name": "comboboxKeyboardStrategy",
|
|
2440
|
+
"type": {
|
|
2441
|
+
"text": "object"
|
|
2442
|
+
},
|
|
2443
|
+
"default": "{ ArrowDown(component, evt, ctx) { // If the clear button has focus, let the browser handle ArrowDown normally. if (isClearBtnFocused(ctx)) { return; } // option display and navigation are prevented if there are no available options if (component.availableOptions.length > 0) { evt.preventDefault(); // navigate if bib is open otherwise open it if (component.dropdown.isPopoverVisible) { if (evt.altKey || evt.metaKey) { component.activateLastEnabledAvailableOption(); } else { navigateArrow(component, 'down'); } } else { component.showBib(); } } }, ArrowUp(component, evt, ctx) { // If the clear button has focus, let the browser handle ArrowUp normally. if (isClearBtnFocused(ctx)) { return; } // option display and navigation are prevented if there are no available options if (component.availableOptions.length > 0) { evt.preventDefault(); // navigate if bib is open otherwise open it if (component.dropdown.isPopoverVisible) { if (evt.altKey || evt.metaKey) { component.activateFirstEnabledAvailableOption(); } else { navigateArrow(component, 'up'); } } else { component.showBib(); } } }, End(component, evt, ctx) { if (ctx.isExpanded) { evt.preventDefault(); evt.stopPropagation(); component.activateLastEnabledAvailableOption(); } }, Enter(component, evt, ctx) { if (isClearBtnFocused(ctx)) { // If the clear button has focus, let the browser activate it normally. // stopPropagation prevents parent containers (e.g., forms) from treating // Enter as a submit, but we must NOT call preventDefault — that would // block the browser's built-in \"Enter activates focused button\" behavior. evt.stopPropagation(); } else if (ctx.isExpanded && component.menu.optionActive) { component.menu.makeSelection(); if (ctx.isModal) { component.setTriggerInputFocus(); } evt.preventDefault(); evt.stopPropagation(); } else { // Prevent the keypress from bubbling to parent containers (e.g., forms) // which could interpret Enter as a submit or trigger other unintended behavior. // This is safe because showBib() opens the dialog programmatically, // not via event propagation. evt.preventDefault(); evt.stopPropagation(); component.showBib(); } }, Escape(component, evt, ctx) { if (!ctx.isExpanded) { return; } // Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups evt.stopPropagation(); if (ctx.isModal) { component.setTriggerInputFocus(); } component.hideBib(); }, Home(component, evt, ctx) { if (ctx.isExpanded) { evt.preventDefault(); evt.stopPropagation(); component.activateFirstEnabledAvailableOption(); } }, Tab(component, evt, ctx) { if (ctx.isExpanded && !isClearBtnFocused(ctx)) { // When the clear button is focused, Tab events do not bubble out of // its shadow DOM, so this handler only fires when the clear button // is NOT focused. In that case, select the active option and close. component.menu.makeSelection(); component.hideBib(); // In fullscreen modal mode, closing the dialog does not // automatically restores focus to the input. In the tab case, // Explicitly move focus to the trigger's clear button so the // user can continues tabbing through the page normally. if (ctx.isModal && !evt.shiftKey) { component.setClearBtnFocus(); } } }, }"
|
|
2444
|
+
}
|
|
2445
|
+
],
|
|
2462
2446
|
"exports": [
|
|
2463
2447
|
{
|
|
2464
2448
|
"kind": "js",
|
|
2465
|
-
"name": "
|
|
2449
|
+
"name": "comboboxKeyboardStrategy",
|
|
2466
2450
|
"declaration": {
|
|
2467
|
-
"name": "
|
|
2468
|
-
"module": "components/
|
|
2451
|
+
"name": "comboboxKeyboardStrategy",
|
|
2452
|
+
"module": "components/combobox/src/comboboxKeyboardStrategy.js"
|
|
2469
2453
|
}
|
|
2470
|
-
}
|
|
2454
|
+
}
|
|
2455
|
+
]
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
"kind": "javascript-module",
|
|
2459
|
+
"path": "components/combobox/src/index.js",
|
|
2460
|
+
"declarations": [],
|
|
2461
|
+
"exports": [
|
|
2471
2462
|
{
|
|
2472
2463
|
"kind": "js",
|
|
2473
|
-
"name": "
|
|
2464
|
+
"name": "AuroCombobox",
|
|
2474
2465
|
"declaration": {
|
|
2475
|
-
"name": "
|
|
2476
|
-
"module": "components/
|
|
2466
|
+
"name": "AuroCombobox",
|
|
2467
|
+
"module": "components/combobox/src/index.js"
|
|
2477
2468
|
}
|
|
2478
2469
|
}
|
|
2479
2470
|
]
|
|
2480
2471
|
},
|
|
2481
2472
|
{
|
|
2482
2473
|
"kind": "javascript-module",
|
|
2483
|
-
"path": "components/
|
|
2474
|
+
"path": "components/combobox/src/registered.js",
|
|
2484
2475
|
"declarations": [],
|
|
2485
|
-
"exports": [
|
|
2476
|
+
"exports": [
|
|
2477
|
+
{
|
|
2478
|
+
"kind": "js",
|
|
2479
|
+
"name": "AuroCombobox",
|
|
2480
|
+
"declaration": {
|
|
2481
|
+
"name": "AuroCombobox",
|
|
2482
|
+
"module": "components/combobox/src/registered.js"
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
]
|
|
2486
2486
|
},
|
|
2487
2487
|
{
|
|
2488
2488
|
"kind": "javascript-module",
|