@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.1 → 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 (155) 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/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 +50 -32
  22. package/components/combobox/demo/getting-started.min.js +50 -32
  23. package/components/combobox/demo/index.md +1 -1
  24. package/components/combobox/demo/index.min.js +50 -32
  25. package/components/combobox/dist/auro-combobox.d.ts +6 -4
  26. package/components/combobox/dist/index.js +39 -22
  27. package/components/combobox/dist/registered.js +39 -22
  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 +28 -28
  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 +28 -28
  36. package/components/counter/demo/index.min.js +28 -28
  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 +28 -28
  41. package/components/counter/dist/registered.js +28 -28
  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 +186 -132
  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 +186 -132
  51. package/components/datepicker/demo/index.md +5 -5
  52. package/components/datepicker/demo/index.min.js +186 -132
  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 +186 -132
  63. package/components/datepicker/dist/registered.js +186 -132
  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 +10 -9
  73. package/components/dropdown/demo/design.md +4 -4
  74. package/components/dropdown/demo/getting-started.min.js +31 -16
  75. package/components/dropdown/demo/index.min.js +10 -9
  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 +10 -9
  80. package/components/dropdown/dist/registered.js +10 -9
  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 +316 -230
  86. package/components/form/demo/getting-started.md +2 -0
  87. package/components/form/demo/getting-started.min.js +316 -230
  88. package/components/form/demo/index.md +2 -2
  89. package/components/form/demo/index.min.js +316 -230
  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 +314 -228
  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/input/demo/api.md +58 -58
  99. package/components/input/demo/css-only.md +4 -4
  100. package/components/input/demo/customize.md +11 -11
  101. package/components/input/demo/customize.min.js +21 -7
  102. package/components/input/demo/design.md +2 -2
  103. package/components/input/demo/getting-started.md +5 -5
  104. package/components/input/demo/getting-started.min.js +21 -7
  105. package/components/input/demo/index.md +1 -1
  106. package/components/input/demo/index.min.js +21 -7
  107. package/components/input/demo/why-input.md +3 -3
  108. package/components/input/dist/auro-input.d.ts +1 -1
  109. package/components/input/dist/base-input.d.ts +6 -5
  110. package/components/input/dist/index.js +21 -7
  111. package/components/input/dist/registered.js +21 -7
  112. package/components/input/dist/utilities.d.ts +11 -0
  113. package/components/menu/demo/accessibility.md +1 -1
  114. package/components/menu/demo/api.md +1 -1
  115. package/components/menu/demo/css-only.md +4 -4
  116. package/components/menu/demo/customize.md +1 -1
  117. package/components/menu/demo/design.md +1 -1
  118. package/components/menu/demo/getting-started.md +3 -3
  119. package/components/menu/demo/index.min.js +11 -10
  120. package/components/menu/demo/keyboard-behavior.md +1 -1
  121. package/components/menu/demo/voiceover.md +1 -1
  122. package/components/menu/demo/why-menu.md +3 -3
  123. package/components/menu/dist/auro-menu.d.ts +10 -9
  124. package/components/menu/dist/auro-menuoption.d.ts +1 -1
  125. package/components/menu/dist/index.js +11 -10
  126. package/components/menu/dist/registered.js +11 -10
  127. package/components/radio/demo/accessibility.md +1 -1
  128. package/components/radio/demo/api.md +10 -10
  129. package/components/radio/demo/customize.md +15 -5
  130. package/components/radio/demo/customize.min.js +10 -12
  131. package/components/radio/demo/design.md +1 -1
  132. package/components/radio/demo/getting-started.md +6 -6
  133. package/components/radio/demo/getting-started.min.js +10 -12
  134. package/components/radio/demo/index.md +1 -1
  135. package/components/radio/demo/index.min.js +10 -12
  136. package/components/radio/demo/keyboard-behavior.md +1 -1
  137. package/components/radio/demo/voiceover.md +1 -1
  138. package/components/radio/demo/why-radio.md +1 -1
  139. package/components/radio/dist/auro-radio-group.d.ts +6 -8
  140. package/components/radio/dist/auro-radio.d.ts +3 -3
  141. package/components/radio/dist/index.js +10 -12
  142. package/components/radio/dist/registered.js +10 -12
  143. package/components/select/demo/api.md +1 -1
  144. package/components/select/demo/css-only.md +1 -1
  145. package/components/select/demo/customize.md +1 -1
  146. package/components/select/demo/customize.min.js +27 -24
  147. package/components/select/demo/getting-started.min.js +27 -24
  148. package/components/select/demo/index.md +1 -1
  149. package/components/select/demo/index.min.js +27 -24
  150. package/components/select/demo/voiceover.md +1 -1
  151. package/components/select/dist/auro-select.d.ts +4 -3
  152. package/components/select/dist/index.js +16 -14
  153. package/components/select/dist/registered.js +16 -14
  154. package/custom-elements.json +148 -132
  155. package/package.json +1 -1
