@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.16 → 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 (79) hide show
  1. package/components/checkbox/demo/customize.min.js +1 -1
  2. package/components/checkbox/demo/getting-started.min.js +1 -1
  3. package/components/checkbox/demo/index.min.js +1 -1
  4. package/components/checkbox/dist/index.js +1 -1
  5. package/components/checkbox/dist/registered.js +1 -1
  6. package/components/combobox/demo/customize.min.js +29 -35
  7. package/components/combobox/demo/getting-started.min.js +29 -35
  8. package/components/combobox/demo/index.min.js +29 -35
  9. package/components/combobox/dist/auro-combobox.d.ts +2 -0
  10. package/components/combobox/dist/index.js +27 -33
  11. package/components/combobox/dist/registered.js +27 -33
  12. package/components/counter/demo/accessibility.md +1 -1
  13. package/components/counter/demo/css-only.md +5 -5
  14. package/components/counter/demo/customize.min.js +15 -13
  15. package/components/counter/demo/getting-started.min.js +15 -13
  16. package/components/counter/demo/index.min.js +15 -13
  17. package/components/counter/demo/voiceover.md +1 -1
  18. package/components/counter/demo/why-counter.md +3 -3
  19. package/components/counter/dist/auro-counter-group.d.ts +1 -0
  20. package/components/counter/dist/index.js +15 -13
  21. package/components/counter/dist/registered.js +15 -13
  22. package/components/datepicker/demo/customize.min.js +22 -19
  23. package/components/datepicker/demo/getting-started.min.js +22 -19
  24. package/components/datepicker/demo/index.min.js +22 -19
  25. package/components/datepicker/dist/index.js +22 -19
  26. package/components/datepicker/dist/registered.js +22 -19
  27. package/components/dropdown/demo/api.md +1 -1
  28. package/components/dropdown/demo/customize.min.js +8 -7
  29. package/components/dropdown/demo/getting-started.min.js +15 -13
  30. package/components/dropdown/demo/index.min.js +8 -7
  31. package/components/dropdown/dist/auro-dropdown.d.ts +1 -1
  32. package/components/dropdown/dist/index.js +8 -7
  33. package/components/dropdown/dist/registered.js +8 -7
  34. package/components/form/demo/api.md +1 -1
  35. package/components/form/demo/customize.min.js +106 -112
  36. package/components/form/demo/getting-started.min.js +106 -112
  37. package/components/form/demo/index.min.js +106 -112
  38. package/components/form/demo/registerDemoDeps.min.js +105 -111
  39. package/components/form/demo/why-form.md +1 -1
  40. package/components/form/dist/auro-form.d.ts +1 -1
  41. package/components/form/dist/index.js +1 -1
  42. package/components/form/dist/registered.js +1 -1
  43. package/components/input/demo/api.md +6 -6
  44. package/components/input/demo/customize.min.js +7 -6
  45. package/components/input/demo/getting-started.min.js +7 -6
  46. package/components/input/demo/index.min.js +7 -6
  47. package/components/input/dist/auro-input.d.ts +1 -1
  48. package/components/input/dist/base-input.d.ts +2 -1
  49. package/components/input/dist/index.js +7 -6
  50. package/components/input/dist/registered.js +7 -6
  51. package/components/layoutElement/dist/auroElement.d.ts +4 -3
  52. package/components/layoutElement/dist/index.js +4 -3
  53. package/components/layoutElement/dist/registered.js +4 -3
  54. package/components/menu/demo/api.md +1 -1
  55. package/components/menu/demo/index.min.js +6 -5
  56. package/components/menu/dist/auro-menu.d.ts +8 -3
  57. package/components/menu/dist/auro-menuoption.d.ts +2 -2
  58. package/components/menu/dist/index.js +6 -5
  59. package/components/menu/dist/registered.js +6 -5
  60. package/components/radio/demo/api.md +16 -16
  61. package/components/radio/demo/customize.md +1 -1
  62. package/components/radio/demo/customize.min.js +4 -4
  63. package/components/radio/demo/getting-started.min.js +4 -4
  64. package/components/radio/demo/index.min.js +4 -4
  65. package/components/radio/dist/auro-radio-group.d.ts +2 -2
  66. package/components/radio/dist/auro-radio.d.ts +1 -1
  67. package/components/radio/dist/index.js +4 -4
  68. package/components/radio/dist/registered.js +4 -4
  69. package/components/select/demo/api.md +47 -47
  70. package/components/select/demo/css-only.md +1 -1
  71. package/components/select/demo/customize.min.js +25 -32
  72. package/components/select/demo/getting-started.min.js +25 -32
  73. package/components/select/demo/index.md +1 -1
  74. package/components/select/demo/index.min.js +25 -32
  75. package/components/select/dist/auro-select.d.ts +4 -3
  76. package/components/select/dist/index.js +23 -30
  77. package/components/select/dist/registered.js +23 -30
  78. package/custom-elements.json +20 -20
  79. package/package.json +1 -1
