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