@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.0 → 0.0.0-pr1628.10

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 +3 -3
  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 +3 -3
  12. package/components/checkbox/demo/index.md +17 -17
  13. package/components/checkbox/demo/index.min.js +3 -3
  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 +3 -3
  17. package/components/checkbox/dist/registered.js +3 -3
  18. package/components/combobox/demo/accessibility.md +1 -1
  19. package/components/combobox/demo/api.md +3 -3
  20. package/components/combobox/demo/css-only.md +3 -3
  21. package/components/combobox/demo/customize.md +13 -12
  22. package/components/combobox/demo/customize.min.js +79 -59
  23. package/components/combobox/demo/getting-started.md +4 -4
  24. package/components/combobox/demo/getting-started.min.js +79 -59
  25. package/components/combobox/demo/index.md +2 -2
  26. package/components/combobox/demo/index.min.js +79 -59
  27. package/components/combobox/demo/voiceover.md +1 -1
  28. package/components/combobox/dist/auro-combobox.d.ts +35 -31
  29. package/components/combobox/dist/index.js +68 -49
  30. package/components/combobox/dist/registered.js +68 -49
  31. package/components/counter/demo/accessibility.md +1 -1
  32. package/components/counter/demo/api.md +18 -18
  33. package/components/counter/demo/css-only.md +1 -1
  34. package/components/counter/demo/customize.md +2 -2
  35. package/components/counter/demo/customize.min.js +28 -28
  36. package/components/counter/demo/design.md +1 -1
  37. package/components/counter/demo/getting-started.md +29 -2
  38. package/components/counter/demo/getting-started.min.js +28 -28
  39. package/components/counter/demo/index.min.js +28 -28
  40. package/components/counter/demo/why-counter.md +3 -3
  41. package/components/counter/dist/auro-counter-group.d.ts +13 -14
  42. package/components/counter/dist/auro-counter.d.ts +1 -1
  43. package/components/counter/dist/index.js +28 -28
  44. package/components/counter/dist/registered.js +28 -28
  45. package/components/datepicker/README.md +1 -1
  46. package/components/datepicker/demo/accessibility.md +5 -5
  47. package/components/datepicker/demo/api.md +3 -3
  48. package/components/datepicker/demo/css-only.md +4 -4
  49. package/components/datepicker/demo/customize.md +12 -12
  50. package/components/datepicker/demo/customize.min.js +186 -132
  51. package/components/datepicker/demo/design.md +11 -11
  52. package/components/datepicker/demo/getting-started.md +4 -4
  53. package/components/datepicker/demo/getting-started.min.js +186 -132
  54. package/components/datepicker/demo/index.md +5 -5
  55. package/components/datepicker/demo/index.min.js +186 -132
  56. package/components/datepicker/demo/keyboard-behavior.md +1 -1
  57. package/components/datepicker/demo/readme.md +1 -1
  58. package/components/datepicker/demo/voiceover.md +4 -4
  59. package/components/datepicker/demo/why-datepicker.md +3 -3
  60. package/components/datepicker/dist/auro-calendar-cell.d.ts +32 -33
  61. package/components/datepicker/dist/auro-calendar-month.d.ts +8 -8
  62. package/components/datepicker/dist/auro-calendar.d.ts +44 -43
  63. package/components/datepicker/dist/auro-datepicker.d.ts +12 -10
  64. package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +3 -0
  65. package/components/datepicker/dist/index.js +186 -132
  66. package/components/datepicker/dist/registered.js +186 -132
  67. package/components/datepicker/dist/utilities.d.ts +4 -1
  68. package/components/datepicker/dist/utilitiesCalendar.d.ts +12 -4
  69. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +12 -6
  70. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +4 -4
  71. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +7 -7
  72. package/components/dropdown/demo/api.md +7 -7
  73. package/components/dropdown/demo/css-only.md +2 -2
  74. package/components/dropdown/demo/customize.md +1 -1
  75. package/components/dropdown/demo/customize.min.js +10 -9
  76. package/components/dropdown/demo/design.md +4 -4
  77. package/components/dropdown/demo/getting-started.min.js +31 -16
  78. package/components/dropdown/demo/index.min.js +10 -9
  79. package/components/dropdown/demo/voiceover.md +1 -1
  80. package/components/dropdown/demo/why-dropdown.md +1 -1
  81. package/components/dropdown/dist/auro-dropdown.d.ts +9 -8
  82. package/components/dropdown/dist/index.js +10 -9
  83. package/components/dropdown/dist/registered.js +10 -9
  84. package/components/form/README.md +1 -1
  85. package/components/form/demo/api.md +7 -7
  86. package/components/form/demo/css-only.md +1 -1
  87. package/components/form/demo/customize.md +2 -0
  88. package/components/form/demo/customize.min.js +345 -257
  89. package/components/form/demo/getting-started.md +2 -0
  90. package/components/form/demo/getting-started.min.js +345 -257
  91. package/components/form/demo/index.md +2 -2
  92. package/components/form/demo/index.min.js +345 -257
  93. package/components/form/demo/keyboard-behavior.md +1 -1
  94. package/components/form/demo/readme.md +1 -1
  95. package/components/form/demo/registerDemoDeps.min.js +343 -255
  96. package/components/form/demo/voiceover.md +3 -3
  97. package/components/form/demo/why-form.md +1 -1
  98. package/components/form/dist/auro-form.d.ts +2 -2
  99. package/components/form/dist/index.js +2 -2
  100. package/components/form/dist/registered.js +2 -2
  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 +21 -7
  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 +21 -7
  108. package/components/input/demo/index.md +1 -1
  109. package/components/input/demo/index.min.js +21 -7
  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 +21 -7
  114. package/components/input/dist/registered.js +21 -7
  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 +10 -12
  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 +10 -12
  137. package/components/radio/demo/index.md +1 -1
  138. package/components/radio/demo/index.min.js +10 -12
  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 +10 -12
  145. package/components/radio/dist/registered.js +10 -12
  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 +27 -24
  150. package/components/select/demo/getting-started.min.js +27 -24
  151. package/components/select/demo/index.md +1 -1
  152. package/components/select/demo/index.min.js +27 -24
  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 +16 -14
  156. package/components/select/dist/registered.js +16 -14
  157. package/custom-elements.json +159 -143
  158. package/package.json +1 -1
