@aurodesignsystem-dev/auro-formkit 0.0.0-pr1595.0 → 0.0.0-pr1595.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.
Files changed (65) hide show
  1. package/components/checkbox/demo/customize.min.js +1 -1
  2. package/components/checkbox/demo/getting-started.min.js +1 -1
  3. package/components/checkbox/demo/index.min.js +1 -1
  4. package/components/checkbox/dist/index.js +1 -1
  5. package/components/checkbox/dist/registered.js +1 -1
  6. package/components/combobox/demo/api.md +2 -2
  7. package/components/combobox/demo/customize.min.js +26 -10
  8. package/components/combobox/demo/getting-started.min.js +26 -10
  9. package/components/combobox/demo/index.min.js +26 -10
  10. package/components/combobox/dist/auro-combobox.d.ts +10 -22
  11. package/components/combobox/dist/index.js +22 -8
  12. package/components/combobox/dist/registered.js +22 -8
  13. package/components/counter/demo/api.md +1 -1
  14. package/components/counter/demo/customize.min.js +6 -3
  15. package/components/counter/demo/index.min.js +6 -3
  16. package/components/counter/dist/auro-counter-group.d.ts +4 -4
  17. package/components/counter/dist/index.js +6 -3
  18. package/components/counter/dist/registered.js +6 -3
  19. package/components/datepicker/demo/api.md +3 -3
  20. package/components/datepicker/demo/customize.min.js +39 -10
  21. package/components/datepicker/demo/index.min.js +39 -10
  22. package/components/datepicker/dist/auro-calendar-cell.d.ts +4 -5
  23. package/components/datepicker/dist/auro-calendar-month.d.ts +2 -4
  24. package/components/datepicker/dist/auro-calendar.d.ts +10 -7
  25. package/components/datepicker/dist/auro-datepicker.d.ts +14 -19
  26. package/components/datepicker/dist/index.js +39 -10
  27. package/components/datepicker/dist/registered.js +39 -10
  28. package/components/dropdown/demo/api.md +1 -1
  29. package/components/dropdown/demo/customize.min.js +3 -2
  30. package/components/dropdown/demo/getting-started.min.js +16 -6
  31. package/components/dropdown/demo/index.min.js +3 -2
  32. package/components/dropdown/dist/auro-dropdown.d.ts +3 -6
  33. package/components/dropdown/dist/index.js +3 -2
  34. package/components/dropdown/dist/registered.js +3 -2
  35. package/components/form/demo/customize.min.js +92 -33
  36. package/components/form/demo/getting-started.min.js +92 -33
  37. package/components/form/demo/index.min.js +92 -33
  38. package/components/form/demo/registerDemoDeps.min.js +92 -33
  39. package/components/input/demo/customize.min.js +13 -4
  40. package/components/input/demo/getting-started.min.js +13 -4
  41. package/components/input/demo/index.min.js +13 -4
  42. package/components/input/dist/base-input.d.ts +12 -3
  43. package/components/input/dist/index.js +13 -4
  44. package/components/input/dist/registered.js +13 -4
  45. package/components/menu/demo/api.md +4 -3
  46. package/components/menu/demo/index.min.js +4 -2
  47. package/components/menu/dist/auro-menu.d.ts +3 -9
  48. package/components/menu/dist/auro-menuoption.d.ts +1 -1
  49. package/components/menu/dist/index.js +4 -2
  50. package/components/menu/dist/registered.js +4 -2
  51. package/components/radio/demo/api.md +1 -1
  52. package/components/radio/demo/customize.min.js +2 -1
  53. package/components/radio/demo/getting-started.min.js +2 -1
  54. package/components/radio/demo/index.min.js +2 -1
  55. package/components/radio/dist/auro-radio-group.d.ts +2 -4
  56. package/components/radio/dist/index.js +2 -1
  57. package/components/radio/dist/registered.js +2 -1
  58. package/components/select/demo/customize.min.js +9 -6
  59. package/components/select/demo/getting-started.min.js +9 -6
  60. package/components/select/demo/index.min.js +9 -6
  61. package/components/select/dist/auro-select.d.ts +1 -1
  62. package/components/select/dist/index.js +5 -4
  63. package/components/select/dist/registered.js +5 -4
  64. package/custom-elements.json +1542 -1582
  65. package/package.json +1 -1
@@ -279,113 +279,40 @@
279
279
  },