@@ -95,7 +95,7 @@
95
95
  <tr>
96
96
  <td>Event normalization</td>
97
97
  <td>No</td>
98
- <td>Unified input/change/submit/reset</td>
98
+ <td>Unified <code>change</code>, <code>submit</code>, and <code>reset</code> events</td>
99
99
  </tr>
100
100
  </tbody>
101
101
  </table>
@@ -346,7 +346,7 @@ export class AuroForm extends LitElement {
346
346
  */
347
347
  private _setInitialState;
348
348
  /**
349
- * Checks whether the form is unchanged, with every field still holding its starting value, the value it had when the form first found it. The form counts as changed while any field's value differs from its starting value or any field has failed validation, so changing a value back makes this true again.
349
+ * Checks whether the form is unchanged, with every field still holding its starting value, the value it had when the form first found it. The form counts as changed while any field's value differs from its starting value or any field has failed validation.
350
350
  * @returns {boolean} True if the form is unchanged; false otherwise.
351
351
  * @category behavior
352
352
  */
@@ -557,7 +557,7 @@ class AuroForm extends LitElement {
557
557
  }
558
558
 
559
559
  /**
560
- * Checks whether the form is unchanged, with every field still holding its starting value, the value it had when the form first found it. The form counts as changed while any field's value differs from its starting value or any field has failed validation, so changing a value back makes this true again.
560
+ * Checks whether the form is unchanged, with every field still holding its starting value, the value it had when the form first found it. The form counts as changed while any field's value differs from its starting value or any field has failed validation.
561
561
  * @returns {boolean} True if the form is unchanged; false otherwise.
562
562
  * @category behavior
563
563
  */
@@ -557,7 +557,7 @@ class AuroForm extends LitElement {
557
557
  }
558
558
 
559
559
  /**
560
- * Checks whether the form is unchanged, with every field still holding its starting value, the value it had when the form first found it. The form counts as changed while any field's value differs from its starting value or any field has failed validation, so changing a value back makes this true again.
560
+ * Checks whether the form is unchanged, with every field still holding its starting value, the value it had when the form first found it. The form counts as changed while any field's value differs from its starting value or any field has failed validation.
561
561
  * @returns {boolean} True if the form is unchanged; false otherwise.
562
562
  * @category behavior
563
563
  */
@@ -7,7 +7,7 @@ A single-line text field that lets people type a value, such as a name, email ad
7
7
 
8
8
  **Key capabilities**
9
9
  - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
10
- - **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.
10
+ - **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.
11
11
  - **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.
12
12
  - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
13
13
  - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
@@ -94,11 +94,11 @@ A single-line text field that lets people type a value, such as a name, email ad
94
94
 
95
95
  ### Events
96
96
 
97
- | Name | Description |
98
- | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
99
- | auroFormElement-validated | Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`. |
100
- | auroInput-validityChange | Fires when `validity` changes. |
101
- | input | Fires when the value changes, whether the user types or code sets the value. Events from code changes have `isProgrammatic` set to `true`. |
97
+ | Name | Description |
98
+ | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
99
+ | auroFormElement-validated | Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`. |
100
+ | auroInput-validityChange | Fires when `validity` changes. |
101
+ | 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. |
102
102
 
103
103
  ### Slots
104
104
 
@@ -4591,9 +4591,10 @@ class AuroFormValidation {
4591
4591
  *
4592
4592
  * It declares the `onDark` property and provides helpers that apply the
4593
4593
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
4594
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
4595
- * `shape`, and `size` properties with its own values and defaults, and
4596
- * implements `renderLayout()`, which `render()` calls.
4594
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
4595
+ * `shape`, and `size` properties they use, each with its own values and
4596
+ * default. The base `render()` calls `renderLayout()`, which a subclass
4597
+ * implements unless it overrides `render()`.
4597
4598
  *
4598
4599
  * **Key capabilities**
4599
4600
  * - **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()`.
@@ -10639,7 +10640,7 @@ class DomHandler {
10639
10640
 
10640
10641
  /**
10641
10642
  * Shared base class for `auro-input` that handles the value, formatting, and validation.
10642
- * @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`.
10643
+ * @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.
10643
10644
  * @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
10644
10645
  * @event auroInput-validityChange - Fires when `validity` changes.
10645
10646
  */
@@ -12610,7 +12611,7 @@ class AuroHelpText extends i$3 {
12610
12611
  }
12611
12612
  }
12612
12613
 
12613
- var formkitVersion = '202611121719';
12614
+ var formkitVersion = '202611121951';
12614
12615
 
12615
12616
  /**
12616
12617
  * @license
@@ -12633,7 +12634,7 @@ var formkitVersion = '202611121719';
12633
12634
  *
12634
12635
  * **Key capabilities**
12635
12636
  * - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
12636
- * - **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.
12637
+ * - **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.
12637
12638
  * - **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.
12638
12639
  * - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
12639
12640
  * - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
@@ -4591,9 +4591,10 @@ class AuroFormValidation {
4591
4591
  *
4592
4592
  * It declares the `onDark` property and provides helpers that apply the
4593
4593
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
4594
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
4595
- * `shape`, and `size` properties with its own values and defaults, and
4596
- * implements `renderLayout()`, which `render()` calls.
4594
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
4595
+ * `shape`, and `size` properties they use, each with its own values and
4596
+ * default. The base `render()` calls `renderLayout()`, which a subclass
4597
+ * implements unless it overrides `render()`.
4597
4598
  *
4598
4599
  * **Key capabilities**
4599
4600
  * - **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()`.
@@ -10639,7 +10640,7 @@ class DomHandler {
10639
10640
 
10640
10641
  /**
10641
10642
  * Shared base class for `auro-input` that handles the value, formatting, and validation.
10642
- * @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`.
10643
+ * @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.
10643
10644
  * @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
10644
10645
  * @event auroInput-validityChange - Fires when `validity` changes.
10645
10646
  */
@@ -12610,7 +12611,7 @@ class AuroHelpText extends i$3 {
12610
12611
  }
12611
12612
  }
