@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.15 → 0.0.0-pr1628.17

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 (85) hide show
  1. package/components/checkbox/demo/api.md +18 -18
  2. package/components/checkbox/demo/customize.md +2 -2
  3. package/components/checkbox/demo/customize.min.js +3 -3
  4. package/components/checkbox/demo/getting-started.min.js +3 -3
  5. package/components/checkbox/demo/index.min.js +3 -3
  6. package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
  7. package/components/checkbox/dist/auro-checkbox.d.ts +1 -1
  8. package/components/checkbox/dist/index.js +3 -3
  9. package/components/checkbox/dist/registered.js +3 -3
  10. package/components/combobox/demo/api.md +16 -16
  11. package/components/combobox/demo/customize.min.js +32 -38
  12. package/components/combobox/demo/getting-started.md +1 -1
  13. package/components/combobox/demo/getting-started.min.js +32 -38
  14. package/components/combobox/demo/index.min.js +32 -38
  15. package/components/combobox/dist/auro-combobox.d.ts +5 -3
  16. package/components/combobox/dist/index.js +30 -36
  17. package/components/combobox/dist/registered.js +30 -36
  18. package/components/counter/demo/accessibility.md +1 -1
  19. package/components/counter/demo/css-only.md +5 -5
  20. package/components/counter/demo/customize.min.js +15 -13
  21. package/components/counter/demo/getting-started.min.js +15 -13
  22. package/components/counter/demo/index.min.js +15 -13
  23. package/components/counter/demo/voiceover.md +1 -1
  24. package/components/counter/demo/why-counter.md +3 -3
  25. package/components/counter/dist/auro-counter-group.d.ts +1 -0
  26. package/components/counter/dist/index.js +15 -13
  27. package/components/counter/dist/registered.js +15 -13
  28. package/components/datepicker/demo/customize.min.js +22 -19
  29. package/components/datepicker/demo/getting-started.min.js +22 -19
  30. package/components/datepicker/demo/index.min.js +22 -19
  31. package/components/datepicker/dist/index.js +22 -19
  32. package/components/datepicker/dist/registered.js +22 -19
  33. package/components/dropdown/demo/api.md +1 -1
  34. package/components/dropdown/demo/customize.min.js +8 -7
  35. package/components/dropdown/demo/getting-started.min.js +15 -13
  36. package/components/dropdown/demo/index.min.js +8 -7
  37. package/components/dropdown/dist/auro-dropdown.d.ts +1 -1
  38. package/components/dropdown/dist/index.js +8 -7
  39. package/components/dropdown/dist/registered.js +8 -7
  40. package/components/form/demo/api.md +1 -1
  41. package/components/form/demo/customize.min.js +111 -117
  42. package/components/form/demo/getting-started.min.js +111 -117
  43. package/components/form/demo/index.min.js +111 -117
  44. package/components/form/demo/registerDemoDeps.min.js +110 -116
  45. package/components/form/demo/why-form.md +1 -1
  46. package/components/form/dist/auro-form.d.ts +1 -1
  47. package/components/form/dist/index.js +1 -1
  48. package/components/form/dist/registered.js +1 -1
  49. package/components/input/demo/api.md +6 -6
  50. package/components/input/demo/customize.min.js +7 -6
  51. package/components/input/demo/getting-started.min.js +7 -6
  52. package/components/input/demo/index.min.js +7 -6
  53. package/components/input/dist/auro-input.d.ts +1 -1
  54. package/components/input/dist/base-input.d.ts +2 -1
  55. package/components/input/dist/index.js +7 -6
  56. package/components/input/dist/registered.js +7 -6
  57. package/components/layoutElement/dist/auroElement.d.ts +4 -3
  58. package/components/layoutElement/dist/index.js +4 -3
  59. package/components/layoutElement/dist/registered.js +4 -3
  60. package/components/menu/demo/api.md +1 -1
  61. package/components/menu/demo/index.min.js +6 -5
  62. package/components/menu/dist/auro-menu.d.ts +8 -3
  63. package/components/menu/dist/auro-menuoption.d.ts +2 -2
  64. package/components/menu/dist/index.js +6 -5
  65. package/components/menu/dist/registered.js +6 -5
  66. package/components/radio/demo/api.md +16 -16
  67. package/components/radio/demo/customize.md +1 -1
  68. package/components/radio/demo/customize.min.js +4 -4
  69. package/components/radio/demo/getting-started.min.js +4 -4
  70. package/components/radio/demo/index.min.js +4 -4
  71. package/components/radio/dist/auro-radio-group.d.ts +2 -2
  72. package/components/radio/dist/auro-radio.d.ts +1 -1
  73. package/components/radio/dist/index.js +4 -4
  74. package/components/radio/dist/registered.js +4 -4
  75. package/components/select/demo/api.md +47 -47
  76. package/components/select/demo/css-only.md +1 -1
  77. package/components/select/demo/customize.min.js +25 -32
  78. package/components/select/demo/getting-started.min.js +25 -32
  79. package/components/select/demo/index.md +1 -1
  80. package/components/select/demo/index.min.js +25 -32
  81. package/components/select/dist/auro-select.d.ts +4 -3
  82. package/components/select/dist/index.js +23 -30
  83. package/components/select/dist/registered.js +23 -30
  84. package/custom-elements.json +25 -25
  85. package/package.json +1 -1
