@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
@@ -57,11 +57,11 @@ A checkbox that lets people turn one option on or off, usually as one of several
57
57
 
58
58
  ### CSS shadow parts
59
59
 
60
- | Name | Description |
61
- | -------------- | ------------------------------------------------------------------------------------------------------------------------ |
62
- | checkbox | The container that wraps the checkbox's box and its label. |
63
- | checkbox-input | The native `<input type="checkbox">` element. It's visually hidden, so styles on this part don't change the visible box. |
64
- | checkbox-label | The element that wraps the label text from the default slot. |
60
+ | Name | Description |
61
+ | -------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
62
+ | checkbox | The container that wraps the checkbox's box and its label. |
63
+ | checkbox-input | The native `<input type="checkbox">` element. It's hidden with `display: none`, so styles on this part don't change the visible box. |
64
+ | checkbox-label | The element that wraps the label text from the default slot. |
65
65
 
66
66
  # auro-checkbox-group
67
67
 
@@ -84,19 +84,19 @@ A group of related checkboxes with a shared label that lets people select one or
84
84
 
85
85
  ### Properties and attributes
86
86
 
87
- | Properties | Attributes | Modifiers | Type | Default | Category | Relevant when | Description |
88
- | ----------------------------- | ----------------------------- | --------- | ---------------------- | --------- | -------- | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
89
- | appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the group colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.<br>The group passes this value to every checkbox in it. |
90
- | disabled | disabled | | boolean | | ui | | Turns off every checkbox in the group.<br>Removing `disabled` later turns every checkbox back on, including ones you disabled individually. |
91
- | horizontal | horizontal | | boolean | | ui | | Places the checkboxes side by side on one line.<br>Works for up to three checkboxes; groups with four or more stay stacked vertically. |
92
- | onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Shows the group and its checkboxes in colors made for dark backgrounds. |
93
- | error | error | | string | | behavior | | Shows the group in its error state with this message, such as "Select at least one option".<br>The error stays until you remove the attribute. When set, `setCustomValidityCustomError` or `setCustomValidity` replaces the message. |
94
- | noValidate | novalidate | | boolean | | behavior | | Stops the group from validating automatically when focus leaves it or a checkbox changes.<br>To validate the group yourself, call `validate()`. The `error` attribute still applies. |
95
- | required | required | | boolean | | behavior | | Requires at least one checked checkbox in the group and hides the "(optional)" text after the legend.<br>Unless `noValidate` is set, the group shows an error when focus leaves it with nothing checked, or when someone unchecks the last checked option. |
96
- | setCustomValidity | setcustomvalidity | | string | | behavior | | Sets one error message for every kind of error, such as "Choose at least one option".<br>It replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages. |
97
- | setCustomValidityCustomError | setcustomvaliditycustomerror | | string | | behavior | `error !== undefined` | Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.<br>`setCustomValidity` takes priority when both are set. |
98
- | setCustomValidityValueMissing | setcustomvalidityvaluemissing | | string | | behavior | `required` | Sets the error message shown when the group is `required` and no checkbox is checked, such as "Select at least one option".<br>`setCustomValidity` takes priority when both are set. |
99
- | validity | validity | readonly | string | | behavior | | Gets the group's current validation state: `valid`, `valueMissing`, or `customError`.<br>It's `undefined` until the group is first validated. |
87
+ | Properties | Attributes | Modifiers | Type | Default | Category | Relevant when | Description |
88
+ | ----------------------------- | ----------------------------- | --------- | ---------------------- | --------- | -------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
89
+ | appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the group colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.<br>The group passes this value to every checkbox in it. |
90
+ | disabled | disabled | | boolean | | ui | | Turns off every checkbox in the group.<br>Removing `disabled` later turns every checkbox back on, including ones you disabled individually. |
91
+ | horizontal | horizontal | | boolean | | ui | | Places the checkboxes side by side on one line.<br>Works for up to three checkboxes; groups with four or more stay stacked vertically. |
92
+ | onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Shows the group and its checkboxes in colors made for dark backgrounds. |
93
+ | error | error | | string | | behavior | | Shows the group in its error state with this message, such as "Select at least one option".<br>The error stays until you remove the attribute. When set, `setCustomValidityCustomError` or `setCustomValidity` replaces the message. |
94
+ | noValidate | novalidate | | boolean | | behavior | | Stops the group from validating automatically when focus leaves it or a checkbox changes.<br>To validate the group yourself, call `validate(true)`, which checks right away, even before anyone has interacted with the group. The `error` attribute still applies. |
95
+ | required | required | | boolean | | behavior | | Requires at least one checked checkbox in the group and hides the "(optional)" text after the legend.<br>Unless `noValidate` is set, the group shows an error when focus leaves it with nothing checked, or when someone unchecks the last checked option. |
96
+ | setCustomValidity | setcustomvalidity | | string | | behavior | | Sets one error message for every kind of error, such as "Choose at least one option".<br>It replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages. |
97
+ | setCustomValidityCustomError | setcustomvaliditycustomerror | | string | | behavior | `error !== undefined` | Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.<br>`setCustomValidity` takes priority when both are set. |
98
+ | setCustomValidityValueMissing | setcustomvalidityvaluemissing | | string | | behavior | `required` | Sets the error message shown when the group is `required` and no checkbox is checked, such as "Select at least one option".<br>`setCustomValidity` takes priority when both are set. |
99
+ | validity | validity | readonly | string | | behavior | | Gets the group's current validation state: `valid`, `valueMissing`, or `customError`.<br>It's `undefined` until the group is first validated. |
100
100
 