12612
12613
 
12613
- var formkitVersion = '202611121719';
12614
+ var formkitVersion = '202611121951';
12614
12615
 
12615
12616
  /**
12616
12617
  * @license
@@ -12633,7 +12634,7 @@ var formkitVersion = '202611121719';
12633
12634
  *
12634
12635
  * **Key capabilities**
12635
12636
  * - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
12636
- * - **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.
12637
+ * - **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.
12637
12638
  * - **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.
12638
12639
  * - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
12639
12640
  * - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
@@ -4591,9 +4591,10 @@ class AuroFormValidation {
4591
4591
  *
4592
4592
  * It declares the `onDark` property and provides helpers that apply the
4593
4593
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
4594
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
4595
- * `shape`, and `size` properties with its own values and defaults, and
4596
- * implements `renderLayout()`, which `render()` calls.
4594
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
4595
+ * `shape`, and `size` properties they use, each with its own values and
4596
+ * default. The base `render()` calls `renderLayout()`, which a subclass
4597
+ * implements unless it overrides `render()`.
4597
4598
  *
4598
4599
  * **Key capabilities**
4599
4600
  * - **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()`.
@@ -10639,7 +10640,7 @@ class DomHandler {
10639
10640
 
10640
10641
  /**
10641
10642
  * Shared base class for `auro-input` that handles the value, formatting, and validation.
10642
- * @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`.
10643
+ * @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.
10643
10644
  * @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
10644
10645
  * @event auroInput-validityChange - Fires when `validity` changes.
10645
10646
  */
