@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.15 → 0.0.0-pr1628.17

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 (85) hide show
  1. package/components/checkbox/demo/api.md +18 -18
  2. package/components/checkbox/demo/customize.md +2 -2
  3. package/components/checkbox/demo/customize.min.js +3 -3
  4. package/components/checkbox/demo/getting-started.min.js +3 -3
  5. package/components/checkbox/demo/index.min.js +3 -3
  6. package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
  7. package/components/checkbox/dist/auro-checkbox.d.ts +1 -1
  8. package/components/checkbox/dist/index.js +3 -3
  9. package/components/checkbox/dist/registered.js +3 -3
  10. package/components/combobox/demo/api.md +16 -16
  11. package/components/combobox/demo/customize.min.js +32 -38
  12. package/components/combobox/demo/getting-started.md +1 -1
  13. package/components/combobox/demo/getting-started.min.js +32 -38
  14. package/components/combobox/demo/index.min.js +32 -38
  15. package/components/combobox/dist/auro-combobox.d.ts +5 -3
  16. package/components/combobox/dist/index.js +30 -36
  17. package/components/combobox/dist/registered.js +30 -36
  18. package/components/counter/demo/accessibility.md +1 -1
  19. package/components/counter/demo/css-only.md +5 -5
  20. package/components/counter/demo/customize.min.js +15 -13
  21. package/components/counter/demo/getting-started.min.js +15 -13
  22. package/components/counter/demo/index.min.js +15 -13
  23. package/components/counter/demo/voiceover.md +1 -1
  24. package/components/counter/demo/why-counter.md +3 -3
  25. package/components/counter/dist/auro-counter-group.d.ts +1 -0
  26. package/components/counter/dist/index.js +15 -13
  27. package/components/counter/dist/registered.js +15 -13
  28. package/components/datepicker/demo/customize.min.js +22 -19
  29. package/components/datepicker/demo/getting-started.min.js +22 -19
  30. package/components/datepicker/demo/index.min.js +22 -19
  31. package/components/datepicker/dist/index.js +22 -19
  32. package/components/datepicker/dist/registered.js +22 -19
  33. package/components/dropdown/demo/api.md +1 -1
  34. package/components/dropdown/demo/customize.min.js +8 -7
  35. package/components/dropdown/demo/getting-started.min.js +15 -13
  36. package/components/dropdown/demo/index.min.js +8 -7
  37. package/components/dropdown/dist/auro-dropdown.d.ts +1 -1
  38. package/components/dropdown/dist/index.js +8 -7
  39. package/components/dropdown/dist/registered.js +8 -7
  40. package/components/form/demo/api.md +1 -1
  41. package/components/form/demo/customize.min.js +111 -117
  42. package/components/form/demo/getting-started.min.js +111 -117
  43. package/components/form/demo/index.min.js +111 -117
  44. package/components/form/demo/registerDemoDeps.min.js +110 -116
  45. package/components/form/demo/why-form.md +1 -1
  46. package/components/form/dist/auro-form.d.ts +1 -1
  47. package/components/form/dist/index.js +1 -1
  48. package/components/form/dist/registered.js +1 -1
  49. package/components/input/demo/api.md +6 -6
  50. package/components/input/demo/customize.min.js +7 -6
  51. package/components/input/demo/getting-started.min.js +7 -6
  52. package/components/input/demo/index.min.js +7 -6
  53. package/components/input/dist/auro-input.d.ts +1 -1
  54. package/components/input/dist/base-input.d.ts +2 -1
  55. package/components/input/dist/index.js +7 -6
  56. package/components/input/dist/registered.js +7 -6
  57. package/components/layoutElement/dist/auroElement.d.ts +4 -3
  58. package/components/layoutElement/dist/index.js +4 -3
  59. package/components/layoutElement/dist/registered.js +4 -3
  60. package/components/menu/demo/api.md +1 -1
  61. package/components/menu/demo/index.min.js +6 -5
  62. package/components/menu/dist/auro-menu.d.ts +8 -3
  63. package/components/menu/dist/auro-menuoption.d.ts +2 -2
  64. package/components/menu/dist/index.js +6 -5
  65. package/components/menu/dist/registered.js +6 -5
  66. package/components/radio/demo/api.md +16 -16
  67. package/components/radio/demo/customize.md +1 -1
  68. package/components/radio/demo/customize.min.js +4 -4
  69. package/components/radio/demo/getting-started.min.js +4 -4
  70. package/components/radio/demo/index.min.js +4 -4
  71. package/components/radio/dist/auro-radio-group.d.ts +2 -2
  72. package/components/radio/dist/auro-radio.d.ts +1 -1
  73. package/components/radio/dist/index.js +4 -4
  74. package/components/radio/dist/registered.js +4 -4
  75. package/components/select/demo/api.md +47 -47
  76. package/components/select/demo/css-only.md +1 -1
  77. package/components/select/demo/customize.min.js +25 -32
  78. package/components/select/demo/getting-started.min.js +25 -32
  79. package/components/select/demo/index.md +1 -1
  80. package/components/select/demo/index.min.js +25 -32
  81. package/components/select/dist/auro-select.d.ts +4 -3
  82. package/components/select/dist/index.js +23 -30
  83. package/components/select/dist/registered.js +23 -30
  84. package/custom-elements.json +25 -25
  85. package/package.json +1 -1
