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

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 (155) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +1 -1
  2. package/components/bibtemplate/dist/index.js +1 -1
  3. package/components/bibtemplate/dist/registered.js +1 -1
  4. package/components/checkbox/README.md +1 -1
  5. package/components/checkbox/demo/accessibility.md +2 -2
  6. package/components/checkbox/demo/api.md +17 -17
  7. package/components/checkbox/demo/customize.md +16 -16
  8. package/components/checkbox/demo/customize.min.js +3 -3
  9. package/components/checkbox/demo/design.md +24 -24
  10. package/components/checkbox/demo/getting-started.md +33 -27
  11. package/components/checkbox/demo/getting-started.min.js +3 -3
  12. package/components/checkbox/demo/index.md +17 -17
  13. package/components/checkbox/demo/index.min.js +3 -3
  14. package/components/checkbox/demo/readme.md +1 -1
  15. package/components/checkbox/dist/auro-checkbox-group.d.ts +2 -2
  16. package/components/checkbox/dist/index.js +3 -3
  17. package/components/checkbox/dist/registered.js +3 -3
  18. package/components/combobox/demo/api.md +3 -3
  19. package/components/combobox/demo/css-only.md +3 -3
  20. package/components/combobox/demo/customize.md +12 -12
  21. package/components/combobox/demo/customize.min.js +50 -32
  22. package/components/combobox/demo/getting-started.min.js +50 -32
  23. package/components/combobox/demo/index.md +1 -1
  24. package/components/combobox/demo/index.min.js +50 -32
  25. package/components/combobox/dist/auro-combobox.d.ts +6 -4
  26. package/components/combobox/dist/index.js +39 -22
  27. package/components/combobox/dist/registered.js +39 -22
  28. package/components/counter/demo/accessibility.md +1 -1
  29. package/components/counter/demo/api.md +18 -18
  30. package/components/counter/demo/css-only.md +1 -1
  31. package/components/counter/demo/customize.md +2 -2
  32. package/components/counter/demo/customize.min.js +28 -28
  33. package/components/counter/demo/design.md +1 -1
  34. package/components/counter/demo/getting-started.md +29 -2
  35. package/components/counter/demo/getting-started.min.js +28 -28
  36. package/components/counter/demo/index.min.js +28 -28
  37. package/components/counter/demo/why-counter.md +3 -3
  38. package/components/counter/dist/auro-counter-group.d.ts +13 -14
  39. package/components/counter/dist/auro-counter.d.ts +1 -1
  40. package/components/counter/dist/index.js +28 -28
  41. package/components/counter/dist/registered.js +28 -28
  42. package/components/datepicker/README.md +1 -1
  43. package/components/datepicker/demo/accessibility.md +5 -5
  44. package/components/datepicker/demo/api.md +3 -3
  45. package/components/datepicker/demo/css-only.md +4 -4
  46. package/components/datepicker/demo/customize.md +12 -12
  47. package/components/datepicker/demo/customize.min.js +186 -132
  48. package/components/datepicker/demo/design.md +11 -11
  49. package/components/datepicker/demo/getting-started.md +4 -4
  50. package/components/datepicker/demo/getting-started.min.js +186 -132
  51. package/components/datepicker/demo/index.md +5 -5
  52. package/components/datepicker/demo/index.min.js +186 -132
  53. package/components/datepicker/demo/keyboard-behavior.md +1 -1
  54. package/components/datepicker/demo/readme.md +1 -1
  55. package/components/datepicker/demo/voiceover.md +4 -4
  56. package/components/datepicker/demo/why-datepicker.md +3 -3
  57. package/components/datepicker/dist/auro-calendar-cell.d.ts +32 -33
  58. package/components/datepicker/dist/auro-calendar-month.d.ts +8 -8
  59. package/components/datepicker/dist/auro-calendar.d.ts +44 -43
  60. package/components/datepicker/dist/auro-datepicker.d.ts +12 -10
  61. package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +3 -0
  62. package/components/datepicker/dist/index.js +186 -132
  63. package/components/datepicker/dist/registered.js +186 -132
  64. package/components/datepicker/dist/utilities.d.ts +4 -1
  65. package/components/datepicker/dist/utilitiesCalendar.d.ts +12 -4
  66. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +12 -6
  67. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +4 -4
  68. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +7 -7
  69. package/components/dropdown/demo/api.md +7 -7
  70. package/components/dropdown/demo/css-only.md +2 -2
  71. package/components/dropdown/demo/customize.md +1 -1
  72. package/components/dropdown/demo/customize.min.js +10 -9
  73. package/components/dropdown/demo/design.md +4 -4
  74. package/components/dropdown/demo/getting-started.min.js +31 -16
  75. package/components/dropdown/demo/index.min.js +10 -9
  76. package/components/dropdown/demo/voiceover.md +1 -1
  77. package/components/dropdown/demo/why-dropdown.md +1 -1
  78. package/components/dropdown/dist/auro-dropdown.d.ts +9 -8
  79. package/components/dropdown/dist/index.js +10 -9
  80. package/components/dropdown/dist/registered.js +10 -9
  81. package/components/form/README.md +1 -1
  82. package/components/form/demo/api.md +7 -7
  83. package/components/form/demo/css-only.md +1 -1
  84. package/components/form/demo/customize.md +2 -0
  85. package/components/form/demo/customize.min.js +316 -230
  86. package/components/form/demo/getting-started.md +2 -0
  87. package/components/form/demo/getting-started.min.js +316 -230
  88. package/components/form/demo/index.md +2 -2
  89. package/components/form/demo/index.min.js +316 -230
  90. package/components/form/demo/keyboard-behavior.md +1 -1
  91. package/components/form/demo/readme.md +1 -1
  92. package/components/form/demo/registerDemoDeps.min.js +314 -228
  93. package/components/form/demo/voiceover.md +3 -3
  94. package/components/form/demo/why-form.md +1 -1
  95. package/components/form/dist/auro-form.d.ts +2 -2
  96. package/components/form/dist/index.js +2 -2
  97. package/components/form/dist/registered.js +2 -2
  98. package/components/input/demo/api.md +58 -58
  99. package/components/input/demo/css-only.md +4 -4
  100. package/components/input/demo/customize.md +11 -11
  101. package/components/input/demo/customize.min.js +21 -7
  102. package/components/input/demo/design.md +2 -2
  103. package/components/input/demo/getting-started.md +5 -5
  104. package/components/input/demo/getting-started.min.js +21 -7
  105. package/components/input/demo/index.md +1 -1
  106. package/components/input/demo/index.min.js +21 -7
  107. package/components/input/demo/why-input.md +3 -3
  108. package/components/input/dist/auro-input.d.ts +1 -1
  109. package/components/input/dist/base-input.d.ts +6 -5
  110. package/components/input/dist/index.js +21 -7
  111. package/components/input/dist/registered.js +21 -7
  112. package/components/input/dist/utilities.d.ts +11 -0
  113. package/components/menu/demo/accessibility.md +1 -1
  114. package/components/menu/demo/api.md +1 -1
  115. package/components/menu/demo/css-only.md +4 -4
  116. package/components/menu/demo/customize.md +1 -1
  117. package/components/menu/demo/design.md +1 -1
  118. package/components/menu/demo/getting-started.md +3 -3
  119. package/components/menu/demo/index.min.js +11 -10
  120. package/components/menu/demo/keyboard-behavior.md +1 -1
  121. package/components/menu/demo/voiceover.md +1 -1
  122. package/components/menu/demo/why-menu.md +3 -3
  123. package/components/menu/dist/auro-menu.d.ts +10 -9
  124. package/components/menu/dist/auro-menuoption.d.ts +1 -1
  125. package/components/menu/dist/index.js +11 -10
  126. package/components/menu/dist/registered.js +11 -10
  127. package/components/radio/demo/accessibility.md +1 -1
  128. package/components/radio/demo/api.md +10 -10
  129. package/components/radio/demo/customize.md +15 -5
  130. package/components/radio/demo/customize.min.js +10 -12
  131. package/components/radio/demo/design.md +1 -1
  132. package/components/radio/demo/getting-started.md +6 -6
  133. package/components/radio/demo/getting-started.min.js +10 -12
  134. package/components/radio/demo/index.md +1 -1
  135. package/components/radio/demo/index.min.js +10 -12
  136. package/components/radio/demo/keyboard-behavior.md +1 -1
  137. package/components/radio/demo/voiceover.md +1 -1
  138. package/components/radio/demo/why-radio.md +1 -1
  139. package/components/radio/dist/auro-radio-group.d.ts +6 -8
  140. package/components/radio/dist/auro-radio.d.ts +3 -3
  141. package/components/radio/dist/index.js +10 -12
  142. package/components/radio/dist/registered.js +10 -12
  143. package/components/select/demo/api.md +1 -1
  144. package/components/select/demo/css-only.md +1 -1
  145. package/components/select/demo/customize.md +1 -1
  146. package/components/select/demo/customize.min.js +27 -24
  147. package/components/select/demo/getting-started.min.js +27 -24
  148. package/components/select/demo/index.md +1 -1
  149. package/components/select/demo/index.min.js +27 -24
  150. package/components/select/demo/voiceover.md +1 -1
  151. package/components/select/dist/auro-select.d.ts +4 -3
  152. package/components/select/dist/index.js +16 -14
  153. package/components/select/dist/registered.js +16 -14
  154. package/custom-elements.json +148 -132
  155. package/package.json +1 -1