@@ -12610,7 +12611,7 @@ class AuroHelpText extends i$3 {
12610
12611
  }
12611
12612
  }
12612
12613
 
12613
- var formkitVersion = '202611121719';
12614
+ var formkitVersion = '202611121951';
12614
12615
 
12615
12616
  /**
12616
12617
  * @license
@@ -12633,7 +12634,7 @@ var formkitVersion = '202611121719';
12633
12634
  *
12634
12635
  * **Key capabilities**
12635
12636
  * - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
12636
- * - **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.
12637
+ * - **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.
12637
12638
  * - **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.
12638
12639
  * - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
12639
12640
  * - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * **Key capabilities**
5
5
  * - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
6
- * - **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.
6
+ * - **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.
7
7
  * - **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.
8
8
  * - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
9
9
  * - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shared base class for `auro-input` that handles the value, formatting, and validation.
3
- * @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`.
3
+ * @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.
4
4
  * @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
5
5
  * @event auroInput-validityChange - Fires when `validity` changes.
6
6
  */
@@ -594,6 +594,7 @@ export default class BaseInput extends AuroElement {
594
594
  * @returns {void}
595
595
  */
596
596
  private initializeArchitectureDefaults;
597
+ layout: string | undefined;
597
598
  shape: string | undefined;
598
599
  size: string | undefined;
599
600
  /**
@@ -4533,9 +4533,10 @@ class AuroFormValidation {
4533
4533
  *
4534
4534
  * It declares the `onDark` property and provides helpers that apply the
4535
4535
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
4536
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
4537
- * `shape`, and `size` properties with its own values and defaults, and
4538
- * implements `renderLayout()`, which `render()` calls.
4536
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
4537
+ * `shape`, and `size` properties they use, each with its own values and
4538
+ * default. The base `render()` calls `renderLayout()`, which a subclass
4539
+ * implements unless it overrides `render()`.
4539
4540
  *
4540
4541
  * **Key capabilities**
4541
4542
  * - **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()`.
@@ -10581,7 +10582,7 @@ class DomHandler {
10581
10582
 
10582
10583
  /**
10583
10584
  * Shared base class for `auro-input` that handles the value, formatting, and validation.
10584
- * @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`.
10585
+ * @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.
10585
10586
  * @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
10586
10587
  * @event auroInput-validityChange - Fires when `validity` changes.
10587
10588
  */
@@ -12552,7 +12553,7 @@ class AuroHelpText extends LitElement {
12552
12553
  }
12553
12554
  }
12554
12555
 
12555
- var formkitVersion = '202611121719';
12556
+ var formkitVersion = '202611121951';
12556
12557
 
12557
12558
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12558
12559
  // See LICENSE in the project root for license information.
@@ -12563,7 +12564,7 @@ var formkitVersion = '202611121719';
12563
12564
  *
12564
12565
  * **Key capabilities**
12565
12566
  * - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
12566
- * - **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.
12567
+ * - **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.
12567
12568
  * - **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.
12568
12569
  * - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
12569
12570
  * - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