@@ -715,20 +715,11 @@ function guardTouchPassthrough(element) {
715
715
  }
716
716
 
717
717
  /**
718
- * Restores the dropdown trigger after a fullscreen dialog closes without focus
719
- * leaving the component, such as when the Esc or Enter key closes it.
720
- * When focus leaves the component, for example by tabbing out of the combobox
721
- * after closing the fullscreen dialog, the browser's native dialog focus
722
- * restoration handles it, so this function only restores focus when focus
723
- * remains inside the component after the dialog closes.
724
- *
725
- * Removes the `inert` attribute from the trigger so it's accessible again,
726
- * and restores focus to the given target after one animation frame. The rAF
727
- * delay lets Lit's microtask update cycle call `dialog.close()` first. Without
728
- * it, the browser's native dialog focus restoration can conflict.
729
- *
730
- * The focus is only applied if the dropdown is still closed at the time the
731
- * rAF fires, guarding against a rapid close-then-reopen race.
718
+ * Restores the dropdown trigger after a fullscreen dialog closes, so keyboard users keep their place.
719
+ * Removes the `inert` attribute from the trigger, then, after one animation frame, moves focus to
720
+ * the given target if the dropdown is still closed and focus is inside the trigger.
721
+ * The one-frame wait lets Lit finish closing the dialog first, because the browser's native dialog
722
+ * focus restoration can conflict otherwise.
732
723
  *
733
724
  * @param {HTMLElement} dropdown - The `auro-dropdown` element.
734
725
  * @param {HTMLElement} focusTarget - The element to focus, such as the trigger or the input.
@@ -753,8 +744,8 @@ function restoreTriggerAfterClose(dropdown, focusTarget) {
753
744
  */let e$1 = class e extends i$1{constructor(i){if(super(i),this.it=A$2,i.type!==t$1.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===A$2||null==r)return this._t=void 0,this.it=r;if(r===E)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;const s=[r];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}};e$1.directiveName="unsafeHTML",e$1.resultType=1;
754
745
 
755
746
  /**
756
- * Creates a snapshot of the dropdown's display state for one keydown event.
757
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
747
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
748
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
758
749
  *
759
750
  * @param {HTMLElement} component - The component with a dropdown reference.
760
751
  * @param {Object} [options] - The optional settings.
@@ -4549,8 +4540,8 @@ let p$4 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
4549
4540
  var iconVersion$3 = '9.2.0';
4550
4541
 
4551
4542
  /**
4552
- * Creates a snapshot of the dropdown's display state for one keydown event.
4553
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
4543
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
4544
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
4554
4545
  *
4555
4546
  * @param {HTMLElement} component - The component with a dropdown reference.
4556
4547
  * @param {Object} [options] - The optional settings.
@@ -5299,16 +5290,17 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
5299
5290
  }
5300
5291
  };
5301
5292
 
5302
- var formkitVersion$2 = '202611092125';
5293
+ var formkitVersion$2 = '202611121951';
5303
5294
 
5304
5295
  /**
5305
5296
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
5306
5297
  *
5307
5298
  * It declares the `onDark` property and provides helpers that apply the
5308
5299
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
5309
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
5310
- * `shape`, and `size` properties with its own values and defaults, and
5311
- * implements `renderLayout()`, which `render()` calls.
5300
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
5301
+ * `shape`, and `size` properties they use, each with its own values and
5302
+ * default. The base `render()` calls `renderLayout()`, which a subclass
5303
+ * implements unless it overrides `render()`.
5312
5304
  *
5313
5305
  * **Key capabilities**
5314
5306
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -5967,7 +5959,7 @@ class AuroDropdown extends AuroElement$2 {
5967
5959
  /**
5968
5960
  * Sets the height of the trigger, from `xs`, the shortest, to `xl`, the tallest.
5969
5961
  * Applies only when `shape` is also set.
5970
- * The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them.
5962
+ * Each shape has styles for only some sizes: `box` for all five; `pill`, `pill-left`, and `pill-right` for `md` and `xl`; `rounded` for `lg`; and `classic` and `snowflake` for one fixed height at any size.
5971
5963
  * @relevantWhen shape !== undefined
5972
5964
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
5973
5965
  * @category ui
@@ -11464,9 +11456,10 @@ class AuroFormValidation {
11464
11456
  *
11465
11457
  * It declares the `onDark` property and provides helpers that apply the
11466
11458
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
11467
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
11468
- * `shape`, and `size` properties with its own values and defaults, and
11469
- * implements `renderLayout()`, which `render()` calls.
11459
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
11460
+ * `shape`, and `size` properties they use, each with its own values and
11461
+ * default. The base `render()` calls `renderLayout()`, which a subclass
11462
+ * implements unless it overrides `render()`.
11470
11463
  *
11471
11464
  * **Key capabilities**
11472
11465
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -17512,7 +17505,7 @@ class DomHandler {
17512
17505
 
17513
17506
  /**
17514
17507
  * Shared base class for `auro-input` that handles the value, formatting, and validation.
17515
- * @event input - Fires when the value changes, whether the user types or code sets the value. Events from code changes have `isProgrammatic` set to `true`.
17508
+ * @event input - Fires when the value changes. Typing fires the browser's `input` event, and every change to `value` also fires an `input` event with `isProgrammatic` set to `true`. To respond only to typing, skip events that have `isProgrammatic` set.
17516
17509
  * @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
17517
17510
  * @event auroInput-validityChange - Fires when `validity` changes.
17518
17511
  */
