@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.0 → 0.0.0-pr1628.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 (57) 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/accessibility.md +1 -1
  7. package/components/combobox/demo/customize.md +1 -0
  8. package/components/combobox/demo/customize.min.js +32 -30
  9. package/components/combobox/demo/getting-started.md +4 -4
  10. package/components/combobox/demo/getting-started.min.js +32 -30
  11. package/components/combobox/demo/index.md +1 -1
  12. package/components/combobox/demo/index.min.js +32 -30
  13. package/components/combobox/demo/voiceover.md +1 -1
  14. package/components/combobox/dist/auro-combobox.d.ts +29 -27
  15. package/components/combobox/dist/index.js +32 -30
  16. package/components/combobox/dist/registered.js +32 -30
  17. package/components/counter/demo/api.md +18 -18
  18. package/components/counter/demo/customize.min.js +16 -16
  19. package/components/counter/demo/design.md +1 -1
  20. package/components/counter/demo/getting-started.md +29 -2
  21. package/components/counter/demo/getting-started.min.js +16 -16
  22. package/components/counter/demo/index.min.js +16 -16
  23. package/components/counter/dist/auro-counter-group.d.ts +11 -11
  24. package/components/counter/dist/auro-counter.d.ts +1 -1
  25. package/components/counter/dist/index.js +16 -16
  26. package/components/counter/dist/registered.js +16 -16
  27. package/components/datepicker/demo/customize.min.js +3 -3
  28. package/components/datepicker/demo/getting-started.min.js +3 -3
  29. package/components/datepicker/demo/index.min.js +3 -3
  30. package/components/datepicker/dist/index.js +3 -3
  31. package/components/datepicker/dist/registered.js +3 -3
  32. package/components/dropdown/demo/customize.min.js +1 -1
  33. package/components/dropdown/demo/getting-started.min.js +2 -2
  34. package/components/dropdown/demo/index.min.js +1 -1
  35. package/components/dropdown/dist/index.js +1 -1
  36. package/components/dropdown/dist/registered.js +1 -1
  37. package/components/form/demo/customize.min.js +56 -54
  38. package/components/form/demo/getting-started.min.js +56 -54
  39. package/components/form/demo/index.min.js +56 -54
  40. package/components/form/demo/registerDemoDeps.min.js +56 -54
  41. package/components/input/demo/customize.min.js +1 -1
  42. package/components/input/demo/getting-started.min.js +1 -1
  43. package/components/input/demo/index.min.js +1 -1
  44. package/components/input/dist/index.js +1 -1
  45. package/components/input/dist/registered.js +1 -1
  46. package/components/radio/demo/customize.min.js +1 -1
  47. package/components/radio/demo/getting-started.min.js +1 -1
  48. package/components/radio/demo/index.min.js +1 -1
  49. package/components/radio/dist/index.js +1 -1
  50. package/components/radio/dist/registered.js +1 -1
  51. package/components/select/demo/customize.min.js +2 -2
  52. package/components/select/demo/getting-started.min.js +2 -2
  53. package/components/select/demo/index.min.js +2 -2
  54. package/components/select/dist/index.js +2 -2
  55. package/components/select/dist/registered.js +2 -2
  56. package/custom-elements.json +22 -22
  57. package/package.json +1 -1
@@ -70,7 +70,7 @@ export class AuroCombobox extends AuroElement {
70
70
  reflect: boolean;
71
71
  };
72
72
  /**
73
- * Array of the options shown in the menu: every option that isn't hidden,
73
+ * Holds the options shown in the menu: every option that isn't hidden,
74
74
  * such as by filtering on the typed text, plus `persistent` options.
75
75
  * @private
76
76
  * @type {HTMLElement[]}
@@ -103,7 +103,7 @@ export class AuroCombobox extends AuroElement {
103
103
  reflect: boolean;
104
104
  };
105
105
  /**
106
- * ID for the dropdown.
106
+ * Holds the dropdown's ID, which the trigger input uses for `aria-controls`.
107
107
  * @private
108
108
  */