@@ -4533,9 +4533,10 @@ class AuroFormValidation {
4533
4533
  *
4534
4534
  * It declares the `onDark` property and provides helpers that apply the
4535
4535
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
4536
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
4537
- * `shape`, and `size` properties with its own values and defaults, and
4538
- * implements `renderLayout()`, which `render()` calls.
4536
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
4537
+ * `shape`, and `size` properties they use, each with its own values and
4538
+ * default. The base `render()` calls `renderLayout()`, which a subclass
4539
+ * implements unless it overrides `render()`.
4539
4540
  *
4540
4541
  * **Key capabilities**
4541
4542
  * - **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()`.
@@ -10581,7 +10582,7 @@ class DomHandler {
10581
10582
 
10582
10583
  /**
10583
10584
  * Shared base class for `auro-input` that handles the value, formatting, and validation.
10584
- * @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`.
10585
+ * @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.
10585
10586
  * @event auroFormElement-validated - Fires each time the input is validated, with the result in `event.detail.validity` and `event.detail.message`.
10586
10587
  * @event auroInput-validityChange - Fires when `validity` changes.
10587
10588
  */
@@ -12552,7 +12553,7 @@ class AuroHelpText extends LitElement {
12552
12553
  }
12553
12554
  }
12554
12555
 
12555
- var formkitVersion = '202611121719';
12556
+ var formkitVersion = '202611121951';
12556
12557
 
12557
12558
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12558
12559
  // See LICENSE in the project root for license information.
@@ -12563,7 +12564,7 @@ var formkitVersion = '202611121719';
12563
12564
  *
12564
12565
  * **Key capabilities**
12565
12566
  * - **Formatting as people type**: Set `type` to `credit-card`, `tel`, or `date`, or set `format`, to format the value as the user types.
12566
- * - **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.
12567
+ * - **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.
12567
12568
  * - **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.
12568
12569
  * - **Password visibility**: Set `type="password"` to add a button that shows or hides the password in the `classic` layout.
12569
12570
  * - **Dark backgrounds**: Set `appearance="inverse"` to use colors made for dark backgrounds.
@@ -3,9 +3,10 @@
3
3
  *
4
4
  * It declares the `onDark` property and provides helpers that apply the
5
5
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
6
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
7
- * `shape`, and `size` properties with its own values and defaults, and
8
- * implements `renderLayout()`, which `render()` calls.
6
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
7
+ * `shape`, and `size` properties they use, each with its own values and
8
+ * default. The base `render()` calls `renderLayout()`, which a subclass
9
+ * implements unless it overrides `render()`.
9
10
  *
10
11
  * **Key capabilities**
11
12
  * - **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()`.
@@ -5,9 +5,10 @@ import { LitElement } from 'lit';
5
5
  *
6
6
  * It declares the `onDark` property and provides helpers that apply the
7
7
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
8
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
9
- * `shape`, and `size` properties with its own values and defaults, and
10
- * implements `renderLayout()`, which `render()` calls.
8
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
9
+ * `shape`, and `size` properties they use, each with its own values and
10
+ * default. The base `render()` calls `renderLayout()`, which a subclass
11
+ * implements unless it overrides `render()`.
11
12
  *
12
13
  * **Key capabilities**
13
14
  * - **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()`.
@@ -5,9 +5,10 @@ import { LitElement } from 'lit';
5
5
  *
6
6
  * It declares the `onDark` property and provides helpers that apply the
7
7
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
8
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
9
- * `shape`, and `size` properties with its own values and defaults, and
10
- * implements `renderLayout()`, which `render()` calls.
8
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
9
+ * `shape`, and `size` properties they use, each with its own values and
10
+ * default. The base `render()` calls `renderLayout()`, which a subclass
11
+ * implements unless it overrides `render()`.
11
12
  *
12
13
  * **Key capabilities**
13
14
  * - **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()`.
@@ -40,7 +40,7 @@ A list of options that people choose from, used as the options list inside `auro
40
40
  | onDark | ondark | | boolean | | ui | Tells a subclass that the component sits on a dark background, so the subclass can switch colors. The base class doesn't change any styles itself, and `auro-menu` and `auro-menuoption` don't currently use it. |
41
41
  | shape | shape | | `box` \| `pill` \| `snowflake` | `box` | ui | Sets the corner shape of every option in the menu. `box` and `snowflake` have square corners, and `pill` has fully rounded ends. An option's own `shape` overrides it. |
