@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.1 → 0.0.0-pr1628.11

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 (158) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +1 -1
  2. package/components/bibtemplate/dist/index.js +1 -1
  3. package/components/bibtemplate/dist/registered.js +1 -1
  4. package/components/checkbox/README.md +1 -1
  5. package/components/checkbox/demo/accessibility.md +2 -2
  6. package/components/checkbox/demo/api.md +17 -17
  7. package/components/checkbox/demo/customize.md +16 -16
  8. package/components/checkbox/demo/customize.min.js +4 -4
  9. package/components/checkbox/demo/design.md +24 -24
  10. package/components/checkbox/demo/getting-started.md +33 -27
  11. package/components/checkbox/demo/getting-started.min.js +4 -4
  12. package/components/checkbox/demo/index.md +17 -17
  13. package/components/checkbox/demo/index.min.js +4 -4
  14. package/components/checkbox/demo/readme.md +1 -1
  15. package/components/checkbox/dist/auro-checkbox-group.d.ts +2 -2
  16. package/components/checkbox/dist/index.js +4 -4
  17. package/components/checkbox/dist/registered.js +4 -4
  18. package/components/combobox/demo/api.md +3 -3
  19. package/components/combobox/demo/css-only.md +3 -3
  20. package/components/combobox/demo/customize.md +12 -12
  21. package/components/combobox/demo/customize.min.js +53 -35
  22. package/components/combobox/demo/getting-started.min.js +53 -35
  23. package/components/combobox/demo/index.md +1 -1
  24. package/components/combobox/demo/index.min.js +53 -35
  25. package/components/combobox/dist/auro-combobox.d.ts +6 -4
  26. package/components/combobox/dist/index.js +42 -25
  27. package/components/combobox/dist/registered.js +42 -25
  28. package/components/counter/demo/accessibility.md +1 -1
  29. package/components/counter/demo/api.md +18 -18
  30. package/components/counter/demo/css-only.md +1 -1
  31. package/components/counter/demo/customize.md +2 -2
  32. package/components/counter/demo/customize.min.js +30 -30
  33. package/components/counter/demo/design.md +1 -1
  34. package/components/counter/demo/getting-started.md +29 -2
  35. package/components/counter/demo/getting-started.min.js +30 -30
  36. package/components/counter/demo/index.min.js +30 -30
  37. package/components/counter/demo/why-counter.md +3 -3
  38. package/components/counter/dist/auro-counter-group.d.ts +13 -14
  39. package/components/counter/dist/auro-counter.d.ts +1 -1
  40. package/components/counter/dist/index.js +30 -30
  41. package/components/counter/dist/registered.js +30 -30
  42. package/components/datepicker/README.md +1 -1
  43. package/components/datepicker/demo/accessibility.md +5 -5
  44. package/components/datepicker/demo/api.md +3 -3
  45. package/components/datepicker/demo/css-only.md +4 -4
  46. package/components/datepicker/demo/customize.md +12 -12
  47. package/components/datepicker/demo/customize.min.js +189 -135
  48. package/components/datepicker/demo/design.md +11 -11
  49. package/components/datepicker/demo/getting-started.md +4 -4
  50. package/components/datepicker/demo/getting-started.min.js +189 -135
  51. package/components/datepicker/demo/index.md +5 -5
  52. package/components/datepicker/demo/index.min.js +189 -135
  53. package/components/datepicker/demo/keyboard-behavior.md +1 -1
  54. package/components/datepicker/demo/readme.md +1 -1
  55. package/components/datepicker/demo/voiceover.md +4 -4
  56. package/components/datepicker/demo/why-datepicker.md +3 -3
  57. package/components/datepicker/dist/auro-calendar-cell.d.ts +32 -33
  58. package/components/datepicker/dist/auro-calendar-month.d.ts +8 -8
  59. package/components/datepicker/dist/auro-calendar.d.ts +44 -43
  60. package/components/datepicker/dist/auro-datepicker.d.ts +12 -10
  61. package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +3 -0
  62. package/components/datepicker/dist/index.js +189 -135
  63. package/components/datepicker/dist/registered.js +189 -135
  64. package/components/datepicker/dist/utilities.d.ts +4 -1
  65. package/components/datepicker/dist/utilitiesCalendar.d.ts +12 -4
  66. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +12 -6
  67. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +4 -4
  68. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +7 -7
  69. package/components/dropdown/demo/api.md +7 -7
  70. package/components/dropdown/demo/css-only.md +2 -2
  71. package/components/dropdown/demo/customize.md +1 -1
  72. package/components/dropdown/demo/customize.min.js +11 -10
  73. package/components/dropdown/demo/design.md +4 -4
  74. package/components/dropdown/demo/getting-started.min.js +33 -18
  75. package/components/dropdown/demo/index.min.js +11 -10
  76. package/components/dropdown/demo/voiceover.md +1 -1
  77. package/components/dropdown/demo/why-dropdown.md +1 -1
  78. package/components/dropdown/dist/auro-dropdown.d.ts +9 -8
  79. package/components/dropdown/dist/index.js +11 -10
  80. package/components/dropdown/dist/registered.js +11 -10
  81. package/components/form/README.md +1 -1
  82. package/components/form/demo/api.md +7 -7
  83. package/components/form/demo/css-only.md +1 -1
  84. package/components/form/demo/customize.md +2 -0
  85. package/components/form/demo/customize.min.js +329 -243
  86. package/components/form/demo/getting-started.md +2 -0
  87. package/components/form/demo/getting-started.min.js +329 -243
  88. package/components/form/demo/index.md +2 -2
  89. package/components/form/demo/index.min.js +329 -243
  90. package/components/form/demo/keyboard-behavior.md +1 -1
  91. package/components/form/demo/readme.md +1 -1
  92. package/components/form/demo/registerDemoDeps.min.js +327 -241
  93. package/components/form/demo/voiceover.md +3 -3
  94. package/components/form/demo/why-form.md +1 -1
  95. package/components/form/dist/auro-form.d.ts +2 -2
  96. package/components/form/dist/index.js +2 -2
  97. package/components/form/dist/registered.js +2 -2
  98. package/components/helptext/dist/auro-helptext.d.ts +1 -1
  99. package/components/helptext/dist/index.js +1 -1
  100. package/components/helptext/dist/registered.js +1 -1
  101. package/components/input/demo/api.md +58 -58
  102. package/components/input/demo/css-only.md +4 -4
  103. package/components/input/demo/customize.md +11 -11
  104. package/components/input/demo/customize.min.js +22 -8
  105. package/components/input/demo/design.md +2 -2
  106. package/components/input/demo/getting-started.md +5 -5
  107. package/components/input/demo/getting-started.min.js +22 -8
  108. package/components/input/demo/index.md +1 -1
  109. package/components/input/demo/index.min.js +22 -8
  110. package/components/input/demo/why-input.md +3 -3
  111. package/components/input/dist/auro-input.d.ts +1 -1
  112. package/components/input/dist/base-input.d.ts +6 -5
  113. package/components/input/dist/index.js +22 -8
  114. package/components/input/dist/registered.js +22 -8
  115. package/components/input/dist/utilities.d.ts +11 -0
  116. package/components/menu/demo/accessibility.md +1 -1
  117. package/components/menu/demo/api.md +1 -1
  118. package/components/menu/demo/css-only.md +4 -4
  119. package/components/menu/demo/customize.md +1 -1
  120. package/components/menu/demo/design.md +1 -1
  121. package/components/menu/demo/getting-started.md +3 -3
  122. package/components/menu/demo/index.min.js +11 -10
  123. package/components/menu/demo/keyboard-behavior.md +1 -1
  124. package/components/menu/demo/voiceover.md +1 -1
  125. package/components/menu/demo/why-menu.md +3 -3
  126. package/components/menu/dist/auro-menu.d.ts +10 -9
  127. package/components/menu/dist/auro-menuoption.d.ts +1 -1
  128. package/components/menu/dist/index.js +11 -10
  129. package/components/menu/dist/registered.js +11 -10
  130. package/components/radio/demo/accessibility.md +1 -1
  131. package/components/radio/demo/api.md +10 -10
  132. package/components/radio/demo/customize.md +15 -5
  133. package/components/radio/demo/customize.min.js +11 -13
  134. package/components/radio/demo/design.md +1 -1
  135. package/components/radio/demo/getting-started.md +6 -6
  136. package/components/radio/demo/getting-started.min.js +11 -13
  137. package/components/radio/demo/index.md +1 -1
  138. package/components/radio/demo/index.min.js +11 -13
  139. package/components/radio/demo/keyboard-behavior.md +1 -1
  140. package/components/radio/demo/voiceover.md +1 -1
  141. package/components/radio/demo/why-radio.md +1 -1
  142. package/components/radio/dist/auro-radio-group.d.ts +6 -8
  143. package/components/radio/dist/auro-radio.d.ts +3 -3
  144. package/components/radio/dist/index.js +11 -13
  145. package/components/radio/dist/registered.js +11 -13
  146. package/components/select/demo/api.md +1 -1
  147. package/components/select/demo/css-only.md +1 -1
  148. package/components/select/demo/customize.md +1 -1
  149. package/components/select/demo/customize.min.js +29 -26
  150. package/components/select/demo/getting-started.min.js +29 -26
  151. package/components/select/demo/index.md +1 -1
  152. package/components/select/demo/index.min.js +29 -26
  153. package/components/select/demo/voiceover.md +1 -1
  154. package/components/select/dist/auro-select.d.ts +4 -3
  155. package/components/select/dist/index.js +18 -16
  156. package/components/select/dist/registered.js +18 -16
  157. package/custom-elements.json +149 -133
  158. package/package.json +1 -1