@@ -678,20 +678,11 @@ function guardTouchPassthrough(element) {
678
678
  }
679
679
 
680
680
  /**
681
- * Restores the dropdown trigger after a fullscreen dialog closes without focus
682
- * leaving the component, such as when the Esc or Enter key closes it.
683
- * When focus leaves the component, for example by tabbing out of the combobox
684
- * after closing the fullscreen dialog, the browser's native dialog focus
685
- * restoration handles it, so this function only restores focus when focus
686
- * remains inside the component after the dialog closes.
687
- *
688
- * Removes the `inert` attribute from the trigger so it's accessible again,
689
- * and restores focus to the given target after one animation frame. The rAF
690
- * delay lets Lit's microtask update cycle call `dialog.close()` first. Without
691
- * it, the browser's native dialog focus restoration can conflict.
692
- *
693
- * The focus is only applied if the dropdown is still closed at the time the
694
- * rAF fires, guarding against a rapid close-then-reopen race.
681
+ * Restores the dropdown trigger after a fullscreen dialog closes, so keyboard users keep their place.
682
+ * Removes the `inert` attribute from the trigger, then, after one animation frame, moves focus to
683
+ * the given target if the dropdown is still closed and focus is inside the trigger.
684
+ * The one-frame wait lets Lit finish closing the dialog first, because the browser's native dialog
685
+ * focus restoration can conflict otherwise.
695
686
  *
696
687
  * @param {HTMLElement} dropdown - The `auro-dropdown` element.
697
688
  * @param {HTMLElement} focusTarget - The element to focus, such as the trigger or the input.
@@ -710,8 +701,8 @@ function restoreTriggerAfterClose(dropdown, focusTarget) {
710
701
  }
711
702
 
712
703
  /**
713
- * Creates a snapshot of the dropdown's display state for one keydown event.
714
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
704
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
705
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
715
706
  *
716
707
  * @param {HTMLElement} component - The component with a dropdown reference.
717
708
  * @param {Object} [options] - The optional settings.
@@ -4482,8 +4473,8 @@ let p$3 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
4482
4473
  var iconVersion$2 = '9.2.0';
4483
4474
 
4484
4475
  /**
4485
- * Creates a snapshot of the dropdown's display state for one keydown event.
4486
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
4476
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
4477
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
4487
4478
  *
4488
4479
  * @param {HTMLElement} component - The component with a dropdown reference.
4489
4480
  * @param {Object} [options] - The optional settings.
@@ -5232,16 +5223,17 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5232
5223
  }
5233
5224
  };
5234
5225
 
5235
- var formkitVersion$2 = '202611092125';
5226
+ var formkitVersion$2 = '202611121951';
5236
5227
 
5237
5228
  /**
5238
5229
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
5239
5230
  *
5240
5231
  * It declares the `onDark` property and provides helpers that apply the
5241
5232
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
5242
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
5243
- * `shape`, and `size` properties with its own values and defaults, and
5244
- * implements `renderLayout()`, which `render()` calls.
5233
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
5234
+ * `shape`, and `size` properties they use, each with its own values and
5235
+ * default. The base `render()` calls `renderLayout()`, which a subclass
5236
+ * implements unless it overrides `render()`.
5245
5237
  *
5246
5238
  * **Key capabilities**
5247
5239
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -5900,7 +5892,7 @@ class AuroDropdown extends AuroElement$2 {
5900
5892
  /**
5901
5893
  * Sets the height of the trigger, from `xs`, the shortest, to `xl`, the tallest.
5902
5894
  * Applies only when `shape` is also set.
5903
- * The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them.
5895
+ * Each shape has styles for only some sizes: `box` for all five; `pill`, `pill-left`, and `pill-right` for `md` and `xl`; `rounded` for `lg`; and `classic` and `snowflake` for one fixed height at any size.
5904
5896
  * @relevantWhen shape !== undefined
5905
5897
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
5906
5898
  * @category ui
@@ -11390,9 +11382,10 @@ class AuroFormValidation {
11390
11382
  *
11391
11383
  * It declares the `onDark` property and provides helpers that apply the
11392
11384
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
11393
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
11394
- * `shape`, and `size` properties with its own values and defaults, and
11395
- * implements `renderLayout()`, which `render()` calls.
11385
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
11386
+ * `shape`, and `size` properties they use, each with its own values and
11387
+ * default. The base `render()` calls `renderLayout()`, which a subclass
11388
+ * implements unless it overrides `render()`.
11396
11389
  *
11397
11390
  * **Key capabilities**
11398
11391
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -17438,7 +17431,7 @@ class DomHandler {
17438
17431
 
17439
17432
  /**
17440
17433
  * Shared base class for `auro-input` that handles the value, formatting, and validation.
17441
- * @event input - Fires when the value changes, whether the user types or code sets the value. Events from code changes have `isProgrammatic` set to `true`.
17434
+ * @event input - Fires when the value changes. Typing fires the browser's `input` event, and every change to `value` also fires an `input` event with `isProgrammatic` set to `true`. To respond only to typing, skip events that have `isProgrammatic` set.
17442
17435
  * @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
17443
17436
  * @event auroInput-validityChange - Fires when `validity` changes.
17444
17437
  */
