@aurodesignsystem-dev/auro-formkit 0.0.0-pr1445.1 → 0.0.0-pr1445.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 +3 -3
- package/components/datepicker/demo/index.min.js +3 -3
- package/components/datepicker/dist/index.js +3 -3
- package/components/datepicker/dist/registered.js +3 -3
- package/components/dropdown/demo/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 +13 -13
- package/components/form/demo/index.min.js +13 -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 +1433 -1433
- 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,665 @@
|
|
|
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
|
-
"
|
|
910
|
-
"name": "
|
|
911
|
-
"privacy": "public",
|
|
912
|
-
"type": {
|
|
913
|
-
"text": "boolean"
|
|
914
|
-
},
|
|
915
|
-
"description": "If set, disables auto-validation on blur.",
|
|
916
|
-
"attribute": "noValidate",
|
|
917
|
-
"reflects": true
|
|
936
|
+
"description": "(Deprecated) Notifies when checked value is changed.",
|
|
937
|
+
"name": "change"
|
|
918
938
|
},
|
|
919
939
|
{
|
|
920
|
-
"
|
|
921
|
-
"name": "
|
|
922
|
-
|
|
940
|
+
"description": "Notifies when when checked value is changed by user's interface.",
|
|
941
|
+
"name": "input"
|
|
942
|
+
}
|
|
943
|
+
],
|
|
944
|
+
"attributes": [
|
|
945
|
+
{
|
|
946
|
+
"name": "appearance",
|
|
923
947
|
"type": {
|
|
924
|
-
"text": "
|
|
948
|
+
"text": "'default' | 'inverse'"
|
|
925
949
|
},
|
|
926
|
-
"description": "
|
|
927
|
-
"default": "
|
|
928
|
-
"
|
|
929
|
-
"reflects": true
|
|
950
|
+
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
951
|
+
"default": "'default'",
|
|
952
|
+
"fieldName": "appearance"
|
|
930
953
|
},
|
|
931
954
|
{
|
|
932
|
-
"
|
|
933
|
-
"name": "onDark",
|
|
934
|
-
"privacy": "public",
|
|
955
|
+
"name": "checked",
|
|
935
956
|
"type": {
|
|
936
957
|
"text": "boolean"
|
|
937
958
|
},
|
|
938
|
-
"
|
|
939
|
-
"
|
|
940
|
-
"description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
|
|
941
|
-
"inheritedFrom": {
|
|
942
|
-
"name": "AuroElement",
|
|
943
|
-
"module": "components/layoutElement/src/auroElement.js"
|
|
944
|
-
}
|
|
959
|
+
"description": "If set to true, the checkbox will be filled with a checkmark.",
|
|
960
|
+
"fieldName": "checked"
|
|
945
961
|
},
|
|
946
962
|
{
|
|
947
|
-
"
|
|
948
|
-
"name": "optionSelected",
|
|
949
|
-
"privacy": "public",
|
|
963
|
+
"name": "disabled",
|
|
950
964
|
"type": {
|
|
951
|
-
"text": "
|
|
965
|
+
"text": "boolean"
|
|
952
966
|
},
|
|
953
|
-
"description": "
|
|
954
|
-
"
|
|
967
|
+
"description": "If set to true, the checkbox will not be clickable.",
|
|
968
|
+
"fieldName": "disabled"
|
|
955
969
|
},
|
|
956
970
|
{
|
|
957
|
-
"
|
|
958
|
-
"name": "persistInput",
|
|
959
|
-
"privacy": "public",
|
|
971
|
+
"name": "error",
|
|
960
972
|
"type": {
|
|
961
973
|
"text": "boolean"
|
|
962
974
|
},
|
|
963
|
-
"description": "If
|
|
964
|
-
"
|
|
965
|
-
"reflects": true
|
|
975
|
+
"description": "If set to true, the checkbox will be displayed with an error state.",
|
|
976
|
+
"fieldName": "error"
|
|
966
977
|
},
|
|
967
978
|
{
|
|
968
|
-
"
|
|
969
|
-
"name": "placement",
|
|
970
|
-
"privacy": "public",
|
|
979
|
+
"name": "id",
|
|
971
980
|
"type": {
|
|
972
|
-
"text": "
|
|
981
|
+
"text": "string"
|
|
973
982
|
},
|
|
974
|
-
"description": "
|
|
975
|
-
"
|
|
976
|
-
"attribute": "placement",
|
|
977
|
-
"reflects": true
|
|
983
|
+
"description": "The id global attribute defines an identifier (ID) which must be unique in the whole document.",
|
|
984
|
+
"fieldName": "id"
|
|
978
985
|
},
|
|
979
986
|
{
|
|
980
|
-
"
|
|
981
|
-
"name": "placeholder",
|
|
982
|
-
"privacy": "public",
|
|
987
|
+
"name": "name",
|
|
983
988
|
"type": {
|
|
984
989
|
"text": "string"
|
|
985
990
|
},
|
|
986
|
-
"description": "
|
|
987
|
-
"
|
|
988
|
-
"reflects": true
|
|
991
|
+
"description": "Accepts any string and is used to identify related checkboxes when submitting form data.",
|
|
992
|
+
"fieldName": "name"
|
|
989
993
|
},
|
|
990
994
|
{
|
|
991
|
-
"
|
|
992
|
-
"name": "required",
|
|
993
|
-
"privacy": "public",
|
|
995
|
+
"name": "onDark",
|
|
994
996
|
"type": {
|
|
995
997
|
"text": "boolean"
|
|
996
998
|
},
|
|
997
|
-
"description": "
|
|
998
|
-
"
|
|
999
|
-
"reflects": true
|
|
999
|
+
"description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
|
|
1000
|
+
"fieldName": "onDark"
|
|
1000
1001
|
},
|
|
1001
1002
|
{
|
|
1002
|
-
"
|
|
1003
|
-
"name": "setCustomValidity",
|
|
1004
|
-
"privacy": "public",
|
|
1003
|
+
"name": "value",
|
|
1005
1004
|
"type": {
|
|
1006
1005
|
"text": "string"
|
|
1007
1006
|
},
|
|
1008
|
-
"description": "Sets
|
|
1009
|
-
"
|
|
1007
|
+
"description": "Sets the element's input value. Must be unique within an auro-checkbox-group element.",
|
|
1008
|
+
"fieldName": "value"
|
|
1010
1009
|
},
|
|
1011
1010
|
{
|
|
1012
|
-
"
|
|
1013
|
-
"name": "setCustomValidityCustomError",
|
|
1014
|
-
"privacy": "public",
|
|
1011
|
+
"name": "tabindex",
|
|
1015
1012
|
"type": {
|
|
1016
|
-
"text": "
|
|
1013
|
+
"text": "number"
|
|
1017
1014
|
},
|
|
1018
|
-
"description": "
|
|
1019
|
-
"
|
|
1015
|
+
"description": "The tabindex attribute for the checkbox.",
|
|
1016
|
+
"fieldName": "tabIndex"
|
|
1020
1017
|
},
|
|
1021
1018
|
{
|
|
1022
|
-
"
|
|
1023
|
-
"name": "setCustomValidityValueMissing",
|
|
1024
|
-
"privacy": "public",
|
|
1019
|
+
"name": "aria-checked",
|
|
1025
1020
|
"type": {
|
|
1026
1021
|
"text": "string"
|
|
1027
1022
|
},
|
|
1028
|
-
"description": "
|
|
1029
|
-
"
|
|
1023
|
+
"description": "The aria-checked attribute for the checkbox.",
|
|
1024
|
+
"fieldName": "ariaChecked"
|
|
1030
1025
|
},
|
|
1031
1026
|
{
|
|
1032
|
-
"
|
|
1033
|
-
"name": "setCustomValidityValueMissingFilter",
|
|
1034
|
-
"privacy": "public",
|
|
1027
|
+
"name": "aria-disabled",
|
|
1035
1028
|
"type": {
|
|
1036
1029
|
"text": "string"
|
|
1037
1030
|
},
|
|
1038
|
-
"description": "
|
|
1039
|
-
"
|
|
1031
|
+
"description": "The aria-disabled attribute for the checkbox.",
|
|
1032
|
+
"fieldName": "ariaDisabled"
|
|
1040
1033
|
},
|
|
1041
1034
|
{
|
|
1042
|
-
"
|
|
1043
|
-
"name": "touched",
|
|
1044
|
-
"privacy": "private",
|
|
1035
|
+
"name": "role",
|
|
1045
1036
|
"type": {
|
|
1046
|
-
"text": "
|
|
1037
|
+
"text": "string"
|
|
1047
1038
|
},
|
|
1048
|
-
"description": "
|
|
1039
|
+
"description": "The ARIA role for the element. Must remain 'checkbox' for screen readers\nto correctly identify this as a checkbox control.",
|
|
1040
|
+
"fieldName": "role"
|
|
1041
|
+
}
|
|
1042
|
+
],
|
|
1043
|
+
"superclass": {
|
|
1044
|
+
"name": "LitElement",
|
|
1045
|
+
"package": "lit"
|
|
1046
|
+
},
|
|
1047
|
+
"tagName": "auro-checkbox",
|
|
1048
|
+
"customElement": true
|
|
1049
|
+
}
|
|
1050
|
+
],
|
|
1051
|
+
"exports": [
|
|
1052
|
+
{
|
|
1053
|
+
"kind": "js",
|
|
1054
|
+
"name": "AuroCheckbox",
|
|
1055
|
+
"declaration": {
|
|
1056
|
+
"name": "AuroCheckbox",
|
|
1057
|
+
"module": "components/checkbox/src/auro-checkbox.js"
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
]
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"kind": "javascript-module",
|
|
1064
|
+
"path": "components/checkbox/src/index.js",
|
|
1065
|
+
"declarations": [],
|
|
1066
|
+
"exports": [
|
|
1067
|
+
{
|
|
1068
|
+
"kind": "js",
|
|
1069
|
+
"name": "AuroCheckbox",
|
|
1070
|
+
"declaration": {
|
|
1071
|
+
"name": "AuroCheckbox",
|
|
1072
|
+
"module": "components/checkbox/src/index.js"
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"kind": "js",
|
|
1077
|
+
"name": "AuroCheckboxGroup",
|
|
1078
|
+
"declaration": {
|
|
1079
|
+
"name": "AuroCheckboxGroup",
|
|
1080
|
+
"module": "components/checkbox/src/index.js"
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
]
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"kind": "javascript-module",
|
|
1087
|
+
"path": "components/checkbox/src/registered.js",
|
|
1088
|
+
"declarations": [],
|
|
1089
|
+
"exports": []
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
"kind": "javascript-module",
|
|
1093
|
+
"path": "components/combobox/src/auro-combobox.js",
|
|
1094
|
+
"declarations": [
|
|
1095
|
+
{
|
|
1096
|
+
"kind": "class",
|
|
1097
|
+
"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.",
|
|
1098
|
+
"name": "AuroCombobox",
|
|
1099
|
+
"slots": [
|
|
1100
|
+
{
|
|
1101
|
+
"description": "Default slot for the menu content.",
|
|
1102
|
+
"name": ""
|
|
1049
1103
|
},
|
|
1050
1104
|
{
|
|
1051
|
-
"kind": "field",
|
|
1052
|
-
"name": "triggerIcon",
|
|
1053
|
-
"privacy": "public",
|
|
1054
1105
|
"type": {
|
|
1055
|
-
"text": "
|
|
1106
|
+
"text": "HTMLSlotElement"
|
|
1056
1107
|
},
|
|
1057
|
-
"description": "
|
|
1058
|
-
"
|
|
1059
|
-
"reflects": true
|
|
1108
|
+
"description": "Allows overriding the optional display text \"(optional)\", which appears next to the label.",
|
|
1109
|
+
"name": "optionalLabel"
|
|
1060
1110
|
},
|
|
1061
1111
|
{
|
|
1062
|
-
"
|
|
1063
|
-
"name": "
|
|
1064
|
-
"privacy": "public",
|
|
1065
|
-
"type": {
|
|
1066
|
-
"text": "string"
|
|
1067
|
-
},
|
|
1068
|
-
"description": "Applies the defined value as the type attribute on `auro-input`.",
|
|
1069
|
-
"attribute": "type",
|
|
1070
|
-
"reflects": true
|
|
1112
|
+
"description": "Sets aria-label on clear button",
|
|
1113
|
+
"name": "ariaLabel.input.clear"
|
|
1071
1114
|
},
|
|
1072
1115
|
{
|
|
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
|
|
1116
|
+
"description": "Sets aria-label on close button in fullscreen bib",
|
|
1117
|
+
"name": "ariaLabel.bib.close"
|
|
1082
1118
|
},
|
|
1083
1119
|
{
|
|
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
|
|
1120
|
+
"description": "Defines the headline to display above menu-options",
|
|
1121
|
+
"name": "bib.fullscreen.headline"
|
|
1093
1122
|
},
|
|
1094
1123
|
{
|
|
1095
|
-
"
|
|
1096
|
-
"name": "
|
|
1097
|
-
"privacy": "public",
|
|
1098
|
-
"type": {
|
|
1099
|
-
"text": "string"
|
|
1100
|
-
},
|
|
1101
|
-
"description": "Value selected for the dropdown menu.",
|
|
1102
|
-
"attribute": "value"
|
|
1124
|
+
"description": "Defines the content of the label.",
|
|
1125
|
+
"name": "label"
|
|
1103
1126
|
},
|
|
1104
1127
|
{
|
|
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
|
|
1128
|
+
"description": "Defines the content of the helpText.",
|
|
1129
|
+
"name": "helpText"
|
|
1114
1130
|
},
|
|
1115
1131
|
{
|
|
1116
|
-
"
|
|
1117
|
-
"name": "
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
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
|
|
1126
|
-
},
|
|
1132
|
+
"description": "Allows custom HTML content to display the selected value when the combobox is not focused. Only works with `snowflake` and `emphasized` layouts.",
|
|
1133
|
+
"name": "displayValue"
|
|
1134
|
+
}
|
|
1135
|
+
],
|
|
1136
|
+
"members": [
|
|
1127
1137
|
{
|
|
1128
|
-
"kind": "
|
|
1129
|
-
"name": "
|
|
1138
|
+
"kind": "method",
|
|
1139
|
+
"name": "_initializeDefaults",
|
|
1130
1140
|
"privacy": "private",
|
|
1131
|
-
"
|
|
1132
|
-
"
|
|
1133
|
-
|
|
1134
|
-
|
|
1141
|
+
"return": {
|
|
1142
|
+
"type": {
|
|
1143
|
+
"text": "void"
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1135
1146
|
},
|
|
1136
1147
|
{
|
|
1137
1148
|
"kind": "field",
|
|
1138
|
-
"name": "
|
|
1139
|
-
"
|
|
1140
|
-
"
|
|
1141
|
-
"
|
|
1149
|
+
"name": "inputValue",
|
|
1150
|
+
"description": "Returns the current value of the input element within the combobox.",
|
|
1151
|
+
"return": {
|
|
1152
|
+
"type": {
|
|
1153
|
+
"text": "string|undefined"
|
|
1154
|
+
}
|
|
1142
1155
|
},
|
|
1143
|
-
"
|
|
1156
|
+
"readonly": true
|
|
1144
1157
|
},
|
|
1145
1158
|
{
|
|
1146
|
-
"kind": "
|
|
1147
|
-
"name": "
|
|
1148
|
-
"description": "
|
|
1149
|
-
"privacy": "private",
|
|
1159
|
+
"kind": "method",
|
|
1160
|
+
"name": "isValid",
|
|
1161
|
+
"description": "Checks if the element is valid.",
|
|
1150
1162
|
"return": {
|
|
1151
1163
|
"type": {
|
|
1152
1164
|
"text": "boolean"
|
|
1153
1165
|
}
|
|
1154
|
-
},
|
|
1155
|
-
"readonly": true,
|
|
1156
|
-
"inheritedFrom": {
|
|
1157
|
-
"name": "AuroElement",
|
|
1158
|
-
"module": "components/layoutElement/src/auroElement.js"
|
|
1159
1166
|
}
|
|
1160
1167
|
},
|
|
1161
1168
|
{
|
|
1162
1169
|
"kind": "method",
|
|
1163
|
-
"name": "
|
|
1164
|
-
"
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1170
|
+
"name": "register",
|
|
1171
|
+
"static": true,
|
|
1172
|
+
"parameters": [
|
|
1173
|
+
{
|
|
1174
|
+
"name": "name",
|
|
1175
|
+
"default": "'auro-combobox'",
|
|
1176
|
+
"description": "The name of the element that you want to register.",
|
|
1177
|
+
"optional": true,
|
|
1178
|
+
"type": {
|
|
1179
|
+
"text": "string"
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
],
|
|
1183
|
+
"description": "This will register this element with the browser."
|
|
1168
1184
|
},
|
|
1169
1185
|
{
|
|
1170
1186
|
"kind": "method",
|
|
1171
|
-
"name": "
|
|
1172
|
-
"
|
|
1173
|
-
|
|
1174
|
-
|
|
1187
|
+
"name": "activateFirstEnabledAvailableOption",
|
|
1188
|
+
"description": "Mark the first available (non-hidden), enabled option as `active`.",
|
|
1189
|
+
"privacy": "private",
|
|
1190
|
+
"return": {
|
|
1191
|
+
"type": {
|
|
1192
|
+
"text": "void"
|
|
1193
|
+
}
|
|
1175
1194
|
}
|
|
1176
1195
|
},
|
|
1177
1196
|
{
|
|
1178
1197
|
"kind": "method",
|
|
1179
|
-
"name": "
|
|
1180
|
-
"
|
|
1181
|
-
|
|
1182
|
-
|
|
1198
|
+
"name": "activateLastEnabledAvailableOption",
|
|
1199
|
+
"description": "Mark the last available (non-hidden), enabled option as `active`.",
|
|
1200
|
+
"privacy": "private",
|
|
1201
|
+
"return": {
|
|
1202
|
+
"type": {
|
|
1203
|
+
"text": "void"
|
|
1204
|
+
}
|
|
1183
1205
|
}
|
|
1184
1206
|
},
|
|
1185
1207
|
{
|
|
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
|
-
}
|
|
1208
|
+
"kind": "method",
|
|
1209
|
+
"name": "updateFilter",
|
|
1210
|
+
"description": "Updates the filter for the available options based on the input value.",
|
|
1211
|
+
"privacy": "private"
|
|
1198
1212
|
},
|
|
1199
1213
|
{
|
|
1200
|
-
"kind": "
|
|
1201
|
-
"name": "
|
|
1202
|
-
"
|
|
1203
|
-
"
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
"inheritedFrom": {
|
|
1209
|
-
"name": "AuroElement",
|
|
1210
|
-
"module": "components/layoutElement/src/auroElement.js"
|
|
1214
|
+
"kind": "method",
|
|
1215
|
+
"name": "syncValuesAndStates",
|
|
1216
|
+
"description": "Syncs the values and states of this component, the input, and the menu, including this.optionSelected and this.menu.optionSelected.",
|
|
1217
|
+
"privacy": "private",
|
|
1218
|
+
"return": {
|
|
1219
|
+
"type": {
|
|
1220
|
+
"text": "void"
|
|
1221
|
+
}
|
|
1211
1222
|
}
|
|
1212
|
-
}
|
|
1213
|
-
],
|
|
1214
|
-
"events": [
|
|
1215
|
-
{
|
|
1216
|
-
"name": "inputValue",
|
|
1217
|
-
"type": {
|
|
1218
|
-
"text": "CustomEvent"
|
|
1219
|
-
},
|
|
1220
|
-
"description": "Notifies that the components internal HTML5 input value has changed."
|
|
1221
1223
|
},
|
|
1222
1224
|
{
|
|
1223
|
-
"
|
|
1224
|
-
"
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1225
|
+
"kind": "method",
|
|
1226
|
+
"name": "updateTriggerTextDisplay",
|
|
1227
|
+
"parameters": [
|
|
1228
|
+
{
|
|
1229
|
+
"name": "label",
|
|
1230
|
+
"description": "The label of the selected option.",
|
|
1231
|
+
"type": {
|
|
1232
|
+
"text": "string"
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
],
|
|
1236
|
+
"description": "Update displayValue or input.value, it's called when making a selection.",
|
|
1237
|
+
"privacy": "private"
|
|
1228
1238
|
},
|
|
1229
1239
|
{
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
"
|
|
1240
|
+
"kind": "method",
|
|
1241
|
+
"name": "handleMenuOptions",
|
|
1242
|
+
"description": "Processes hidden state of all menu options and determines if there are any available options not hidden.",
|
|
1243
|
+
"privacy": "private",
|
|
1244
|
+
"return": {
|
|
1245
|
+
"type": {
|
|
1246
|
+
"text": "void"
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1235
1249
|
},
|
|
1236
1250
|
{
|
|
1237
|
-
"
|
|
1238
|
-
"name": "
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
},
|
|
1247
|
-
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
1248
|
-
"default": "'default'",
|
|
1249
|
-
"fieldName": "appearance"
|
|
1251
|
+
"kind": "method",
|
|
1252
|
+
"name": "generateOptionsArray",
|
|
1253
|
+
"description": "Determines the element error state based on the `required` attribute and input value.",
|
|
1254
|
+
"privacy": "private",
|
|
1255
|
+
"return": {
|
|
1256
|
+
"type": {
|
|
1257
|
+
"text": "void"
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1250
1260
|
},
|
|
1251
1261
|
{
|
|
1252
|
-
"
|
|
1253
|
-
"
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1262
|
+
"kind": "method",
|
|
1263
|
+
"name": "hideBib",
|
|
1264
|
+
"description": "Hides the dropdown bib if its open.",
|
|
1265
|
+
"return": {
|
|
1266
|
+
"type": {
|
|
1267
|
+
"text": "void"
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1258
1270
|
},
|
|
1259
1271
|
{
|
|
1260
|
-
"
|
|
1261
|
-
"
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1272
|
+
"kind": "method",
|
|
1273
|
+
"name": "showBib",
|
|
1274
|
+
"description": "Shows the dropdown bib if there are options to show.",
|
|
1275
|
+
"return": {
|
|
1276
|
+
"type": {
|
|
1277
|
+
"text": "void"
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1266
1280
|
},
|
|
1267
1281
|
{
|
|
1268
|
-
"
|
|
1269
|
-
"
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
"
|
|
1273
|
-
|
|
1282
|
+
"kind": "method",
|
|
1283
|
+
"name": "configureDropdown",
|
|
1284
|
+
"description": "Binds all behavior needed to the dropdown after rendering.",
|
|
1285
|
+
"privacy": "private",
|
|
1286
|
+
"return": {
|
|
1287
|
+
"type": {
|
|
1288
|
+
"text": "void"
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1274
1291
|
},
|
|
1275
1292
|
{
|
|
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"
|
|
1293
|
+
"kind": "method",
|
|
1294
|
+
"name": "setClearBtnFocus",
|
|
1295
|
+
"privacy": "private"
|
|
1283
1296
|
},
|
|
1284
1297
|
{
|
|
1285
|
-
"
|
|
1286
|
-
"
|
|
1287
|
-
|
|
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": [
|
|
1298
|
+
"kind": "method",
|
|
1299
|
+
"name": "setTriggerInputFocus",
|
|
1300
|
+
"privacy": "private"
|
|
1301
|
+
},
|
|
1648
1302
|
{
|
|
1649
|
-
"
|
|
1650
|
-
"name": "
|
|
1303
|
+
"kind": "method",
|
|
1304
|
+
"name": "setInputFocus",
|
|
1305
|
+
"privacy": "private"
|
|
1651
1306
|
},
|
|
1652
1307
|
{
|
|
1653
|
-
"
|
|
1654
|
-
"name": "
|
|
1308
|
+
"kind": "method",
|
|
1309
|
+
"name": "updateBibDialogRole",
|
|
1310
|
+
"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.",
|
|
1311
|
+
"privacy": "private"
|
|
1655
1312
|
},
|
|
1656
1313
|
{
|
|
1657
|
-
"
|
|
1658
|
-
"name": "
|
|
1314
|
+
"kind": "method",
|
|
1315
|
+
"name": "updateMenuShapeSize",
|
|
1316
|
+
"description": "Update menu to default for fullscreen bib, otherwise to this.size and this.shape.",
|
|
1317
|
+
"privacy": "private"
|
|
1659
1318
|
},
|
|
1660
1319
|
{
|
|
1661
|
-
"
|
|
1662
|
-
"name": "
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1320
|
+
"kind": "method",
|
|
1321
|
+
"name": "_getAnnouncementRoot",
|
|
1322
|
+
"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.",
|
|
1323
|
+
"privacy": "private",
|
|
1324
|
+
"return": {
|
|
1325
|
+
"type": {
|
|
1326
|
+
"text": "ShadowRoot"
|
|
1327
|
+
}
|
|
1328
|
+
}
|
|
1329
|
+
},
|
|
1666
1330
|
{
|
|
1667
1331
|
"kind": "method",
|
|
1668
|
-
"name": "
|
|
1332
|
+
"name": "configureMenu",
|
|
1333
|
+
"description": "Binds all behavior needed to the menu after rendering.",
|
|
1334
|
+
"privacy": "private",
|
|
1335
|
+
"return": {
|
|
1336
|
+
"type": {
|
|
1337
|
+
"text": "void"
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1669
1340
|
},
|
|
1670
1341
|
{
|
|
1671
1342
|
"kind": "method",
|
|
1672
|
-
"name": "
|
|
1673
|
-
"
|
|
1343
|
+
"name": "configureInput",
|
|
1344
|
+
"description": "Binds all behavior needed to the input after rendering.",
|
|
1345
|
+
"privacy": "private",
|
|
1346
|
+
"return": {
|
|
1347
|
+
"type": {
|
|
1348
|
+
"text": "void"
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"kind": "method",
|
|
1354
|
+
"name": "handleMenuLoadingChange",
|
|
1674
1355
|
"parameters": [
|
|
1675
1356
|
{
|
|
1676
|
-
"name": "
|
|
1677
|
-
"
|
|
1678
|
-
"description": "The name of the element that you want to register.",
|
|
1679
|
-
"optional": true,
|
|
1357
|
+
"name": "event",
|
|
1358
|
+
"description": "The event object containing details about the loading state change.",
|
|
1680
1359
|
"type": {
|
|
1681
|
-
"text": "
|
|
1360
|
+
"text": "CustomEvent"
|
|
1361
|
+
}
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"description": "Indicates whether the menu is currently loading.",
|
|
1365
|
+
"name": "event.detail.loading",
|
|
1366
|
+
"type": {
|
|
1367
|
+
"text": "boolean"
|
|
1368
|
+
}
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"description": "Indicates if there are loading placeholders present.",
|
|
1372
|
+
"name": "event.detail.hasLoadingPlaceholder",
|
|
1373
|
+
"type": {
|
|
1374
|
+
"text": "boolean"
|
|
1682
1375
|
}
|
|
1683
1376
|
}
|
|
1684
1377
|
],
|
|
1685
|
-
"description": "
|
|
1378
|
+
"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.",
|
|
1379
|
+
"privacy": "private",
|
|
1380
|
+
"return": {
|
|
1381
|
+
"type": {
|
|
1382
|
+
"text": "void"
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1686
1385
|
},
|
|
1687
1386
|
{
|
|
1688
1387
|
"kind": "method",
|
|
1689
|
-
"name": "
|
|
1388
|
+
"name": "handleInputValueChange",
|
|
1690
1389
|
"parameters": [
|
|
1691
1390
|
{
|
|
1692
|
-
"name": "
|
|
1693
|
-
"description": "The
|
|
1391
|
+
"name": "event",
|
|
1392
|
+
"description": "The input event triggered by the input element.",
|
|
1694
1393
|
"type": {
|
|
1695
|
-
"text": "
|
|
1394
|
+
"text": "Event"
|
|
1696
1395
|
}
|
|
1697
|
-
}
|
|
1396
|
+
}
|
|
1397
|
+
],
|
|
1398
|
+
"description": "Handle changes to the input value and trigger changes that should result.",
|
|
1399
|
+
"privacy": "private",
|
|
1400
|
+
"return": {
|
|
1401
|
+
"type": {
|
|
1402
|
+
"text": "void"
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"kind": "method",
|
|
1408
|
+
"name": "configureCombobox",
|
|
1409
|
+
"description": "Binds all behavior needed to the combobox after rendering.",
|
|
1410
|
+
"privacy": "private",
|
|
1411
|
+
"return": {
|
|
1412
|
+
"type": {
|
|
1413
|
+
"text": "void"
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"kind": "method",
|
|
1419
|
+
"name": "focus",
|
|
1420
|
+
"description": "Focuses the combobox trigger input.",
|
|
1421
|
+
"return": {
|
|
1422
|
+
"type": {
|
|
1423
|
+
"text": "void"
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"kind": "method",
|
|
1429
|
+
"name": "setMenuValue",
|
|
1430
|
+
"parameters": [
|
|
1698
1431
|
{
|
|
1699
|
-
"name": "
|
|
1700
|
-
"description": "The
|
|
1432
|
+
"name": "value",
|
|
1433
|
+
"description": "The value to set on the menu.",
|
|
1701
1434
|
"type": {
|
|
1702
|
-
"text": "
|
|
1435
|
+
"text": "string"
|
|
1703
1436
|
}
|
|
1704
1437
|
}
|
|
1705
1438
|
],
|
|
1706
|
-
"description": "
|
|
1707
|
-
"privacy": "private",
|
|
1439
|
+
"description": "Sets the menu value if menu is available.",
|
|
1708
1440
|
"return": {
|
|
1709
1441
|
"type": {
|
|
1710
1442
|
"text": "void"
|
|
@@ -1713,9 +1445,8 @@
|
|
|
1713
1445
|
},
|
|
1714
1446
|
{
|
|
1715
1447
|
"kind": "method",
|
|
1716
|
-
"name": "
|
|
1717
|
-
"description": "
|
|
1718
|
-
"privacy": "private",
|
|
1448
|
+
"name": "reset",
|
|
1449
|
+
"description": "Resets component to initial state.",
|
|
1719
1450
|
"return": {
|
|
1720
1451
|
"type": {
|
|
1721
1452
|
"text": "void"
|
|
@@ -1724,8 +1455,57 @@
|
|
|
1724
1455
|
},
|
|
1725
1456
|
{
|
|
1726
1457
|
"kind": "method",
|
|
1727
|
-
"name": "
|
|
1728
|
-
"description": "
|
|
1458
|
+
"name": "clear",
|
|
1459
|
+
"description": "Clears the current value of the combobox.",
|
|
1460
|
+
"return": {
|
|
1461
|
+
"type": {
|
|
1462
|
+
"text": "void"
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"kind": "method",
|
|
1468
|
+
"name": "validate",
|
|
1469
|
+
"parameters": [
|
|
1470
|
+
{
|
|
1471
|
+
"name": "force",
|
|
1472
|
+
"default": "false",
|
|
1473
|
+
"description": "Whether to force validation.",
|
|
1474
|
+
"optional": true,
|
|
1475
|
+
"type": {
|
|
1476
|
+
"text": "boolean"
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
],
|
|
1480
|
+
"description": "Validates value."
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"kind": "method",
|
|
1484
|
+
"name": "transportAssignedNodes",
|
|
1485
|
+
"parameters": [
|
|
1486
|
+
{
|
|
1487
|
+
"name": "slot",
|
|
1488
|
+
"description": "The slot element containing the nodes to apply.",
|
|
1489
|
+
"type": {
|
|
1490
|
+
"text": "HTMLSlotElement"
|
|
1491
|
+
}
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
"name": "target",
|
|
1495
|
+
"description": "The target element to apply the nodes to.",
|
|
1496
|
+
"type": {
|
|
1497
|
+
"text": "HTMLElement"
|
|
1498
|
+
}
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"name": "newSlotName",
|
|
1502
|
+
"description": "The new slot name for the applied nodes.",
|
|
1503
|
+
"type": {
|
|
1504
|
+
"text": "string"
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
],
|
|
1508
|
+
"description": "Applies slotted nodes to a target element with a new slot name.",
|
|
1729
1509
|
"privacy": "private",
|
|
1730
1510
|
"return": {
|
|
1731
1511
|
"type": {
|
|
@@ -1735,42 +1515,105 @@
|
|
|
1735
1515
|
},
|
|
1736
1516
|
{
|
|
1737
1517
|
"kind": "method",
|
|
1738
|
-
"name": "
|
|
1739
|
-
"
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
"
|
|
1518
|
+
"name": "updateActiveOption",
|
|
1519
|
+
"parameters": [
|
|
1520
|
+
{
|
|
1521
|
+
"name": "index",
|
|
1522
|
+
"description": "Index of the option to make active.",
|
|
1523
|
+
"type": {
|
|
1524
|
+
"text": "number"
|
|
1525
|
+
}
|
|
1743
1526
|
}
|
|
1744
|
-
|
|
1527
|
+
],
|
|
1528
|
+
"description": "Updates the active option in the menu."
|
|
1745
1529
|
},
|
|
1746
1530
|
{
|
|
1747
1531
|
"kind": "method",
|
|
1748
|
-
"name": "
|
|
1532
|
+
"name": "handleSlotChange",
|
|
1749
1533
|
"parameters": [
|
|
1750
1534
|
{
|
|
1751
|
-
"name": "
|
|
1752
|
-
"
|
|
1753
|
-
"description": "Whether to force validation.",
|
|
1754
|
-
"optional": true,
|
|
1535
|
+
"name": "event",
|
|
1536
|
+
"description": "`slotchange` event.",
|
|
1755
1537
|
"type": {
|
|
1756
|
-
"text": "
|
|
1538
|
+
"text": "Event"
|
|
1757
1539
|
}
|
|
1758
1540
|
}
|
|
1759
1541
|
],
|
|
1760
|
-
"description": "
|
|
1542
|
+
"description": "Watch for slot changes and recalculate the menuoptions.",
|
|
1543
|
+
"privacy": "private",
|
|
1544
|
+
"return": {
|
|
1545
|
+
"type": {
|
|
1546
|
+
"text": "void"
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1761
1549
|
},
|
|
1762
1550
|
{
|
|
1763
1551
|
"kind": "field",
|
|
1764
1552
|
"name": "appearance",
|
|
1765
1553
|
"privacy": "public",
|
|
1766
1554
|
"type": {
|
|
1767
|
-
"text": "
|
|
1555
|
+
"text": "string"
|
|
1768
1556
|
},
|
|
1769
1557
|
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
1770
1558
|
"default": "'default'",
|
|
1771
1559
|
"attribute": "appearance",
|
|
1772
1560
|
"reflects": true
|
|
1773
1561
|
},
|
|
1562
|
+
{
|
|
1563
|
+
"kind": "field",
|
|
1564
|
+
"name": "autocomplete",
|
|
1565
|
+
"privacy": "public",
|
|
1566
|
+
"type": {
|
|
1567
|
+
"text": "string"
|
|
1568
|
+
},
|
|
1569
|
+
"description": "An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete=\"off\"` is supported.",
|
|
1570
|
+
"attribute": "autocomplete",
|
|
1571
|
+
"reflects": true
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
"kind": "field",
|
|
1575
|
+
"name": "autoPlacement",
|
|
1576
|
+
"privacy": "public",
|
|
1577
|
+
"type": {
|
|
1578
|
+
"text": "boolean"
|
|
1579
|
+
},
|
|
1580
|
+
"description": "If declared, bib's position will be automatically calculated where to appear.",
|
|
1581
|
+
"attribute": "autoPlacement",
|
|
1582
|
+
"reflects": true
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"kind": "field",
|
|
1586
|
+
"name": "availableOptions",
|
|
1587
|
+
"privacy": "private",
|
|
1588
|
+
"type": {
|
|
1589
|
+
"text": "array"
|
|
1590
|
+
},
|
|
1591
|
+
"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).",
|
|
1592
|
+
"attribute": "availableOptions"
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"kind": "field",
|
|
1596
|
+
"name": "behavior",
|
|
1597
|
+
"privacy": "public",
|
|
1598
|
+
"type": {
|
|
1599
|
+
"text": "'filter' | 'suggestion'"
|
|
1600
|
+
},
|
|
1601
|
+
"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.",
|
|
1602
|
+
"default": "'suggestion'",
|
|
1603
|
+
"attribute": "behavior",
|
|
1604
|
+
"reflects": true
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
"kind": "field",
|
|
1608
|
+
"name": "checkmark",
|
|
1609
|
+
"privacy": "public",
|
|
1610
|
+
"type": {
|
|
1611
|
+
"text": "boolean"
|
|
1612
|
+
},
|
|
1613
|
+
"description": "When attribute is present auro-menu will apply check marks to selected options.",
|
|
1614
|
+
"attribute": "checkmark",
|
|
1615
|
+
"reflects": true
|
|
1616
|
+
},
|
|
1774
1617
|
{
|
|
1775
1618
|
"kind": "field",
|
|
1776
1619
|
"name": "disabled",
|
|
@@ -1778,10 +1621,39 @@
|
|
|
1778
1621
|
"type": {
|
|
1779
1622
|
"text": "boolean"
|
|
1780
1623
|
},
|
|
1781
|
-
"description": "If set, disables the
|
|
1624
|
+
"description": "If set, disables the combobox.",
|
|
1782
1625
|
"attribute": "disabled",
|
|
1783
1626
|
"reflects": true
|
|
1784
1627
|
},
|
|
1628
|
+
{
|
|
1629
|
+
"kind": "field",
|
|
1630
|
+
"name": "dropdownId",
|
|
1631
|
+
"privacy": "private",
|
|
1632
|
+
"type": {
|
|
1633
|
+
"text": "string"
|
|
1634
|
+
},
|
|
1635
|
+
"description": "ID for the dropdown."
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"kind": "field",
|
|
1639
|
+
"name": "dropdownOpen",
|
|
1640
|
+
"privacy": "private",
|
|
1641
|
+
"type": {
|
|
1642
|
+
"text": "boolean"
|
|
1643
|
+
},
|
|
1644
|
+
"description": "Whether or not the dropdown is open."
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
"kind": "field",
|
|
1648
|
+
"name": "dvInputOnly",
|
|
1649
|
+
"privacy": "public",
|
|
1650
|
+
"type": {
|
|
1651
|
+
"text": "boolean"
|
|
1652
|
+
},
|
|
1653
|
+
"description": "If defined, the display value slot content will only mask the HTML5 input element. The inputs label will not be masked.",
|
|
1654
|
+
"attribute": "dvInputOnly",
|
|
1655
|
+
"reflects": true
|
|
1656
|
+
},
|
|
1785
1657
|
{
|
|
1786
1658
|
"kind": "field",
|
|
1787
1659
|
"name": "error",
|
|
@@ -1795,13 +1667,84 @@
|
|
|
1795
1667
|
},
|
|
1796
1668
|
{
|
|
1797
1669
|
"kind": "field",
|
|
1798
|
-
"name": "
|
|
1670
|
+
"name": "format",
|
|
1671
|
+
"privacy": "public",
|
|
1672
|
+
"type": {
|
|
1673
|
+
"text": "string"
|
|
1674
|
+
},
|
|
1675
|
+
"description": "Specifies the input mask format.",
|
|
1676
|
+
"attribute": "format",
|
|
1677
|
+
"reflects": true
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
"kind": "field",
|
|
1681
|
+
"name": "inputmode",
|
|
1682
|
+
"privacy": "public",
|
|
1683
|
+
"type": {
|
|
1684
|
+
"text": "string"
|
|
1685
|
+
},
|
|
1686
|
+
"description": "Exposes inputmode attribute for input.",
|
|
1687
|
+
"attribute": "inputmode",
|
|
1688
|
+
"reflects": true
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"kind": "field",
|
|
1692
|
+
"name": "layout",
|
|
1693
|
+
"privacy": "public",
|
|
1694
|
+
"type": {
|
|
1695
|
+
"text": "string"
|
|
1696
|
+
},
|
|
1697
|
+
"description": "Sets the layout of the combobox.",
|
|
1698
|
+
"default": "'classic'",
|
|
1699
|
+
"attribute": "layout",
|
|
1700
|
+
"reflects": true,
|
|
1701
|
+
"inheritedFrom": {
|
|
1702
|
+
"name": "AuroElement",
|
|
1703
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
1704
|
+
}
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"kind": "field",
|
|
1708
|
+
"name": "matchWidth",
|
|
1709
|
+
"privacy": "private",
|
|
1710
|
+
"type": {
|
|
1711
|
+
"text": "boolean"
|
|
1712
|
+
},
|
|
1713
|
+
"description": "If declared, the popover and trigger will be set to the same width.",
|
|
1714
|
+
"attribute": "matchWidth",
|
|
1715
|
+
"reflects": true
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
"kind": "field",
|
|
1719
|
+
"name": "noFilter",
|
|
1799
1720
|
"privacy": "public",
|
|
1800
1721
|
"type": {
|
|
1801
1722
|
"text": "boolean"
|
|
1802
1723
|
},
|
|
1803
|
-
"description": "If set,
|
|
1804
|
-
"attribute": "
|
|
1724
|
+
"description": "If set, combobox will not filter menuoptions based on input.",
|
|
1725
|
+
"attribute": "noFilter",
|
|
1726
|
+
"reflects": true
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
"kind": "field",
|
|
1730
|
+
"name": "noFlip",
|
|
1731
|
+
"privacy": "public",
|
|
1732
|
+
"type": {
|
|
1733
|
+
"text": "boolean"
|
|
1734
|
+
},
|
|
1735
|
+
"description": "If declared, the bib will NOT flip to an alternate position\nwhen there isn't enough space in the specified `placement`.",
|
|
1736
|
+
"attribute": "noFlip",
|
|
1737
|
+
"reflects": true
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"kind": "field",
|
|
1741
|
+
"name": "shift",
|
|
1742
|
+
"privacy": "public",
|
|
1743
|
+
"type": {
|
|
1744
|
+
"text": "boolean"
|
|
1745
|
+
},
|
|
1746
|
+
"description": "If declared, the dropdown will shift its position to avoid being cut off by the viewport.",
|
|
1747
|
+
"attribute": "shift",
|
|
1805
1748
|
"reflects": true
|
|
1806
1749
|
},
|
|
1807
1750
|
{
|
|
@@ -1817,13 +1760,73 @@
|
|
|
1817
1760
|
},
|
|
1818
1761
|
{
|
|
1819
1762
|
"kind": "field",
|
|
1820
|
-
"name": "
|
|
1763
|
+
"name": "offset",
|
|
1764
|
+
"privacy": "public",
|
|
1765
|
+
"type": {
|
|
1766
|
+
"text": "number"
|
|
1767
|
+
},
|
|
1768
|
+
"description": "Gap between the trigger element and bib.",
|
|
1769
|
+
"default": "0",
|
|
1770
|
+
"attribute": "offset",
|
|
1771
|
+
"reflects": true
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"kind": "field",
|
|
1775
|
+
"name": "onDark",
|
|
1776
|
+
"privacy": "public",
|
|
1777
|
+
"type": {
|
|
1778
|
+
"text": "boolean"
|
|
1779
|
+
},
|
|
1780
|
+
"attribute": "onDark",
|
|
1781
|
+
"reflects": true,
|
|
1782
|
+
"description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
|
|
1783
|
+
"inheritedFrom": {
|
|
1784
|
+
"name": "AuroElement",
|
|
1785
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
1786
|
+
}
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
"kind": "field",
|
|
1790
|
+
"name": "optionSelected",
|
|
1791
|
+
"privacy": "public",
|
|
1792
|
+
"type": {
|
|
1793
|
+
"text": "HTMLElement"
|
|
1794
|
+
},
|
|
1795
|
+
"description": "Specifies the current selected option.",
|
|
1796
|
+
"attribute": "optionSelected"
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
"kind": "field",
|
|
1800
|
+
"name": "persistInput",
|
|
1801
|
+
"privacy": "public",
|
|
1802
|
+
"type": {
|
|
1803
|
+
"text": "boolean"
|
|
1804
|
+
},
|
|
1805
|
+
"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.",
|
|
1806
|
+
"attribute": "persistInput",
|
|
1807
|
+
"reflects": true
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
"kind": "field",
|
|
1811
|
+
"name": "placement",
|
|
1812
|
+
"privacy": "public",
|
|
1813
|
+
"type": {
|
|
1814
|
+
"text": "'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'"
|
|
1815
|
+
},
|
|
1816
|
+
"description": "Position where the bib should appear relative to the trigger.",
|
|
1817
|
+
"default": "'bottom-start'",
|
|
1818
|
+
"attribute": "placement",
|
|
1819
|
+
"reflects": true
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
"kind": "field",
|
|
1823
|
+
"name": "placeholder",
|
|
1821
1824
|
"privacy": "public",
|
|
1822
1825
|
"type": {
|
|
1823
|
-
"text": "
|
|
1826
|
+
"text": "string"
|
|
1824
1827
|
},
|
|
1825
|
-
"description": "
|
|
1826
|
-
"attribute": "
|
|
1828
|
+
"description": "Define custom placeholder text, only supported by date input formats.",
|
|
1829
|
+
"attribute": "placeholder",
|
|
1827
1830
|
"reflects": true
|
|
1828
1831
|
},
|
|
1829
1832
|
{
|
|
@@ -1833,7 +1836,7 @@
|
|
|
1833
1836
|
"type": {
|
|
1834
1837
|
"text": "boolean"
|
|
1835
1838
|
},
|
|
1836
|
-
"description": "Populates the `required` attribute on the
|
|
1839
|
+
"description": "Populates the `required` attribute on the input. Used for client-side validation.",
|
|
1837
1840
|
"attribute": "required",
|
|
1838
1841
|
"reflects": true
|
|
1839
1842
|
},
|
|
@@ -1869,614 +1872,611 @@
|
|
|
1869
1872
|
},
|
|
1870
1873
|
{
|
|
1871
1874
|
"kind": "field",
|
|
1872
|
-
"name": "
|
|
1875
|
+
"name": "setCustomValidityValueMissingFilter",
|
|
1873
1876
|
"privacy": "public",
|
|
1874
1877
|
"type": {
|
|
1875
1878
|
"text": "string"
|
|
1876
1879
|
},
|
|
1877
|
-
"description": "
|
|
1878
|
-
"attribute": "
|
|
1879
|
-
"reflects": true
|
|
1880
|
-
}
|
|
1881
|
-
],
|
|
1882
|
-
"events": [
|
|
1883
|
-
{
|
|
1884
|
-
"name": "input",
|
|
1885
|
-
"type": {
|
|
1886
|
-
"text": "CustomEvent"
|
|
1887
|
-
}
|
|
1880
|
+
"description": "Custom help text message to display when validity = `valueMissing` due to the user not choosing a menu option when behavior = \"filter\".",
|
|
1881
|
+
"attribute": "setCustomValidityValueMissingFilter"
|
|
1888
1882
|
},
|
|
1889
1883
|
{
|
|
1890
|
-
"
|
|
1891
|
-
"name": "
|
|
1892
|
-
|
|
1893
|
-
],
|
|
1894
|
-
"attributes": [
|
|
1895
|
-
{
|
|
1896
|
-
"name": "appearance",
|
|
1884
|
+
"kind": "field",
|
|
1885
|
+
"name": "touched",
|
|
1886
|
+
"privacy": "private",
|
|
1897
1887
|
"type": {
|
|
1898
|
-
"text": "
|
|
1888
|
+
"text": "boolean"
|
|
1899
1889
|
},
|
|
1900
|
-
"description": "
|
|
1901
|
-
"default": "'default'",
|
|
1902
|
-
"fieldName": "appearance"
|
|
1890
|
+
"description": "Indicates whether the combobox is in a dirty state (has been interacted with)."
|
|
1903
1891
|
},
|
|
1904
1892
|
{
|
|
1905
|
-
"
|
|
1893
|
+
"kind": "field",
|
|
1894
|
+
"name": "triggerIcon",
|
|
1895
|
+
"privacy": "public",
|
|
1906
1896
|
"type": {
|
|
1907
1897
|
"text": "boolean"
|
|
1908
1898
|
},
|
|
1909
|
-
"description": "If set,
|
|
1910
|
-
"
|
|
1899
|
+
"description": "If set, the `icon` attribute will be applied to the trigger `auro-input` element.",
|
|
1900
|
+
"attribute": "triggerIcon",
|
|
1901
|
+
"reflects": true
|
|
1911
1902
|
},
|
|
1912
1903
|
{
|
|
1913
|
-
"
|
|
1904
|
+
"kind": "field",
|
|
1905
|
+
"name": "type",
|
|
1906
|
+
"privacy": "public",
|
|
1914
1907
|
"type": {
|
|
1915
1908
|
"text": "string"
|
|
1916
1909
|
},
|
|
1917
|
-
"description": "
|
|
1918
|
-
"
|
|
1910
|
+
"description": "Applies the defined value as the type attribute on `auro-input`.",
|
|
1911
|
+
"attribute": "type",
|
|
1912
|
+
"reflects": true
|
|
1919
1913
|
},
|
|
1920
1914
|
{
|
|
1921
|
-
"
|
|
1915
|
+
"kind": "field",
|
|
1916
|
+
"name": "typedValue",
|
|
1917
|
+
"privacy": "public",
|
|
1922
1918
|
"type": {
|
|
1923
|
-
"text": "
|
|
1919
|
+
"text": "string"
|
|
1924
1920
|
},
|
|
1925
|
-
"description": "
|
|
1926
|
-
"
|
|
1921
|
+
"description": "Specifies the value of the input element within the combobox.",
|
|
1922
|
+
"attribute": "typedValue",
|
|
1923
|
+
"reflects": true
|
|
1927
1924
|
},
|
|
1928
1925
|
{
|
|
1929
|
-
"
|
|
1926
|
+
"kind": "field",
|
|
1927
|
+
"name": "validity",
|
|
1928
|
+
"privacy": "public",
|
|
1930
1929
|
"type": {
|
|
1931
|
-
"text": "
|
|
1930
|
+
"text": "string"
|
|
1932
1931
|
},
|
|
1933
|
-
"description": "
|
|
1934
|
-
"
|
|
1932
|
+
"description": "Specifies the `validityState` this element is in.",
|
|
1933
|
+
"attribute": "validity",
|
|
1934
|
+
"reflects": true
|
|
1935
1935
|
},
|
|
1936
1936
|
{
|
|
1937
|
-
"
|
|
1937
|
+
"kind": "field",
|
|
1938
|
+
"name": "value",
|
|
1939
|
+
"privacy": "public",
|
|
1938
1940
|
"type": {
|
|
1939
|
-
"text": "
|
|
1941
|
+
"text": "string"
|
|
1940
1942
|
},
|
|
1941
|
-
"description": "
|
|
1942
|
-
"
|
|
1943
|
+
"description": "Value selected for the dropdown menu.",
|
|
1944
|
+
"attribute": "value"
|
|
1943
1945
|
},
|
|
1944
1946
|
{
|
|
1945
|
-
"
|
|
1947
|
+
"kind": "field",
|
|
1948
|
+
"name": "largeFullscreenHeadline",
|
|
1949
|
+
"privacy": "public",
|
|
1946
1950
|
"type": {
|
|
1947
1951
|
"text": "boolean"
|
|
1948
1952
|
},
|
|
1949
|
-
"description": "
|
|
1950
|
-
"
|
|
1951
|
-
|
|
1952
|
-
{
|
|
1953
|
-
"name": "setCustomValidity",
|
|
1954
|
-
"type": {
|
|
1955
|
-
"text": "string"
|
|
1956
|
-
},
|
|
1957
|
-
"description": "Sets a custom help text message to display for all validityStates.",
|
|
1958
|
-
"fieldName": "setCustomValidity"
|
|
1953
|
+
"description": "If declared, make bib.fullscreen.headline in HeadingDisplay.\nOtherwise, Heading 600",
|
|
1954
|
+
"attribute": "largeFullscreenHeadline",
|
|
1955
|
+
"reflects": true
|
|
1959
1956
|
},
|
|
1960
1957
|
{
|
|
1961
|
-
"
|
|
1958
|
+
"kind": "field",
|
|
1959
|
+
"name": "fullscreenBreakpoint",
|
|
1960
|
+
"privacy": "public",
|
|
1962
1961
|
"type": {
|
|
1963
|
-
"text": "
|
|
1962
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'"
|
|
1964
1963
|
},
|
|
1965
|
-
"description": "
|
|
1966
|
-
"
|
|
1964
|
+
"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.",
|
|
1965
|
+
"default": "'sm'",
|
|
1966
|
+
"attribute": "fullscreenBreakpoint",
|
|
1967
|
+
"reflects": true
|
|
1967
1968
|
},
|
|
1968
1969
|
{
|
|
1969
|
-
"
|
|
1970
|
+
"kind": "field",
|
|
1971
|
+
"name": "optionActive",
|
|
1972
|
+
"privacy": "private",
|
|
1970
1973
|
"type": {
|
|
1971
|
-
"text": "
|
|
1974
|
+
"text": "object"
|
|
1972
1975
|
},
|
|
1973
|
-
"description": "
|
|
1974
|
-
"fieldName": "setCustomValidityValueMissing"
|
|
1976
|
+
"description": "Specifies the currently active option."
|
|
1975
1977
|
},
|
|
1976
1978
|
{
|
|
1977
|
-
"
|
|
1979
|
+
"kind": "field",
|
|
1980
|
+
"name": "triggerExpandedState",
|
|
1981
|
+
"privacy": "private",
|
|
1978
1982
|
"type": {
|
|
1979
|
-
"text": "
|
|
1983
|
+
"text": "boolean"
|
|
1980
1984
|
},
|
|
1981
|
-
"description": "
|
|
1982
|
-
"fieldName": "validity"
|
|
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."
|
|
2053
|
-
},
|
|
2054
|
-
{
|
|
2055
|
-
"kind": "method",
|
|
2056
|
-
"name": "handleChange",
|
|
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.",
|
|
2067
|
-
"privacy": "private",
|
|
2068
|
-
"return": {
|
|
2069
|
-
"type": {
|
|
2070
|
-
"text": "void"
|
|
2071
|
-
}
|
|
2072
|
-
}
|
|
2073
|
-
},
|
|
2074
|
-
{
|
|
2075
|
-
"kind": "method",
|
|
2076
|
-
"name": "handleInput",
|
|
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.",
|
|
2087
|
-
"privacy": "private",
|
|
2088
|
-
"return": {
|
|
2089
|
-
"type": {
|
|
2090
|
-
"text": "void"
|
|
2091
|
-
}
|
|
2092
|
-
}
|
|
1985
|
+
"description": "Deferred aria-expanded state for the trigger input.\nDelays the \"true\" transition so VoiceOver finishes its character echo\nbefore announcing \"expanded\"."
|
|
2093
1986
|
},
|
|
2094
1987
|
{
|
|
2095
|
-
"kind": "
|
|
2096
|
-
"name": "
|
|
2097
|
-
"description": "
|
|
1988
|
+
"kind": "field",
|
|
1989
|
+
"name": "componentHasFocus",
|
|
1990
|
+
"description": "Returns true if the element has focus.",
|
|
2098
1991
|
"privacy": "private",
|
|
2099
1992
|
"return": {
|
|
2100
1993
|
"type": {
|
|
2101
|
-
"text": "
|
|
1994
|
+
"text": "boolean"
|
|
2102
1995
|
}
|
|
1996
|
+
},
|
|
1997
|
+
"readonly": true,
|
|
1998
|
+
"inheritedFrom": {
|
|
1999
|
+
"name": "AuroElement",
|
|
2000
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2103
2001
|
}
|
|
2104
2002
|
},
|
|
2105
2003
|
{
|
|
2106
2004
|
"kind": "method",
|
|
2107
|
-
"name": "
|
|
2108
|
-
"
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
"type": {
|
|
2112
|
-
"text": "HTMLElement"
|
|
2113
|
-
}
|
|
2005
|
+
"name": "resetShapeClasses",
|
|
2006
|
+
"inheritedFrom": {
|
|
2007
|
+
"name": "AuroElement",
|
|
2008
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2114
2009
|
}
|
|
2115
2010
|
},
|
|
2116
2011
|
{
|
|
2117
2012
|
"kind": "method",
|
|
2118
|
-
"name": "
|
|
2119
|
-
"
|
|
2120
|
-
|
|
2121
|
-
"
|
|
2122
|
-
"text": "void"
|
|
2123
|
-
}
|
|
2013
|
+
"name": "resetLayoutClasses",
|
|
2014
|
+
"inheritedFrom": {
|
|
2015
|
+
"name": "AuroElement",
|
|
2016
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2124
2017
|
}
|
|
2125
2018
|
},
|
|
2126
2019
|
{
|
|
2127
2020
|
"kind": "method",
|
|
2128
|
-
"name": "
|
|
2129
|
-
"
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
"type": {
|
|
2133
|
-
"text": "void"
|
|
2134
|
-
}
|
|
2021
|
+
"name": "updateComponentArchitecture",
|
|
2022
|
+
"inheritedFrom": {
|
|
2023
|
+
"name": "AuroElement",
|
|
2024
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2135
2025
|
}
|
|
2136
2026
|
},
|
|
2137
2027
|
{
|
|
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
|
-
}
|
|
2028
|
+
"kind": "field",
|
|
2029
|
+
"name": "shape",
|
|
2030
|
+
"privacy": "public",
|
|
2031
|
+
"type": {
|
|
2032
|
+
"text": "string"
|
|
2033
|
+
},
|
|
2034
|
+
"attribute": "shape",
|
|
2035
|
+
"reflects": true,
|
|
2036
|
+
"inheritedFrom": {
|
|
2037
|
+
"name": "AuroElement",
|
|
2038
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2155
2039
|
}
|
|
2156
2040
|
},
|
|
2157
2041
|
{
|
|
2158
2042
|
"kind": "field",
|
|
2159
|
-
"name": "
|
|
2043
|
+
"name": "size",
|
|
2160
2044
|
"privacy": "public",
|
|
2161
2045
|
"type": {
|
|
2162
|
-
"text": "
|
|
2046
|
+
"text": "string"
|
|
2047
|
+
},
|
|
2048
|
+
"attribute": "size",
|
|
2049
|
+
"reflects": true,
|
|
2050
|
+
"inheritedFrom": {
|
|
2051
|
+
"name": "AuroElement",
|
|
2052
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2053
|
+
}
|
|
2054
|
+
}
|
|
2055
|
+
],
|
|
2056
|
+
"events": [
|
|
2057
|
+
{
|
|
2058
|
+
"name": "inputValue",
|
|
2059
|
+
"type": {
|
|
2060
|
+
"text": "CustomEvent"
|
|
2061
|
+
},
|
|
2062
|
+
"description": "Notifies that the components internal HTML5 input value has changed."
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
"name": "input",
|
|
2066
|
+
"type": {
|
|
2067
|
+
"text": "CustomEvent"
|
|
2068
|
+
},
|
|
2069
|
+
"description": "Notifies that the component has a new value set."
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
"name": "auroCombobox-valueSet",
|
|
2073
|
+
"type": {
|
|
2074
|
+
"text": "CustomEvent"
|
|
2075
|
+
},
|
|
2076
|
+
"description": "(Deprecated) Notifies that the component has a new value set."
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
"description": "Notifies that the component value(s) have been validated.",
|
|
2080
|
+
"name": "auroFormElement-validated"
|
|
2081
|
+
}
|
|
2082
|
+
],
|
|
2083
|
+
"attributes": [
|
|
2084
|
+
{
|
|
2085
|
+
"name": "appearance",
|
|
2086
|
+
"type": {
|
|
2087
|
+
"text": "string"
|
|
2163
2088
|
},
|
|
2164
2089
|
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
2165
2090
|
"default": "'default'",
|
|
2166
|
-
"
|
|
2167
|
-
"reflects": true
|
|
2091
|
+
"fieldName": "appearance"
|
|
2168
2092
|
},
|
|
2169
2093
|
{
|
|
2170
|
-
"
|
|
2171
|
-
"
|
|
2172
|
-
|
|
2094
|
+
"name": "autocomplete",
|
|
2095
|
+
"type": {
|
|
2096
|
+
"text": "string"
|
|
2097
|
+
},
|
|
2098
|
+
"description": "An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete=\"off\"` is supported.",
|
|
2099
|
+
"fieldName": "autocomplete"
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
"name": "autoPlacement",
|
|
2173
2103
|
"type": {
|
|
2174
2104
|
"text": "boolean"
|
|
2175
2105
|
},
|
|
2176
|
-
"description": "If
|
|
2177
|
-
"
|
|
2178
|
-
|
|
2106
|
+
"description": "If declared, bib's position will be automatically calculated where to appear.",
|
|
2107
|
+
"fieldName": "autoPlacement"
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
"name": "availableOptions",
|
|
2111
|
+
"type": {
|
|
2112
|
+
"text": "array"
|
|
2113
|
+
},
|
|
2114
|
+
"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).",
|
|
2115
|
+
"fieldName": "availableOptions"
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
"name": "behavior",
|
|
2119
|
+
"type": {
|
|
2120
|
+
"text": "'filter' | 'suggestion'"
|
|
2121
|
+
},
|
|
2122
|
+
"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.",
|
|
2123
|
+
"default": "'suggestion'",
|
|
2124
|
+
"fieldName": "behavior"
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
"name": "checkmark",
|
|
2128
|
+
"type": {
|
|
2129
|
+
"text": "boolean"
|
|
2130
|
+
},
|
|
2131
|
+
"description": "When attribute is present auro-menu will apply check marks to selected options.",
|
|
2132
|
+
"fieldName": "checkmark"
|
|
2179
2133
|
},
|
|
2180
2134
|
{
|
|
2181
|
-
"kind": "field",
|
|
2182
2135
|
"name": "disabled",
|
|
2183
|
-
"privacy": "public",
|
|
2184
2136
|
"type": {
|
|
2185
2137
|
"text": "boolean"
|
|
2186
2138
|
},
|
|
2187
|
-
"description": "If set
|
|
2188
|
-
"
|
|
2189
|
-
"reflects": true
|
|
2139
|
+
"description": "If set, disables the combobox.",
|
|
2140
|
+
"fieldName": "disabled"
|
|
2190
2141
|
},
|
|
2191
2142
|
{
|
|
2192
|
-
"
|
|
2193
|
-
"name": "error",
|
|
2194
|
-
"privacy": "public",
|
|
2143
|
+
"name": "dvInputOnly",
|
|
2195
2144
|
"type": {
|
|
2196
2145
|
"text": "boolean"
|
|
2197
2146
|
},
|
|
2198
|
-
"description": "If
|
|
2199
|
-
"
|
|
2200
|
-
"reflects": true
|
|
2147
|
+
"description": "If defined, the display value slot content will only mask the HTML5 input element. The inputs label will not be masked.",
|
|
2148
|
+
"fieldName": "dvInputOnly"
|
|
2201
2149
|
},
|
|
2202
2150
|
{
|
|
2203
|
-
"
|
|
2204
|
-
"name": "id",
|
|
2205
|
-
"privacy": "public",
|
|
2151
|
+
"name": "error",
|
|
2206
2152
|
"type": {
|
|
2207
2153
|
"text": "string"
|
|
2208
2154
|
},
|
|
2209
|
-
"description": "
|
|
2210
|
-
"
|
|
2155
|
+
"description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
|
|
2156
|
+
"fieldName": "error"
|
|
2211
2157
|
},
|
|
2212
2158
|
{
|
|
2213
|
-
"
|
|
2214
|
-
"name": "inputId",
|
|
2215
|
-
"privacy": "private",
|
|
2159
|
+
"name": "format",
|
|
2216
2160
|
"type": {
|
|
2217
2161
|
"text": "string"
|
|
2218
2162
|
},
|
|
2219
|
-
"description": "
|
|
2163
|
+
"description": "Specifies the input mask format.",
|
|
2164
|
+
"fieldName": "format"
|
|
2220
2165
|
},
|
|
2221
2166
|
{
|
|
2222
|
-
"
|
|
2223
|
-
"name": "name",
|
|
2224
|
-
"privacy": "public",
|
|
2167
|
+
"name": "inputmode",
|
|
2225
2168
|
"type": {
|
|
2226
2169
|
"text": "string"
|
|
2227
2170
|
},
|
|
2228
|
-
"description": "
|
|
2229
|
-
"
|
|
2171
|
+
"description": "Exposes inputmode attribute for input.",
|
|
2172
|
+
"fieldName": "inputmode"
|
|
2173
|
+
},
|
|
2174
|
+
{
|
|
2175
|
+
"name": "layout",
|
|
2176
|
+
"type": {
|
|
2177
|
+
"text": "string"
|
|
2178
|
+
},
|
|
2179
|
+
"description": "Sets the layout of the combobox.",
|
|
2180
|
+
"default": "'classic'",
|
|
2181
|
+
"fieldName": "layout",
|
|
2182
|
+
"inheritedFrom": {
|
|
2183
|
+
"name": "AuroElement",
|
|
2184
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2185
|
+
}
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"name": "matchWidth",
|
|
2189
|
+
"type": {
|
|
2190
|
+
"text": "boolean"
|
|
2191
|
+
},
|
|
2192
|
+
"description": "If declared, the popover and trigger will be set to the same width.",
|
|
2193
|
+
"fieldName": "matchWidth"
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
"name": "noFilter",
|
|
2197
|
+
"type": {
|
|
2198
|
+
"text": "boolean"
|
|
2199
|
+
},
|
|
2200
|
+
"description": "If set, combobox will not filter menuoptions based on input.",
|
|
2201
|
+
"fieldName": "noFilter"
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
"name": "noFlip",
|
|
2205
|
+
"type": {
|
|
2206
|
+
"text": "boolean"
|
|
2207
|
+
},
|
|
2208
|
+
"description": "If declared, the bib will NOT flip to an alternate position\nwhen there isn't enough space in the specified `placement`.",
|
|
2209
|
+
"fieldName": "noFlip"
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
"name": "shift",
|
|
2213
|
+
"type": {
|
|
2214
|
+
"text": "boolean"
|
|
2215
|
+
},
|
|
2216
|
+
"description": "If declared, the dropdown will shift its position to avoid being cut off by the viewport.",
|
|
2217
|
+
"fieldName": "shift"
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
"name": "noValidate",
|
|
2221
|
+
"type": {
|
|
2222
|
+
"text": "boolean"
|
|
2223
|
+
},
|
|
2224
|
+
"description": "If set, disables auto-validation on blur.",
|
|
2225
|
+
"fieldName": "noValidate"
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"name": "offset",
|
|
2229
|
+
"type": {
|
|
2230
|
+
"text": "number"
|
|
2231
|
+
},
|
|
2232
|
+
"description": "Gap between the trigger element and bib.",
|
|
2233
|
+
"default": "0",
|
|
2234
|
+
"fieldName": "offset"
|
|
2230
2235
|
},
|
|
2231
2236
|
{
|
|
2232
|
-
"kind": "field",
|
|
2233
2237
|
"name": "onDark",
|
|
2234
|
-
"privacy": "public",
|
|
2235
2238
|
"type": {
|
|
2236
2239
|
"text": "boolean"
|
|
2237
2240
|
},
|
|
2238
2241
|
"description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
|
|
2239
|
-
"
|
|
2240
|
-
"reflects": true
|
|
2242
|
+
"fieldName": "onDark"
|
|
2241
2243
|
},
|
|
2242
2244
|
{
|
|
2243
|
-
"
|
|
2244
|
-
"name": "touched",
|
|
2245
|
-
"privacy": "private",
|
|
2245
|
+
"name": "optionSelected",
|
|
2246
2246
|
"type": {
|
|
2247
|
-
"text": "
|
|
2247
|
+
"text": "HTMLElement"
|
|
2248
2248
|
},
|
|
2249
|
-
"description": "
|
|
2249
|
+
"description": "Specifies the current selected option.",
|
|
2250
|
+
"fieldName": "optionSelected"
|
|
2250
2251
|
},
|
|
2251
2252
|
{
|
|
2252
|
-
"
|
|
2253
|
-
"name": "value",
|
|
2254
|
-
"privacy": "public",
|
|
2253
|
+
"name": "persistInput",
|
|
2255
2254
|
"type": {
|
|
2256
|
-
"text": "
|
|
2255
|
+
"text": "boolean"
|
|
2257
2256
|
},
|
|
2258
|
-
"description": "
|
|
2259
|
-
"
|
|
2257
|
+
"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.",
|
|
2258
|
+
"fieldName": "persistInput"
|
|
2260
2259
|
},
|
|
2261
2260
|
{
|
|
2262
|
-
"
|
|
2263
|
-
"name": "tabIndex",
|
|
2264
|
-
"privacy": "private",
|
|
2261
|
+
"name": "placement",
|
|
2265
2262
|
"type": {
|
|
2266
|
-
"text": "
|
|
2263
|
+
"text": "'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'"
|
|
2267
2264
|
},
|
|
2268
|
-
"description": "
|
|
2269
|
-
"
|
|
2270
|
-
"
|
|
2265
|
+
"description": "Position where the bib should appear relative to the trigger.",
|
|
2266
|
+
"default": "'bottom-start'",
|
|
2267
|
+
"fieldName": "placement"
|
|
2271
2268
|
},
|
|
2272
2269
|
{
|
|
2273
|
-
"
|
|
2274
|
-
"name": "ariaChecked",
|
|
2275
|
-
"privacy": "private",
|
|
2270
|
+
"name": "placeholder",
|
|
2276
2271
|
"type": {
|
|
2277
2272
|
"text": "string"
|
|
2278
2273
|
},
|
|
2279
|
-
"description": "
|
|
2280
|
-
"
|
|
2281
|
-
"reflects": true
|
|
2274
|
+
"description": "Define custom placeholder text, only supported by date input formats.",
|
|
2275
|
+
"fieldName": "placeholder"
|
|
2282
2276
|
},
|
|
2283
2277
|
{
|
|
2284
|
-
"
|
|
2285
|
-
"name": "ariaDisabled",
|
|
2286
|
-
"privacy": "private",
|
|
2278
|
+
"name": "required",
|
|
2287
2279
|
"type": {
|
|
2288
|
-
"text": "
|
|
2280
|
+
"text": "boolean"
|
|
2289
2281
|
},
|
|
2290
|
-
"description": "
|
|
2291
|
-
"
|
|
2292
|
-
"reflects": true
|
|
2282
|
+
"description": "Populates the `required` attribute on the input. Used for client-side validation.",
|
|
2283
|
+
"fieldName": "required"
|
|
2293
2284
|
},
|
|
2294
2285
|
{
|
|
2295
|
-
"
|
|
2296
|
-
"name": "role",
|
|
2297
|
-
"privacy": "private",
|
|
2286
|
+
"name": "setCustomValidity",
|
|
2298
2287
|
"type": {
|
|
2299
2288
|
"text": "string"
|
|
2300
2289
|
},
|
|
2301
|
-
"description": "
|
|
2302
|
-
"
|
|
2303
|
-
"reflects": true
|
|
2304
|
-
}
|
|
2305
|
-
],
|
|
2306
|
-
"events": [
|
|
2307
|
-
{
|
|
2308
|
-
"name": "auroCheckbox-input",
|
|
2309
|
-
"type": {
|
|
2310
|
-
"text": "CustomEvent"
|
|
2311
|
-
}
|
|
2312
|
-
},
|
|
2313
|
-
{
|
|
2314
|
-
"name": "auroCheckbox-focusin",
|
|
2315
|
-
"type": {
|
|
2316
|
-
"text": "CustomEvent"
|
|
2317
|
-
}
|
|
2318
|
-
},
|
|
2319
|
-
{
|
|
2320
|
-
"name": "auroCheckbox-focusout",
|
|
2321
|
-
"type": {
|
|
2322
|
-
"text": "CustomEvent"
|
|
2323
|
-
}
|
|
2324
|
-
},
|
|
2325
|
-
{
|
|
2326
|
-
"description": "(Deprecated) Notifies when checked value is changed.",
|
|
2327
|
-
"name": "change"
|
|
2290
|
+
"description": "Sets a custom help text message to display for all validityStates.",
|
|
2291
|
+
"fieldName": "setCustomValidity"
|
|
2328
2292
|
},
|
|
2329
2293
|
{
|
|
2330
|
-
"
|
|
2331
|
-
"name": "input"
|
|
2332
|
-
}
|
|
2333
|
-
],
|
|
2334
|
-
"attributes": [
|
|
2335
|
-
{
|
|
2336
|
-
"name": "appearance",
|
|
2294
|
+
"name": "setCustomValidityCustomError",
|
|
2337
2295
|
"type": {
|
|
2338
|
-
"text": "
|
|
2296
|
+
"text": "string"
|
|
2339
2297
|
},
|
|
2340
|
-
"description": "
|
|
2341
|
-
"
|
|
2342
|
-
"fieldName": "appearance"
|
|
2298
|
+
"description": "Custom help text message to display when validity = `customError`.",
|
|
2299
|
+
"fieldName": "setCustomValidityCustomError"
|
|
2343
2300
|
},
|
|
2344
2301
|
{
|
|
2345
|
-
"name": "
|
|
2302
|
+
"name": "setCustomValidityValueMissing",
|
|
2346
2303
|
"type": {
|
|
2347
|
-
"text": "
|
|
2304
|
+
"text": "string"
|
|
2348
2305
|
},
|
|
2349
|
-
"description": "
|
|
2350
|
-
"fieldName": "
|
|
2306
|
+
"description": "Custom help text message to display when validity = `valueMissing`.",
|
|
2307
|
+
"fieldName": "setCustomValidityValueMissing"
|
|
2351
2308
|
},
|
|
2352
2309
|
{
|
|
2353
|
-
"name": "
|
|
2310
|
+
"name": "setCustomValidityValueMissingFilter",
|
|
2354
2311
|
"type": {
|
|
2355
|
-
"text": "
|
|
2312
|
+
"text": "string"
|
|
2356
2313
|
},
|
|
2357
|
-
"description": "
|
|
2358
|
-
"fieldName": "
|
|
2314
|
+
"description": "Custom help text message to display when validity = `valueMissing` due to the user not choosing a menu option when behavior = \"filter\".",
|
|
2315
|
+
"fieldName": "setCustomValidityValueMissingFilter"
|
|
2359
2316
|
},
|
|
2360
2317
|
{
|
|
2361
|
-
"name": "
|
|
2318
|
+
"name": "triggerIcon",
|
|
2362
2319
|
"type": {
|
|
2363
2320
|
"text": "boolean"
|
|
2364
2321
|
},
|
|
2365
|
-
"description": "If set
|
|
2366
|
-
"fieldName": "
|
|
2322
|
+
"description": "If set, the `icon` attribute will be applied to the trigger `auro-input` element.",
|
|
2323
|
+
"fieldName": "triggerIcon"
|
|
2367
2324
|
},
|
|
2368
2325
|
{
|
|
2369
|
-
"name": "
|
|
2326
|
+
"name": "type",
|
|
2370
2327
|
"type": {
|
|
2371
2328
|
"text": "string"
|
|
2372
2329
|
},
|
|
2373
|
-
"description": "
|
|
2374
|
-
"fieldName": "
|
|
2330
|
+
"description": "Applies the defined value as the type attribute on `auro-input`.",
|
|
2331
|
+
"fieldName": "type"
|
|
2375
2332
|
},
|
|
2376
2333
|
{
|
|
2377
|
-
"name": "
|
|
2334
|
+
"name": "typedValue",
|
|
2378
2335
|
"type": {
|
|
2379
2336
|
"text": "string"
|
|
2380
2337
|
},
|
|
2381
|
-
"description": "
|
|
2382
|
-
"fieldName": "
|
|
2338
|
+
"description": "Specifies the value of the input element within the combobox.",
|
|
2339
|
+
"fieldName": "typedValue"
|
|
2383
2340
|
},
|
|
2384
2341
|
{
|
|
2385
|
-
"name": "
|
|
2342
|
+
"name": "validity",
|
|
2386
2343
|
"type": {
|
|
2387
|
-
"text": "
|
|
2344
|
+
"text": "string"
|
|
2388
2345
|
},
|
|
2389
|
-
"description": "
|
|
2390
|
-
"fieldName": "
|
|
2346
|
+
"description": "Specifies the `validityState` this element is in.",
|
|
2347
|
+
"fieldName": "validity"
|
|
2391
2348
|
},
|
|
2392
2349
|
{
|
|
2393
2350
|
"name": "value",
|
|
2394
2351
|
"type": {
|
|
2395
2352
|
"text": "string"
|
|
2396
2353
|
},
|
|
2397
|
-
"description": "
|
|
2354
|
+
"description": "Value selected for the dropdown menu.",
|
|
2398
2355
|
"fieldName": "value"
|
|
2399
2356
|
},
|
|
2400
2357
|
{
|
|
2401
|
-
"name": "
|
|
2358
|
+
"name": "largeFullscreenHeadline",
|
|
2402
2359
|
"type": {
|
|
2403
|
-
"text": "
|
|
2360
|
+
"text": "boolean"
|
|
2404
2361
|
},
|
|
2405
|
-
"description": "
|
|
2406
|
-
"fieldName": "
|
|
2362
|
+
"description": "If declared, make bib.fullscreen.headline in HeadingDisplay.\nOtherwise, Heading 600",
|
|
2363
|
+
"fieldName": "largeFullscreenHeadline"
|
|
2407
2364
|
},
|
|
2408
2365
|
{
|
|
2409
|
-
"name": "
|
|
2366
|
+
"name": "fullscreenBreakpoint",
|
|
2410
2367
|
"type": {
|
|
2411
|
-
"text": "
|
|
2368
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'"
|
|
2412
2369
|
},
|
|
2413
|
-
"description": "
|
|
2414
|
-
"
|
|
2370
|
+
"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.",
|
|
2371
|
+
"default": "'sm'",
|
|
2372
|
+
"fieldName": "fullscreenBreakpoint"
|
|
2415
2373
|
},
|
|
2416
2374
|
{
|
|
2417
|
-
"name": "
|
|
2375
|
+
"name": "shape",
|
|
2418
2376
|
"type": {
|
|
2419
2377
|
"text": "string"
|
|
2420
2378
|
},
|
|
2421
|
-
"
|
|
2422
|
-
"
|
|
2379
|
+
"fieldName": "shape",
|
|
2380
|
+
"inheritedFrom": {
|
|
2381
|
+
"name": "AuroElement",
|
|
2382
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2383
|
+
}
|
|
2423
2384
|
},
|
|
2424
2385
|
{
|
|
2425
|
-
"name": "
|
|
2386
|
+
"name": "size",
|
|
2426
2387
|
"type": {
|
|
2427
2388
|
"text": "string"
|
|
2428
2389
|
},
|
|
2429
|
-
"
|
|
2430
|
-
"
|
|
2390
|
+
"fieldName": "size",
|
|
2391
|
+
"inheritedFrom": {
|
|
2392
|
+
"name": "AuroElement",
|
|
2393
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2394
|
+
}
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"name": "ondark",
|
|
2398
|
+
"type": {
|
|
2399
|
+
"text": "boolean"
|
|
2400
|
+
},
|
|
2401
|
+
"fieldName": "onDark",
|
|
2402
|
+
"inheritedFrom": {
|
|
2403
|
+
"name": "AuroElement",
|
|
2404
|
+
"module": "components/layoutElement/src/auroElement.js"
|
|
2405
|
+
}
|
|
2431
2406
|
}
|
|
2432
2407
|
],
|
|
2433
2408
|
"superclass": {
|
|
2434
|
-
"name": "
|
|
2435
|
-
"
|
|
2409
|
+
"name": "AuroElement",
|
|
2410
|
+
"module": "/components/layoutElement/src/auroElement.js"
|
|
2436
2411
|
},
|
|
2437
|
-
"tagName": "auro-
|
|
2412
|
+
"tagName": "auro-combobox",
|
|
2438
2413
|
"customElement": true
|
|
2439
2414
|
}
|
|
2440
2415
|
],
|
|
2441
2416
|
"exports": [
|
|
2442
2417
|
{
|
|
2443
2418
|
"kind": "js",
|
|
2444
|
-
"name": "
|
|
2419
|
+
"name": "AuroCombobox",
|
|
2445
2420
|
"declaration": {
|
|
2446
|
-
"name": "
|
|
2447
|
-
"module": "components/
|
|
2421
|
+
"name": "AuroCombobox",
|
|
2422
|
+
"module": "components/combobox/src/auro-combobox.js"
|
|
2448
2423
|
}
|
|
2449
2424
|
}
|
|
2450
2425
|
]
|
|
2451
2426
|
},
|
|
2452
2427
|
{
|
|
2453
2428
|
"kind": "javascript-module",
|
|
2454
|
-
"path": "components/
|
|
2455
|
-
"declarations": [
|
|
2429
|
+
"path": "components/combobox/src/comboboxKeyboardStrategy.js",
|
|
2430
|
+
"declarations": [
|
|
2431
|
+
{
|
|
2432
|
+
"kind": "variable",
|
|
2433
|
+
"name": "comboboxKeyboardStrategy",
|
|
2434
|
+
"type": {
|
|
2435
|
+
"text": "object"
|
|
2436
|
+
},
|
|
2437
|
+
"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(); } } }, }"
|
|
2438
|
+
}
|
|
2439
|
+
],
|
|
2456
2440
|
"exports": [
|
|
2457
2441
|
{
|
|
2458
2442
|
"kind": "js",
|
|
2459
|
-
"name": "
|
|
2443
|
+
"name": "comboboxKeyboardStrategy",
|
|
2460
2444
|
"declaration": {
|
|
2461
|
-
"name": "
|
|
2462
|
-
"module": "components/
|
|
2445
|
+
"name": "comboboxKeyboardStrategy",
|
|
2446
|
+
"module": "components/combobox/src/comboboxKeyboardStrategy.js"
|
|
2463
2447
|
}
|
|
2464
|
-
}
|
|
2448
|
+
}
|
|
2449
|
+
]
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
"kind": "javascript-module",
|
|
2453
|
+
"path": "components/combobox/src/index.js",
|
|
2454
|
+
"declarations": [],
|
|
2455
|
+
"exports": [
|
|
2465
2456
|
{
|
|
2466
2457
|
"kind": "js",
|
|
2467
|
-
"name": "
|
|
2458
|
+
"name": "AuroCombobox",
|
|
2468
2459
|
"declaration": {
|
|
2469
|
-
"name": "
|
|
2470
|
-
"module": "components/
|
|
2460
|
+
"name": "AuroCombobox",
|
|
2461
|
+
"module": "components/combobox/src/index.js"
|
|
2471
2462
|
}
|
|
2472
2463
|
}
|
|
2473
2464
|
]
|
|
2474
2465
|
},
|
|
2475
2466
|
{
|
|
2476
2467
|
"kind": "javascript-module",
|
|
2477
|
-
"path": "components/
|
|
2468
|
+
"path": "components/combobox/src/registered.js",
|
|
2478
2469
|
"declarations": [],
|
|
2479
|
-
"exports": [
|
|
2470
|
+
"exports": [
|
|
2471
|
+
{
|
|
2472
|
+
"kind": "js",
|
|
2473
|
+
"name": "AuroCombobox",
|
|
2474
|
+
"declaration": {
|
|
2475
|
+
"name": "AuroCombobox",
|
|
2476
|
+
"module": "components/combobox/src/registered.js"
|
|
2477
|
+
}
|
|
2478
|
+
}
|
|
2479
|
+
]
|
|
2480
2480
|
},
|
|
2481
2481
|
{
|
|
2482
2482
|
"kind": "javascript-module",
|