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

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 (51) hide show
  1. package/components/checkbox/demo/customize.min.js +1 -1
  2. package/components/checkbox/demo/getting-started.min.js +1 -1
  3. package/components/checkbox/demo/index.min.js +1 -1
  4. package/components/checkbox/dist/index.js +1 -1
  5. package/components/checkbox/dist/registered.js +1 -1
  6. package/components/combobox/demo/customize.min.js +3 -3
  7. package/components/combobox/demo/getting-started.min.js +3 -3
  8. package/components/combobox/demo/index.min.js +3 -3
  9. package/components/combobox/dist/index.js +3 -3
  10. package/components/combobox/dist/registered.js +3 -3
  11. package/components/counter/demo/api.md +18 -18
  12. package/components/counter/demo/customize.min.js +16 -16
  13. package/components/counter/demo/design.md +1 -1
  14. package/components/counter/demo/getting-started.md +29 -2
  15. package/components/counter/demo/getting-started.min.js +16 -16
  16. package/components/counter/demo/index.min.js +16 -16
  17. package/components/counter/dist/auro-counter-group.d.ts +11 -11
  18. package/components/counter/dist/auro-counter.d.ts +1 -1
  19. package/components/counter/dist/index.js +16 -16
  20. package/components/counter/dist/registered.js +16 -16
  21. package/components/datepicker/demo/customize.min.js +3 -3
  22. package/components/datepicker/demo/getting-started.min.js +3 -3
  23. package/components/datepicker/demo/index.min.js +3 -3
  24. package/components/datepicker/dist/index.js +3 -3
  25. package/components/datepicker/dist/registered.js +3 -3
  26. package/components/dropdown/demo/customize.min.js +1 -1
  27. package/components/dropdown/demo/getting-started.min.js +2 -2
  28. package/components/dropdown/demo/index.min.js +1 -1
  29. package/components/dropdown/dist/index.js +1 -1
  30. package/components/dropdown/dist/registered.js +1 -1
  31. package/components/form/demo/customize.min.js +27 -27
  32. package/components/form/demo/getting-started.min.js +27 -27
  33. package/components/form/demo/index.min.js +27 -27
  34. package/components/form/demo/registerDemoDeps.min.js +27 -27
  35. package/components/input/demo/customize.min.js +1 -1
  36. package/components/input/demo/getting-started.min.js +1 -1
  37. package/components/input/demo/index.min.js +1 -1
  38. package/components/input/dist/index.js +1 -1
  39. package/components/input/dist/registered.js +1 -1
  40. package/components/radio/demo/customize.min.js +1 -1
  41. package/components/radio/demo/getting-started.min.js +1 -1
  42. package/components/radio/demo/index.min.js +1 -1
  43. package/components/radio/dist/index.js +1 -1
  44. package/components/radio/dist/registered.js +1 -1
  45. package/components/select/demo/customize.min.js +2 -2
  46. package/components/select/demo/getting-started.min.js +2 -2
  47. package/components/select/demo/index.min.js +2 -2
  48. package/components/select/dist/index.js +2 -2
  49. package/components/select/dist/registered.js +2 -2
  50. package/custom-elements.json +11 -11
  51. package/package.json +1 -1
@@ -1381,7 +1381,7 @@ class AuroHelpText extends i$2 {
1381
1381
  }
1382
1382
  }
1383
1383
 
1384
- var formkitVersion = '202611081756';
1384
+ var formkitVersion = '202611081803';
1385
1385
 
1386
1386
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1387
1387
  // See LICENSE in the project root for license information.
@@ -1381,7 +1381,7 @@ class AuroHelpText extends i$2 {
1381
1381
  }
1382
1382
  }
1383
1383
 
1384
- var formkitVersion = '202611081756';
1384
+ var formkitVersion = '202611081803';
1385
1385
 
1386
1386
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1387
1387
  // See LICENSE in the project root for license information.
@@ -1381,7 +1381,7 @@ class AuroHelpText extends i$2 {
1381
1381
  }
1382
1382
  }
1383
1383
 
1384
- var formkitVersion = '202611081756';
1384
+ var formkitVersion = '202611081803';
1385
1385
 
