@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.0 → 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 (158) 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/accessibility.md +1 -1
  19. package/components/combobox/demo/api.md +3 -3
  20. package/components/combobox/demo/css-only.md +3 -3
  21. package/components/combobox/demo/customize.md +13 -12
  22. package/components/combobox/demo/customize.min.js +79 -59
  23. package/components/combobox/demo/getting-started.md +4 -4
  24. package/components/combobox/demo/getting-started.min.js +79 -59
  25. package/components/combobox/demo/index.md +2 -2
  26. package/components/combobox/demo/index.min.js +79 -59
  27. package/components/combobox/demo/voiceover.md +1 -1
  28. package/components/combobox/dist/auro-combobox.d.ts +35 -31
  29. package/components/combobox/dist/index.js +68 -49
  30. package/components/combobox/dist/registered.js +68 -49
  31. package/components/counter/demo/accessibility.md +1 -1
  32. package/components/counter/demo/api.md +18 -18
  33. package/components/counter/demo/css-only.md +1 -1
  34. package/components/counter/demo/customize.md +2 -2
  35. package/components/counter/demo/customize.min.js +28 -28
  36. package/components/counter/demo/design.md +1 -1
  37. package/components/counter/demo/getting-started.md +29 -2
  38. package/components/counter/demo/getting-started.min.js +28 -28
  39. package/components/counter/demo/index.min.js +28 -28
  40. package/components/counter/demo/why-counter.md +3 -3
  41. package/components/counter/dist/auro-counter-group.d.ts +13 -14
  42. package/components/counter/dist/auro-counter.d.ts +1 -1
  43. package/components/counter/dist/index.js +28 -28
  44. package/components/counter/dist/registered.js +28 -28
  45. package/components/datepicker/README.md +1 -1
  46. package/components/datepicker/demo/accessibility.md +5 -5
  47. package/components/datepicker/demo/api.md +3 -3
  48. package/components/datepicker/demo/css-only.md +4 -4
  49. package/components/datepicker/demo/customize.md +12 -12
  50. package/components/datepicker/demo/customize.min.js +186 -132
  51. package/components/datepicker/demo/design.md +11 -11
  52. package/components/datepicker/demo/getting-started.md +4 -4
  53. package/components/datepicker/demo/getting-started.min.js +186 -132
  54. package/components/datepicker/demo/index.md +5 -5
  55. package/components/datepicker/demo/index.min.js +186 -132
  56. package/components/datepicker/demo/keyboard-behavior.md +1 -1
  57. package/components/datepicker/demo/readme.md +1 -1
  58. package/components/datepicker/demo/voiceover.md +4 -4
  59. package/components/datepicker/demo/why-datepicker.md +3 -3
  60. package/components/datepicker/dist/auro-calendar-cell.d.ts +32 -33
  61. package/components/datepicker/dist/auro-calendar-month.d.ts +8 -8
  62. package/components/datepicker/dist/auro-calendar.d.ts +44 -43
  63. package/components/datepicker/dist/auro-datepicker.d.ts +12 -10
  64. package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +3 -0
  65. package/components/datepicker/dist/index.js +186 -132
  66. package/components/datepicker/dist/registered.js +186 -132
  67. package/components/datepicker/dist/utilities.d.ts +4 -1
  68. package/components/datepicker/dist/utilitiesCalendar.d.ts +12 -4
  69. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +12 -6
  70. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +4 -4
  71. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +7 -7
  72. package/components/dropdown/demo/api.md +7 -7
  73. package/components/dropdown/demo/css-only.md +2 -2
  74. package/components/dropdown/demo/customize.md +1 -1
  75. package/components/dropdown/demo/customize.min.js +10 -9
  76. package/components/dropdown/demo/design.md +4 -4
  77. package/components/dropdown/demo/getting-started.min.js +31 -16
  78. package/components/dropdown/demo/index.min.js +10 -9
  79. package/components/dropdown/demo/voiceover.md +1 -1
  80. package/components/dropdown/demo/why-dropdown.md +1 -1
  81. package/components/dropdown/dist/auro-dropdown.d.ts +9 -8
  82. package/components/dropdown/dist/index.js +10 -9
  83. package/components/dropdown/dist/registered.js +10 -9
  84. package/components/form/README.md +1 -1
  85. package/components/form/demo/api.md +7 -7
  86. package/components/form/demo/css-only.md +1 -1
  87. package/components/form/demo/customize.md +2 -0
  88. package/components/form/demo/customize.min.js +345 -257
  89. package/components/form/demo/getting-started.md +2 -0
  90. package/components/form/demo/getting-started.min.js +345 -257
  91. package/components/form/demo/index.md +2 -2
  92. package/components/form/demo/index.min.js +345 -257
  93. package/components/form/demo/keyboard-behavior.md +1 -1
  94. package/components/form/demo/readme.md +1 -1
  95. package/components/form/demo/registerDemoDeps.min.js +343 -255
  96. package/components/form/demo/voiceover.md +3 -3
  97. package/components/form/demo/why-form.md +1 -1
  98. package/components/form/dist/auro-form.d.ts +2 -2
  99. package/components/form/dist/index.js +2 -2
  100. package/components/form/dist/registered.js +2 -2
  101. package/components/input/demo/api.md +58 -58
  102. package/components/input/demo/css-only.md +4 -4
  103. package/components/input/demo/customize.md +11 -11
  104. package/components/input/demo/customize.min.js +21 -7
  105. package/components/input/demo/design.md +2 -2
  106. package/components/input/demo/getting-started.md +5 -5
  107. package/components/input/demo/getting-started.min.js +21 -7
  108. package/components/input/demo/index.md +1 -1
  109. package/components/input/demo/index.min.js +21 -7
  110. package/components/input/demo/why-input.md +3 -3
  111. package/components/input/dist/auro-input.d.ts +1 -1
  112. package/components/input/dist/base-input.d.ts +6 -5
  113. package/components/input/dist/index.js +21 -7
  114. package/components/input/dist/registered.js +21 -7
  115. package/components/input/dist/utilities.d.ts +11 -0
  116. package/components/menu/demo/accessibility.md +1 -1
  117. package/components/menu/demo/api.md +1 -1
  118. package/components/menu/demo/css-only.md +4 -4
  119. package/components/menu/demo/customize.md +1 -1
  120. package/components/menu/demo/design.md +1 -1
  121. package/components/menu/demo/getting-started.md +3 -3
  122. package/components/menu/demo/index.min.js +11 -10
  123. package/components/menu/demo/keyboard-behavior.md +1 -1
  124. package/components/menu/demo/voiceover.md +1 -1
  125. package/components/menu/demo/why-menu.md +3 -3
  126. package/components/menu/dist/auro-menu.d.ts +10 -9
  127. package/components/menu/dist/auro-menuoption.d.ts +1 -1
  128. package/components/menu/dist/index.js +11 -10
  129. package/components/menu/dist/registered.js +11 -10
  130. package/components/radio/demo/accessibility.md +1 -1
  131. package/components/radio/demo/api.md +10 -10
  132. package/components/radio/demo/customize.md +15 -5
  133. package/components/radio/demo/customize.min.js +10 -12
  134. package/components/radio/demo/design.md +1 -1
  135. package/components/radio/demo/getting-started.md +6 -6
  136. package/components/radio/demo/getting-started.min.js +10 -12
  137. package/components/radio/demo/index.md +1 -1
  138. package/components/radio/demo/index.min.js +10 -12
  139. package/components/radio/demo/keyboard-behavior.md +1 -1
  140. package/components/radio/demo/voiceover.md +1 -1
  141. package/components/radio/demo/why-radio.md +1 -1
  142. package/components/radio/dist/auro-radio-group.d.ts +6 -8
  143. package/components/radio/dist/auro-radio.d.ts +3 -3
  144. package/components/radio/dist/index.js +10 -12
  145. package/components/radio/dist/registered.js +10 -12
  146. package/components/select/demo/api.md +1 -1
  147. package/components/select/demo/css-only.md +1 -1
  148. package/components/select/demo/customize.md +1 -1
  149. package/components/select/demo/customize.min.js +27 -24
  150. package/components/select/demo/getting-started.min.js +27 -24
  151. package/components/select/demo/index.md +1 -1
  152. package/components/select/demo/index.min.js +27 -24
  153. package/components/select/demo/voiceover.md +1 -1
  154. package/components/select/dist/auro-select.d.ts +4 -3
  155. package/components/select/dist/index.js +16 -14
  156. package/components/select/dist/registered.js +16 -14
  157. package/custom-elements.json +159 -143
  158. package/package.json +1 -1