@@ -5232,7 +5232,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5232
5232
  }
5233
5233
  };
5234
5234
 
5235
- var formkitVersion$2 = '202611081705';
5235
+ var formkitVersion$2 = '202611091558';
5236
5236
 
5237
5237
  /**
5238
5238
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -5398,8 +5398,8 @@ let AuroElement$2 = class AuroElement extends LitElement {
5398
5398
  * @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
5399
5399
  * @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.
5400
5400
  * @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.
5401
- * @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
5402
- * @event auroDropdown-toggled - Notifies that the bib opened or closed.
5401
+ * @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.
5402
+ * @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`.
5403
5403
  * @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`.
5404
5404
  */
5405
5405
  class AuroDropdown extends AuroElement$2 {
@@ -5728,6 +5728,7 @@ class AuroDropdown extends AuroElement$2 {
5728
5728
  /**
5729
5729
  * Removes the trigger's border, background, and shadow.
5730
5730
  * Applies only when `shape` and `size` are both set.
5731
+ * @relevantWhen shape !== undefined
5731
5732
  * @category ui
5732
5733
  */
5733
5734
  simple: {
@@ -6020,6 +6021,7 @@ class AuroDropdown extends AuroElement$2 {
6020
6021
  /**
6021
6022
  * Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
6022
6023
  * Applies only when the `trigger` slot content isn't focusable.
6024
+ * @default 0
6023
6025
  * @category a11y
6024
6026
  */
6025
6027
  tabIndex: {
@@ -6711,7 +6713,6 @@ class AuroDropdown extends AuroElement$2 {
6711
6713
  *
6712
6714
  * @private
6713
6715
  * @method handleDefaultSlot
6714
- * @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
6715
6716
  */
6716
6717
  handleDefaultSlot() {
6717
6718
 
@@ -6724,7 +6725,7 @@ class AuroDropdown extends AuroElement$2 {
6724
6725
  * Renders the markup that every layout shares: the trigger, the help text, and the bib.
6725
6726
  * @private
6726
6727
  * @param {Object} helpTextClasses - The classes to apply to the help text container.
6727
- * @returns {html} - The template for the shared markup.
6728
+ * @returns {import('lit').TemplateResult} The template for the shared markup.
6728
6729
  */
6729
6730
  renderBasicHtml(helpTextClasses) {
6730
6731
  return html`
@@ -6786,7 +6787,7 @@ class AuroDropdown extends AuroElement$2 {
6786
6787
  /**
6787
6788
  * Renders the classic layout.
6788
6789
  * @private
6789
- * @returns {html} - The template for the classic layout.
6790
+ * @returns {import('lit').TemplateResult} The template for the classic layout.
6790
6791
  */
6791
6792
  renderLayoutClassic() {
6792
6793
  // TODO: check with Doug why this was never used?
@@ -6802,7 +6803,7 @@ class AuroDropdown extends AuroElement$2 {
6802
6803
  /**
6803
6804
  * Renders the snowflake layout, which indents the help text on both sides.
6804
6805
  * @private
6805
- * @returns {html} - The template for the snowflake layout.
6806
+ * @returns {import('lit').TemplateResult} The template for the snowflake layout.
6806
6807
  */
6807
6808
  renderLayoutSnowflake() {
6808
6809
  const helpTextClasses = {
@@ -6819,7 +6820,7 @@ class AuroDropdown extends AuroElement$2 {
6819
6820
  /**
6820
6821
  * Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
6821
6822
  * @private
6822
- * @returns {html} - The template for the emphasized layout.
6823
+ * @returns {import('lit').TemplateResult} The template for the emphasized layout.
6823
6824
  */
6824
6825
  renderLayoutEmphasized() {
6825
6826
  const helpTextClasses = {
@@ -6837,7 +6838,7 @@ class AuroDropdown extends AuroElement$2 {
6837
6838
  * Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
6838
6839
  * @private
6839
6840
  * @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
6840
- * @returns {HTMLCollection} - The template for the layout.
6841
+ * @returns {import('lit').TemplateResult} The template for the layout.
6841
6842
  */
6842
6843
  renderLayout(ForcedLayout) {
6843
6844
  const layout = ForcedLayout || this.layout;
@@ -16986,6 +16987,9 @@ function cleanEscapedString(input) {
16986
16987
  return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
16987
16988
  }
16988
16989
 
16990
+ /**
16991
+ * 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.
16992
+ */
16989
16993
  class AuroInputUtilities {
16990
16994
 
16991
16995
  /**
@@ -17005,7 +17009,17 @@ class AuroInputUtilities {
17005
17009
  } else {
17006
17010
  this.locale = 'en-US';
17007
17011
  }
17012
+
17013
+ /**
17014
+ * Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
17015
+ * @type {string|undefined}
17016
+ */
17008
17017
  this.overrideFormat = config.format;
17018
+
17019
+ /**
17020
+ * The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
17021
+ * @type {Intl.DateTimeFormat}
17022
+ */
17009
17023
  this.formatter = new Intl.DateTimeFormat(this.locale);
17010
17024
 
17011
17025
  // Bindings - many of these are passed into IMask callbacks,
@@ -17436,7 +17450,7 @@ class BaseInput extends AuroElement$1 {
17436
17450
  // The initial-load focus theft was caused by the static `autofocus`
17437
17451
  // attribute on the bib input (now conditional), not by delegatesFocus.
17438
17452
  /**
17439
- * Lit's options for creating the shadow root.
17453
+ * Gets the options Lit uses to create the shadow root.
17440
17454
  * @internal
17441
17455
  */
17442
17456
  static get shadowRootOptions() {
@@ -17596,8 +17610,9 @@ class BaseInput extends AuroElement$1 {
17596
17610
  },
17597
17611
 
17598
17612
  /**
17599
- * Sets the shape of the field's border. The emphasized layouts support `pill`, `pill-left`,
17600
- * and `pill-right`, and the snowflake layout uses `snowflake`.
17613
+ * Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
17614
+ * and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
17615
+ * The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
17601
17616
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
17602
17617
  * @default 'classic'
17603
17618
  * @category ui
@@ -17609,8 +17624,8 @@ class BaseInput extends AuroElement$1 {
17609
17624
  },
17610
17625
 
17611
17626
  /**
17612
- * Sets the field's size. The `classic` shape is the same height at every size, and the
17613
- * emphasized layouts support only `xl`.
17627
+ * Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
17628
+ * and the emphasized layouts support only `xl`.
17614
17629
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
17615
17630
  * @default 'lg'
17616
17631
  * @category ui
@@ -19406,7 +19421,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
19406
19421
  }
19407
19422
  };
19408
19423
 
19409
- var formkitVersion$1 = '202611081705';
19424
+ var formkitVersion$1 = '202611091558';
19410
19425
 
19411
19426
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19412
19427
  // See LICENSE in the project root for license information.
@@ -19865,7 +19880,7 @@ class AuroInput extends BaseInput {
19865
19880
 
19866
19881
  /**
19867
19882
  * Gets the `pattern` for the inner `<input>` element. For credit card numbers,
19868
- * builds a length check from `minLength` and `maxLength` instead.
19883
+ * builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
19869
19884
  * @private
19870
19885
  * @returns {string}
19871
19886
  */
@@ -20596,7 +20611,7 @@ class AuroBibtemplate extends LitElement {
20596
20611
  }
20597
20612
 
20598
20613
  /**
20599
- * 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.
20614
+ * 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.
20600
20615
  * @param {Event} event - The `touchmove` event.
20601
20616
  * @returns {void}
20602
20617
  */
@@ -20692,7 +20707,7 @@ class AuroBibtemplate extends LitElement {
20692
20707
  }
20693
20708
  }
20694
20709
 
20695
- var formkitVersion = '202611081705';
20710
+ var formkitVersion = '202611091558';
20696
20711
 
20697
20712
  var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
20698
20713
 
@@ -21161,7 +21176,7 @@ function getOptionLabel(option) {
21161
21176
  *
21162
21177
  * @slot - The `<auro-menu>` that holds the options. {@requiredWhen always} {@category ui}
21163
21178
  * @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}
21164
- * @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}
21179
+ * @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}
21165
21180
  * @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}
21166
21181
  * @slot bib.fullscreen.headline - Headline shown above the options in the fullscreen bib, such as "Choose a destination". {@requiredWhen always} {@category ui}
21167
21182
  * @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}
@@ -21264,9 +21279,9 @@ class AuroCombobox extends AuroElement {
21264
21279
  }
21265
21280
 
21266
21281
  /**
21267
- * Wraps setTimeout and records the timer id so disconnectedCallback
21268
- * can cancel any outstanding callbacks. The id is removed from the set
21269
- * once the callback fires so the set doesn't grow unbounded.
21282
+ * Wraps `setTimeout` and records the timer ID so `disconnectedCallback`
21283
+ * can cancel any outstanding callbacks. The ID is removed from the set
21284
+ * once the callback fires, so the set doesn't keep growing.
21270
21285
  * @param {Function} fn - The callback to run.
21271
21286
  * @param {number} ms - The delay in milliseconds.
21272
21287
  * @returns {number} The timer id.
@@ -21324,7 +21339,7 @@ class AuroCombobox extends AuroElement {
21324
21339
  },
21325
21340
 
21326
21341
  /**
21327
- * Array of the options shown in the menu: every option that isn't hidden,
21342
+ * Holds the options shown in the menu: every option that isn't hidden,
21328
21343
  * such as by filtering on the typed text, plus `persistent` options.
21329
21344
  * @private
21330
21345
  * @type {HTMLElement[]}
@@ -21381,7 +21396,7 @@ class AuroCombobox extends AuroElement {
21381
21396
  },
21382
21397
 
21383
21398
  /**
21384
- * ID for the dropdown.
21399
+ * Holds the dropdown's ID, which the trigger input uses for `aria-controls`.
21385
21400
  * @private
21386
21401
  */
21387
21402
  dropdownId: {
@@ -21391,7 +21406,7 @@ class AuroCombobox extends AuroElement {
21391
21406
  },
21392
21407
 
21393
21408
  /**
21394
- * Whether or not the dropdown is open.
21409
+ * Records whether the bib is open.
21395
21410
  * @private
21396
21411
  */
21397
21412
  dropdownOpen: {
@@ -21443,7 +21458,8 @@ class AuroCombobox extends AuroElement {
21443
21458
  },
21444
21459
 
21445
21460
  /**
21446
- * Sets the overall style of the combobox. The `emphasized` layout also shows larger menu options.
21461
+ * Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,
21462
+ * and `snowflake` only on dark backgrounds with `appearance="inverse"`. The `emphasized` layout also shows larger menu options.
21447
21463
  * @type {'classic' | 'emphasized' | 'snowflake'}
21448
21464
  * @default 'classic'
21449
21465
  * @category ui
@@ -21455,8 +21471,9 @@ class AuroCombobox extends AuroElement {
21455
21471
  },
21456
21472
 
21457
21473
  /**
21458
- * Sets the shape of the trigger. In the `snowflake` layout, the menu options use the same shape
21459
- * unless the `<auro-menu>` sets its own `shape`.
21474
+ * Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the
21475
+ * `emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the
21476
+ * same shape unless the `<auro-menu>` sets its own `shape`.
21460
21477
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
21461
21478
  * @default 'classic'
21462
21479
  * @category ui
@@ -21740,7 +21757,7 @@ class AuroCombobox extends AuroElement {
21740
21757
  },
21741
21758
 
21742
21759
  /**
21743
- * Specifies the currently active option.
21760
+ * Holds the active (highlighted) option.
21744
21761
  * @private
21745
21762
  * @type {HTMLElement}
21746
21763
  */
@@ -21917,7 +21934,7 @@ class AuroCombobox extends AuroElement {
21917
21934
  }
21918
21935
 
21919
21936
  /**
21920
- * Syncs the values and states of this component, the input, and the menu, including this.optionSelected and this.menu.optionSelected.
21937
+ * Sets the menu's `matchWord` to the input text, then updates the input text and `displayValue` content from the selected option's label, or from `value` when no option is selected.
21921
21938
  * @private
21922
21939
  * @returns {void}
21923
21940
  */
@@ -21997,7 +22014,7 @@ class AuroCombobox extends AuroElement {
21997
22014
  }
21998
22015
 
21999
22016
  /**
22000
- * Writes nextValue to the trigger input and the bib input when their current
22017
+ * Writes `nextValue` to the trigger input and the bib input when their current
22001
22018
  * value differs, then re-asserts imask after Lit's update flushes.
22002
22019
  * @param {string} nextValue - The value to write to both inputs.
22003
22020
  * @returns {Promise<void>} The promise that resolves after both inputs flush and imask
@@ -22050,10 +22067,10 @@ class AuroCombobox extends AuroElement {
22050
22067
  * @param {boolean} [options.preferComboboxValue=false] - If true,
22051
22068
  * matches the selected option against `this.value` first. If false,
22052
22069
  * matches against `this.input.value` first. Matching `this.value` first is needed on mount and re-mount
22053
- * because under `persistInput` the consumer's typedValue prop can drift
22070
+ * because under `persistInput` the consumer's `typedValue` prop can drift
22054
22071
  * from the framework value (Svelte `{#key}` re-mount after a swap, or
22055
22072
  * SPA preselect after route change) and the old input-first match would
22056
- * then pick the stale text. Only handleSlotChange passes this; typing
22073
+ * then pick the stale text. Only `handleSlotChange` passes this; typing
22057
22074
  * and clearing paths keep the input-first match so user clears aren't
22058
22075
  * undone.
22059
22076
  * @returns {void}
@@ -22659,20 +22676,20 @@ class AuroCombobox extends AuroElement {
22659
22676
 
22660
22677
  /**
22661
22678
  * Flags genuine clear-button activations on an auro-input so the SPA-preselect
22662
- * guard in handleInputValueChange doesn't swallow them.
22679
+ * guard in `handleInputValueChange` doesn't swallow them.
22663
22680
  *
22664
- * The auro-input clear button fires an `isProgrammatic` input event (via
22665
- * notifyValueChanged) that is indistinguishable in shape from the
22666
- * SPA-preselect echo that guard bails on (isProgrammatic + set value + empty
22667
- * input). Without this one-shot flag, clicking clear would leave
22668
- * this.value/optionSelected stale (AB#1634257).
22681
+ * The auro-input clear button fires an `isProgrammatic` input event (through
22682
+ * `notifyValueChanged`) that has the same shape as the SPA-preselect echo
22683
+ * that guard bails on (`isProgrammatic`, a set value, and an empty input).
22684
+ * Without this one-shot flag, clicking clear would leave `value` and
22685
+ * `optionSelected` stale (AB#1634257).
22669
22686
  *
22670
- * Delegated on the shadow root so it works regardless of when .clearBtn
22671
- * renders (it only exists after a value is set), and covers both real clicks
22672
- * and programmatic clearBtn.click() (which no focusin precedes). Registered in
22673
- * the CAPTURE phase so the flag is set BEFORE the button's own @click
22674
- * (handleClickClear) fires its synchronous input event, which is when
22675
- * handleInputValueChange reads the flag.
22687
+ * Delegated on the shadow root so it works whenever `.clearBtn` renders
22688
+ * (it only exists after a value is set), and covers both real clicks and
22689
+ * programmatic `clearBtn.click()` calls, which no `focusin` precedes.
22690
+ * Registered in the capture phase so the flag is set before the button's own
22691
+ * `@click` handler (`handleClickClear`) fires its synchronous input event,
22692
+ * which is when `handleInputValueChange` reads the flag.
22676
22693
  * @private
22677
22694
  * @param {Element} inputEl - The auro-input whose clear button to track.
22678
22695
  * @returns {void}
@@ -22733,7 +22750,9 @@ class AuroCombobox extends AuroElement {
22733
22750
  }
22734
22751
 
22735
22752
  /**
22736
- * Handles changes to the input value and the updates that follow from them.
22753
+ * Called when the text in the trigger input or the fullscreen bib input changes.
22754
+ * Keeps both inputs and `value` in sync, clears the combobox when the input is emptied,
22755
+ * validates when focus is outside the combobox unless `noValidate` is set, and fires `inputValue`.
22737
22756
  * @private
22738
22757
  * @param {Event} event - The input event triggered by the input element.
22739
22758
  * @returns {void}
@@ -22843,9 +22862,9 @@ class AuroCombobox extends AuroElement {
22843
22862
  }
22844
22863
 
22845
22864
  /**
22846
- * Handles input value changes originating from the trigger input.
22847
- * Refreshes menu options and filtering, delegates to handleInputValueChange
22848
- * for value synchronization, and manages fullscreen bib focus.
22865
+ * Called when the text in the trigger input changes.
22866
+ * Refreshes the menu's options and filtering, passes the change to `handleInputValueChange`,
22867
+ * and keeps focus in the fullscreen bib input while that bib is open.
22849
22868
  * @private
22850
22869
  * @param {Event} event - The input event from the trigger input element.
22851
22870
  * @returns {void}