@@ -19483,7 +19476,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
19483
19476
  }
19484
19477
  };
19485
19478
 
19486
- var formkitVersion$1 = '202611092125';
19479
+ var formkitVersion$1 = '202611121951';
19487
19480
 
19488
19481
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19489
19482
  // See LICENSE in the project root for license information.
@@ -19494,7 +19487,7 @@ var formkitVersion$1 = '202611092125';
19494
19487
  *
19495
19488
  * **Key capabilities**
19496
19489
  * - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
19497
- * - **Validation messages**: Set `required`, `minlength`, `maxlength`, `pattern`, `min`, or `max` to show an error message below the field when the value doesn't meet the rule.
19490
+ * - **Validation messages**: Set `required`, `minlength`, `maxlength`, or `pattern` to show an error message below the field when the value doesn't meet the rule; `min` and `max` work only with `type="number"`, or with `type="date"` and a `format` that has a day, month, and year.
19498
19491
  * - **Clear button**: The input always shows a button that clears the value when the field has a value, isn't disabled or read-only, and the user hovers over it or moves focus into it.
19499
19492
  * - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
19500
19493
  * - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
@@ -20769,7 +20762,7 @@ class AuroBibtemplate extends i$3 {
20769
20762
  }
20770
20763
  }
20771
20764
 
20772
- var formkitVersion = '202611092125';
20765
+ var formkitVersion = '202611121951';
20773
20766
 
20774
20767
  var styleCss$3 = i$6`.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}`;
20775
20768
 