@@ -10281,6 +10281,9 @@ try {
10281
10281
  globalThis.IMask = IMask$1;
10282
10282
  } catch {}
10283
10283
 
10284
+ /**
10285
+ * 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.
10286
+ */
10284
10287
  let AuroInputUtilities$1 = class AuroInputUtilities {
10285
10288
 
10286
10289
  /**
@@ -10300,7 +10303,17 @@ let AuroInputUtilities$1 = class AuroInputUtilities {
10300
10303
  } else {
10301
10304
  this.locale = 'en-US';
10302
10305
  }
10306
+
10307
+ /**
10308
+ * Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
10309
+ * @type {string|undefined}
10310
+ */
10303
10311
  this.overrideFormat = config.format;
10312
+
10313
+ /**
10314
+ * The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
10315
+ * @type {Intl.DateTimeFormat}
10316
+ */
10304
10317
  this.formatter = new Intl.DateTimeFormat(this.locale);
10305
10318
 
10306
10319
  // Bindings - many of these are passed into IMask callbacks,
@@ -10614,6 +10627,9 @@ function getDateFormatFromLocale$1 (locale) {
10614
10627
  /* eslint-disable array-element-newline, dot-location */
10615
10628
 
10616
10629
 
10630
+ /**
10631
+ * Date helpers the datepicker and its calendar share, such as finding the first day of a month and counting the months between two dates.
10632
+ */
10617
10633
  class AuroDatepickerUtilities {
10618
10634
 
10619
10635
  /**
@@ -10654,7 +10670,7 @@ class AuroDatepickerUtilities {
10654
10670
  }
10655
10671
 
10656
10672
  /**
10657
- * Compares two dates to see if they match.
10673
+ * Checks whether two dates are the same moment in time.
10658
10674
  * @private
10659
10675
  * @param {Object} date1 - The first date to compare.
10660
10676
  * @param {Object} date2 - The second date to compare.
@@ -10665,15 +10681,23 @@ class AuroDatepickerUtilities {
10665
10681
  }
10666
10682
  }
10667
10683
 
10684
+ /**
10685
+ * Helpers the datepicker and its calendar use to set the month the calendar shows, and to choose and render the calendar's months.
10686
+ */
10668
10687
  class UtilitiesCalendarRender {
10669
10688
  constructor() {
10689
+
10690
+ /**
10691
+ * The date helpers these methods use.
10692
+ * @private
10693
+ */
10670
10694
  this.util = new AuroDatepickerUtilities();
10671
10695
  }
10672
10696
 
10673
10697
  /**
10674
10698
  * Sets `centralDate` to the first day of the date's month, when the date is valid.
10675
- * @param {Object} elem - The element to set the centralDate on.
10676
- * @param {String} date - The date to set the centralDate to.
10699
+ * @param {Object} elem - The element to set `centralDate` on.
10700
+ * @param {string|Date|number} date - The date whose month to show: an ISO date string, a `Date` object, or a timestamp in milliseconds.
10677
10701
  * @private
10678
10702
  */
10679
10703
  updateCentralDate(elem, date) {
@@ -10799,12 +10823,12 @@ class UtilitiesCalendarRender {
10799
10823
  }
10800
10824
 
10801
10825
  /**
10802
- * Renders one auro-calendar-month HTML for the given month/date combination.
10826
+ * Renders an `auro-formkit-calendar-month` element for one month.
10803
10827
  * @private
10804
10828
  * @param {Object} elem - The auro-calendar element.
10805
10829
  * @param {Number} month - The month the calendar displays.
10806
10830
  * @param {Number} year - The year the calendar displays.
10807
- * @returns {Object} The auro-calendar-month HTML.
10831
+ * @returns {Object} The `auro-formkit-calendar-month` template.
10808
10832
  */
10809
10833
  renderCalendar(elem, month, year) {
10810
10834
  return html`
@@ -11100,12 +11124,12 @@ class RangeDatepickerCalendar extends LitElement {
11100
11124
  super();
11101
11125
 
11102
11126
  /**
11103
- * Date from. Format is Unix timestamp.
11127
+ * Sets the chosen date, or the start date of a range, as a Unix timestamp in seconds.
11104
11128
  */
11105
11129
  this.dateFrom = null;
11106
11130
 
11107
11131
  /**
11108
- * Date to. Format is Unix timestamp.
11132
+ * Sets the end date of a range, as a Unix timestamp in seconds.
11109
11133
  */
11110
11134
  this.dateTo = null;
11111
11135
  this.hoveredDate = null;
@@ -11119,12 +11143,12 @@ class RangeDatepickerCalendar extends LitElement {
11119
11143
  this.disabledDays = [];
11120
11144
 
11121
11145
  /**
11122
- * Max date. Format is Unix timestamp.
11146
+ * Sets the latest date people can choose, as a Unix timestamp in seconds.
11123
11147
  */
11124
11148
  this.max = null;
11125
11149
 
11126
11150
  /**
11127
- * Minimal date. Format is Unix timestamp.
11151
+ * Sets the earliest date people can choose, as a Unix timestamp in seconds.
11128
11152
  */
11129
11153
  this.min = null;
11130
11154
  this.yearsList = [];
@@ -11926,7 +11950,9 @@ class AuroCalendarCell extends LitElement {
11926
11950
  }
11927
11951
 
11928
11952
  /**
11929
- * Handles user click events and calls datepicker to update the value(s).
11953
+ * Called when someone clicks the cell's button, or presses Enter or Space while it's the active cell.
11954
+ * Selects the cell's date unless the cell is turned off or the date is a blackout date, and fires
11955
+ * `calendar-cell-activate` so the calendar makes the cell the active cell.
11930
11956
  * @private
11931
11957
  * @returns {void}
11932
11958
  */
@@ -11946,9 +11972,9 @@ class AuroCalendarCell extends LitElement {
11946
11972
  }
11947
11973
 
11948
11974
  /**
11949
- * Handles user hover events and dispatches a custom event.
11950
- * Does NOT set any reactive properties; the range preview is handled
11951
- * imperatively by the calendar component to avoid O(N) re-renders.
11975
+ * Called when the pointer moves over the cell's button. Fires `date-is-hovered` with the cell's date.
11976
+ * Doesn't set any reactive properties, because the calendar updates the range preview
11977
+ * directly to avoid re-rendering every cell.
11952
11978
  * @private
11953
11979
  * @returns {void}
11954
11980
  */
@@ -11959,10 +11985,8 @@ class AuroCalendarCell extends LitElement {
11959
11985
  }
11960
11986
 
11961
11987
  /**
11962
- * Handles focus events on the cell button.
11963
- * Dispatches a lightweight event for the calendar to handle screen reader
11964
- * announcements and range preview updates without triggering
11965
- * any Lit lifecycle updates.
11988
+ * Called when the cell's button gets focus. Fires `calendar-cell-focused` so the calendar can
11989
+ * announce the date to screen readers and update the range preview without re-rendering the cell.
11966
11990
  * @private
11967
11991
  * @returns {void}
11968
11992
  */
@@ -11975,12 +11999,12 @@ class AuroCalendarCell extends LitElement {
11975
11999
  }
11976
12000
 
11977
12001
  /**
11978
- * Checks if the current date is outside the valid min/max range.
11979
- * Out-of-range cells are not focusable and are hidden from screen readers.
12002
+ * Checks whether the cell's date is earlier than `min` or later than `max`.
12003
+ * Out-of-range cells aren't focusable and are hidden from screen readers.
11980
12004
  * @private
11981
- * @param {Object} day - An object containing the dateFrom and day of month values.
11982
- * @param {Number} min - The minimum date value.
11983
- * @param {Number} max - The maximum date value.
12005
+ * @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
12006
+ * @param {Number} min - The earliest date people can choose, as a Unix timestamp in seconds.
12007
+ * @param {Number} max - The latest date people can choose, as a Unix timestamp in seconds.
11984
12008
  * @returns {Boolean} True if the date is out of range; false otherwise.
11985
12009
  */
11986
12010
  isOutOfRange(day, min, max) {
@@ -12031,16 +12055,15 @@ class AuroCalendarCell extends LitElement {
12031
12055
  }
12032
12056
 
12033
12057
  /**
12034
- * Checks if the current date is disabled based on min/max range or the
12035
- * legacy disabledDays timestamp list. Sets the `disabled` attribute on the
12036
- * host when the date falls outside the allowed range or appears in
12037
- * disabledDays. Note: blackout dates are handled separately by `isBlackout()`.
12058
+ * Checks whether the cell's date is turned off because it's outside `min` and `max` or in the
12059
+ * deprecated `disabledDays`, and sets the host's `disabled` attribute to match. Despite its name,
12060
+ * it returns true for a turned-off date. Blackout dates are handled separately by `isBlackout()`.
12038
12061
  * @private
12039
- * @param {Object} day - An object containing the dateFrom and day of month values.
12040
- * @param {Number} min - The minimum date value.
12041
- * @param {Number} max - The maximum date value.
12042
- * @param {Array} disabledDays - An array of disabled dates.
12043
- * @returns {Boolean} True if the date is disabled; false otherwise.
12062
+ * @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
12063
+ * @param {Number} min - The earliest date people can choose, as a Unix timestamp in seconds.
12064
+ * @param {Number} max - The latest date people can choose, as a Unix timestamp in seconds.
12065
+ * @param {Array} disabledDays - The deprecated array of dates people can't select, as Unix timestamps in seconds.
12066
+ * @returns {Boolean} True if the date is turned off; false otherwise.
12044
12067
  */
12045
12068
  isEnabled(day, min, max, disabledDays) {
12046
12069
  this.removeAttribute('disabled');
@@ -12055,9 +12078,9 @@ class AuroCalendarCell extends LitElement {
12055
12078
  }
12056
12079
 
12057
12080
  /**
12058
- * Generates a unique cell ID in the format cell-YYYY-MM-DD.
12081
+ * Generates a unique cell ID in the format `cell-YYYY-MM-DD`.
12059
12082
  * @private
12060
- * @returns {String} The unique cell ID.
12083
+ * @returns {String} The unique cell ID, or an empty string when the cell has no date.
12061
12084
  */
12062
12085
  getCellId() {
12063
12086
  if (!this.day || !this.day.date) return '';
@@ -12069,10 +12092,10 @@ class AuroCalendarCell extends LitElement {
12069
12092
  }
12070
12093
 
12071
12094
  /**
12072
- * Generates a localized aria-label for the cell button using Intl.DateTimeFormat.
12073
- * Includes range position and blackout status.
12095
+ * Generates the cell's localized `aria-label` with `Intl.DateTimeFormat`.
12096
+ * Adds the date slot and popover content, the range position, and the blackout label.
12074
12097
  * @private
12075
- * @returns {String} The aria-label string.
12098
+ * @returns {String} The `aria-label` text, or an empty string when the cell has no date.
12076
12099
  */
12077
12100
  getAriaLabel() {
12078
12101
  if (!this.day || this.day.date === undefined) return '';
@@ -12244,10 +12267,10 @@ class AuroCalendarCell extends LitElement {
12244
12267
  }
12245
12268
 
12246
12269
  /**
12247
- * Determines the title of the auro-calendar-cell.
12270
+ * Formats a date as a full date in the cell's `locale`, such as "Monday, April 21, 2025" for `en-US`.
12248
12271
  * @private
12249
- * @param {Number} date - The date of the auro-calendar-cell.
12250
- * @returns {String} The title of the auro-calendar-cell in the user's locale.
12272
+ * @param {Number} date - The date, as a Unix timestamp in seconds.
12273
+ * @returns {String} The formatted date, or an empty string when `date` is undefined.
12251
12274
  */
12252
12275
  getTitle(date) {
12253
12276
  if (date === undefined) {
@@ -12294,7 +12317,7 @@ class AuroCalendarCell extends LitElement {
12294
12317
  }
12295
12318
 
12296
12319
  /**
12297
- * Remove existing cell slot content and clone any current slot content from the root `auro-datepicker` which matches this cells date.
12320
+ * Removes the cell's copied slot content, then copies in the `date_YYYY_MM_DD` and `popover_YYYY_MM_DD` content for the cell's date from `auro-datepicker`.
12298
12321
  * @private
12299
12322
  * @returns {void}
12300
12323
  */
@@ -12456,8 +12479,8 @@ class AuroCalendarCell extends LitElement {
12456
12479
  }
12457
12480
 
12458
12481
  /**
12459
- * Sets host-level ARIA so each cell exposes its date, selection state,
12460
- * and blackout status to assistive tech browsing the month grid.
12482
+ * Sets ARIA attributes on the cell so screen reader users browsing the month grid hear its date,
12483
+ * whether it's selected, and whether it's a blackout date. Removes them for a date outside `min` and `max`.
12461
12484
  * @private
12462
12485
  * @returns {void}
12463
12486
  */
@@ -12699,8 +12722,8 @@ const getMonthNamesFromLocale = (locale) => {
12699
12722
  * Gets the localized names of the days of the week, starting from Sunday, in the given style.
12700
12723
  * Uses UTC dates to avoid DST-related day drift across timezones.
12701
12724
  * @private
12702
- * @param {String} locale - The BCP 47 language tag for localization, such as "en-US".
12703
- * @param {String} weekday - The style of the weekday name: 'narrow', 'short', or 'long'.
12725
+ * @param {String} locale - The BCP 47 language tag for localization, such as `en-US`.
12726
+ * @param {String} weekday - The style of the weekday name: `narrow`, `short`, or `long`.
12704
12727
  * @returns {Array} An array of seven localized weekday names, starting from Sunday.
12705
12728
  */
12706
12729
  const getWeekdayNames = (locale, weekday) => {
@@ -12833,10 +12856,10 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
12833
12856
  }
12834
12857
 
12835
12858
  /**
12836
- * Renders a day-of-week column header that shows the short day name and gives screen readers the full name with `aria-label`.
12859
+ * Renders a day-of-week column header that shows the narrow day name, such as "S" for Sunday in `en-US`, and gives screen readers the full name with `aria-label`.
12837
12860
  * @private
12838
- * @param {String} dayOfWeek - The short day name.
12839
- * @param {Number} index - The index in the dayNamesOfTheWeek array.
12861
+ * @param {String} dayOfWeek - The narrow day name, such as "S".
12862
+ * @param {Number} index - The column's index in `dayNamesOfTheWeek`, from 0 for Sunday.
12840
12863
  * @returns {Object} The header HTML.
12841
12864
  */
12842
12865
  renderDayOfWeek(dayOfWeek, index) {
@@ -12859,9 +12882,9 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
12859
12882
  }
12860
12883
 
12861
12884
  /**
12862
- * Overrides the base class handler to prevent setting `this.hoveredDate`
12863
- * as a reactive property. Instead, just dispatches the event upward so
12864
- * the calendar can handle range preview imperatively.
12885
+ * Called when a cell fires `date-is-hovered`. Fires `hovered-date-changed` with the date
12886
+ * instead of setting the base class's reactive `hoveredDate`, so the calendar can update
12887
+ * the range preview without re-rendering.
12865
12888
  * @private
12866
12889
  * @param {CustomEvent} event - The date-is-hovered event from a cell.
12867
12890
  * @returns {void}
@@ -12873,8 +12896,8 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
12873
12896
  }
12874
12897
 
12875
12898
  /**
12876
- * Dispatches a bubbling event when the mouse leaves the date grid body
12877
- * so the parent calendar can clear the range hover preview.
12899
+ * Called when the pointer leaves the month's date grid. Fires a bubbling
12900
+ * `calendar-month-mouseleave` event so the calendar can clear the range preview.
12878
12901
  * @private
12879
12902
  * @returns {void}
12880
12903
  */
@@ -12975,37 +12998,37 @@ class RangeDatepicker extends LitElement {
12975
12998
  super();
12976
12999
 
12977
13000
  /**
12978
- * Array of disabled days. Format is Unix timestamp.
13001
+ * Sets dates people can't select, as Unix timestamps in seconds.
12979
13002
  */
12980
13003
  this.disabledDays = [];
12981
13004
 
12982
13005
  /**
12983
- * Display a select year control.
13006
+ * Shows the previous and next month buttons on every month, and lets each month change on its own. It doesn't currently show a control for choosing the year.
12984
13007
  */
12985
13008
  this.enableYearChange = false;
12986
13009
 
12987
13010
  /**
12988
- * Force display of only one month.
13011
+ * Shows one month at a time, even on screens wider than 650 pixels.
12989
13012
  */
12990
13013
  this.forceNarrow = false;
12991
13014
 
12992
13015
  /**
12993
- * Set locale of the calendar.
13016
+ * Sets the date-fns locale object used for the month and weekday names, such as `enUS`. Uses `enUS` when not set.
12994
13017
  */
12995
13018
  this.locale = null;
12996
13019
 
12997
13020
  /**
12998
- * Max date. Format is Unix timestamp.
13021
+ * Sets the latest date people can choose, as a Unix timestamp in seconds.
12999
13022
  */
13000
13023
  this.max = '8640000000000';
13001
13024
 
13002
13025
  /**
13003
- * Minimal date. Format is Unix timestamp.
13026
+ * Sets the earliest date people can choose, as a Unix timestamp in seconds.
13004
13027
  */
13005
13028
  this.min = '-8640000000000';
13006
13029
 
13007
13030
  /**
13008
- * If true only one date can be selected.
13031
+ * Lets people choose only one date instead of a start date and an end date.
13009
13032
  */
13010
13033
  this.noRange = false;
13011
13034
  this.dateFrom = null;
@@ -13221,8 +13244,16 @@ var chevronLeft = {"role":"img","color":"currentColor","title":"","desc":"Direct
13221
13244
 
13222
13245
  var chevronRight = {"role":"img","color":"currentColor","title":"","desc":"Directional indicator; right.","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"chevron-right","category":"interface","svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"chevron-right__desc\" class=\"ico_squareLarge\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"chevron-right__desc\">Directional indicator; right.</desc><path d=\"m9.605 17.551-.084-.072a.75.75 0 0 1-.072-.977l.072-.084 4.47-4.47-4.47-4.47a.75.75 0 0 1-.072-.976l.072-.084a.75.75 0 0 1 .977-.073l.084.073 4.823 4.823a1 1 0 0 1 0 1.415l-4.823 4.823a.75.75 0 0 1-.977.072\"/></svg>"};
13223
13246
 
13247
+ /**
13248
+ * Helpers the datepicker's calendar uses to change the month it shows, show or hide the previous and next month buttons, and scroll to a month.
13249
+ */
13224
13250
  class CalendarUtilities {
13225
13251
  constructor() {
13252
+
13253
+ /**
13254
+ * The date helpers these methods use.
13255
+ * @private
13256
+ */
13226
13257
  this.util = new AuroDatepickerUtilities();
13227
13258
  }
13228
13259
 
@@ -13248,7 +13279,8 @@ class CalendarUtilities {
13248
13279
  }
13249
13280
 
13250
13281
  /**
13251
- * Sends an event requesting the dropdown bib be closed.
13282
+ * Called when someone selects the fullscreen calendar's close button or the Done button.
13283
+ * Fires `auroCalendar-dismissRequest` so the datepicker closes the calendar.
13252
13284
  * @private
13253
13285
  * @returns {void}
13254
13286
  */
@@ -13324,7 +13356,8 @@ class CalendarUtilities {
13324
13356
  }
13325
13357
 
13326
13358
  /**
13327
- * Handles the change of the centralDate property.
13359
+ * Called when the calendar's `centralDate` changes. Updates the previous and next month buttons
13360
+ * and fires `auroCalendar-centralDateChanged` with the new date.
13328
13361
  * @param {Object} elem - The auro-calendar element.
13329
13362
  * @private
13330
13363
  * @returns {void}
@@ -13735,7 +13768,7 @@ class AuroBibtemplate extends LitElement {
13735
13768
  }
13736
13769
 
13737
13770
  /**
13738
- * Called on `touchmove`. Stops the page behind the bib from scrolling when the touch is on the bibtemplate's own layout, such as its padding, instead of on slotted content.
13771
+ * Called when a `touchmove` event reaches the element. Stops the page behind the bib from scrolling when the touch is on the bibtemplate's own layout, such as its padding, instead of on slotted content.
13739
13772
  * @param {Event} event - The `touchmove` event.
13740
13773
  * @returns {void}
13741
13774
  */
@@ -13831,7 +13864,7 @@ class AuroBibtemplate extends LitElement {
13831
13864
  }
13832
13865
  }
13833
13866
 
13834
- var formkitVersion$2 = '202611081705';
13867
+ var formkitVersion$2 = '202611091558';
13835
13868
 
13836
13869
  let l$1 = class l{generateElementName(e,t){let s=e;return s+="-",s+=t.replace(/[.]/g,"_"),s}generateTag(s,o,a){const r=this.generateElementName(s,o),i=literal`${unsafeStatic(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let h$1 = class h{registerComponent(e,t){customElements.get(e)||customElements.define(e,class extends t{});}closestElement(e,t=this,s=(t,o=t&&t.closest(e))=>t&&t!==document&&t!==window?o||s(t.getRootNode().host):null){return s(t)}handleComponentTagRename(e,t){const s=t.toLowerCase();e.tagName.toLowerCase()!==s&&e.setAttribute(s,true);}elementMatch(e,t){const s=t.toLowerCase();return e.tagName.toLowerCase()===s||e.hasAttribute(s)}getSlotText(e,t){const s=e.shadowRoot?.querySelector(`slot[name="${t}"]`),o=(s?.assignedNodes({flatten:true})||[]).map(e=>e.textContent?.trim()).join(" ").trim();return o||null}};let d$1 = class d{registerComponent(e,t){customElements.get(e)||customElements.define(e,class extends t{});}closestElement(e,t=this,s=(t,o=t&&t.closest(e))=>t&&t!==document&&t!==window?o||s(t.getRootNode().host):null){return s(t)}handleComponentTagRename(e,t){const s=t.toLowerCase();e.tagName.toLowerCase()!==s&&e.setAttribute(s,true);}elementMatch(e,t){const s=t.toLowerCase();return e.tagName.toLowerCase()===s||e.hasAttribute(s)}getSlotText(e,t){const s=e.shadowRoot?.querySelector(`slot[name="${t}"]`);return (s?.assignedNodes({flatten:true})||[]).map(e=>e.textContent?.trim()).join(" ").trim()||null}};var c$1=css`:host{color:var(--ds-auro-loader-color)}:host>.loader-shape>span{border-color:var(--ds-auro-loader-border-color);background-color:var(--ds-auro-loader-background-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>.loader-shape>span{--ds-auro-loader-background-color: transparent}:host([orbit])>.loader-shape>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>.loader-shape>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
13837
13870
  `,u$4=css`.body-default{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-default-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-variant-ligatures:none;font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-lg-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-variant-ligatures:none;font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-sm-font-size, .875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-sm-emphasized-font-size, .875rem);font-variant-ligatures:none;font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-xs-font-size, .75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-xs-emphasized-font-size, .75rem);font-variant-ligatures:none;font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, .875rem)}.body-2xs,.body-2xs-emphasized{letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-emphasized-font-size, .625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-variant-ligatures:none;font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-variant-ligatures:none;font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-variant-ligatures:none;font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-variant-ligatures:none;font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-variant-ligatures:none;font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-variant-ligatures:none;font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-variant-ligatures:none;font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host{position:relative;display:inline-flex;flex-direction:column;align-items:center}:host([message-position=top]){flex-direction:column-reverse}:host([message-position=left]){flex-direction:row-reverse}:host([message-position=right]){flex-direction:row}:host([has-message]){gap:var(--ds-auro-loader-message-spacing)}.loader-shape{position:relative;display:inline-block;width:2rem;height:2rem;flex-shrink:0;font-size:0}.loader-shape>span{position:absolute;top:0;left:0;display:inline-block;width:2rem;height:2rem;box-sizing:border-box;border-width:0;border-style:solid;border-radius:100%;float:none}:host([xs])>.loader-shape{width:1.2rem;height:1.2rem}:host([xs])>.loader-shape>span{width:1.2rem;height:1.2rem}:host([sm])>.loader-shape{width:3rem;height:3rem}:host([sm])>.loader-shape>span{width:3rem;height:3rem}:host([md])>.loader-shape{width:5rem;height:5rem}:host([md])>.loader-shape>span{width:5rem;height:5rem}:host([lg])>.loader-shape{width:8rem;height:8rem}:host([lg])>.loader-shape>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]){position:relative}:host([pulse])>.loader-shape{position:relative;width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>.loader-shape>span{position:relative;width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse])>.loader-shape>span:nth-child(1){animation-delay:-.4s}:host([pulse])>.loader-shape>span:nth-child(2){animation-delay:-.2s}:host([pulse])>.loader-shape>span:nth-child(3){animation-delay:0ms}:host([pulse][xs])>.loader-shape{width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>.loader-shape>span{width:.65rem;height:.65rem;margin:var(--margin-xs)}:host([pulse][sm])>.loader-shape{width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>.loader-shape>span{width:2rem;height:2rem;margin:var(--margin-sm)}:host([pulse][md])>.loader-shape{width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>.loader-shape>span{width:3rem;height:3rem;margin:var(--margin-md)}:host([pulse][lg])>.loader-shape{width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>.loader-shape>span{width:5rem;height:5rem;margin:var(--margin-lg)}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]){opacity:1}:host([orbit])>.loader-shape>span{border-width:5px;opacity:1}:host([orbit])>.loader-shape>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>.loader-shape>span{border-width:8px}:host([orbit][md])>.loader-shape>span{border-width:13px}:host([orbit][lg])>.loader-shape>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>.loader-shape>svg{width:100%;height:100%;animation:rotate 2s linear infinite;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{animation:ringworm 1.5s ease-in-out infinite;stroke-dashoffset:0;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;display:block;overflow:hidden;width:100%;height:0;font-size:unset}:host([laser])>.no-animation,:host([laser])>.message-region{display:none}:host([laser])>.loader-shape>span{position:fixed;z-index:100;width:100%;height:.25rem;border-radius:0}:host([laser])>.loader-shape>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>.loader-shape>span:nth-child(2){width:50%;border-color:currentcolor;animation:laser 2s linear infinite;opacity:1}:host([laser][sm])>.loader-shape>span:nth-child(2){width:20%}:host([laser][md])>.loader-shape>span:nth-child(2){width:30%}:host([laser][lg])>.loader-shape>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>.loader-shape>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}.message-region{min-width:0;color:var(--ds-auro-loader-message-color)}.message-list{padding:0;margin:0}slot[name=message]::slotted([hidden]){display:none!important}:host>.no-animation{display:none;min-width:0}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>.loader-shape{display:none}:host>.loader-shape>span{opacity:1}:host>.no-animation{display:block}:host([has-default-content])>.message-region{display:none}:host([has-message]:not([has-default-content]))>.no-animation{display:none}}
@@ -13924,7 +13957,7 @@ var buttonVersion$1 = '12.3.2';
13924
13957
  * @event auroCalendar-dateSelected - Notifies that someone selected a date in the calendar.
13925
13958
  * @event auroCalendar-centralDateChanged - Notifies that the month shown has changed. Doesn't bubble; `event.detail.date` is the new `centralDate`.
13926
13959
  * @event auroCalendar-dismissRequest - Notifies that someone selected the close or Done button, so the datepicker closes the dropdown.
13927
- * @event narrow-changedProperties - Notifies that the calendar's narrow (mobile) layout state has changed.
13960
+ * @event narrow-changedProperties - Notifies once, after the calendar first renders, with `event.detail.value` set to `false`. The calendar doesn't currently track whether the screen is narrow, so the event doesn't fire again.
13928
13961
  */
13929
13962
  class AuroCalendar extends RangeDatepicker {
13930
13963
  constructor() {
@@ -13995,18 +14028,13 @@ class AuroCalendar extends RangeDatepicker {
13995
14028
  */
13996
14029
  this.calendarRangeMonths = null;
13997
14030
 
13998
- /**
13999
- * @deprecated Use `auro-datepicker.blackoutDates` (an array of
14000
- * `YYYY-MM-DD` ISO strings) instead. This legacy array of Unix
14001
- * timestamps is still honored for backward compatibility but emits a
14002
- * one-time `console.debug` the first time a non-empty value is observed.
14003
- * Support will be removed in a future major release.
14004
- * @private
14005
- */
14006
14031
  // Initialize the backing field directly so the constructor's default
14007
14032
  // empty array doesn't trigger the deprecation warning. Assignments from
14008
14033
  // consumers still route through the setter below.
14009
14034
  /**
14035
+ * Deprecated: Use `blackoutDates` on `auro-datepicker` instead.
14036
+ * Holds the dates set with the deprecated `disabledDays`, as Unix timestamps in seconds. The calendar still honors them, and the first non-empty value logs a one-time console message.
14037
+ * @deprecated Use `blackoutDates` on `auro-datepicker` instead.
14010
14038
  * @private
14011
14039
  * @type {number[]}
14012
14040
  */
@@ -14183,7 +14211,7 @@ class AuroCalendar extends RangeDatepicker {
14183
14211
  },
14184
14212
 
14185
14213
  /**
14186
- * Mobile breakpoint for responsive design.
14214
+ * Sets the window width, in pixels, below which `scrollMonthIntoView()` scrolls to a month. The datepicker doesn't currently set it.
14187
14215
  * @private
14188
14216
  */
14189
14217
  mobileBreakpoint: {
@@ -14381,9 +14409,10 @@ class AuroCalendar extends RangeDatepicker {
14381
14409
  }
14382
14410
 
14383
14411
  /**
14384
- * Renders all of the auro-calendar-months HTML.
14412
+ * Renders the calendar's `auro-formkit-calendar-month` elements, one for each month shown.
14413
+ * Renders nothing until `visible` is set.
14385
14414
  * @private
14386
- * @returns {Object} The auro-calendar-months HTML.
14415
+ * @returns {Object|undefined} The months' template, or undefined when `visible` isn't set.
14387
14416
  */
14388
14417
  renderAllCalendars() {
14389
14418
  let renderedHtml = undefined;
@@ -14597,7 +14626,8 @@ class AuroCalendar extends RangeDatepicker {
14597
14626
  }
14598
14627
 
14599
14628
  /**
14600
- * Shows the activeCell ring when the grid gains focus.
14629
+ * Called when focus moves into the calendar grid. Shows the focus ring on the active cell
14630
+ * when the grid itself gets focus, not a cell inside it.
14601
14631
  * @private
14602
14632
  * @param {FocusEvent} [event] - The focusin event.
14603
14633
  * @returns {void}
@@ -14626,7 +14656,8 @@ class AuroCalendar extends RangeDatepicker {
14626
14656
  }
14627
14657
 
14628
14658
  /**
14629
- * Hides the activeCell ring when the grid loses focus.
14659
+ * Called when the calendar grid or an element in it loses focus. Removes the focus ring from
14660
+ * every cell, and clears the range preview while the range doesn't have both dates.
14630
14661
  * @private
14631
14662
  * @returns {void}
14632
14663
  */
@@ -14717,15 +14748,17 @@ class AuroCalendar extends RangeDatepicker {
14717
14748
  /**
14718
14749
  * Computes the initial active date from data properties alone, without the DOM.
14719
14750
  * Priority:
14720
- * 1. Selected date (dateFrom) if within range
14721
- * 2. Today's date if not disabled (in-range and not blackout)
14722
- * 3. First future non-disabled date (scans day-by-day from today up to 1 year)
14723
- * 4. First previous non-disabled date (scans day-by-day from today up to 1 year)
14724
- * 5. First enabled date in finite [min, max] range
14725
- * 5b. First enabled date scanning forward from finite min (unbounded max)
14726
- * 5c. First enabled date scanning backward from finite max (unbounded min)
14727
- * 6. First in-range date (even if blackout) so focus can land somewhere
14728
- * 7. Undefined: no valid target.
14751
+ * 1. The selected date (`dateFrom`), if it's within range.
14752
+ * 2. When `centralDate` is in a different month than today, the first enabled date in that month, or else its first in-range date.
14753
+ * 3. Today's date, if it's enabled (in range and not a blackout date).
14754
+ * 4. The first enabled date in the visible months, or else their first in-range date.
14755
+ * 5. The first enabled date after today, scanning day by day for up to a year.
14756
+ * 6. The first enabled date before today, scanning day by day for up to a year.
14757
+ * 7. The first enabled date in a finite [min, max] range.
14758
+ * 7b. The first enabled date scanning forward from a finite min (unbounded max).
14759
+ * 7c. The first enabled date scanning backward from a finite max (unbounded min).
14760
+ * 8. An in-range date, even if it's a blackout date, so focus can land somewhere: min when it's finite, or else today.
14761
+ * 9. Undefined: no valid target.
14729
14762
  *
14730
14763
  * @private
14731
14764
  * @param {Object} [options] - The optional settings.
@@ -14973,9 +15006,9 @@ class AuroCalendar extends RangeDatepicker {
14973
15006
  }
14974
15007
 
14975
15008
  /**
14976
- * Handles arrow key navigation on the calendar grid wrapper.
14977
- * Focus stays on the grid wrapper; only the visual active-cell indicator
14978
- * changes. The live region announces the new active cell.
15009
+ * Called when a key is pressed while the calendar grid has focus. The arrow keys move the
15010
+ * active cell, into another month when needed, and Enter or Space selects the active date
15011
+ * unless it's a blackout date. Focus stays on the grid, and the live region announces the new active cell.
14979
15012
  * @private
14980
15013
  * @param {KeyboardEvent} event - The keyboard event.
14981
15014
  * @returns {void}
@@ -15107,7 +15140,9 @@ class AuroCalendar extends RangeDatepicker {
15107
15140
  }
15108
15141
 
15109
15142
  /**
15110
- * Handles cross-month boundary navigation events from month components.
15143
+ * Called when the calendar receives a `calendar-month-boundary` event. Moves the active cell
15144
+ * across a month boundary for the arrow key in `event.detail.key`. Nothing in the datepicker
15145
+ * currently fires this event.
15111
15146
  * @private
15112
15147
  * @param {CustomEvent} event - The boundary event with direction and source date info.
15113
15148
  * @returns {void}
@@ -15248,7 +15283,8 @@ class AuroCalendar extends RangeDatepicker {
15248
15283
  }
15249
15284
 
15250
15285
  /**
15251
- * Handles cell activation events from month components.
15286
+ * Called when a cell fires `calendar-cell-activate` after someone selects it. Makes that cell
15287
+ * the active cell without moving focus to the grid.
15252
15288
  * @private
15253
15289
  * @param {CustomEvent} event - The activation event with target date.
15254
15290
  * @returns {void}
@@ -15266,9 +15302,8 @@ class AuroCalendar extends RangeDatepicker {
15266
15302
  }
15267
15303
 
15268
15304
  /**
15269
- * Handles focus events from calendar cells.
15270
- * Updates the live region with a screen reader announcement and triggers
15271
- * the imperative range preview if applicable.
15305
+ * Called when a cell's button gets focus, and after the arrow keys move the active cell.
15306
+ * Announces the date to screen readers through the live region and updates the range preview.
15272
15307
  * @private
15273
15308
  * @param {CustomEvent} event - The calendar-cell-focused event.
15274
15309
  * @returns {void}
@@ -15450,7 +15485,7 @@ class AuroCalendar extends RangeDatepicker {
15450
15485
  *
15451
15486
  * The cell's `applyCommittedRangeClasses` reuses the same
15452
15487
  * `isInRange`/`isDepartDate`/`isReturnDate` helpers `renderCellButton`
15453
- * uses, so we don't parse dateFrom/dateTo here; the helpers already
15488
+ * uses, so this method doesn't parse `dateFrom` or `dateTo`; the helpers already
15454
15489
  * normalize their inputs (midnight-truncation, string→int) internally.
15455
15490
  * @private
15456
15491
  * @returns {void}
@@ -15486,8 +15521,8 @@ class AuroCalendar extends RangeDatepicker {
15486
15521
  }
15487
15522
 
15488
15523
  /**
15489
- * Overrides the base class handler to prevent setting `this.hoveredDate`
15490
- * as a reactive property. Instead, handles the range preview imperatively.
15524
+ * Called when a month fires `hovered-date-changed`. Updates the range preview directly
15525
+ * instead of setting the base class's reactive `hoveredDate`, so the cells don't re-render.
15491
15526
  * @private
15492
15527
  * @param {CustomEvent} event - The hovered-date-changed event from a month.
15493
15528
  * @returns {void}
@@ -15503,7 +15538,7 @@ class AuroCalendar extends RangeDatepicker {
15503
15538
  * Walks the flat tree (rendered, slot-aware) outward from the active
15504
15539
  * cell's button and calls `scrollBy` on every vertically-scrollable
15505
15540
  * ancestor by whatever delta still separates the cell from that
15506
- * ancestor's viewport. Native `scrollIntoView` is not used because the
15541
+ * ancestor's viewport. Native `scrollIntoView` isn't used because the
15507
15542
  * cell sits inside multiple nested scroll containers (the dropdown bib's
15508
15543
  * `<dialog>`, the bibtemplate's `#bodyContainer`) and the algorithm only
15509
15544
  * scrolls one of them on its own, leaving the cell short of the
@@ -15513,7 +15548,7 @@ class AuroCalendar extends RangeDatepicker {
15513
15548
  * value) so each `scrollBy` resolves synchronously and the next
15514
15549
  * iteration's `getBoundingClientRect` reads post-scroll positions
15515
15550
  * accurately. This also satisfies `prefers-reduced-motion` users: the
15516
- * scroll containers do not set CSS `scroll-behavior: smooth`, so `auto`
15551
+ * scroll containers don't set CSS `scroll-behavior: smooth`, so `auto`
15517
15552
  * is effectively instant.
15518
15553
  *
15519
15554
  * The active cell is looked up from the cache populated by
@@ -15728,16 +15763,15 @@ class AuroCalendar extends RangeDatepicker {
15728
15763
  }
15729
15764
 
15730
15765
  /**
15731
- * Debounced version of announceSelection for focus navigation.
15732
- * Uses the assertive live region with a 150ms debounce so only the
15733
- * final cell after rapid arrow-key traversal is announced. We
15734
- * originally tried aria-live="polite" here, but VoiceOver treats
15735
- * polite as "wait until idle", which never happens during active
15736
- * keyboard navigation, so the announcements were silently dropped.
15766
+ * Announces a date to screen readers after a 150 ms pause, so only the
15767
+ * last cell reached with the arrow keys is announced.
15768
+ * Uses the assertive live region, because VoiceOver waits for the page to
15769
+ * be idle before it reads a polite one, which never happens during
15770
+ * arrow-key navigation, so polite announcements were dropped.
15737
15771
  *
15738
15772
  * This is a documented deviation from WCAG 2.1 SC 4.1.3, which
15739
15773
  * prefers `polite` for status messages. See the "Documented
15740
- * Deviation" section in components/datepicker/docs/pages/accessibility.md.
15774
+ * deviation" section in `components/datepicker/docs/pages/accessibility.md`.
15741
15775
  * @private
15742
15776
  * @param {String} dateStr - The localized date string to announce.
15743
15777
  * @returns {void}
@@ -19955,7 +19989,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
19955
19989
  }
19956
19990
  };
19957
19991
 
19958
- var formkitVersion$1 = '202611081705';
19992
+ var formkitVersion$1 = '202611091558';
19959
19993
 
19960
19994
  /**
19961
19995
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -20121,8 +20155,8 @@ let AuroElement$2 = class AuroElement extends LitElement {
20121
20155
  * @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
20122
20156
  * @csspart size - A hidden sizing element whose `width`, `height`, `max-width`, and `max-height` are copied to the bib. Applies only when `matchWidth` is set.
20123
20157
  * @csspart helpText - The help text container. Not currently rendered, so styles set on it have no effect; style the content in the `helpText` slot instead.
20124
- * @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
20125
- * @event auroDropdown-toggled - Notifies that the bib opened or closed.
20158
+ * @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space. A click currently fires it twice: first with `event.detail.expanded`, then again without a detail, bubbling. With `disableEventShow` set, only the second one fires, and Enter and Space don't fire it.
20159
+ * @event auroDropdown-toggled - Notifies that the bib opened or closed, with `event.detail.expanded` set to true when it opened. When it closed, `event.detail.eventType` says why, such as `click`, `keydown`, or `focusloss`.
20126
20160
  * @event auroDropdown-idAdded - Notifies that the dropdown has an ID you can use to reference its bib, such as in `aria-controls`. The detail's `id` is the dropdown's own `id`, generated when not set, and the bib's ID is that value followed by `-floater-bib`.
20127
20161
  */
20128
20162
  class AuroDropdown extends AuroElement$2 {
@@ -20451,6 +20485,7 @@ class AuroDropdown extends AuroElement$2 {
20451
20485
  /**
20452
20486
  * Removes the trigger's border, background, and shadow.
20453
20487
  * Applies only when `shape` and `size` are both set.
20488
+ * @relevantWhen shape !== undefined
20454
20489
  * @category ui
20455
20490
  */
20456
20491
  simple: {
@@ -20743,6 +20778,7 @@ class AuroDropdown extends AuroElement$2 {
20743
20778
  /**
20744
20779
  * Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
20745
20780
  * Applies only when the `trigger` slot content isn't focusable.
20781
+ * @default 0
20746
20782
  * @category a11y
20747
20783
  */
20748
20784
  tabIndex: {
@@ -21434,7 +21470,6 @@ class AuroDropdown extends AuroElement$2 {
21434
21470
  *
21435
21471
  * @private
21436
21472
  * @method handleDefaultSlot
21437
- * @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
21438
21473
  */
21439
21474
  handleDefaultSlot() {
21440
21475
 
@@ -21447,7 +21482,7 @@ class AuroDropdown extends AuroElement$2 {
21447
21482
  * Renders the markup that every layout shares: the trigger, the help text, and the bib.
21448
21483
  * @private
21449
21484
  * @param {Object} helpTextClasses - The classes to apply to the help text container.
21450
- * @returns {html} - The template for the shared markup.
21485
+ * @returns {import('lit').TemplateResult} The template for the shared markup.
21451
21486
  */
21452
21487
  renderBasicHtml(helpTextClasses) {
21453
21488
  return html$1`
@@ -21509,7 +21544,7 @@ class AuroDropdown extends AuroElement$2 {
21509
21544
  /**
21510
21545
  * Renders the classic layout.
21511
21546
  * @private
21512
- * @returns {html} - The template for the classic layout.
21547
+ * @returns {import('lit').TemplateResult} The template for the classic layout.
21513
21548
  */
21514
21549
  renderLayoutClassic() {
21515
21550
  // TODO: check with Doug why this was never used?
@@ -21525,7 +21560,7 @@ class AuroDropdown extends AuroElement$2 {
21525
21560
  /**
21526
21561
  * Renders the snowflake layout, which indents the help text on both sides.
21527
21562
  * @private
21528
- * @returns {html} - The template for the snowflake layout.
21563
+ * @returns {import('lit').TemplateResult} The template for the snowflake layout.
21529
21564
  */
21530
21565
  renderLayoutSnowflake() {
21531
21566
  const helpTextClasses = {
@@ -21542,7 +21577,7 @@ class AuroDropdown extends AuroElement$2 {
21542
21577
  /**
21543
21578
  * Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
21544
21579
  * @private
21545
- * @returns {html} - The template for the emphasized layout.
21580
+ * @returns {import('lit').TemplateResult} The template for the emphasized layout.
21546
21581
  */
21547
21582
  renderLayoutEmphasized() {
21548
21583
  const helpTextClasses = {
@@ -21560,7 +21595,7 @@ class AuroDropdown extends AuroElement$2 {
21560
21595
  * Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
21561
21596
  * @private
21562
21597
  * @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
21563
- * @returns {HTMLCollection} - The template for the layout.
21598
+ * @returns {import('lit').TemplateResult} The template for the layout.
21564
21599
  */
21565
21600
  renderLayout(ForcedLayout) {
21566
21601
  const layout = ForcedLayout || this.layout;
@@ -31709,6 +31744,9 @@ function cleanEscapedString(input) {
31709
31744
  return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
31710
31745
  }
31711
31746
 
31747
+ /**
31748
+ * 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.
31749
+ */
31712
31750
  class AuroInputUtilities {
31713
31751
 
31714
31752
  /**
@@ -31728,7 +31766,17 @@ class AuroInputUtilities {
31728
31766
  } else {
31729
31767
  this.locale = 'en-US';
31730
31768
  }
31769
+
31770
+ /**
31771
+ * Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
31772
+ * @type {string|undefined}
31773
+ */
31731
31774
  this.overrideFormat = config.format;
31775
+
31776
+ /**
31777
+ * The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
31778
+ * @type {Intl.DateTimeFormat}
31779
+ */
31732
31780
  this.formatter = new Intl.DateTimeFormat(this.locale);
31733
31781
 
31734
31782
  // Bindings - many of these are passed into IMask callbacks,
@@ -32159,7 +32207,7 @@ class BaseInput extends AuroElement$1 {
32159
32207
  // The initial-load focus theft was caused by the static `autofocus`
32160
32208
  // attribute on the bib input (now conditional), not by delegatesFocus.
32161
32209
  /**
32162
- * Lit's options for creating the shadow root.
32210
+ * Gets the options Lit uses to create the shadow root.
32163
32211
  * @internal
32164
32212
  */
32165
32213
  static get shadowRootOptions() {
@@ -32319,8 +32367,9 @@ class BaseInput extends AuroElement$1 {
32319
32367
  },
32320
32368
 
32321
32369
  /**
32322
- * Sets the shape of the field's border. The emphasized layouts support `pill`, `pill-left`,
32323
- * and `pill-right`, and the snowflake layout uses `snowflake`.
32370
+ * Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
32371
+ * and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
32372
+ * The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
32324
32373
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
32325
32374
  * @default 'classic'
32326
32375
  * @category ui
@@ -32332,8 +32381,8 @@ class BaseInput extends AuroElement$1 {
32332
32381
  },
32333
32382
 
32334
32383
  /**
32335
- * Sets the field's size. The `classic` shape is the same height at every size, and the
32336
- * emphasized layouts support only `xl`.
32384
+ * Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
32385
+ * and the emphasized layouts support only `xl`.
32337
32386
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
32338
32387
  * @default 'lg'
32339
32388
  * @category ui
@@ -34129,7 +34178,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
34129
34178
  }
34130
34179
  };
34131
34180
 
34132
- var formkitVersion = '202611081705';
34181
+ var formkitVersion = '202611091558';
34133
34182
 
34134
34183
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
34135
34184
  // See LICENSE in the project root for license information.
@@ -34588,7 +34637,7 @@ class AuroInput extends BaseInput {
34588
34637
 
34589
34638
  /**
34590
34639
  * Gets the `pattern` for the inner `<input>` element. For credit card numbers,
34591
- * builds a length check from `minLength` and `maxLength` instead.
34640
+ * builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
34592
34641
  * @private
34593
34642
  * @returns {string}
34594
34643
  */
@@ -35648,6 +35697,9 @@ function applyKeyboardStrategy(component, strategy, options = {}) {
35648
35697
  // This file is an intentional placeholder for most keys. When datepicker bib keyboard navigation is
35649
35698
  // added, handlers should go here following the same strategy pattern used by
35650
35699
  // auro-select (selectKeyboardStrategy.js) and auro-combobox (comboboxKeyboardStrategy.js).
35700
+ /**
35701
+ * Holds the datepicker's keyboard handlers, one function each for `Escape`, `Enter`, and the space bar. Escape closes the open calendar without closing a dialog or drawer around it, and Enter or Space opens the closed calendar unless the clear button has focus.
35702
+ */
35651
35703
  const datepickerKeyboardStrategy = {
35652
35704
  Escape(component, evt, ctx) {
35653
35705
  if (!ctx.isExpanded) {
@@ -35722,7 +35774,7 @@ const datepickerKeyboardStrategy = {
35722
35774
  * - **Limits and unavailable dates**: `minDate` and `maxDate` turn off dates outside a range, and `blackoutDates` marks single dates people can't select.
35723
35775
  * - **Validation**: `required` shows an error when no date is chosen, and the `setCustomValidity` attributes replace the built-in error messages.
35724
35776
  * - **Content on dates**: The `date_YYYY_MM_DD` and `popover_YYYY_MM_DD` slots add content to a date in the calendar, such as a price.
35725
- * - **Localization**: `locale` sets the date format and the month and weekday names, and attributes and slots let you translate every other label.
35777
+ * - **Localization**: `locale` sets the date format and the month and weekday names, and attributes and slots let you translate most other text, except the calendar's Done button and the word "selected" in screen reader announcements.
35726
35778
  * - **Fullscreen on small screens**: `fullscreenBreakpoint` sets the screen size at or below which the calendar opens fullscreen.
35727
35779
  *
35728
35780
  * **Example**
@@ -36179,7 +36231,7 @@ class AuroDatePicker extends AuroElement {
36179
36231
  },
36180
36232
 
36181
36233
  /**
36182
- * Sets the shape of the datepicker.
36234
+ * Sets the shape of the date field. Use `classic` (the default) with the `classic` layout, and `snowflake` with the `snowflake` layout.
36183
36235
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
36184
36236
  * @default 'classic'
36185
36237
  * @category ui
@@ -36191,7 +36243,7 @@ class AuroDatePicker extends AuroElement {
36191
36243
  },
36192
36244
 
36193
36245
  /**
36194
- * Sets the size of the datepicker.
36246
+ * Sets the height of the date field, from `xs`, the shortest, to `xl`, the tallest. The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them. The `rounded` shape supports only `lg`, and the `pill`, `pill-left`, and `pill-right` shapes support only `md` and `xl`.
36195
36247
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
36196
36248
  * @default 'lg'
36197
36249
  * @category ui
@@ -36507,7 +36559,7 @@ class AuroDatePicker extends AuroElement {
36507
36559
  },
36508
36560
 
36509
36561
  /**
36510
- * Indicates whether the datepicker is in a dirty state (has been interacted with).
36562
+ * Marks the datepicker as used once it gets focus, so validation can report a missing required date. `reset()` clears it.
36511
36563
  * @private
36512
36564
  */
36513
36565
  touched: {
@@ -36663,7 +36715,7 @@ class AuroDatePicker extends AuroElement {
36663
36715
  }
36664
36716
 
36665
36717
  /**
36666
- * Checks whether the `displayValue` slot has content to render.
36718
+ * Called when the `displayValue` slot's content changes. Records whether the slot has content to show.
36667
36719
  * @private
36668
36720
  * @returns {void}
36669
36721
  */
@@ -37456,7 +37508,7 @@ class AuroDatePicker extends AuroElement {
37456
37508
  * Per-class dedup set used by `_warnInvalidLocale`. Static so the dedup
37457
37509
  * spans every datepicker instance on the page; lives on the class (not
37458
37510
  * at module scope) so it stays an encapsulated implementation detail of
37459
- * this component and does not interfere with WCA's class-JSDoc
37511
+ * this component and doesn't interfere with WCA's class-JSDoc
37460
37512
  * attachment.
37461
37513
  * @private
37462
37514
  */
@@ -37464,7 +37516,7 @@ class AuroDatePicker extends AuroElement {
37464
37516
 
37465
37517
  /**
37466
37518
  * Logs a one-time `console.debug` when an unsupported locale falls back to
37467
- * en-US. Deduped by the offending tag so noisy re-renders that resurface
37519
+ * `en-US`. Deduped by the offending tag so noisy re-renders that resurface
37468
37520
  * the same bad value stay quiet, but each new bad value still signals so
37469
37521
  * consumers can spot the typo or missing tag.
37470
37522
  * @private
@@ -37762,7 +37814,8 @@ class AuroDatePicker extends AuroElement {
37762
37814
  }
37763
37815
 
37764
37816
  /**
37765
- * Handles the transfer of content between slots in the component.
37817
+ * Called when a slot the datepicker passes to the calendar changes, such as `bib.fullscreen.headline`.
37818
+ * Copies the slot's content into the calendar.
37766
37819
  *
37767
37820
  * @private
37768
37821
  * @method handleSlotToSlot
@@ -37775,7 +37828,8 @@ class AuroDatePicker extends AuroElement {
37775
37828
  }
37776
37829
 
37777
37830
  /**
37778
- * Handles click events on the datepicker.
37831
+ * Called when someone clicks the datepicker. Stops a click on the inert trigger from closing the open calendar,
37832
+ * and in the `snowflake` layout, moves focus to the start date input when the click isn't on an input or the calendar and no input has focus.
37779
37833
  * @param {PointerEvent} event - The pointer event object.
37780
37834
  * @private
37781
37835
  * @returns {void}
@@ -38145,7 +38199,7 @@ class AuroDatePicker extends AuroElement {
38145
38199
  // ------------------------------------
38146
38200
 
38147
38201
  /**
38148
- * Handles click on the clear button.
38202
+ * Called when someone selects the clear button. Clears the chosen dates and moves focus to the start date input.
38149
38203
  * @private
38150
38204
  * @param {MouseEvent} event - The mouse event from the clear button click.
38151
38205
  * @returns {void}