@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
@@ -1166,7 +1166,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
1166
1166
  }
1167
1167
  };
1168
1168
 
1169
- var formkitVersion$1 = '202611081756';
1169
+ var formkitVersion$1 = '202611091558';
1170
1170
 
1171
1171
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1172
1172
  // See LICENSE in the project root for license information.
@@ -1231,7 +1231,7 @@ const keyboardStrategy = {
1231
1231
  * @csspart controlPlus - The plus button, which raises the value by 1.
1232
1232
  * @csspart helpText - The paragraph that shows the help text, or the error message while the counter is invalid.
1233
1233
  *
1234
- * @event input - Notifies that the counter's value has changed.
1234
+ * @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.
1235
1235
  */
1236
1236
  class AuroCounter extends i$1 {
1237
1237
 
@@ -1352,7 +1352,7 @@ class AuroCounter extends i$1 {
1352
1352
  },
1353
1353
 
1354
1354
  /**
1355
- * The trimmed text of the default slot, which `auro-counter-group` shows in its dropdown summary.
1355
+ * Holds the trimmed text of the default slot, which `auro-counter-group` shows in its dropdown summary.
1356
1356
  * @private
1357
1357
  */
1358
1358
  defaultSlot: {
@@ -1390,7 +1390,7 @@ class AuroCounter extends i$1 {
1390
1390
  },
1391
1391
 
1392
1392
  /**
1393
- * 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.
1393
+ * 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`.
1394
1394
  * @category behavior
1395
1395
  */
1396
1396
  error: {
@@ -5781,7 +5781,7 @@ class AuroHelpText extends i$1 {
5781
5781
  }
5782
5782
  }
5783
5783
 
5784
- var formkitVersion = '202611081756';
5784
+ var formkitVersion = '202611091558';
5785
5785
 
5786
5786
  /**
5787
5787
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -5947,8 +5947,8 @@ let AuroElement$1 = class AuroElement extends i$1 {
5947
5947
  * @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
5948
5948
  * @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.
5949
5949
  * @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.
5950
- * @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
5951
- * @event auroDropdown-toggled - Notifies that the bib opened or closed.
5950
+ * @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.
5951
+ * @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`.
5952
5952
  * @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`.
5953
5953
  */
5954
5954
  class AuroDropdown extends AuroElement$1 {
@@ -6277,6 +6277,7 @@ class AuroDropdown extends AuroElement$1 {
6277
6277
  /**
6278
6278
  * Removes the trigger's border, background, and shadow.
6279
6279
  * Applies only when `shape` and `size` are both set.
6280
+ * @relevantWhen shape !== undefined
6280
6281
  * @category ui
6281
6282
  */
6282
6283
  simple: {
@@ -6569,6 +6570,7 @@ class AuroDropdown extends AuroElement$1 {
6569
6570
  /**
6570
6571
  * Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
6571
6572
  * Applies only when the `trigger` slot content isn't focusable.
6573
+ * @default 0
6572
6574
  * @category a11y
6573
6575
  */
6574
6576
  tabIndex: {
@@ -7260,7 +7262,6 @@ class AuroDropdown extends AuroElement$1 {
7260
7262
  *
7261
7263
  * @private
7262
7264
  * @method handleDefaultSlot
7263
- * @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
7264
7265
  */
7265
7266
  handleDefaultSlot() {
7266
7267
 
@@ -7273,7 +7274,7 @@ class AuroDropdown extends AuroElement$1 {
7273
7274
  * Renders the markup that every layout shares: the trigger, the help text, and the bib.
7274
7275
  * @private
7275
7276
  * @param {Object} helpTextClasses - The classes to apply to the help text container.
7276
- * @returns {html} - The template for the shared markup.
7277
+ * @returns {import('lit').TemplateResult} The template for the shared markup.
7277
7278
  */
7278
7279
  renderBasicHtml(helpTextClasses) {
7279
7280
  return u$6`
@@ -7335,7 +7336,7 @@ class AuroDropdown extends AuroElement$1 {
7335
7336
  /**
7336
7337
  * Renders the classic layout.
7337
7338
  * @private
7338
- * @returns {html} - The template for the classic layout.
7339
+ * @returns {import('lit').TemplateResult} The template for the classic layout.
7339
7340
  */
7340
7341
  renderLayoutClassic() {
7341
7342
  // TODO: check with Doug why this was never used?
@@ -7351,7 +7352,7 @@ class AuroDropdown extends AuroElement$1 {
7351
7352
  /**
7352
7353
  * Renders the snowflake layout, which indents the help text on both sides.
7353
7354
  * @private
7354
- * @returns {html} - The template for the snowflake layout.
7355
+ * @returns {import('lit').TemplateResult} The template for the snowflake layout.
7355
7356
  */
7356
7357
  renderLayoutSnowflake() {
7357
7358
  const helpTextClasses = {
@@ -7368,7 +7369,7 @@ class AuroDropdown extends AuroElement$1 {
7368
7369
  /**
7369
7370
  * Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
7370
7371
  * @private
7371
- * @returns {html} - The template for the emphasized layout.
7372
+ * @returns {import('lit').TemplateResult} The template for the emphasized layout.
7372
7373
  */
7373
7374
  renderLayoutEmphasized() {
7374
7375
  const helpTextClasses = {
@@ -7386,7 +7387,7 @@ class AuroDropdown extends AuroElement$1 {
7386
7387
  * Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
7387
7388
  * @private
7388
7389
  * @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
7389
- * @returns {HTMLCollection} - The template for the layout.
7390
+ * @returns {import('lit').TemplateResult} The template for the layout.
7390
7391
  */
7391
7392
  renderLayout(ForcedLayout) {
7392
7393
  const layout = ForcedLayout || this.layout;
@@ -7771,7 +7772,7 @@ class AuroBibtemplate extends i$1 {
7771
7772
  }
7772
7773
 
7773
7774
  /**
7774
- * 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.
7775
+ * 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.
7775
7776
  * @param {Event} event - The `touchmove` event.
7776
7777
  * @returns {void}
7777
7778
  */
@@ -8382,7 +8383,7 @@ const counterGroupKeyboardStrategy = {
8382
8383
  * @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.
8383
8384
  *
8384
8385
  * @event auroFormElement-validated - Fires each time the group is validated, with the result in `event.detail.validity` and `event.detail.message`.
8385
- * @event input - Fires when any counter's value changes, with the new `total` and `value` in `event.detail`.
8386
+ * @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.
8386
8387
  */
8387
8388
  class AuroCounterGroup extends AuroElement {
8388
8389
  constructor() {
@@ -8514,8 +8515,8 @@ class AuroCounterGroup extends AuroElement {
8514
8515
  },
8515
8516
 
8516
8517
  /**
8517
- * The current error message to display when the component is invalid.
8518
- * This is set by validation and isn't available to consumers.
8518
+ * Holds the error message shown while the group is invalid.
8519
+ * Validation sets it, and it isn't available to consumers.
8519
8520
  * @private
8520
8521
  */
8521
8522
  errorMessage: {
@@ -8712,7 +8713,7 @@ class AuroCounterGroup extends AuroElement {
8712
8713
  },
8713
8714
 
8714
8715
  /**
8715
- * The current text in the valueText slot.
8716
+ * Holds the text in the `valueText` slot.
8716
8717
  * @category behavior
8717
8718
  * @private
8718
8719
  */
@@ -8725,9 +8726,8 @@ class AuroCounterGroup extends AuroElement {
8725
8726
  }
8726
8727
 
8727
8728
  /**
8728
- * Dynamically disables increment/decrement buttons on a counter based on group value.
8729
- * This method checks the total aggregated value against the group's min and max properties.
8730
- * 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.
8729
+ * Turns a counter's minus and plus buttons on or off based on the group's total.
8730
+ * 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`.
8731
8731
  *
8732
8732
  * @param {HTMLElement} counter - The counter element to potentially disable.
8733
8733
  * @private
@@ -8784,9 +8784,9 @@ class AuroCounterGroup extends AuroElement {
8784
8784
  };
8785
8785
 
8786
8786
  /**
8787
- * Synchronously recomputes this.validity/this.errorMessage from the current
8788
- * validity of the child counters. Extracted from updateValidity() so that
8789
- * validate() can re-apply this aggregation immediately after the shared
8787
+ * Synchronously recomputes `this.validity` and `this.errorMessage` from the current
8788
+ * validity of the child counters. Extracted from `updateValidity()` so that
8789
+ * `validate()` can re-apply this aggregation immediately after the shared
8790
8790
  * validation engine runs, instead of waiting on a deferred timer.
8791
8791
  * @returns {void}
8792
8792
  * @private
@@ -8871,9 +8871,9 @@ class AuroCounterGroup extends AuroElement {
8871
8871
  }
8872
8872
 
8873
8873
  /**
8874
- * Configures the dropdown counters by selecting all `auro-counter` elements,
8875
- * appending them to the `auro-counter-wrapper` element within the shadow DOM,
8876
- * and setting up keyboard navigation and input event listeners.
8874
+ * Finds the dropdown and the counters slotted into its `auro-counter-wrapper`,
8875
+ * adds `input` and `auroFormElement-validated` listeners to each counter, and
8876
+ * updates `value` and the group's validity. Also sets up the bib template when `isDropdown` is set.
8877
8877
  * @private
8878
8878
  */
8879
8879
  configureDropdownCounters() {
@@ -8905,7 +8905,7 @@ class AuroCounterGroup extends AuroElement {
8905
8905
  }
8906
8906
 
8907
8907
  /**
8908
- * Sets up a close event listener and moves any slotted `bib.fullscreen.headline` and `bib.fullscreen.footer` content into the bibtemplate.
8908
+ * 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.
8909
8909
  * @private
8910
8910
  */
8911
8911
  configureBibtemplate() {
@@ -116,7 +116,7 @@
116
116
  <auro-header level="2" id="shapeSizeLayout">Shape, size, and layout support</auro-header>
117
117
  <p>The <code>auro-counter-group</code> component supports the <code>shape</code>, <code>size</code>, and <code>layout</code> feature set when <code>isDropdown</code> is set. The component defaults to <code>layout="classic"</code>, <code>shape="classic"</code>, and <code>size="xl"</code>.</p>
118
118
  <auro-header level="3" id="classicLayout">Classic layout</auro-header>
119
- <p>The <code>classic</code> layout is default for <code>auro-counter-group</code>. No customization is needed to achieve this look.</p>
119
+ <p>The <code>classic</code> layout is the default for <code>auro-counter-group</code>. You don't need to set anything to get this look.</p>
120
120
  <div class="exampleWrapper">
121
121
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/dropdown.html) -->
122
122
  <!-- The below content is automatically added from ./../apiExamples/dropdown.html -->
@@ -14,13 +14,20 @@
14
14
  <auro-anchorlink fluid href="#minimalConfig">Minimal config</auro-anchorlink>
15
15
  <auro-anchorlink fluid href="#slots">Slots</auro-anchorlink>
16
16
  <auro-anchorlink fluid href="#slotsGroup" class="level2 body-xs">auro-counter-group</auro-anchorlink>
17
+ <auro-anchorlink fluid href="#slot-default-group" class="level2 body-xs">- (default)</auro-anchorlink>
17
18
  <auro-anchorlink fluid href="#slot-label" class="level2 body-xs">- label</auro-anchorlink>
18
19
  <auro-anchorlink fluid href="#slot-helpText" class="level2 body-xs">- helpText</auro-anchorlink>
19
20
  <auro-anchorlink fluid href="#slot-valueText" class="level2 body-xs">- valueText</auro-anchorlink>
21
+ <auro-anchorlink fluid href="#slot-typeIcon" class="level2 body-xs">- typeIcon</auro-anchorlink>
22
+ <auro-anchorlink fluid href="#slot-bib-fullscreen-headline" class="level2 body-xs">- bib.fullscreen.headline</auro-anchorlink>
23
+ <auro-anchorlink fluid href="#slot-bib-fullscreen-footer" class="level2 body-xs">- bib.fullscreen.footer</auro-anchorlink>
24
+ <auro-anchorlink fluid href="#slot-ariaLabel-bib-close" class="level2 body-xs">- ariaLabel.bib.close</auro-anchorlink>
20
25
  <auro-anchorlink fluid href="#slotsCounter" class="level2 body-xs">auro-counter</auro-anchorlink>
21
26
  <auro-anchorlink fluid href="#slot-default-counter" class="level2 body-xs">- (default)</auro-anchorlink>
22
27
  <auro-anchorlink fluid href="#slot-description" class="level2 body-xs">- description</auro-anchorlink>
23
28
  <auro-anchorlink fluid href="#slot-helpText-counter" class="level2 body-xs">- helpText</auro-anchorlink>
29
+ <auro-anchorlink fluid href="#slot-ariaLabel-minus" class="level2 body-xs">- ariaLabel.minus</auro-anchorlink>
30
+ <auro-anchorlink fluid href="#slot-ariaLabel-plus" class="level2 body-xs">- ariaLabel.plus</auro-anchorlink>
24
31
  <auro-anchorlink fluid href="#stateManagement">State management</auro-anchorlink>
25
32
  <auro-anchorlink fluid href="#validity" class="level2 body-xs">Validity</auro-anchorlink>
26
33
  <auro-anchorlink fluid href="#publicFunctions">Functions</auro-anchorlink>
@@ -28,6 +35,8 @@
28
35
  <auro-anchorlink fluid href="#increment" class="level2 body-xs">increment()</auro-anchorlink>
29
36
  <auro-anchorlink fluid href="#decrement" class="level2 body-xs">decrement()</auro-anchorlink>
30
37
  <auro-anchorlink fluid href="#reset" class="level2 body-xs">reset()</auro-anchorlink>
38
+ <auro-anchorlink fluid href="#showBib" class="level2 body-xs">showBib()</auro-anchorlink>
39
+ <auro-anchorlink fluid href="#hideBib" class="level2 body-xs">hideBib()</auro-anchorlink>
31
40
  </auro-nav>
32
41
  </nav>
33
42
  <div class="mainContent">
@@ -49,7 +58,7 @@
49
58
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/customRegistration.md) -->
50
59
  <!-- The below content is automatically added from ./../docs/partials/getting-started/customRegistration.md -->
51
60
  <auro-header level="4">Custom component registration for version management</auro-header>
52
- There are two key parts to every Auro component: the <auro-hyperlink href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes">class</auro-hyperlink> and the custom element definition. The class defines the component's behavior, while the custom element registers it under a specific name so it can be used in HTML.
61
+ Every Auro component has two key parts: the <auro-hyperlink href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes">class</auro-hyperlink> and the custom element definition. The class defines the component's behavior, while the custom element registers it under a specific name so it can be used in HTML.
53
62
 
54
63
  Import only the component class, then call its `register(name)` method with a unique name:
55
64
 
@@ -329,6 +338,8 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
329
338
  <auro-header level="2" id="slots">Slots</auro-header>
330
339
  <auro-header level="3" id="slotsGroup">auro-counter-group</auro-header>
331
340
  <p>The following slots are available on the <code>&lt;auro-counter-group&gt;</code> element.</p>
341
+ <auro-header level="4" id="slot-default-group">(default)</auro-header>
342
+ <p>The <code>auro-counter</code> elements in the group. Every group needs at least one.</p>
332
343
  <auro-header level="4" id="slot-label">label</auro-header>
333
344
  <p>The label shown in the dropdown trigger, such as "Passengers". Applies only when <code>isDropdown</code> is set.</p>
334
345
  <div class="exampleWrapper">
@@ -455,6 +466,14 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
455
466
  &lt;/div&gt;</code></pre>
456
467
  <!-- AURO-GENERATED-CONTENT:END -->
457
468
  </auro-accordion>
469
+ <auro-header level="4" id="slot-typeIcon">typeIcon</auro-header>
470
+ <p>An icon shown at the start of the dropdown trigger, such as a person icon for a passenger selector. Applies only when <code>isDropdown</code> is set.</p>
471
+ <auro-header level="4" id="slot-bib-fullscreen-headline">bib.fullscreen.headline</auro-header>
472
+ <p>The heading shown at the top of the fullscreen dropdown, such as "Passengers". Set it whenever <code>isDropdown</code> is set.</p>
473
+ <auro-header level="4" id="slot-bib-fullscreen-footer">bib.fullscreen.footer</auro-header>
474
+ <p>Content shown at the bottom of the fullscreen dropdown, such as Reset and Save buttons. Applies only when <code>isDropdown</code> is set.</p>
475
+ <auro-header level="4" id="slot-ariaLabel-bib-close">ariaLabel.bib.close</auro-header>
476
+ <p>Text screen readers announce for the close button in the fullscreen dropdown, such as "Close passenger selector". Defaults to "Close". Applies only when <code>isDropdown</code> is set.</p>
458
477
  <auro-header level="3" id="slotsCounter">auro-counter</auro-header>
459
478
  <p>The following slots are available on the <code>&lt;auro-counter&gt;</code> element.</p>
460
479
  <auro-header level="4" id="slot-default-counter">(default)</auro-header>
@@ -529,7 +548,11 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
529
548
  &lt;span slot="helpText"&gt;This is help text for the counter&lt;/span&gt;
530
549
  &lt;/auro-counter&gt;</code></pre>
531
550
  <!-- AURO-GENERATED-CONTENT:END -->
532
- </auro-accordion>
551
+ </auro-accordion>
552
+ <auro-header level="4" id="slot-ariaLabel-minus">ariaLabel.minus</auro-header>
553
+ <p>Text screen readers announce for the minus button, such as "Remove adult". Defaults to "−" (a minus sign), so set it on every counter.</p>
554
+ <auro-header level="4" id="slot-ariaLabel-plus">ariaLabel.plus</auro-header>
555
+ <p>Text screen readers announce for the plus button, such as "Add adult". Defaults to "+", so set it on every counter.</p>
533
556
  <!-- AURO-GENERATED-CONTENT:END -->
534
557
  </section>
535
558
  <section>
@@ -602,6 +625,10 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
602
625
  }</code></pre>
603
626
  <!-- AURO-GENERATED-CONTENT:END -->
604
627
  </auro-accordion>
628
+ <auro-header level="3" id="showBib">showBib()</auro-header>
629
+ <p>Opens a counter group's dropdown if it's closed. Does nothing unless <code>isDropdown</code> is set.</p>
630
+ <auro-header level="3" id="hideBib">hideBib()</auro-header>
631
+ <p>Closes a counter group's dropdown if it's open. Does nothing unless <code>isDropdown</code> is set.</p>
605
632
  </section>
606
633
  </div>
607
634
  </div>
@@ -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() {