@@ -88,10 +88,10 @@ AuroInput.register('[custom]-input');</code></pre>
88
88
  <auro-header level="3">Implementation</auro-header>
89
89
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/defaultRegistration.md) -->
90
90
  <!-- The below content is automatically added from ./../docs/partials/getting-started/defaultRegistration.md -->
91
- <p>Once installed, the component can be used in your project by importing the component's registered module:</p>
91
+ <p>After you install the package, import the component's registered module:</p>
92
92
 
93
93
  <pre class="language-js"><code class="language-js">import '@aurodesignsystem/auro-formkit/auro-input';</code></pre>
94
- <p>This import registers the <code>&lt;auro-input&gt;</code> custom element globally. You can then use it in your HTML:</p>
94
+ <p>This import registers the <code>&lt;auro-input&gt;</code> custom element globally. Then use it in your HTML:</p>
95
95
 
96
96
  <pre class="language-html"><code class="language-html">&lt;auro-input&gt;
97
97
  &lt;span slot="label"&gt;Enter your name&lt;/span&gt;
@@ -108,7 +108,7 @@ AuroInput.register('[custom]-input');</code></pre>
108
108
  <p>Add the following script tag to your HTML to load the component directly from a CDN:</p>
109
109
 
110
110
  <pre class="language-html"><code class="language-html">&lt;script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@latest/auro-input/+esm"&gt;&lt;/script&gt;</code></pre>
111
- <p>This script registers the <code>&lt;auro-input&gt;</code> custom element globally. You can then use it in your HTML:</p>
111
+ <p>This script registers the <code>&lt;auro-input&gt;</code> custom element globally. Then use it in your HTML:</p>
112
112
 
113
113
  <pre class="language-html"><code class="language-html">&lt;auro-input&gt;
114
114
  &lt;span slot="label"&gt;Enter your name&lt;/span&gt;