42
42
  | size | size | | `xs` \| `sm` \| `md` \| `lg` \| `xl` | `sm` | ui | Sets the text size and spacing of every option in the menu, from `xs` (smallest) to `xl` (largest). An option's own `size` overrides it. |
43
- | hasLoadingPlaceholder | | readonly | boolean | | | Checks whether the menu has content for the `loadingIcon` or `loadingText` slot. Only content present when the menu first renders counts. |
43
+ | hasLoadingPlaceholder | | readonly | boolean \| null | | | 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. |
44
44
 
45
45
  ### Methods
46
46
 
@@ -35,9 +35,10 @@ var tokensCss = i$5`:host{--ds-auro-menu-divider-color: var(--ds-basic-color-bor
35
35
  *
36
36
  * It declares the `onDark` property and provides helpers that apply the
37
37
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
38
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
39
- * `shape`, and `size` properties with its own values and defaults, and
40
- * implements `renderLayout()`, which `render()` calls.
38
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
39
+ * `shape`, and `size` properties they use, each with its own values and
40
+ * default. The base `render()` calls `renderLayout()`, which a subclass
41
+ * implements unless it overrides `render()`.
41
42
  *
42
43
  * **Key capabilities**
43
44
  * - **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()`.
@@ -1847,8 +1848,8 @@ class AuroMenu extends AuroElement {
1847
1848
  }
1848
1849
 
1849
1850
  /**
1850
- * Checks whether the menu has content for the `loadingIcon` or `loadingText` slot. Only content present when the menu first renders counts.
1851
- * @returns {boolean} True if either slot had content when the menu first rendered; false otherwise.
1851
+ * 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.
1852
+ * @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.
1852
1853
  */
1853
1854
  get hasLoadingPlaceholder() {
1854
1855
  return this.loadingSlots && this.loadingSlots.length > 0;
@@ -118,6 +118,11 @@ export class AuroMenu extends AuroElement {
118
118
  reflect: boolean;
119
119
  attribute: string;
120
120
  };
121
+ onDark: {
122
+ type: BooleanConstructor;
123
+ attribute: string;
124
+ reflect: boolean;
125
+ };
121
126
  };
122
127
  static get styles(): import("lit").CSSResult[];
123
128
  /**
@@ -345,10 +350,10 @@ export class AuroMenu extends AuroElement {
345
350
  */
346
351
  private isOptionSelected;
347
352
  /**
348
- * Checks whether the menu has content for the `loadingIcon` or `loadingText` slot. Only content present when the menu first renders counts.
349
- * @returns {boolean} True if either slot had content when the menu first rendered; false otherwise.
353
+ * 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.
354
+ * @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.
350
355
  */
351
- get hasLoadingPlaceholder(): boolean;
356
+ get hasLoadingPlaceholder(): boolean | null;
352
357
  /**
353
358
  * Gets the wrapper element's classes, based on `size`.
354
359
  * @returns {Object} The class map for the wrapper element.
@@ -108,8 +108,8 @@ export class AuroMenuOption extends AuroElement {
108
108
  type: BooleanConstructor;
109
109
  reflect: boolean;
110
110
  };
111
- layout: {
112
- type: StringConstructor;
111
+ onDark: {
112
+ type: BooleanConstructor;
113
113
  attribute: string;
114
114
  reflect: boolean;
115
115
  };
@@ -14,9 +14,10 @@ var tokensCss = css`:host{--ds-auro-menu-divider-color: var(--ds-basic-color-bor
14
14
  *
15
15
  * It declares the `onDark` property and provides helpers that apply the
16
16
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
17
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
18
- * `shape`, and `size` properties with its own values and defaults, and
19
- * implements `renderLayout()`, which `render()` calls.
17
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
18
+ * `shape`, and `size` properties they use, each with its own values and
19
+ * default. The base `render()` calls `renderLayout()`, which a subclass
20
+ * implements unless it overrides `render()`.
20
21
  *
21
22
  * **Key capabilities**
22
23
  * - **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()`.
@@ -1852,8 +1853,8 @@ class AuroMenu extends AuroElement {
1852
1853
  }
1853
1854
 
1854
1855
  /**
1855
- * Checks whether the menu has content for the `loadingIcon` or `loadingText` slot. Only content present when the menu first renders counts.
1856
- * @returns {boolean} True if either slot had content when the menu first rendered; false otherwise.
1856
+ * 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.
1857
+ * @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.
1857
1858
  */
