@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.11 → 0.0.0-pr1628.13

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 (73) 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 +15 -23
  7. package/components/combobox/demo/getting-started.min.js +15 -23
  8. package/components/combobox/demo/index.min.js +15 -23
  9. package/components/combobox/dist/index.js +4 -16
  10. package/components/combobox/dist/registered.js +4 -16
  11. package/components/counter/demo/api.md +28 -28
  12. package/components/counter/demo/css-only.md +1 -1
  13. package/components/counter/demo/customize.md +2 -2
  14. package/components/counter/demo/customize.min.js +12 -11
  15. package/components/counter/demo/getting-started.md +2 -2
  16. package/components/counter/demo/getting-started.min.js +12 -11
  17. package/components/counter/demo/index.min.js +12 -11
  18. package/components/counter/demo/voiceover.md +2 -2
  19. package/components/counter/demo/why-counter.md +1 -1
  20. package/components/counter/dist/auro-counter-group.d.ts +7 -6
  21. package/components/counter/dist/auro-counter.d.ts +3 -3
  22. package/components/counter/dist/index.js +12 -11
  23. package/components/counter/dist/registered.js +12 -11
  24. package/components/datepicker/demo/customize.min.js +5 -17
  25. package/components/datepicker/demo/getting-started.min.js +5 -17
  26. package/components/datepicker/demo/index.min.js +5 -17
  27. package/components/datepicker/dist/index.js +5 -17
  28. package/components/datepicker/dist/registered.js +5 -17
  29. package/components/dropdown/demo/customize.min.js +1 -1
  30. package/components/dropdown/demo/getting-started.min.js +3 -15
  31. package/components/dropdown/demo/index.min.js +1 -1
  32. package/components/dropdown/dist/index.js +1 -1
  33. package/components/dropdown/dist/registered.js +1 -1
  34. package/components/form/demo/customize.min.js +40 -71
  35. package/components/form/demo/getting-started.min.js +40 -71
  36. package/components/form/demo/index.min.js +40 -71
  37. package/components/form/demo/registerDemoDeps.min.js +40 -71
  38. package/components/input/demo/api.md +12 -12
  39. package/components/input/demo/css-only.md +4 -4
  40. package/components/input/demo/customize.md +4 -4
  41. package/components/input/demo/customize.min.js +2 -14
  42. package/components/input/demo/getting-started.min.js +2 -14
  43. package/components/input/demo/index.min.js +2 -14
  44. package/components/input/demo/voiceover.md +1 -1
  45. package/components/input/demo/why-input.md +2 -2
  46. package/components/input/dist/base-input.d.ts +0 -12
  47. package/components/input/dist/index.js +2 -14
  48. package/components/input/dist/registered.js +2 -14
  49. package/components/menu/demo/api.md +18 -7
  50. package/components/menu/demo/index.min.js +11 -7
  51. package/components/menu/dist/auro-menu.d.ts +5 -3
  52. package/components/menu/dist/auro-menuoption.d.ts +6 -4
  53. package/components/menu/dist/index.js +11 -7
  54. package/components/menu/dist/registered.js +11 -7
  55. package/components/radio/demo/customize.min.js +1 -1
  56. package/components/radio/demo/getting-started.min.js +1 -1
  57. package/components/radio/demo/index.min.js +1 -1
  58. package/components/radio/dist/index.js +1 -1
  59. package/components/radio/dist/registered.js +1 -1
  60. package/components/select/demo/api.md +46 -46
  61. package/components/select/demo/customize.md +48 -0
  62. package/components/select/demo/customize.min.js +15 -11
  63. package/components/select/demo/design.md +6 -0
  64. package/components/select/demo/getting-started.min.js +15 -11
  65. package/components/select/demo/index.md +2 -0
  66. package/components/select/demo/index.min.js +15 -11
  67. package/components/select/demo/keyboard-behavior.md +1 -1
  68. package/components/select/demo/voiceover.md +5 -5
  69. package/components/select/dist/auro-select.d.ts +2 -2
  70. package/components/select/dist/index.js +4 -4
  71. package/components/select/dist/registered.js +4 -4
  72. package/custom-elements.json +23 -71
  73. package/package.json +1 -1
@@ -31,7 +31,7 @@ const watchedItems = new Set();
31
31
  /**
32
32
  * Sets an element's `lang` to the page's language.
33
33
  * @private
34
- * @param {object} item - An element from `watchedItems`.
34
+ * @param {object} item - The element to update.
35
35
  * @param {string} lang - The page's current language.
36
36
  */