@@ -350,8 +350,8 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
350
350
  <p>Converts a <code>Date</code> instance to a string in the given date format, such as <code>15/01/2024</code> for <code>dd/mm/yyyy</code>. Returns <code>undefined</code> when <code>valueObject</code> isn't a valid <code>Date</code> or <code>format</code> is empty.</p>
351
351
  <p>Use it when an API needs the date in a specific format, whatever format the user typed it in.</p>
352
352
  <ul>
353
- <li><strong>valueObject</strong>: The <code>Date</code> to format, such as <code>input.valueObject</code>.</li>
354
- <li><strong>format</strong>: The display format, such as <code>mm/dd/yyyy</code>.</li>
353
+ <li><strong><code>valueObject</code></strong>: The <code>Date</code> to format, such as <code>input.valueObject</code>.</li>
354
+ <li><strong><code>format</code></strong>: The display format, such as <code>mm/dd/yyyy</code>.</li>
355
355
  </ul>
356
356
  <pre class="language-js"><code class="language-js">AuroInputUtil.toFormattedValue(auroInput.valueObject, 'dd/mm/yyyy'); // returns '15/01/2024' for an ISO value of '2024-01-15'</code></pre>
357
357
  </section>
@@ -10188,6 +10188,9 @@ function cleanEscapedString(input) {
10188
10188
  return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
10189
10189
  }
10190
10190
 