@@ -19409,7 +19402,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
19409
19402
  }
19410
19403
  };
19411
19404
 
19412
- var formkitVersion$1 = '202611092125';
19405
+ var formkitVersion$1 = '202611121951';
19413
19406
 
19414
19407
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19415
19408
  // See LICENSE in the project root for license information.
@@ -19420,7 +19413,7 @@ var formkitVersion$1 = '202611092125';
19420
19413
  *
19421
19414
  * **Key capabilities**
19422
19415
  * - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
19423
- * - **Validation messages**: Set `required`, `minlength`, `maxlength`, `pattern`, `min`, or `max` to show an error message below the field when the value doesn't meet the rule.
19416
+ * - **Validation messages**: Set `required`, `minlength`, `maxlength`, or `pattern` to show an error message below the field when the value doesn't meet the rule; `min` and `max` work only with `type="number"`, or with `type="date"` and a `format` that has a day, month, and year.
19424
19417
  * - **Clear button**: The input always shows a button that clears the value when the field has a value, isn't disabled or read-only, and the user hovers over it or moves focus into it.
19425
19418
  * - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
19426
19419
  * - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
@@ -20695,7 +20688,7 @@ class AuroBibtemplate extends LitElement {
20695
20688
  }
20696
20689
  }
20697
20690
 
20698
- var formkitVersion = '202611092125';
20691
+ var formkitVersion = '202611121951';
20699
20692
 
