@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.16 → 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 (79) 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/customize.min.js +29 -35
  7. package/components/combobox/demo/getting-started.min.js +29 -35
  8. package/components/combobox/demo/index.min.js +29 -35
  9. package/components/combobox/dist/auro-combobox.d.ts +2 -0
  10. package/components/combobox/dist/index.js +27 -33
  11. package/components/combobox/dist/registered.js +27 -33
  12. package/components/counter/demo/accessibility.md +1 -1
  13. package/components/counter/demo/css-only.md +5 -5
  14. package/components/counter/demo/customize.min.js +15 -13
  15. package/components/counter/demo/getting-started.min.js +15 -13
  16. package/components/counter/demo/index.min.js +15 -13
  17. package/components/counter/demo/voiceover.md +1 -1
  18. package/components/counter/demo/why-counter.md +3 -3
  19. package/components/counter/dist/auro-counter-group.d.ts +1 -0
  20. package/components/counter/dist/index.js +15 -13
  21. package/components/counter/dist/registered.js +15 -13
  22. package/components/datepicker/demo/customize.min.js +22 -19
  23. package/components/datepicker/demo/getting-started.min.js +22 -19
  24. package/components/datepicker/demo/index.min.js +22 -19
  25. package/components/datepicker/dist/index.js +22 -19
  26. package/components/datepicker/dist/registered.js +22 -19
  27. package/components/dropdown/demo/api.md +1 -1
  28. package/components/dropdown/demo/customize.min.js +8 -7
  29. package/components/dropdown/demo/getting-started.min.js +15 -13
  30. package/components/dropdown/demo/index.min.js +8 -7
  31. package/components/dropdown/dist/auro-dropdown.d.ts +1 -1
  32. package/components/dropdown/dist/index.js +8 -7
  33. package/components/dropdown/dist/registered.js +8 -7
  34. package/components/form/demo/api.md +1 -1
  35. package/components/form/demo/customize.min.js +106 -112
  36. package/components/form/demo/getting-started.min.js +106 -112
  37. package/components/form/demo/index.min.js +106 -112
  38. package/components/form/demo/registerDemoDeps.min.js +105 -111
  39. package/components/form/demo/why-form.md +1 -1
  40. package/components/form/dist/auro-form.d.ts +1 -1
  41. package/components/form/dist/index.js +1 -1
  42. package/components/form/dist/registered.js +1 -1
  43. package/components/input/demo/api.md +6 -6
  44. package/components/input/demo/customize.min.js +7 -6
  45. package/components/input/demo/getting-started.min.js +7 -6
  46. package/components/input/demo/index.min.js +7 -6
  47. package/components/input/dist/auro-input.d.ts +1 -1
  48. package/components/input/dist/base-input.d.ts +2 -1
  49. package/components/input/dist/index.js +7 -6
  50. package/components/input/dist/registered.js +7 -6
  51. package/components/layoutElement/dist/auroElement.d.ts +4 -3
  52. package/components/layoutElement/dist/index.js +4 -3
  53. package/components/layoutElement/dist/registered.js +4 -3
  54. package/components/menu/demo/api.md +1 -1
  55. package/components/menu/demo/index.min.js +6 -5
  56. package/components/menu/dist/auro-menu.d.ts +8 -3
  57. package/components/menu/dist/auro-menuoption.d.ts +2 -2
  58. package/components/menu/dist/index.js +6 -5
  59. package/components/menu/dist/registered.js +6 -5
  60. package/components/radio/demo/api.md +16 -16
  61. package/components/radio/demo/customize.md +1 -1
  62. package/components/radio/demo/customize.min.js +4 -4
  63. package/components/radio/demo/getting-started.min.js +4 -4
  64. package/components/radio/demo/index.min.js +4 -4
  65. package/components/radio/dist/auro-radio-group.d.ts +2 -2
  66. package/components/radio/dist/auro-radio.d.ts +1 -1
  67. package/components/radio/dist/index.js +4 -4
  68. package/components/radio/dist/registered.js +4 -4
  69. package/components/select/demo/api.md +47 -47
  70. package/components/select/demo/css-only.md +1 -1
  71. package/components/select/demo/customize.min.js +25 -32
  72. package/components/select/demo/getting-started.min.js +25 -32
  73. package/components/select/demo/index.md +1 -1
  74. package/components/select/demo/index.min.js +25 -32
  75. package/components/select/dist/auro-select.d.ts +4 -3
  76. package/components/select/dist/index.js +23 -30
  77. package/components/select/dist/registered.js +23 -30
  78. package/custom-elements.json +20 -20
  79. package/package.json +1 -1
@@ -1381,7 +1381,7 @@ class AuroHelpText extends i$2 {
1381
1381
  }
1382
1382
  }
1383
1383
 
1384
- var formkitVersion = '202611121719';
1384
+ var formkitVersion = '202611121951';
1385
1385
 
1386
1386
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1387
1387
  // See LICENSE in the project root for license information.
@@ -1381,7 +1381,7 @@ class AuroHelpText extends i$2 {
1381
1381
  }
1382
1382
  }
1383
1383
 
1384
- var formkitVersion = '202611121719';
1384
+ var formkitVersion = '202611121951';
1385
1385
 
1386
1386
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1387
1387
  // See LICENSE in the project root for license information.
@@ -1381,7 +1381,7 @@ class AuroHelpText extends i$2 {
1381
1381
  }
1382
1382
  }
1383
1383
 
1384
- var formkitVersion = '202611121719';
1384
+ var formkitVersion = '202611121951';
1385
1385
 
1386
1386
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1387
1387
  // See LICENSE in the project root for license information.
@@ -1334,7 +1334,7 @@ class AuroHelpText extends LitElement {
1334
1334
  }
1335
1335
  }
1336
1336
 
1337
- var formkitVersion = '202611121719';
1337
+ var formkitVersion = '202611121951';
1338
1338
 
1339
1339
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1340
1340
  // See LICENSE in the project root for license information.
@@ -1334,7 +1334,7 @@ class AuroHelpText extends LitElement {
1334
1334
  }
1335
1335
  }
1336
1336
 
1337
- var formkitVersion = '202611121719';
1337
+ var formkitVersion = '202611121951';
1338
1338
 
1339
1339
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1340
1340
  // See LICENSE in the project root for license information.
@@ -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 = '202611121719';
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 = '202611121719';
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 = '202611121719';
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 = '202611121719';
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()`.
@@ -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;
@@ -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 = '202611121719';
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 = '202611121719';
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 = '202611121719';
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 = '202611121719';
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()`.
@@ -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 = '202611121719';
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 = '202611121719';
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 = '202611121719';
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 = '202611121719';
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()`.
@@ -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;
@@ -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;