@@ -20782,9 +20775,10 @@ var styleSnowflakeCss = i$6`:host([layout*=snowflake][shape*=snowflake]) [auro-i
20782
20775
  *
20783
20776
  * It declares the `onDark` property and provides helpers that apply the
20784
20777
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
20785
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
20786
- * `shape`, and `size` properties with its own values and defaults, and
20787
- * implements `renderLayout()`, which `render()` calls.
20778
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
20779
+ * `shape`, and `size` properties they use, each with its own values and
20780
+ * default. The base `render()` calls `renderLayout()`, which a subclass
20781
+ * implements unless it overrides `render()`.
20788
20782
  *
20789
20783
  * **Key capabilities**
20790
20784
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -21215,7 +21209,7 @@ function getOptionLabel(option) {
21215
21209
  *
21216
21210
  * **Key capabilities**
21217
21211
  * - **Suggestion or filter**: Set `behavior="filter"` to require choosing an option from the menu; the default, `suggestion`, also accepts typed text.
21218
- * - **Filtering as people type**: Typing always hides options whose text doesn't include the typed text, unless `noFilter` is set.
21212
+ * - **Filtering as people type**: Typing hides options that don't match the typed text or their `suggest` keywords, unless `noFilter` is set; `persistent` options always stay visible.
21219
21213
  * - **Validation**: Set `required` to require a value, and `setCustomValidity` to change the error message.
21220
21214
  * - **Fullscreen on small screens**: Set `fullscreenBreakpoint` to choose the largest screen size at which the list opens as a fullscreen dialog.
21221
21215
  * - **Layouts**: Set `layout` to `classic`, `emphasized`, or `snowflake` to change the overall look.
@@ -22209,9 +22203,9 @@ class AuroCombobox extends AuroElement {
22209
22203
  }
22210
22204
 
22211
22205
  /**
22212
- * Opens the bib when the input has text and there's something to show: options or a `nomatch` option.
22206
+ * Opens the bib when the input has text and the menu has options to show, a `nomatch` option, or a `loading` attribute with a value, such as `loading="loading"`.
22213
22207
  * When the menu is loading without `loadingText` or `loadingIcon` content, the bib opens once loading ends, if focus is still in the combobox.
22214
- * Doesn't currently open the bib for a loading menu that has no options yet.
22208
+ * Doesn't currently open the bib for a menu with no options to show, no `nomatch` option, and an empty `loading` attribute, such as the one the menu's `loading` property sets.
22215
22209
  * @returns {void}
22216
22210
  */
22217
22211
  showBib() {
@@ -25124,8 +25118,8 @@ class AuroMenu extends AuroElement {
25124
25118
  }
25125
25119
 
25126
25120
  /**
25127
- * Checks whether the menu has content for the `loadingIcon` or `loadingText` slot. Only content present when the menu first renders counts.
25128
- * @returns {boolean} True if either slot had content when the menu first rendered; false otherwise.
25121
+ * Checks whether the menu has an element in the `loadingIcon` or `loadingText` slot, even an empty one. Only elements present when the menu first renders count.
25122
+ * @returns {boolean|null} True if the menu had an element in either slot when it first rendered; false if it didn't; null before the menu first renders.
25129
25123
  */
25130
25124
  get hasLoadingPlaceholder() {
25131
25125
  return this.loadingSlots && this.loadingSlots.length > 0;
@@ -730,20 +730,11 @@ function guardTouchPassthrough(element) {
730
730
  }
731
731
 
732
732
  /**
733
- * Restores the dropdown trigger after a fullscreen dialog closes without focus
734
- * leaving the component, such as when the Esc or Enter key closes it.
735
- * When focus leaves the component, for example by tabbing out of the combobox
736
- * after closing the fullscreen dialog, the browser's native dialog focus
737
- * restoration handles it, so this function only restores focus when focus
738
- * remains inside the component after the dialog closes.
739
- *
740
- * Removes the `inert` attribute from the trigger so it's accessible again,
741
- * and restores focus to the given target after one animation frame. The rAF
742
- * delay lets Lit's microtask update cycle call `dialog.close()` first. Without
743
- * it, the browser's native dialog focus restoration can conflict.
744
- *
745
- * The focus is only applied if the dropdown is still closed at the time the
746
- * rAF fires, guarding against a rapid close-then-reopen race.
733
+ * Restores the dropdown trigger after a fullscreen dialog closes, so keyboard users keep their place.
734
+ * Removes the `inert` attribute from the trigger, then, after one animation frame, moves focus to
735
+ * the given target if the dropdown is still closed and focus is inside the trigger.
736
+ * The one-frame wait lets Lit finish closing the dialog first, because the browser's native dialog
737
+ * focus restoration can conflict otherwise.
747
738
  *
748
739
  * @param {HTMLElement} dropdown - The `auro-dropdown` element.
749
740
  * @param {HTMLElement} focusTarget - The element to focus, such as the trigger or the input.
@@ -768,8 +759,8 @@ function restoreTriggerAfterClose(dropdown, focusTarget) {
768
759
  */let e$1 = class e extends i$1{constructor(i){if(super(i),this.it=A$2,i.type!==t$1.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===A$2||null==r)return this._t=void 0,this.it=r;if(r===E)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;const s=[r];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}};e$1.directiveName="unsafeHTML",e$1.resultType=1;
769
760
 
770
761
  /**
771
- * Creates a snapshot of the dropdown's display state for one keydown event.
772
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
762
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
763
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
773
764
  *
774
765
  * @param {HTMLElement} component - The component with a dropdown reference.
775
766
  * @param {Object} [options] - The optional settings.
@@ -4564,8 +4555,8 @@ let p$4 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
4564
4555
  var iconVersion$3 = '9.2.0';
4565
4556
 
4566
4557
  /**
4567
- * Creates a snapshot of the dropdown's display state for one keydown event.
4568
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
4558
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
4559
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
4569
4560
  *
4570
4561
  * @param {HTMLElement} component - The component with a dropdown reference.
4571
4562
  * @param {Object} [options] - The optional settings.
@@ -5314,16 +5305,17 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
5314
5305
  }
5315
5306
  };
5316
5307
 
5317
- var formkitVersion$2 = '202611092125';
5308
+ var formkitVersion$2 = '202611121951';
5318
5309
 
5319
5310
  /**
5320
5311
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
5321
5312
  *
5322
5313
  * It declares the `onDark` property and provides helpers that apply the
5323
5314
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
5324
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
5325
- * `shape`, and `size` properties with its own values and defaults, and
5326
- * implements `renderLayout()`, which `render()` calls.
5315
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
5316
+ * `shape`, and `size` properties they use, each with its own values and
5317
+ * default. The base `render()` calls `renderLayout()`, which a subclass
5318
+ * implements unless it overrides `render()`.
5327
5319
  *
5328
5320
  * **Key capabilities**
5329
5321
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -5982,7 +5974,7 @@ class AuroDropdown extends AuroElement$2 {
5982
5974
  /**
5983
5975
  * Sets the height of the trigger, from `xs`, the shortest, to `xl`, the tallest.
5984
5976
  * Applies only when `shape` is also set.
5985
- * The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them.
5977
+ * Each shape has styles for only some sizes: `box` for all five; `pill`, `pill-left`, and `pill-right` for `md` and `xl`; `rounded` for `lg`; and `classic` and `snowflake` for one fixed height at any size.
5986
5978
  * @relevantWhen shape !== undefined
5987
5979
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
5988
5980
  * @category ui
@@ -11479,9 +11471,10 @@ class AuroFormValidation {
11479
11471
  *
11480
11472
  * It declares the `onDark` property and provides helpers that apply the
11481
11473
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
11482
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
11483
- * `shape`, and `size` properties with its own values and defaults, and
11484
- * implements `renderLayout()`, which `render()` calls.
11474
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
11475
+ * `shape`, and `size` properties they use, each with its own values and
11476
+ * default. The base `render()` calls `renderLayout()`, which a subclass
11477
+ * implements unless it overrides `render()`.
11485
11478
  *
11486
11479
  * **Key capabilities**
11487
11480
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -17527,7 +17520,7 @@ class DomHandler {
17527
17520
 
17528
17521
  /**
17529
17522
  * Shared base class for `auro-input` that handles the value, formatting, and validation.
17530
- * @event input - Fires when the value changes, whether the user types or code sets the value. Events from code changes have `isProgrammatic` set to `true`.
17523
+ * @event input - Fires when the value changes. Typing fires the browser's `input` event, and every change to `value` also fires an `input` event with `isProgrammatic` set to `true`. To respond only to typing, skip events that have `isProgrammatic` set.
17531
17524
  * @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
17532
17525
  * @event auroInput-validityChange - Fires when `validity` changes.
17533
17526
  */
@@ -19498,7 +19491,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
19498
19491
  }
19499
19492
  };
19500
19493
 
19501
- var formkitVersion$1 = '202611092125';
19494
+ var formkitVersion$1 = '202611121951';
19502
19495
 
19503
19496
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19504
19497
  // See LICENSE in the project root for license information.
@@ -19509,7 +19502,7 @@ var formkitVersion$1 = '202611092125';
19509
19502
  *
19510
19503
  * **Key capabilities**
19511
19504
  * - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
19512
- * - **Validation messages**: Set `required`, `minlength`, `maxlength`, `pattern`, `min`, or `max` to show an error message below the field when the value doesn't meet the rule.
19505
+ * - **Validation messages**: Set `required`, `minlength`, `maxlength`, or `pattern` to show an error message below the field when the value doesn't meet the rule; `min` and `max` work only with `type="number"`, or with `type="date"` and a `format` that has a day, month, and year.
19513
19506
  * - **Clear button**: The input always shows a button that clears the value when the field has a value, isn't disabled or read-only, and the user hovers over it or moves focus into it.
19514
19507
  * - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
19515
19508
  * - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
@@ -20784,7 +20777,7 @@ class AuroBibtemplate extends i$3 {
20784
20777
  }
20785
20778
  }
20786
20779
 
20787
- var formkitVersion = '202611092125';
20780
+ var formkitVersion = '202611121951';
20788
20781
 
20789
20782
  var styleCss$3 = i$6`.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}`;
20790
20783
 
@@ -20797,9 +20790,10 @@ var styleSnowflakeCss = i$6`:host([layout*=snowflake][shape*=snowflake]) [auro-i
20797
20790
  *
20798
20791
  * It declares the `onDark` property and provides helpers that apply the
20799
20792
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
20800
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
20801
- * `shape`, and `size` properties with its own values and defaults, and
20802
- * implements `renderLayout()`, which `render()` calls.
20793
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
20794
+ * `shape`, and `size` properties they use, each with its own values and
20795
+ * default. The base `render()` calls `renderLayout()`, which a subclass
20796
+ * implements unless it overrides `render()`.
20803
20797
  *
20804
20798
  * **Key capabilities**
20805
20799
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -21230,7 +21224,7 @@ function getOptionLabel(option) {
21230
21224
  *
21231
21225
  * **Key capabilities**
21232
21226
  * - **Suggestion or filter**: Set `behavior="filter"` to require choosing an option from the menu; the default, `suggestion`, also accepts typed text.
21233
- * - **Filtering as people type**: Typing always hides options whose text doesn't include the typed text, unless `noFilter` is set.
21227
+ * - **Filtering as people type**: Typing hides options that don't match the typed text or their `suggest` keywords, unless `noFilter` is set; `persistent` options always stay visible.
21234
21228
  * - **Validation**: Set `required` to require a value, and `setCustomValidity` to change the error message.
21235
21229
  * - **Fullscreen on small screens**: Set `fullscreenBreakpoint` to choose the largest screen size at which the list opens as a fullscreen dialog.
21236
21230
  * - **Layouts**: Set `layout` to `classic`, `emphasized`, or `snowflake` to change the overall look.
@@ -22224,9 +22218,9 @@ class AuroCombobox extends AuroElement {
22224
22218
  }
22225
22219
 
22226
22220
  /**
22227
- * Opens the bib when the input has text and there's something to show: options or a `nomatch` option.
22221
+ * Opens the bib when the input has text and the menu has options to show, a `nomatch` option, or a `loading` attribute with a value, such as `loading="loading"`.
22228
22222
  * When the menu is loading without `loadingText` or `loadingIcon` content, the bib opens once loading ends, if focus is still in the combobox.
22229
- * Doesn't currently open the bib for a loading menu that has no options yet.
22223
+ * Doesn't currently open the bib for a menu with no options to show, no `nomatch` option, and an empty `loading` attribute, such as the one the menu's `loading` property sets.
22230
22224
  * @returns {void}
22231
22225
  */
22232
22226
  showBib() {
@@ -25139,8 +25133,8 @@ class AuroMenu extends AuroElement {
25139
25133
  }
25140
25134
 
25141
25135
  /**
25142
- * Checks whether the menu has content for the `loadingIcon` or `loadingText` slot. Only content present when the menu first renders counts.
25143
- * @returns {boolean} True if either slot had content when the menu first rendered; false otherwise.
25136
+ * Checks whether the menu has an element in the `loadingIcon` or `loadingText` slot, even an empty one. Only elements present when the menu first renders count.
25137
+ * @returns {boolean|null} True if the menu had an element in either slot when it first rendered; false if it didn't; null before the menu first renders.
25144
25138
  */
25145
25139
  get hasLoadingPlaceholder() {
25146
25140
  return this.loadingSlots && this.loadingSlots.length > 0;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * **Key capabilities**
5
5
  * - **Suggestion or filter**: Set `behavior="filter"` to require choosing an option from the menu; the default, `suggestion`, also accepts typed text.
6
- * - **Filtering as people type**: Typing always hides options whose text doesn't include the typed text, unless `noFilter` is set.
6
+ * - **Filtering as people type**: Typing hides options that don't match the typed text or their `suggest` keywords, unless `noFilter` is set; `persistent` options always stay visible.
7
7
  * - **Validation**: Set `required` to require a value, and `setCustomValidity` to change the error message.
8
8
  * - **Fullscreen on small screens**: Set `fullscreenBreakpoint` to choose the largest screen size at which the list opens as a fullscreen dialog.
9
9
  * - **Layouts**: Set `layout` to `classic`, `emphasized`, or `snowflake` to change the overall look.
@@ -445,6 +445,8 @@ export class AuroCombobox extends AuroElement {
445
445
  dvInputOnly: boolean | undefined;
446
446
  /** @type {'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'} */
447
447
  fullscreenBreakpoint: "xs" | "sm" | "md" | "lg" | "xl" | "disabled" | undefined;
448
+ /** @type {'classic' | 'emphasized' | 'snowflake'} */
449
+ layout: "classic" | "emphasized" | "snowflake" | undefined;
448
450
  matchWidth: boolean | undefined;
449
451
  /** @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'} */
450
452
  shape: "classic" | "snowflake" | "box" | "pill" | "pill-left" | "pill-right" | "rounded" | undefined;
@@ -580,9 +582,9 @@ export class AuroCombobox extends AuroElement {
580
582
  */
581
583
  hideBib(): void;
582
584
  /**
583
- * Opens the bib when the input has text and there's something to show: options or a `nomatch` option.
585
+ * Opens the bib when the input has text and the menu has options to show, a `nomatch` option, or a `loading` attribute with a value, such as `loading="loading"`.
584
586
  * When the menu is loading without `loadingText` or `loadingIcon` content, the bib opens once loading ends, if focus is still in the combobox.
585
- * Doesn't currently open the bib for a loading menu that has no options yet.
587
+ * Doesn't currently open the bib for a menu with no options to show, no `nomatch` option, and an empty `loading` attribute, such as the one the menu's `loading` property sets.
586
588
  * @returns {void}
587
589
  */
588
590
  showBib(): void;
@@ -678,20 +678,11 @@ function guardTouchPassthrough(element) {
678
678
  }
679
679
 
680
680
  /**
681
- * Restores the dropdown trigger after a fullscreen dialog closes without focus
682
- * leaving the component, such as when the Esc or Enter key closes it.
683
- * When focus leaves the component, for example by tabbing out of the combobox
684
- * after closing the fullscreen dialog, the browser's native dialog focus
685
- * restoration handles it, so this function only restores focus when focus
686
- * remains inside the component after the dialog closes.
687
- *
688
- * Removes the `inert` attribute from the trigger so it's accessible again,
689
- * and restores focus to the given target after one animation frame. The rAF
690
- * delay lets Lit's microtask update cycle call `dialog.close()` first. Without
691
- * it, the browser's native dialog focus restoration can conflict.
692
- *
693
- * The focus is only applied if the dropdown is still closed at the time the
694
- * rAF fires, guarding against a rapid close-then-reopen race.
681
+ * Restores the dropdown trigger after a fullscreen dialog closes, so keyboard users keep their place.
682
+ * Removes the `inert` attribute from the trigger, then, after one animation frame, moves focus to
683
+ * the given target if the dropdown is still closed and focus is inside the trigger.
684
+ * The one-frame wait lets Lit finish closing the dialog first, because the browser's native dialog
685
+ * focus restoration can conflict otherwise.
695
686
  *
696
687
  * @param {HTMLElement} dropdown - The `auro-dropdown` element.
697
688
  * @param {HTMLElement} focusTarget - The element to focus, such as the trigger or the input.
@@ -710,8 +701,8 @@ function restoreTriggerAfterClose(dropdown, focusTarget) {
710
701
  }
711
702
 
712
703
  /**
713
- * Creates a snapshot of the dropdown's display state for one keydown event.
714
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
704
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
705
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
715
706
  *
716
707
  * @param {HTMLElement} component - The component with a dropdown reference.
717
708
  * @param {Object} [options] - The optional settings.
@@ -4482,8 +4473,8 @@ let p$3 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
4482
4473
  var iconVersion$2 = '9.2.0';
4483
4474
 
4484
4475
  /**
4485
- * Creates a snapshot of the dropdown's display state for one keydown event.
4486
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
4476
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
4477
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
4487
4478
  *
4488
4479
  * @param {HTMLElement} component - The component with a dropdown reference.
4489
4480
  * @param {Object} [options] - The optional settings.
@@ -5232,16 +5223,17 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5232
5223
  }
5233
5224
  };
5234
5225
 
5235
- var formkitVersion$2 = '202611092125';
5226
+ var formkitVersion$2 = '202611121951';
5236
5227
 
5237
5228
  /**
5238
5229
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
5239
5230
  *
5240
5231
  * It declares the `onDark` property and provides helpers that apply the
5241
5232
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
5242
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
5243
- * `shape`, and `size` properties with its own values and defaults, and
5244
- * implements `renderLayout()`, which `render()` calls.
5233
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
5234
+ * `shape`, and `size` properties they use, each with its own values and
5235
+ * default. The base `render()` calls `renderLayout()`, which a subclass
5236
+ * implements unless it overrides `render()`.
5245
5237
  *
5246
5238
  * **Key capabilities**
5247
5239
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -5900,7 +5892,7 @@ class AuroDropdown extends AuroElement$2 {
5900
5892
  /**
5901
5893
  * Sets the height of the trigger, from `xs`, the shortest, to `xl`, the tallest.
5902
5894
  * Applies only when `shape` is also set.
5903
- * The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them.
5895
+ * Each shape has styles for only some sizes: `box` for all five; `pill`, `pill-left`, and `pill-right` for `md` and `xl`; `rounded` for `lg`; and `classic` and `snowflake` for one fixed height at any size.
5904
5896
  * @relevantWhen shape !== undefined
5905
5897
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
5906
5898
  * @category ui
@@ -11390,9 +11382,10 @@ class AuroFormValidation {
11390
11382
  *
11391
11383
  * It declares the `onDark` property and provides helpers that apply the
11392
11384
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
11393
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
11394
- * `shape`, and `size` properties with its own values and defaults, and
11395
- * implements `renderLayout()`, which `render()` calls.
11385
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
11386
+ * `shape`, and `size` properties they use, each with its own values and
11387
+ * default. The base `render()` calls `renderLayout()`, which a subclass
11388
+ * implements unless it overrides `render()`.
11396
11389
  *
11397
11390
  * **Key capabilities**
11398
11391
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -17438,7 +17431,7 @@ class DomHandler {
17438
17431
 
17439
17432
  /**
17440
17433
  * Shared base class for `auro-input` that handles the value, formatting, and validation.
17441
- * @event input - Fires when the value changes, whether the user types or code sets the value. Events from code changes have `isProgrammatic` set to `true`.
17434
+ * @event input - Fires when the value changes. Typing fires the browser's `input` event, and every change to `value` also fires an `input` event with `isProgrammatic` set to `true`. To respond only to typing, skip events that have `isProgrammatic` set.
17442
17435
  * @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
17443
17436
  * @event auroInput-validityChange - Fires when `validity` changes.
17444
17437
  */
@@ -19409,7 +19402,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
19409
19402
  }
19410
19403
  };
19411
19404
 
19412
- var formkitVersion$1 = '202611092125';
19405
+ var formkitVersion$1 = '202611121951';
19413
19406
 
19414
19407
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19415
19408
  // See LICENSE in the project root for license information.
@@ -19420,7 +19413,7 @@ var formkitVersion$1 = '202611092125';
19420
19413
  *
19421
19414
  * **Key capabilities**
19422
19415
  * - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
19423
- * - **Validation messages**: Set `required`, `minlength`, `maxlength`, `pattern`, `min`, or `max` to show an error message below the field when the value doesn't meet the rule.
19416
+ * - **Validation messages**: Set `required`, `minlength`, `maxlength`, or `pattern` to show an error message below the field when the value doesn't meet the rule; `min` and `max` work only with `type="number"`, or with `type="date"` and a `format` that has a day, month, and year.
19424
19417
  * - **Clear button**: The input always shows a button that clears the value when the field has a value, isn't disabled or read-only, and the user hovers over it or moves focus into it.
19425
19418
  * - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
19426
19419
  * - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
@@ -20695,7 +20688,7 @@ class AuroBibtemplate extends LitElement {
20695
20688
  }
20696
20689
  }
20697
20690
 
20698
- var formkitVersion = '202611092125';
20691
+ var formkitVersion = '202611121951';
20699
20692
 
20700
20693
  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}`;
20701
20694
 
@@ -20708,9 +20701,10 @@ var styleSnowflakeCss = css`:host([layout*=snowflake][shape*=snowflake]) [auro-i
20708
20701
  *
20709
20702
  * It declares the `onDark` property and provides helpers that apply the
20710
20703
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
20711
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
20712
- * `shape`, and `size` properties with its own values and defaults, and
20713
- * implements `renderLayout()`, which `render()` calls.
20704
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
20705
+ * `shape`, and `size` properties they use, each with its own values and
20706
+ * default. The base `render()` calls `renderLayout()`, which a subclass
20707
+ * implements unless it overrides `render()`.
20714
20708
  *
20715
20709
  * **Key capabilities**
20716
20710
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -21141,7 +21135,7 @@ function getOptionLabel(option) {
21141
21135
  *
21142
21136
  * **Key capabilities**
21143
21137
  * - **Suggestion or filter**: Set `behavior="filter"` to require choosing an option from the menu; the default, `suggestion`, also accepts typed text.
21144
- * - **Filtering as people type**: Typing always hides options whose text doesn't include the typed text, unless `noFilter` is set.
21138
+ * - **Filtering as people type**: Typing hides options that don't match the typed text or their `suggest` keywords, unless `noFilter` is set; `persistent` options always stay visible.
21145
21139
  * - **Validation**: Set `required` to require a value, and `setCustomValidity` to change the error message.
21146
21140
  * - **Fullscreen on small screens**: Set `fullscreenBreakpoint` to choose the largest screen size at which the list opens as a fullscreen dialog.
21147
21141
  * - **Layouts**: Set `layout` to `classic`, `emphasized`, or `snowflake` to change the overall look.
@@ -22135,9 +22129,9 @@ class AuroCombobox extends AuroElement {
22135
22129
  }
22136
22130
 
22137
22131
  /**
22138
- * Opens the bib when the input has text and there's something to show: options or a `nomatch` option.
22132
+ * Opens the bib when the input has text and the menu has options to show, a `nomatch` option, or a `loading` attribute with a value, such as `loading="loading"`.
22139
22133
  * When the menu is loading without `loadingText` or `loadingIcon` content, the bib opens once loading ends, if focus is still in the combobox.
22140
- * Doesn't currently open the bib for a loading menu that has no options yet.
22134
+ * Doesn't currently open the bib for a menu with no options to show, no `nomatch` option, and an empty `loading` attribute, such as the one the menu's `loading` property sets.
22141
22135
  * @returns {void}
22142
22136
  */
22143
22137
  showBib() {