101
101
  ### Methods
102
102
 
@@ -171,7 +171,7 @@
171
171
  <tr><td><code>checkbox-group</code></td><td>The <code>&lt;fieldset&gt;</code> element in the <code>&lt;auro-checkbox-group&gt;</code> shadow DOM that wraps the legend and the checkboxes. It also carries the group's <code>aria-invalid</code> state.</td></tr>
172
172
  <tr><td><code>helpText</code></td><td>The help text element below the <code>&lt;auro-checkbox-group&gt;</code>, which shows the help text or the error message.</td></tr>
173
173
  <tr><td><code>checkbox</code></td><td>The container that wraps the checkbox's box and its label.</td></tr>
174
- <tr><td><code>checkbox-input</code></td><td>The native <code>&lt;input type="checkbox"&gt;</code> element. It's visually hidden, so styles on this part don't change the visible box.</td></tr>
174
+ <tr><td><code>checkbox-input</code></td><td>The native <code>&lt;input type="checkbox"&gt;</code> element. It's hidden with <code>display: none</code>, so styles on this part don't change the visible box.</td></tr>
175
175
  <tr><td><code>checkbox-label</code></td><td>The element that wraps the label text from the default slot.</td></tr>
176
176
  </tbody>
177
177
  </table>
@@ -331,7 +331,7 @@
331
331
  <!-- AURO-GENERATED-CONTENT:END -->
332
332
  </auro-accordion>
333
333
  <auro-header level="3" id="noValidate">No validation</auro-header>
334
- <p>Use the <code>noValidate</code> attribute to stop the group from validating automatically when focus leaves it or a checkbox changes. To validate the group yourself, call the <code>validate()</code> method.</p>
334
+ <p>Use the <code>noValidate</code> attribute to stop the group from validating automatically when focus leaves it or a checkbox changes. To validate the group yourself, call <code>validate(true)</code>, which checks right away, even before anyone has interacted with the group.</p>
335
335
  <div class="exampleWrapper">
336
336
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/no-validate.html) -->
337
337
  <!-- The below content is automatically added from ./../apiExamples/no-validate.html -->
@@ -160,7 +160,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
160
160
  * @customElement auro-checkbox
161
161
  *
162
162
  * @csspart checkbox - The container that wraps the checkbox's box and its label.