37
37
  function setLang(item, lang) {
@@ -10882,7 +10882,6 @@ class BaseInput extends AuroElement {
10882
10882
  /**
10883
10883
  * Does not currently change any message. To set the error message for an invalid email address,
10884
10884
  * use `setCustomValidityForType`.
10885
- * @relevantWhen !noValidate
10886
10885
  * @category behavior
10887
10886
  */
10888
10887
  customValidityTypeEmail: {
@@ -11151,7 +11150,6 @@ class BaseInput extends AuroElement {
11151
11150
  /**
11152
11151
  * Makes the input invalid when it's left empty, and removes the " (optional)" text after the label.
11153
11152
  * Use `setCustomValidityValueMissing` to set the error message.
11154
- * @relevantWhen !noValidate
11155
11153
  * @category behavior
11156
11154
  */
11157
11155
  required: {
@@ -11162,7 +11160,6 @@ class BaseInput extends AuroElement {
11162
11160
  /**
11163
11161
  * Sets one error message for every kind of validation error. When set, it replaces the messages from
11164
11162
  * `error` and every other `setCustomValidity*` property.
11165
- * @relevantWhen !noValidate
11166
11163
  * @category behavior
11167
11164
  */
11168
11165
  setCustomValidity: {
@@ -11173,7 +11170,6 @@ class BaseInput extends AuroElement {
11173
11170
  /**
11174
11171
  * Sets the error message for `validity="badInput"`. Does not currently change any message,
11175
11172
  * because the input never reports `badInput`.
11176
- * @relevantWhen !noValidate
11177
11173
  * @category behavior
11178
11174
  */
11179
11175
  setCustomValidityBadInput: {
@@ -11183,7 +11179,6 @@ class BaseInput extends AuroElement {
11183
11179
 
11184
11180
  /**
11185
11181
  * Sets the error message shown while the `error` attribute is set, in place of the `error` value.
11186
- * @relevantWhen !noValidate
11187
11182
  * @category behavior
11188
11183
  */
11189
11184
  setCustomValidityCustomError: {
@@ -11194,7 +11189,6 @@ class BaseInput extends AuroElement {
11194
11189
  /**
11195
11190
  * Sets the error message shown when the value doesn't fit its `type`, such as a badly formed email address,
11196
11191
  * an incomplete card number, or an incomplete date. When not set, `email`, `credit-card`, and most `date` inputs use a built-in message.
11197
- * @relevantWhen !noValidate
11198
11192
  * @category behavior
11199
11193
  */
11200
11194
  setCustomValidityForType: {
@@ -11205,7 +11199,6 @@ class BaseInput extends AuroElement {
11205
11199
  /**
11206
11200
  * Sets the error message shown when the value doesn't match `pattern`, or when a date isn't a real calendar date.
11207
11201
  * For `pattern`, it does not currently work when set only as a property, so set the attribute instead.
11208
- * @relevantWhen !noValidate
11209
11202
  * @category behavior
11210
11203
  */
11211
11204
  setCustomValidityPatternMismatch: {
@@ -11215,7 +11208,6 @@ class BaseInput extends AuroElement {
11215
11208
 
11216
11209
  /**
11217
11210
  * Sets the error message shown when the value is above `max`.
11218
- * @relevantWhen !noValidate
11219
11211
  * @category behavior
11220
11212
  */
11221
11213
  setCustomValidityRangeOverflow: {
@@ -11225,7 +11217,6 @@ class BaseInput extends AuroElement {
11225
11217
 
11226
11218
  /**
11227
11219
  * Sets the error message shown when the value is below `min`.
11228
- * @relevantWhen !noValidate
11229
11220
  * @category behavior
11230
11221
  */
11231
11222
  setCustomValidityRangeUnderflow: {
@@ -11236,7 +11227,6 @@ class BaseInput extends AuroElement {
11236
11227
  /**
11237
11228
  * Sets the error message shown when the value is longer than `maxlength`.
11238
11229
  * Does not currently work when set only as a property, so set the attribute instead.
11239
- * @relevantWhen !noValidate
11240
11230
  * @category behavior
11241
11231
  */
11242
11232
  setCustomValidityTooLong: {
@@ -11247,7 +11237,6 @@ class BaseInput extends AuroElement {
11247
11237
  /**
11248
11238
  * Sets the error message shown when the value is shorter than `minlength`.
11249
11239
  * Does not currently work when set only as a property, so set the attribute instead.
11250
- * @relevantWhen !noValidate
11251
11240
  * @category behavior
11252
11241
  */
11253
11242
  setCustomValidityTooShort: {
@@ -11257,7 +11246,6 @@ class BaseInput extends AuroElement {
11257
11246
 
11258
11247
  /**
11259
11248
  * Sets the error message shown when a `required` input is left empty.
11260
- * @relevantWhen !noValidate
11261
11249
  * @category behavior
11262
11250
  */
11263
11251
  setCustomValidityValueMissing: {
@@ -12564,7 +12552,7 @@ class AuroHelpText extends LitElement {
12564
12552
  }
12565
12553
  }
12566
12554
 
12567
- var formkitVersion = '202611091610';
12555
+ var formkitVersion = '202611091925';
12568
12556
 
12569
12557
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12570
12558
  // See LICENSE in the project root for license information.
@@ -31,7 +31,7 @@ const watchedItems = new Set();
31
31
  /**
32
32
  * Sets an element's `lang` to the page's language.
33
33
  * @private
34
- * @param {object} item - An element from `watchedItems`.
34
+ * @param {object} item - The element to update.
35
35
  * @param {string} lang - The page's current language.
36
36
  */
37
37
  function setLang(item, lang) {
@@ -10882,7 +10882,6 @@ class BaseInput extends AuroElement {
10882
10882
  /**
10883
10883
  * Does not currently change any message. To set the error message for an invalid email address,
10884
10884
  * use `setCustomValidityForType`.
10885
- * @relevantWhen !noValidate
10886
10885
  * @category behavior
10887
10886
  */
10888
10887
  customValidityTypeEmail: {
@@ -11151,7 +11150,6 @@ class BaseInput extends AuroElement {
11151
11150
  /**
11152
11151
  * Makes the input invalid when it's left empty, and removes the " (optional)" text after the label.
11153
11152
  * Use `setCustomValidityValueMissing` to set the error message.
11154
- * @relevantWhen !noValidate
11155
11153
  * @category behavior
11156
11154
  */
11157
11155
  required: {
@@ -11162,7 +11160,6 @@ class BaseInput extends AuroElement {
11162
11160
  /**
11163
11161
  * Sets one error message for every kind of validation error. When set, it replaces the messages from
11164
11162
  * `error` and every other `setCustomValidity*` property.
11165
- * @relevantWhen !noValidate
11166
11163
  * @category behavior
11167
11164
  */
11168
11165
  setCustomValidity: {
@@ -11173,7 +11170,6 @@ class BaseInput extends AuroElement {
11173
11170
  /**
11174
11171
  * Sets the error message for `validity="badInput"`. Does not currently change any message,
11175
11172
  * because the input never reports `badInput`.
11176
- * @relevantWhen !noValidate
11177
11173
  * @category behavior
11178
11174
  */
11179
11175
  setCustomValidityBadInput: {
@@ -11183,7 +11179,6 @@ class BaseInput extends AuroElement {
11183
11179
 
11184
11180
  /**
11185
11181
  * Sets the error message shown while the `error` attribute is set, in place of the `error` value.
11186
- * @relevantWhen !noValidate
11187
11182
  * @category behavior
11188
11183
  */
11189
11184
  setCustomValidityCustomError: {
@@ -11194,7 +11189,6 @@ class BaseInput extends AuroElement {
11194
11189
  /**
11195
11190
  * Sets the error message shown when the value doesn't fit its `type`, such as a badly formed email address,
11196
11191
  * an incomplete card number, or an incomplete date. When not set, `email`, `credit-card`, and most `date` inputs use a built-in message.
11197
- * @relevantWhen !noValidate
11198
11192
  * @category behavior
11199
11193
  */
11200
11194
  setCustomValidityForType: {
@@ -11205,7 +11199,6 @@ class BaseInput extends AuroElement {
11205
11199
  /**
11206
11200
  * Sets the error message shown when the value doesn't match `pattern`, or when a date isn't a real calendar date.
11207
11201
  * For `pattern`, it does not currently work when set only as a property, so set the attribute instead.
11208
- * @relevantWhen !noValidate
11209
11202
  * @category behavior
11210
11203
  */
11211
11204
  setCustomValidityPatternMismatch: {
@@ -11215,7 +11208,6 @@ class BaseInput extends AuroElement {
11215
11208
 
11216
11209
  /**
11217
11210
  * Sets the error message shown when the value is above `max`.
11218
- * @relevantWhen !noValidate
11219
11211
  * @category behavior
11220
11212
  */
11221
11213
  setCustomValidityRangeOverflow: {
@@ -11225,7 +11217,6 @@ class BaseInput extends AuroElement {
11225
11217
 
11226
11218
  /**
11227
11219
  * Sets the error message shown when the value is below `min`.
11228
- * @relevantWhen !noValidate
11229
11220
  * @category behavior
11230
11221
  */
11231
11222
  setCustomValidityRangeUnderflow: {
@@ -11236,7 +11227,6 @@ class BaseInput extends AuroElement {
11236
11227
  /**
11237
11228
  * Sets the error message shown when the value is longer than `maxlength`.
11238
11229
  * Does not currently work when set only as a property, so set the attribute instead.
11239
- * @relevantWhen !noValidate
11240
11230
  * @category behavior
11241
11231
  */
11242
11232
  setCustomValidityTooLong: {
@@ -11247,7 +11237,6 @@ class BaseInput extends AuroElement {
11247
11237
  /**
11248
11238
  * Sets the error message shown when the value is shorter than `minlength`.
11249
11239
  * Does not currently work when set only as a property, so set the attribute instead.
11250
- * @relevantWhen !noValidate
11251
11240
  * @category behavior
11252
11241
  */
11253
11242
  setCustomValidityTooShort: {
@@ -11257,7 +11246,6 @@ class BaseInput extends AuroElement {
11257
11246
 
11258
11247
  /**
11259
11248
  * Sets the error message shown when a `required` input is left empty.
11260
- * @relevantWhen !noValidate
11261
11249
  * @category behavior
11262
11250
  */
11263
11251
  setCustomValidityValueMissing: {
@@ -12564,7 +12552,7 @@ class AuroHelpText extends LitElement {
12564
12552
  }
12565
12553
  }
12566
12554
 
12567
- var formkitVersion = '202611091610';
12555
+ var formkitVersion = '202611091925';
12568
12556
 
12569
12557
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12570
12558
  // See LICENSE in the project root for license information.
@@ -11,7 +11,13 @@ A list of options that people choose from, used as the options list inside `auro
11
11
  - **Match highlighting**: Set `matchword` to show the matching text in each option in bold.
12
12
  - **Loading state**: Set `loading` to show the `loadingIcon` and `loadingText` slots in place of the options.
13
13
  - **Grouped options**: Nest an `auro-menu` inside another to indent a group of options, while the outer menu keeps track of the selection.
14
- - **Disabled menu**: Set `disabled` to turn off every option without changing each option's own `disabled` setting.
14
+ - **Disabled menu**: Set `disabled` to turn off every option without changing each option's own `disabled` setting.
15
+
16
+ **Example**
17
+ <pre class="language-html"><code class="language-html">&lt;auro-menu&gt;
18
+ &lt;auro-menuoption value="stops"&gt;Stops&lt;/auro-menuoption&gt;
19
+ &lt;auro-menuoption value="price"&gt;Price&lt;/auro-menuoption&gt;
20
+ &lt;/auro-menu&gt;</code></pre>
15
21
 
16
22
  ### Properties and attributes
17
23
 
@@ -27,12 +33,12 @@ A list of options that people choose from, used as the options list inside `auro
27
33
  | selectedOption | | readonly | HTMLElement \| null | | behavior | Gets the first selected option, or `null` when nothing is selected. |
28
34
  | selectedOptions | | readonly | Array<HTMLElement> | | behavior | Gets the selected options as an array. |
29
35
  | value | value | | string | `undefined` | behavior | Sets the selected option by its `value`, such as `stops`, and updates when someone selects an option. In multi-select mode, it's a JSON array string, such as `'["stops","price"]'`, and values that match only `disabled` or `static` options are dropped. Options marked `disabled` or `static` can't be selected by value, but `hidden` options can; when nothing selectable matches, the selection is cleared and `auroMenu-selectValueFailure` fires. |
30
- | disabled | disabled | | boolean | | ui | Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged. |
36
+ | disabled | disabled | | boolean | | ui | Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged. A selected option in a nested menu doesn't currently switch to the muted style unless the nested menu is also disabled. |
31
37
  | layout | layout | | string | | ui | Sets a layout name for the menu. The menu has no layouts, so this doesn't currently change how it looks. |
32
38
  | loading | loading | | boolean | `false` | ui | Shows a loading placeholder in place of the options, using the `loadingIcon` and `loadingText` slots when they have content. Also sets `aria-busy` so screen readers know the options aren't ready. |
33
39
  | noCheckmark | nocheckmark | | boolean | `false` | ui | Hides the checkmark next to selected options. Applies to every option in the menu, including options in nested menus. |
34
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. |
35
- | shape | shape | | `box` \| `pill` \| `snowflake` | `box` | ui | Sets the corner shape of every option in the menu. `box` (the default) and `snowflake` have square corners, and `pill` has fully rounded ends. An option's own `shape` overrides it. |
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. |
36
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. |
37
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. |
38
44
 
@@ -78,7 +84,12 @@ One option in an `auro-menu` list, which people can highlight and select.
78
84
  - **Disabled option**: Set `disabled` to show the option in a muted style and stop it from being selected.
79
85
  - **Rows that can't be selected**: Set `static` to show a row, such as a section heading, that the arrow keys skip.
80
86
  - **Custom actions**: Set `event` to have the menu fire a named event instead of selecting the option.
81
- - **Unchanged text**: Set `persistent` to keep the option's text as written when the menu highlights matching text.
87
+ - **Unchanged text**: Set `persistent` to keep the option's text as written when the menu highlights matching text.
88
+
89
+ **Example**
90
+ <pre class="language-html"><code class="language-html">&lt;auro-menu&gt;
91
+ &lt;auro-menuoption value="stops"&gt;Stops&lt;/auro-menuoption&gt;
92
+ &lt;/auro-menu&gt;</code></pre>
82
93
 
83
94
  ### Properties and attributes
84
95
 
@@ -93,7 +104,7 @@ One option in an `auro-menu` list, which people can highlight and select.
93
104
  | isActive | | readonly | boolean | | behavior | | Checks whether the option can be highlighted and selected: it isn't `hidden`, `disabled`, or `static`, and no menu containing it is disabled. |
94
105
  | noMatch | nomatch | | boolean | `false` | behavior | | Marks the option as the "no matching results" row that `auro-combobox` shows when nothing matches what someone typed. |
95
106
  | persistent | persistent | | boolean | `false` | behavior | | Keeps the option's text as written when the menu highlights `matchword` text. Use it for utility rows, such as "Add new…", that should look the same whatever someone types. |
96
- | value | value | | string | | behavior | Yes | Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected. |
107
+ | value | value | | string | | behavior | Yes | Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected, or includes it in multi-select mode. |
97
108
  | selected | selected | | boolean | `false` | behavior | | Deprecated: Use the `value` attribute on `auro-menu`, or call its `selectByValue()` method, instead.<br>Shows whether the option is selected; the menu sets it to match its own selection. Support for setting it on the option will be removed in a future major release. |
98
109
  | tabIndex | tabindex | | number | `-1` | a11y | | Sets the option's position in the keyboard tab order. Leave it at `-1` (the default) so options stay out of the tab order, because the arrow keys move between options instead. |
99
110
  | | static | | Boolean | | | | Shows the option as a row that can't be highlighted or selected, and that the arrow keys skip. Use it for section headings or informational rows inside a menu. |
@@ -107,8 +118,8 @@ One option in an `auro-menu` list, which people can highlight and select.
107
118
  | 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. |
108
119
  | 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. |
109
120
  | 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()`. |
110
- | attachTo | None | | Deprecated: Remove calls to it; it has no effect.<br>Does nothing. It connected the option to the menu, before the menu took back control of its options' state. It will be removed in a future major release. |
111
- | handleMenuChange | None | | Deprecated: Remove calls to it; it has no effect.<br>Does nothing. It updated the option when the menu changed, before the menu took back control of its options' state. It will be removed in a future major release. |
121
+ | attachTo | None | | Deprecated: Remove calls to it; it has no effect.<br>It connected the option to the menu, before the menu took back control of its options' state. It will be removed in a future major release. |
122
+ | handleMenuChange | None | | Deprecated: Remove calls to it; it has no effect.<br>It updated the option when the menu changed, before the menu took back control of its options' state. It will be removed in a future major release. |
112
123
  | setSelected | `value` (boolean) - If true, marks the option as selected. If false, clears it. | | Deprecated: Use the `value` attribute on `auro-menu`, or call its `selectByValue()` method, instead.<br>Sets the option's `selected` property, the same as setting it directly. It will be removed in a future major release. |
113
124
  | updateActive | `active` (boolean) - If true, marks the option as active. If false, clears it. | | Deprecated: Call `updateActiveOption()` on `auro-menu` instead.<br>Sets the option's `active` property and `active` class directly. The menu isn't told, so its own active option stays as it was. It will be removed in a future major release. |
114
125
 
@@ -476,11 +476,13 @@ let menuInstanceIdCounter = 0;
476
476
  * - **Grouped options**: Nest an `auro-menu` inside another to indent a group of options, while the outer menu keeps track of the selection.
477
477
  * - **Disabled menu**: Set `disabled` to turn off every option without changing each option's own `disabled` setting.
478
478
  *
479
- * @example
479
+ * **Example**
480
+ * ```html
480
481
  * <auro-menu>
481
482
  * <auro-menuoption value="stops">Stops</auro-menuoption>
482
483
  * <auro-menuoption value="price">Price</auro-menuoption>
483
484
  * </auro-menu>
485
+ * ```
484
486
  *
485
487
  * @summary A list of options with single or multiple selection, match highlighting, a loading state, and grouped options.
486
488
  * @customElement auro-menu
@@ -599,7 +601,7 @@ class AuroMenu extends AuroElement {
599
601
  },
600
602
 
601
603
  /**
602
- * Sets the corner shape of every option in the menu. `box` (the default) and `snowflake` have square corners, and `pill` has fully rounded ends. An option's own `shape` overrides it.
604
+ * 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.
603
605
  * @type {'box' | 'pill' | 'snowflake'}
604
606
  * @default 'box'
605
607
  * @category ui
@@ -623,7 +625,7 @@ class AuroMenu extends AuroElement {
623
625
  },
624
626
 
625
627
  /**
626
- * Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged.
628
+ * Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged. A selected option in a nested menu doesn't currently switch to the muted style unless the nested menu is also disabled.
627
629
  * @category ui
628
630
  */
629
631
  disabled: {
@@ -1996,10 +1998,12 @@ let menuOptionIdCounter = 0;
1996
1998
  * - **Custom actions**: Set `event` to have the menu fire a named event instead of selecting the option.
1997
1999
  * - **Unchanged text**: Set `persistent` to keep the option's text as written when the menu highlights matching text.
1998
2000
  *
1999
- * @example
2001
+ * **Example**
2002
+ * ```html
2000
2003
  * <auro-menu>
2001
2004
  * <auro-menuoption value="stops">Stops</auro-menuoption>
2002
2005
  * </auro-menu>
2006
+ * ```
2003
2007
  *
2004
2008
  * @summary One option in a menu, which can be disabled, shown as a row that can't be selected, or set to fire a custom event.
2005
2009
  * @customElement auro-menuoption
@@ -2098,7 +2102,7 @@ class AuroMenuOption extends AuroElement {
2098
2102
  },
2099
2103
 
2100
2104
  /**
2101
- * Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected.
2105
+ * Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected, or includes it in multi-select mode.
2102
2106
  * @requiredWhen always
2103
2107
  * @category behavior
2104
2108
  */
@@ -2238,7 +2242,7 @@ class AuroMenuOption extends AuroElement {
2238
2242
 
2239
2243
  /**
2240
2244
  * Deprecated: Remove calls to it; it has no effect.
2241
- * Does nothing. It updated the option when the menu changed, before the menu took back control of its options' state. It will be removed in a future major release.
2245
+ * It updated the option when the menu changed, before the menu took back control of its options' state. It will be removed in a future major release.
2242
2246
  *
2243
2247
  * @deprecated Has no effect. Remove calls to it.
2244
2248
  */
@@ -2275,7 +2279,7 @@ class AuroMenuOption extends AuroElement {
2275
2279
 
2276
2280
  /**
2277
2281
  * Deprecated: Remove calls to it; it has no effect.
2278
- * Does nothing. It connected the option to the menu, before the menu took back control of its options' state. It will be removed in a future major release.
2282
+ * It connected the option to the menu, before the menu took back control of its options' state. It will be removed in a future major release.
2279
2283
  *
2280
2284
  * @deprecated Has no effect. Remove calls to it.
2281
2285
  */
@@ -9,11 +9,13 @@
9
9
  * - **Grouped options**: Nest an `auro-menu` inside another to indent a group of options, while the outer menu keeps track of the selection.
10
10
  * - **Disabled menu**: Set `disabled` to turn off every option without changing each option's own `disabled` setting.
11
11
  *
12
- * @example
12
+ * **Example**
13
+ * ```html
13
14
  * <auro-menu>
14
15
  * <auro-menuoption value="stops">Stops</auro-menuoption>
15
16
  * <auro-menuoption value="price">Price</auro-menuoption>
16
17
  * </auro-menu>
18
+ * ```
17
19
  *
18
20
  * @summary A list of options with single or multiple selection, match highlighting, a loading state, and grouped options.
19
21
  * @customElement auro-menu
@@ -41,7 +43,7 @@ export class AuroMenu extends AuroElement {
41
43
  reflect: boolean;
42
44
  };
43
45
  /**
44
- * Sets the corner shape of every option in the menu. `box` (the default) and `snowflake` have square corners, and `pill` has fully rounded ends. An option's own `shape` overrides it.
46
+ * 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.
45
47
  * @type {'box' | 'pill' | 'snowflake'}
46
48
  * @default 'box'
47
49
  * @category ui
@@ -55,7 +57,7 @@ export class AuroMenu extends AuroElement {
55
57
  */
56
58
  size: "xs" | "sm" | "md" | "lg" | "xl";
57
59
  /**
58
- * Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged.
60
+ * Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged. A selected option in a nested menu doesn't currently switch to the muted style unless the nested menu is also disabled.
59
61
  * @category ui
60
62
  */
61
63
  disabled: {
@@ -7,10 +7,12 @@
7
7
  * - **Custom actions**: Set `event` to have the menu fire a named event instead of selecting the option.
8
8
  * - **Unchanged text**: Set `persistent` to keep the option's text as written when the menu highlights matching text.
9
9
  *
10
- * @example
10
+ * **Example**
11
+ * ```html
11
12
  * <auro-menu>
12
13
  * <auro-menuoption value="stops">Stops</auro-menuoption>
13
14
  * </auro-menu>
15
+ * ```
14
16
  *
15
17
  * @summary One option in a menu, which can be disabled, shown as a row that can't be selected, or set to fire a custom event.
16
18
  * @customElement auro-menuoption
@@ -64,7 +66,7 @@ export class AuroMenuOption extends AuroElement {
64
66
  reflect: boolean;
65
67
  };
66
68
  /**
67
- * Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected.
69
+ * Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected, or includes it in multi-select mode.
68
70
  * @requiredWhen always
69
71
  * @category behavior
70
72
  */
@@ -145,7 +147,7 @@ export class AuroMenuOption extends AuroElement {
145
147
  updated(changedProperties: any): void;
146
148
  /**
147
149
  * Deprecated: Remove calls to it; it has no effect.
148
- * Does nothing. It updated the option when the menu changed, before the menu took back control of its options' state. It will be removed in a future major release.
150
+ * It updated the option when the menu changed, before the menu took back control of its options' state. It will be removed in a future major release.
149
151
  *
150
152
  * @deprecated Has no effect. Remove calls to it.
151
153
  */
@@ -169,7 +171,7 @@ export class AuroMenuOption extends AuroElement {
169
171
  active: boolean | undefined;
170
172
  /**
171
173
  * Deprecated: Remove calls to it; it has no effect.
172
- * Does nothing. It connected the option to the menu, before the menu took back control of its options' state. It will be removed in a future major release.
174
+ * It connected the option to the menu, before the menu took back control of its options' state. It will be removed in a future major release.
173
175
  *
174
176
  * @deprecated Has no effect. Remove calls to it.
175
177
  */
@@ -481,11 +481,13 @@ let menuInstanceIdCounter = 0;
481
481
  * - **Grouped options**: Nest an `auro-menu` inside another to indent a group of options, while the outer menu keeps track of the selection.
482
482
  * - **Disabled menu**: Set `disabled` to turn off every option without changing each option's own `disabled` setting.
483
483
  *
484
- * @example
484
+ * **Example**
485
+ * ```html
485
486
  * <auro-menu>
486
487
  * <auro-menuoption value="stops">Stops</auro-menuoption>
487
488
  * <auro-menuoption value="price">Price</auro-menuoption>
488
489
  * </auro-menu>
490
+ * ```
489
491
  *
490
492
  * @summary A list of options with single or multiple selection, match highlighting, a loading state, and grouped options.
491
493
  * @customElement auro-menu
@@ -604,7 +606,7 @@ class AuroMenu extends AuroElement {
604
606
  },
605
607
 
606
608
  /**
607
- * Sets the corner shape of every option in the menu. `box` (the default) and `snowflake` have square corners, and `pill` has fully rounded ends. An option's own `shape` overrides it.
609
+ * 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.
608
610
  * @type {'box' | 'pill' | 'snowflake'}
609
611
  * @default 'box'
610
612
  * @category ui
@@ -628,7 +630,7 @@ class AuroMenu extends AuroElement {
628
630
  },
629
631
 
630
632
  /**
631
- * Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged.
633
+ * Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged. A selected option in a nested menu doesn't currently switch to the muted style unless the nested menu is also disabled.
632
634
  * @category ui
633
635
  */
634
636
  disabled: {
@@ -1988,10 +1990,12 @@ let menuOptionIdCounter = 0;
1988
1990
  * - **Custom actions**: Set `event` to have the menu fire a named event instead of selecting the option.
1989
1991
  * - **Unchanged text**: Set `persistent` to keep the option's text as written when the menu highlights matching text.
1990
1992
  *
1991
- * @example
1993
+ * **Example**
1994
+ * ```html
1992
1995
  * <auro-menu>
1993
1996
  * <auro-menuoption value="stops">Stops</auro-menuoption>
1994
1997
  * </auro-menu>
1998
+ * ```
1995
1999
  *
1996
2000
  * @summary One option in a menu, which can be disabled, shown as a row that can't be selected, or set to fire a custom event.
1997
2001
  * @customElement auro-menuoption
@@ -2090,7 +2094,7 @@ class AuroMenuOption extends AuroElement {
2090
2094
  },
2091
2095
 
2092
2096
  /**
2093
- * Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected.
2097
+ * Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected, or includes it in multi-select mode.
2094
2098
  * @requiredWhen always
2095
2099
  * @category behavior
2096
2100
  */
@@ -2230,7 +2234,7 @@ class AuroMenuOption extends AuroElement {
2230
2234
 
2231
2235
  /**
2232
2236
  * Deprecated: Remove calls to it; it has no effect.
2233
- * Does nothing. It updated the option when the menu changed, before the menu took back control of its options' state. It will be removed in a future major release.
2237
+ * It updated the option when the menu changed, before the menu took back control of its options' state. It will be removed in a future major release.
2234
2238
  *
2235
2239
  * @deprecated Has no effect. Remove calls to it.
2236
2240
  */
@@ -2267,7 +2271,7 @@ class AuroMenuOption extends AuroElement {
2267
2271
 
2268
2272
  /**
2269
2273
  * Deprecated: Remove calls to it; it has no effect.
2270
- * Does nothing. It connected the option to the menu, before the menu took back control of its options' state. It will be removed in a future major release.
2274
+ * It connected the option to the menu, before the menu took back control of its options' state. It will be removed in a future major release.
2271
2275
  *
2272
2276
  * @deprecated Has no effect. Remove calls to it.
2273
2277
  */
@@ -442,11 +442,13 @@ let menuInstanceIdCounter = 0;
442
442
  * - **Grouped options**: Nest an `auro-menu` inside another to indent a group of options, while the outer menu keeps track of the selection.
443
443
  * - **Disabled menu**: Set `disabled` to turn off every option without changing each option's own `disabled` setting.
444
444
  *
445
- * @example
445
+ * **Example**
446
+ * ```html
446
447
  * <auro-menu>
447
448
  * <auro-menuoption value="stops">Stops</auro-menuoption>
448
449
  * <auro-menuoption value="price">Price</auro-menuoption>
449
450
  * </auro-menu>
451
+ * ```
450
452
  *
451
453
  * @summary A list of options with single or multiple selection, match highlighting, a loading state, and grouped options.
452
454
  * @customElement auro-menu
@@ -565,7 +567,7 @@ class AuroMenu extends AuroElement {
565
567
  },
566
568
 
567
569
  /**
568
- * Sets the corner shape of every option in the menu. `box` (the default) and `snowflake` have square corners, and `pill` has fully rounded ends. An option's own `shape` overrides it.
570
+ * 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.
569
571
  * @type {'box' | 'pill' | 'snowflake'}
570
572
  * @default 'box'
571
573
  * @category ui
@@ -589,7 +591,7 @@ class AuroMenu extends AuroElement {
589
591
  },
590
592
 
591
593
  /**
592
- * Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged.
594
+ * Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged. A selected option in a nested menu doesn't currently switch to the muted style unless the nested menu is also disabled.
593
595
  * @category ui
594
596
  */
595
597
  disabled: {
@@ -1949,10 +1951,12 @@ let menuOptionIdCounter = 0;
1949
1951
  * - **Custom actions**: Set `event` to have the menu fire a named event instead of selecting the option.
1950
1952
  * - **Unchanged text**: Set `persistent` to keep the option's text as written when the menu highlights matching text.
1951
1953
  *
1952
- * @example
1954
+ * **Example**
1955
+ * ```html
1953
1956
  * <auro-menu>
1954
1957
  * <auro-menuoption value="stops">Stops</auro-menuoption>
1955
1958
  * </auro-menu>
1959
+ * ```
1956
1960
  *
1957
1961
  * @summary One option in a menu, which can be disabled, shown as a row that can't be selected, or set to fire a custom event.
1958
1962
  * @customElement auro-menuoption
@@ -2051,7 +2055,7 @@ class AuroMenuOption extends AuroElement {
2051
2055
  },
2052
2056
 
2053
2057
  /**
2054
- * Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected.
2058
+ * Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected, or includes it in multi-select mode.
2055
2059
  * @requiredWhen always
2056
2060
  * @category behavior
2057
2061
  */
@@ -2191,7 +2195,7 @@ class AuroMenuOption extends AuroElement {
2191
2195
 
2192
2196
  /**
2193
2197
  * Deprecated: Remove calls to it; it has no effect.
2194
- * Does nothing. It updated the option when the menu changed, before the menu took back control of its options' state. It will be removed in a future major release.
2198
+ * It updated the option when the menu changed, before the menu took back control of its options' state. It will be removed in a future major release.
2195
2199
  *
2196
2200
  * @deprecated Has no effect. Remove calls to it.
2197
2201
  */
@@ -2228,7 +2232,7 @@ class AuroMenuOption extends AuroElement {
2228
2232
 
2229
2233
  /**
2230
2234
  * Deprecated: Remove calls to it; it has no effect.
2231
- * Does nothing. It connected the option to the menu, before the menu took back control of its options' state. It will be removed in a future major release.
2235
+ * It connected the option to the menu, before the menu took back control of its options' state. It will be removed in a future major release.
2232
2236
  *
2233
2237
  * @deprecated Has no effect. Remove calls to it.
2234
2238
  */
@@ -1338,7 +1338,7 @@ class AuroHelpText extends i$2 {
1338
1338
  }
1339
1339
  }
1340
1340
 
1341
- var formkitVersion = '202611091610';
1341
+ var formkitVersion = '202611091925';
1342
1342
 
1343
1343
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1344
1344
  // See LICENSE in the project root for license information.
@@ -1338,7 +1338,7 @@ class AuroHelpText extends i$2 {
1338
1338
  }
1339
1339
  }
1340
1340
 
1341
- var formkitVersion = '202611091610';
1341
+ var formkitVersion = '202611091925';
1342
1342
 
1343
1343
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1344
1344
  // See LICENSE in the project root for license information.
@@ -1338,7 +1338,7 @@ class AuroHelpText extends i$2 {
1338
1338
  }
1339
1339
  }
1340
1340
 
1341
- var formkitVersion = '202611091610';
1341
+ var formkitVersion = '202611091925';
1342
1342
 
1343
1343
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1344
1344
  // See LICENSE in the project root for license information.
@@ -1277,7 +1277,7 @@ class AuroHelpText extends LitElement {
1277
1277
  }
1278
1278
  }
1279
1279
 
1280
- var formkitVersion = '202611091610';
1280
+ var formkitVersion = '202611091925';
1281
1281
 
1282
1282
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1283
1283
  // See LICENSE in the project root for license information.
@@ -1277,7 +1277,7 @@ class AuroHelpText extends LitElement {
1277
1277
  }
1278
1278
  }
1279
1279
 
1280
- var formkitVersion = '202611091610';
1280
+ var formkitVersion = '202611091925';
1281
1281
 
1282
1282
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1283
1283
  // See LICENSE in the project root for license information.