20700
20693
  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}`;
20701
20694
 
@@ -20708,9 +20701,10 @@ var styleSnowflakeCss = css`:host([layout*=snowflake][shape*=snowflake]) [auro-i
20708
20701
  *
20709
20702
  * It declares the `onDark` property and provides helpers that apply the
20710
20703
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
20711
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
20712
- * `shape`, and `size` properties with its own values and defaults, and
20713
- * implements `renderLayout()`, which `render()` calls.
20704
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
20705
+ * `shape`, and `size` properties they use, each with its own values and
20706
+ * default. The base `render()` calls `renderLayout()`, which a subclass
20707
+ * implements unless it overrides `render()`.
20714
20708
  *
20715
20709
  * **Key capabilities**
20716
20710
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -21141,7 +21135,7 @@ function getOptionLabel(option) {
21141
21135
  *
21142
21136
  * **Key capabilities**
21143
21137
  * - **Suggestion or filter**: Set `behavior="filter"` to require choosing an option from the menu; the default, `suggestion`, also accepts typed text.
21144
- * - **Filtering as people type**: Typing always hides options whose text doesn't include the typed text, unless `noFilter` is set.
21138
+ * - **Filtering as people type**: Typing hides options that don't match the typed text or their `suggest` keywords, unless `noFilter` is set; `persistent` options always stay visible.
21145
21139
  * - **Validation**: Set `required` to require a value, and `setCustomValidity` to change the error message.
21146
21140
  * - **Fullscreen on small screens**: Set `fullscreenBreakpoint` to choose the largest screen size at which the list opens as a fullscreen dialog.
21147
21141
  * - **Layouts**: Set `layout` to `classic`, `emphasized`, or `snowflake` to change the overall look.
@@ -22135,9 +22129,9 @@ class AuroCombobox extends AuroElement {
22135
22129
  }
22136
22130
 
22137
22131
  /**
22138
- * Opens the bib when the input has text and there's something to show: options or a `nomatch` option.
22132
+ * Opens the bib when the input has text and the menu has options to show, a `nomatch` option, or a `loading` attribute with a value, such as `loading="loading"`.
22139
22133
  * When the menu is loading without `loadingText` or `loadingIcon` content, the bib opens once loading ends, if focus is still in the combobox.
22140
- * Doesn't currently open the bib for a loading menu that has no options yet.
22134
+ * Doesn't currently open the bib for a menu with no options to show, no `nomatch` option, and an empty `loading` attribute, such as the one the menu's `loading` property sets.
22141
22135
  * @returns {void}
22142
22136
  */
22143
22137
  showBib() {
@@ -19,7 +19,7 @@
19
19
  </section>
20
20
  <section>
21
21
  <auro-header level="2" id="screenReader">Screen reader announcements</auro-header>
22
- <p>The counter keeps its <code>aria-valuenow</code> and <code>aria-valuetext</code> attributes set to the current value, so screen readers announce the new value when it changes. When the counter gets focus, screen readers announce its label and current value.</p>
22
+ <p>The counter updates its <code>aria-valuenow</code> and <code>aria-valuetext</code> attributes when the value changes, so screen readers announce the new value. The counter doesn't currently set <code>aria-valuetext</code> to the bare number: it wraps the number in single quotes, such as <code>'2'</code>. When the counter gets focus, screen readers announce its label and current value.</p>
23
23
  </section>
24
24
  <section>
25
25
  <auro-header level="2" id="disabledState">Disabled state</auro-header>
@@ -87,7 +87,7 @@
87
87
  <auro-header level="3">Coordinated value object and total</auro-header>
88
88
  <p><code>auro-counter-group</code> exposes a single <code>value</code> property as an object keyed by each counter's <code>name</code>, along with a separate <code>total</code> property for the aggregate sum. With native HTML, you must query each input individually, build the value object yourself, and recompute the total on every change.</p>
89
89
  <auro-header level="3">Spinbutton ARIA semantics</auro-header>
90
- <p><code>auro-counter</code> renders a <code>role="spinbutton"</code> element with <code>aria-valuemin</code>, <code>aria-valuemax</code>, <code>aria-valuenow</code>, <code>aria-valuetext</code>, and <code>aria-labelledby</code> so screen readers announce the value as a spinbutton, the role most of them expect for stepper controls. A native <code>&lt;input type="number"&gt;</code> is announced as an editable text field, not a spinbutton, and native HTML has no slots for naming the surrounding +/− buttons.</p>
90
+ <p><code>auro-counter</code> renders a <code>role="spinbutton"</code> element with <code>aria-valuemin</code>, <code>aria-valuemax</code>, <code>aria-valuenow</code>, <code>aria-valuetext</code>, and <code>aria-labelledby</code>, and it names the minus and plus buttons through the <code>ariaLabel.minus</code> and <code>ariaLabel.plus</code> slots. A native <code>&lt;input type="number"&gt;</code> also has an implicit <code>spinbutton</code> role, but native HTML has no slots for naming the surrounding +/− buttons, so you add an <code>aria-label</code> to each button yourself.</p>
91
91
  <auro-header level="3">Validation and error messaging</auro-header>
92
92
  <p><code>auro-counter</code> integrates with <code>@aurodesignsystem/form-validation</code> to expose a <code>validity</code> property, an <code>error</code> attribute, and a help text region that switches to an alert with <code>role="alert"</code> and <code>aria-live="assertive"</code> when invalid. Native number inputs surface browser-controlled validation tooltips that aren't announced inline and can't be styled or customized beyond <code>setCustomValidity()</code>.</p>
93
93
  <auro-header level="3">Keyboard strategy</auro-header>
@@ -141,9 +141,9 @@
141
141
  <td>Single <code>value</code> and <code>total</code></td>
142
142
  </tr>
143
143
  <tr>
144
- <td>Spinbutton ARIA semantics</td>
145
- <td>Not supported</td>
146
- <td><code>role="spinbutton"</code> with value, range, and label attributes</td>
144
+ <td>Named plus and minus buttons</td>
145
+ <td>Manual <code>aria-label</code> on each button</td>
146
+ <td><code>ariaLabel.minus</code> and <code>ariaLabel.plus</code> slots</td>
147
147
  </tr>
148
148
  <tr>
149
149
  <td>Validation messages</td>
@@ -178,4 +178,4 @@
178
178
  </tbody>
179
179
  </table>
180
180
  <auro-header level="2">Recommendation</auro-header>
181
- <p>Use <code>auro-counter</code> and <code>auro-counter-group</code> whenever possible. Fall back to a CSS-styled native number input only in environments that don't support custom elements, or when integrating with third-party systems that require plain HTML. Be prepared to rebuild button wiring, min/max disabling, group totals, spinbutton ARIA, and keyboard coordination yourself.</p>
181
+ <p>Use <code>auro-counter</code> and <code>auro-counter-group</code> whenever possible. Fall back to a CSS-styled native number input only in environments that don't support custom elements, or when integrating with third-party systems that require plain HTML. Be prepared to rebuild button wiring, <code>min</code> and <code>max</code> disabling, group totals, accessible button names, and keyboard coordination yourself.</p>
@@ -854,8 +854,8 @@ class IconUtil {
854
854
  */let e$1 = class e extends i{constructor(i){if(super(i),this.it=A$2,i.type!==t.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===A$2||null==r)return this._t=void 0,this.it=r;if(r===E)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;const s=[r];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}};e$1.directiveName="unsafeHTML",e$1.resultType=1;
855
855
 
856
856
  /**
857
- * Creates a snapshot of the dropdown's display state for one keydown event.
858
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
857
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
858
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
859
859
  *
860
860
  * @param {HTMLElement} component - The component with a dropdown reference.
861
861
  * @param {Object} [options] - The optional settings.
@@ -1166,7 +1166,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
1166
1166
  }
1167
1167
  };
1168
1168
 
1169
- var formkitVersion$1 = '202611092125';
1169
+ var formkitVersion$1 = '202611121951';
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.
@@ -5031,8 +5031,8 @@ let p$2 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
5031
5031
  var iconVersion$1 = '9.2.0';
5032
5032
 
5033
5033
  /**
5034
- * Creates a snapshot of the dropdown's display state for one keydown event.
5035
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
5034
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
5035
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
5036
5036
  *
5037
5037
  * @param {HTMLElement} component - The component with a dropdown reference.
5038
5038
  * @param {Object} [options] - The optional settings.
@@ -5781,16 +5781,17 @@ class AuroHelpText extends i$1 {
5781
5781
  }
5782
5782
  }
5783
5783
 
5784
- var formkitVersion = '202611092125';
5784
+ var formkitVersion = '202611121951';
5785
5785
 
5786
5786
  /**
5787
5787
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
5788
5788
  *
5789
5789
  * It declares the `onDark` property and provides helpers that apply the
5790
5790
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
5791
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
5792
- * `shape`, and `size` properties with its own values and defaults, and
5793
- * implements `renderLayout()`, which `render()` calls.
5791
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
5792
+ * `shape`, and `size` properties they use, each with its own values and
5793
+ * default. The base `render()` calls `renderLayout()`, which a subclass
5794
+ * implements unless it overrides `render()`.
5794
5795
  *
5795
5796
  * **Key capabilities**
5796
5797
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -6449,7 +6450,7 @@ class AuroDropdown extends AuroElement$1 {
6449
6450
  /**
6450
6451
  * Sets the height of the trigger, from `xs`, the shortest, to `xl`, the tallest.
6451
6452
  * Applies only when `shape` is also set.
6452
- * The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them.
6453
+ * Each shape has styles for only some sizes: `box` for all five; `pill`, `pill-left`, and `pill-right` for `md` and `xl`; `rounded` for `lg`; and `classic` and `snowflake` for one fixed height at any size.
6453
6454
  * @relevantWhen shape !== undefined
6454
6455
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
6455
6456
  * @category ui
@@ -7916,9 +7917,10 @@ if (!customElements.get("auro-counter-wrapper")) {
7916
7917
  *
7917
7918
  * It declares the `onDark` property and provides helpers that apply the
7918
7919
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
7919
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
7920
- * `shape`, and `size` properties with its own values and defaults, and
7921
- * implements `renderLayout()`, which `render()` calls.
7920
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
7921
+ * `shape`, and `size` properties they use, each with its own values and
7922
+ * default. The base `render()` calls `renderLayout()`, which a subclass
7923
+ * implements unless it overrides `render()`.
7922
7924
  *
7923
7925
  * **Key capabilities**
7924
7926
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -852,8 +852,8 @@ class IconUtil {
852
852
  */let e$1 = class e extends i{constructor(i){if(super(i),this.it=A$2,i.type!==t.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===A$2||null==r)return this._t=void 0,this.it=r;if(r===E)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;const s=[r];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}};e$1.directiveName="unsafeHTML",e$1.resultType=1;
853
853
 
854
854
  /**
855
- * Creates a snapshot of the dropdown's display state for one keydown event.
856
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
855
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
856
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
857
857
  *
858
858
  * @param {HTMLElement} component - The component with a dropdown reference.
859
859
  * @param {Object} [options] - The optional settings.
@@ -1164,7 +1164,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1164
1164
  }
1165
1165
  };
1166
1166
 
1167
- var formkitVersion$1 = '202611092125';
1167
+ var formkitVersion$1 = '202611121951';
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.
@@ -5029,8 +5029,8 @@ let p$2 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
5029
5029
  var iconVersion$1 = '9.2.0';
5030
5030
 
5031
5031
  /**
5032
- * Creates a snapshot of the dropdown's display state for one keydown event.
5033
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
5032
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
5033
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
5034
5034
  *
5035
5035
  * @param {HTMLElement} component - The component with a dropdown reference.
5036
5036
  * @param {Object} [options] - The optional settings.
@@ -5779,16 +5779,17 @@ class AuroHelpText extends i$2 {
5779
5779
  }
5780
5780
  }
5781
5781
 
5782
- var formkitVersion = '202611092125';
5782
+ var formkitVersion = '202611121951';
5783
5783
 
5784
5784
  /**
5785
5785
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
5786
5786
  *
5787
5787
  * It declares the `onDark` property and provides helpers that apply the
5788
5788
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
5789
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
5790
- * `shape`, and `size` properties with its own values and defaults, and
5791
- * implements `renderLayout()`, which `render()` calls.
5789
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
5790
+ * `shape`, and `size` properties they use, each with its own values and
5791
+ * default. The base `render()` calls `renderLayout()`, which a subclass
5792
+ * implements unless it overrides `render()`.
5792
5793
  *
5793
5794
  * **Key capabilities**
5794
5795
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -6447,7 +6448,7 @@ class AuroDropdown extends AuroElement$1 {
6447
6448
  /**
6448
6449
  * Sets the height of the trigger, from `xs`, the shortest, to `xl`, the tallest.
6449
6450
  * Applies only when `shape` is also set.
6450
- * The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them.
6451
+ * Each shape has styles for only some sizes: `box` for all five; `pill`, `pill-left`, and `pill-right` for `md` and `xl`; `rounded` for `lg`; and `classic` and `snowflake` for one fixed height at any size.
6451
6452
  * @relevantWhen shape !== undefined
6452
6453
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
6453
6454
  * @category ui
@@ -7914,9 +7915,10 @@ if (!customElements.get("auro-counter-wrapper")) {
7914
7915
  *
7915
7916
  * It declares the `onDark` property and provides helpers that apply the
7916
7917
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
7917
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
7918
- * `shape`, and `size` properties with its own values and defaults, and
7919
- * implements `renderLayout()`, which `render()` calls.
7918
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
7919
+ * `shape`, and `size` properties they use, each with its own values and
7920
+ * default. The base `render()` calls `renderLayout()`, which a subclass
7921
+ * implements unless it overrides `render()`.
7920
7922
  *
7921
7923
  * **Key capabilities**
7922
7924
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -852,8 +852,8 @@ class IconUtil {
852
852
  */let e$1 = class e extends i{constructor(i){if(super(i),this.it=A$2,i.type!==t.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===A$2||null==r)return this._t=void 0,this.it=r;if(r===E)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;const s=[r];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}};e$1.directiveName="unsafeHTML",e$1.resultType=1;
853
853
 
854
854
  /**
855
- * Creates a snapshot of the dropdown's display state for one keydown event.
856
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
855
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
856
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
857
857
  *
858
858
  * @param {HTMLElement} component - The component with a dropdown reference.
859
859
  * @param {Object} [options] - The optional settings.
@@ -1164,7 +1164,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1164
1164
  }
1165
1165
  };
1166
1166
 
1167
- var formkitVersion$1 = '202611092125';
1167
+ var formkitVersion$1 = '202611121951';
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.
@@ -5029,8 +5029,8 @@ let p$2 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
5029
5029
  var iconVersion$1 = '9.2.0';
5030
5030
 
5031
5031
  /**
5032
- * Creates a snapshot of the dropdown's display state for one keydown event.
5033
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
5032
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
5033
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
5034
5034
  *
5035
5035
  * @param {HTMLElement} component - The component with a dropdown reference.
5036
5036
  * @param {Object} [options] - The optional settings.
@@ -5779,16 +5779,17 @@ class AuroHelpText extends i$2 {
5779
5779
  }
5780
5780
  }
5781
5781
 
5782
- var formkitVersion = '202611092125';
5782
+ var formkitVersion = '202611121951';
5783
5783
 
5784
5784
  /**
5785
5785
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
5786
5786
  *
5787
5787
  * It declares the `onDark` property and provides helpers that apply the
5788
5788
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
5789
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
5790
- * `shape`, and `size` properties with its own values and defaults, and
5791
- * implements `renderLayout()`, which `render()` calls.
5789
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
5790
+ * `shape`, and `size` properties they use, each with its own values and
5791
+ * default. The base `render()` calls `renderLayout()`, which a subclass
5792
+ * implements unless it overrides `render()`.
5792
5793
  *
5793
5794
  * **Key capabilities**
5794
5795
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -6447,7 +6448,7 @@ class AuroDropdown extends AuroElement$1 {
6447
6448
  /**
6448
6449
  * Sets the height of the trigger, from `xs`, the shortest, to `xl`, the tallest.
6449
6450
  * Applies only when `shape` is also set.
6450
- * The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them.
6451
+ * Each shape has styles for only some sizes: `box` for all five; `pill`, `pill-left`, and `pill-right` for `md` and `xl`; `rounded` for `lg`; and `classic` and `snowflake` for one fixed height at any size.
6451
6452
  * @relevantWhen shape !== undefined
6452
6453
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
6453
6454
  * @category ui
@@ -7914,9 +7915,10 @@ if (!customElements.get("auro-counter-wrapper")) {
7914
7915
  *
7915
7916
  * It declares the `onDark` property and provides helpers that apply the
7916
7917
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
7917
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
7918
- * `shape`, and `size` properties with its own values and defaults, and
7919
- * implements `renderLayout()`, which `render()` calls.
7918
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
7919
+ * `shape`, and `size` properties they use, each with its own values and
7920
+ * default. The base `render()` calls `renderLayout()`, which a subclass
7921
+ * implements unless it overrides `render()`.
7920
7922
  *
7921
7923
  * **Key capabilities**
7922
7924
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -39,7 +39,7 @@
39
39
  </ol>
40
40
  <p>Without those slots, the buttons fall back to the symbols "−" and "+" as their labels.</p>
41
41
  <auro-header level="3" id="voiceOverValueChange">Value change</auro-header>
42
- <p>When the counter value changes (via button activation or arrow keys), VoiceOver announces the updated value from the spinbutton's <code>aria-valuenow</code> and <code>aria-valuetext</code> attributes.</p>
42
+ <p>When the counter value changes (via button activation or arrow keys), VoiceOver announces the updated value from the spinbutton's <code>aria-valuenow</code> and <code>aria-valuetext</code> attributes. The counter doesn't currently set <code>aria-valuetext</code> to the bare number: it wraps the number in single quotes, such as <code>'2'</code>.</p>
43
43
  <auro-header level="2" id="voiceOverStandaloneWorkflow">Standalone counter workflow</auro-header>
44
44
  <ol>
45
45
  <li><strong>Focus decrement button:</strong> Announces button label and state</li>
@@ -65,9 +65,9 @@
65
65
  </thead>
66
66
  <tbody>
67
67
  <tr>
68
- <td>ARIA spinbutton semantics</td>
69
- <td>No</td>
70
- <td>Yes, except <code>aria-invalid</code></td>
68
+ <td>Named plus and minus buttons</td>
69
+ <td>Manual <code>aria-label</code> on each button</td>
70
+ <td>Yes, with the <code>ariaLabel.minus</code> and <code>ariaLabel.plus</code> slots</td>
71
71
  </tr>
72
72
  <tr>
73
73
  <td>Auto-disable at min/max</td>
@@ -443,6 +443,7 @@ export class AuroCounterGroup extends AuroElement {
443
443
  */
444
444
  private renderLayoutClassic;
445
445
  shape: any;
446
+ layout: any;
446
447
  size: any;
447
448
  /**
448
449
  * Renders the snowflake layout.
@@ -802,8 +802,8 @@ class IconUtil {
802
802
  }
803
803
 
804
804
  /**
805
- * Creates a snapshot of the dropdown's display state for one keydown event.
806
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
805
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
806
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
807
807
  *
808
808
  * @param {HTMLElement} component - The component with a dropdown reference.
809
809
  * @param {Object} [options] - The optional settings.
@@ -1114,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
1114
1114
  }
1115
1115
  };
1116
1116
 
1117
- var formkitVersion$1 = '202611092125';
1117
+ var formkitVersion$1 = '202611121951';
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.
@@ -4961,8 +4961,8 @@ let p$2 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
4961
4961
  var iconVersion$1 = '9.2.0';
4962
4962
 
4963
4963
  /**
4964
- * Creates a snapshot of the dropdown's display state for one keydown event.
4965
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
4964
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
4965
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
4966
4966
  *
4967
4967
  * @param {HTMLElement} component - The component with a dropdown reference.
4968
4968
  * @param {Object} [options] - The optional settings.
@@ -5711,16 +5711,17 @@ class AuroHelpText extends LitElement {
5711
5711
  }
5712
5712
  }
5713
5713
 
5714
- var formkitVersion = '202611092125';
5714
+ var formkitVersion = '202611121951';
5715
5715
 
5716
5716
  /**
5717
5717
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
5718
5718
  *
5719
5719
  * It declares the `onDark` property and provides helpers that apply the
5720
5720
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
5721
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
5722
- * `shape`, and `size` properties with its own values and defaults, and
5723
- * implements `renderLayout()`, which `render()` calls.
5721
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
5722
+ * `shape`, and `size` properties they use, each with its own values and
5723
+ * default. The base `render()` calls `renderLayout()`, which a subclass
5724
+ * implements unless it overrides `render()`.
5724
5725
  *
5725
5726
  * **Key capabilities**
5726
5727
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -6379,7 +6380,7 @@ class AuroDropdown extends AuroElement$1 {
6379
6380
  /**
6380
6381
  * Sets the height of the trigger, from `xs`, the shortest, to `xl`, the tallest.
6381
6382
  * Applies only when `shape` is also set.
6382
- * The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them.
6383
+ * Each shape has styles for only some sizes: `box` for all five; `pill`, `pill-left`, and `pill-right` for `md` and `xl`; `rounded` for `lg`; and `classic` and `snowflake` for one fixed height at any size.
6383
6384
  * @relevantWhen shape !== undefined
6384
6385
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
6385
6386
  * @category ui
@@ -7846,9 +7847,10 @@ if (!customElements.get("auro-counter-wrapper")) {
7846
7847
  *
7847
7848
  * It declares the `onDark` property and provides helpers that apply the
7848
7849
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
7849
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
7850
- * `shape`, and `size` properties with its own values and defaults, and
7851
- * implements `renderLayout()`, which `render()` calls.
7850
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
7851
+ * `shape`, and `size` properties they use, each with its own values and
7852
+ * default. The base `render()` calls `renderLayout()`, which a subclass
7853
+ * implements unless it overrides `render()`.
7852
7854
  *
7853
7855
  * **Key capabilities**
7854
7856
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.