1386
1386
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1387
1387
  // See LICENSE in the project root for license information.
@@ -1334,7 +1334,7 @@ class AuroHelpText extends LitElement {
1334
1334
  }
1335
1335
  }
1336
1336
 
1337
- var formkitVersion = '202611081756';
1337
+ var formkitVersion = '202611081803';
1338
1338
 
1339
1339
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1340
1340
  // See LICENSE in the project root for license information.
@@ -1334,7 +1334,7 @@ class AuroHelpText extends LitElement {
1334
1334
  }
1335
1335
  }
1336
1336
 
1337
- var formkitVersion = '202611081756';
1337
+ var formkitVersion = '202611081803';
1338
1338
 
1339
1339
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1340
1340
  // See LICENSE in the project root for license information.
@@ -5299,7 +5299,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
5299
5299
  }
5300
5300
  };
5301
5301
 
5302
- var formkitVersion$2 = '202611081756';
5302
+ var formkitVersion$2 = '202611081803';
5303
5303
 
5304
5304
  /**
5305
5305
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -19480,7 +19480,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
19480
19480
  }
19481
19481
  };
19482
19482
 
19483
- var formkitVersion$1 = '202611081756';
19483
+ var formkitVersion$1 = '202611081803';
19484
19484
 
19485
19485
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19486
19486
  // See LICENSE in the project root for license information.
@@ -20766,7 +20766,7 @@ class AuroBibtemplate extends i$3 {
20766
20766
  }
20767
20767
  }
20768
20768
 
20769
- var formkitVersion = '202611081756';
20769
+ var formkitVersion = '202611081803';
20770
20770
 
20771
20771
  var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
20772
20772
 
@@ -5299,7 +5299,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
5299
5299
  }
5300
5300
  };
5301
5301
 
5302
- var formkitVersion$2 = '202611081756';
5302
+ var formkitVersion$2 = '202611081803';
5303
5303
 
5304
5304
  /**
5305
5305
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -19480,7 +19480,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
19480
19480
  }
19481
19481
  };
19482
19482
 
19483
- var formkitVersion$1 = '202611081756';
19483
+ var formkitVersion$1 = '202611081803';
19484
19484
 
19485
19485
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19486
19486
  // See LICENSE in the project root for license information.
@@ -20766,7 +20766,7 @@ class AuroBibtemplate extends i$3 {
20766
20766
  }
20767
20767
  }
20768
20768
 
20769
- var formkitVersion = '202611081756';
20769
+ var formkitVersion = '202611081803';
20770
20770
 
20771
20771
  var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
20772
20772
 
@@ -5314,7 +5314,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
5314
5314
  }
5315
5315
  };
5316
5316
 
5317
- var formkitVersion$2 = '202611081756';
5317
+ var formkitVersion$2 = '202611081803';
5318
5318
 
5319
5319
  /**
5320
5320
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -19495,7 +19495,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
19495
19495
  }
19496
19496
  };
19497
19497
 
19498
- var formkitVersion$1 = '202611081756';
19498
+ var formkitVersion$1 = '202611081803';
19499
19499
 
19500
19500
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19501
19501
  // See LICENSE in the project root for license information.
@@ -20781,7 +20781,7 @@ class AuroBibtemplate extends i$3 {
20781
20781
  }
20782
20782
  }
20783
20783
 
20784
- var formkitVersion = '202611081756';
20784
+ var formkitVersion = '202611081803';
20785
20785
 
20786
20786
  var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
20787
20787
 
@@ -5232,7 +5232,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5232
5232
  }
5233
5233
  };
5234
5234
 
5235
- var formkitVersion$2 = '202611081756';
5235
+ var formkitVersion$2 = '202611081803';
5236
5236
 
5237
5237
  /**
5238
5238
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -19406,7 +19406,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
19406
19406
  }
19407
19407
  };
19408
19408
 
19409
- var formkitVersion$1 = '202611081756';
19409
+ var formkitVersion$1 = '202611081803';
19410
19410
 
19411
19411
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19412
19412
  // See LICENSE in the project root for license information.
@@ -20692,7 +20692,7 @@ class AuroBibtemplate extends LitElement {
20692
20692
  }
20693
20693
  }
20694
20694
 
20695
- var formkitVersion = '202611081756';
20695
+ var formkitVersion = '202611081803';
20696
20696
 
20697
20697
  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
20698
 
@@ -5232,7 +5232,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5232
5232
  }
5233
5233
  };
5234
5234
 
5235
- var formkitVersion$2 = '202611081756';
5235
+ var formkitVersion$2 = '202611081803';
5236
5236
 
5237
5237
  /**
5238
5238
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -19406,7 +19406,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
19406
19406
  }
19407
19407
  };
19408
19408
 
19409
- var formkitVersion$1 = '202611081756';
19409
+ var formkitVersion$1 = '202611081803';
19410
19410
 
19411
19411
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19412
19412
  // See LICENSE in the project root for license information.
@@ -20692,7 +20692,7 @@ class AuroBibtemplate extends LitElement {
20692
20692
  }
20693
20693
  }
20694
20694
 
20695
- var formkitVersion = '202611081756';
20695
+ var formkitVersion = '202611081803';
20696
20696
 
20697
20697
  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
20698
 
@@ -22,17 +22,17 @@ A counter that lets people choose a number, such as how many passengers are trav
22
22
 
23
23
  ### Properties and attributes
24
24
 
25
- | Properties | Attributes | Modifiers | Type | Default | Category | Range | Description |
26
- | ---------- | ---------- | --------- | ---------------------- | --------- | -------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27
- | appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the colors to match the background behind the counter. Use `inverse` on dark backgrounds and `default` on light ones. |
28
- | disabled | disabled | | boolean | | ui | | Turns the counter off. A disabled counter is shown in a muted style, its buttons can't be clicked, and it's removed from the keyboard tab order. |
29
- | onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Shows the counter in colors for dark backgrounds. |
30
- | error | error | | string | | behavior | | 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. |
31
- | max | max | | number | `9` | behavior | 0–9 | Sets the highest value the counter allows. The plus button turns off at this value. |
32
- | min | min | | number | `0` | behavior | 0–9 | Sets the lowest value the counter allows. The counter starts at this value, and the minus button turns off at it. |
33
- | name | name | | string | | behavior | | Sets the key for this counter's entry in the group's `value` object, such as `adults`. Applies only inside `auro-counter-group`, which uses `counter-0`, `counter-1`, and so on for counters without a name. |
34
- | validity | validity | readonly | string | | behavior | | Reports whether the counter passes validation: `valid`, or the reason it fails, such as `customError`, `rangeOverflow`, or `rangeUnderflow`. |
35
- | value | value | | number \| undefined | | behavior | | Sets the counter's value. A value outside `min` and `max` (0–9 by default) isn't moved back into range; it marks the counter invalid instead. A value that's `undefined`, `null`, or not a number clears the value to `undefined`. |
25
+ | Properties | Attributes | Modifiers | Type | Default | Category | Range | Description |
26
+ | ---------- | ---------- | --------- | ---------------------- | --------- | -------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27
+ | appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the colors to match the background behind the counter. Use `inverse` on dark backgrounds and `default` on light ones. |
28
+ | disabled | disabled | | boolean | | ui | | Turns the counter off. A disabled counter is shown in a muted style, its buttons can't be clicked, and it's removed from the keyboard tab order. |
29
+ | onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Shows the counter in colors for dark backgrounds. |
30
+ | error | error | | string | | behavior | | 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`. |
31
+ | max | max | | number | `9` | behavior | 0–9 | Sets the highest value the counter allows. The plus button turns off at this value. |
32
+ | min | min | | number | `0` | behavior | 0–9 | Sets the lowest value the counter allows. The counter starts at this value, and the minus button turns off at it. |
33
+ | name | name | | string | | behavior | | Sets the key for this counter's entry in the group's `value` object, such as `adults`. Applies only inside `auro-counter-group`, which uses `counter-0`, `counter-1`, and so on for counters without a name. |
34
+ | validity | validity | readonly | string | | behavior | | Reports whether the counter passes validation: `valid`, or the reason it fails, such as `customError`, `rangeOverflow`, or `rangeUnderflow`. |
35
+ | value | value | | number \| undefined | | behavior | | Sets the counter's value. A value outside `min` and `max` (0–9 by default) isn't moved back into range; it marks the counter invalid instead. A value that's `undefined`, `null`, or not a number clears the value to `undefined`. |
36
36
 
37
37
  ### Methods
38
38
 
@@ -46,9 +46,9 @@ A counter that lets people choose a number, such as how many passengers are trav
46
46
 
47
47
  ### Events
48
48
 
49
- | Name | Description |
50
- | ----- | ---------------------------------------------- |
51
- | input | Notifies that the counter's value has changed. |
49
+ | Name | Description |
50
+ | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
51
+ | 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. |
52
52
 
53
53
  ### Slots
54
54
 
@@ -134,10 +134,10 @@ Groups related counters, such as passenger types, so they share one total and on
134
134
 
135
135
  ### Events
136
136
 
137
- | Name | Description |
138
- | ------------------------- | -------------------------------------------------------------------------------------------------------------- |
139
- | auroFormElement-validated | Fires each time the group is validated, with the result in `event.detail.validity` and `event.detail.message`. |
140
- | input | Fires when any counter's value changes, with the new `total` and `value` in `event.detail`. |
137
+ | Name | Description |
138
+ | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
139
+ | auroFormElement-validated | Fires each time the group is validated, with the result in `event.detail.validity` and `event.detail.message`. |
140
+ | 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. |
141
141
 
142
142
  ### Slots
143
143
 
@@ -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 = '202611081803';
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 = '202611081803';
5785
5785
 
5786
5786
  /**
5787
5787
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -8382,7 +8382,7 @@ const counterGroupKeyboardStrategy = {
8382
8382
  * @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
8383
  *
8384
8384
  * @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`.
8385
+ * @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
8386
  */