@@ -1164,7 +1164,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1164
1164
  }
1165
1165
  };
1166
1166
 
1167
- var formkitVersion$1 = '202611081756';
1167
+ var formkitVersion$1 = '202611091558';
1168
1168
 
1169
1169
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1170
1170
  // See LICENSE in the project root for license information.
@@ -1229,7 +1229,7 @@ const keyboardStrategy = {
1229
1229
  * @csspart controlPlus - The plus button, which raises the value by 1.
1230
1230
  * @csspart helpText - The paragraph that shows the help text, or the error message while the counter is invalid.
1231
1231
  *
1232
- * @event input - Notifies that the counter's value has changed.
1232
+ * @event input - Fires whenever `value` changes, including when the counter sets its starting value, with the new number in `event.detail.value`. It doesn't currently bubble, so listen on the counter itself.
1233
1233
  */
1234
1234
  class AuroCounter extends i$2 {
1235
1235
 
@@ -1350,7 +1350,7 @@ class AuroCounter extends i$2 {
1350
1350
  },
1351
1351
 
1352
1352
  /**
1353
- * The trimmed text of the default slot, which `auro-counter-group` shows in its dropdown summary.
1353
+ * Holds the trimmed text of the default slot, which `auro-counter-group` shows in its dropdown summary.
1354
1354
  * @private
1355
1355
  */
1356
1356
  defaultSlot: {
@@ -1388,7 +1388,7 @@ class AuroCounter extends i$2 {
1388
1388
  },
1389
1389
 
1390
1390
  /**
1391
- * Sets a custom error message, such as "Select at least one adult", and marks the counter invalid. The message replaces the help text. Set it with the `error` attribute: setting only the `error` property doesn't currently mark the counter invalid.
1391
+ * Sets a custom error message, such as "Select at least one adult", and marks the counter invalid. The message replaces the help text. Set the `error` attribute before the counter first renders, or call `validate()` after changing it: setting only the property, or changing the attribute later, doesn't currently update `validity`.
1392
1392
  * @category behavior
1393
1393
  */
1394
1394
  error: {
@@ -5779,7 +5779,7 @@ class AuroHelpText extends i$2 {
5779
5779
  }
5780
5780
  }
5781
5781
 
5782
- var formkitVersion = '202611081756';
5782
+ var formkitVersion = '202611091558';
5783
5783
 
5784
5784
  /**
5785
5785
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -5945,8 +5945,8 @@ let AuroElement$1 = class AuroElement extends i$2 {
5945
5945
  * @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
5946
5946
  * @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.
5947
5947
  * @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.
5948
- * @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
5949
- * @event auroDropdown-toggled - Notifies that the bib opened or closed.
5948
+ * @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.
5949
+ * @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`.
5950
5950
  * @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`.
5951
5951
  */
5952
5952
  class AuroDropdown extends AuroElement$1 {
@@ -6275,6 +6275,7 @@ class AuroDropdown extends AuroElement$1 {
6275
6275
  /**
6276
6276
  * Removes the trigger's border, background, and shadow.
6277
6277
  * Applies only when `shape` and `size` are both set.
6278
+ * @relevantWhen shape !== undefined
6278
6279
  * @category ui
6279
6280
  */
6280
6281
  simple: {
@@ -6567,6 +6568,7 @@ class AuroDropdown extends AuroElement$1 {
6567
6568
  /**
6568
6569
  * Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
6569
6570
  * Applies only when the `trigger` slot content isn't focusable.
6571
+ * @default 0
6570
6572
  * @category a11y
6571
6573
  */
6572
6574
  tabIndex: {
@@ -7258,7 +7260,6 @@ class AuroDropdown extends AuroElement$1 {
7258
7260
  *
7259
7261
  * @private
7260
7262
  * @method handleDefaultSlot
7261
- * @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
7262
7263
  */
7263
7264
  handleDefaultSlot() {
7264
7265
 
@@ -7271,7 +7272,7 @@ class AuroDropdown extends AuroElement$1 {
7271
7272
  * Renders the markup that every layout shares: the trigger, the help text, and the bib.
7272
7273
  * @private
7273
7274
  * @param {Object} helpTextClasses - The classes to apply to the help text container.
7274
- * @returns {html} - The template for the shared markup.
7275
+ * @returns {import('lit').TemplateResult} The template for the shared markup.
7275
7276
  */
7276
7277
  renderBasicHtml(helpTextClasses) {
7277
7278
  return u$5`
@@ -7333,7 +7334,7 @@ class AuroDropdown extends AuroElement$1 {
7333
7334
  /**
7334
7335
  * Renders the classic layout.
7335
7336
  * @private
7336
- * @returns {html} - The template for the classic layout.
7337
+ * @returns {import('lit').TemplateResult} The template for the classic layout.
7337
7338
  */
7338
7339
  renderLayoutClassic() {
7339
7340
  // TODO: check with Doug why this was never used?
@@ -7349,7 +7350,7 @@ class AuroDropdown extends AuroElement$1 {
7349
7350
  /**
7350
7351
  * Renders the snowflake layout, which indents the help text on both sides.
7351
7352
  * @private
7352
- * @returns {html} - The template for the snowflake layout.
7353
+ * @returns {import('lit').TemplateResult} The template for the snowflake layout.
7353
7354
  */
7354
7355
  renderLayoutSnowflake() {
7355
7356
  const helpTextClasses = {
@@ -7366,7 +7367,7 @@ class AuroDropdown extends AuroElement$1 {
7366
7367
  /**
7367
7368
  * Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
7368
7369
  * @private
7369
- * @returns {html} - The template for the emphasized layout.
7370
+ * @returns {import('lit').TemplateResult} The template for the emphasized layout.
7370
7371
  */
7371
7372
  renderLayoutEmphasized() {
7372
7373
  const helpTextClasses = {
@@ -7384,7 +7385,7 @@ class AuroDropdown extends AuroElement$1 {
7384
7385
  * Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
7385
7386
  * @private
7386
7387
  * @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
7387
- * @returns {HTMLCollection} - The template for the layout.
7388
+ * @returns {import('lit').TemplateResult} The template for the layout.
7388
7389
  */
7389
7390
  renderLayout(ForcedLayout) {
7390
7391
  const layout = ForcedLayout || this.layout;
@@ -7769,7 +7770,7 @@ class AuroBibtemplate extends i$2 {
7769
7770
  }
7770
7771
 
7771
7772
  /**
7772
- * 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.
7773
+ * 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.
7773
7774
  * @param {Event} event - The `touchmove` event.
7774
7775
  * @returns {void}
7775
7776
  */
@@ -8380,7 +8381,7 @@ const counterGroupKeyboardStrategy = {
8380
8381
  * @csspart helpText - The paragraph that shows the help text, or the combined error message while a counter is invalid. Rendered only when `isDropdown` is set.
8381
8382
  *
8382
8383
  * @event auroFormElement-validated - Fires each time the group is validated, with the result in `event.detail.validity` and `event.detail.message`.
8383
- * @event input - Fires when any counter's value changes, with the new `total` and `value` in `event.detail`.
8384
+ * @event input - Fires when any counter's value changes, with the new `total` and `value` in `event.detail`. It doesn't currently bubble, so listen on the group itself.
8384
8385
  */
8385
8386
  class AuroCounterGroup extends AuroElement {
8386
8387
  constructor() {
@@ -8512,8 +8513,8 @@ class AuroCounterGroup extends AuroElement {
8512
8513
  },
8513
8514
 
8514
8515
  /**
8515
- * The current error message to display when the component is invalid.
8516
- * This is set by validation and isn't available to consumers.
8516
+ * Holds the error message shown while the group is invalid.
8517
+ * Validation sets it, and it isn't available to consumers.
8517
8518
  * @private
8518
8519
  */
8519
8520
  errorMessage: {
@@ -8710,7 +8711,7 @@ class AuroCounterGroup extends AuroElement {
8710
8711
  },
8711
8712
 
8712
8713
  /**
8713
- * The current text in the valueText slot.
8714
+ * Holds the text in the `valueText` slot.
8714
8715
  * @category behavior
8715
8716
  * @private
8716
8717
  */
@@ -8723,9 +8724,8 @@ class AuroCounterGroup extends AuroElement {
8723
8724
  }
8724
8725
 
8725
8726
  /**
8726
- * Dynamically disables increment/decrement buttons on a counter based on group value.
8727
- * This method checks the total aggregated value against the group's min and max properties.
8728
- * If the total value is at or below the minimum, the counter's decrement button is disabled; if at or above the maximum, the increment button is disabled.
8727
+ * Turns a counter's minus and plus buttons on or off based on the group's total.
8728
+ * The minus button turns off when the total is at or below `min`; otherwise, the plus button turns off when the total is at or above `max`.
8729
8729
  *
8730
8730
  * @param {HTMLElement} counter - The counter element to potentially disable.
8731
8731
  * @private
@@ -8782,9 +8782,9 @@ class AuroCounterGroup extends AuroElement {
8782
8782
  };
8783
8783
 
8784
8784
  /**
8785
- * Synchronously recomputes this.validity/this.errorMessage from the current
8786
- * validity of the child counters. Extracted from updateValidity() so that
8787
- * validate() can re-apply this aggregation immediately after the shared
8785
+ * Synchronously recomputes `this.validity` and `this.errorMessage` from the current
8786
+ * validity of the child counters. Extracted from `updateValidity()` so that
8787
+ * `validate()` can re-apply this aggregation immediately after the shared
8788
8788
  * validation engine runs, instead of waiting on a deferred timer.
8789
8789
  * @returns {void}
8790
8790
  * @private
@@ -8869,9 +8869,9 @@ class AuroCounterGroup extends AuroElement {
8869
8869
  }
8870
8870
 
8871
8871
  /**
8872
- * Configures the dropdown counters by selecting all `auro-counter` elements,
8873
- * appending them to the `auro-counter-wrapper` element within the shadow DOM,
8874
- * and setting up keyboard navigation and input event listeners.
8872
+ * Finds the dropdown and the counters slotted into its `auro-counter-wrapper`,
8873
+ * adds `input` and `auroFormElement-validated` listeners to each counter, and
8874
+ * updates `value` and the group's validity. Also sets up the bib template when `isDropdown` is set.
8875
8875
  * @private
8876
8876
  */
8877
8877
  configureDropdownCounters() {
@@ -8903,7 +8903,7 @@ class AuroCounterGroup extends AuroElement {
8903
8903
  }
8904
8904
 
8905
8905
  /**
8906
- * Sets up a close event listener and moves any slotted `bib.fullscreen.headline` and `bib.fullscreen.footer` content into the bibtemplate.
8906
+ * Finds the bib template, closes the dropdown when its close button is clicked, and moves focus to the close button when the fullscreen dropdown opens.
8907
8907
  * @private
8908
8908
  */
8909
8909
  configureBibtemplate() {
@@ -4,7 +4,7 @@
4
4
  <p>Native number inputs have limited screen reader support. The browser-rendered increment/decrement buttons are often small, difficult to interact with, and announced inconsistently.</p>
5
5
  <p><code>auro-counter</code> provides:</p>
6
6
  <ul>
7
- <li><strong>ARIA spinbutton pattern</strong>: The component uses <code>role="spinbutton"</code> with <code>aria-valuemin</code>, <code>aria-valuemax</code>, <code>aria-valuenow</code>, and <code>aria-valuetext</code> for complete screen reader semantics.</li>
7
+ <li><strong>ARIA spinbutton pattern</strong>: The component uses <code>role="spinbutton"</code> with <code>aria-valuemin</code>, <code>aria-valuemax</code>, <code>aria-valuenow</code>, and <code>aria-valuetext</code>, so screen readers announce its range and current value. It doesn't currently set <code>aria-invalid</code>.</li>
8
8
  <li><strong>Labeled controls</strong>: Increment and decrement buttons take their ARIA labels from the <code>ariaLabel.plus</code> and <code>ariaLabel.minus</code> slots.</li>
9
9
  <li><strong>Single tab stop</strong>: The Up Arrow and Down Arrow keys change the value, and the increment and decrement buttons stay out of the tab order, so each counter is one tab stop.</li>
10
10
  <li><strong>Focus delegation</strong>: <code>delegatesFocus</code> ensures focus reaches the interactive control regardless of where the user clicks.</li>
@@ -25,7 +25,7 @@
25
25
  <li>An aggregate <code>total</code> computed from all child counters</li>
26
26
  <li>Group-level <code>min</code> and <code>max</code> constraints applied across all children</li>
27
27
  <li>A <code>value</code> object with named entries, such as <code>{ adults: 2, children: 1 }</code></li>
28
- <li>Dynamic button disabling: when the group total reaches max, all increment buttons disable; when it reaches min, all decrement buttons disable</li>
28
+ <li>Dynamic button disabling: when the group total reaches <code>max</code>, all increment buttons disable; when it reaches <code>min</code>, all decrement buttons disable</li>
29
29
  <li>Group-level validation that aggregates individual counter errors</li>
30
30
  <li>Optional dropdown presentation with <code>isDropdown</code> for compact UI</li>
31
31
  </ul>
@@ -67,7 +67,7 @@
67
67
  <tr>
68
68
  <td>ARIA spinbutton semantics</td>
69
69
  <td>No</td>
70
- <td>Full implementation</td>
70
+ <td>Yes, except <code>aria-invalid</code></td>
71
71
  </tr>
72
72
  <tr>
73
73
  <td>Auto-disable at min/max</td>
@@ -40,7 +40,7 @@
40
40
  * @csspart helpText - The paragraph that shows the help text, or the combined error message while a counter is invalid. Rendered only when `isDropdown` is set.
41
41
  *
42
42
  * @event auroFormElement-validated - Fires each time the group is validated, with the result in `event.detail.validity` and `event.detail.message`.
43
- * @event input - Fires when any counter's value changes, with the new `total` and `value` in `event.detail`.
43
+ * @event input - Fires when any counter's value changes, with the new `total` and `value` in `event.detail`. It doesn't currently bubble, so listen on the group itself.
44
44
  */
45
45
  export class AuroCounterGroup extends AuroElement {
46
46
  static get styles(): import("lit").CSSResult[];
@@ -65,8 +65,8 @@ export class AuroCounterGroup extends AuroElement {
65
65
  reflect: boolean;
66
66
  };
67
67
  /**
68
- * The current error message to display when the component is invalid.
69
- * This is set by validation and isn't available to consumers.
68
+ * Holds the error message shown while the group is invalid.
69
+ * Validation sets it, and it isn't available to consumers.
70
70
  * @private
71
71
  */
72
72
  errorMessage: {
@@ -207,7 +207,7 @@ export class AuroCounterGroup extends AuroElement {
207
207
  };
208
208
  value: Record<string, number>;
209
209
  /**
210
- * The current text in the valueText slot.
210
+ * Holds the text in the `valueText` slot.
211
211
  * @category behavior
212
212
  * @private
213
213
  */
@@ -297,9 +297,8 @@ export class AuroCounterGroup extends AuroElement {
297
297
  */
298
298
  private iconTag;
299
299
  /**
300
- * Dynamically disables increment/decrement buttons on a counter based on group value.
301
- * This method checks the total aggregated value against the group's min and max properties.
302
- * If the total value is at or below the minimum, the counter's decrement button is disabled; if at or above the maximum, the increment button is disabled.
300
+ * Turns a counter's minus and plus buttons on or off based on the group's total.
301
+ * The minus button turns off when the total is at or below `min`; otherwise, the plus button turns off when the total is at or above `max`.
303
302
  *
304
303
  * @param {HTMLElement} counter - The counter element to potentially disable.
305
304
  * @private
@@ -327,9 +326,9 @@ export class AuroCounterGroup extends AuroElement {
327
326
  */
328
327
  private getErrorMessages;
329
328
  /**
330
- * Synchronously recomputes this.validity/this.errorMessage from the current
331
- * validity of the child counters. Extracted from updateValidity() so that
332
- * validate() can re-apply this aggregation immediately after the shared
329
+ * Synchronously recomputes `this.validity` and `this.errorMessage` from the current
330
+ * validity of the child counters. Extracted from `updateValidity()` so that
331
+ * `validate()` can re-apply this aggregation immediately after the shared
333
332
  * validation engine runs, instead of waiting on a deferred timer.
334
333
  * @returns {void}
335
334
  * @private
@@ -347,14 +346,14 @@ export class AuroCounterGroup extends AuroElement {
347
346
  */
348
347
  showBib(): void;
349
348
  /**
350
- * Configures the dropdown counters by selecting all `auro-counter` elements,
351
- * appending them to the `auro-counter-wrapper` element within the shadow DOM,
352
- * and setting up keyboard navigation and input event listeners.
349
+ * Finds the dropdown and the counters slotted into its `auro-counter-wrapper`,
350
+ * adds `input` and `auroFormElement-validated` listeners to each counter, and
351
+ * updates `value` and the group's validity. Also sets up the bib template when `isDropdown` is set.
353
352
  * @private
354
353
  */
355
354
  private configureDropdownCounters;
356
355
  /**
357
- * Sets up a close event listener and moves any slotted `bib.fullscreen.headline` and `bib.fullscreen.footer` content into the bibtemplate.
356
+ * Finds the bib template, closes the dropdown when its close button is clicked, and moves focus to the close button when the fullscreen dropdown opens.
358
357
  * @private
359
358
  */
360
359
  private configureBibtemplate;
@@ -31,7 +31,7 @@
31
31
  * @csspart controlPlus - The plus button, which raises the value by 1.
32
32
  * @csspart helpText - The paragraph that shows the help text, or the error message while the counter is invalid.
33
33
  *
34
- * @event input - Notifies that the counter's value has changed.
34
+ * @event input - Fires whenever `value` changes, including when the counter sets its starting value, with the new number in `event.detail.value`. It doesn't currently bubble, so listen on the counter itself.
35
35
  */
36
36
  export class AuroCounter extends LitElement {
37
37
  /**
@@ -1114,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
1114
1114
  }
1115
1115
  };
1116
1116
 
1117
- var formkitVersion$1 = '202611081756';
1117
+ var formkitVersion$1 = '202611091558';
1118
1118
 
1119
1119
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1120
1120
  // See LICENSE in the project root for license information.
@@ -1179,7 +1179,7 @@ const keyboardStrategy = {
1179
1179
  * @csspart controlPlus - The plus button, which raises the value by 1.
1180
1180
  * @csspart helpText - The paragraph that shows the help text, or the error message while the counter is invalid.
1181
1181
  *
1182
- * @event input - Notifies that the counter's value has changed.
1182
+ * @event input - Fires whenever `value` changes, including when the counter sets its starting value, with the new number in `event.detail.value`. It doesn't currently bubble, so listen on the counter itself.
1183
1183
  */
1184
1184
  class AuroCounter extends LitElement {
1185
1185
 
@@ -1300,7 +1300,7 @@ class AuroCounter extends LitElement {
1300
1300
  },
1301
1301
 
1302
1302
  /**
1303
- * The trimmed text of the default slot, which `auro-counter-group` shows in its dropdown summary.
1303
+ * Holds the trimmed text of the default slot, which `auro-counter-group` shows in its dropdown summary.
1304
1304
  * @private
1305
1305
  */
1306
1306
  defaultSlot: {
@@ -1338,7 +1338,7 @@ class AuroCounter extends LitElement {
1338
1338
  },
1339
1339
 
1340
1340
  /**
1341
- * Sets a custom error message, such as "Select at least one adult", and marks the counter invalid. The message replaces the help text. Set it with the `error` attribute: setting only the `error` property doesn't currently mark the counter invalid.
1341
+ * Sets a custom error message, such as "Select at least one adult", and marks the counter invalid. The message replaces the help text. Set the `error` attribute before the counter first renders, or call `validate()` after changing it: setting only the property, or changing the attribute later, doesn't currently update `validity`.
1342
1342
  * @category behavior
1343
1343
  */
1344
1344
  error: {
@@ -5711,7 +5711,7 @@ class AuroHelpText extends LitElement {
5711
5711
  }
5712
5712
  }
5713
5713
 
5714
- var formkitVersion = '202611081756';
5714
+ var formkitVersion = '202611091558';
5715
5715
 
5716
5716
  /**
5717
5717
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -5877,8 +5877,8 @@ let AuroElement$1 = class AuroElement extends LitElement {
5877
5877
  * @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
5878
5878
  * @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.
5879
5879
  * @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.
5880
- * @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
5881
- * @event auroDropdown-toggled - Notifies that the bib opened or closed.
5880
+ * @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.
5881
+ * @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`.
5882
5882
  * @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`.
5883
5883
  */
5884
5884
  class AuroDropdown extends AuroElement$1 {
@@ -6207,6 +6207,7 @@ class AuroDropdown extends AuroElement$1 {
6207
6207
  /**
6208
6208
  * Removes the trigger's border, background, and shadow.
6209
6209
  * Applies only when `shape` and `size` are both set.
6210
+ * @relevantWhen shape !== undefined
6210
6211
  * @category ui
6211
6212
  */
6212
6213
  simple: {
@@ -6499,6 +6500,7 @@ class AuroDropdown extends AuroElement$1 {
6499
6500
  /**
6500
6501
  * Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
6501
6502
  * Applies only when the `trigger` slot content isn't focusable.
6503
+ * @default 0
6502
6504
  * @category a11y
6503
6505
  */
6504
6506
  tabIndex: {
@@ -7190,7 +7192,6 @@ class AuroDropdown extends AuroElement$1 {
7190
7192
  *
7191
7193
  * @private
7192
7194
  * @method handleDefaultSlot
7193
- * @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
7194
7195
  */
7195
7196
  handleDefaultSlot() {
7196
7197
 
@@ -7203,7 +7204,7 @@ class AuroDropdown extends AuroElement$1 {
7203
7204
  * Renders the markup that every layout shares: the trigger, the help text, and the bib.
7204
7205
  * @private
7205
7206
  * @param {Object} helpTextClasses - The classes to apply to the help text container.
7206
- * @returns {html} - The template for the shared markup.
7207
+ * @returns {import('lit').TemplateResult} The template for the shared markup.
7207
7208
  */
7208
7209
  renderBasicHtml(helpTextClasses) {
7209
7210
  return html`
@@ -7265,7 +7266,7 @@ class AuroDropdown extends AuroElement$1 {
7265
7266
  /**
7266
7267
  * Renders the classic layout.
7267
7268
  * @private
7268
- * @returns {html} - The template for the classic layout.
7269
+ * @returns {import('lit').TemplateResult} The template for the classic layout.
7269
7270
  */
7270
7271
  renderLayoutClassic() {
7271
7272
  // TODO: check with Doug why this was never used?
@@ -7281,7 +7282,7 @@ class AuroDropdown extends AuroElement$1 {
7281
7282
  /**
7282
7283
  * Renders the snowflake layout, which indents the help text on both sides.
7283
7284
  * @private
7284
- * @returns {html} - The template for the snowflake layout.
7285
+ * @returns {import('lit').TemplateResult} The template for the snowflake layout.
7285
7286
  */
7286
7287
  renderLayoutSnowflake() {
7287
7288
  const helpTextClasses = {
@@ -7298,7 +7299,7 @@ class AuroDropdown extends AuroElement$1 {
7298
7299
  /**
7299
7300
  * Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
7300
7301
  * @private
7301
- * @returns {html} - The template for the emphasized layout.
7302
+ * @returns {import('lit').TemplateResult} The template for the emphasized layout.
7302
7303
  */
7303
7304
  renderLayoutEmphasized() {
7304
7305
  const helpTextClasses = {
@@ -7316,7 +7317,7 @@ class AuroDropdown extends AuroElement$1 {
7316
7317
  * Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
7317
7318
  * @private
7318
7319
  * @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
7319
- * @returns {HTMLCollection} - The template for the layout.
7320
+ * @returns {import('lit').TemplateResult} The template for the layout.
7320
7321
  */
7321
7322
  renderLayout(ForcedLayout) {
7322
7323
  const layout = ForcedLayout || this.layout;
@@ -7701,7 +7702,7 @@ class AuroBibtemplate extends LitElement {
7701
7702
  }
7702
7703
 
7703
7704
  /**
7704
- * 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.
7705
+ * 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.
7705
7706
  * @param {Event} event - The `touchmove` event.
7706
7707
  * @returns {void}
7707
7708
  */
@@ -8312,7 +8313,7 @@ const counterGroupKeyboardStrategy = {
8312
8313
  * @csspart helpText - The paragraph that shows the help text, or the combined error message while a counter is invalid. Rendered only when `isDropdown` is set.
8313
8314
  *
8314
8315
  * @event auroFormElement-validated - Fires each time the group is validated, with the result in `event.detail.validity` and `event.detail.message`.
8315
- * @event input - Fires when any counter's value changes, with the new `total` and `value` in `event.detail`.
8316
+ * @event input - Fires when any counter's value changes, with the new `total` and `value` in `event.detail`. It doesn't currently bubble, so listen on the group itself.
8316
8317
  */
8317
8318
  class AuroCounterGroup extends AuroElement {
8318
8319
  constructor() {
@@ -8444,8 +8445,8 @@ class AuroCounterGroup extends AuroElement {
8444
8445
  },
8445
8446
 
8446
8447
  /**
8447
- * The current error message to display when the component is invalid.
8448
- * This is set by validation and isn't available to consumers.
8448
+ * Holds the error message shown while the group is invalid.
8449
+ * Validation sets it, and it isn't available to consumers.
8449
8450
  * @private
8450
8451
  */
8451
8452
  errorMessage: {
@@ -8642,7 +8643,7 @@ class AuroCounterGroup extends AuroElement {
8642
8643
  },
8643
8644
 
8644
8645
  /**
8645
- * The current text in the valueText slot.
8646
+ * Holds the text in the `valueText` slot.
8646
8647
  * @category behavior
8647
8648
  * @private
8648
8649
  */
@@ -8655,9 +8656,8 @@ class AuroCounterGroup extends AuroElement {
8655
8656
  }
8656
8657
 
8657
8658
  /**
8658
- * Dynamically disables increment/decrement buttons on a counter based on group value.
8659
- * This method checks the total aggregated value against the group's min and max properties.
8660
- * If the total value is at or below the minimum, the counter's decrement button is disabled; if at or above the maximum, the increment button is disabled.
8659
+ * Turns a counter's minus and plus buttons on or off based on the group's total.
8660
+ * The minus button turns off when the total is at or below `min`; otherwise, the plus button turns off when the total is at or above `max`.
8661
8661
  *
8662
8662
  * @param {HTMLElement} counter - The counter element to potentially disable.
8663
8663
  * @private
@@ -8714,9 +8714,9 @@ class AuroCounterGroup extends AuroElement {
8714
8714
  };
8715
8715
 
8716
8716
  /**
8717
- * Synchronously recomputes this.validity/this.errorMessage from the current
8718
- * validity of the child counters. Extracted from updateValidity() so that
8719
- * validate() can re-apply this aggregation immediately after the shared
8717
+ * Synchronously recomputes `this.validity` and `this.errorMessage` from the current
8718
+ * validity of the child counters. Extracted from `updateValidity()` so that
8719
+ * `validate()` can re-apply this aggregation immediately after the shared
8720
8720
  * validation engine runs, instead of waiting on a deferred timer.
8721
8721
  * @returns {void}
8722
8722
  * @private
@@ -8801,9 +8801,9 @@ class AuroCounterGroup extends AuroElement {
8801
8801
  }
8802
8802
 
8803
8803
  /**
8804
- * Configures the dropdown counters by selecting all `auro-counter` elements,
8805
- * appending them to the `auro-counter-wrapper` element within the shadow DOM,
8806
- * and setting up keyboard navigation and input event listeners.
8804
+ * Finds the dropdown and the counters slotted into its `auro-counter-wrapper`,
8805
+ * adds `input` and `auroFormElement-validated` listeners to each counter, and
8806
+ * updates `value` and the group's validity. Also sets up the bib template when `isDropdown` is set.
8807
8807
  * @private
8808
8808
  */
8809
8809
  configureDropdownCounters() {
@@ -8835,7 +8835,7 @@ class AuroCounterGroup extends AuroElement {
8835
8835
  }
8836
8836
 
8837
8837
  /**
8838
- * Sets up a close event listener and moves any slotted `bib.fullscreen.headline` and `bib.fullscreen.footer` content into the bibtemplate.
8838
+ * Finds the bib template, closes the dropdown when its close button is clicked, and moves focus to the close button when the fullscreen dropdown opens.
8839
8839
  * @private
8840
8840
  */
8841
8841
  configureBibtemplate() {