163
- * @csspart checkbox-input - The native `<input type="checkbox">` element. It's visually hidden, so styles on this part don't change the visible box.
163
+ * @csspart checkbox-input - The native `<input type="checkbox">` element. It's hidden with `display: none`, so styles on this part don't change the visible box.
164
164
  * @csspart checkbox-label - The element that wraps the label text from the default slot.
165
165
  *
166
166
  * @slot default - Label text for the checkbox, such as "Window seat". Screen readers announce this text as the checkbox's name. {@requiredWhen always} {@category ui}
@@ -1381,7 +1381,7 @@ class AuroHelpText extends i$2 {
1381
1381
  }
1382
1382
  }
1383
1383
 
1384
- var formkitVersion = '202611092125';
1384
+ var formkitVersion = '202611121951';
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.
@@ -1543,7 +1543,7 @@ class AuroCheckboxGroup extends i$2 {
1543
1543
 
1544
1544
  /**
1545
1545
  * Stops the group from validating automatically when focus leaves it or a checkbox changes.
1546
- * To validate the group yourself, call `validate()`. The `error` attribute still applies.
1546
+ * To validate the group yourself, call `validate(true)`, which checks right away, even before anyone has interacted with the group. The `error` attribute still applies.
1547
1547
  * @category behavior
1548
1548
  */
1549
1549
  noValidate: {
@@ -160,7 +160,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
160
160
  * @customElement auro-checkbox
161
161
  *
162
162
  * @csspart checkbox - The container that wraps the checkbox's box and its label.
163
- * @csspart checkbox-input - The native `<input type="checkbox">` element. It's visually hidden, so styles on this part don't change the visible box.
163
+ * @csspart checkbox-input - The native `<input type="checkbox">` element. It's hidden with `display: none`, so styles on this part don't change the visible box.
164
164
  * @csspart checkbox-label - The element that wraps the label text from the default slot.
165
165
  *
166
166
  * @slot default - Label text for the checkbox, such as "Window seat". Screen readers announce this text as the checkbox's name. {@requiredWhen always} {@category ui}
@@ -1381,7 +1381,7 @@ class AuroHelpText extends i$2 {
1381
1381
  }
1382
1382
  }
1383
1383
 
1384
- var formkitVersion = '202611092125';
1384
+ var formkitVersion = '202611121951';
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.
@@ -1543,7 +1543,7 @@ class AuroCheckboxGroup extends i$2 {
1543
1543
 
1544
1544
  /**
1545
1545
  * Stops the group from validating automatically when focus leaves it or a checkbox changes.
1546
- * To validate the group yourself, call `validate()`. The `error` attribute still applies.
1546
+ * To validate the group yourself, call `validate(true)`, which checks right away, even before anyone has interacted with the group. The `error` attribute still applies.
1547
1547
  * @category behavior
1548
1548
  */
1549
1549
  noValidate: {
@@ -160,7 +160,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
160
160
  * @customElement auro-checkbox
161
161
  *
162
162
  * @csspart checkbox - The container that wraps the checkbox's box and its label.
163
- * @csspart checkbox-input - The native `<input type="checkbox">` element. It's visually hidden, so styles on this part don't change the visible box.
163
+ * @csspart checkbox-input - The native `<input type="checkbox">` element. It's hidden with `display: none`, so styles on this part don't change the visible box.
164
164
  * @csspart checkbox-label - The element that wraps the label text from the default slot.
165
165
  *
166
166
  * @slot default - Label text for the checkbox, such as "Window seat". Screen readers announce this text as the checkbox's name. {@requiredWhen always} {@category ui}
@@ -1381,7 +1381,7 @@ class AuroHelpText extends i$2 {
1381
1381
  }
1382
1382
  }
1383
1383
 
1384
- var formkitVersion = '202611092125';
1384
+ var formkitVersion = '202611121951';
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.
@@ -1543,7 +1543,7 @@ class AuroCheckboxGroup extends i$2 {
1543
1543
 
1544
1544
  /**
1545
1545
  * Stops the group from validating automatically when focus leaves it or a checkbox changes.
1546
- * To validate the group yourself, call `validate()`. The `error` attribute still applies.
1546
+ * To validate the group yourself, call `validate(true)`, which checks right away, even before anyone has interacted with the group. The `error` attribute still applies.
1547
1547
  * @category behavior
1548
1548
  */
1549
1549
  noValidate: {
@@ -70,7 +70,7 @@ export class AuroCheckboxGroup extends LitElement {
70
70
  };
71
71
  /**
72
72
  * Stops the group from validating automatically when focus leaves it or a checkbox changes.
73
- * To validate the group yourself, call `validate()`. The `error` attribute still applies.
73
+ * To validate the group yourself, call `validate(true)`, which checks right away, even before anyone has interacted with the group. The `error` attribute still applies.
74
74
  * @category behavior
75
75
  */
76
76
  noValidate: {
@@ -20,7 +20,7 @@
20
20
  * @customElement auro-checkbox
21
21
  *
22
22
  * @csspart checkbox - The container that wraps the checkbox's box and its label.
23
- * @csspart checkbox-input - The native `<input type="checkbox">` element. It's visually hidden, so styles on this part don't change the visible box.
23
+ * @csspart checkbox-input - The native `<input type="checkbox">` element. It's hidden with `display: none`, so styles on this part don't change the visible box.
24
24
  * @csspart checkbox-label - The element that wraps the label text from the default slot.
25
25
  *
26
26
  * @slot default - Label text for the checkbox, such as "Window seat". Screen readers announce this text as the checkbox's name. {@requiredWhen always} {@category ui}
@@ -120,7 +120,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
120
120
  * @customElement auro-checkbox
121
121
  *
122
122
  * @csspart checkbox - The container that wraps the checkbox's box and its label.
123
- * @csspart checkbox-input - The native `<input type="checkbox">` element. It's visually hidden, so styles on this part don't change the visible box.
123
+ * @csspart checkbox-input - The native `<input type="checkbox">` element. It's hidden with `display: none`, so styles on this part don't change the visible box.
124
124
  * @csspart checkbox-label - The element that wraps the label text from the default slot.
125
125
  *
126
126
  * @slot default - Label text for the checkbox, such as "Window seat". Screen readers announce this text as the checkbox's name. {@requiredWhen always} {@category ui}
@@ -1334,7 +1334,7 @@ class AuroHelpText extends LitElement {
1334
1334
  }
1335
1335
  }
1336
1336
 
1337
- var formkitVersion = '202611092125';
1337
+ var formkitVersion = '202611121951';
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.
@@ -1496,7 +1496,7 @@ class AuroCheckboxGroup extends LitElement {
1496
1496
 
1497
1497
  /**
1498
1498
  * Stops the group from validating automatically when focus leaves it or a checkbox changes.
1499
- * To validate the group yourself, call `validate()`. The `error` attribute still applies.
1499
+ * To validate the group yourself, call `validate(true)`, which checks right away, even before anyone has interacted with the group. The `error` attribute still applies.
1500
1500
  * @category behavior
1501
1501
  */
1502
1502
  noValidate: {
@@ -120,7 +120,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
120
120
  * @customElement auro-checkbox
121
121
  *
122
122
  * @csspart checkbox - The container that wraps the checkbox's box and its label.
123
- * @csspart checkbox-input - The native `<input type="checkbox">` element. It's visually hidden, so styles on this part don't change the visible box.
123
+ * @csspart checkbox-input - The native `<input type="checkbox">` element. It's hidden with `display: none`, so styles on this part don't change the visible box.
124
124
  * @csspart checkbox-label - The element that wraps the label text from the default slot.
125
125
  *
126
126
  * @slot default - Label text for the checkbox, such as "Window seat". Screen readers announce this text as the checkbox's name. {@requiredWhen always} {@category ui}
@@ -1334,7 +1334,7 @@ class AuroHelpText extends LitElement {
1334
1334
  }
1335
1335
  }
1336
1336
 
1337
- var formkitVersion = '202611092125';
1337
+ var formkitVersion = '202611121951';
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.
@@ -1496,7 +1496,7 @@ class AuroCheckboxGroup extends LitElement {
1496
1496
 
1497
1497
  /**
1498
1498
  * Stops the group from validating automatically when focus leaves it or a checkbox changes.
1499
- * To validate the group yourself, call `validate()`. The `error` attribute still applies.
1499
+ * To validate the group yourself, call `validate(true)`, which checks right away, even before anyone has interacted with the group. The `error` attribute still applies.
1500
1500
  * @category behavior
1501
1501
  */
1502
1502
  noValidate: {
@@ -7,7 +7,7 @@ A text field with a list of options that narrows as people type, so they can cho
7
7
 
8
8
  **Key capabilities**
9
9
  - **Suggestion or filter**: Set `behavior="filter"` to require choosing an option from the menu; the default, `suggestion`, also accepts typed text.
10
- - **Filtering as people type**: Typing always hides options whose text doesn't include the typed text, unless `noFilter` is set.
10
+ - **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.
11
11
  - **Validation**: Set `required` to require a value, and `setCustomValidity` to change the error message.
12
12
  - **Fullscreen on small screens**: Set `fullscreenBreakpoint` to choose the largest screen size at which the list opens as a fullscreen dialog.
13
13
  - **Layouts**: Set `layout` to `classic`, `emphasized`, or `snowflake` to change the overall look.
@@ -68,21 +68,21 @@ A text field with a list of options that narrows as people type, so they can cho
68
68
 
69
69
  ### Methods
70
70
 
71
- | Name | Parameters | Return | Description |
72
- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
73
- | clear | None | void | Clears the value, the input text, and the selected option.<br>Doesn't clear the validation state; use `reset()` for that. |
74
- | focus | None | void | Moves focus to the input, unless focus is already inside the combobox. |
75
- | hideBib | None | void | Closes the bib if it's open. |
76
- | isValid | None | boolean | Checks whether the combobox passed its last validation. |
77
- | register | `name` (string) - The tag name to register the element under. | | Registers the element with the browser under a tag name. |
78
- | reset | None | void | Clears the value, the input text, and the selected option, and clears the validation state,<br>so no error shows until the combobox validates again. |
79
- | resetLayoutClasses | None | void | Sets the `layout-*` class on the `.wrapper` element to match the current `layout`, such as `layout-classic`. Does nothing when `layout` isn't set or there's no `.wrapper` element. |
80
- | resetShapeClasses | None | void | Sets the `shape-*` class on the `.wrapper` element to match the current `shape` and `size`, such as `shape-rounded-lg`, or to `shape-none` when either isn't set. Does nothing when there's no `.wrapper` element. |
81
- | setMenuValue | `value` (string) - The `value` of the option to select. | void | Selects the menu option whose `value` matches. Does nothing when there's no menu or the menu already has that value;<br>when no option can be selected, it clears `value` and `optionSelected` to `undefined`. |
82
- | showBib | None | void | Opens the bib when the input has text and there's something to show: options or a `nomatch` option.<br>When the menu is loading without `loadingText` or `loadingIcon` content, the bib opens once loading ends, if focus is still in the combobox.<br>Doesn't currently open the bib for a loading menu that has no options yet. |
83
- | updateActiveOption | `index` (number) - The position of the option among the options currently shown, starting at 0. | | Sets the active (highlighted) option to the one at `index` among the options currently shown.<br>Does nothing when no shown option is at that position. |
84
- | updateComponentArchitecture | None | void | Updates the `layout-*` and `shape-*` classes on the `.wrapper` element. Called whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`. |
85
- | validate | `force` (boolean) - If true, validates even when the combobox has focus or hasn't been used yet.<br>If false, validates only when focus is outside the combobox and it has been used or has a value. | | Checks the value against the validation rules, such as `required` and `behavior="filter"`, and updates `validity` and the error message. |
71
+ | Name | Parameters | Return | Description |
72
+ | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
73
+ | clear | None | void | Clears the value, the input text, and the selected option.<br>Doesn't clear the validation state; use `reset()` for that. |
74
+ | focus | None | void | Moves focus to the input, unless focus is already inside the combobox. |
75
+ | hideBib | None | void | Closes the bib if it's open. |
76
+ | isValid | None | boolean | Checks whether the combobox passed its last validation. |
77
+ | register | `name` (string) - The tag name to register the element under. | | Registers the element with the browser under a tag name. |
78
+ | reset | None | void | Clears the value, the input text, and the selected option, and clears the validation state,<br>so no error shows until the combobox validates again. |
79
+ | resetLayoutClasses | None | void | Sets the `layout-*` class on the `.wrapper` element to match the current `layout`, such as `layout-classic`. Does nothing when `layout` isn't set or there's no `.wrapper` element. |
80
+ | resetShapeClasses | None | void | Sets the `shape-*` class on the `.wrapper` element to match the current `shape` and `size`, such as `shape-rounded-lg`, or to `shape-none` when either isn't set. Does nothing when there's no `.wrapper` element. |
81
+ | setMenuValue | `value` (string) - The `value` of the option to select. | void | Selects the menu option whose `value` matches. Does nothing when there's no menu or the menu already has that value;<br>when no option can be selected, it clears `value` and `optionSelected` to `undefined`. |
82
+ | showBib | None | void | 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"`.<br>When the menu is loading without `loadingText` or `loadingIcon` content, the bib opens once loading ends, if focus is still in the combobox.<br>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. |
83
+ | updateActiveOption | `index` (number) - The position of the option among the options currently shown, starting at 0. | | Sets the active (highlighted) option to the one at `index` among the options currently shown.<br>Does nothing when no shown option is at that position. |
84
+ | updateComponentArchitecture | None | void | Updates the `layout-*` and `shape-*` classes on the `.wrapper` element. Called whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`. |
85
+ | validate | `force` (boolean) - If true, validates even when the combobox has focus or hasn't been used yet.<br>If false, validates only when focus is outside the combobox and it has been used or has a value. | | Checks the value against the validation rules, such as `required` and `behavior="filter"`, and updates `validity` and the error message. |
86
86
 
87
87
  ### Events
88
88
 
@@ -715,20 +715,11 @@ function guardTouchPassthrough(element) {
715
715
  }
716
716
 
717
717
  /**
718
- * Restores the dropdown trigger after a fullscreen dialog closes without focus
719
- * leaving the component, such as when the Esc or Enter key closes it.
720
- * When focus leaves the component, for example by tabbing out of the combobox
721
- * after closing the fullscreen dialog, the browser's native dialog focus
722
- * restoration handles it, so this function only restores focus when focus
723
- * remains inside the component after the dialog closes.
724
- *
725
- * Removes the `inert` attribute from the trigger so it's accessible again,
726
- * and restores focus to the given target after one animation frame. The rAF
727
- * delay lets Lit's microtask update cycle call `dialog.close()` first. Without
728
- * it, the browser's native dialog focus restoration can conflict.
729
- *
730
- * The focus is only applied if the dropdown is still closed at the time the
731
- * rAF fires, guarding against a rapid close-then-reopen race.
718
+ * Restores the dropdown trigger after a fullscreen dialog closes, so keyboard users keep their place.
719
+ * Removes the `inert` attribute from the trigger, then, after one animation frame, moves focus to
720
+ * the given target if the dropdown is still closed and focus is inside the trigger.
721
+ * The one-frame wait lets Lit finish closing the dialog first, because the browser's native dialog
722
+ * focus restoration can conflict otherwise.
732
723
  *
733
724
  * @param {HTMLElement} dropdown - The `auro-dropdown` element.
734
725
  * @param {HTMLElement} focusTarget - The element to focus, such as the trigger or the input.
@@ -753,8 +744,8 @@ function restoreTriggerAfterClose(dropdown, focusTarget) {
753
744
  */let e$1 = class e extends i$1{constructor(i){if(super(i),this.it=A$2,i.type!==t$1.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;
754
745
 
755
746
  /**
756
- * Creates a snapshot of the dropdown's display state for one keydown event.
757
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
747
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
748
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
758
749
  *
759
750
  * @param {HTMLElement} component - The component with a dropdown reference.
760
751
  * @param {Object} [options] - The optional settings.
@@ -4549,8 +4540,8 @@ let p$4 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
4549
4540
  var iconVersion$3 = '9.2.0';
4550
4541
 
4551
4542
  /**
4552
- * Creates a snapshot of the dropdown's display state for one keydown event.
4553
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
4543
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
4544
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
4554
4545
  *
4555
4546
  * @param {HTMLElement} component - The component with a dropdown reference.
4556
4547
  * @param {Object} [options] - The optional settings.
@@ -5299,16 +5290,17 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
5299
5290
  }
5300
5291
  };
5301
5292
 
5302
- var formkitVersion$2 = '202611092125';
5293
+ var formkitVersion$2 = '202611121951';
5303
5294
 
5304
5295
  /**
5305
5296
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
5306
5297
  *
5307
5298
  * It declares the `onDark` property and provides helpers that apply the
5308
5299
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
5309
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
5310
- * `shape`, and `size` properties with its own values and defaults, and
5311
- * implements `renderLayout()`, which `render()` calls.
5300
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
5301
+ * `shape`, and `size` properties they use, each with its own values and
5302
+ * default. The base `render()` calls `renderLayout()`, which a subclass
5303
+ * implements unless it overrides `render()`.
5312
5304
  *
5313
5305
  * **Key capabilities**
5314
5306
  * - **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()`.
@@ -5967,7 +5959,7 @@ class AuroDropdown extends AuroElement$2 {
5967
5959
  /**
5968
5960
  * Sets the height of the trigger, from `xs`, the shortest, to `xl`, the tallest.
5969
5961
  * Applies only when `shape` is also set.
5970
- * The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them.
5962
+ * 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.
5971
5963
  * @relevantWhen shape !== undefined
5972
5964
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
5973
5965
  * @category ui
@@ -11464,9 +11456,10 @@ class AuroFormValidation {
11464
11456
  *
11465
11457
  * It declares the `onDark` property and provides helpers that apply the
11466
11458
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
11467
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
11468
- * `shape`, and `size` properties with its own values and defaults, and
11469
- * implements `renderLayout()`, which `render()` calls.
11459
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
11460
+ * `shape`, and `size` properties they use, each with its own values and
11461
+ * default. The base `render()` calls `renderLayout()`, which a subclass
11462
+ * implements unless it overrides `render()`.
11470
11463
  *
11471
11464
  * **Key capabilities**
11472
11465
  * - **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()`.
@@ -17512,7 +17505,7 @@ class DomHandler {
17512
17505
 
17513
17506
  /**
17514
17507
  * Shared base class for `auro-input` that handles the value, formatting, and validation.
17515
- * @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`.
17508
+ * @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.
17516
17509
  * @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
17517
17510
  * @event auroInput-validityChange - Fires when `validity` changes.
17518
17511
  */
@@ -19483,7 +19476,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
19483
19476
  }
19484
19477
  };
19485
19478
 
19486
- var formkitVersion$1 = '202611092125';
19479
+ var formkitVersion$1 = '202611121951';
19487
19480
 
19488
19481
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19489
19482
  // See LICENSE in the project root for license information.
@@ -19494,7 +19487,7 @@ var formkitVersion$1 = '202611092125';
19494
19487
  *
19495
19488
  * **Key capabilities**
19496
19489
  * - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
19497
- * - **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.
19490
+ * - **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.
19498
19491
  * - **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.
19499
19492
  * - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
19500
19493
  * - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
@@ -20769,7 +20762,7 @@ class AuroBibtemplate extends i$3 {
20769
20762
  }
20770
20763
  }
20771
20764
 
20772
- var formkitVersion = '202611092125';
20765
+ var formkitVersion = '202611121951';
20773
20766
 
20774
20767
  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}`;
20775
20768
 
@@ -20782,9 +20775,10 @@ var styleSnowflakeCss = i$6`:host([layout*=snowflake][shape*=snowflake]) [auro-i
20782
20775
  *
20783
20776
  * It declares the `onDark` property and provides helpers that apply the
20784
20777
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
20785
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
20786
- * `shape`, and `size` properties with its own values and defaults, and
20787
- * implements `renderLayout()`, which `render()` calls.
20778
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
20779
+ * `shape`, and `size` properties they use, each with its own values and
20780
+ * default. The base `render()` calls `renderLayout()`, which a subclass
20781
+ * implements unless it overrides `render()`.
20788
20782
  *
20789
20783
  * **Key capabilities**
20790
20784
  * - **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()`.
@@ -21215,7 +21209,7 @@ function getOptionLabel(option) {
21215
21209
  *
21216
21210
  * **Key capabilities**
21217
21211
  * - **Suggestion or filter**: Set `behavior="filter"` to require choosing an option from the menu; the default, `suggestion`, also accepts typed text.
21218
- * - **Filtering as people type**: Typing always hides options whose text doesn't include the typed text, unless `noFilter` is set.
21212
+ * - **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.
21219
21213
  * - **Validation**: Set `required` to require a value, and `setCustomValidity` to change the error message.
21220
21214
  * - **Fullscreen on small screens**: Set `fullscreenBreakpoint` to choose the largest screen size at which the list opens as a fullscreen dialog.
21221
21215
  * - **Layouts**: Set `layout` to `classic`, `emphasized`, or `snowflake` to change the overall look.
@@ -22209,9 +22203,9 @@ class AuroCombobox extends AuroElement {
22209
22203
  }
22210
22204
 
22211
22205
  /**
22212
- * Opens the bib when the input has text and there's something to show: options or a `nomatch` option.
22206
+ * 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"`.
22213
22207
  * When the menu is loading without `loadingText` or `loadingIcon` content, the bib opens once loading ends, if focus is still in the combobox.
22214
- * Doesn't currently open the bib for a loading menu that has no options yet.
22208
+ * 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.
22215
22209
  * @returns {void}
22216
22210
  */
22217
22211
  showBib() {
@@ -25124,8 +25118,8 @@ class AuroMenu extends AuroElement {
25124
25118
  }
25125
25119
 
25126
25120
  /**
25127
- * Checks whether the menu has content for the `loadingIcon` or `loadingText` slot. Only content present when the menu first renders counts.
25128
- * @returns {boolean} True if either slot had content when the menu first rendered; false otherwise.
25121
+ * Checks whether the menu has an element in the `loadingIcon` or `loadingText` slot, even an empty one. Only elements present when the menu first renders count.
25122
+ * @returns {boolean|null} True if the menu had an element in either slot when it first rendered; false if it didn't; null before the menu first renders.
25129
25123
  */
25130
25124
  get hasLoadingPlaceholder() {
25131
25125
  return this.loadingSlots && this.loadingSlots.length > 0;
@@ -449,7 +449,7 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
449
449
  <auro-header level="3" id="hideBib">hideBib()</auro-header>
450
450
  <p>Hides the bib if it's open.</p>
451
451
  <auro-header level="3" id="showBib">showBib()</auro-header>
452
- <p>Shows the bib when the input has a value and there are options or a <code>nomatch</code> option to show. Doesn't currently open the bib for a loading menu that has no options yet.</p>
452
+ <p>Shows the bib when the input has a value and the menu has options to show, a <code>nomatch</code> option, or a <code>loading</code> attribute with a value, such as <code>loading="loading"</code>. When the menu is loading without <code>loadingText</code> or <code>loadingIcon</code> content, the bib opens once loading ends, if focus is still in the combobox. Doesn't currently open the bib for a menu with no options to show, no <code>nomatch</code> option, and an empty <code>loading</code> attribute, such as the one the menu's <code>loading</code> property sets.</p>
453
453
  </section>
454
454
  </div>
455
455
  </div>