109
109
  dropdownId: {
@@ -112,7 +112,7 @@ export class AuroCombobox extends AuroElement {
112
112
  attribute: boolean;
113
113
  };
114
114
  /**
115
- * Whether or not the dropdown is open.
115
+ * Records whether the bib is open.
116
116
  * @private
117
117
  */
118
118
  dropdownOpen: {
@@ -402,7 +402,7 @@ export class AuroCombobox extends AuroElement {
402
402
  */
403
403
  fullscreenBreakpoint: "xs" | "sm" | "md" | "lg" | "xl" | "disabled";
404
404
  /**
405
- * Specifies the currently active option.
405
+ * Holds the active (highlighted) option.
406
406
  * @private
407
407
  * @type {HTMLElement}
408
408
  */
@@ -474,9 +474,9 @@ export class AuroCombobox extends AuroElement {
474
474
  _userTyped: boolean | undefined;
475
475
  _pendingTimers: Set<any> | undefined;
476
476
  /**
477
- * Wraps setTimeout and records the timer id so disconnectedCallback
478
- * can cancel any outstanding callbacks. The id is removed from the set
479
- * once the callback fires so the set doesn't grow unbounded.
477
+ * Wraps `setTimeout` and records the timer ID so `disconnectedCallback`
478
+ * can cancel any outstanding callbacks. The ID is removed from the set
479
+ * once the callback fires, so the set doesn't keep growing.
480
480
  * @param {Function} fn - The callback to run.
481
481
  * @param {number} ms - The delay in milliseconds.
482
482
  * @returns {number} The timer id.
@@ -527,7 +527,7 @@ export class AuroCombobox extends AuroElement {
527
527
  private updateFilter;
528
528
  noMatchOption: any;
529
529
  /**
530
- * Syncs the values and states of this component, the input, and the menu, including this.optionSelected and this.menu.optionSelected.
530
+ * Sets the menu's `matchWord` to the input text, then updates the input text and `displayValue` content from the selected option's label, or from `value` when no option is selected.
531
531
  * @private
532
532
  * @returns {void}
533
533
  */
@@ -539,7 +539,7 @@ export class AuroCombobox extends AuroElement {
539
539
  */
540
540
  private updateTriggerTextDisplay;
541
541
  /**
542
- * Writes nextValue to the trigger input and the bib input when their current
542
+ * Writes `nextValue` to the trigger input and the bib input when their current
543
543
  * value differs, then re-asserts imask after Lit's update flushes.
544
544
  * @param {string} nextValue - The value to write to both inputs.
545
545
  * @returns {Promise<void>} The promise that resolves after both inputs flush and imask
@@ -555,10 +555,10 @@ export class AuroCombobox extends AuroElement {
555
555
  * @param {boolean} [options.preferComboboxValue=false] - If true,
556
556
  * matches the selected option against `this.value` first. If false,
557
557
  * matches against `this.input.value` first. Matching `this.value` first is needed on mount and re-mount
558
- * because under `persistInput` the consumer's typedValue prop can drift
558
+ * because under `persistInput` the consumer's `typedValue` prop can drift
559
559
  * from the framework value (Svelte `{#key}` re-mount after a swap, or
560
560
  * SPA preselect after route change) and the old input-first match would
561
- * then pick the stale text. Only handleSlotChange passes this; typing
561
+ * then pick the stale text. Only `handleSlotChange` passes this; typing
562
562
  * and clearing paths keep the input-first match so user clears aren't
563
563
  * undone.
564
564
  * @returns {void}
@@ -644,20 +644,20 @@ export class AuroCombobox extends AuroElement {
644
644
  private configureInput;
645
645
  /**
646
646
  * Flags genuine clear-button activations on an auro-input so the SPA-preselect
647
- * guard in handleInputValueChange doesn't swallow them.
647
+ * guard in `handleInputValueChange` doesn't swallow them.
648
648
  *
649
- * The auro-input clear button fires an `isProgrammatic` input event (via
650
- * notifyValueChanged) that is indistinguishable in shape from the
651
- * SPA-preselect echo that guard bails on (isProgrammatic + set value + empty
652
- * input). Without this one-shot flag, clicking clear would leave
653
- * this.value/optionSelected stale (AB#1634257).
649
+ * The auro-input clear button fires an `isProgrammatic` input event (through
650
+ * `notifyValueChanged`) that has the same shape as the SPA-preselect echo
651
+ * that guard bails on (`isProgrammatic`, a set value, and an empty input).
652
+ * Without this one-shot flag, clicking clear would leave `value` and
653
+ * `optionSelected` stale (AB#1634257).
654
654
  *
655
- * Delegated on the shadow root so it works regardless of when .clearBtn
656
- * renders (it only exists after a value is set), and covers both real clicks
657
- * and programmatic clearBtn.click() (which no focusin precedes). Registered in
658
- * the CAPTURE phase so the flag is set BEFORE the button's own @click
659
- * (handleClickClear) fires its synchronous input event, which is when
660
- * handleInputValueChange reads the flag.
655
+ * Delegated on the shadow root so it works whenever `.clearBtn` renders
656
+ * (it only exists after a value is set), and covers both real clicks and
657
+ * programmatic `clearBtn.click()` calls, which no `focusin` precedes.
658
+ * Registered in the capture phase so the flag is set before the button's own
659
+ * `@click` handler (`handleClickClear`) fires its synchronous input event,
660
+ * which is when `handleInputValueChange` reads the flag.
661
661
  * @private
662
662
  * @param {Element} inputEl - The auro-input whose clear button to track.
663
663
  * @returns {void}
@@ -678,7 +678,9 @@ export class AuroCombobox extends AuroElement {
678
678
  */
679
679
  private handleMenuLoadingChange;
680
680
  /**
681
- * Handles changes to the input value and the updates that follow from them.
681
+ * Called when the text in the trigger input or the fullscreen bib input changes.
682
+ * Keeps both inputs and `value` in sync, clears the combobox when the input is emptied,
683
+ * validates when focus is outside the combobox unless `noValidate` is set, and fires `inputValue`.
682
684
  * @private
683
685
  * @param {Event} event - The input event triggered by the input element.
684
686
  * @returns {void}
@@ -686,9 +688,9 @@ export class AuroCombobox extends AuroElement {
686
688
  private handleInputValueChange;
687
689
  _syncingBibValue: boolean | undefined;
688
690
  /**
689
- * Handles input value changes originating from the trigger input.
690
- * Refreshes menu options and filtering, delegates to handleInputValueChange
691
- * for value synchronization, and manages fullscreen bib focus.
691
+ * Called when the text in the trigger input changes.
692
+ * Refreshes the menu's options and filtering, passes the change to `handleInputValueChange`,
693
+ * and keeps focus in the fullscreen bib input while that bib is open.
692
694
  * @private
693
695
  * @param {Event} event - The input event from the trigger input element.
694
696
  * @returns {void}
@@ -5232,7 +5232,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5232
5232
  }
5233
5233
  };
5234
5234
 
5235
- var formkitVersion$2 = '202611081705';
5235
+ var formkitVersion$2 = '202611081803';
5236
5236
 
5237
5237
  /**
5238
5238
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -19406,7 +19406,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
19406
19406
  }
19407
19407
  };
19408
19408
 
19409
- var formkitVersion$1 = '202611081705';
19409
+ var formkitVersion$1 = '202611081803';
19410
19410
 
19411
19411
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19412
19412
  // See LICENSE in the project root for license information.
@@ -20692,7 +20692,7 @@ class AuroBibtemplate extends LitElement {
20692
20692
  }
20693
20693
  }
20694
20694
 
20695
- var formkitVersion = '202611081705';
20695
+ var formkitVersion = '202611081803';
20696
20696
 
20697
20697
  var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
20698
20698
 
@@ -21264,9 +21264,9 @@ class AuroCombobox extends AuroElement {
21264
21264
  }
21265
21265
 
21266
21266
  /**
21267
- * Wraps setTimeout and records the timer id so disconnectedCallback
21268
- * can cancel any outstanding callbacks. The id is removed from the set
21269
- * once the callback fires so the set doesn't grow unbounded.
21267
+ * Wraps `setTimeout` and records the timer ID so `disconnectedCallback`
21268
+ * can cancel any outstanding callbacks. The ID is removed from the set
21269
+ * once the callback fires, so the set doesn't keep growing.
21270
21270
  * @param {Function} fn - The callback to run.
21271
21271
  * @param {number} ms - The delay in milliseconds.
21272
21272
  * @returns {number} The timer id.
@@ -21324,7 +21324,7 @@ class AuroCombobox extends AuroElement {
21324
21324
  },
21325
21325
 
21326
21326
  /**
21327
- * Array of the options shown in the menu: every option that isn't hidden,
21327
+ * Holds the options shown in the menu: every option that isn't hidden,
21328
21328
  * such as by filtering on the typed text, plus `persistent` options.
21329
21329
  * @private
21330
21330
  * @type {HTMLElement[]}
@@ -21381,7 +21381,7 @@ class AuroCombobox extends AuroElement {
21381
21381
  },
21382
21382
 
21383
21383
  /**
21384
- * ID for the dropdown.
21384
+ * Holds the dropdown's ID, which the trigger input uses for `aria-controls`.
21385
21385
  * @private
21386
21386
  */
21387
21387
  dropdownId: {
@@ -21391,7 +21391,7 @@ class AuroCombobox extends AuroElement {
21391
21391
  },
21392
21392
 
21393
21393
  /**
21394
- * Whether or not the dropdown is open.
21394
+ * Records whether the bib is open.
21395
21395
  * @private
21396
21396
  */
21397
21397
  dropdownOpen: {
@@ -21740,7 +21740,7 @@ class AuroCombobox extends AuroElement {
21740
21740
  },
21741
21741
 
21742
21742
  /**
21743
- * Specifies the currently active option.
21743
+ * Holds the active (highlighted) option.
21744
21744
  * @private
21745
21745
  * @type {HTMLElement}
21746
21746
  */
@@ -21917,7 +21917,7 @@ class AuroCombobox extends AuroElement {
21917
21917
  }
21918
21918
 
21919
21919
  /**
21920
- * Syncs the values and states of this component, the input, and the menu, including this.optionSelected and this.menu.optionSelected.
21920
+ * Sets the menu's `matchWord` to the input text, then updates the input text and `displayValue` content from the selected option's label, or from `value` when no option is selected.
21921
21921
  * @private
21922
21922
  * @returns {void}
21923
21923
  */
@@ -21997,7 +21997,7 @@ class AuroCombobox extends AuroElement {
21997
21997
  }
21998
21998
 
21999
21999
  /**
22000
- * Writes nextValue to the trigger input and the bib input when their current
22000
+ * Writes `nextValue` to the trigger input and the bib input when their current
22001
22001
  * value differs, then re-asserts imask after Lit's update flushes.
22002
22002
  * @param {string} nextValue - The value to write to both inputs.
22003
22003
  * @returns {Promise<void>} The promise that resolves after both inputs flush and imask
@@ -22050,10 +22050,10 @@ class AuroCombobox extends AuroElement {
22050
22050
  * @param {boolean} [options.preferComboboxValue=false] - If true,
22051
22051
  * matches the selected option against `this.value` first. If false,
22052
22052
  * matches against `this.input.value` first. Matching `this.value` first is needed on mount and re-mount
22053
- * because under `persistInput` the consumer's typedValue prop can drift
22053
+ * because under `persistInput` the consumer's `typedValue` prop can drift
22054
22054
  * from the framework value (Svelte `{#key}` re-mount after a swap, or
22055
22055
  * SPA preselect after route change) and the old input-first match would
22056
- * then pick the stale text. Only handleSlotChange passes this; typing
22056
+ * then pick the stale text. Only `handleSlotChange` passes this; typing
22057
22057
  * and clearing paths keep the input-first match so user clears aren't
22058
22058
  * undone.
22059
22059
  * @returns {void}
@@ -22659,20 +22659,20 @@ class AuroCombobox extends AuroElement {
22659
22659
 
22660
22660
  /**
22661
22661
  * Flags genuine clear-button activations on an auro-input so the SPA-preselect
22662
- * guard in handleInputValueChange doesn't swallow them.
22662
+ * guard in `handleInputValueChange` doesn't swallow them.
22663
22663
  *
22664
- * The auro-input clear button fires an `isProgrammatic` input event (via
22665
- * notifyValueChanged) that is indistinguishable in shape from the
22666
- * SPA-preselect echo that guard bails on (isProgrammatic + set value + empty
22667
- * input). Without this one-shot flag, clicking clear would leave
22668
- * this.value/optionSelected stale (AB#1634257).
22664
+ * The auro-input clear button fires an `isProgrammatic` input event (through
22665
+ * `notifyValueChanged`) that has the same shape as the SPA-preselect echo
22666
+ * that guard bails on (`isProgrammatic`, a set value, and an empty input).
22667
+ * Without this one-shot flag, clicking clear would leave `value` and
22668
+ * `optionSelected` stale (AB#1634257).
22669
22669
  *
22670
- * Delegated on the shadow root so it works regardless of when .clearBtn
22671
- * renders (it only exists after a value is set), and covers both real clicks
22672
- * and programmatic clearBtn.click() (which no focusin precedes). Registered in
22673
- * the CAPTURE phase so the flag is set BEFORE the button's own @click
22674
- * (handleClickClear) fires its synchronous input event, which is when
22675
- * handleInputValueChange reads the flag.
22670
+ * Delegated on the shadow root so it works whenever `.clearBtn` renders
22671
+ * (it only exists after a value is set), and covers both real clicks and
22672
+ * programmatic `clearBtn.click()` calls, which no `focusin` precedes.
22673
+ * Registered in the capture phase so the flag is set before the button's own
22674
+ * `@click` handler (`handleClickClear`) fires its synchronous input event,
22675
+ * which is when `handleInputValueChange` reads the flag.
22676
22676
  * @private
22677
22677
  * @param {Element} inputEl - The auro-input whose clear button to track.
22678
22678
  * @returns {void}
@@ -22733,7 +22733,9 @@ class AuroCombobox extends AuroElement {
22733
22733
  }
22734
22734
 
22735
22735
  /**
22736
- * Handles changes to the input value and the updates that follow from them.
22736
+ * Called when the text in the trigger input or the fullscreen bib input changes.
22737
+ * Keeps both inputs and `value` in sync, clears the combobox when the input is emptied,
22738
+ * validates when focus is outside the combobox unless `noValidate` is set, and fires `inputValue`.
22737
22739
  * @private
22738
22740
  * @param {Event} event - The input event triggered by the input element.
22739
22741
  * @returns {void}
@@ -22843,9 +22845,9 @@ class AuroCombobox extends AuroElement {
22843
22845
  }
22844
22846
 
22845
22847
  /**
22846
- * Handles input value changes originating from the trigger input.
22847
- * Refreshes menu options and filtering, delegates to handleInputValueChange
22848
- * for value synchronization, and manages fullscreen bib focus.
22848
+ * Called when the text in the trigger input changes.
22849
+ * Refreshes the menu's options and filtering, passes the change to `handleInputValueChange`,
22850
+ * and keeps focus in the fullscreen bib input while that bib is open.
22849
22851
  * @private
22850
22852
  * @param {Event} event - The input event from the trigger input element.
22851
22853
  * @returns {void}
@@ -5232,7 +5232,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5232
5232
  }
5233
5233
  };
5234
5234
 
5235
- var formkitVersion$2 = '202611081705';
5235
+ var formkitVersion$2 = '202611081803';
5236
5236
 
5237
5237
  /**
5238
5238
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -19406,7 +19406,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
19406
19406
  }
19407
19407
  };
19408
19408
 
19409
- var formkitVersion$1 = '202611081705';
19409
+ var formkitVersion$1 = '202611081803';
19410
19410
 
19411
19411
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19412
19412
  // See LICENSE in the project root for license information.
@@ -20692,7 +20692,7 @@ class AuroBibtemplate extends LitElement {
20692
20692
  }
20693
20693
  }
20694
20694
 
20695
- var formkitVersion = '202611081705';
20695
+ var formkitVersion = '202611081803';
20696
20696
 
20697
20697
  var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
20698
20698
 
@@ -21264,9 +21264,9 @@ class AuroCombobox extends AuroElement {
21264
21264
  }
21265
21265
 
21266
21266
  /**
21267
- * Wraps setTimeout and records the timer id so disconnectedCallback
21268
- * can cancel any outstanding callbacks. The id is removed from the set
21269
- * once the callback fires so the set doesn't grow unbounded.
21267
+ * Wraps `setTimeout` and records the timer ID so `disconnectedCallback`
21268
+ * can cancel any outstanding callbacks. The ID is removed from the set
21269
+ * once the callback fires, so the set doesn't keep growing.
21270
21270
  * @param {Function} fn - The callback to run.
21271
21271
  * @param {number} ms - The delay in milliseconds.
21272
21272
  * @returns {number} The timer id.
@@ -21324,7 +21324,7 @@ class AuroCombobox extends AuroElement {
21324
21324
  },
21325
21325
 
21326
21326
  /**
21327
- * Array of the options shown in the menu: every option that isn't hidden,
21327
+ * Holds the options shown in the menu: every option that isn't hidden,
21328
21328
  * such as by filtering on the typed text, plus `persistent` options.
21329
21329
  * @private
21330
21330
  * @type {HTMLElement[]}
@@ -21381,7 +21381,7 @@ class AuroCombobox extends AuroElement {
21381
21381
  },
21382
21382
 
21383
21383
  /**
21384
- * ID for the dropdown.
21384
+ * Holds the dropdown's ID, which the trigger input uses for `aria-controls`.
21385
21385
  * @private
21386
21386
  */
21387
21387
  dropdownId: {
@@ -21391,7 +21391,7 @@ class AuroCombobox extends AuroElement {
21391
21391
  },
21392
21392
 
21393
21393
  /**
21394
- * Whether or not the dropdown is open.
21394
+ * Records whether the bib is open.
21395
21395
  * @private
21396
21396
  */
21397
21397
  dropdownOpen: {
@@ -21740,7 +21740,7 @@ class AuroCombobox extends AuroElement {
21740
21740
  },
21741
21741
 
21742
21742
  /**
21743
- * Specifies the currently active option.
21743
+ * Holds the active (highlighted) option.
21744
21744
  * @private
21745
21745
  * @type {HTMLElement}
21746
21746
  */
@@ -21917,7 +21917,7 @@ class AuroCombobox extends AuroElement {
21917
21917
  }
21918
21918
 
21919
21919
  /**
21920
- * Syncs the values and states of this component, the input, and the menu, including this.optionSelected and this.menu.optionSelected.
21920
+ * Sets the menu's `matchWord` to the input text, then updates the input text and `displayValue` content from the selected option's label, or from `value` when no option is selected.
21921
21921
  * @private
21922
21922
  * @returns {void}
21923
21923
  */
@@ -21997,7 +21997,7 @@ class AuroCombobox extends AuroElement {
21997
21997
  }
21998
21998
 
21999
21999
  /**
22000
- * Writes nextValue to the trigger input and the bib input when their current
22000
+ * Writes `nextValue` to the trigger input and the bib input when their current
22001
22001
  * value differs, then re-asserts imask after Lit's update flushes.
22002
22002
  * @param {string} nextValue - The value to write to both inputs.
22003
22003
  * @returns {Promise<void>} The promise that resolves after both inputs flush and imask
@@ -22050,10 +22050,10 @@ class AuroCombobox extends AuroElement {
22050
22050
  * @param {boolean} [options.preferComboboxValue=false] - If true,
22051
22051
  * matches the selected option against `this.value` first. If false,
22052
22052
  * matches against `this.input.value` first. Matching `this.value` first is needed on mount and re-mount
22053
- * because under `persistInput` the consumer's typedValue prop can drift
22053
+ * because under `persistInput` the consumer's `typedValue` prop can drift
22054
22054
  * from the framework value (Svelte `{#key}` re-mount after a swap, or
22055
22055
  * SPA preselect after route change) and the old input-first match would
22056
- * then pick the stale text. Only handleSlotChange passes this; typing
22056
+ * then pick the stale text. Only `handleSlotChange` passes this; typing
22057
22057
  * and clearing paths keep the input-first match so user clears aren't
22058
22058
  * undone.
22059
22059
  * @returns {void}
@@ -22659,20 +22659,20 @@ class AuroCombobox extends AuroElement {
22659
22659
 
22660
22660
  /**
22661
22661
  * Flags genuine clear-button activations on an auro-input so the SPA-preselect
22662
- * guard in handleInputValueChange doesn't swallow them.
22662
+ * guard in `handleInputValueChange` doesn't swallow them.
22663
22663
  *
22664
- * The auro-input clear button fires an `isProgrammatic` input event (via
22665
- * notifyValueChanged) that is indistinguishable in shape from the
22666
- * SPA-preselect echo that guard bails on (isProgrammatic + set value + empty
22667
- * input). Without this one-shot flag, clicking clear would leave
22668
- * this.value/optionSelected stale (AB#1634257).
22664
+ * The auro-input clear button fires an `isProgrammatic` input event (through
22665
+ * `notifyValueChanged`) that has the same shape as the SPA-preselect echo
22666
+ * that guard bails on (`isProgrammatic`, a set value, and an empty input).
22667
+ * Without this one-shot flag, clicking clear would leave `value` and
22668
+ * `optionSelected` stale (AB#1634257).
22669
22669
  *
22670
- * Delegated on the shadow root so it works regardless of when .clearBtn
22671
- * renders (it only exists after a value is set), and covers both real clicks
22672
- * and programmatic clearBtn.click() (which no focusin precedes). Registered in
22673
- * the CAPTURE phase so the flag is set BEFORE the button's own @click
22674
- * (handleClickClear) fires its synchronous input event, which is when
22675
- * handleInputValueChange reads the flag.
22670
+ * Delegated on the shadow root so it works whenever `.clearBtn` renders
22671
+ * (it only exists after a value is set), and covers both real clicks and
22672
+ * programmatic `clearBtn.click()` calls, which no `focusin` precedes.
22673
+ * Registered in the capture phase so the flag is set before the button's own
22674
+ * `@click` handler (`handleClickClear`) fires its synchronous input event,
22675
+ * which is when `handleInputValueChange` reads the flag.
22676
22676
  * @private
22677
22677
  * @param {Element} inputEl - The auro-input whose clear button to track.
22678
22678
  * @returns {void}
@@ -22733,7 +22733,9 @@ class AuroCombobox extends AuroElement {
22733
22733
  }
22734
22734
 
22735
22735
  /**
22736
- * Handles changes to the input value and the updates that follow from them.
22736
+ * Called when the text in the trigger input or the fullscreen bib input changes.
22737
+ * Keeps both inputs and `value` in sync, clears the combobox when the input is emptied,
22738
+ * validates when focus is outside the combobox unless `noValidate` is set, and fires `inputValue`.
22737
22739
  * @private
22738
22740
  * @param {Event} event - The input event triggered by the input element.
22739
22741
  * @returns {void}
@@ -22843,9 +22845,9 @@ class AuroCombobox extends AuroElement {
22843
22845
  }
22844
22846
 
22845
22847
  /**
22846
- * Handles input value changes originating from the trigger input.
22847
- * Refreshes menu options and filtering, delegates to handleInputValueChange
22848
- * for value synchronization, and manages fullscreen bib focus.
22848
+ * Called when the text in the trigger input changes.
22849
+ * Refreshes the menu's options and filtering, passes the change to `handleInputValueChange`,
22850
+ * and keeps focus in the fullscreen bib input while that bib is open.
22849
22851
  * @private
22850
22852
  * @param {Event} event - The input event from the trigger input element.
22851
22853
  * @returns {void}
@@ -22,17 +22,17 @@ A counter that lets people choose a number, such as how many passengers are trav
22
22
 
23
23
  ### Properties and attributes
24
24
 
25
- | Properties | Attributes | Modifiers | Type | Default | Category | Range | Description |
26
- | ---------- | ---------- | --------- | ---------------------- | --------- | -------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27
- | appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the colors to match the background behind the counter. Use `inverse` on dark backgrounds and `default` on light ones. |
28
- | disabled | disabled | | boolean | | ui | | Turns the counter off. A disabled counter is shown in a muted style, its buttons can't be clicked, and it's removed from the keyboard tab order. |
29
- | onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Shows the counter in colors for dark backgrounds. |
30
- | error | error | | string | | behavior | | Sets a custom error message, such as "Select at least one adult", and marks the counter invalid. The message replaces the help text. Set it with the `error` attribute: setting only the `error` property doesn't currently mark the counter invalid. |
31
- | max | max | | number | `9` | behavior | 0–9 | Sets the highest value the counter allows. The plus button turns off at this value. |
32
- | min | min | | number | `0` | behavior | 0–9 | Sets the lowest value the counter allows. The counter starts at this value, and the minus button turns off at it. |
33
- | name | name | | string | | behavior | | Sets the key for this counter's entry in the group's `value` object, such as `adults`. Applies only inside `auro-counter-group`, which uses `counter-0`, `counter-1`, and so on for counters without a name. |
34
- | validity | validity | readonly | string | | behavior | | Reports whether the counter passes validation: `valid`, or the reason it fails, such as `customError`, `rangeOverflow`, or `rangeUnderflow`. |
35
- | value | value | | number \| undefined | | behavior | | Sets the counter's value. A value outside `min` and `max` (0–9 by default) isn't moved back into range; it marks the counter invalid instead. A value that's `undefined`, `null`, or not a number clears the value to `undefined`. |
25
+ | Properties | Attributes | Modifiers | Type | Default | Category | Range | Description |
26
+ | ---------- | ---------- | --------- | ---------------------- | --------- | -------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27
+ | appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the colors to match the background behind the counter. Use `inverse` on dark backgrounds and `default` on light ones. |
28
+ | disabled | disabled | | boolean | | ui | | Turns the counter off. A disabled counter is shown in a muted style, its buttons can't be clicked, and it's removed from the keyboard tab order. |
29
+ | onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Shows the counter in colors for dark backgrounds. |
30
+ | error | error | | string | | behavior | | Sets a custom error message, such as "Select at least one adult", and marks the counter invalid. The message replaces the help text. Set the `error` attribute before the counter first renders, or call `validate()` after changing it: setting only the property, or changing the attribute later, doesn't currently update `validity`. |
31
+ | max | max | | number | `9` | behavior | 0–9 | Sets the highest value the counter allows. The plus button turns off at this value. |
32
+ | min | min | | number | `0` | behavior | 0–9 | Sets the lowest value the counter allows. The counter starts at this value, and the minus button turns off at it. |
33
+ | name | name | | string | | behavior | | Sets the key for this counter's entry in the group's `value` object, such as `adults`. Applies only inside `auro-counter-group`, which uses `counter-0`, `counter-1`, and so on for counters without a name. |
34
+ | validity | validity | readonly | string | | behavior | | Reports whether the counter passes validation: `valid`, or the reason it fails, such as `customError`, `rangeOverflow`, or `rangeUnderflow`. |
35
+ | value | value | | number \| undefined | | behavior | | Sets the counter's value. A value outside `min` and `max` (0–9 by default) isn't moved back into range; it marks the counter invalid instead. A value that's `undefined`, `null`, or not a number clears the value to `undefined`. |
36
36
 
37
37
  ### Methods
38
38
 
@@ -46,9 +46,9 @@ A counter that lets people choose a number, such as how many passengers are trav
46
46
 
47
47
  ### Events
48
48
 
49
- | Name | Description |
50
- | ----- | ---------------------------------------------- |
51
- | input | Notifies that the counter's value has changed. |
49
+ | Name | Description |
50
+ | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
51
+ | input | Fires whenever `value` changes, including when the counter sets its starting value, with the new number in `event.detail.value`. It doesn't currently bubble, so listen on the counter itself. |
52
52
 
53
53
  ### Slots
54
54
 
@@ -134,10 +134,10 @@ Groups related counters, such as passenger types, so they share one total and on
134
134
 
135
135
  ### Events
136
136
 
137
- | Name | Description |
138
- | ------------------------- | -------------------------------------------------------------------------------------------------------------- |
139
- | auroFormElement-validated | Fires each time the group is validated, with the result in `event.detail.validity` and `event.detail.message`. |
140
- | input | Fires when any counter's value changes, with the new `total` and `value` in `event.detail`. |
137
+ | Name | Description |
138
+ | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
139
+ | auroFormElement-validated | Fires each time the group is validated, with the result in `event.detail.validity` and `event.detail.message`. |
140
+ | input | Fires when any counter's value changes, with the new `total` and `value` in `event.detail`. It doesn't currently bubble, so listen on the group itself. |
141
141
 
142
142
  ### Slots
143
143
 
@@ -1166,7 +1166,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
1166
1166
  }
1167
1167
  };
1168
1168
 
1169
- var formkitVersion$1 = '202611081705';
1169
+ var formkitVersion$1 = '202611081803';
1170
1170
 
1171
1171
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1172
1172
  // See LICENSE in the project root for license information.
@@ -1231,7 +1231,7 @@ const keyboardStrategy = {
1231
1231
  * @csspart controlPlus - The plus button, which raises the value by 1.
1232
1232
  * @csspart helpText - The paragraph that shows the help text, or the error message while the counter is invalid.
1233
1233
  *
1234
- * @event input - Notifies that the counter's value has changed.
1234
+ * @event input - Fires whenever `value` changes, including when the counter sets its starting value, with the new number in `event.detail.value`. It doesn't currently bubble, so listen on the counter itself.
1235
1235
  */
1236
1236
  class AuroCounter extends i$1 {
1237
1237
 
@@ -1352,7 +1352,7 @@ class AuroCounter extends i$1 {
1352
1352
  },
1353
1353
 
1354
1354
  /**
1355
- * The trimmed text of the default slot, which `auro-counter-group` shows in its dropdown summary.
1355
+ * Holds the trimmed text of the default slot, which `auro-counter-group` shows in its dropdown summary.
1356
1356
  * @private
1357
1357
  */
1358
1358
  defaultSlot: {
@@ -1390,7 +1390,7 @@ class AuroCounter extends i$1 {
1390
1390
  },
1391
1391
 
1392
1392
  /**
1393
- * Sets a custom error message, such as "Select at least one adult", and marks the counter invalid. The message replaces the help text. Set it with the `error` attribute: setting only the `error` property doesn't currently mark the counter invalid.
1393
+ * Sets a custom error message, such as "Select at least one adult", and marks the counter invalid. The message replaces the help text. Set the `error` attribute before the counter first renders, or call `validate()` after changing it: setting only the property, or changing the attribute later, doesn't currently update `validity`.
1394
1394
  * @category behavior
1395
1395
  */
1396
1396
  error: {
@@ -5781,7 +5781,7 @@ class AuroHelpText extends i$1 {
5781
5781
  }
5782
5782
  }
5783
5783
 
5784
- var formkitVersion = '202611081705';
5784
+ var formkitVersion = '202611081803';
5785
5785
 
5786
5786
  /**
5787
5787
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -8382,7 +8382,7 @@ const counterGroupKeyboardStrategy = {
8382
8382
  * @csspart helpText - The paragraph that shows the help text, or the combined error message while a counter is invalid. Rendered only when `isDropdown` is set.
8383
8383
  *
8384
8384
  * @event auroFormElement-validated - Fires each time the group is validated, with the result in `event.detail.validity` and `event.detail.message`.
8385
- * @event input - Fires when any counter's value changes, with the new `total` and `value` in `event.detail`.
8385
+ * @event input - Fires when any counter's value changes, with the new `total` and `value` in `event.detail`. It doesn't currently bubble, so listen on the group itself.
8386
8386
  */
8387
8387
  class AuroCounterGroup extends AuroElement {
8388
8388
  constructor() {
@@ -8514,8 +8514,8 @@ class AuroCounterGroup extends AuroElement {
8514
8514
  },
8515
8515
 
8516
8516
  /**
8517
- * The current error message to display when the component is invalid.
8518
- * This is set by validation and isn't available to consumers.
8517
+ * Holds the error message shown while the group is invalid.
8518
+ * Validation sets it, and it isn't available to consumers.
8519
8519
  * @private
8520
8520
  */
8521
8521
  errorMessage: {
@@ -8712,7 +8712,7 @@ class AuroCounterGroup extends AuroElement {
8712
8712
  },
8713
8713
 
8714
8714
  /**
8715
- * The current text in the valueText slot.
8715
+ * Holds the text in the `valueText` slot.
8716
8716
  * @category behavior
8717
8717
  * @private
8718
8718
  */
@@ -8784,9 +8784,9 @@ class AuroCounterGroup extends AuroElement {
8784
8784
  };
8785
8785
 
8786
8786
  /**
8787
- * Synchronously recomputes this.validity/this.errorMessage from the current
8788
- * validity of the child counters. Extracted from updateValidity() so that
8789
- * validate() can re-apply this aggregation immediately after the shared
8787
+ * Synchronously recomputes `this.validity` and `this.errorMessage` from the current
8788
+ * validity of the child counters. Extracted from `updateValidity()` so that
8789
+ * `validate()` can re-apply this aggregation immediately after the shared
8790
8790
  * validation engine runs, instead of waiting on a deferred timer.
8791
8791
  * @returns {void}
8792
8792
  * @private
@@ -8871,9 +8871,9 @@ class AuroCounterGroup extends AuroElement {
8871
8871
  }
8872
8872
 
8873
8873
  /**
8874
- * Configures the dropdown counters by selecting all `auro-counter` elements,
8875
- * appending them to the `auro-counter-wrapper` element within the shadow DOM,
8876
- * and setting up keyboard navigation and input event listeners.
8874
+ * Finds the dropdown and the counters slotted into its `auro-counter-wrapper`,
8875
+ * adds `input` and `auroFormElement-validated` listeners to each counter, and
8876
+ * updates `value` and the group's validity. Also sets up the bib template when `isDropdown` is set.
8877
8877
  * @private
8878
8878
  */
8879
8879
  configureDropdownCounters() {
@@ -8905,7 +8905,7 @@ class AuroCounterGroup extends AuroElement {
8905
8905
  }
8906
8906
 
8907
8907
  /**
8908
- * Sets up a close event listener and moves any slotted `bib.fullscreen.headline` and `bib.fullscreen.footer` content into the bibtemplate.
8908
+ * Finds the bib template, closes the dropdown when its close button is clicked, and moves focus to the close button when the fullscreen dropdown opens.
8909
8909
  * @private
8910
8910
  */
8911
8911
  configureBibtemplate() {