@@ -28,7 +28,7 @@
28
28
  * @slot helpText - Help text shown below the group, such as "Select all that apply". While the group shows an error, the error message replaces it. {@category ui}
29
29
  * @slot default - The `auro-checkbox` elements in the group. {@requiredWhen always} {@category ui}
30
30
  * @event auroFormElement-validated - Fires each time the group runs validation, with the result in `event.detail.validity` and `event.detail.message`.
31
- * @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update.
31
+ * @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update. It also fires once for each checkbox when the group loads with checkboxes that start out `checked`.
32
32
  */
33
33
  export class AuroCheckboxGroup extends LitElement {
34
34
  static get styles(): import("lit").CSSResult[];
@@ -110,7 +110,7 @@ export class AuroCheckboxGroup extends LitElement {
110
110
  /**
111
111
  * Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
112
112
  * `setCustomValidity` takes priority when both are set.
113
- * @relevantWhen error
113
+ * @relevantWhen error !== undefined
114
114
  * @category behavior
115
115
  */
116
116
  setCustomValidityCustomError: {
@@ -1281,7 +1281,7 @@ class AuroHelpText extends LitElement {
1281
1281
  }
1282
1282
 
1283
1283
  /**
1284
- * Called when the slot's content changes and after each update. Checks whether the slot has text, so the element shows only when it does.
1284
+ * Called when nodes are added to or removed from the slot, and after each update. Checks whether the slot has text, so the element shows only when it does.
1285
1285
  * @param {Event} [event] - The `slotchange` event, when called from one.
1286
1286
  * @returns {void}
1287
1287
  */
@@ -1334,7 +1334,7 @@ class AuroHelpText extends LitElement {
1334
1334
  }
1335
1335
  }
1336
1336
 
1337
- var formkitVersion = '202611081756';
1337
+ var formkitVersion = '202611091610';
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.
@@ -1370,7 +1370,7 @@ var formkitVersion = '202611081756';
1370
1370
  * @slot helpText - Help text shown below the group, such as "Select all that apply". While the group shows an error, the error message replaces it. {@category ui}
1371
1371
  * @slot default - The `auro-checkbox` elements in the group. {@requiredWhen always} {@category ui}
1372
1372
  * @event auroFormElement-validated - Fires each time the group runs validation, with the result in `event.detail.validity` and `event.detail.message`.
1373
- * @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update.
1373
+ * @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update. It also fires once for each checkbox when the group loads with checkboxes that start out `checked`.
1374
1374
  */
1375
1375
 
1376
1376
  class AuroCheckboxGroup extends LitElement {
@@ -1540,7 +1540,7 @@ class AuroCheckboxGroup extends LitElement {
1540
1540
  /**
1541
1541
  * Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
1542
1542
  * `setCustomValidity` takes priority when both are set.
1543
- * @relevantWhen error
1543
+ * @relevantWhen error !== undefined
1544
1544
  * @category behavior
1545
1545
  */
1546
1546
  setCustomValidityCustomError: {
@@ -1281,7 +1281,7 @@ class AuroHelpText extends LitElement {
1281
1281
  }
1282
1282
 
1283
1283
  /**
1284
- * Called when the slot's content changes and after each update. Checks whether the slot has text, so the element shows only when it does.
1284
+ * Called when nodes are added to or removed from the slot, and after each update. Checks whether the slot has text, so the element shows only when it does.
1285
1285
  * @param {Event} [event] - The `slotchange` event, when called from one.
1286
1286
  * @returns {void}
1287
1287
  */
@@ -1334,7 +1334,7 @@ class AuroHelpText extends LitElement {
1334
1334
  }
1335
1335
  }
1336
1336
 
1337
- var formkitVersion = '202611081756';
1337
+ var formkitVersion = '202611091610';
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.
@@ -1370,7 +1370,7 @@ var formkitVersion = '202611081756';
1370
1370
  * @slot helpText - Help text shown below the group, such as "Select all that apply". While the group shows an error, the error message replaces it. {@category ui}
1371
1371
  * @slot default - The `auro-checkbox` elements in the group. {@requiredWhen always} {@category ui}
1372
1372
  * @event auroFormElement-validated - Fires each time the group runs validation, with the result in `event.detail.validity` and `event.detail.message`.
1373
- * @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update.
1373
+ * @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update. It also fires once for each checkbox when the group loads with checkboxes that start out `checked`.
1374
1374
  */
1375
1375
 
1376
1376
  class AuroCheckboxGroup extends LitElement {
@@ -1540,7 +1540,7 @@ class AuroCheckboxGroup extends LitElement {
1540
1540
  /**
1541
1541
  * Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
1542
1542
  * `setCustomValidity` takes priority when both are set.
1543
- * @relevantWhen error
1543
+ * @relevantWhen error !== undefined
1544
1544
  * @category behavior
1545
1545
  */
1546
1546
  setCustomValidityCustomError: {
@@ -34,12 +34,12 @@ A text field with a list of options that narrows as people type, so they can cho
34
34
  | dvInputOnly | dvinputonly | | boolean | | ui | | Keeps the label visible while `displayValue` content is shown in place of the value.<br>Without it, the `displayValue` content hides both the label and the value. |
35
35
  | fullscreenBreakpoint | fullscreenbreakpoint | | `xs` \| `sm` \| `md` \| `lg` \| `xl` \| `disabled` | `sm` | ui | | Sets the screen width, such as `sm`, at or below which the open bib fills the screen as a modal dialog.<br>Use `disabled` to keep the bib from ever going fullscreen. |
36
36
  | largeFullscreenHeadline | largefullscreenheadline | | boolean | | ui | | Shows the `bib.fullscreen.headline` text in a larger heading style. Applies only when the bib is fullscreen. |
37
- | layout | layout | | `classic` \| `emphasized` \| `snowflake` | `classic` | ui | | Sets the overall style of the combobox. The `emphasized` layout also shows larger menu options. |
37
+ | layout | layout | | `classic` \| `emphasized` \| `snowflake` | `classic` | ui | | Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,<br>and `snowflake` only on dark backgrounds with `appearance="inverse"`. The `emphasized` layout also shows larger menu options. |
38
38
  | noFlip | noflip | | boolean | | ui | | Keeps the bib at its `placement` when there isn't enough space, instead of flipping it to the opposite side. |
39
39
  | offset | offset | | number | `0` | ui | | Sets the gap between the trigger and the bib in pixels, such as `8`. |
40
40
  | placeholder | placeholder | | string | | ui | | Sets hint text shown in the empty input, such as `Search airports`.<br>When not set and `type="date"`, the input shows the date format, such as `MM/DD/YYYY`. |
41
41
  | placement | placement | | `top` \| `right` \| `bottom` \| `left` \| `bottom-start` \| `top-start` \| `top-end` \| `right-start` \| `right-end` \| `bottom-end` \| `left-start` \| `left-end` | `bottom-start` | ui | | Sets where the bib opens relative to the trigger, such as `bottom-start` for below the trigger, lined up with its start edge.<br>The bib flips to the opposite side when there isn't room, unless `noFlip` is set. |
42
- | shape | shape | | `box` \| `classic` \| `pill` \| `pill-left` \| `pill-right` \| `rounded` \| `snowflake` | `classic` | ui | | Sets the shape of the trigger. In the `snowflake` layout, the menu options use the same shape<br>unless the `<auro-menu>` sets its own `shape`. |
42
+ | shape | shape | | `box` \| `classic` \| `pill` \| `pill-left` \| `pill-right` \| `rounded` \| `snowflake` | `classic` | ui | | Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the<br>`emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the<br>same shape unless the `<auro-menu>` sets its own `shape`. |
43
43
  | shift | shift | | boolean | | ui | | Slides the bib along the trigger's edge to keep it inside the viewport. |
44
44
  | size | size | | `xs` \| `sm` \| `md` \| `lg` \| `xl` | `xl` | ui | | Sets the height of the trigger. The menu options don't follow it: they use `lg` in the<br>`emphasized` layout and `md` otherwise. |
45
45
  | triggerIcon | triggericon | | boolean | | ui | `type === 'credit-card'` | Shows a card icon in the input that changes to the detected card brand, such as Visa, as the user types.<br>Applies only when `type="credit-card"`. |
@@ -103,7 +103,7 @@ A text field with a list of options that narrows as people type, so they can cho
103
103
  | label | ui | Yes | | Label that names the combobox. Screen readers announce it as the name of the input and of the fullscreen dialog. |
104
104
  | optionalLabel | ui | | `!required` | Text shown after the label when `required` isn't set, such as a translated "(optional)". Defaults to "(optional)". |
105
105
  | ariaLabel.bib.close | a11y | Yes | | Text screen readers announce for the close button in the fullscreen bib, such as "Close destination list". Defaults to "Close". |
106
- | ariaLabel.input.clear | a11y | | | Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. |
106
+ | ariaLabel.input.clear | a11y | Yes | | Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. |
107
107
 
108
108
  ### CSS shadow parts
109
109
 
@@ -1,7 +1,7 @@
1
1
  <auro-header level="1">CSS only with native input and datalist</auro-header>
2
2
  <p>For situations where the <code>&lt;auro-combobox&gt;</code> web component can't be used, a native HTML <code>&lt;input type="text"&gt;</code> paired with a <code>&lt;datalist&gt;</code> element can be styled with the Auro Design System tokens to approximate the visual appearance of <code>auro-combobox</code>. Unlike <auro-hyperlink href="https://auro.alaskaair.com/components/auro/hyperlink/css-only" target="_blank">auro-hyperlink</auro-hyperlink>, <auro-hyperlink href="https://alaskaairlines.github.io/WebCoreStyleSheets/" target="_blank">Web Core Style Sheets</auro-hyperlink> doesn't provide a prebuilt <code>.combobox</code> class, so the styling must be authored manually using Auro design tokens.</p>
3
3
  <auro-header level="2">Styling a native input with datalist</auro-header>
4
- <p>The native input can be restyled with the Auro design tokens published by <auro-hyperlink href="https://alaskaairlines.github.io/WebCoreStyleSheets/" target="_blank">@aurodesignsystem/design-tokens</auro-hyperlink>. The pattern below replicates the size, border, and focus-state colors used by the <code>auro-combobox</code> trigger input.</p>
4
+ <p>Restyle the native input with the Auro design tokens published by <auro-hyperlink href="https://github.com/AlaskaAirlines/AuroDesignTokens" target="_blank">@aurodesignsystem/design-tokens</auro-hyperlink>. The pattern below replicates the size, border, and focus-state colors used by the <code>auro-combobox</code> trigger input.</p>
5
5
  <pre><code>/* Color tokens */
6
6
  @import "./node_modules/@aurodesignsystem/design-tokens/dist/themes/alaska/CSSCustomProperties--alaska.css";
7
7
  /* Size, border-radius, and typography tokens */
@@ -83,7 +83,7 @@
83
83
  <auro-header level="2">What you lose without auro-combobox</auro-header>
84
84
  <p>While the CSS above replicates the <strong>visual styling</strong> of the <code>auro-combobox</code> trigger, the following functionality built into the <code>auro-combobox</code> web component is <strong>not available</strong> when using plain HTML with a <code>&lt;datalist&gt;</code>:</p>
85
85
  <auro-header level="3">Filter vs. suggestion behavior</auro-header>
86
- <p><code>auro-combobox</code> exposes a <code>behavior</code> attribute (<code>filter</code> or <code>suggestion</code>) that controls whether the user must select a menu option or may submit a freeform typed value. Native <code>&lt;datalist&gt;</code> always behaves like suggestion mode. There's no way to require the user to choose from the list without writing custom JavaScript to compare the input value against the option set.</p>
86
+ <p><code>auro-combobox</code> exposes a <code>behavior</code> attribute (<code>filter</code> or <code>suggestion</code>) that controls whether the user must select a menu option or may submit a freeform typed value. Native <code>&lt;datalist&gt;</code> always behaves like suggestion mode, so requiring the user to choose from the list takes custom JavaScript that compares the input value against the option set.</p>
87
87
  <auro-header level="3">Custom filtering and matching</auro-header>
88
88
  <p><code>auro-combobox</code> filters options against the typed value and supports a <code>suggest</code> attribute on each menu option for additional matching keywords, plus <code>persistent</code>, <code>static</code>, and <code>nomatch</code> options that change how the list reacts to input. <code>&lt;datalist&gt;</code> matching is browser-controlled, varies across browsers, and can't be extended with synonyms, persistent items, or a "no match" placeholder.</p>
89
89
  <auro-header level="3">Highlighted match text</auro-header>
@@ -101,7 +101,7 @@
101
101
  <auro-header level="3">Rich option content and display value</auro-header>
102
102
  <p><code>auro-combobox</code> works with <code>auro-menuoption</code> elements that can contain markup, icons, and a <code>displayValue</code> slot that lets the visible trigger content differ from the underlying value (paired with <code>persistInput</code> for advanced filter UIs). <code>&lt;datalist&gt;</code> options are plain strings: no markup, no icons, and the visible value always equals the submitted value.</p>
103
103
  <auro-header level="3">Coordinated value and option-selected state</auro-header>
104
- <p><code>auro-combobox</code> exposes both <code>value</code> (the selected option's value) and <code>optionSelected</code> (a reference to the chosen <code>auro-menuoption</code> element), and fires <code>input</code> and <code>inputValue</code> events with structured detail. With native HTML, you only get the input's string value. There's no way to know which datalist option the user picked, because the browser doesn't report it.</p>
104
+ <p><code>auro-combobox</code> exposes both <code>value</code> (the selected option's value, or the typed text when no option is chosen) and <code>optionSelected</code> (a reference to the chosen <code>auro-menuoption</code> element), and fires <code>input</code> and <code>inputValue</code> events with structured detail. With native HTML, you only get the input's string value, because the browser doesn't report which datalist option the user picked.</p>
105
105
  <auro-header level="3">Form integration events</auro-header>
106
106
  <p><code>auro-combobox</code> dispatches <code>auroFormElement-validated</code> events so parent <code>auro-form</code> elements can coordinate validation across all child fields. Native inputs participate in form submission but don't emit the structured validation events that the Auro form system expects.</p>
107
107
  <auro-header level="3">Reset behavior</auro-header>
@@ -239,7 +239,7 @@
239
239
  <span slot="bib.fullscreen.headline">Bib header</span>
240
240
  <span slot="label">Label</span>
241
241
  <span slot="ariaLabel.input.clear">Clear selection</span>
242
- <span slot="helpText">bottom-end bib with 20px offset and noFlip</span>
242
+ <span slot="helpText">Bib placed below the trigger at its end edge, 20px away, and doesn't flip</span>
243
243
  <auro-menu>
244
244
  <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
245
245
  <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
@@ -253,7 +253,7 @@
253
253
  <span slot="bib.fullscreen.headline">Bib header</span>
254
254
  <span slot="label">Label</span>
255
255
  <span slot="ariaLabel.input.clear">Clear selection</span>
256
- <span slot="helpText">bottom-end bib with 20px offset and flip</span>
256
+ <span slot="helpText">Bib placed below the trigger at its end edge, 20px away, and flips when there isn't room</span>
257
257
  <auro-menu>
258
258
  <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
259
259
  <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
@@ -267,7 +267,7 @@
267
267
  <span slot="bib.fullscreen.headline">Bib header</span>
268
268
  <span slot="label">Label</span>
269
269
  <span slot="ariaLabel.input.clear">Clear selection</span>
270
- <span slot="helpText">right bib with 20px offset and noFlip</span>
270
+ <span slot="helpText">Bib placed to the right of the trigger, 20px away, and doesn't flip</span>
271
271
  <auro-menu>
272
272
  <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
273
273
  <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
@@ -281,7 +281,7 @@
281
281
  <span slot="bib.fullscreen.headline">Bib header</span>
282
282
  <span slot="label">Label</span>
283
283
  <span slot="ariaLabel.input.clear">Clear selection</span>
284
- <span slot="helpText">bottom-start bib with 20px offset, noFlip, and shift</span>
284
+ <span slot="helpText">Bib placed below the trigger at its start edge, 20px away, shifts to stay in view, and doesn't flip</span>
285
285
  <auro-menu>
286
286
  <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
287
287
  <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
@@ -303,7 +303,7 @@
303
303
  &lt;span slot="bib.fullscreen.headline"&gt;Bib header&lt;/span&gt;
304
304
  &lt;span slot="label"&gt;Label&lt;/span&gt;
305
305
  &lt;span slot="ariaLabel.input.clear"&gt;Clear selection&lt;/span&gt;
306
- &lt;span slot="helpText"&gt;bottom-end bib with 20px offset and noFlip&lt;/span&gt;
306
+ &lt;span slot="helpText"&gt;Bib placed below the trigger at its end edge, 20px away, and doesn't flip&lt;/span&gt;
307
307
  &lt;auro-menu&gt;
308
308
  &lt;auro-menuoption value="Apples" id="option-0"&gt;Apples&lt;/auro-menuoption&gt;
309
309
  &lt;auro-menuoption value="Oranges" id="option-1"&gt;Oranges&lt;/auro-menuoption&gt;
@@ -317,7 +317,7 @@
317
317
  &lt;span slot="bib.fullscreen.headline"&gt;Bib header&lt;/span&gt;
318
318
  &lt;span slot="label"&gt;Label&lt;/span&gt;
319
319
  &lt;span slot="ariaLabel.input.clear"&gt;Clear selection&lt;/span&gt;
320
- &lt;span slot="helpText"&gt;bottom-end bib with 20px offset and flip&lt;/span&gt;
320
+ &lt;span slot="helpText"&gt;Bib placed below the trigger at its end edge, 20px away, and flips when there isn't room&lt;/span&gt;
321
321
  &lt;auro-menu&gt;
322
322
  &lt;auro-menuoption value="Apples" id="option-0"&gt;Apples&lt;/auro-menuoption&gt;
323
323
  &lt;auro-menuoption value="Oranges" id="option-1"&gt;Oranges&lt;/auro-menuoption&gt;
@@ -331,7 +331,7 @@
331
331
  &lt;span slot="bib.fullscreen.headline"&gt;Bib header&lt;/span&gt;
332
332
  &lt;span slot="label"&gt;Label&lt;/span&gt;
333
333
  &lt;span slot="ariaLabel.input.clear"&gt;Clear selection&lt;/span&gt;
334
- &lt;span slot="helpText"&gt;right bib with 20px offset and noFlip&lt;/span&gt;
334
+ &lt;span slot="helpText"&gt;Bib placed to the right of the trigger, 20px away, and doesn't flip&lt;/span&gt;
335
335
  &lt;auro-menu&gt;
336
336
  &lt;auro-menuoption value="Apples" id="option-0"&gt;Apples&lt;/auro-menuoption&gt;
337
337
  &lt;auro-menuoption value="Oranges" id="option-1"&gt;Oranges&lt;/auro-menuoption&gt;
@@ -345,7 +345,7 @@
345
345
  &lt;span slot="bib.fullscreen.headline"&gt;Bib header&lt;/span&gt;
346
346
  &lt;span slot="label"&gt;Label&lt;/span&gt;
347
347
  &lt;span slot="ariaLabel.input.clear"&gt;Clear selection&lt;/span&gt;
348
- &lt;span slot="helpText"&gt;bottom-start bib with 20px offset, noFlip, and shift&lt;/span&gt;
348
+ &lt;span slot="helpText"&gt;Bib placed below the trigger at its start edge, 20px away, shifts to stay in view, and doesn't flip&lt;/span&gt;
349
349
  &lt;auro-menu&gt;
350
350
  &lt;auro-menuoption value="Apples" id="option-0"&gt;Apples&lt;/auro-menuoption&gt;
351
351
  &lt;auro-menuoption value="Oranges" id="option-1"&gt;Oranges&lt;/auro-menuoption&gt;
@@ -840,7 +840,7 @@
840
840
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/no-filter.html) -->
841
841
  <!-- The below content is automatically added from ./../apiExamples/no-filter.html -->
842
842
  <auro-combobox noFilter>
843
- <span slot="bib.fullscreen.headline">noFilter combobox header</span>
843
+ <span slot="bib.fullscreen.headline">Combobox without filtering</span>
844
844
  <span slot="label">Name</span>
845
845
  <span slot="ariaLabel.input.clear">Clear name</span>
846
846
  <auro-menu>
@@ -859,7 +859,7 @@
859
859
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/no-filter.html) -->
860
860
  <!-- The below code snippet is automatically added from ./../apiExamples/no-filter.html -->
861
861
  <pre class="language-html"><code class="language-html">&lt;auro-combobox noFilter&gt;
862
- &lt;span slot="bib.fullscreen.headline"&gt;noFilter combobox header&lt;/span&gt;
862
+ &lt;span slot="bib.fullscreen.headline"&gt;Combobox without filtering&lt;/span&gt;
863
863
  &lt;span slot="label"&gt;Name&lt;/span&gt;
864
864
  &lt;span slot="ariaLabel.input.clear"&gt;Clear name&lt;/span&gt;
865
865
  &lt;auro-menu&gt;
@@ -1168,7 +1168,7 @@
1168
1168
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/no-validate.html) -->
1169
1169
  <!-- The below content is automatically added from ./../apiExamples/no-validate.html -->
1170
1170
  <auro-combobox required noValidate>
1171
- <span slot="bib.fullscreen.headline">noValidate combobox header</span>
1171
+ <span slot="bib.fullscreen.headline">Combobox without validation</span>
1172
1172
  <span slot="label">Name</span>
1173
1173
  <span slot="ariaLabel.input.clear">Clear name</span>
1174
1174
  <auro-menu>
@@ -1188,7 +1188,7 @@
1188
1188
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/no-validate.html) -->
1189
1189
  <!-- The below code snippet is automatically added from ./../apiExamples/no-validate.html -->
1190
1190
  <pre class="language-html"><code class="language-html">&lt;auro-combobox required noValidate&gt;
1191
- &lt;span slot="bib.fullscreen.headline"&gt;noValidate combobox header&lt;/span&gt;
1191
+ &lt;span slot="bib.fullscreen.headline"&gt;Combobox without validation&lt;/span&gt;
1192
1192
  &lt;span slot="label"&gt;Name&lt;/span&gt;
1193
1193
  &lt;span slot="ariaLabel.input.clear"&gt;Clear name&lt;/span&gt;
1194
1194
  &lt;auro-menu&gt;
@@ -5246,7 +5246,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
5246
5246
  }
5247
5247
 
5248
5248
  /**
5249
- * Called when the slot's content changes and after each update. Checks whether the slot has text, so the element shows only when it does.
5249
+ * Called when nodes are added to or removed from the slot, and after each update. Checks whether the slot has text, so the element shows only when it does.
5250
5250
  * @param {Event} [event] - The `slotchange` event, when called from one.
5251
5251
  * @returns {void}
5252
5252
  */
@@ -5299,7 +5299,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
5299
5299
  }
5300
5300
  };
5301
5301
 
5302
- var formkitVersion$2 = '202611081756';
5302
+ var formkitVersion$2 = '202611091610';
5303
5303
 
5304
5304
  /**
5305
5305
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -5465,8 +5465,8 @@ let AuroElement$2 = class AuroElement extends i$3 {
5465
5465
  * @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
5466
5466
  * @csspart size - A hidden sizing element whose `width`, `height`, `max-width`, and `max-height` are copied to the bib. Applies only when `matchWidth` is set.
5467
5467
  * @csspart helpText - The help text container. Not currently rendered, so styles set on it have no effect; style the content in the `helpText` slot instead.
5468
- * @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
5469
- * @event auroDropdown-toggled - Notifies that the bib opened or closed.
5468
+ * @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space. A click currently fires it twice: first with `event.detail.expanded`, then again without a detail, bubbling. With `disableEventShow` set, only the second one fires, and Enter and Space don't fire it.
5469
+ * @event auroDropdown-toggled - Notifies that the bib opened or closed, with `event.detail.expanded` set to true when it opened. When it closed, `event.detail.eventType` says why, such as `click`, `keydown`, or `focusloss`.
5470
5470
  * @event auroDropdown-idAdded - Notifies that the dropdown has an ID you can use to reference its bib, such as in `aria-controls`. The detail's `id` is the dropdown's own `id`, generated when not set, and the bib's ID is that value followed by `-floater-bib`.
5471
5471
  */
5472
5472
  class AuroDropdown extends AuroElement$2 {
@@ -5795,6 +5795,7 @@ class AuroDropdown extends AuroElement$2 {
5795
5795
  /**
5796
5796
  * Removes the trigger's border, background, and shadow.
5797
5797
  * Applies only when `shape` and `size` are both set.
5798
+ * @relevantWhen shape !== undefined
5798
5799
  * @category ui
5799
5800
  */
5800
5801
  simple: {
@@ -6087,6 +6088,7 @@ class AuroDropdown extends AuroElement$2 {
6087
6088
  /**
6088
6089
  * Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
6089
6090
  * Applies only when the `trigger` slot content isn't focusable.
6091
+ * @default 0
6090
6092
  * @category a11y
6091
6093
  */
6092
6094
  tabIndex: {
@@ -6778,7 +6780,6 @@ class AuroDropdown extends AuroElement$2 {
6778
6780
  *
6779
6781
  * @private
6780
6782
  * @method handleDefaultSlot
6781
- * @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
6782
6783
  */
6783
6784
  handleDefaultSlot() {
6784
6785
 
@@ -6791,7 +6792,7 @@ class AuroDropdown extends AuroElement$2 {
6791
6792
  * Renders the markup that every layout shares: the trigger, the help text, and the bib.
6792
6793
  * @private
6793
6794
  * @param {Object} helpTextClasses - The classes to apply to the help text container.
6794
- * @returns {html} - The template for the shared markup.
6795
+ * @returns {import('lit').TemplateResult} The template for the shared markup.
6795
6796
  */
6796
6797
  renderBasicHtml(helpTextClasses) {
6797
6798
  return u$7`
@@ -6853,7 +6854,7 @@ class AuroDropdown extends AuroElement$2 {
6853
6854
  /**
6854
6855
  * Renders the classic layout.
6855
6856
  * @private
6856
- * @returns {html} - The template for the classic layout.
6857
+ * @returns {import('lit').TemplateResult} The template for the classic layout.
6857
6858
  */
6858
6859
  renderLayoutClassic() {
6859
6860
  // TODO: check with Doug why this was never used?
@@ -6869,7 +6870,7 @@ class AuroDropdown extends AuroElement$2 {
6869
6870
  /**
6870
6871
  * Renders the snowflake layout, which indents the help text on both sides.
6871
6872
  * @private
6872
- * @returns {html} - The template for the snowflake layout.
6873
+ * @returns {import('lit').TemplateResult} The template for the snowflake layout.
6873
6874
  */
6874
6875
  renderLayoutSnowflake() {
6875
6876
  const helpTextClasses = {
@@ -6886,7 +6887,7 @@ class AuroDropdown extends AuroElement$2 {
6886
6887
  /**
6887
6888
  * Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
6888
6889
  * @private
6889
- * @returns {html} - The template for the emphasized layout.
6890
+ * @returns {import('lit').TemplateResult} The template for the emphasized layout.
6890
6891
  */
6891
6892
  renderLayoutEmphasized() {
6892
6893
  const helpTextClasses = {
@@ -6904,7 +6905,7 @@ class AuroDropdown extends AuroElement$2 {
6904
6905
  * Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
6905
6906
  * @private
6906
6907
  * @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
6907
- * @returns {HTMLCollection} - The template for the layout.
6908
+ * @returns {import('lit').TemplateResult} The template for the layout.
6908
6909
  */
6909
6910
  renderLayout(ForcedLayout) {
6910
6911
  const layout = ForcedLayout || this.layout;
@@ -17060,6 +17061,9 @@ function cleanEscapedString(input) {
17060
17061
  return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
17061
17062
  }
17062
17063
 
17064
+ /**
17065
+ * Helpers that set up input masks and convert between the text shown in the field, `Date` objects, and ISO date strings (`YYYY-MM-DD`), for one locale and date format.
17066
+ */
17063
17067
  class AuroInputUtilities {
17064
17068
 
17065
17069
  /**
@@ -17079,7 +17083,17 @@ class AuroInputUtilities {
17079
17083
  } else {
17080
17084
  this.locale = 'en-US';
17081
17085
  }
17086
+
17087
+ /**
17088
+ * Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
17089
+ * @type {string|undefined}
17090
+ */
17082
17091
  this.overrideFormat = config.format;
17092
+
17093
+ /**
17094
+ * The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
17095
+ * @type {Intl.DateTimeFormat}
17096
+ */
17083
17097
  this.formatter = new Intl.DateTimeFormat(this.locale);
17084
17098
 
17085
17099
  // Bindings - many of these are passed into IMask callbacks,
@@ -17510,7 +17524,7 @@ class BaseInput extends AuroElement$1 {
17510
17524
  // The initial-load focus theft was caused by the static `autofocus`
17511
17525
  // attribute on the bib input (now conditional), not by delegatesFocus.
17512
17526
  /**
17513
- * Lit's options for creating the shadow root.
17527
+ * Gets the options Lit uses to create the shadow root.
17514
17528
  * @internal
17515
17529
  */
17516
17530
  static get shadowRootOptions() {
@@ -17670,8 +17684,9 @@ class BaseInput extends AuroElement$1 {
17670
17684
  },
17671
17685
 
17672
17686
  /**
17673
- * Sets the shape of the field's border. The emphasized layouts support `pill`, `pill-left`,
17674
- * and `pill-right`, and the snowflake layout uses `snowflake`.
17687
+ * Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
17688
+ * and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
17689
+ * The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
17675
17690
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
17676
17691
  * @default 'classic'
17677
17692
  * @category ui
@@ -17683,8 +17698,8 @@ class BaseInput extends AuroElement$1 {
17683
17698
  },
17684
17699
 
17685
17700
  /**
17686
- * Sets the field's size. The `classic` shape is the same height at every size, and the
17687
- * emphasized layouts support only `xl`.
17701
+ * Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
17702
+ * and the emphasized layouts support only `xl`.
17688
17703
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
17689
17704
  * @default 'lg'
17690
17705
  * @category ui
@@ -19427,7 +19442,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
19427
19442
  }
19428
19443
 
19429
19444
  /**
19430
- * Called when the slot's content changes and after each update. Checks whether the slot has text, so the element shows only when it does.
19445
+ * Called when nodes are added to or removed from the slot, and after each update. Checks whether the slot has text, so the element shows only when it does.
19431
19446
  * @param {Event} [event] - The `slotchange` event, when called from one.
19432
19447
  * @returns {void}
19433
19448
  */
@@ -19480,7 +19495,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
19480
19495
  }
19481
19496
  };
19482
19497
 
19483
- var formkitVersion$1 = '202611081756';
19498
+ var formkitVersion$1 = '202611091610';
19484
19499
 
19485
19500
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19486
19501
  // See LICENSE in the project root for license information.
@@ -19939,7 +19954,7 @@ class AuroInput extends BaseInput {
19939
19954
 
19940
19955
  /**
19941
19956
  * Gets the `pattern` for the inner `<input>` element. For credit card numbers,
19942
- * builds a length check from `minLength` and `maxLength` instead.
19957
+ * builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
19943
19958
  * @private
19944
19959
  * @returns {string}
19945
19960
  */
@@ -20670,7 +20685,7 @@ class AuroBibtemplate extends i$3 {
20670
20685
  }
20671
20686
 
20672
20687
  /**
20673
- * Called on `touchmove`. Stops the page behind the bib from scrolling when the touch is on the bibtemplate's own layout, such as its padding, instead of on slotted content.
20688
+ * Called when a `touchmove` event reaches the element. Stops the page behind the bib from scrolling when the touch is on the bibtemplate's own layout, such as its padding, instead of on slotted content.
20674
20689
  * @param {Event} event - The `touchmove` event.
20675
20690
  * @returns {void}
20676
20691
  */
@@ -20766,7 +20781,7 @@ class AuroBibtemplate extends i$3 {
20766
20781
  }
20767
20782
  }
20768
20783
 
20769
- var formkitVersion = '202611081756';
20784
+ var formkitVersion = '202611091610';
20770
20785
 
20771
20786
  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}`;
20772
20787
 
@@ -21105,7 +21120,7 @@ class AuroHelpText extends i$3 {
21105
21120
  }
21106
21121
 
21107
21122
  /**
21108
- * Called when the slot's content changes and after each update. Checks whether the slot has text, so the element shows only when it does.
21123
+ * Called when nodes are added to or removed from the slot, and after each update. Checks whether the slot has text, so the element shows only when it does.
21109
21124
  * @param {Event} [event] - The `slotchange` event, when called from one.
21110
21125
  * @returns {void}
21111
21126
  */
@@ -21235,7 +21250,7 @@ function getOptionLabel(option) {
21235
21250
  *
21236
21251
  * @slot - The `<auro-menu>` that holds the options. {@requiredWhen always} {@category ui}
21237
21252
  * @slot {HTMLSlotElement} optionalLabel - Text shown after the label when `required` isn't set, such as a translated "(optional)". Defaults to "(optional)". {@relevantWhen !required} {@category ui}
21238
- * @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@category a11y}
21253
+ * @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@requiredWhen always} {@category a11y}
21239
21254
  * @slot ariaLabel.bib.close - Text screen readers announce for the close button in the fullscreen bib, such as "Close destination list". Defaults to "Close". {@requiredWhen always} {@category a11y}
21240
21255
  * @slot bib.fullscreen.headline - Headline shown above the options in the fullscreen bib, such as "Choose a destination". {@requiredWhen always} {@category ui}
21241
21256
  * @slot label - Label that names the combobox. Screen readers announce it as the name of the input and of the fullscreen dialog. {@requiredWhen always} {@category ui}
@@ -21517,7 +21532,8 @@ class AuroCombobox extends AuroElement {
21517
21532
  },
21518
21533
 
21519
21534
  /**
21520
- * Sets the overall style of the combobox. The `emphasized` layout also shows larger menu options.
21535
+ * Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,
21536
+ * and `snowflake` only on dark backgrounds with `appearance="inverse"`. The `emphasized` layout also shows larger menu options.
21521
21537
  * @type {'classic' | 'emphasized' | 'snowflake'}
21522
21538
  * @default 'classic'
21523
21539
  * @category ui
@@ -21529,8 +21545,9 @@ class AuroCombobox extends AuroElement {
21529
21545
  },
21530
21546
 
21531
21547
  /**
21532
- * Sets the shape of the trigger. In the `snowflake` layout, the menu options use the same shape
21533
- * unless the `<auro-menu>` sets its own `shape`.
21548
+ * Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the
21549
+ * `emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the
21550
+ * same shape unless the `<auro-menu>` sets its own `shape`.
21534
21551
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
21535
21552
  * @default 'classic'
21536
21553
  * @category ui
@@ -23750,7 +23767,7 @@ let menuInstanceIdCounter = 0;
23750
23767
  *
23751
23768
  * @event {CustomEvent<Element>} auroMenu-activatedOption - Fires when an option becomes the active (highlighted) option, through the arrow keys, hover, or `updateActiveOption()`. The option is in `detail`.
23752
23769
  * @event {CustomEvent<any>} auroMenu-customEventFired - Fires right after the menu fires the event named in an option's `event` attribute. The option is in `detail.option`.
23753
- * @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes.
23770
+ * @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes, and once when the menu first renders.
23754
23771
  * @event {CustomEvent<{ options: Array<HTMLElement> }>} auroMenu-optionsChange - Fires when the set of options in the menu changes.
23755
23772
  * @event {CustomEvent<any>} auroMenu-selectValueFailure - Fires when a value doesn't match any option that can be selected, or when someone chooses an option with no `value` in multi-select mode.
23756
23773
  * @event {CustomEvent<any>} auroMenu-selectValueReset - Fires when `reset()` clears the menu.
@@ -23895,7 +23912,7 @@ class AuroMenu extends AuroElement {
23895
23912
  },
23896
23913
 
23897
23914
  /**
23898
- * Indent level for submenus.
23915
+ * Holds how deeply a nested menu is indented, which sets how many spacers its options get.
23899
23916
  * @private
23900
23917
  */
23901
23918
  level: {
@@ -24067,8 +24084,8 @@ class AuroMenu extends AuroElement {
24067
24084
  }
24068
24085
 
24069
24086
  /**
24070
- * Formatted value based on `multiSelect` state.
24071
- * Default type is `String`, changing to `Array<String>` when `multiSelect` is true.
24087
+ * Gets `value` in the shape the menu works with: the string itself, or, in multi-select mode,
24088
+ * an array of values parsed from the JSON array string.
24072
24089
  * @private
24073
24090
  * @returns {String|Array<String>}
24074
24091
  */
@@ -24878,7 +24895,7 @@ class AuroMenu extends AuroElement {
24878
24895
  }
24879
24896
 
24880
24897
  /**
24881
- * Handles keyboard navigation and selection.
24898
+ * Called when a key is pressed in the menu. The arrow keys move the active option, and Enter and Tab select it.
24882
24899
  * @private
24883
24900
  * @param {KeyboardEvent} event - The keydown event.
24884
24901
  */
@@ -24904,7 +24921,7 @@ class AuroMenu extends AuroElement {
24904
24921
  }
24905
24922
 
24906
24923
  /**
24907
- * Handles option selection via click events from menuoptions.
24924
+ * Called when an option fires `auroMenuOption-click`. Selects the clicked option, unless the menu is disabled or nested in another menu.
24908
24925
  * @private
24909
24926
  * @param {CustomEvent} event - The auroMenuOption-click event.
24910
24927
  */
@@ -24924,7 +24941,7 @@ class AuroMenu extends AuroElement {
24924
24941
  }
24925
24942
 
24926
24943
  /**
24927
- * Handles option hover events.
24944
+ * Called when the pointer moves over an option. Makes it the active option, unless it can't be highlighted.
24928
24945
  * @private
24929
24946
  * @param {CustomEvent} event - The `auroMenuOption-mouseover` event.
24930
24947
  */
@@ -24948,7 +24965,7 @@ class AuroMenu extends AuroElement {
24948
24965
  }
24949
24966
 
24950
24967
  /**
24951
- * Handles slot change events.
24968
+ * Called when the menu's content changes. Sets the menu up again, and re-applies a `value` that was set before the options arrived.
24952
24969
  * @private
24953
24970
  */
24954
24971
  handleSlotChange() {
@@ -25044,7 +25061,7 @@ class AuroMenu extends AuroElement {
25044
25061
  }
25045
25062
 
25046
25063
  /**
25047
- * Handles custom events defined on options.
25064
+ * Fires the event named in the option's `event` attribute, then `auroMenu-customEventFired`, with the option in `detail.option`.
25048
25065
  * @private
25049
25066
  * @param {HTMLElement} option - Option with custom event.
25050
25067
  */
@@ -25064,6 +25081,7 @@ class AuroMenu extends AuroElement {
25064
25081
  }
25065
25082
 
25066
25083
  /**
25084
+ * Checks whether two selections hold the same options, in any order.
25067
25085
  * @private
25068
25086
  * @param {any} current - The current selection.
25069
25087
  * @param {any} next - The new selection to compare.
@@ -25493,7 +25511,7 @@ class AuroMenuOption extends AuroElement {
25493
25511
  }
25494
25512
 
25495
25513
  /**
25496
- * Handles click events on the menu option.
25514
+ * Called when the option is clicked. Fires `auroMenuOption-click`, unless the option or a menu containing it is disabled.
25497
25515
  * @private
25498
25516
  */
25499
25517
  handleClick() {