8387
8387
  class AuroCounterGroup extends AuroElement {
8388
8388
  constructor() {
@@ -8514,8 +8514,8 @@ class AuroCounterGroup extends AuroElement {
8514
8514
  },
8515
8515
 
8516
8516
  /**
8517
- * The current error message to display when the component is invalid.
8518
- * This is set by validation and isn't available to consumers.
8517
+ * Holds the error message shown while the group is invalid.
8518
+ * Validation sets it, and it isn't available to consumers.
8519
8519
  * @private
8520
8520
  */
8521
8521
  errorMessage: {
@@ -8712,7 +8712,7 @@ class AuroCounterGroup extends AuroElement {
8712
8712
  },
8713
8713
 
8714
8714
  /**
8715
- * The current text in the valueText slot.
8715
+ * Holds the text in the `valueText` slot.
8716
8716
  * @category behavior
8717
8717
  * @private
8718
8718
  */
@@ -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 = '202611081803';
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 = '202611081803';
5783
5783
 
5784
5784
  /**
5785
5785
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -8380,7 +8380,7 @@ const counterGroupKeyboardStrategy = {
8380
8380
  * @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
8381
  *
8382
8382
  * @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`.
8383
+ * @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
8384
  */
8385
8385
  class AuroCounterGroup extends AuroElement {
8386
8386
  constructor() {
@@ -8512,8 +8512,8 @@ class AuroCounterGroup extends AuroElement {
8512
8512
  },
8513
8513
 
8514
8514
  /**
8515
- * The current error message to display when the component is invalid.
8516
- * This is set by validation and isn't available to consumers.
8515
+ * Holds the error message shown while the group is invalid.
8516
+ * Validation sets it, and it isn't available to consumers.
8517
8517
  * @private
8518
8518
  */
8519
8519
  errorMessage: {
@@ -8710,7 +8710,7 @@ class AuroCounterGroup extends AuroElement {
8710
8710
  },
8711
8711
 
8712
8712
  /**
8713
- * The current text in the valueText slot.
8713
+ * Holds the text in the `valueText` slot.
8714
8714
  * @category behavior
8715
8715
  * @private
8716
8716
  */
@@ -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() {