10191
+ /**
10192
+ * Helpers that set up input masks and convert between the text shown in the field, `Date` objects, and ISO date strings (`YYYY-MM-DD`), for one locale and date format.
10193
+ */
10191
10194
  class AuroInputUtilities {
10192
10195
 
10193
10196
  /**
@@ -10207,7 +10210,17 @@ class AuroInputUtilities {
10207
10210
  } else {
10208
10211
  this.locale = 'en-US';
10209
10212
  }
10213
+
10214
+ /**
10215
+ * Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
10216
+ * @type {string|undefined}
10217
+ */
10210
10218
  this.overrideFormat = config.format;
10219
+
10220
+ /**
10221
+ * The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
10222
+ * @type {Intl.DateTimeFormat}
10223
+ */
10211
10224
  this.formatter = new Intl.DateTimeFormat(this.locale);
10212
10225
 
10213
10226
  // Bindings - many of these are passed into IMask callbacks,
@@ -10638,7 +10651,7 @@ class BaseInput extends AuroElement {
10638
10651
  // The initial-load focus theft was caused by the static `autofocus`
10639
10652
  // attribute on the bib input (now conditional), not by delegatesFocus.
10640
10653
  /**
10641
- * Lit's options for creating the shadow root.
10654
+ * Gets the options Lit uses to create the shadow root.
10642
10655
  * @internal
10643
10656
  */
10644
10657
  static get shadowRootOptions() {
@@ -10798,8 +10811,9 @@ class BaseInput extends AuroElement {
10798
10811
  },
10799
10812
 
10800
10813
  /**
10801
- * Sets the shape of the field's border. The emphasized layouts support `pill`, `pill-left`,
10802
- * and `pill-right`, and the snowflake layout uses `snowflake`.
10814
+ * Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
10815
+ * and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
10816
+ * The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
10803
10817
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
10804
10818
  * @default 'classic'
10805
10819
  * @category ui
@@ -10811,8 +10825,8 @@ class BaseInput extends AuroElement {
10811
10825
  },
10812
10826
 
10813
10827
  /**
10814
- * Sets the field's size. The `classic` shape is the same height at every size, and the
10815
- * emphasized layouts support only `xl`.
10828
+ * Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
10829
+ * and the emphasized layouts support only `xl`.
10816
10830
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
10817
10831
  * @default 'lg'
10818
10832
  * @category ui
@@ -12608,7 +12622,7 @@ class AuroHelpText extends i$3 {
12608
12622
  }
12609
12623
  }
12610
12624
 
12611
- var formkitVersion = '202611081756';
12625
+ var formkitVersion = '202611091558';
12612
12626
 
12613
12627
  /**
12614
12628
  * @license
@@ -13079,7 +13093,7 @@ class AuroInput extends BaseInput {
13079
13093
 
13080
13094
  /**
13081
13095
  * Gets the `pattern` for the inner `<input>` element. For credit card numbers,
13082
- * builds a length check from `minLength` and `maxLength` instead.
13096
+ * builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
13083
13097
  * @private
13084
13098
  * @returns {string}
13085
13099
  */
@@ -31,7 +31,7 @@
31
31
  Move focus to the <code>&lt;auro-input&gt;</code> element
32
32
  <div class="note">
33
33
  <p>
34
- The label animates from the placeholder position to the active position above the input area. If the <code>activeLabel</code> attribute is set, the label remains fixed in the active position at all times.
34
+ In the <code>classic</code> layout, the label animates from the placeholder position to the active position above the input area. If the <code>activeLabel</code> attribute is set, the label stays in the active position at all times. The emphasized and snowflake layouts always show the label inside the field.
35
35
  </p>
36
36
  </div>
37
37
  </li>
@@ -10188,6 +10188,9 @@ function cleanEscapedString(input) {
10188
10188
  return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
10189
10189
  }
10190
10190
 
10191
+ /**
10192
+ * Helpers that set up input masks and convert between the text shown in the field, `Date` objects, and ISO date strings (`YYYY-MM-DD`), for one locale and date format.
10193
+ */
10191
10194
  class AuroInputUtilities {
10192
10195
 
10193
10196
  /**
@@ -10207,7 +10210,17 @@ class AuroInputUtilities {
10207
10210
  } else {
10208
10211
  this.locale = 'en-US';
10209
10212
  }
10213
+
10214
+ /**
10215
+ * Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
10216
+ * @type {string|undefined}
10217
+ */
10210
10218
  this.overrideFormat = config.format;
10219
+
10220
+ /**
10221
+ * The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
10222
+ * @type {Intl.DateTimeFormat}
10223
+ */
10211
10224
  this.formatter = new Intl.DateTimeFormat(this.locale);
10212
10225
 
10213
10226
  // Bindings - many of these are passed into IMask callbacks,
@@ -10638,7 +10651,7 @@ class BaseInput extends AuroElement {
10638
10651
  // The initial-load focus theft was caused by the static `autofocus`
10639
10652
  // attribute on the bib input (now conditional), not by delegatesFocus.
10640
10653
  /**
10641
- * Lit's options for creating the shadow root.
10654
+ * Gets the options Lit uses to create the shadow root.
10642
10655
  * @internal
10643
10656
  */
10644
10657
  static get shadowRootOptions() {
@@ -10798,8 +10811,9 @@ class BaseInput extends AuroElement {
10798
10811
  },
10799
10812
 
10800
10813
  /**
10801
- * Sets the shape of the field's border. The emphasized layouts support `pill`, `pill-left`,
10802
- * and `pill-right`, and the snowflake layout uses `snowflake`.
10814
+ * Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
10815
+ * and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
10816
+ * The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
10803
10817
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
10804
10818
  * @default 'classic'
10805
10819
  * @category ui
@@ -10811,8 +10825,8 @@ class BaseInput extends AuroElement {
10811
10825
  },
10812
10826
 
10813
10827
  /**
10814
- * Sets the field's size. The `classic` shape is the same height at every size, and the
10815
- * emphasized layouts support only `xl`.
10828
+ * Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
10829
+ * and the emphasized layouts support only `xl`.
10816
10830
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
10817
10831
  * @default 'lg'
10818
10832
  * @category ui
@@ -12608,7 +12622,7 @@ class AuroHelpText extends i$3 {
12608
12622
  }
12609
12623
  }
12610
12624
 
12611
- var formkitVersion = '202611081756';
12625
+ var formkitVersion = '202611091558';
12612
12626
 
12613
12627
  /**
12614
12628
  * @license
@@ -13079,7 +13093,7 @@ class AuroInput extends BaseInput {
13079
13093
 
13080
13094
  /**
13081
13095
  * Gets the `pattern` for the inner `<input>` element. For credit card numbers,
13082
- * builds a length check from `minLength` and `maxLength` instead.
13096
+ * builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
13083
13097
  * @private
13084
13098
  * @returns {string}
13085
13099
  */
@@ -1,13 +1,13 @@
1
1
  <auro-header level="1" id="overview">Why auro-input?</auro-header>
2
- <p>The native <code>&lt;input&gt;</code> element is the workhorse of HTML forms, but it has significant limitations in styling, validation messaging, input formatting, and accessibility. <code>auro-input</code> addresses these while remaining a drop-in upgrade for common input types.</p>
2
+ <p>The native <code>&lt;input&gt;</code> element is the workhorse of HTML forms, but it has significant limitations in styling, validation messaging, input formatting, and accessibility. <code>auro-input</code> addresses these for common input types. To include its value in form data, place it inside <code>auro-form</code> and set <code>name</code>, because a native <code>&lt;form&gt;</code> doesn't include it.</p>
3
3
  <auro-header level="2" id="accessibility">Accessibility</auro-header>
4
4
  <p>Native inputs require manual <code>&lt;label&gt;</code> wiring, have no standard pattern for error announcements, and provide no built-in clear or show/hide password controls.</p>
5
5
  <p><code>auro-input</code> provides:</p>
6
6
  <ul>
7
7
  <li><strong>Automatic label binding</strong>: The label slot is automatically associated with the input. You don't need to wire up <code>for</code> and <code>id</code>.</li>
8
- <li><strong>Dynamic label positioning</strong>: Labels float above the input when focused or populated, providing context without consuming space.</li>
8
+ <li><strong>Dynamic label positioning</strong>: In the <code>classic</code> layout, labels float above the input when focused or populated, providing context without consuming space.</li>
9
9
  <li><strong>Clear button</strong>: An accessible clear button appears when the input has a value. Set its accessible name with the <code>ariaLabel.clear</code> slot.</li>
10
- <li><strong>Password toggle</strong>: For <code>type="password"</code>, a show/hide button is built in. Set its accessible name for each state with the <code>ariaLabel.password.show</code> and <code>ariaLabel.password.hide</code> slots.</li>
10
+ <li><strong>Password toggle</strong>: In the <code>classic</code> layout, <code>type="password"</code> adds a show/hide button. Set its accessible name for each state with the <code>ariaLabel.password.show</code> and <code>ariaLabel.password.hide</code> slots.</li>
11
11
  <li><strong>Validation announcements</strong>: Error messages display in help text with appropriate ARIA roles so screen readers announce validity changes.</li>
12
12
  </ul>
13
13
  <auro-header level="2" id="inputMaskingAndFormatting">Input masking and formatting</auro-header>
@@ -196,7 +196,7 @@ export class AuroInput extends BaseInput {
196
196
  private handleClickShowPassword;
197
197
  /**
198
198
  * Gets the `pattern` for the inner `<input>` element. For credit card numbers,
199
- * builds a length check from `minLength` and `maxLength` instead.
199
+ * builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
200
200
  * @private
201
201
  * @returns {string}
202
202
  */
@@ -6,7 +6,7 @@
6
6
  */
7
7
  export default class BaseInput extends AuroElement {
8
8
  /**
9
- * Lit's options for creating the shadow root.
9
+ * Gets the options Lit uses to create the shadow root.
10
10
  * @internal
11
11
  */
12
12
  static get shadowRootOptions(): {
@@ -27,16 +27,17 @@ export default class BaseInput extends AuroElement {
27
27
  */
28
28
  layout: "classic" | "emphasized" | "emphasized-left" | "emphasized-right" | "snowflake" | "snowflake-left" | "snowflake-right";
29
29
  /**
30
- * Sets the shape of the field's border. The emphasized layouts support `pill`, `pill-left`,
31
- * and `pill-right`, and the snowflake layout uses `snowflake`.
30
+ * Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
31
+ * and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
32
+ * The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
32
33
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
33
34
  * @default 'classic'
34
35
  * @category ui
35
36
  */
36
37
  shape: "box" | "classic" | "pill" | "pill-left" | "pill-right" | "rounded" | "snowflake";
37
38
  /**
38
- * Sets the field's size. The `classic` shape is the same height at every size, and the
39
- * emphasized layouts support only `xl`.
39
+ * Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
40
+ * and the emphasized layouts support only `xl`.
40
41
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
41
42
  * @default 'lg'
42
43
  * @category ui
@@ -10130,6 +10130,9 @@ function cleanEscapedString(input) {
10130
10130
  return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
10131
10131
  }
10132
10132
 
10133
+ /**
10134
+ * Helpers that set up input masks and convert between the text shown in the field, `Date` objects, and ISO date strings (`YYYY-MM-DD`), for one locale and date format.
10135
+ */
10133
10136
  class AuroInputUtilities {
10134
10137
 
10135
10138
  /**
@@ -10149,7 +10152,17 @@ class AuroInputUtilities {
10149
10152
  } else {
10150
10153
  this.locale = 'en-US';
10151
10154
  }
10155
+
10156
+ /**
10157
+ * Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
10158
+ * @type {string|undefined}
10159
+ */
10152
10160
  this.overrideFormat = config.format;
10161
+
10162
+ /**
10163
+ * The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
10164
+ * @type {Intl.DateTimeFormat}
10165
+ */
10153
10166
  this.formatter = new Intl.DateTimeFormat(this.locale);
10154
10167
 
10155
10168
  // Bindings - many of these are passed into IMask callbacks,
@@ -10580,7 +10593,7 @@ class BaseInput extends AuroElement {
10580
10593
  // The initial-load focus theft was caused by the static `autofocus`
10581
10594
  // attribute on the bib input (now conditional), not by delegatesFocus.
10582
10595
  /**
10583
- * Lit's options for creating the shadow root.
10596
+ * Gets the options Lit uses to create the shadow root.
10584
10597
  * @internal
10585
10598
  */
10586
10599
  static get shadowRootOptions() {
@@ -10740,8 +10753,9 @@ class BaseInput extends AuroElement {
10740
10753
  },
10741
10754
 
10742
10755
  /**
10743
- * Sets the shape of the field's border. The emphasized layouts support `pill`, `pill-left`,
10744
- * and `pill-right`, and the snowflake layout uses `snowflake`.
10756
+ * Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
10757
+ * and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
10758
+ * The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
10745
10759
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
10746
10760
  * @default 'classic'
10747
10761
  * @category ui
@@ -10753,8 +10767,8 @@ class BaseInput extends AuroElement {
10753
10767
  },
10754
10768
 
10755
10769
  /**
10756
- * Sets the field's size. The `classic` shape is the same height at every size, and the
10757
- * emphasized layouts support only `xl`.
10770
+ * Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
10771
+ * and the emphasized layouts support only `xl`.
10758
10772
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
10759
10773
  * @default 'lg'
10760
10774
  * @category ui
@@ -12550,7 +12564,7 @@ class AuroHelpText extends LitElement {
12550
12564
  }
12551
12565
  }
12552
12566
 
12553
- var formkitVersion = '202611081756';
12567
+ var formkitVersion = '202611091558';
12554
12568
 
12555
12569
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12556
12570
  // See LICENSE in the project root for license information.
@@ -13009,7 +13023,7 @@ class AuroInput extends BaseInput {
13009
13023
 
13010
13024
  /**
13011
13025
  * Gets the `pattern` for the inner `<input>` element. For credit card numbers,
13012
- * builds a length check from `minLength` and `maxLength` instead.
13026
+ * builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
13013
13027
  * @private
13014
13028
  * @returns {string}
13015
13029
  */
@@ -10130,6 +10130,9 @@ function cleanEscapedString(input) {
10130
10130
  return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
10131
10131
  }
10132
10132
 
10133
+ /**
10134
+ * Helpers that set up input masks and convert between the text shown in the field, `Date` objects, and ISO date strings (`YYYY-MM-DD`), for one locale and date format.
10135
+ */
10133
10136
  class AuroInputUtilities {
10134
10137
 
10135
10138
  /**
@@ -10149,7 +10152,17 @@ class AuroInputUtilities {
10149
10152
  } else {
10150
10153
  this.locale = 'en-US';
10151
10154
  }
10155
+
10156
+ /**
10157
+ * Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
10158
+ * @type {string|undefined}
10159
+ */
10152
10160
  this.overrideFormat = config.format;
10161
+
10162
+ /**
10163
+ * The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
10164
+ * @type {Intl.DateTimeFormat}
10165
+ */
10153
10166
  this.formatter = new Intl.DateTimeFormat(this.locale);
10154
10167
 
10155
10168
  // Bindings - many of these are passed into IMask callbacks,
@@ -10580,7 +10593,7 @@ class BaseInput extends AuroElement {
10580
10593
  // The initial-load focus theft was caused by the static `autofocus`
10581
10594
  // attribute on the bib input (now conditional), not by delegatesFocus.
10582
10595
  /**
10583
- * Lit's options for creating the shadow root.
10596
+ * Gets the options Lit uses to create the shadow root.
10584
10597
  * @internal
10585
10598
  */
10586
10599
  static get shadowRootOptions() {
@@ -10740,8 +10753,9 @@ class BaseInput extends AuroElement {
10740
10753
  },
10741
10754
 
10742
10755
  /**
10743
- * Sets the shape of the field's border. The emphasized layouts support `pill`, `pill-left`,
10744
- * and `pill-right`, and the snowflake layout uses `snowflake`.
10756
+ * Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
10757
+ * and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
10758
+ * The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
10745
10759
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
10746
10760
  * @default 'classic'
10747
10761
  * @category ui
@@ -10753,8 +10767,8 @@ class BaseInput extends AuroElement {
10753
10767
  },
10754
10768
 
10755
10769
  /**
10756
- * Sets the field's size. The `classic` shape is the same height at every size, and the
10757
- * emphasized layouts support only `xl`.
10770
+ * Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
10771
+ * and the emphasized layouts support only `xl`.
10758
10772
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
10759
10773
  * @default 'lg'
10760
10774
  * @category ui
@@ -12550,7 +12564,7 @@ class AuroHelpText extends LitElement {
12550
12564
  }
12551
12565
  }
12552
12566
 
12553
- var formkitVersion = '202611081756';
12567
+ var formkitVersion = '202611091558';
12554
12568
 
12555
12569
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12556
12570
  // See LICENSE in the project root for license information.
@@ -13009,7 +13023,7 @@ class AuroInput extends BaseInput {
13009
13023
 
13010
13024
  /**
13011
13025
  * Gets the `pattern` for the inner `<input>` element. For credit card numbers,
13012
- * builds a length check from `minLength` and `maxLength` instead.
13026
+ * builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
13013
13027
  * @private
13014
13028
  * @returns {string}
13015
13029
  */
@@ -5,6 +5,9 @@
5
5
  * @returns {string} The locale's date format in lowercase.
6
6
  */
7
7
  export function getDateFormatFromLocale(locale: string): string;
8
+ /**
9
+ * Helpers that set up input masks and convert between the text shown in the field, `Date` objects, and ISO date strings (`YYYY-MM-DD`), for one locale and date format.
10
+ */
8
11
  export class AuroInputUtilities {
9
12
  /**
10
13
  * Creates a set of date and mask helpers for one locale and format.
@@ -17,7 +20,15 @@ export class AuroInputUtilities {
17
20
  format?: string | undefined;
18
21
  });
19
22
  locale: string;
23
+ /**
24
+ * Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
25
+ * @type {string|undefined}
26
+ */
20
27
  overrideFormat: string | undefined;
28
+ /**
29
+ * The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
30
+ * @type {Intl.DateTimeFormat}
31
+ */
21
32
  formatter: Intl.DateTimeFormat;
22
33
  /**
23
34
  * Gets the uppercase date mask for the instance's locale, such as `MM/DD/YYYY` for `en-US`.
@@ -1,4 +1,4 @@
1
- <auro-header level="1" id="overview">Menu - Accessibility</auro-header>
1
+ <auro-header level="1" id="overview">Menu: Accessibility</auro-header>
2
2
  <div class="contentWrapper">
3
3
  <div class="mainContent">
4
4
  <div class="scrollWrapper">
@@ -56,7 +56,7 @@ A list of options that people choose from, used as the options list inside `auro
56
56
  | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
57
57
  | auroMenu-activatedOption | Fires when an option becomes the active (highlighted) option, through the arrow keys, hover, or `updateActiveOption()`. The option is in `detail`. |
58
58
  | auroMenu-customEventFired | Fires right after the menu fires the event named in an option's `event` attribute. The option is in `detail.option`. |
59
- | auroMenu-loadingChange | Fires when `loading` changes. |
59
+ | auroMenu-loadingChange | Fires when `loading` changes, and once when the menu first renders. |
60
60
  | auroMenu-optionsChange | Fires when the set of options in the menu changes. |
61
61
  | auroMenu-selectedOption | Fires when the selection changes, including when an option is deselected or the selection is cleared. In single-select mode, it also fires when someone chooses the option that's already selected. |
62
62
  | auroMenu-selectValueFailure | Fires when a value doesn't match any option that can be selected, or when someone chooses an option with no `value` in multi-select mode. |
@@ -57,10 +57,10 @@
57
57
  <p><code>auro-menu</code> tracks the active option internally (via an <code>active</code> CSS class on the current <code>auro-menuoption</code>) rather than moving DOM focus between options. In typical integrations (<code>&lt;auro-select&gt;</code>, <code>&lt;auro-combobox&gt;</code>), focus remains on the parent trigger/input and <code>aria-activedescendant</code> points at the active option; if you make <code>&lt;auro-menu&gt;</code> focusable (for example, <code>tabindex="0"</code>), the same active-option model applies while focus is on the menu host. With plain HTML, you must pick one focus model, either roving <code>tabindex="0"</code>/<code>tabindex="-1"</code> or <code>aria-activedescendant</code> on the container, and wire up the DOM writes yourself on every key event.</p>
58
58
  <auro-header level="3">Arrow-key navigation</auro-header>
59
59
  <p><code>auro-menu</code> handles <code>ArrowUp</code>, <code>ArrowDown</code>, <code>Enter</code>, and <code>Tab</code> to move the highlight and commit selections. Native <code>&lt;ul&gt;</code> elements have no built-in keyboard model: you must wire up <code>keydown</code> listeners, track the highlighted index, and prevent default browser scrolling on the arrow keys yourself.</p>
60
- <auro-header level="3">matchWord highlighting</auro-header>
60
+ <auro-header level="3"><code>matchWord</code> highlighting</auro-header>
61
61
  <p><code>auro-menu</code> supports a <code>matchword</code> attribute (the <code>matchWord</code> property) that highlights matched substrings within option labels. <code>auro-combobox</code> uses it to visually mark the user's typed input inside each filtered option. Plain HTML provides no equivalent; you must walk each option and wrap matched substrings yourself.</p>
62
62
  <auro-header level="3">Type-ahead navigation</auro-header>
63
- <p>Type-ahead, which moves the active option to whichever entry starts with the letters the user typed, <strong>isn't</strong> handled by <code>auro-menu</code> itself. It's provided by the parent selection component (<code>auro-select</code>, <code>auro-combobox</code>) which captures printable characters on its trigger and calls back into the menu. A plain-HTML listbox has no such wiring and would need a bespoke keydown handler that tracks a rolling character buffer and resolves it against the option list.</p>
63
+ <p>Type-ahead, which moves the active option to an option that starts with the letters someone types, <strong>isn't</strong> handled by <code>auro-menu</code> itself. <code>auro-select</code> provides it: it captures typed characters on its trigger and calls the menu's <code>updateActiveOption()</code> method. <code>auro-combobox</code> doesn't use type-ahead, because typing goes into its input. A plain-HTML listbox has no such wiring and would need a bespoke <code>keydown</code> handler that tracks a rolling character buffer and resolves it against the option list.</p>
64
64
  <auro-header level="3">Nested submenu support</auro-header>
65
65
  <p><code>auro-menu</code> detects nested <code>auro-menu</code> elements, applies the correct <code>role="group"</code>, and computes indentation per level. The root menu treats all descendant options as a single flat list, so selecting an option inside a nested menu updates the root menu's <code>value</code> and <code>optionSelected</code>. The root always owns the selection state. With plain HTML, you must apply nested ARIA roles and indentation manually.</p>
66
66
  <auro-header level="3">Selection state coordination</auro-header>
@@ -76,7 +76,7 @@
76
76
  <auro-header level="3">Select-by-value and reset</auro-header>
77
77
  <p><code>auro-menu</code> exposes a <code>value</code> attribute that drives selection programmatically (accepting a JSON-stringified array in multi-select mode) and a single <code>reset()</code> method that clears the selection and the active option. With plain HTML, you must walk the list to find a matching option, set its state, and write your own reset routine.</p>
78
78
  <auro-header level="3">Loading state</auro-header>
79
- <p><code>auro-menu</code> renders a built-in loading placeholder via <code>loadingIcon</code> and <code>loadingText</code> slots, sets <code>aria-busy</code>, and emits <code>auroMenu-loadingChange</code> when the loading attribute toggles. With plain HTML, you must render a placeholder, manage <code>aria-busy</code>, and signal loading transitions yourself.</p>
79
+ <p><code>auro-menu</code> renders a built-in loading placeholder via <code>loadingIcon</code> and <code>loadingText</code> slots, sets <code>aria-busy</code>, and emits <code>auroMenu-loadingChange</code> when the <code>loading</code> attribute toggles. With plain HTML, you must render a placeholder, manage <code>aria-busy</code>, and signal loading transitions yourself.</p>
80
80
  <auro-header level="3">Shape and size variants</auro-header>
81
81
  <p><code>auro-menu</code> supports <code>shape</code> (<code>box</code>, <code>pill</code>, <code>snowflake</code>) and <code>size</code> (<code>xs</code>–<code>xl</code>) variants that adjust spacing and corner radii consistently across the menu and its options. A CSS-only listbox must reauthor each variant by hand.</p>
82
82
  <auro-header level="3">Multi-brand theming</auro-header>
@@ -114,7 +114,7 @@
114
114
  <tr>
115
115
  <td>Type-ahead navigation</td>
116
116
  <td>Not supported</td>
117
- <td>Provided by parent <code>auro-select</code> / <code>auro-combobox</code></td>
117
+ <td>Provided by parent <code>auro-select</code></td>
118
118
  </tr>
119
119
  <tr>
120
120
  <td>Nested submenus</td>
@@ -1,4 +1,4 @@
1
- <auro-header level="1" id="overview">Menu - Customize</auro-header>
1
+ <auro-header level="1" id="overview">Menu: Customize</auro-header>
2
2
  <div class="contentWrapper">
3
3
  <nav>
4
4
  <auro-nav anchorNavContent=".scrollWrapper">
@@ -1,4 +1,4 @@
1
- <auro-header level="1" id="overview">Menu - Design</auro-header>
1
+ <auro-header level="1" id="overview">Menu: Design</auro-header>
2
2
  <div class="contentWrapper">
3
3
  <div class="mainContent">
4
4
  <div class="scrollWrapper">
@@ -1,4 +1,4 @@
1
- <auro-header level="1" id="overview">Menu - Getting started</auro-header>
1
+ <auro-header level="1" id="overview">Menu: Getting started</auro-header>
2
2
  <div class="contentWrapper">
3
3
  <nav>
4
4
  <auro-nav anchorNavContent=".scrollWrapper">
@@ -370,7 +370,7 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
370
370
  </section>
371
371
  <section>
372
372
  <auro-header level="2" id="events">Events</auro-header>
373
- <p>The <code>&lt;auro-menu&gt;</code> element dispatches custom events that consumers can subscribe to via <code>addEventListener</code>. The example below listens for the selection, active-option, options, reset, and failure events and logs each one.</p>
373
+ <p>Listen for these custom events from <code>&lt;auro-menu&gt;</code> with <code>addEventListener</code>. The example below listens for the selection, active-option, options, reset, and failure events and logs each one.</p>
374
374
  <auro-header level="3" id="eventList">Event list</auro-header>
375
375
  <ul>
376
376
  <li><code>auroMenu-selectedOption</code>: the selection changed, including when an option is deselected or the selection is cleared. In single-select mode, it also fires when the already-selected option is chosen again.</li>
@@ -378,7 +378,7 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
378
378
  <li><code>auroMenu-optionsChange</code>: the set of available options was updated, such as after a slot change.</li>
379
379
  <li><code>auroMenu-selectValueReset</code>: the menu's <code>value</code> was reset with <code>reset()</code>.</li>
380
380
  <li><code>auroMenu-selectValueFailure</code>: a value selection (through <code>selectByValue()</code>, the <code>value</code> attribute, or setting the <code>value</code> property) found no matching selectable option. This includes values that match an option marked <code>disabled</code> or <code>static</code>, which are never selectable. It also fires in multi-select mode when someone chooses an option with no <code>value</code>.</li>
381
- <li><code>auroMenu-loadingChange</code>: the <code>loading</code> attribute changed.</li>
381
+ <li><code>auroMenu-loadingChange</code>: the <code>loading</code> attribute changed. It also fires once when the menu first renders.</li>
382
382
  <li><code>auroMenu-customEventFired</code>: the menu fired the event named in an option's <code>event</code> attribute. See <a href="#eventAttribute">Option event attribute</a>.</li>
383
383
  </ul>
384
384
  <div class="exampleWrapper">
@@ -487,7 +487,7 @@ let menuInstanceIdCounter = 0;
487
487
  *
488
488
  * @event {CustomEvent<Element>} auroMenu-activatedOption - Fires when an option becomes the active (highlighted) option, through the arrow keys, hover, or `updateActiveOption()`. The option is in `detail`.
489
489
  * @event {CustomEvent<any>} auroMenu-customEventFired - Fires right after the menu fires the event named in an option's `event` attribute. The option is in `detail.option`.
490
- * @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes.
490
+ * @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes, and once when the menu first renders.
491
491
  * @event {CustomEvent<{ options: Array<HTMLElement> }>} auroMenu-optionsChange - Fires when the set of options in the menu changes.
492
492
  * @event {CustomEvent<any>} auroMenu-selectValueFailure - Fires when a value doesn't match any option that can be selected, or when someone chooses an option with no `value` in multi-select mode.
493
493
  * @event {CustomEvent<any>} auroMenu-selectValueReset - Fires when `reset()` clears the menu.
@@ -632,7 +632,7 @@ class AuroMenu extends AuroElement {
632
632
  },
633
633
 
634
634
  /**
635
- * Indent level for submenus.
635
+ * Holds how deeply a nested menu is indented, which sets how many spacers its options get.
636
636
  * @private
637
637
  */
638
638
  level: {
@@ -804,8 +804,8 @@ class AuroMenu extends AuroElement {
804
804
  }
805
805
 
806
806
  /**
807
- * Formatted value based on `multiSelect` state.
808
- * Default type is `String`, changing to `Array<String>` when `multiSelect` is true.
807
+ * Gets `value` in the shape the menu works with: the string itself, or, in multi-select mode,
808
+ * an array of values parsed from the JSON array string.
809
809
  * @private
810
810
  * @returns {String|Array<String>}
811
811
  */
@@ -1615,7 +1615,7 @@ class AuroMenu extends AuroElement {
1615
1615
  }
1616
1616
 
1617
1617
  /**
1618
- * Handles keyboard navigation and selection.
1618
+ * Called when a key is pressed in the menu. The arrow keys move the active option, and Enter and Tab select it.
1619
1619
  * @private
1620
1620
  * @param {KeyboardEvent} event - The keydown event.
1621
1621
  */
@@ -1641,7 +1641,7 @@ class AuroMenu extends AuroElement {
1641
1641
  }
1642
1642
 
1643
1643
  /**
1644
- * Handles option selection via click events from menuoptions.
1644
+ * Called when an option fires `auroMenuOption-click`. Selects the clicked option, unless the menu is disabled or nested in another menu.
1645
1645
  * @private
1646
1646
  * @param {CustomEvent} event - The auroMenuOption-click event.
1647
1647
  */
@@ -1661,7 +1661,7 @@ class AuroMenu extends AuroElement {
1661
1661
  }
1662
1662
 
1663
1663
  /**
1664
- * Handles option hover events.
1664
+ * Called when the pointer moves over an option. Makes it the active option, unless it can't be highlighted.
1665
1665
  * @private
1666
1666
  * @param {CustomEvent} event - The `auroMenuOption-mouseover` event.
1667
1667
  */
@@ -1685,7 +1685,7 @@ class AuroMenu extends AuroElement {
1685
1685
  }
1686
1686
 
1687
1687
  /**
1688
- * Handles slot change events.
1688
+ * Called when the menu's content changes. Sets the menu up again, and re-applies a `value` that was set before the options arrived.
1689
1689
  * @private
1690
1690
  */
1691
1691
  handleSlotChange() {
@@ -1781,7 +1781,7 @@ class AuroMenu extends AuroElement {
1781
1781
  }
1782
1782
 
1783
1783
  /**
1784
- * Handles custom events defined on options.
1784
+ * Fires the event named in the option's `event` attribute, then `auroMenu-customEventFired`, with the option in `detail.option`.
1785
1785
  * @private
1786
1786
  * @param {HTMLElement} option - Option with custom event.
1787
1787
  */
@@ -1801,6 +1801,7 @@ class AuroMenu extends AuroElement {
1801
1801
  }
1802
1802
 
1803
1803
  /**
1804
+ * Checks whether two selections hold the same options, in any order.
1804
1805
  * @private
1805
1806
  * @param {any} current - The current selection.
1806
1807
  * @param {any} next - The new selection to compare.
@@ -2283,7 +2284,7 @@ class AuroMenuOption extends AuroElement {
2283
2284
  }
2284
2285
 
2285
2286
  /**
2286
- * Handles click events on the menu option.
2287
+ * Called when the option is clicked. Fires `auroMenuOption-click`, unless the option or a menu containing it is disabled.
2287
2288
  * @private
2288
2289
  */
2289
2290
  handleClick() {