1858
1859
  get hasLoadingPlaceholder() {
1859
1860
  return this.loadingSlots && this.loadingSlots.length > 0;
@@ -14,9 +14,10 @@ var tokensCss = css`:host{--ds-auro-menu-divider-color: var(--ds-basic-color-bor
14
14
  *
15
15
  * It declares the `onDark` property and provides helpers that apply the
16
16
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
17
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
18
- * `shape`, and `size` properties with its own values and defaults, and
19
- * implements `renderLayout()`, which `render()` calls.
17
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
18
+ * `shape`, and `size` properties they use, each with its own values and
19
+ * default. The base `render()` calls `renderLayout()`, which a subclass
20
+ * implements unless it overrides `render()`.
20
21
  *
21
22
  * **Key capabilities**
22
23
  * - **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()`.
@@ -1813,8 +1814,8 @@ class AuroMenu extends AuroElement {
1813
1814
  }
1814
1815
 
1815
1816
  /**
1816
- * Checks whether the menu has content for the `loadingIcon` or `loadingText` slot. Only content present when the menu first renders counts.
1817
- * @returns {boolean} True if either slot had content when the menu first rendered; false otherwise.
1817
+ * 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.
1818
+ * @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.
1818
1819
  */
1819
1820
  get hasLoadingPlaceholder() {
1820
1821
  return this.loadingSlots && this.loadingSlots.length > 0;
@@ -23,7 +23,7 @@ A radio button that lets people choose one option from a set, used inside an `au
23
23
 
24
24
  | Properties | Attributes | Modifiers | Type | Default | Category | Required | Description |
25
25
  | ---------- | ---------- | --------- | ---------------------- | --------- | -------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
26
- | appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the radio button colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.<br>Inside an `auro-radio-group`, the group's `appearance` replaces this value. |
26
+ | appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the radio button colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.<br>Inside an `auro-radio-group`, the group's `appearance` replaces this value each time the group's `appearance` changes. |
27
27
  | disabled | disabled | | boolean | | ui | | Turns the radio button off, so it can't be selected.<br>A disabled radio button is shown in a muted style, and arrow keys skip it. |
28
28
  | label | label | | string | | ui | | Sets the label text for the radio button, such as "Window seat".<br>Content in the default slot replaces it. |
29
29
  | onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Shows the radio button in colors made for dark backgrounds. |
@@ -89,21 +89,21 @@ A group of radio buttons with a shared label that lets people choose exactly one
89
89
 
90
90
  ### Properties and attributes
91
91
 
92
- | Properties | Attributes | Modifiers | Type | Default | Category | Relevant when | Description |
93
- | ----------------------------- | ----------------------------- | --------- | ---------------------- | --------- | -------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
94
- | 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 radio button in it. |
95
- | disabled | disabled | | boolean | | ui | | Turns off every radio button in the group.<br>Removing `disabled` later turns every radio button back on, including ones you disabled individually. |
96
- | horizontal | horizontal | | boolean | | ui | | Places the radio buttons side by side on one line.<br>Works for up to three radio buttons; groups with four or more stay stacked vertically. |
97
- | onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Shows the group and its radio buttons in colors made for dark backgrounds. |
98
- | error | error | | string | | behavior | | Shows the group in its error state with this message, such as "Select an option".<br>The error stays until you remove the attribute. When set, `setCustomValidityCustomError` or `setCustomValidity` replaces the message. |
99
- | noValidate | novalidate | | boolean | | behavior | | Stops the group from validating automatically when focus leaves it or the selection changes.<br>To validate the group yourself, call `validate()`. The `error` attribute still applies. |
100
- | optionSelected | | | HTMLElement | | behavior | | Gets the selected `auro-radio` element, or `undefined` when nothing is selected. |
101
- | required | required | | boolean | | behavior | | Requires a selection 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 selected. |
102
- | setCustomValidity | setcustomvalidity | | string | | behavior | | Sets one error message for every kind of error, such as "Choose an option".<br>It replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages. |
103
- | setCustomValidityCustomError | setcustomvaliditycustomerror | | string | | behavior | `error` | 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. |
104
- | setCustomValidityValueMissing | setcustomvalidityvaluemissing | | string | | behavior | `required` | Sets the error message shown when the group is `required` and nothing is selected, such as "Select an option".<br>The group has no default message, so set this or `setCustomValidity` to show one. `setCustomValidity` takes priority when both are set. |
105
- | 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. |
106
- | value | value | | string | | behavior | | Gets the `value` of the selected radio button, such as `window`.<br>Setting it doesn't select a radio button; set `checked` on the radio button instead. |
92
+ | Properties | Attributes | Modifiers | Type | Default | Category | Relevant when | Description |
93
+ | ----------------------------- | ----------------------------- | --------- | ---------------------- | --------- | -------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
94
+ | 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 the radio buttons it contains. Radio buttons you add later don't pick it up until this value changes. |
95
+ | disabled | disabled | | boolean | | ui | | Turns off every radio button in the group.<br>Removing `disabled` later turns every radio button back on, including ones you disabled individually. |
96
+ | horizontal | horizontal | | boolean | | ui | | Places the radio buttons side by side on one line.<br>Works for up to three radio buttons; groups with four or more stay stacked vertically. |
97
+ | onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Shows the group and its radio buttons in colors made for dark backgrounds. |
98
+ | error | error | | string | | behavior | | Shows the group in its error state with this message, such as "Select an option".<br>The error stays until you remove the attribute. When set, `setCustomValidityCustomError` or `setCustomValidity` replaces the message. |
99
+ | noValidate | novalidate | | boolean | | behavior | | Stops the group from validating automatically when focus leaves it or the selection 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. |
100
+ | optionSelected | | | HTMLElement | | behavior | | Gets the selected `auro-radio` element, or `undefined` when nothing is selected. |
101
+ | required | required | | boolean | | behavior | | Requires a selection 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 selected. |
102
+ | setCustomValidity | setcustomvalidity | | string | | behavior | | Sets one error message for every kind of error, such as "Choose an option".<br>It replaces the `error` text and the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages. |
103
+ | setCustomValidityCustomError | setcustomvaliditycustomerror | | string | | behavior | `error` | 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. |
104
+ | setCustomValidityValueMissing | setcustomvalidityvaluemissing | | string | | behavior | `required` | Sets the error message shown when the group is `required` and nothing is selected, such as "Select an option".<br>The group has no default message, so set this or `setCustomValidity` to show one. `setCustomValidity` takes priority when both are set. |
105
+ | 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. |
106
+ | value | value | | string | | behavior | | Gets the `value` of the selected radio button, such as `window`.<br>Setting it doesn't select a radio button; set `checked` on the radio button instead. |
107
107
 
108
108
  ### Methods
109
109
 
@@ -349,7 +349,7 @@
349
349
  <!-- AURO-GENERATED-CONTENT:END -->
350
350
  </auro-accordion>
351
351
  <auro-header level="3" id="noValidate">No validation</auro-header>
352
- <p>Use the <code>noValidate</code> attribute to stop the group from validating automatically when focus leaves it or the selection changes. To validate the group yourself, call the <code>validate()</code> method.</p>
352
+ <p>Use the <code>noValidate</code> attribute to stop the group from validating automatically when focus leaves it or the selection changes. To validate the group yourself, call <code>validate(true)</code>, which checks right away, even before anyone has interacted with the group.</p>
353
353
  <div class="exampleWrapper">
354
354
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/no-validate.html) -->
355
355
  <!-- The below content is automatically added from ./../apiExamples/no-validate.html -->