280
280
  {
281
281
  "kind": "javascript-module",
282
- "path": "components/combobox/src/auro-combobox.js",
282
+ "path": "components/checkbox/src/auro-checkbox-group.js",
283
283
  "declarations": [
284
284
  {
285
285
  "kind": "class",
286
- "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.",
287
- "name": "AuroCombobox",
286
+ "description": "The `auro-checkbox-group` element is a wrapper for `auro-checkbox` elements.",
287
+ "name": "AuroCheckboxGroup",
288
288
  "cssParts": [
289
289
  {
290
- "description": "The help text and error message content container.",
290
+ "description": "Apply css to the help text element that displays helper or error messages.",
291
291
  "name": "helpText"
292
292
  }
293
293
  ],
294
294
  "slots": [
295
295
  {
296
- "description": "Default slot for the menu content.",
297
- "name": ""
296
+ "description": "Allows for the legend to be overridden.",
297
+ "name": "legend"
298
298
  },
299
299
  {
300
- "type": {
301
- "text": "HTMLSlotElement"
302
- },
303
300
  "description": "Allows overriding the optional display text \"(optional)\", which appears next to the label.",
304
301
  "name": "optionalLabel"
305
302
  },
306
303
  {
307
- "description": "Sets aria-label on clear button",
308
- "name": "ariaLabel.input.clear"
309
- },
310
- {
311
- "description": "Sets aria-label on close button in fullscreen bib",
312
- "name": "ariaLabel.bib.close"
313
- },
314
- {
315
- "description": "Defines the headline to display above menu-options",
316
- "name": "bib.fullscreen.headline"
317
- },
318
- {
319
- "description": "Defines the content of the label.",
320
- "name": "label"
321
- },
322
- {
323
- "description": "Defines the content of the helpText.",
304
+ "description": "Allows for the helper text to be overridden.",
324
305
  "name": "helpText"
325
306
  },
326
307
  {
327
- "description": "Allows custom HTML content to display the selected value when the combobox is not focused. Only works with `snowflake` and `emphasized` layouts.",
328
- "name": "displayValue"
308
+ "description": "The default slot for the checkbox items.",
309
+ "name": "default"
329
310
  }
330
311
  ],
331
312
  "members": [
332
313
  {
333
314
  "kind": "method",
334
- "name": "_initializeDefaults",
335
- "privacy": "private",
336
- "return": {
337
- "type": {
338
- "text": "void"
339
- }
340
- }
341
- },
342
- {
343
- "kind": "method",
344
- "name": "_scheduleTimer",
345
- "parameters": [
346
- {
347
- "name": "fn",
348
- "description": "Callback to run.",
349
- "type": {
350
- "text": "Function"
351
- }
352
- },
353
- {
354
- "name": "ms",
355
- "description": "Delay in milliseconds.",
356
- "type": {
357
- "text": "number"
358
- }
359
- }
360
- ],
361
- "description": "Wraps setTimeout and records the timer id so disconnectedCallback\ncan cancel any outstanding callbacks. The id is removed from the set\nonce the callback fires so the set doesn't grow unbounded.",
362
- "return": {
363
- "type": {
364
- "text": "number"
365
- }
366
- },
367
- "privacy": "private"
368
- },
369
- {
370
- "kind": "field",
371
- "name": "inputValue",
372
- "description": "Returns the current value of the input element within the combobox.",
373
- "return": {
374
- "type": {
375
- "text": "string|undefined"
376
- }
377
- },
378
- "readonly": true
379
- },
380
- {
381
- "kind": "method",
382
- "name": "isValid",
383
- "description": "Checks if the element is valid.",
384
- "return": {
385
- "type": {
386
- "text": "boolean"
387
- }
388
- }
315
+ "name": "_initializeDefaults"
389
316
  },
390
317
  {
391
318
  "kind": "method",
@@ -394,7 +321,7 @@
394
321
  "parameters": [
395
322
  {
396
323
  "name": "name",
397
- "default": "'auro-combobox'",
324
+ "default": "\"auro-checkbox-group\"",
398
325
  "description": "The name of the element that you want to register.",
399
326
  "optional": true,
400
327
  "type": {
@@ -406,96 +333,24 @@
406
333
  },
407
334
  {
408
335
  "kind": "method",
409
- "name": "activateFirstEnabledAvailableOption",
410
- "description": "Mark the first available (non-hidden), enabled option as `active`.",
411
- "privacy": "private",
412
- "return": {
413
- "type": {
414
- "text": "void"
415
- }
416
- }
417
- },
418
- {
419
- "kind": "method",
420
- "name": "activateLastEnabledAvailableOption",
421
- "description": "Mark the last available (non-hidden), enabled option as `active`.",
422
- "privacy": "private",
423
- "return": {
424
- "type": {
425
- "text": "void"
426
- }
427
- }
428
- },
429
- {
430
- "kind": "method",
431
- "name": "updateFilter",
432
- "description": "Updates the filter for the available options based on the input value.",
433
- "privacy": "private"
434
- },
435
- {
436
- "kind": "method",
437
- "name": "syncValuesAndStates",
438
- "description": "Syncs the values and states of this component, the input, and the menu, including this.optionSelected and this.menu.optionSelected.",
439
- "privacy": "private",
440
- "return": {
441
- "type": {
442
- "text": "void"
443
- }
444
- }
445
- },
446
- {
447
- "kind": "method",
448
- "name": "updateTriggerTextDisplay",
449
- "parameters": [
450
- {
451
- "name": "label",
452
- "description": "The label of the selected option.",
453
- "type": {
454
- "text": "string"
455
- }
456
- }
457
- ],
458
- "description": "Update displayValue or input.value, it's called when making a selection.",
459
- "privacy": "private"
460
- },
461
- {
462
- "kind": "method",
463
- "name": "syncInputValuesAcrossTriggerAndBib",
336
+ "name": "handleValueUpdate",
464
337
  "parameters": [
465
338
  {
466
- "name": "nextValue",
467
- "description": "The value to write to both inputs.",
339
+ "name": "value",
340
+ "description": "The value of the checkbox.",
468
341
  "type": {
469
- "text": "string"
342
+ "text": "String"
470
343
  }
471
- }
472
- ],
473
- "description": "Writes nextValue to the trigger input and the bib input when their current\nvalue differs, then re-asserts imask after Lit's update flushes.",
474
- "return": {
475
- "type": {
476
- "text": "Promise<void>"
477
- }
478
- },
479
- "privacy": "private"
480
- },
481
- {
482
- "kind": "method",
483
- "name": "handleMenuOptions",
484
- "parameters": [
485
- {
486
- "name": "{ preferComboboxValue = false }",
487
- "default": "{}"
488
344
  },
489
345
  {
490
- "description": "Optional flag bag.",
491
- "name": "options",
492
- "optional": true,
346
+ "name": "selected",
347
+ "description": "The checked state of the checkbox.",
493
348
  "type": {
494
- "text": "@param {boolean} [options.preferComboboxValue=false] - When true,\n * handleMenuOptions matches the selected option against `this.value`\n * first instead of `this.input.value`. Needed on mount and re-mount\n * because under `persistInput` the consumer's typedValue prop can drift\n * from the framework value (Svelte `{#key}` re-mount after a swap, or\n * SPA preselect after route change) and the old input-first match would\n * then pick the stale text. Only handleSlotChange passes this; typing\n * and clearing paths keep the input-first match so user clears aren't\n * undone.\n * "
349
+ "text": "Boolean"
495
350
  }
496
351
  }
497
352
  ],
498
- "description": "Processes hidden state of all menu options and determines if there are any available options not hidden.",
353
+ "description": "Helper method to handle checkbox value changing.",
499
354
  "privacy": "private",
500
355
  "return": {
501
356
  "type": {
@@ -505,8 +360,8 @@
505
360
  },
506
361
  {
507
362
  "kind": "method",
508
- "name": "generateOptionsArray",
509
- "description": "Determines the element error state based on the `required` attribute and input value.",
363
+ "name": "handlePreselectedItems",
364
+ "description": "Helper method that handles the state of preselected checkboxes.",
510
365
  "privacy": "private",
511
366
  "return": {
512
367
  "type": {
@@ -516,8 +371,9 @@
516
371
  },
517
372
  {
518
373
  "kind": "method",
519
- "name": "hideBib",
520
- "description": "Hides the dropdown bib if its open.",
374
+ "name": "handleItems",
375
+ "description": "Helper method that handles the state of checkboxes.",
376
+ "privacy": "private",
521
377
  "return": {
522
378
  "type": {
523
379
  "text": "void"
@@ -526,8 +382,8 @@
526
382
  },
527
383
  {
528
384
  "kind": "method",
529
- "name": "showBib",
530
- "description": "Shows the dropdown bib if there are options to show.",
385
+ "name": "reset",
386
+ "description": "Resets component to initial state.",
531
387
  "return": {
532
388
  "type": {
533
389
  "text": "void"
@@ -536,252 +392,326 @@
536
392
  },
537
393
  {
538
394
  "kind": "method",
539
- "name": "configureDropdown",
540
- "description": "Binds all behavior needed to the dropdown after rendering.",
541
- "privacy": "private",
542
- "return": {
543
- "type": {
544
- "text": "void"
395
+ "name": "validate",
396
+ "parameters": [
397
+ {
398
+ "name": "force",
399
+ "default": "false",
400
+ "description": "Whether to force validation.",
401
+ "optional": true,
402
+ "type": {
403
+ "text": "boolean"
404
+ }
545
405
  }
546
- }
406
+ ],
407
+ "description": "Validates value."
547
408
  },
548
409
  {
549
- "kind": "method",
550
- "name": "setClearBtnFocus",
551
- "privacy": "private"
410
+ "kind": "field",
411
+ "name": "appearance",
412
+ "privacy": "public",
413
+ "type": {
414
+ "text": "'default' | 'inverse'"
415
+ },
416
+ "description": "Defines whether the component will be on lighter or darker backgrounds.",
417
+ "default": "'default'",
418
+ "attribute": "appearance",
419
+ "reflects": true
552
420
  },
553
421
  {
554
- "kind": "method",
555
- "name": "setTriggerInputFocus",
556
- "privacy": "private"
422
+ "kind": "field",
423
+ "name": "disabled",
424
+ "privacy": "public",
425
+ "type": {
426
+ "text": "boolean"
427
+ },
428
+ "description": "If set, disables the checkbox group.",
429
+ "attribute": "disabled",
430
+ "reflects": true
557
431
  },
558
432
  {
559
- "kind": "method",
560
- "name": "setInputFocus",
561
- "privacy": "private"
433
+ "kind": "field",
434
+ "name": "error",
435
+ "privacy": "public",
436
+ "type": {
437
+ "text": "string"
438
+ },
439
+ "description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
440
+ "attribute": "error",
441
+ "reflects": true
562
442
  },
563
443
  {
564
- "kind": "method",
565
- "name": "updateBibDialogRole",
566
- "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.",
567
- "privacy": "private"
444
+ "kind": "field",
445
+ "name": "horizontal",
446
+ "privacy": "public",
447
+ "type": {
448
+ "text": "boolean"
449
+ },
450
+ "description": "If set, checkboxes will be aligned horizontally.",
451
+ "attribute": "horizontal",
452
+ "reflects": true
568
453
  },
569
454
  {
570
- "kind": "method",
571
- "name": "updateMenuShapeSize",
572
- "description": "Update menu to default for fullscreen bib, otherwise to this.size and this.shape.",
573
- "privacy": "private"
455
+ "kind": "field",
456
+ "name": "noValidate",
457
+ "privacy": "public",
458
+ "type": {
459
+ "text": "boolean"
460
+ },
461
+ "description": "If set, disables auto-validation on blur.",
462
+ "attribute": "novalidate",
463
+ "reflects": true
574
464
  },
575
465
  {
576
- "kind": "method",
577
- "name": "_getAnnouncementRoot",
578
- "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.",
579
- "privacy": "private",
580
- "return": {
581
- "type": {
582
- "text": "ShadowRoot"
583
- }
584
- }
466
+ "kind": "field",
467
+ "name": "onDark",
468
+ "privacy": "public",
469
+ "type": {
470
+ "text": "boolean"
471
+ },
472
+ "description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
473
+ "attribute": "ondark",
474
+ "reflects": true
585
475
  },
586
476
  {
587
- "kind": "method",
588
- "name": "configureMenu",
589
- "description": "Binds all behavior needed to the menu after rendering.",
590
- "privacy": "private",
591
- "return": {
592
- "type": {
593
- "text": "void"
594
- }
595
- }
477
+ "kind": "field",
478
+ "name": "required",
479
+ "privacy": "public",
480
+ "type": {
481
+ "text": "boolean"
482
+ },
483
+ "description": "Populates the `required` attribute on the element. Used for client-side validation.",
484
+ "attribute": "required",
485
+ "reflects": true
596
486
  },
597
487
  {
598
- "kind": "method",
599
- "name": "configureInput",
600
- "description": "Binds all behavior needed to the input after rendering.",
601
- "privacy": "private",
602
- "return": {
603
- "type": {
604
- "text": "void"
605
- }
606
- }
488
+ "kind": "field",
489
+ "name": "setCustomValidity",
490
+ "privacy": "public",
491
+ "type": {
492
+ "text": "string"
493
+ },
494
+ "description": "Sets a custom help text message to display for all validityStates.",
495
+ "attribute": "setcustomvalidity"
607
496
  },
608
497
  {
609
- "kind": "method",
610
- "name": "handleMenuLoadingChange",
611
- "parameters": [
612
- {
613
- "name": "event",
614
- "description": "The event object containing details about the loading state change.",
615
- "type": {
616
- "text": "CustomEvent"
617
- }
618
- },
619
- {
620
- "description": "Indicates whether the menu is currently loading.",
621
- "name": "event.detail.loading",
622
- "type": {
623
- "text": "boolean"
624
- }
625
- },
626
- {
627
- "description": "Indicates if there are loading placeholders present.",
628
- "name": "event.detail.hasLoadingPlaceholder",
629
- "type": {
630
- "text": "boolean"
631
- }
632
- }
633
- ],
634
- "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.",
635
- "privacy": "private",
636
- "return": {
637
- "type": {
638
- "text": "void"
639
- }
640
- }
498
+ "kind": "field",
499
+ "name": "setCustomValidityCustomError",
500
+ "privacy": "public",
501
+ "type": {
502
+ "text": "string"
503
+ },
504
+ "description": "Custom help text message to display when validity = `customError`.",
505
+ "attribute": "setcustomvaliditycustomerror"
641
506
  },
642
507
  {
643
- "kind": "method",
644
- "name": "handleInputValueChange",
645
- "parameters": [
646
- {
647
- "name": "event",
648
- "description": "The input event triggered by the input element.",
649
- "type": {
650
- "text": "Event"
651
- }
652
- }
653
- ],
654
- "description": "Handle changes to the input value and trigger changes that should result.",
655
- "privacy": "private",
656
- "return": {
657
- "type": {
658
- "text": "void"
659
- }
660
- }
508
+ "kind": "field",
509
+ "name": "setCustomValidityValueMissing",
510
+ "privacy": "public",
511
+ "type": {
512
+ "text": "string"
513
+ },
514
+ "description": "Custom help text message to display when validity = `valueMissing`.",
515
+ "attribute": "setcustomvalidityvaluemissing"
661
516
  },
662
517
  {
663
- "kind": "method",
664
- "name": "handleTriggerInputValueChange",
665
- "parameters": [
666
- {
667
- "name": "event",
668
- "description": "The input event from the trigger input element.",
669
- "type": {
670
- "text": "Event"
671
- }
672
- }
673
- ],
674
- "description": "Handles input value changes originating from the trigger input.\nRefreshes menu options and filtering, delegates to handleInputValueChange\nfor value synchronization, and manages fullscreen bib focus.",
675
- "privacy": "private",
676
- "return": {
677
- "type": {
678
- "text": "void"
679
- }
680
- }
681
- },
518
+ "kind": "field",
519
+ "name": "validity",
520
+ "privacy": "public",
521
+ "type": {
522
+ "text": "string"
523
+ },
524
+ "description": "Specifies the `validityState` this element is in.",
525
+ "attribute": "validity",
526
+ "reflects": true
527
+ }
528
+ ],
529
+ "events": [
682
530
  {
683
- "kind": "method",
684
- "name": "configureCombobox",
685
- "description": "Binds all behavior needed to the combobox after rendering.",
686
- "privacy": "private",
687
- "return": {
688
- "type": {
689
- "text": "void"
690
- }
691
- }
531
+ "name": "input",
532
+ "type": {
533
+ "text": "CustomEvent"
534
+ },
535
+ "description": "Notifies when the group's value changes due to a checkbox selection being added or removed."
692
536
  },
693
537
  {
694
- "kind": "method",
695
- "name": "focus",
696
- "description": "Focuses the combobox trigger input.",
697
- "return": {
698
- "type": {
699
- "text": "void"
700
- }
701
- }
702
- },
538
+ "description": "Notifies that the `validity` and `errorMessage` values have changed.",
539
+ "name": "auroFormElement-validated"
540
+ }
541
+ ],
542
+ "attributes": [
703
543
  {
704
- "kind": "method",
705
- "name": "setMenuValue",
706
- "parameters": [
707
- {
708
- "name": "value",
709
- "description": "The value to set on the menu.",
710
- "type": {
711
- "text": "string"
712
- }
713
- }
714
- ],
715
- "description": "Sets the menu value if menu is available.",
716
- "return": {
717
- "type": {
718
- "text": "void"
719
- }
720
- }
544
+ "name": "appearance",
545
+ "type": {
546
+ "text": "'default' | 'inverse'"
547
+ },
548
+ "description": "Defines whether the component will be on lighter or darker backgrounds.",
549
+ "default": "'default'",
550
+ "fieldName": "appearance"
721
551
  },
722
552
  {
723
- "kind": "method",
724
- "name": "reset",
725
- "description": "Resets component to initial state.",
726
- "return": {
727
- "type": {
728
- "text": "void"
729
- }
730
- }
553
+ "name": "disabled",
554
+ "type": {
555
+ "text": "boolean"
556
+ },
557
+ "description": "If set, disables the checkbox group.",
558
+ "fieldName": "disabled"
731
559
  },
732
560
  {
733
- "kind": "method",
734
- "name": "clear",
735
- "description": "Clears the current value of the combobox.",
736
- "return": {
737
- "type": {
738
- "text": "void"
739
- }
740
- }
561
+ "name": "error",
562
+ "type": {
563
+ "text": "string"
564
+ },
565
+ "description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
566
+ "fieldName": "error"
741
567
  },
742
568
  {
743
- "kind": "method",
744
- "name": "validate",
745
- "parameters": [
746
- {
747
- "name": "force",
748
- "default": "false",
749
- "description": "Whether to force validation.",
569
+ "name": "horizontal",
570
+ "type": {
571
+ "text": "boolean"
572
+ },
573
+ "description": "If set, checkboxes will be aligned horizontally.",
574
+ "fieldName": "horizontal"
575
+ },
576
+ {
577
+ "name": "novalidate",
578
+ "type": {
579
+ "text": "boolean"
580
+ },
581
+ "description": "If set, disables auto-validation on blur.",
582
+ "fieldName": "noValidate"
583
+ },
584
+ {
585
+ "name": "ondark",
586
+ "type": {
587
+ "text": "boolean"
588
+ },
589
+ "description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
590
+ "fieldName": "onDark"
591
+ },
592
+ {
593
+ "name": "required",
594
+ "type": {
595
+ "text": "boolean"
596
+ },
597
+ "description": "Populates the `required` attribute on the element. Used for client-side validation.",
598
+ "fieldName": "required"
599
+ },
600
+ {
601
+ "name": "setcustomvalidity",
602
+ "type": {
603
+ "text": "string"
604
+ },
605
+ "description": "Sets a custom help text message to display for all validityStates.",
606
+ "fieldName": "setCustomValidity"
607
+ },
608
+ {
609
+ "name": "setcustomvaliditycustomerror",
610
+ "type": {
611
+ "text": "string"
612
+ },
613
+ "description": "Custom help text message to display when validity = `customError`.",
614
+ "fieldName": "setCustomValidityCustomError"
615
+ },
616
+ {
617
+ "name": "setcustomvalidityvaluemissing",
618
+ "type": {
619
+ "text": "string"
620
+ },
621
+ "description": "Custom help text message to display when validity = `valueMissing`.",
622
+ "fieldName": "setCustomValidityValueMissing"
623
+ },
624
+ {
625
+ "name": "validity",
626
+ "type": {
627
+ "text": "string"
628
+ },
629
+ "description": "Specifies the `validityState` this element is in.",
630
+ "fieldName": "validity"
631
+ }
632
+ ],
633
+ "superclass": {
634
+ "name": "LitElement",
635
+ "package": "lit"
636
+ },
637
+ "tagName": "auro-checkbox-group",
638
+ "customElement": true
639
+ }
640
+ ],
641
+ "exports": [
642
+ {
643
+ "kind": "js",
644
+ "name": "AuroCheckboxGroup",
645
+ "declaration": {
646
+ "name": "AuroCheckboxGroup",
647
+ "module": "components/checkbox/src/auro-checkbox-group.js"
648
+ }
649
+ }
650
+ ]
651
+ },
652
+ {
653
+ "kind": "javascript-module",
654
+ "path": "components/checkbox/src/auro-checkbox.js",
655
+ "declarations": [
656
+ {
657
+ "kind": "class",
658
+ "description": "The `auro-checkbox` element is for the purpose of allowing users to select one or more options of a limited number of choices.",
659
+ "name": "AuroCheckbox",
660
+ "cssParts": [
661
+ {
662
+ "description": "apply css to a specific checkbox.",
663
+ "name": "checkbox"
664
+ },
665
+ {
666
+ "description": "apply css to a specific checkbox's input.",
667
+ "name": "checkbox-input"
668
+ },
669
+ {
670
+ "description": "apply css to a specific checkbox's label.",
671
+ "name": "checkbox-label"
672
+ }
673
+ ],
674
+ "slots": [
675
+ {
676
+ "description": "The default slot for the checkbox label.",
677
+ "name": "default"
678
+ }
679
+ ],
680
+ "members": [
681
+ {
682
+ "kind": "method",
683
+ "name": "_initializeDefaults"
684
+ },
685
+ {
686
+ "kind": "method",
687
+ "name": "register",
688
+ "static": true,
689
+ "parameters": [
690
+ {
691
+ "name": "name",
692
+ "default": "\"auro-checkbox\"",
693
+ "description": "The name of element that you want to register to.",
750
694
  "optional": true,
751
695
  "type": {
752
- "text": "boolean"
696
+ "text": "string"
753
697
  }
754
698
  }
755
699
  ],
756
- "description": "Validates value."
700
+ "description": "This will register this element with the browser."
757
701
  },
758
702
  {
759
703
  "kind": "method",
760
- "name": "transportAssignedNodes",
704
+ "name": "handleChange",
761
705
  "parameters": [
762
706
  {
763
- "name": "slot",
764
- "description": "The slot element containing the nodes to apply.",
765
- "type": {
766
- "text": "HTMLSlotElement"
767
- }
768
- },
769
- {
770
- "name": "target",
771
- "description": "The target element to apply the nodes to.",
772
- "type": {
773
- "text": "HTMLElement"
774
- }
775
- },
776
- {
777
- "name": "newSlotName",
778
- "description": "The new slot name for the applied nodes.",
707
+ "name": "event",
708
+ "description": "The change event from the checkbox input.",
779
709
  "type": {
780
- "text": "string"
710
+ "text": "Event"
781
711
  }
782
712
  }
783
713
  ],
784
- "description": "Applies slotted nodes to a target element with a new slot name.",
714
+ "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.",
785
715
  "privacy": "private",
786
716
  "return": {
787
717
  "type": {
@@ -791,31 +721,80 @@
791
721
  },
792
722
  {
793
723
  "kind": "method",
794
- "name": "updateActiveOption",
724
+ "name": "handleInput",
795
725
  "parameters": [
796
726
  {
797
- "name": "index",
798
- "description": "Index of the option to make active.",
727
+ "name": "event",
728
+ "description": "The input event from the checkbox input.",
799
729
  "type": {
800
- "text": "number"
730
+ "text": "Event"
801
731
  }
802
732
  }
803
733
  ],
804
- "description": "Updates the active option in the menu."
734
+ "description": "Handles the input event for the checkbox input.\nUpdates the checked state and dispatches a custom 'auroCheckbox-input' event.",
735
+ "privacy": "private",
736
+ "return": {
737
+ "type": {
738
+ "text": "void"
739
+ }
740
+ }
805
741
  },
806
742
  {
807
743
  "kind": "method",
808
- "name": "handleSlotChange",
744
+ "name": "handleFocusin",
745
+ "description": "Function to support",
746
+ "privacy": "private",
747
+ "return": {
748
+ "type": {
749
+ "text": "void"
750
+ }
751
+ }
752
+ },
753
+ {
754
+ "kind": "method",
755
+ "name": "generateIconHtml",
756
+ "description": "Function to generate checkmark svg.",
757
+ "privacy": "private",
758
+ "return": {
759
+ "type": {
760
+ "text": "HTMLElement"
761
+ }
762
+ }
763
+ },
764
+ {
765
+ "kind": "method",
766
+ "name": "reset",
767
+ "description": "Resets component to initial state.",
768
+ "return": {
769
+ "type": {
770
+ "text": "void"
771
+ }
772
+ }
773
+ },
774
+ {
775
+ "kind": "method",
776
+ "name": "updateAriaLabel",
777
+ "description": "Updates the aria-label based on slot content.",
778
+ "privacy": "private",
779
+ "return": {
780
+ "type": {
781
+ "text": "void"
782
+ }
783
+ }
784
+ },
785
+ {
786
+ "kind": "method",
787
+ "name": "handleKeyDown",
809
788
  "parameters": [
810
789
  {
811
790
  "name": "event",
812
- "description": "`slotchange` event.",
791
+ "description": "The keydown event from the checkbox input.",
813
792
  "type": {
814
- "text": "Event"
793
+ "text": "KeyboardEvent"
815
794
  }
816
795
  }
817
796
  ],
818
- "description": "Watch for slot changes and recalculate the menuoptions.",
797
+ "description": "Handles keydown event to toggle the checkbox with Space key.",
819
798
  "privacy": "private",
820
799
  "return": {
821
800
  "type": {
@@ -828,7 +807,7 @@
828
807
  "name": "appearance",
829
808
  "privacy": "public",
830
809
  "type": {
831
- "text": "string"
810
+ "text": "'default' | 'inverse'"
832
811
  },
833
812
  "description": "Defines whether the component will be on lighter or darker backgrounds.",
834
813
  "default": "'default'",
@@ -837,956 +816,715 @@
837
816
  },
838
817
  {
839
818
  "kind": "field",
840
- "name": "autocomplete",
819
+ "name": "checked",
841
820
  "privacy": "public",
842
821
  "type": {
843
- "text": "string"
822
+ "text": "boolean"
844
823
  },
845
- "description": "An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete=\"off\"` is supported.",
846
- "attribute": "autocomplete",
824
+ "description": "If set to true, the checkbox will be filled with a checkmark.",
825
+ "attribute": "checked",
847
826
  "reflects": true
848
827
  },
849
828
  {
850
829
  "kind": "field",
851
- "name": "autoPlacement",
830
+ "name": "disabled",
852
831
  "privacy": "public",
853
832
  "type": {
854
833
  "text": "boolean"
855
834
  },
856
- "description": "If declared, bib's position will be automatically calculated where to appear.",
857
- "attribute": "autoplacement",
835
+ "description": "If set to true, the checkbox will not be clickable.",
836
+ "attribute": "disabled",
858
837
  "reflects": true
859
838
  },
860
839
  {
861
840
  "kind": "field",
862
- "name": "availableOptions",
863
- "privacy": "private",
841
+ "name": "error",
842
+ "privacy": "public",
864
843
  "type": {
865
- "text": "array"
844
+ "text": "boolean"
866
845
  },
867
- "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)."
846
+ "description": "If set to true, the checkbox will be displayed with an error state.",
847
+ "attribute": "error",
848
+ "reflects": true
868
849
  },
869
850
  {
870
851
  "kind": "field",
871
- "name": "behavior",
852
+ "name": "id",
872
853
  "privacy": "public",
873
854
  "type": {
874
- "text": "'filter' | 'suggestion'"
855
+ "text": "string"
875
856
  },
876
- "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.",
877
- "default": "'suggestion'",
878
- "attribute": "behavior",
879
- "reflects": true
857
+ "description": "The id global attribute defines an identifier (ID) which must be unique in the whole document.",
858
+ "attribute": "id",
859
+ "reflects": true
880
860
  },
881
861
  {
882
862
  "kind": "field",
883
- "name": "checkmark",
884
- "privacy": "public",
863
+ "name": "inputId",
864
+ "privacy": "private",
885
865
  "type": {
886
- "text": "boolean"
866
+ "text": "string"
887
867
  },
888
- "description": "When attribute is present auro-menu will apply check marks to selected options.",
889
- "attribute": "checkmark",
890
- "reflects": true
868
+ "description": "The id for input node."
891
869
  },
892
870
  {
893
871
  "kind": "field",
894
- "name": "disabled",
872
+ "name": "name",
895
873
  "privacy": "public",
896
874
  "type": {
897
- "text": "boolean"
875
+ "text": "string"
898
876
  },
899
- "description": "If set, disables the combobox.",
900
- "attribute": "disabled",
901
- "reflects": true
877
+ "description": "Accepts any string and is used to identify related checkboxes when submitting form data.",
878
+ "attribute": "name"
902
879
  },
903
880
  {
904
881
  "kind": "field",
905
- "name": "dropdownId",
906
- "privacy": "private",
882
+ "name": "onDark",
883
+ "privacy": "public",
907
884
  "type": {
908
- "text": "string"
885
+ "text": "boolean"
909
886
  },
910
- "description": "ID for the dropdown."
887
+ "description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
888
+ "attribute": "ondark",
889
+ "reflects": true
911
890
  },
912
891
  {
913
892
  "kind": "field",
914
- "name": "dropdownOpen",
893
+ "name": "touched",
915
894
  "privacy": "private",
916
895
  "type": {
917
896
  "text": "boolean"
918
897
  },
919
- "description": "Whether or not the dropdown is open."
898
+ "description": "Indicates whether the checkbox has been interacted with."
920
899
  },
921
900
  {
922
901
  "kind": "field",
923
- "name": "dvInputOnly",
902
+ "name": "value",
924
903
  "privacy": "public",
925
904
  "type": {
926
- "text": "boolean"
905
+ "text": "string"
927
906
  },
928
- "description": "If defined, the display value slot content will only mask the HTML5 input element. The inputs label will not be masked.",
929
- "attribute": "dvinputonly",
930
- "reflects": true
907
+ "description": "Sets the element's input value. Must be unique within an auro-checkbox-group element.",
908
+ "attribute": "value"
931
909
  },
932
910
  {
933
911
  "kind": "field",
934
- "name": "error",
935
- "privacy": "public",
912
+ "name": "tabIndex",
913
+ "privacy": "private",
936
914
  "type": {
937
- "text": "string"
915
+ "text": "number"
938
916
  },
939
- "description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
940
- "attribute": "error",
917
+ "description": "The tabindex attribute for the checkbox.",
918
+ "attribute": "tabindex",
941
919
  "reflects": true
942
920
  },
943
921
  {
944
922
  "kind": "field",
945
- "name": "format",
946
- "privacy": "public",
923
+ "name": "ariaChecked",
924
+ "privacy": "private",
947
925
  "type": {
948
926
  "text": "string"
949
927
  },
950
- "description": "Specifies the input mask format.",
951
- "attribute": "format",
928
+ "description": "The aria-checked attribute for the checkbox.",
929
+ "attribute": "aria-checked",
952
930
  "reflects": true
953
931
  },
954
932
  {
955
933
  "kind": "field",
956
- "name": "inputmode",
957
- "privacy": "public",
934
+ "name": "ariaDisabled",
935
+ "privacy": "private",
958
936
  "type": {
959
937
  "text": "string"
960
938
  },
961
- "description": "Exposes inputmode attribute for input.",
962
- "attribute": "inputmode",
939
+ "description": "The aria-disabled attribute for the checkbox.",
940
+ "attribute": "aria-disabled",
963
941
  "reflects": true
964
942
  },
965
943
  {
966
944
  "kind": "field",
967
- "name": "layout",
968
- "privacy": "public",
945
+ "name": "role",
946
+ "privacy": "private",
969
947
  "type": {
970
- "text": "'classic' | 'emphasized' | 'snowflake'"
948
+ "text": "string"
971
949
  },
972
- "description": "Sets the layout of the combobox.",
973
- "default": "'classic'",
974
- "attribute": "layout",
950
+ "description": "The ARIA role for the element. Must remain 'checkbox' for screen readers\nto correctly identify this as a checkbox control.",
951
+ "attribute": "role",
975
952
  "reflects": true
976
- },
953
+ }
954
+ ],
955
+ "events": [
977
956
  {
978
- "kind": "field",
979
- "name": "shape",
980
- "privacy": "public",
957
+ "name": "auroCheckbox-input",
981
958
  "type": {
982
- "text": "'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'"
959
+ "text": "CustomEvent"
983
960
  },
984
- "description": "Sets the shape of the combobox.",
985
- "default": "'classic'",
986
- "attribute": "shape",
987
- "reflects": true
961
+ "description": "(Deprecated) Notifies when the checked value is changed by user interaction."
988
962
  },
989
963
  {
990
- "kind": "field",
991
- "name": "size",
992
- "privacy": "public",
964
+ "name": "auroCheckbox-focusin",
993
965
  "type": {
994
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
966
+ "text": "CustomEvent"
995
967
  },
996
- "description": "Sets the size of the combobox.",
997
- "default": "'xl'",
998
- "attribute": "size",
999
- "reflects": true
968
+ "description": "Notifies when the checkbox receives focus."
1000
969
  },
1001
970
  {
1002
- "kind": "field",
1003
- "name": "matchWidth",
1004
- "privacy": "private",
971
+ "name": "auroCheckbox-focusout",
1005
972
  "type": {
1006
- "text": "boolean"
973
+ "text": "CustomEvent"
1007
974
  },
1008
- "description": "If declared, the popover and trigger will be set to the same width.",
1009
- "attribute": "matchwidth",
1010
- "reflects": true
975
+ "description": "Notifies when the checkbox loses focus."
1011
976
  },
1012
977
  {
1013
- "kind": "field",
1014
- "name": "noFilter",
1015
- "privacy": "public",
978
+ "description": "(Deprecated) Notifies when checked value is changed.",
979
+ "name": "change"
980
+ },
981
+ {
982
+ "description": "Notifies when when checked value is changed by user's interface.",
983
+ "name": "input"
984
+ }
985
+ ],
986
+ "attributes": [
987
+ {
988
+ "name": "appearance",
1016
989
  "type": {
1017
- "text": "boolean"
990
+ "text": "'default' | 'inverse'"
1018
991
  },
1019
- "description": "If set, combobox will not filter menuoptions based on input.",
1020
- "attribute": "nofilter",
1021
- "reflects": true
992
+ "description": "Defines whether the component will be on lighter or darker backgrounds.",
993
+ "default": "'default'",
994
+ "fieldName": "appearance"
1022
995
  },
1023
996
  {
1024
- "kind": "field",
1025
- "name": "noFlip",
1026
- "privacy": "public",
997
+ "name": "checked",
1027
998
  "type": {
1028
999
  "text": "boolean"
1029
1000
  },
1030
- "description": "If declared, the bib will NOT flip to an alternate position\nwhen there isn't enough space in the specified `placement`.",
1031
- "attribute": "noflip",
1032
- "reflects": true
1001
+ "description": "If set to true, the checkbox will be filled with a checkmark.",
1002
+ "fieldName": "checked"
1033
1003
  },
1034
1004
  {
1035
- "kind": "field",
1036
- "name": "shift",
1037
- "privacy": "public",
1005
+ "name": "disabled",
1038
1006
  "type": {
1039
1007
  "text": "boolean"
1040
1008
  },
1041
- "description": "If declared, the dropdown will shift its position to avoid being cut off by the viewport.",
1042
- "attribute": "shift",
1043
- "reflects": true
1009
+ "description": "If set to true, the checkbox will not be clickable.",
1010
+ "fieldName": "disabled"
1044
1011
  },
1045
1012
  {
1046
- "kind": "field",
1047
- "name": "noValidate",
1048
- "privacy": "public",
1013
+ "name": "error",
1049
1014
  "type": {
1050
1015
  "text": "boolean"
1051
1016
  },
1052
- "description": "If set, disables auto-validation on blur.",
1053
- "attribute": "novalidate",
1054
- "reflects": true
1017
+ "description": "If set to true, the checkbox will be displayed with an error state.",
1018
+ "fieldName": "error"
1055
1019
  },
1056
1020
  {
1057
- "kind": "field",
1058
- "name": "offset",
1059
- "privacy": "public",
1021
+ "name": "id",
1060
1022
  "type": {
1061
- "text": "number"
1023
+ "text": "string"
1062
1024
  },
1063
- "description": "Gap between the trigger element and bib.",
1064
- "default": "0",
1065
- "attribute": "offset",
1066
- "reflects": true
1025
+ "description": "The id global attribute defines an identifier (ID) which must be unique in the whole document.",
1026
+ "fieldName": "id"
1067
1027
  },
1068
1028
  {
1069
- "kind": "field",
1070
- "name": "onDark",
1071
- "privacy": "public",
1029
+ "name": "name",
1072
1030
  "type": {
1073
- "text": "boolean"
1031
+ "text": "string"
1074
1032
  },
1075
- "description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
1076
- "attribute": "ondark",
1077
- "reflects": true,
1078
- "inheritedFrom": {
1079
- "name": "AuroElement",
1080
- "module": "components/layoutElement/src/auroElement.js"
1081
- }
1033
+ "description": "Accepts any string and is used to identify related checkboxes when submitting form data.",
1034
+ "fieldName": "name"
1082
1035
  },
1083
1036
  {
1084
- "kind": "field",
1085
- "name": "optionSelected",
1086
- "privacy": "public",
1037
+ "name": "ondark",
1087
1038
  "type": {
1088
- "text": "HTMLElement"
1039
+ "text": "boolean"
1089
1040
  },
1090
- "description": "Specifies the current selected option.",
1091
- "attribute": "optionselected"
1041
+ "description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
1042
+ "fieldName": "onDark"
1092
1043
  },
1093
1044
  {
1094
- "kind": "field",
1095
- "name": "persistInput",
1096
- "privacy": "public",
1045
+ "name": "value",
1097
1046
  "type": {
1098
- "text": "boolean"
1047
+ "text": "string"
1099
1048
  },
1100
- "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.",
1101
- "attribute": "persistinput",
1102
- "reflects": true
1049
+ "description": "Sets the element's input value. Must be unique within an auro-checkbox-group element.",
1050
+ "fieldName": "value"
1103
1051
  },
1104
1052
  {
1105
- "kind": "field",
1106
- "name": "placement",
1107
- "privacy": "public",
1053
+ "name": "tabindex",
1108
1054
  "type": {
1109
- "text": "'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'"
1055
+ "text": "number"
1110
1056
  },
1111
- "description": "Position where the bib should appear relative to the trigger.",
1112
- "default": "'bottom-start'",
1113
- "attribute": "placement",
1114
- "reflects": true
1057
+ "description": "The tabindex attribute for the checkbox.",
1058
+ "fieldName": "tabIndex"
1115
1059
  },
1116
1060
  {
1117
- "kind": "field",
1118
- "name": "placeholder",
1119
- "privacy": "public",
1061
+ "name": "aria-checked",
1120
1062
  "type": {
1121
1063
  "text": "string"
1122
1064
  },
1123
- "description": "Define custom placeholder text, only supported by date input formats.",
1124
- "attribute": "placeholder",
1125
- "reflects": true
1065
+ "description": "The aria-checked attribute for the checkbox.",
1066
+ "fieldName": "ariaChecked"
1126
1067
  },
1127
1068
  {
1128
- "kind": "field",
1129
- "name": "required",
1130
- "privacy": "public",
1069
+ "name": "aria-disabled",
1131
1070
  "type": {
1132
- "text": "boolean"
1071
+ "text": "string"
1133
1072
  },
1134
- "description": "Populates the `required` attribute on the input. Used for client-side validation.",
1135
- "attribute": "required",
1136
- "reflects": true
1073
+ "description": "The aria-disabled attribute for the checkbox.",
1074
+ "fieldName": "ariaDisabled"
1137
1075
  },
1138
1076
  {
1139
- "kind": "field",
1140
- "name": "setCustomValidity",
1141
- "privacy": "public",
1077
+ "name": "role",
1142
1078
  "type": {
1143
1079
  "text": "string"
1144
1080
  },
1145
- "description": "Sets a custom help text message to display for all validityStates.",
1146
- "attribute": "setcustomvalidity"
1147
- },
1148
- {
1149
- "kind": "field",
1150
- "name": "setCustomValidityCustomError",
1151
- "privacy": "public",
1152
- "type": {
1153
- "text": "string"
1154
- },
1155
- "description": "Custom help text message to display when validity = `customError`.",
1156
- "attribute": "setcustomvaliditycustomerror"
1157
- },
1081
+ "description": "The ARIA role for the element. Must remain 'checkbox' for screen readers\nto correctly identify this as a checkbox control.",
1082
+ "fieldName": "role"
1083
+ }
1084
+ ],
1085
+ "superclass": {
1086
+ "name": "LitElement",
1087
+ "package": "lit"
1088
+ },
1089
+ "tagName": "auro-checkbox",
1090
+ "customElement": true
1091
+ }
1092
+ ],
1093
+ "exports": [
1094
+ {
1095
+ "kind": "js",
1096
+ "name": "AuroCheckbox",
1097
+ "declaration": {
1098
+ "name": "AuroCheckbox",
1099
+ "module": "components/checkbox/src/auro-checkbox.js"
1100
+ }
1101
+ }
1102
+ ]
1103
+ },
1104
+ {
1105
+ "kind": "javascript-module",
1106
+ "path": "components/checkbox/src/index.js",
1107
+ "declarations": [],
1108
+ "exports": [
1109
+ {
1110
+ "kind": "js",
1111
+ "name": "AuroCheckbox",
1112
+ "declaration": {
1113
+ "name": "AuroCheckbox",
1114
+ "module": "components/checkbox/src/index.js"
1115
+ }
1116
+ },
1117
+ {
1118
+ "kind": "js",
1119
+ "name": "AuroCheckboxGroup",
1120
+ "declaration": {
1121
+ "name": "AuroCheckboxGroup",
1122
+ "module": "components/checkbox/src/index.js"
1123
+ }
1124
+ }
1125
+ ]
1126
+ },
1127
+ {
1128
+ "kind": "javascript-module",
1129
+ "path": "components/checkbox/src/registered.js",
1130
+ "declarations": [],
1131
+ "exports": []
1132
+ },
1133
+ {
1134
+ "kind": "javascript-module",
1135
+ "path": "components/combobox/src/auro-combobox.js",
1136
+ "declarations": [
1137
+ {
1138
+ "kind": "class",
1139
+ "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.",
1140
+ "name": "AuroCombobox",
1141
+ "cssParts": [
1158
1142
  {
1159
- "kind": "field",
1160
- "name": "setCustomValidityValueMissing",
1161
- "privacy": "public",
1162
- "type": {
1163
- "text": "string"
1164
- },
1165
- "description": "Custom help text message to display when validity = `valueMissing`.",
1166
- "attribute": "setcustomvalidityvaluemissing"
1167
- },
1143
+ "description": "The help text and error message content container.",
1144
+ "name": "helpText"
1145
+ }
1146
+ ],
1147
+ "slots": [
1168
1148
  {
1169
- "kind": "field",
1170
- "name": "setCustomValidityValueMissingFilter",
1171
- "privacy": "public",
1172
- "type": {
1173
- "text": "string"
1174
- },
1175
- "description": "Custom help text message to display when validity = `valueMissing` due to the user not choosing a menu option when behavior = \"filter\".",
1176
- "attribute": "setcustomvalidityvaluemissingfilter"
1149
+ "description": "Default slot for the menu content.",
1150
+ "name": ""
1177
1151
  },
1178
1152
  {
1179
- "kind": "field",
1180
- "name": "touched",
1181
- "privacy": "private",
1182
1153
  "type": {
1183
- "text": "boolean"
1154
+ "text": "HTMLSlotElement"
1184
1155
  },
1185
- "description": "Indicates whether the combobox is in a dirty state (has been interacted with)."
1156
+ "description": "Allows overriding the optional display text \"(optional)\", which appears next to the label.",
1157
+ "name": "optionalLabel"
1186
1158
  },
1187
1159
  {
1188
- "kind": "field",
1189
- "name": "triggerIcon",
1190
- "privacy": "public",
1191
- "type": {
1192
- "text": "boolean"
1193
- },
1194
- "description": "If set, the `icon` attribute will be applied to the trigger `auro-input` element.\nIcon rendering is currently limited to `type=\"credit-card\"`. Setting `triggerIcon`\nwithout a supported `type` propagates the attribute but does not render a visible icon.",
1195
- "attribute": "triggericon",
1196
- "reflects": true
1160
+ "description": "Sets aria-label on clear button",
1161
+ "name": "ariaLabel.input.clear"
1197
1162
  },
1198
1163
  {
1199
- "kind": "field",
1200
- "name": "type",
1201
- "privacy": "public",
1202
- "type": {
1203
- "text": "string"
1204
- },
1205
- "description": "Applies the defined value as the type attribute on `auro-input`.",
1206
- "attribute": "type",
1207
- "reflects": true
1164
+ "description": "Sets aria-label on close button in fullscreen bib",
1165
+ "name": "ariaLabel.bib.close"
1208
1166
  },
1209
1167
  {
1210
- "kind": "field",
1211
- "name": "typedValue",
1212
- "privacy": "public",
1213
- "type": {
1214
- "text": "string"
1215
- },
1216
- "description": "Specifies the value of the input element within the combobox.",
1217
- "attribute": "typedvalue",
1218
- "reflects": true
1168
+ "description": "Defines the headline to display above menu-options",
1169
+ "name": "bib.fullscreen.headline"
1219
1170
  },
1220
1171
  {
1221
- "kind": "field",
1222
- "name": "validity",
1223
- "privacy": "public",
1224
- "type": {
1225
- "text": "string"
1226
- },
1227
- "description": "Specifies the `validityState` this element is in.",
1228
- "attribute": "validity",
1229
- "reflects": true
1172
+ "description": "Defines the content of the label.",
1173
+ "name": "label"
1230
1174
  },
1231
1175
  {
1232
- "kind": "field",
1233
- "name": "value",
1234
- "privacy": "public",
1235
- "type": {
1236
- "text": "string"
1237
- },
1238
- "description": "Value selected for the dropdown menu. When set programmatically or as a preset attribute, the value must match a selectable option. If it matches an option marked `disabled` or `static`, the selection is rejected: `value` and `optionSelected` are cleared to `undefined`. `hidden` options (including those filtered out by type-ahead) remain selectable by value.",
1239
- "attribute": "value"
1176
+ "description": "Defines the content of the helpText.",
1177
+ "name": "helpText"
1240
1178
  },
1241
1179
  {
1242
- "kind": "field",
1243
- "name": "largeFullscreenHeadline",
1244
- "privacy": "public",
1245
- "type": {
1246
- "text": "boolean"
1247
- },
1248
- "description": "If declared, make bib.fullscreen.headline in HeadingDisplay.\nOtherwise, Heading 600",
1249
- "attribute": "largefullscreenheadline",
1250
- "reflects": true
1180
+ "description": "Allows custom HTML content to display the selected value when the combobox is not focused. Only works with `snowflake` and `emphasized` layouts.",
1181
+ "name": "displayValue"
1182
+ }
1183
+ ],
1184
+ "members": [
1185
+ {
1186
+ "kind": "method",
1187
+ "name": "_initializeDefaults",
1188
+ "privacy": "private",
1189
+ "return": {
1190
+ "type": {
1191
+ "text": "void"
1192
+ }
1193
+ }
1251
1194
  },
1252
1195
  {
1253
- "kind": "field",
1254
- "name": "fullscreenBreakpoint",
1255
- "privacy": "public",
1256
- "type": {
1257
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'"
1196
+ "kind": "method",
1197
+ "name": "_scheduleTimer",
1198
+ "parameters": [
1199
+ {
1200
+ "name": "fn",
1201
+ "description": "Callback to run.",
1202
+ "type": {
1203
+ "text": "Function"
1204
+ }
1205
+ },
1206
+ {
1207
+ "name": "ms",
1208
+ "description": "Delay in milliseconds.",
1209
+ "type": {
1210
+ "text": "number"
1211
+ }
1212
+ }
1213
+ ],
1214
+ "description": "Wraps setTimeout and records the timer id so disconnectedCallback\ncan cancel any outstanding callbacks. The id is removed from the set\nonce the callback fires so the set doesn't grow unbounded.",
1215
+ "return": {
1216
+ "type": {
1217
+ "text": "number"
1218
+ }
1258
1219
  },
1259
- "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.",
1260
- "default": "'sm'",
1261
- "attribute": "fullscreenbreakpoint",
1262
- "reflects": true
1220
+ "privacy": "private"
1263
1221
  },
1264
1222
  {
1265
1223
  "kind": "field",
1266
- "name": "optionActive",
1267
- "privacy": "private",
1268
- "type": {
1269
- "text": "object"
1224
+ "name": "inputValue",
1225
+ "description": "Returns the current value of the input element within the combobox.",
1226
+ "return": {
1227
+ "type": {
1228
+ "text": "string|undefined"
1229
+ }
1270
1230
  },
1271
- "description": "Specifies the currently active option."
1231
+ "readonly": true
1272
1232
  },
1273
1233
  {
1274
- "kind": "field",
1275
- "name": "componentHasFocus",
1276
- "description": "Returns true if the element has focus.",
1277
- "privacy": "private",
1234
+ "kind": "method",
1235
+ "name": "isValid",
1236
+ "description": "Checks if the element is valid.",
1278
1237
  "return": {
1279
1238
  "type": {
1280
1239
  "text": "boolean"
1281
1240
  }
1282
- },
1283
- "readonly": true,
1284
- "inheritedFrom": {
1285
- "name": "AuroElement",
1286
- "module": "components/layoutElement/src/auroElement.js"
1287
1241
  }
1288
1242
  },
1289
1243
  {
1290
1244
  "kind": "method",
1291
- "name": "resetShapeClasses",
1292
- "inheritedFrom": {
1293
- "name": "AuroElement",
1294
- "module": "components/layoutElement/src/auroElement.js"
1295
- }
1245
+ "name": "register",
1246
+ "static": true,
1247
+ "parameters": [
1248
+ {
1249
+ "name": "name",
1250
+ "default": "'auro-combobox'",
1251
+ "description": "The name of the element that you want to register.",
1252
+ "optional": true,
1253
+ "type": {
1254
+ "text": "string"
1255
+ }
1256
+ }
1257
+ ],
1258
+ "description": "This will register this element with the browser."
1296
1259
  },
1297
1260
  {
1298
1261
  "kind": "method",
1299
- "name": "resetLayoutClasses",
1300
- "inheritedFrom": {
1301
- "name": "AuroElement",
1302
- "module": "components/layoutElement/src/auroElement.js"
1262
+ "name": "activateFirstEnabledAvailableOption",
1263
+ "description": "Mark the first available (non-hidden), enabled option as `active`.",
1264
+ "privacy": "private",
1265
+ "return": {
1266
+ "type": {
1267
+ "text": "void"
1268
+ }
1303
1269
  }
1304
1270
  },
1305
1271
  {
1306
1272
  "kind": "method",
1307
- "name": "updateComponentArchitecture",
1308
- "inheritedFrom": {
1309
- "name": "AuroElement",
1310
- "module": "components/layoutElement/src/auroElement.js"
1273
+ "name": "activateLastEnabledAvailableOption",
1274
+ "description": "Mark the last available (non-hidden), enabled option as `active`.",
1275
+ "privacy": "private",
1276
+ "return": {
1277
+ "type": {
1278
+ "text": "void"
1279
+ }
1311
1280
  }
1312
- }
1313
- ],
1314
- "events": [
1315
- {
1316
- "name": "inputValue",
1317
- "type": {
1318
- "text": "CustomEvent"
1319
- },
1320
- "description": "Notifies that the components internal HTML5 input value has changed."
1321
1281
  },
1322
1282
  {
1323
- "name": "input",
1324
- "type": {
1325
- "text": "CustomEvent"
1326
- },
1327
- "description": "Notifies that the component has a new value set."
1328
- },
1329
- {
1330
- "name": "auroCombobox-valueSet",
1331
- "type": {
1332
- "text": "CustomEvent"
1333
- },
1334
- "description": "(Deprecated) Notifies that the component has a new value set."
1335
- },
1336
- {
1337
- "description": "Notifies that the component value(s) have been validated.",
1338
- "name": "auroFormElement-validated"
1339
- }
1340
- ],
1341
- "attributes": [
1342
- {
1343
- "name": "appearance",
1344
- "type": {
1345
- "text": "string"
1346
- },
1347
- "description": "Defines whether the component will be on lighter or darker backgrounds.",
1348
- "default": "'default'",
1349
- "fieldName": "appearance"
1350
- },
1351
- {
1352
- "name": "autocomplete",
1353
- "type": {
1354
- "text": "string"
1355
- },
1356
- "description": "An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete=\"off\"` is supported.",
1357
- "fieldName": "autocomplete"
1358
- },
1359
- {
1360
- "name": "autoplacement",
1361
- "type": {
1362
- "text": "boolean"
1363
- },
1364
- "description": "If declared, bib's position will be automatically calculated where to appear.",
1365
- "fieldName": "autoPlacement"
1366
- },
1367
- {
1368
- "name": "behavior",
1369
- "type": {
1370
- "text": "'filter' | 'suggestion'"
1371
- },
1372
- "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.",
1373
- "default": "'suggestion'",
1374
- "fieldName": "behavior"
1375
- },
1376
- {
1377
- "name": "checkmark",
1378
- "type": {
1379
- "text": "boolean"
1380
- },
1381
- "description": "When attribute is present auro-menu will apply check marks to selected options.",
1382
- "fieldName": "checkmark"
1383
- },
1384
- {
1385
- "name": "disabled",
1386
- "type": {
1387
- "text": "boolean"
1388
- },
1389
- "description": "If set, disables the combobox.",
1390
- "fieldName": "disabled"
1391
- },
1392
- {
1393
- "name": "dvinputonly",
1394
- "type": {
1395
- "text": "boolean"
1396
- },
1397
- "description": "If defined, the display value slot content will only mask the HTML5 input element. The inputs label will not be masked.",
1398
- "fieldName": "dvInputOnly"
1399
- },
1400
- {
1401
- "name": "error",
1402
- "type": {
1403
- "text": "string"
1404
- },
1405
- "description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
1406
- "fieldName": "error"
1407
- },
1408
- {
1409
- "name": "format",
1410
- "type": {
1411
- "text": "string"
1412
- },
1413
- "description": "Specifies the input mask format.",
1414
- "fieldName": "format"
1415
- },
1416
- {
1417
- "name": "inputmode",
1418
- "type": {
1419
- "text": "string"
1420
- },
1421
- "description": "Exposes inputmode attribute for input.",
1422
- "fieldName": "inputmode"
1423
- },
1424
- {
1425
- "name": "layout",
1426
- "type": {
1427
- "text": "'classic' | 'emphasized' | 'snowflake'"
1428
- },
1429
- "description": "Sets the layout of the combobox.",
1430
- "default": "'classic'",
1431
- "fieldName": "layout"
1432
- },
1433
- {
1434
- "name": "shape",
1435
- "type": {
1436
- "text": "'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'"
1437
- },
1438
- "description": "Sets the shape of the combobox.",
1439
- "default": "'classic'",
1440
- "fieldName": "shape"
1441
- },
1442
- {
1443
- "name": "size",
1444
- "type": {
1445
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
1446
- },
1447
- "description": "Sets the size of the combobox.",
1448
- "default": "'xl'",
1449
- "fieldName": "size"
1450
- },
1451
- {
1452
- "name": "matchwidth",
1453
- "type": {
1454
- "text": "boolean"
1455
- },
1456
- "description": "If declared, the popover and trigger will be set to the same width.",
1457
- "fieldName": "matchWidth"
1458
- },
1459
- {
1460
- "name": "nofilter",
1461
- "type": {
1462
- "text": "boolean"
1463
- },
1464
- "description": "If set, combobox will not filter menuoptions based on input.",
1465
- "fieldName": "noFilter"
1466
- },
1467
- {
1468
- "name": "noflip",
1469
- "type": {
1470
- "text": "boolean"
1471
- },
1472
- "description": "If declared, the bib will NOT flip to an alternate position\nwhen there isn't enough space in the specified `placement`.",
1473
- "fieldName": "noFlip"
1474
- },
1475
- {
1476
- "name": "shift",
1477
- "type": {
1478
- "text": "boolean"
1479
- },
1480
- "description": "If declared, the dropdown will shift its position to avoid being cut off by the viewport.",
1481
- "fieldName": "shift"
1482
- },
1483
- {
1484
- "name": "novalidate",
1485
- "type": {
1486
- "text": "boolean"
1487
- },
1488
- "description": "If set, disables auto-validation on blur.",
1489
- "fieldName": "noValidate"
1490
- },
1491
- {
1492
- "name": "offset",
1493
- "type": {
1494
- "text": "number"
1495
- },
1496
- "description": "Gap between the trigger element and bib.",
1497
- "default": "0",
1498
- "fieldName": "offset"
1283
+ "kind": "method",
1284
+ "name": "updateFilter",
1285
+ "description": "Updates the filter for the available options based on the input value.",
1286
+ "privacy": "private"
1499
1287
  },
1500
1288
  {
1501
- "name": "ondark",
1502
- "type": {
1503
- "text": "boolean"
1504
- },
1505
- "description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
1506
- "fieldName": "onDark",
1507
- "inheritedFrom": {
1508
- "name": "AuroElement",
1509
- "module": "components/layoutElement/src/auroElement.js"
1289
+ "kind": "method",
1290
+ "name": "syncValuesAndStates",
1291
+ "description": "Syncs the values and states of this component, the input, and the menu, including this.optionSelected and this.menu.optionSelected.",
1292
+ "privacy": "private",
1293
+ "return": {
1294
+ "type": {
1295
+ "text": "void"
1296
+ }
1510
1297
  }
1511
1298
  },
1512
1299
  {
1513
- "name": "optionselected",
1514
- "type": {
1515
- "text": "HTMLElement"
1516
- },
1517
- "description": "Specifies the current selected option.",
1518
- "fieldName": "optionSelected"
1519
- },
1520
- {
1521
- "name": "persistinput",
1522
- "type": {
1523
- "text": "boolean"
1524
- },
1525
- "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.",
1526
- "fieldName": "persistInput"
1527
- },
1528
- {
1529
- "name": "placement",
1530
- "type": {
1531
- "text": "'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'"
1532
- },
1533
- "description": "Position where the bib should appear relative to the trigger.",
1534
- "default": "'bottom-start'",
1535
- "fieldName": "placement"
1536
- },
1537
- {
1538
- "name": "placeholder",
1539
- "type": {
1540
- "text": "string"
1541
- },
1542
- "description": "Define custom placeholder text, only supported by date input formats.",
1543
- "fieldName": "placeholder"
1544
- },
1545
- {
1546
- "name": "required",
1547
- "type": {
1548
- "text": "boolean"
1549
- },
1550
- "description": "Populates the `required` attribute on the input. Used for client-side validation.",
1551
- "fieldName": "required"
1552
- },
1553
- {
1554
- "name": "setcustomvalidity",
1555
- "type": {
1556
- "text": "string"
1557
- },
1558
- "description": "Sets a custom help text message to display for all validityStates.",
1559
- "fieldName": "setCustomValidity"
1560
- },
1561
- {
1562
- "name": "setcustomvaliditycustomerror",
1563
- "type": {
1564
- "text": "string"
1565
- },
1566
- "description": "Custom help text message to display when validity = `customError`.",
1567
- "fieldName": "setCustomValidityCustomError"
1568
- },
1569
- {
1570
- "name": "setcustomvalidityvaluemissing",
1571
- "type": {
1572
- "text": "string"
1573
- },
1574
- "description": "Custom help text message to display when validity = `valueMissing`.",
1575
- "fieldName": "setCustomValidityValueMissing"
1576
- },
1577
- {
1578
- "name": "setcustomvalidityvaluemissingfilter",
1579
- "type": {
1580
- "text": "string"
1581
- },
1582
- "description": "Custom help text message to display when validity = `valueMissing` due to the user not choosing a menu option when behavior = \"filter\".",
1583
- "fieldName": "setCustomValidityValueMissingFilter"
1584
- },
1585
- {
1586
- "name": "triggericon",
1587
- "type": {
1588
- "text": "boolean"
1589
- },
1590
- "description": "If set, the `icon` attribute will be applied to the trigger `auro-input` element.\nIcon rendering is currently limited to `type=\"credit-card\"`. Setting `triggerIcon`\nwithout a supported `type` propagates the attribute but does not render a visible icon.",
1591
- "fieldName": "triggerIcon"
1592
- },
1593
- {
1594
- "name": "type",
1595
- "type": {
1596
- "text": "string"
1597
- },
1598
- "description": "Applies the defined value as the type attribute on `auro-input`.",
1599
- "fieldName": "type"
1600
- },
1601
- {
1602
- "name": "typedvalue",
1603
- "type": {
1604
- "text": "string"
1605
- },
1606
- "description": "Specifies the value of the input element within the combobox.",
1607
- "fieldName": "typedValue"
1300
+ "kind": "method",
1301
+ "name": "updateTriggerTextDisplay",
1302
+ "parameters": [
1303
+ {
1304
+ "name": "label",
1305
+ "description": "The label of the selected option.",
1306
+ "type": {
1307
+ "text": "string"
1308
+ }
1309
+ }
1310
+ ],
1311
+ "description": "Update displayValue or input.value, it's called when making a selection.",
1312
+ "privacy": "private"
1608
1313
  },
1609
1314
  {
1610
- "name": "validity",
1611
- "type": {
1612
- "text": "string"
1315
+ "kind": "method",
1316
+ "name": "syncInputValuesAcrossTriggerAndBib",
1317
+ "parameters": [
1318
+ {
1319
+ "name": "nextValue",
1320
+ "description": "The value to write to both inputs.",
1321
+ "type": {
1322
+ "text": "string"
1323
+ }
1324
+ }
1325
+ ],
1326
+ "description": "Writes nextValue to the trigger input and the bib input when their current\nvalue differs, then re-asserts imask after Lit's update flushes.",
1327
+ "return": {
1328
+ "type": {
1329
+ "text": "Promise<void>"
1330
+ }
1613
1331
  },
1614
- "description": "Specifies the `validityState` this element is in.",
1615
- "fieldName": "validity"
1332
+ "privacy": "private"
1616
1333
  },
1617
1334
  {
1618
- "name": "value",
1619
- "type": {
1620
- "text": "string"
1621
- },
1622
- "description": "Value selected for the dropdown menu. When set programmatically or as a preset attribute, the value must match a selectable option. If it matches an option marked `disabled` or `static`, the selection is rejected: `value` and `optionSelected` are cleared to `undefined`. `hidden` options (including those filtered out by type-ahead) remain selectable by value.",
1623
- "fieldName": "value"
1335
+ "kind": "method",
1336
+ "name": "handleMenuOptions",
1337
+ "parameters": [
1338
+ {
1339
+ "name": "{ preferComboboxValue = false }",
1340
+ "default": "{}"
1341
+ },
1342
+ {
1343
+ "description": "Optional flag bag.",
1344
+ "name": "options",
1345
+ "optional": true,
1346
+ "type": {
1347
+ "text": "@param {boolean} [options.preferComboboxValue=false] - When true,\n * handleMenuOptions matches the selected option against `this.value`\n * first instead of `this.input.value`. Needed on mount and re-mount\n * because under `persistInput` the consumer's typedValue prop can drift\n * from the framework value (Svelte `{#key}` re-mount after a swap, or\n * SPA preselect after route change) and the old input-first match would\n * then pick the stale text. Only handleSlotChange passes this; typing\n * and clearing paths keep the input-first match so user clears aren't\n * undone.\n * "
1348
+ }
1349
+ }
1350
+ ],
1351
+ "description": "Processes hidden state of all menu options and determines if there are any available options not hidden.",
1352
+ "privacy": "private",
1353
+ "return": {
1354
+ "type": {
1355
+ "text": "void"
1356
+ }
1357
+ }
1624
1358
  },
1625
1359
  {
1626
- "name": "largefullscreenheadline",
1627
- "type": {
1628
- "text": "boolean"
1629
- },
1630
- "description": "If declared, make bib.fullscreen.headline in HeadingDisplay.\nOtherwise, Heading 600",
1631
- "fieldName": "largeFullscreenHeadline"
1360
+ "kind": "method",
1361
+ "name": "generateOptionsArray",
1362
+ "description": "Determines the element error state based on the `required` attribute and input value.",
1363
+ "privacy": "private",
1364
+ "return": {
1365
+ "type": {
1366
+ "text": "void"
1367
+ }
1368
+ }
1632
1369
  },
1633
1370
  {
1634
- "name": "fullscreenbreakpoint",
1635
- "type": {
1636
- "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'"
1637
- },
1638
- "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.",
1639
- "default": "'sm'",
1640
- "fieldName": "fullscreenBreakpoint"
1641
- }
1642
- ],
1643
- "superclass": {
1644
- "name": "AuroElement",
1645
- "module": "/components/layoutElement/src/auroElement.js"
1646
- },
1647
- "tagName": "auro-combobox",
1648
- "customElement": true
1649
- }
1650
- ],
1651
- "exports": [
1652
- {
1653
- "kind": "js",
1654
- "name": "AuroCombobox",
1655
- "declaration": {
1656
- "name": "AuroCombobox",
1657
- "module": "components/combobox/src/auro-combobox.js"
1658
- }
1659
- }
1660
- ]
1661
- },
1662
- {
1663
- "kind": "javascript-module",
1664
- "path": "components/combobox/src/comboboxKeyboardStrategy.js",
1665
- "declarations": [
1666
- {
1667
- "kind": "variable",
1668
- "name": "comboboxKeyboardStrategy",
1669
- "type": {
1670
- "text": "object"
1671
- },
1672
- "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) { 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) { navigateArrow(component, 'up'); } else { component.showBib(); } } }, End(component, evt, ctx) { if (ctx.isExpanded) { evt.preventDefault(); evt.stopPropagation(); component.activateLastEnabledAvailableOption(); } }, Enter(component, evt, ctx) { // Forms should not submit on Enter from a combobox, regardless of which // child element (input, clear button, menu) is focused. evt.stopPropagation(); if (isClearBtnFocused(ctx)) { // Let the browser dispatch Enter to the focused clear button so its // built-in activation fires and clears the selection. Do NOT call // preventDefault — that would block the activation. return; } if (ctx.isExpanded && component.menu.optionActive) { reconcileMenuIndex(component.menu); component.menu.makeSelection(); if (ctx.isModal) { component.setTriggerInputFocus(); } evt.preventDefault(); } else { evt.preventDefault(); 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)) { if (evt.shiftKey) { if (selectAndExitBackward(component)) { evt.preventDefault(); } return; } selectAndClose(component); if (ctx.isModal) { // Fullscreen close does not automatically restore focus to the input. component.setClearBtnFocus(); } } } }"
1673
- }
1674
- ],
1675
- "exports": [
1676
- {
1677
- "kind": "js",
1678
- "name": "comboboxKeyboardStrategy",
1679
- "declaration": {
1680
- "name": "comboboxKeyboardStrategy",
1681
- "module": "components/combobox/src/comboboxKeyboardStrategy.js"
1682
- }
1683
- }
1684
- ]
1685
- },
1686
- {
1687
- "kind": "javascript-module",
1688
- "path": "components/combobox/src/index.js",
1689
- "declarations": [],
1690
- "exports": [
1691
- {
1692
- "kind": "js",
1693
- "name": "AuroCombobox",
1694
- "declaration": {
1695
- "name": "AuroCombobox",
1696
- "module": "components/combobox/src/index.js"
1697
- }
1698
- }
1699
- ]
1700
- },
1701
- {
1702
- "kind": "javascript-module",
1703
- "path": "components/combobox/src/registered.js",
1704
- "declarations": [],
1705
- "exports": [
1706
- {
1707
- "kind": "js",
1708
- "name": "AuroCombobox",
1709
- "declaration": {
1710
- "name": "AuroCombobox",
1711
- "module": "components/combobox/src/registered.js"
1712
- }
1713
- }
1714
- ]
1715
- },
1716
- {
1717
- "kind": "javascript-module",
1718
- "path": "components/checkbox/src/auro-checkbox-group.js",
1719
- "declarations": [
1720
- {
1721
- "kind": "class",
1722
- "description": "The `auro-checkbox-group` element is a wrapper for `auro-checkbox` elements.",
1723
- "name": "AuroCheckboxGroup",
1724
- "cssParts": [
1371
+ "kind": "method",
1372
+ "name": "hideBib",
1373
+ "description": "Hides the dropdown bib if its open.",
1374
+ "return": {
1375
+ "type": {
1376
+ "text": "void"
1377
+ }
1378
+ }
1379
+ },
1725
1380
  {
1726
- "description": "Apply css to the help text element that displays helper or error messages.",
1727
- "name": "helpText"
1728
- }
1729
- ],
1730
- "slots": [
1381
+ "kind": "method",
1382
+ "name": "showBib",
1383
+ "description": "Shows the dropdown bib if there are options to show.",
1384
+ "return": {
1385
+ "type": {
1386
+ "text": "void"
1387
+ }
1388
+ }
1389
+ },
1731
1390
  {
1732
- "description": "Allows for the legend to be overridden.",
1733
- "name": "legend"
1391
+ "kind": "method",
1392
+ "name": "configureDropdown",
1393
+ "description": "Binds all behavior needed to the dropdown after rendering.",
1394
+ "privacy": "private",
1395
+ "return": {
1396
+ "type": {
1397
+ "text": "void"
1398
+ }
1399
+ }
1734
1400
  },
1735
1401
  {
1736
- "description": "Allows overriding the optional display text \"(optional)\", which appears next to the label.",
1737
- "name": "optionalLabel"
1402
+ "kind": "method",
1403
+ "name": "setClearBtnFocus",
1404
+ "privacy": "private"
1738
1405
  },
1739
1406
  {
1740
- "description": "Allows for the helper text to be overridden.",
1741
- "name": "helpText"
1407
+ "kind": "method",
1408
+ "name": "setTriggerInputFocus",
1409
+ "privacy": "private"
1742
1410
  },
1743
1411
  {
1744
- "description": "The default slot for the checkbox items.",
1745
- "name": "default"
1746
- }
1747
- ],
1748
- "members": [
1412
+ "kind": "method",
1413
+ "name": "setInputFocus",
1414
+ "privacy": "private"
1415
+ },
1749
1416
  {
1750
1417
  "kind": "method",
1751
- "name": "_initializeDefaults"
1418
+ "name": "updateBibDialogRole",
1419
+ "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.",
1420
+ "privacy": "private"
1752
1421
  },
1753
1422
  {
1754
1423
  "kind": "method",
1755
- "name": "register",
1756
- "static": true,
1424
+ "name": "updateMenuShapeSize",
1425
+ "description": "Update menu to default for fullscreen bib, otherwise to this.size and this.shape.",
1426
+ "privacy": "private"
1427
+ },
1428
+ {
1429
+ "kind": "method",
1430
+ "name": "_getAnnouncementRoot",
1431
+ "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.",
1432
+ "privacy": "private",
1433
+ "return": {
1434
+ "type": {
1435
+ "text": "ShadowRoot"
1436
+ }
1437
+ }
1438
+ },
1439
+ {
1440
+ "kind": "method",
1441
+ "name": "configureMenu",
1442
+ "description": "Binds all behavior needed to the menu after rendering.",
1443
+ "privacy": "private",
1444
+ "return": {
1445
+ "type": {
1446
+ "text": "void"
1447
+ }
1448
+ }
1449
+ },
1450
+ {
1451
+ "kind": "method",
1452
+ "name": "configureInput",
1453
+ "description": "Binds all behavior needed to the input after rendering.",
1454
+ "privacy": "private",
1455
+ "return": {
1456
+ "type": {
1457
+ "text": "void"
1458
+ }
1459
+ }
1460
+ },
1461
+ {
1462
+ "kind": "method",
1463
+ "name": "handleMenuLoadingChange",
1757
1464
  "parameters": [
1758
1465
  {
1759
- "name": "name",
1760
- "default": "\"auro-checkbox-group\"",
1761
- "description": "The name of the element that you want to register.",
1762
- "optional": true,
1466
+ "name": "event",
1467
+ "description": "The event object containing details about the loading state change.",
1763
1468
  "type": {
1764
- "text": "string"
1469
+ "text": "CustomEvent"
1470
+ }
1471
+ },
1472
+ {
1473
+ "description": "Indicates whether the menu is currently loading.",
1474
+ "name": "event.detail.loading",
1475
+ "type": {
1476
+ "text": "boolean"
1477
+ }
1478
+ },
1479
+ {
1480
+ "description": "Indicates if there are loading placeholders present.",
1481
+ "name": "event.detail.hasLoadingPlaceholder",
1482
+ "type": {
1483
+ "text": "boolean"
1765
1484
  }
1766
1485
  }
1767
1486
  ],
1768
- "description": "This will register this element with the browser."
1487
+ "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.",
1488
+ "privacy": "private",
1489
+ "return": {
1490
+ "type": {
1491
+ "text": "void"
1492
+ }
1493
+ }
1769
1494
  },
1770
1495
  {
1771
1496
  "kind": "method",
1772
- "name": "handleValueUpdate",
1497
+ "name": "handleInputValueChange",
1773
1498
  "parameters": [
1774
1499
  {
1775
- "name": "value",
1776
- "description": "The value of the checkbox.",
1500
+ "name": "event",
1501
+ "description": "The input event triggered by the input element.",
1777
1502
  "type": {
1778
- "text": "String"
1503
+ "text": "Event"
1779
1504
  }
1780
- },
1505
+ }
1506
+ ],
1507
+ "description": "Handle changes to the input value and trigger changes that should result.",
1508
+ "privacy": "private",
1509
+ "return": {
1510
+ "type": {
1511
+ "text": "void"
1512
+ }
1513
+ }
1514
+ },
1515
+ {
1516
+ "kind": "method",
1517
+ "name": "handleTriggerInputValueChange",
1518
+ "parameters": [
1781
1519
  {
1782
- "name": "selected",
1783
- "description": "The checked state of the checkbox.",
1520
+ "name": "event",
1521
+ "description": "The input event from the trigger input element.",
1784
1522
  "type": {
1785
- "text": "Boolean"
1523
+ "text": "Event"
1786
1524
  }
1787
1525
  }
1788
1526
  ],
1789
- "description": "Helper method to handle checkbox value changing.",
1527
+ "description": "Handles input value changes originating from the trigger input.\nRefreshes menu options and filtering, delegates to handleInputValueChange\nfor value synchronization, and manages fullscreen bib focus.",
1790
1528
  "privacy": "private",
1791
1529
  "return": {
1792
1530
  "type": {
@@ -1796,8 +1534,8 @@
1796
1534
  },
1797
1535
  {
1798
1536
  "kind": "method",
1799
- "name": "handlePreselectedItems",
1800
- "description": "Helper method that handles the state of preselected checkboxes.",
1537
+ "name": "configureCombobox",
1538
+ "description": "Binds all behavior needed to the combobox after rendering.",
1801
1539
  "privacy": "private",
1802
1540
  "return": {
1803
1541
  "type": {
@@ -1807,9 +1545,27 @@
1807
1545
  },
1808
1546
  {
1809
1547
  "kind": "method",
1810
- "name": "handleItems",
1811
- "description": "Helper method that handles the state of checkboxes.",
1812
- "privacy": "private",
1548
+ "name": "focus",
1549
+ "description": "Focuses the combobox trigger input.",
1550
+ "return": {
1551
+ "type": {
1552
+ "text": "void"
1553
+ }
1554
+ }
1555
+ },
1556
+ {
1557
+ "kind": "method",
1558
+ "name": "setMenuValue",
1559
+ "parameters": [
1560
+ {
1561
+ "name": "value",
1562
+ "description": "The value to set on the menu.",
1563
+ "type": {
1564
+ "text": "string"
1565
+ }
1566
+ }
1567
+ ],
1568
+ "description": "Sets the menu value if menu is available.",
1813
1569
  "return": {
1814
1570
  "type": {
1815
1571
  "text": "void"
@@ -1826,21 +1582,99 @@
1826
1582
  }
1827
1583
  }
1828
1584
  },
1585
+ {
1586
+ "kind": "method",
1587
+ "name": "clear",
1588
+ "description": "Clears the current value of the combobox.",
1589
+ "return": {
1590
+ "type": {
1591
+ "text": "void"
1592
+ }
1593
+ }
1594
+ },
1829
1595
  {
1830
1596
  "kind": "method",
1831
1597
  "name": "validate",
1832
1598
  "parameters": [
1833
1599
  {
1834
- "name": "force",
1835
- "default": "false",
1836
- "description": "Whether to force validation.",
1837
- "optional": true,
1600
+ "name": "force",
1601
+ "default": "false",
1602
+ "description": "Whether to force validation.",
1603
+ "optional": true,
1604
+ "type": {
1605
+ "text": "boolean"
1606
+ }
1607
+ }
1608
+ ],
1609
+ "description": "Validates value."
1610
+ },
1611
+ {
1612
+ "kind": "method",
1613
+ "name": "transportAssignedNodes",
1614
+ "parameters": [
1615
+ {
1616
+ "name": "slot",
1617
+ "description": "The slot element containing the nodes to apply.",
1618
+ "type": {
1619
+ "text": "HTMLSlotElement"
1620
+ }
1621
+ },
1622
+ {
1623
+ "name": "target",
1624
+ "description": "The target element to apply the nodes to.",
1625
+ "type": {
1626
+ "text": "HTMLElement"
1627
+ }
1628
+ },
1629
+ {
1630
+ "name": "newSlotName",
1631
+ "description": "The new slot name for the applied nodes.",
1632
+ "type": {
1633
+ "text": "string"
1634
+ }
1635
+ }
1636
+ ],
1637
+ "description": "Applies slotted nodes to a target element with a new slot name.",
1638
+ "privacy": "private",
1639
+ "return": {
1640
+ "type": {
1641
+ "text": "void"
1642
+ }
1643
+ }
1644
+ },
1645
+ {
1646
+ "kind": "method",
1647
+ "name": "updateActiveOption",
1648
+ "parameters": [
1649
+ {
1650
+ "name": "index",
1651
+ "description": "Index of the option to make active.",
1652
+ "type": {
1653
+ "text": "number"
1654
+ }
1655
+ }
1656
+ ],
1657
+ "description": "Updates the active option in the menu."
1658
+ },
1659
+ {
1660
+ "kind": "method",
1661
+ "name": "handleSlotChange",
1662
+ "parameters": [
1663
+ {
1664
+ "name": "event",
1665
+ "description": "`slotchange` event.",
1838
1666
  "type": {
1839
- "text": "boolean"
1667
+ "text": "Event"
1840
1668
  }
1841
1669
  }
1842
1670
  ],
1843
- "description": "Validates value."
1671
+ "description": "Watch for slot changes and recalculate the menuoptions.",
1672
+ "privacy": "private",
1673
+ "return": {
1674
+ "type": {
1675
+ "text": "void"
1676
+ }
1677
+ }
1844
1678
  },
1845
1679
  {
1846
1680
  "kind": "field",
@@ -1854,6 +1688,60 @@
1854
1688
  "attribute": "appearance",
1855
1689
  "reflects": true
1856
1690
  },
1691
+ {
1692
+ "kind": "field",
1693
+ "name": "autocomplete",
1694
+ "privacy": "public",
1695
+ "type": {
1696
+ "text": "string"
1697
+ },
1698
+ "description": "An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete=\"off\"` is supported.",
1699
+ "attribute": "autocomplete",
1700
+ "reflects": true
1701
+ },
1702
+ {
1703
+ "kind": "field",
1704
+ "name": "autoPlacement",
1705
+ "privacy": "public",
1706
+ "type": {
1707
+ "text": "boolean"
1708
+ },
1709
+ "description": "If declared, bib's position will be automatically calculated where to appear.",
1710
+ "attribute": "autoplacement",
1711
+ "reflects": true
1712
+ },
1713
+ {
1714
+ "kind": "field",
1715
+ "name": "availableOptions",
1716
+ "privacy": "private",
1717
+ "type": {
1718
+ "text": "HTMLElement[]"
1719
+ },
1720
+ "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)."
1721
+ },
1722
+ {
1723
+ "kind": "field",
1724
+ "name": "behavior",
1725
+ "privacy": "public",
1726
+ "type": {
1727
+ "text": "'filter' | 'suggestion'"
1728
+ },
1729
+ "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.",
1730
+ "default": "'suggestion'",
1731
+ "attribute": "behavior",
1732
+ "reflects": true
1733
+ },
1734
+ {
1735
+ "kind": "field",
1736
+ "name": "checkmark",
1737
+ "privacy": "public",
1738
+ "type": {
1739
+ "text": "boolean"
1740
+ },
1741
+ "description": "When attribute is present auro-menu will apply check marks to selected options.",
1742
+ "attribute": "checkmark",
1743
+ "reflects": true
1744
+ },
1857
1745
  {
1858
1746
  "kind": "field",
1859
1747
  "name": "disabled",
@@ -1861,10 +1749,39 @@
1861
1749
  "type": {
1862
1750
  "text": "boolean"
1863
1751
  },
1864
- "description": "If set, disables the checkbox group.",
1752
+ "description": "If set, disables the combobox.",
1865
1753
  "attribute": "disabled",
1866
1754
  "reflects": true
1867
1755
  },
1756
+ {
1757
+ "kind": "field",
1758
+ "name": "dropdownId",
1759
+ "privacy": "private",
1760
+ "type": {
1761
+ "text": "string"
1762
+ },
1763
+ "description": "ID for the dropdown."
1764
+ },
1765
+ {
1766
+ "kind": "field",
1767
+ "name": "dropdownOpen",
1768
+ "privacy": "private",
1769
+ "type": {
1770
+ "text": "boolean"
1771
+ },
1772
+ "description": "Whether or not the dropdown is open."
1773
+ },
1774
+ {
1775
+ "kind": "field",
1776
+ "name": "dvInputOnly",
1777
+ "privacy": "public",
1778
+ "type": {
1779
+ "text": "boolean"
1780
+ },
1781
+ "description": "If defined, the display value slot content will only mask the HTML5 input element. The inputs label will not be masked.",
1782
+ "attribute": "dvinputonly",
1783
+ "reflects": true
1784
+ },
1868
1785
  {
1869
1786
  "kind": "field",
1870
1787
  "name": "error",
@@ -1878,13 +1795,104 @@
1878
1795
  },
1879
1796
  {
1880
1797
  "kind": "field",
1881
- "name": "horizontal",
1798
+ "name": "format",
1799
+ "privacy": "public",
1800
+ "type": {
1801
+ "text": "string"
1802
+ },
1803
+ "description": "Specifies the input mask format.",
1804
+ "attribute": "format",
1805
+ "reflects": true
1806
+ },
1807
+ {
1808
+ "kind": "field",
1809
+ "name": "inputmode",
1810
+ "privacy": "public",
1811
+ "type": {
1812
+ "text": "string"
1813
+ },
1814
+ "description": "Exposes inputmode attribute for input.",
1815
+ "attribute": "inputmode",
1816
+ "reflects": true
1817
+ },
1818
+ {
1819
+ "kind": "field",
1820
+ "name": "layout",
1821
+ "privacy": "public",
1822
+ "type": {
1823
+ "text": "'classic' | 'emphasized' | 'snowflake'"
1824
+ },
1825
+ "description": "Sets the layout of the combobox.",
1826
+ "default": "'classic'",
1827
+ "attribute": "layout",
1828
+ "reflects": true
1829
+ },
1830
+ {
1831
+ "kind": "field",
1832
+ "name": "shape",
1833
+ "privacy": "public",
1834
+ "type": {
1835
+ "text": "'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'"
1836
+ },
1837
+ "description": "Sets the shape of the combobox.",
1838
+ "default": "'classic'",
1839
+ "attribute": "shape",
1840
+ "reflects": true
1841
+ },
1842
+ {
1843
+ "kind": "field",
1844
+ "name": "size",
1845
+ "privacy": "public",
1846
+ "type": {
1847
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
1848
+ },
1849
+ "description": "Sets the size of the combobox.",
1850
+ "default": "'xl'",
1851
+ "attribute": "size",
1852
+ "reflects": true
1853
+ },
1854
+ {
1855
+ "kind": "field",
1856
+ "name": "matchWidth",
1857
+ "privacy": "private",
1858
+ "type": {
1859
+ "text": "boolean"
1860
+ },
1861
+ "description": "If declared, the popover and trigger will be set to the same width.",
1862
+ "attribute": "matchwidth",
1863
+ "reflects": true
1864
+ },
1865
+ {
1866
+ "kind": "field",
1867
+ "name": "noFilter",
1882
1868
  "privacy": "public",
1883
1869
  "type": {
1884
1870
  "text": "boolean"
1885
1871
  },
1886
- "description": "If set, checkboxes will be aligned horizontally.",
1887
- "attribute": "horizontal",
1872
+ "description": "If set, combobox will not filter menuoptions based on input.",
1873
+ "attribute": "nofilter",
1874
+ "reflects": true
1875
+ },
1876
+ {
1877
+ "kind": "field",
1878
+ "name": "noFlip",
1879
+ "privacy": "public",
1880
+ "type": {
1881
+ "text": "boolean"
1882
+ },
1883
+ "description": "If declared, the bib will NOT flip to an alternate position\nwhen there isn't enough space in the specified `placement`.",
1884
+ "attribute": "noflip",
1885
+ "reflects": true
1886
+ },
1887
+ {
1888
+ "kind": "field",
1889
+ "name": "shift",
1890
+ "privacy": "public",
1891
+ "type": {
1892
+ "text": "boolean"
1893
+ },
1894
+ "description": "If declared, the dropdown will shift its position to avoid being cut off by the viewport.",
1895
+ "attribute": "shift",
1888
1896
  "reflects": true
1889
1897
  },
1890
1898
  {
@@ -1898,6 +1906,18 @@
1898
1906
  "attribute": "novalidate",
1899
1907
  "reflects": true
1900
1908
  },
1909
+ {
1910
+ "kind": "field",
1911
+ "name": "offset",
1912
+ "privacy": "public",
1913
+ "type": {
1914
+ "text": "number"
1915
+ },
1916
+ "description": "Gap between the trigger element and bib.",
1917
+ "default": "0",
1918
+ "attribute": "offset",
1919
+ "reflects": true
1920
+ },
1901
1921
  {
1902
1922
  "kind": "field",
1903
1923
  "name": "onDark",
@@ -1907,6 +1927,54 @@
1907
1927
  },
1908
1928
  "description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
1909
1929
  "attribute": "ondark",
1930
+ "reflects": true,
1931
+ "inheritedFrom": {
1932
+ "name": "AuroElement",
1933
+ "module": "components/layoutElement/src/auroElement.js"
1934
+ }
1935
+ },
1936
+ {
1937
+ "kind": "field",
1938
+ "name": "optionSelected",
1939
+ "privacy": "public",
1940
+ "type": {
1941
+ "text": "HTMLElement"
1942
+ },
1943
+ "description": "Specifies the current selected option.",
1944
+ "attribute": "optionselected"
1945
+ },
1946
+ {
1947
+ "kind": "field",
1948
+ "name": "persistInput",
1949
+ "privacy": "public",
1950
+ "type": {
1951
+ "text": "boolean"
1952
+ },
1953
+ "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.",
1954
+ "attribute": "persistinput",
1955
+ "reflects": true
1956
+ },
1957
+ {
1958
+ "kind": "field",
1959
+ "name": "placement",
1960
+ "privacy": "public",
1961
+ "type": {
1962
+ "text": "'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'"
1963
+ },
1964
+ "description": "Position where the bib should appear relative to the trigger.",
1965
+ "default": "'bottom-start'",
1966
+ "attribute": "placement",
1967
+ "reflects": true
1968
+ },
1969
+ {
1970
+ "kind": "field",
1971
+ "name": "placeholder",
1972
+ "privacy": "public",
1973
+ "type": {
1974
+ "text": "string"
1975
+ },
1976
+ "description": "Define custom placeholder text, only supported by date input formats.",
1977
+ "attribute": "placeholder",
1910
1978
  "reflects": true
1911
1979
  },
1912
1980
  {
@@ -1916,7 +1984,7 @@
1916
1984
  "type": {
1917
1985
  "text": "boolean"
1918
1986
  },
1919
- "description": "Populates the `required` attribute on the element. Used for client-side validation.",
1987
+ "description": "Populates the `required` attribute on the input. Used for client-side validation.",
1920
1988
  "attribute": "required",
1921
1989
  "reflects": true
1922
1990
  },
@@ -1952,619 +2020,551 @@
1952
2020
  },
1953
2021
  {
1954
2022
  "kind": "field",
1955
- "name": "validity",
2023
+ "name": "setCustomValidityValueMissingFilter",
1956
2024
  "privacy": "public",
1957
2025
  "type": {
1958
2026
  "text": "string"
1959
2027
  },
1960
- "description": "Specifies the `validityState` this element is in.",
1961
- "attribute": "validity",
1962
- "reflects": true
1963
- }
1964
- ],
1965
- "events": [
1966
- {
1967
- "name": "input",
1968
- "type": {
1969
- "text": "CustomEvent"
1970
- },
1971
- "description": "Notifies when the group's value changes due to a checkbox selection being added or removed."
1972
- },
1973
- {
1974
- "description": "Notifies that the `validity` and `errorMessage` values have changed.",
1975
- "name": "auroFormElement-validated"
1976
- }
1977
- ],
1978
- "attributes": [
1979
- {
1980
- "name": "appearance",
1981
- "type": {
1982
- "text": "'default' | 'inverse'"
1983
- },
1984
- "description": "Defines whether the component will be on lighter or darker backgrounds.",
1985
- "default": "'default'",
1986
- "fieldName": "appearance"
1987
- },
1988
- {
1989
- "name": "disabled",
1990
- "type": {
1991
- "text": "boolean"
1992
- },
1993
- "description": "If set, disables the checkbox group.",
1994
- "fieldName": "disabled"
1995
- },
1996
- {
1997
- "name": "error",
1998
- "type": {
1999
- "text": "string"
2000
- },
2001
- "description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
2002
- "fieldName": "error"
2028
+ "description": "Custom help text message to display when validity = `valueMissing` due to the user not choosing a menu option when behavior = \"filter\".",
2029
+ "attribute": "setcustomvalidityvaluemissingfilter"
2003
2030
  },
2004
2031
  {
2005
- "name": "horizontal",
2032
+ "kind": "field",
2033
+ "name": "touched",
2034
+ "privacy": "private",
2006
2035
  "type": {
2007
2036
  "text": "boolean"
2008
2037
  },
2009
- "description": "If set, checkboxes will be aligned horizontally.",
2010
- "fieldName": "horizontal"
2038
+ "description": "Indicates whether the combobox is in a dirty state (has been interacted with)."
2011
2039
  },
2012
2040
  {
2013
- "name": "novalidate",
2041
+ "kind": "field",
2042
+ "name": "triggerIcon",
2043
+ "privacy": "public",
2014
2044
  "type": {
2015
2045
  "text": "boolean"
2016
2046
  },
2017
- "description": "If set, disables auto-validation on blur.",
2018
- "fieldName": "noValidate"
2047
+ "description": "If set, the `icon` attribute will be applied to the trigger `auro-input` element.\nIcon rendering is currently limited to `type=\"credit-card\"`. Setting `triggerIcon`\nwithout a supported `type` propagates the attribute but does not render a visible icon.",
2048
+ "attribute": "triggericon",
2049
+ "reflects": true
2019
2050
  },
2020
2051
  {
2021
- "name": "ondark",
2052
+ "kind": "field",
2053
+ "name": "type",
2054
+ "privacy": "public",
2022
2055
  "type": {
2023
- "text": "boolean"
2056
+ "text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number' | 'date'"
2024
2057
  },
2025
- "description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
2026
- "fieldName": "onDark"
2058
+ "description": "Applies the defined value as the type attribute on `auro-input`.",
2059
+ "attribute": "type",
2060
+ "reflects": true
2027
2061
  },
2028
2062
  {
2029
- "name": "required",
2063
+ "kind": "field",
2064
+ "name": "typedValue",
2065
+ "privacy": "public",
2030
2066
  "type": {
2031
- "text": "boolean"
2067
+ "text": "string"
2032
2068
  },
2033
- "description": "Populates the `required` attribute on the element. Used for client-side validation.",
2034
- "fieldName": "required"
2069
+ "description": "Specifies the value of the input element within the combobox.",
2070
+ "attribute": "typedvalue",
2071
+ "reflects": true
2035
2072
  },
2036
2073
  {
2037
- "name": "setcustomvalidity",
2074
+ "kind": "field",
2075
+ "name": "validity",
2076
+ "privacy": "public",
2038
2077
  "type": {
2039
2078
  "text": "string"
2040
2079
  },
2041
- "description": "Sets a custom help text message to display for all validityStates.",
2042
- "fieldName": "setCustomValidity"
2080
+ "description": "Specifies the `validityState` this element is in.",
2081
+ "attribute": "validity",
2082
+ "reflects": true
2043
2083
  },
2044
2084
  {
2045
- "name": "setcustomvaliditycustomerror",
2085
+ "kind": "field",
2086
+ "name": "value",
2087
+ "privacy": "public",
2046
2088
  "type": {
2047
2089
  "text": "string"
2048
2090
  },
2049
- "description": "Custom help text message to display when validity = `customError`.",
2050
- "fieldName": "setCustomValidityCustomError"
2091
+ "description": "Value selected for the dropdown menu. When set programmatically or as a preset attribute, the value must match a selectable option. If it matches an option marked `disabled` or `static`, the selection is rejected: `value` and `optionSelected` are cleared to `undefined`. `hidden` options (including those filtered out by type-ahead) remain selectable by value.",
2092
+ "attribute": "value"
2051
2093
  },
2052
2094
  {
2053
- "name": "setcustomvalidityvaluemissing",
2095
+ "kind": "field",
2096
+ "name": "largeFullscreenHeadline",
2097
+ "privacy": "public",
2054
2098
  "type": {
2055
- "text": "string"
2099
+ "text": "boolean"
2056
2100
  },
2057
- "description": "Custom help text message to display when validity = `valueMissing`.",
2058
- "fieldName": "setCustomValidityValueMissing"
2101
+ "description": "If declared, make bib.fullscreen.headline in HeadingDisplay.\nOtherwise, Heading 600",
2102
+ "attribute": "largefullscreenheadline",
2103
+ "reflects": true
2059
2104
  },
2060
2105
  {
2061
- "name": "validity",
2106
+ "kind": "field",
2107
+ "name": "fullscreenBreakpoint",
2108
+ "privacy": "public",
2062
2109
  "type": {
2063
- "text": "string"
2110
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'"
2064
2111
  },
2065
- "description": "Specifies the `validityState` this element is in.",
2066
- "fieldName": "validity"
2067
- }
2068
- ],
2069
- "superclass": {
2070
- "name": "LitElement",
2071
- "package": "lit"
2072
- },
2073
- "tagName": "auro-checkbox-group",
2074
- "customElement": true
2075
- }
2076
- ],
2077
- "exports": [
2078
- {
2079
- "kind": "js",
2080
- "name": "AuroCheckboxGroup",
2081
- "declaration": {
2082
- "name": "AuroCheckboxGroup",
2083
- "module": "components/checkbox/src/auro-checkbox-group.js"
2084
- }
2085
- }
2086
- ]
2087
- },
2088
- {
2089
- "kind": "javascript-module",
2090
- "path": "components/checkbox/src/auro-checkbox.js",
2091
- "declarations": [
2092
- {
2093
- "kind": "class",
2094
- "description": "The `auro-checkbox` element is for the purpose of allowing users to select one or more options of a limited number of choices.",
2095
- "name": "AuroCheckbox",
2096
- "cssParts": [
2097
- {
2098
- "description": "apply css to a specific checkbox.",
2099
- "name": "checkbox"
2100
- },
2101
- {
2102
- "description": "apply css to a specific checkbox's input.",
2103
- "name": "checkbox-input"
2104
- },
2105
- {
2106
- "description": "apply css to a specific checkbox's label.",
2107
- "name": "checkbox-label"
2108
- }
2109
- ],
2110
- "slots": [
2111
- {
2112
- "description": "The default slot for the checkbox label.",
2113
- "name": "default"
2114
- }
2115
- ],
2116
- "members": [
2117
- {
2118
- "kind": "method",
2119
- "name": "_initializeDefaults"
2120
- },
2121
- {
2122
- "kind": "method",
2123
- "name": "register",
2124
- "static": true,
2125
- "parameters": [
2126
- {
2127
- "name": "name",
2128
- "default": "\"auro-checkbox\"",
2129
- "description": "The name of element that you want to register to.",
2130
- "optional": true,
2131
- "type": {
2132
- "text": "string"
2133
- }
2134
- }
2135
- ],
2136
- "description": "This will register this element with the browser."
2137
- },
2138
- {
2139
- "kind": "method",
2140
- "name": "handleChange",
2141
- "parameters": [
2142
- {
2143
- "name": "event",
2144
- "description": "The change event from the checkbox input.",
2145
- "type": {
2146
- "text": "Event"
2147
- }
2148
- }
2149
- ],
2150
- "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.",
2151
- "privacy": "private",
2152
- "return": {
2153
- "type": {
2154
- "text": "void"
2155
- }
2156
- }
2157
- },
2158
- {
2159
- "kind": "method",
2160
- "name": "handleInput",
2161
- "parameters": [
2162
- {
2163
- "name": "event",
2164
- "description": "The input event from the checkbox input.",
2165
- "type": {
2166
- "text": "Event"
2167
- }
2168
- }
2169
- ],
2170
- "description": "Handles the input event for the checkbox input.\nUpdates the checked state and dispatches a custom 'auroCheckbox-input' event.",
2171
- "privacy": "private",
2172
- "return": {
2173
- "type": {
2174
- "text": "void"
2175
- }
2176
- }
2112
+ "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.",
2113
+ "default": "'sm'",
2114
+ "attribute": "fullscreenbreakpoint",
2115
+ "reflects": true
2177
2116
  },
2178
2117
  {
2179
- "kind": "method",
2180
- "name": "handleFocusin",
2181
- "description": "Function to support",
2118
+ "kind": "field",
2119
+ "name": "optionActive",
2182
2120
  "privacy": "private",
2183
- "return": {
2184
- "type": {
2185
- "text": "void"
2186
- }
2187
- }
2121
+ "type": {
2122
+ "text": "HTMLElement"
2123
+ },
2124
+ "description": "Specifies the currently active option."
2188
2125
  },
2189
2126
  {
2190
- "kind": "method",
2191
- "name": "generateIconHtml",
2192
- "description": "Function to generate checkmark svg.",
2127
+ "kind": "field",
2128
+ "name": "componentHasFocus",
2129
+ "description": "Returns true if the element has focus.",
2193
2130
  "privacy": "private",
2194
2131
  "return": {
2195
2132
  "type": {
2196
- "text": "HTMLElement"
2133
+ "text": "boolean"
2197
2134
  }
2135
+ },
2136
+ "readonly": true,
2137
+ "inheritedFrom": {
2138
+ "name": "AuroElement",
2139
+ "module": "components/layoutElement/src/auroElement.js"
2198
2140
  }
2199
2141
  },
2200
2142
  {
2201
2143
  "kind": "method",
2202
- "name": "reset",
2203
- "description": "Resets component to initial state.",
2204
- "return": {
2205
- "type": {
2206
- "text": "void"
2207
- }
2144
+ "name": "resetShapeClasses",
2145
+ "inheritedFrom": {
2146
+ "name": "AuroElement",
2147
+ "module": "components/layoutElement/src/auroElement.js"
2208
2148
  }
2209
2149
  },
2210
2150
  {
2211
2151
  "kind": "method",
2212
- "name": "updateAriaLabel",
2213
- "description": "Updates the aria-label based on slot content.",
2214
- "privacy": "private",
2215
- "return": {
2216
- "type": {
2217
- "text": "void"
2218
- }
2152
+ "name": "resetLayoutClasses",
2153
+ "inheritedFrom": {
2154
+ "name": "AuroElement",
2155
+ "module": "components/layoutElement/src/auroElement.js"
2219
2156
  }
2220
2157
  },
2221
2158
  {
2222
2159
  "kind": "method",
2223
- "name": "handleKeyDown",
2224
- "parameters": [
2225
- {
2226
- "name": "event",
2227
- "description": "The keydown event from the checkbox input.",
2228
- "type": {
2229
- "text": "KeyboardEvent"
2230
- }
2231
- }
2232
- ],
2233
- "description": "Handles keydown event to toggle the checkbox with Space key.",
2234
- "privacy": "private",
2235
- "return": {
2236
- "type": {
2237
- "text": "void"
2238
- }
2160
+ "name": "updateComponentArchitecture",
2161
+ "inheritedFrom": {
2162
+ "name": "AuroElement",
2163
+ "module": "components/layoutElement/src/auroElement.js"
2239
2164
  }
2165
+ }
2166
+ ],
2167
+ "events": [
2168
+ {
2169
+ "name": "inputValue",
2170
+ "type": {
2171
+ "text": "CustomEvent"
2172
+ },
2173
+ "description": "Notifies that the components internal HTML5 input value has changed."
2240
2174
  },
2241
2175
  {
2242
- "kind": "field",
2176
+ "name": "input",
2177
+ "type": {
2178
+ "text": "CustomEvent"
2179
+ },
2180
+ "description": "Notifies that the component has a new value set."
2181
+ },
2182
+ {
2183
+ "name": "auroCombobox-valueSet",
2184
+ "type": {
2185
+ "text": "CustomEvent"
2186
+ },
2187
+ "description": "(Deprecated) Notifies that the component has a new value set."
2188
+ },
2189
+ {
2190
+ "description": "Notifies that the component value(s) have been validated.",
2191
+ "name": "auroFormElement-validated"
2192
+ }
2193
+ ],
2194
+ "attributes": [
2195
+ {
2243
2196
  "name": "appearance",
2244
- "privacy": "public",
2245
2197
  "type": {
2246
2198
  "text": "'default' | 'inverse'"
2247
2199
  },
2248
2200
  "description": "Defines whether the component will be on lighter or darker backgrounds.",
2249
2201
  "default": "'default'",
2250
- "attribute": "appearance",
2251
- "reflects": true
2202
+ "fieldName": "appearance"
2252
2203
  },
2253
2204
  {
2254
- "kind": "field",
2255
- "name": "checked",
2256
- "privacy": "public",
2205
+ "name": "autocomplete",
2206
+ "type": {
2207
+ "text": "string"
2208
+ },
2209
+ "description": "An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete=\"off\"` is supported.",
2210
+ "fieldName": "autocomplete"
2211
+ },
2212
+ {
2213
+ "name": "autoplacement",
2257
2214
  "type": {
2258
2215
  "text": "boolean"
2259
2216
  },
2260
- "description": "If set to true, the checkbox will be filled with a checkmark.",
2261
- "attribute": "checked",
2262
- "reflects": true
2217
+ "description": "If declared, bib's position will be automatically calculated where to appear.",
2218
+ "fieldName": "autoPlacement"
2219
+ },
2220
+ {
2221
+ "name": "behavior",
2222
+ "type": {
2223
+ "text": "'filter' | 'suggestion'"
2224
+ },
2225
+ "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.",
2226
+ "default": "'suggestion'",
2227
+ "fieldName": "behavior"
2228
+ },
2229
+ {
2230
+ "name": "checkmark",
2231
+ "type": {
2232
+ "text": "boolean"
2233
+ },
2234
+ "description": "When attribute is present auro-menu will apply check marks to selected options.",
2235
+ "fieldName": "checkmark"
2263
2236
  },
2264
2237
  {
2265
- "kind": "field",
2266
2238
  "name": "disabled",
2267
- "privacy": "public",
2268
2239
  "type": {
2269
2240
  "text": "boolean"
2270
2241
  },
2271
- "description": "If set to true, the checkbox will not be clickable.",
2272
- "attribute": "disabled",
2273
- "reflects": true
2242
+ "description": "If set, disables the combobox.",
2243
+ "fieldName": "disabled"
2274
2244
  },
2275
2245
  {
2276
- "kind": "field",
2277
- "name": "error",
2278
- "privacy": "public",
2246
+ "name": "dvinputonly",
2279
2247
  "type": {
2280
2248
  "text": "boolean"
2281
2249
  },
2282
- "description": "If set to true, the checkbox will be displayed with an error state.",
2283
- "attribute": "error",
2284
- "reflects": true
2250
+ "description": "If defined, the display value slot content will only mask the HTML5 input element. The inputs label will not be masked.",
2251
+ "fieldName": "dvInputOnly"
2285
2252
  },
2286
2253
  {
2287
- "kind": "field",
2288
- "name": "id",
2289
- "privacy": "public",
2254
+ "name": "error",
2290
2255
  "type": {
2291
2256
  "text": "string"
2292
2257
  },
2293
- "description": "The id global attribute defines an identifier (ID) which must be unique in the whole document.",
2294
- "attribute": "id",
2295
- "reflects": true
2258
+ "description": "When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.",
2259
+ "fieldName": "error"
2296
2260
  },
2297
2261
  {
2298
- "kind": "field",
2299
- "name": "inputId",
2300
- "privacy": "private",
2262
+ "name": "format",
2301
2263
  "type": {
2302
2264
  "text": "string"
2303
2265
  },
2304
- "description": "The id for input node."
2266
+ "description": "Specifies the input mask format.",
2267
+ "fieldName": "format"
2305
2268
  },
2306
2269
  {
2307
- "kind": "field",
2308
- "name": "name",
2309
- "privacy": "public",
2270
+ "name": "inputmode",
2310
2271
  "type": {
2311
2272
  "text": "string"
2312
2273
  },
2313
- "description": "Accepts any string and is used to identify related checkboxes when submitting form data.",
2314
- "attribute": "name"
2274
+ "description": "Exposes inputmode attribute for input.",
2275
+ "fieldName": "inputmode"
2315
2276
  },
2316
2277
  {
2317
- "kind": "field",
2318
- "name": "onDark",
2319
- "privacy": "public",
2278
+ "name": "layout",
2320
2279
  "type": {
2321
- "text": "boolean"
2280
+ "text": "'classic' | 'emphasized' | 'snowflake'"
2322
2281
  },
2323
- "description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
2324
- "attribute": "ondark",
2325
- "reflects": true
2282
+ "description": "Sets the layout of the combobox.",
2283
+ "default": "'classic'",
2284
+ "fieldName": "layout"
2326
2285
  },
2327
2286
  {
2328
- "kind": "field",
2329
- "name": "touched",
2330
- "privacy": "private",
2287
+ "name": "shape",
2288
+ "type": {
2289
+ "text": "'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'"
2290
+ },
2291
+ "description": "Sets the shape of the combobox.",
2292
+ "default": "'classic'",
2293
+ "fieldName": "shape"
2294
+ },
2295
+ {
2296
+ "name": "size",
2297
+ "type": {
2298
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
2299
+ },
2300
+ "description": "Sets the size of the combobox.",
2301
+ "default": "'xl'",
2302
+ "fieldName": "size"
2303
+ },
2304
+ {
2305
+ "name": "matchwidth",
2331
2306
  "type": {
2332
2307
  "text": "boolean"
2333
2308
  },
2334
- "description": "Indicates whether the checkbox has been interacted with."
2309
+ "description": "If declared, the popover and trigger will be set to the same width.",
2310
+ "fieldName": "matchWidth"
2335
2311
  },
2336
2312
  {
2337
- "kind": "field",
2338
- "name": "value",
2339
- "privacy": "public",
2313
+ "name": "nofilter",
2340
2314
  "type": {
2341
- "text": "string"
2315
+ "text": "boolean"
2342
2316
  },
2343
- "description": "Sets the element's input value. Must be unique within an auro-checkbox-group element.",
2344
- "attribute": "value"
2317
+ "description": "If set, combobox will not filter menuoptions based on input.",
2318
+ "fieldName": "noFilter"
2345
2319
  },
2346
2320
  {
2347
- "kind": "field",
2348
- "name": "tabIndex",
2349
- "privacy": "private",
2321
+ "name": "noflip",
2350
2322
  "type": {
2351
- "text": "number"
2323
+ "text": "boolean"
2352
2324
  },
2353
- "description": "The tabindex attribute for the checkbox.",
2354
- "attribute": "tabindex",
2355
- "reflects": true
2325
+ "description": "If declared, the bib will NOT flip to an alternate position\nwhen there isn't enough space in the specified `placement`.",
2326
+ "fieldName": "noFlip"
2356
2327
  },
2357
2328
  {
2358
- "kind": "field",
2359
- "name": "ariaChecked",
2360
- "privacy": "private",
2329
+ "name": "shift",
2361
2330
  "type": {
2362
- "text": "string"
2331
+ "text": "boolean"
2363
2332
  },
2364
- "description": "The aria-checked attribute for the checkbox.",
2365
- "attribute": "aria-checked",
2366
- "reflects": true
2333
+ "description": "If declared, the dropdown will shift its position to avoid being cut off by the viewport.",
2334
+ "fieldName": "shift"
2367
2335
  },
2368
2336
  {
2369
- "kind": "field",
2370
- "name": "ariaDisabled",
2371
- "privacy": "private",
2337
+ "name": "novalidate",
2372
2338
  "type": {
2373
- "text": "string"
2339
+ "text": "boolean"
2374
2340
  },
2375
- "description": "The aria-disabled attribute for the checkbox.",
2376
- "attribute": "aria-disabled",
2377
- "reflects": true
2341
+ "description": "If set, disables auto-validation on blur.",
2342
+ "fieldName": "noValidate"
2378
2343
  },
2379
2344
  {
2380
- "kind": "field",
2381
- "name": "role",
2382
- "privacy": "private",
2345
+ "name": "offset",
2383
2346
  "type": {
2384
- "text": "string"
2347
+ "text": "number"
2385
2348
  },
2386
- "description": "The ARIA role for the element. Must remain 'checkbox' for screen readers\nto correctly identify this as a checkbox control.",
2387
- "attribute": "role",
2388
- "reflects": true
2389
- }
2390
- ],
2391
- "events": [
2349
+ "description": "Gap between the trigger element and bib.",
2350
+ "default": "0",
2351
+ "fieldName": "offset"
2352
+ },
2392
2353
  {
2393
- "name": "auroCheckbox-input",
2354
+ "name": "ondark",
2394
2355
  "type": {
2395
- "text": "CustomEvent"
2356
+ "text": "boolean"
2396
2357
  },
2397
- "description": "(Deprecated) Notifies when the checked value is changed by user interaction."
2358
+ "description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
2359
+ "fieldName": "onDark",
2360
+ "inheritedFrom": {
2361
+ "name": "AuroElement",
2362
+ "module": "components/layoutElement/src/auroElement.js"
2363
+ }
2398
2364
  },
2399
2365
  {
2400
- "name": "auroCheckbox-focusin",
2366
+ "name": "optionselected",
2401
2367
  "type": {
2402
- "text": "CustomEvent"
2368
+ "text": "HTMLElement"
2403
2369
  },
2404
- "description": "Notifies when the checkbox receives focus."
2370
+ "description": "Specifies the current selected option.",
2371
+ "fieldName": "optionSelected"
2405
2372
  },
2406
2373
  {
2407
- "name": "auroCheckbox-focusout",
2374
+ "name": "persistinput",
2408
2375
  "type": {
2409
- "text": "CustomEvent"
2376
+ "text": "boolean"
2410
2377
  },
2411
- "description": "Notifies when the checkbox loses focus."
2378
+ "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.",
2379
+ "fieldName": "persistInput"
2412
2380
  },
2413
2381
  {
2414
- "description": "(Deprecated) Notifies when checked value is changed.",
2415
- "name": "change"
2382
+ "name": "placement",
2383
+ "type": {
2384
+ "text": "'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'"
2385
+ },
2386
+ "description": "Position where the bib should appear relative to the trigger.",
2387
+ "default": "'bottom-start'",
2388
+ "fieldName": "placement"
2416
2389
  },
2417
2390
  {
2418
- "description": "Notifies when when checked value is changed by user's interface.",
2419
- "name": "input"
2420
- }
2421
- ],
2422
- "attributes": [
2423
- {
2424
- "name": "appearance",
2391
+ "name": "placeholder",
2425
2392
  "type": {
2426
- "text": "'default' | 'inverse'"
2393
+ "text": "string"
2427
2394
  },
2428
- "description": "Defines whether the component will be on lighter or darker backgrounds.",
2429
- "default": "'default'",
2430
- "fieldName": "appearance"
2395
+ "description": "Define custom placeholder text, only supported by date input formats.",
2396
+ "fieldName": "placeholder"
2431
2397
  },
2432
2398
  {
2433
- "name": "checked",
2399
+ "name": "required",
2434
2400
  "type": {
2435
2401
  "text": "boolean"
2436
2402
  },
2437
- "description": "If set to true, the checkbox will be filled with a checkmark.",
2438
- "fieldName": "checked"
2403
+ "description": "Populates the `required` attribute on the input. Used for client-side validation.",
2404
+ "fieldName": "required"
2439
2405
  },
2440
2406
  {
2441
- "name": "disabled",
2407
+ "name": "setcustomvalidity",
2442
2408
  "type": {
2443
- "text": "boolean"
2409
+ "text": "string"
2444
2410
  },
2445
- "description": "If set to true, the checkbox will not be clickable.",
2446
- "fieldName": "disabled"
2411
+ "description": "Sets a custom help text message to display for all validityStates.",
2412
+ "fieldName": "setCustomValidity"
2447
2413
  },
2448
2414
  {
2449
- "name": "error",
2415
+ "name": "setcustomvaliditycustomerror",
2450
2416
  "type": {
2451
- "text": "boolean"
2417
+ "text": "string"
2452
2418
  },
2453
- "description": "If set to true, the checkbox will be displayed with an error state.",
2454
- "fieldName": "error"
2419
+ "description": "Custom help text message to display when validity = `customError`.",
2420
+ "fieldName": "setCustomValidityCustomError"
2455
2421
  },
2456
2422
  {
2457
- "name": "id",
2423
+ "name": "setcustomvalidityvaluemissing",
2458
2424
  "type": {
2459
2425
  "text": "string"
2460
2426
  },
2461
- "description": "The id global attribute defines an identifier (ID) which must be unique in the whole document.",
2462
- "fieldName": "id"
2427
+ "description": "Custom help text message to display when validity = `valueMissing`.",
2428
+ "fieldName": "setCustomValidityValueMissing"
2463
2429
  },
2464
2430
  {
2465
- "name": "name",
2431
+ "name": "setcustomvalidityvaluemissingfilter",
2466
2432
  "type": {
2467
2433
  "text": "string"
2468
2434
  },
2469
- "description": "Accepts any string and is used to identify related checkboxes when submitting form data.",
2470
- "fieldName": "name"
2435
+ "description": "Custom help text message to display when validity = `valueMissing` due to the user not choosing a menu option when behavior = \"filter\".",
2436
+ "fieldName": "setCustomValidityValueMissingFilter"
2471
2437
  },
2472
2438
  {
2473
- "name": "ondark",
2439
+ "name": "triggericon",
2474
2440
  "type": {
2475
2441
  "text": "boolean"
2476
2442
  },
2477
- "description": "DEPRECATED - use `appearance=\"inverse\"` instead.",
2478
- "fieldName": "onDark"
2443
+ "description": "If set, the `icon` attribute will be applied to the trigger `auro-input` element.\nIcon rendering is currently limited to `type=\"credit-card\"`. Setting `triggerIcon`\nwithout a supported `type` propagates the attribute but does not render a visible icon.",
2444
+ "fieldName": "triggerIcon"
2479
2445
  },
2480
2446
  {
2481
- "name": "value",
2447
+ "name": "type",
2482
2448
  "type": {
2483
- "text": "string"
2449
+ "text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number' | 'date'"
2484
2450
  },
2485
- "description": "Sets the element's input value. Must be unique within an auro-checkbox-group element.",
2486
- "fieldName": "value"
2451
+ "description": "Applies the defined value as the type attribute on `auro-input`.",
2452
+ "fieldName": "type"
2487
2453
  },
2488
2454
  {
2489
- "name": "tabindex",
2455
+ "name": "typedvalue",
2490
2456
  "type": {
2491
- "text": "number"
2457
+ "text": "string"
2492
2458
  },
2493
- "description": "The tabindex attribute for the checkbox.",
2494
- "fieldName": "tabIndex"
2459
+ "description": "Specifies the value of the input element within the combobox.",
2460
+ "fieldName": "typedValue"
2495
2461
  },
2496
2462
  {
2497
- "name": "aria-checked",
2463
+ "name": "validity",
2498
2464
  "type": {
2499
2465
  "text": "string"
2500
2466
  },
2501
- "description": "The aria-checked attribute for the checkbox.",
2502
- "fieldName": "ariaChecked"
2467
+ "description": "Specifies the `validityState` this element is in.",
2468
+ "fieldName": "validity"
2503
2469
  },
2504
2470
  {
2505
- "name": "aria-disabled",
2471
+ "name": "value",
2506
2472
  "type": {
2507
2473
  "text": "string"
2508
2474
  },
2509
- "description": "The aria-disabled attribute for the checkbox.",
2510
- "fieldName": "ariaDisabled"
2475
+ "description": "Value selected for the dropdown menu. When set programmatically or as a preset attribute, the value must match a selectable option. If it matches an option marked `disabled` or `static`, the selection is rejected: `value` and `optionSelected` are cleared to `undefined`. `hidden` options (including those filtered out by type-ahead) remain selectable by value.",
2476
+ "fieldName": "value"
2511
2477
  },
2512
2478
  {
2513
- "name": "role",
2479
+ "name": "largefullscreenheadline",
2514
2480
  "type": {
2515
- "text": "string"
2481
+ "text": "boolean"
2516
2482
  },
2517
- "description": "The ARIA role for the element. Must remain 'checkbox' for screen readers\nto correctly identify this as a checkbox control.",
2518
- "fieldName": "role"
2483
+ "description": "If declared, make bib.fullscreen.headline in HeadingDisplay.\nOtherwise, Heading 600",
2484
+ "fieldName": "largeFullscreenHeadline"
2485
+ },
2486
+ {
2487
+ "name": "fullscreenbreakpoint",
2488
+ "type": {
2489
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'"
2490
+ },
2491
+ "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.",
2492
+ "default": "'sm'",
2493
+ "fieldName": "fullscreenBreakpoint"
2519
2494
  }
2520
2495
  ],
2521
2496
  "superclass": {
2522
- "name": "LitElement",
2523
- "package": "lit"
2497
+ "name": "AuroElement",
2498
+ "module": "/components/layoutElement/src/auroElement.js"
2524
2499
  },
2525
- "tagName": "auro-checkbox",
2500
+ "tagName": "auro-combobox",
2526
2501
  "customElement": true
2527
2502
  }
2528
2503
  ],
2529
2504
  "exports": [
2530
2505
  {
2531
2506
  "kind": "js",
2532
- "name": "AuroCheckbox",
2507
+ "name": "AuroCombobox",
2533
2508
  "declaration": {
2534
- "name": "AuroCheckbox",
2535
- "module": "components/checkbox/src/auro-checkbox.js"
2509
+ "name": "AuroCombobox",
2510
+ "module": "components/combobox/src/auro-combobox.js"
2536
2511
  }
2537
2512
  }
2538
2513
  ]
2539
2514
  },
2540
2515
  {
2541
2516
  "kind": "javascript-module",
2542
- "path": "components/checkbox/src/index.js",
2543
- "declarations": [],
2517
+ "path": "components/combobox/src/comboboxKeyboardStrategy.js",
2518
+ "declarations": [
2519
+ {
2520
+ "kind": "variable",
2521
+ "name": "comboboxKeyboardStrategy",
2522
+ "type": {
2523
+ "text": "object"
2524
+ },
2525
+ "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) { 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) { navigateArrow(component, 'up'); } else { component.showBib(); } } }, End(component, evt, ctx) { if (ctx.isExpanded) { evt.preventDefault(); evt.stopPropagation(); component.activateLastEnabledAvailableOption(); } }, Enter(component, evt, ctx) { // Forms should not submit on Enter from a combobox, regardless of which // child element (input, clear button, menu) is focused. evt.stopPropagation(); if (isClearBtnFocused(ctx)) { // Let the browser dispatch Enter to the focused clear button so its // built-in activation fires and clears the selection. Do NOT call // preventDefault — that would block the activation. return; } if (ctx.isExpanded && component.menu.optionActive) { reconcileMenuIndex(component.menu); component.menu.makeSelection(); if (ctx.isModal) { component.setTriggerInputFocus(); } evt.preventDefault(); } else { evt.preventDefault(); 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)) { if (evt.shiftKey) { if (selectAndExitBackward(component)) { evt.preventDefault(); } return; } selectAndClose(component); if (ctx.isModal) { // Fullscreen close does not automatically restore focus to the input. component.setClearBtnFocus(); } } } }"
2526
+ }
2527
+ ],
2544
2528
  "exports": [
2545
2529
  {
2546
2530
  "kind": "js",
2547
- "name": "AuroCheckbox",
2531
+ "name": "comboboxKeyboardStrategy",
2548
2532
  "declaration": {
2549
- "name": "AuroCheckbox",
2550
- "module": "components/checkbox/src/index.js"
2533
+ "name": "comboboxKeyboardStrategy",
2534
+ "module": "components/combobox/src/comboboxKeyboardStrategy.js"
2551
2535
  }
2552
- },
2536
+ }
2537
+ ]
2538
+ },
2539
+ {
2540
+ "kind": "javascript-module",
2541
+ "path": "components/combobox/src/index.js",
2542
+ "declarations": [],
2543
+ "exports": [
2553
2544
  {
2554
2545
  "kind": "js",
2555
- "name": "AuroCheckboxGroup",
2546
+ "name": "AuroCombobox",
2556
2547
  "declaration": {
2557
- "name": "AuroCheckboxGroup",
2558
- "module": "components/checkbox/src/index.js"
2548
+ "name": "AuroCombobox",
2549
+ "module": "components/combobox/src/index.js"
2559
2550
  }
2560
2551
  }
2561
2552
  ]
2562
2553
  },
2563
2554
  {
2564
2555
  "kind": "javascript-module",
2565
- "path": "components/checkbox/src/registered.js",
2556
+ "path": "components/combobox/src/registered.js",
2566
2557
  "declarations": [],
2567
- "exports": []
2558
+ "exports": [
2559
+ {
2560
+ "kind": "js",
2561
+ "name": "AuroCombobox",
2562
+ "declaration": {
2563
+ "name": "AuroCombobox",
2564
+ "module": "components/combobox/src/registered.js"
2565
+ }
2566
+ }
2567
+ ]
2568
2568
  },
2569
2569
  {
2570
2570
  "kind": "javascript-module",
@@ -3029,7 +3029,7 @@
3029
3029
  "name": "appearance",
3030
3030
  "privacy": "public",
3031
3031
  "type": {
3032
- "text": "string"
3032
+ "text": "'default' | 'inverse'"
3033
3033
  },
3034
3034
  "description": "Defines whether the component will be on lighter or darker backgrounds.",
3035
3035
  "default": "\"default\"",
@@ -3104,7 +3104,7 @@
3104
3104
  "name": "value",
3105
3105
  "privacy": "public",
3106
3106
  "type": {
3107
- "text": "object"
3107
+ "text": "Record<string, number>"
3108
3108
  },
3109
3109
  "description": "The current individual values of the nested counters.",
3110
3110
  "default": "undefined",
@@ -3391,7 +3391,7 @@
3391
3391
  {
3392
3392
  "name": "appearance",
3393
3393
  "type": {
3394
- "text": "string"
3394
+ "text": "'default' | 'inverse'"
3395
3395
  },
3396
3396
  "description": "Defines whether the component will be on lighter or darker backgrounds.",
3397
3397
  "default": "\"default\"",
@@ -3565,7 +3565,7 @@
3565
3565
  {
3566
3566
  "name": "value",
3567
3567
  "type": {
3568
- "text": "object"
3568
+ "text": "Record<string, number>"
3569
3569
  },
3570
3570
  "description": "The current individual values of the nested counters.",
3571
3571
  "default": "undefined",
@@ -4837,7 +4837,7 @@
4837
4837
  "name": "disabledDays",
4838
4838
  "privacy": "public",
4839
4839
  "type": {
4840
- "text": "array"
4840
+ "text": "number[]"
4841
4841
  },
4842
4842
  "description": "Legacy array of Unix-timestamp dates that cannot be selected.",
4843
4843
  "deprecated": "Propagated from the legacy `auro-calendar.disabledDays`\nUnix-timestamp array. The cell honors it for backward compatibility\n(see the divergence-check fallback inside `isBlackout`), but\nconsumers should migrate to `auro-datepicker.blackoutDates`\n(YYYY-MM-DD ISO strings). The calendar emits a one-time\ndeprecation warning the first time a non-empty value is observed.",
@@ -5013,7 +5013,7 @@
5013
5013
  {
5014
5014
  "name": "disableddays",
5015
5015
  "type": {
5016
- "text": "array"
5016
+ "text": "number[]"
5017
5017
  },
5018
5018
  "description": "Legacy array of Unix-timestamp dates that cannot be selected.",
5019
5019
  "deprecated": "Propagated from the legacy `auro-calendar.disabledDays`\nUnix-timestamp array. The cell honors it for backward compatibility\n(see the divergence-check fallback inside `isBlackout`), but\nconsumers should migrate to `auro-datepicker.blackoutDates`\n(YYYY-MM-DD ISO strings). The calendar emits a one-time\ndeprecation warning the first time a non-empty value is observed.",
@@ -5252,7 +5252,7 @@
5252
5252
  "name": "monthNames",
5253
5253
  "privacy": "public",
5254
5254
  "type": {
5255
- "text": "array"
5255
+ "text": "string[]"
5256
5256
  },
5257
5257
  "description": "Names of all 12 months. When omitted, names are derived from `localeCode`.",
5258
5258
  "attribute": "monthnames"
@@ -5294,7 +5294,7 @@
5294
5294
  {
5295
5295
  "name": "monthnames",
5296
5296
  "type": {
5297
- "text": "array"
5297
+ "text": "string[]"
5298
5298
  },
5299
5299
  "description": "Names of all 12 months. When omitted, names are derived from `localeCode`.",
5300
5300
  "fieldName": "monthNames"
@@ -6185,7 +6185,7 @@
6185
6185
  "kind": "field",
6186
6186
  "name": "_disabledDays",
6187
6187
  "type": {
6188
- "text": "array"
6188
+ "text": "number[]"
6189
6189
  },
6190
6190
  "deprecated": "Use `auro-datepicker.blackoutDates` (an array of\n`YYYY-MM-DD` ISO strings) instead. This legacy array of Unix\ntimestamps is still honored for backward compatibility but emits a\none-time `console.debug` the first time a non-empty value is observed.\nSupport will be removed in a future major release.",
6191
6191
  "privacy": "private",
@@ -6206,8 +6206,9 @@
6206
6206
  "kind": "field",
6207
6207
  "name": "slots",
6208
6208
  "type": {
6209
- "text": "object"
6209
+ "text": "Record<string, Node[]>"
6210
6210
  },
6211
+ "description": "Captured light-DOM slot nodes, keyed by slot name, forwarded into the bib.",
6211
6212
  "privacy": "private",
6212
6213
  "default": "{}"
6213
6214
  },
@@ -6226,7 +6227,7 @@
6226
6227
  "name": "dropdown",
6227
6228
  "privacy": "private",
6228
6229
  "type": {
6229
- "text": "object"
6230
+ "text": "HTMLElement"
6230
6231
  },
6231
6232
  "description": "Dropdown element that contains the calendar.",
6232
6233
  "default": "undefined",
@@ -6337,7 +6338,7 @@
6337
6338
  "name": "monthNames",
6338
6339
  "privacy": "public",
6339
6340
  "type": {
6340
- "text": "array"
6341
+ "text": "string[]"
6341
6342
  },
6342
6343
  "description": "Names of all 12 months. When omitted, names are derived from `localeCode`.",
6343
6344
  "attribute": "monthnames"
@@ -6408,7 +6409,7 @@
6408
6409
  {
6409
6410
  "name": "dropdown",
6410
6411
  "type": {
6411
- "text": "object"
6412
+ "text": "HTMLElement"
6412
6413
  },
6413
6414
  "description": "Dropdown element that contains the calendar.",
6414
6415
  "default": "undefined",
@@ -6493,7 +6494,7 @@
6493
6494
  {
6494
6495
  "name": "monthnames",
6495
6496
  "type": {
6496
- "text": "array"
6497
+ "text": "string[]"
6497
6498
  },
6498
6499
  "description": "Names of all 12 months. When omitted, names are derived from `localeCode`.",
6499
6500
  "fieldName": "monthNames"
@@ -7448,7 +7449,7 @@
7448
7449
  "name": "appearance",
7449
7450
  "privacy": "public",
7450
7451
  "type": {
7451
- "text": "string"
7452
+ "text": "'default' | 'inverse'"
7452
7453
  },
7453
7454
  "description": "Defines whether the component will be on lighter or darker backgrounds.",
7454
7455
  "default": "\"default\"",
@@ -7606,7 +7607,7 @@
7606
7607
  "name": "blackoutDates",
7607
7608
  "privacy": "public",
7608
7609
  "type": {
7609
- "text": "array"
7610
+ "text": "string[]"
7610
7611
  },
7611
7612
  "description": "Array of dates that cannot be selected. Dates should be in ISO format (YYYY-MM-DD).\n\n**Immutable update required.** The datepicker treats this array as\nimmutable and memoizes a lookup Set keyed on the array's reference\nidentity — matching Lit's own reactivity semantics for array\nproperties. In-place mutations (`blackoutDates.push(...)`,\n`blackoutDates[i] = ...`, `blackoutDates.splice(...)`) will not\ninvalidate the cache and the new entries will be silently ignored.\nTo update, reassign the property: `el.blackoutDates = [...el.blackoutDates, '2024-12-25']`.",
7612
7613
  "default": "[]",
@@ -7850,7 +7851,7 @@
7850
7851
  "kind": "field",
7851
7852
  "name": "dateSlotContent",
7852
7853
  "type": {
7853
- "text": "array"
7854
+ "text": "HTMLElement[]"
7854
7855
  },
7855
7856
  "privacy": "private",
7856
7857
  "default": "[]"
@@ -7871,8 +7872,7 @@
7871
7872
  "type": {
7872
7873
  "text": "boolean"
7873
7874
  },
7874
- "default": "false",
7875
- "attribute": "hasfocus"
7875
+ "default": "false"
7876
7876
  },
7877
7877
  {
7878
7878
  "kind": "field",
@@ -7881,8 +7881,7 @@
7881
7881
  "type": {
7882
7882
  "text": "boolean"
7883
7883
  },
7884
- "default": "false",
7885
- "attribute": "hasvalue"
7884
+ "default": "false"
7886
7885
  },
7887
7886
  {
7888
7887
  "kind": "field",
@@ -7891,8 +7890,7 @@
7891
7890
  "type": {
7892
7891
  "text": "boolean"
7893
7892
  },
7894
- "default": "false",
7895
- "attribute": "hasallvalues"
7893
+ "default": "false"
7896
7894
  },
7897
7895
  {
7898
7896
  "kind": "field",
@@ -8074,7 +8072,7 @@
8074
8072
  "name": "monthNames",
8075
8073
  "privacy": "public",
8076
8074
  "type": {
8077
- "text": "array"
8075
+ "text": "string[]"
8078
8076
  },
8079
8077
  "description": "Names of all 12 months to render in the calendar.\nWhen omitted, month names will be automatically populated from the active `locale` (falling back to `en-US`).",
8080
8078
  "attribute": "monthnames"
@@ -8106,7 +8104,7 @@
8106
8104
  "name": "referenceDates",
8107
8105
  "privacy": "public",
8108
8106
  "type": {
8109
- "text": "array"
8107
+ "text": "string[]"
8110
8108
  },
8111
8109
  "description": "Dates that the user should have for reference as part of their decision-making when selecting a date.\nThis should be a JSON string array of ISO date strings (`YYYY-MM-DD`).",
8112
8110
  "attribute": "referencedates",
@@ -8244,7 +8242,7 @@
8244
8242
  {
8245
8243
  "name": "appearance",
8246
8244
  "type": {
8247
- "text": "string"
8245
+ "text": "'default' | 'inverse'"
8248
8246
  },
8249
8247
  "description": "Defines whether the component will be on lighter or darker backgrounds.",
8250
8248
  "default": "\"default\"",
@@ -8262,7 +8260,7 @@
8262
8260
  {
8263
8261
  "name": "blackoutdates",
8264
8262
  "type": {
8265
- "text": "array"
8263
+ "text": "string[]"
8266
8264
  },
8267
8265
  "description": "Array of dates that cannot be selected. Dates should be in ISO format (YYYY-MM-DD).\n\n**Immutable update required.** The datepicker treats this array as\nimmutable and memoizes a lookup Set keyed on the array's reference\nidentity — matching Lit's own reactivity semantics for array\nproperties. In-place mutations (`blackoutDates.push(...)`,\n`blackoutDates[i] = ...`, `blackoutDates.splice(...)`) will not\ninvalidate the cache and the new entries will be silently ignored.\nTo update, reassign the property: `el.blackoutDates = [...el.blackoutDates, '2024-12-25']`.",
8268
8266
  "default": "[]",
@@ -8371,30 +8369,6 @@
8371
8369
  "default": "'sm'",
8372
8370
  "fieldName": "fullscreenBreakpoint"
8373
8371
  },
8374
- {
8375
- "name": "hasallvalues",
8376
- "type": {
8377
- "text": "boolean"
8378
- },
8379
- "default": "false",
8380
- "fieldName": "hasAllValues"
8381
- },
8382
- {
8383
- "name": "hasfocus",
8384
- "type": {
8385
- "text": "boolean"
8386
- },
8387
- "default": "false",
8388
- "fieldName": "hasFocus"
8389
- },
8390
- {
8391
- "name": "hasvalue",
8392
- "type": {
8393
- "text": "boolean"
8394
- },
8395
- "default": "false",
8396
- "fieldName": "hasValue"
8397
- },
8398
8372
  {
8399
8373
  "name": "inputmode",
8400
8374
  "type": {
@@ -8466,7 +8440,7 @@
8466
8440
  {
8467
8441
  "name": "monthnames",
8468
8442
  "type": {
8469
- "text": "array"
8443
+ "text": "string[]"
8470
8444
  },
8471
8445
  "description": "Names of all 12 months to render in the calendar.\nWhen omitted, month names will be automatically populated from the active `locale` (falling back to `en-US`).",
8472
8446
  "fieldName": "monthNames"
@@ -8620,7 +8594,7 @@
8620
8594
  {
8621
8595
  "name": "referencedates",
8622
8596
  "type": {
8623
- "text": "array"
8597
+ "text": "string[]"
8624
8598
  },
8625
8599
  "description": "Dates that the user should have for reference as part of their decision-making when selecting a date.\nThis should be a JSON string array of ISO date strings (`YYYY-MM-DD`).",
8626
8600
  "fieldName": "referenceDates"
@@ -10036,8 +10010,7 @@
10036
10010
  "privacy": "private",
10037
10011
  "type": {
10038
10012
  "text": "boolean"
10039
- },
10040
- "attribute": "hastriggercontent"
10013
+ }
10041
10014
  },
10042
10015
  {
10043
10016
  "kind": "field",
@@ -10116,7 +10089,7 @@
10116
10089
  "name": "onSlotChange",
10117
10090
  "privacy": "public",
10118
10091
  "type": {
10119
- "text": "function"
10092
+ "text": "() => void"
10120
10093
  },
10121
10094
  "description": "If declared, and a function is set, that function will execute when the slot content is updated.",
10122
10095
  "attribute": "onslotchange"
@@ -10338,13 +10311,6 @@
10338
10311
  "description": "If declared, the trigger will toggle the dropdown on mouseover/mouseout.",
10339
10312
  "fieldName": "hoverToggle"
10340
10313
  },
10341
- {
10342
- "name": "hastriggercontent",
10343
- "type": {
10344
- "text": "boolean"
10345
- },
10346
- "fieldName": "hasTriggerContent"
10347
- },
10348
10314
  {
10349
10315
  "name": "fullscreenbreakpoint",
10350
10316
  "type": {
@@ -10456,7 +10422,7 @@
10456
10422
  {
10457
10423
  "name": "onslotchange",
10458
10424
  "type": {
10459
- "text": "function"
10425
+ "text": "() => void"
10460
10426
  },
10461
10427
  "description": "If declared, and a function is set, that function will execute when the slot content is updated.",
10462
10428
  "fieldName": "onSlotChange"
@@ -12710,7 +12676,7 @@
12710
12676
  "kind": "field",
12711
12677
  "name": "allowedInputTypes",
12712
12678
  "type": {
12713
- "text": "array"
12679
+ "text": "string[]"
12714
12680
  },
12715
12681
  "privacy": "private",
12716
12682
  "default": "[ \"text\", \"number\", \"email\", \"password\", \"credit-card\", \"tel\" ]",
@@ -12739,7 +12705,7 @@
12739
12705
  "kind": "field",
12740
12706
  "name": "dateFormatMap",
12741
12707
  "type": {
12742
- "text": "object"
12708
+ "text": "Record<string, string>"
12743
12709
  },
12744
12710
  "privacy": "private",
12745
12711
  "default": "{ 'mm/dd/yyyy': 'dateMMDDYYYY', 'dd/mm/yyyy': 'dateDDMMYYYY', 'yyyy/mm/dd': 'dateYYYYMMDD', 'yyyy/dd/mm': 'dateYYYYDDMM', 'mm/yy': 'dateMMYY', 'yy/mm': 'dateYYMM', 'mm/yyyy': 'dateMMYYYY', 'yyyy/mm': 'dateYYYYMM', 'yy': 'dateYY', 'yyyy': 'dateYYYY', 'mm': 'dateMM', 'dd': 'dateDD', 'dd/mm': 'dateDDMM', 'mm/dd': 'dateMMDD' }",
@@ -13026,7 +12992,7 @@
13026
12992
  "kind": "field",
13027
12993
  "name": "setSelectionInputTypes",
13028
12994
  "type": {
13029
- "text": "array"
12995
+ "text": "string[]"
13030
12996
  },
13031
12997
  "privacy": "private",
13032
12998
  "default": "[ \"text\", \"password\", \"email\" ]",
@@ -14759,7 +14725,7 @@
14759
14725
  "kind": "field",
14760
14726
  "name": "allowedInputTypes",
14761
14727
  "type": {
14762
- "text": "array"
14728
+ "text": "string[]"
14763
14729
  },
14764
14730
  "privacy": "private",
14765
14731
  "default": "[ \"text\", \"number\", \"email\", \"password\", \"credit-card\", \"tel\" ]"
@@ -14780,7 +14746,7 @@
14780
14746
  "kind": "field",
14781
14747
  "name": "dateFormatMap",
14782
14748
  "type": {
14783
- "text": "object"
14749
+ "text": "Record<string, string>"
14784
14750
  },
14785
14751
  "privacy": "private",
14786
14752
  "default": "{ 'mm/dd/yyyy': 'dateMMDDYYYY', 'dd/mm/yyyy': 'dateDDMMYYYY', 'yyyy/mm/dd': 'dateYYYYMMDD', 'yyyy/dd/mm': 'dateYYYYDDMM', 'mm/yy': 'dateMMYY', 'yy/mm': 'dateYYMM', 'mm/yyyy': 'dateMMYYYY', 'yyyy/mm': 'dateYYYYMM', 'yy': 'dateYY', 'yyyy': 'dateYYYY', 'mm': 'dateMM', 'dd': 'dateDD', 'dd/mm': 'dateDDMM', 'mm/dd': 'dateMMDD' }"
@@ -14991,7 +14957,7 @@
14991
14957
  "kind": "field",
14992
14958
  "name": "setSelectionInputTypes",
14993
14959
  "type": {
14994
- "text": "array"
14960
+ "text": "string[]"
14995
14961
  },
14996
14962
  "privacy": "private",
14997
14963
  "default": "[ \"text\", \"password\", \"email\" ]"
@@ -17225,7 +17191,7 @@
17225
17191
  "name": "optionSelected",
17226
17192
  "privacy": "public",
17227
17193
  "type": {
17228
- "text": "object"
17194
+ "text": "HTMLElement | HTMLElement[]"
17229
17195
  },
17230
17196
  "description": "The currently selected menu option(s). In single-select mode this is a single `HTMLElement` (or `undefined` when nothing is selected). In multi-select mode this is an array of `HTMLElement`s.",
17231
17197
  "readonly": true,
@@ -17259,7 +17225,7 @@
17259
17225
  "name": "optionActive",
17260
17226
  "privacy": "public",
17261
17227
  "type": {
17262
- "text": "object"
17228
+ "text": "HTMLElement"
17263
17229
  },
17264
17230
  "description": "Specifies the current active menuOption.",
17265
17231
  "readonly": true,
@@ -17404,7 +17370,7 @@
17404
17370
  {
17405
17371
  "name": "auroMenu-optionsChange",
17406
17372
  "type": {
17407
- "text": "CustomEvent<{ options: Array }>"
17373
+ "text": "CustomEvent<{ options: Array<HTMLElement> }>"
17408
17374
  },
17409
17375
  "description": "Notifies that the set of available menu options has changed."
17410
17376
  },
@@ -17790,10 +17756,11 @@
17790
17756
  {
17791
17757
  "kind": "field",
17792
17758
  "name": "event",
17793
- "privacy": "private",
17759
+ "privacy": "public",
17794
17760
  "type": {
17795
17761
  "text": "string"
17796
17762
  },
17763
+ "description": "When set, selecting this option dispatches a custom event of the given name from the parent `auro-menu` (and an `auroMenu-customEventFired` event) instead of selecting the option.",
17797
17764
  "attribute": "event",
17798
17765
  "reflects": true
17799
17766
  },
@@ -17945,6 +17912,7 @@
17945
17912
  "type": {
17946
17913
  "text": "string"
17947
17914
  },
17915
+ "description": "When set, selecting this option dispatches a custom event of the given name from the parent `auro-menu` (and an `auroMenu-customEventFired` event) instead of selecting the option.",
17948
17916
  "fieldName": "event"
17949
17917
  },
17950
17918
  {
@@ -18407,7 +18375,7 @@
18407
18375
  "name": "optionSelected",
18408
18376
  "privacy": "public",
18409
18377
  "type": {
18410
- "text": "object"
18378
+ "text": "HTMLElement"
18411
18379
  },
18412
18380
  "description": "Specifies the current selected radio button.",
18413
18381
  "attribute": "optionselected"
@@ -18550,7 +18518,7 @@
18550
18518
  {
18551
18519
  "name": "optionselected",
18552
18520
  "type": {
18553
- "text": "object"
18521
+ "text": "HTMLElement"
18554
18522
  },
18555
18523
  "description": "Specifies the current selected radio button.",
18556
18524
  "fieldName": "optionSelected"
@@ -19896,8 +19864,7 @@
19896
19864
  "privacy": "private",
19897
19865
  "type": {
19898
19866
  "text": "boolean"
19899
- },
19900
- "attribute": "ispopovervisible"
19867
+ }
19901
19868
  },
19902
19869
  {
19903
19870
  "kind": "field",
@@ -20246,13 +20213,6 @@
20246
20213
  "default": "'sm'",
20247
20214
  "fieldName": "fullscreenBreakpoint"
20248
20215
  },
20249
- {
20250
- "name": "ispopovervisible",
20251
- "type": {
20252
- "text": "boolean"
20253
- },
20254
- "fieldName": "isPopoverVisible"
20255
- },
20256
20216
  {
20257
20217
  "name": "largefullscreenheadline",
20258
20218
  "type": {