@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.12 → 0.0.0-pr1628.14

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 (86) hide show
  1. package/components/checkbox/demo/customize.min.js +1 -1
  2. package/components/checkbox/demo/getting-started.min.js +1 -1
  3. package/components/checkbox/demo/index.min.js +1 -1
  4. package/components/checkbox/dist/index.js +1 -1
  5. package/components/checkbox/dist/registered.js +1 -1
  6. package/components/combobox/demo/api.md +39 -38
  7. package/components/combobox/demo/css-only.md +2 -2
  8. package/components/combobox/demo/customize.md +50 -2
  9. package/components/combobox/demo/customize.min.js +14 -17
  10. package/components/combobox/demo/design.md +2 -0
  11. package/components/combobox/demo/getting-started.md +9 -7
  12. package/components/combobox/demo/getting-started.min.js +14 -17
  13. package/components/combobox/demo/index.md +4 -0
  14. package/components/combobox/demo/index.min.js +14 -17
  15. package/components/combobox/dist/auro-combobox.d.ts +10 -1
  16. package/components/combobox/dist/index.js +14 -17
  17. package/components/combobox/dist/registered.js +14 -17
  18. package/components/counter/demo/api.md +28 -28
  19. package/components/counter/demo/css-only.md +1 -1
  20. package/components/counter/demo/customize.md +2 -2
  21. package/components/counter/demo/customize.min.js +12 -11
  22. package/components/counter/demo/getting-started.md +2 -2
  23. package/components/counter/demo/getting-started.min.js +12 -11
  24. package/components/counter/demo/index.min.js +12 -11
  25. package/components/counter/demo/voiceover.md +2 -2
  26. package/components/counter/demo/why-counter.md +1 -1
  27. package/components/counter/dist/auro-counter-group.d.ts +7 -6
  28. package/components/counter/dist/auro-counter.d.ts +3 -3
  29. package/components/counter/dist/index.js +12 -11
  30. package/components/counter/dist/registered.js +12 -11
  31. package/components/datepicker/demo/accessibility.md +3 -3
  32. package/components/datepicker/demo/api.md +7 -8
  33. package/components/datepicker/demo/css-only.md +1 -1
  34. package/components/datepicker/demo/customize.md +2 -2
  35. package/components/datepicker/demo/customize.min.js +26 -38
  36. package/components/datepicker/demo/getting-started.md +6 -3
  37. package/components/datepicker/demo/getting-started.min.js +26 -38
  38. package/components/datepicker/demo/index.min.js +26 -38
  39. package/components/datepicker/demo/voiceover.md +2 -2
  40. package/components/datepicker/dist/auro-calendar-cell.d.ts +3 -2
  41. package/components/datepicker/dist/auro-calendar-month.d.ts +2 -1
  42. package/components/datepicker/dist/auro-calendar.d.ts +8 -7
  43. package/components/datepicker/dist/auro-datepicker.d.ts +6 -9
  44. package/components/datepicker/dist/index.js +26 -38
  45. package/components/datepicker/dist/registered.js +26 -38
  46. package/components/datepicker/dist/utilities.d.ts +1 -1
  47. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +1 -1
  48. package/components/dropdown/demo/customize.min.js +1 -1
  49. package/components/dropdown/demo/getting-started.min.js +3 -15
  50. package/components/dropdown/demo/index.min.js +1 -1
  51. package/components/dropdown/dist/index.js +1 -1
  52. package/components/dropdown/dist/registered.js +1 -1
  53. package/components/form/demo/customize.min.js +60 -86
  54. package/components/form/demo/getting-started.min.js +60 -86
  55. package/components/form/demo/index.min.js +60 -86
  56. package/components/form/demo/registerDemoDeps.min.js +60 -86
  57. package/components/input/demo/api.md +12 -12
  58. package/components/input/demo/css-only.md +4 -4
  59. package/components/input/demo/customize.md +4 -4
  60. package/components/input/demo/customize.min.js +2 -14
  61. package/components/input/demo/getting-started.min.js +2 -14
  62. package/components/input/demo/index.min.js +2 -14
  63. package/components/input/demo/voiceover.md +1 -1
  64. package/components/input/demo/why-input.md +2 -2
  65. package/components/input/dist/base-input.d.ts +0 -12
  66. package/components/input/dist/index.js +2 -14
  67. package/components/input/dist/registered.js +2 -14
  68. package/components/radio/demo/customize.min.js +1 -1
  69. package/components/radio/demo/getting-started.min.js +1 -1
  70. package/components/radio/demo/index.min.js +1 -1
  71. package/components/radio/dist/index.js +1 -1
  72. package/components/radio/dist/registered.js +1 -1
  73. package/components/select/demo/api.md +46 -46
  74. package/components/select/demo/customize.md +48 -0
  75. package/components/select/demo/customize.min.js +4 -4
  76. package/components/select/demo/design.md +6 -0
  77. package/components/select/demo/getting-started.min.js +4 -4
  78. package/components/select/demo/index.md +2 -0
  79. package/components/select/demo/index.min.js +4 -4
  80. package/components/select/demo/keyboard-behavior.md +1 -1
  81. package/components/select/demo/voiceover.md +5 -5
  82. package/components/select/dist/auro-select.d.ts +2 -2
  83. package/components/select/dist/index.js +4 -4
  84. package/components/select/dist/registered.js +4 -4
  85. package/custom-elements.json +233 -2462
  86. package/package.json +1 -1
@@ -10678,7 +10678,7 @@ class AuroDatepickerUtilities {
10678
10678
  * Creates an SVG element from an icon's markup.
10679
10679
  * @private
10680
10680
  * @param {Object} icon - The icon object containing the SVG.
10681
- * @returns {Object}
10681
+ * @returns {Object} The SVG element.
10682
10682
  */
10683
10683
  generateIconHtml(icon) {
10684
10684
  this.dom = new DOMParser().parseFromString(icon.svg, 'text/html');
@@ -10760,7 +10760,7 @@ class UtilitiesCalendarRender {
10760
10760
  * Determines how many months to render based on the defined calendar range.
10761
10761
  * @param {Object} elem - The auro-calendar element.
10762
10762
  * @private
10763
- * @returns {Number} The number of months from calendarStartDate through calendarEndDate.
10763
+ * @returns {Number|undefined} The number of months from `calendarStartDate` through `calendarEndDate`, or undefined when either isn't set.
10764
10764
  */
10765
10765
  determineDefinedCalendarRange(elem) {
10766
10766
  if (elem.getAttribute('calendarStartDate') && elem.getAttribute('calendarEndDate')) {
@@ -11804,6 +11804,7 @@ function isBlackoutTimestamp(dateTs, disabledDays, blackoutDates) {
11804
11804
  * @event date-is-hovered - Notifies that the pointer moved over this cell's date.
11805
11805
  * @event calendar-cell-focused - Notifies that this cell's button has received focus.
11806
11806
  * @csspart dateSlot - The container under the day number that holds the date's `date_YYYY_MM_DD` slot content, shown only when that slot has content.
11807
+ * @internal
11807
11808
  */
11808
11809
  class AuroCalendarCell extends i$1 {
11809
11810
  constructor() {
@@ -12249,12 +12250,12 @@ class AuroCalendarCell extends i$1 {
12249
12250
  }
12250
12251
 
12251
12252
  /**
12252
- * Checks whether the cell's date is between dateFrom and dateTo.
12253
+ * Checks whether the cell's date is between `dateFrom` and `dateTo`.
12253
12254
  * @private
12254
12255
  * @param {Object} day - The day this cell shows: an object with `date`, a Unix timestamp in seconds, and `title`, the day of the month.
12255
12256
  * @param {Number} dateFrom - The start date, as a Unix timestamp in seconds.
12256
12257
  * @param {Number} dateTo - The end date, as a Unix timestamp in seconds.
12257
- * @returns {Boolean} True if the datepicker is a range and the cell's date is after dateFrom and before dateTo; false otherwise.
12258
+ * @returns {Boolean} True if the datepicker is a range and the cell's date is after `dateFrom` and, when `dateTo` is set, before `dateTo`; false otherwise.
12258
12259
  */
12259
12260
  isInRange(day, dateFrom, dateTo) {
12260
12261
 
@@ -12786,6 +12787,7 @@ const getWeekdayNames = (locale, weekday) => {
12786
12787
  * One month of the datepicker's calendar: a localized heading and a grid of day cells people can select.
12787
12788
  * @event hovered-date-changed - Notifies that the date currently hovered within the month grid has changed.
12788
12789
  * @event calendar-month-mouseleave - Notifies that the pointer left the month's date grid, so the calendar can clear the range preview.
12790
+ * @internal
12789
12791
  */
12790
12792
  class AuroCalendarMonth extends RangeDatepickerCalendar {
12791
12793
  static get styles() {
@@ -12911,7 +12913,7 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
12911
12913
 
12912
12914
  /**
12913
12915
  * Gets the cells in this month that keyboard users can reach: enabled and blackout dates, but not dates before the earliest or after the latest date people can choose.
12914
- * @returns {Array} The auro-formkit-calendar-cell elements.
12916
+ * @returns {Array} The `auro-formkit-calendar-cell` elements.
12915
12917
  */
12916
12918
  getFocusableCells() {
12917
12919
  const cells = Array.from(this.shadowRoot.querySelectorAll('auro-formkit-calendar-cell'));
@@ -13912,7 +13914,7 @@ class AuroBibtemplate extends i$1 {
13912
13914
  }
13913
13915
  }
13914
13916
 
13915
- var formkitVersion$2 = '202611091637';
13917
+ var formkitVersion$2 = '202611092100';
13916
13918
 
13917
13919
  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=i$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let h$4 = 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$3=i$3`: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}
13918
13920
  `,u$6=i$3`.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}}
@@ -14006,6 +14008,7 @@ var buttonVersion$1 = '12.3.2';
14006
14008
  * @event auroCalendar-centralDateChanged - Notifies that the month shown has changed. Doesn't bubble; `event.detail.date` is the new `centralDate`.
14007
14009
  * @event auroCalendar-dismissRequest - Notifies that someone selected the close or Done button, so the datepicker closes the dropdown.
14008
14010
  * @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.
14011
+ * @internal
14009
14012
  */
14010
14013
  class AuroCalendar extends RangeDatepicker {
14011
14014
  constructor() {
@@ -14171,7 +14174,7 @@ class AuroCalendar extends RangeDatepicker {
14171
14174
  return {
14172
14175
 
14173
14176
  /**
14174
- * Doesn't currently do anything. The calendar reads its last month from the `calendarEndDate` attribute, which the datepicker sets.
14177
+ * Doesn't currently do anything. The calendar takes its last month from `calendarEndDate` or `maxDate` on `auro-datepicker` instead.
14175
14178
  */
14176
14179
  calendarEndMonth: {
14177
14180
  type: String,
@@ -14180,7 +14183,7 @@ class AuroCalendar extends RangeDatepicker {
14180
14183
  },
14181
14184
 
14182
14185
  /**
14183
- * Doesn't currently do anything. The calendar reads its first month from the `calendarStartDate` attribute, which the datepicker sets.
14186
+ * Doesn't currently do anything. The calendar takes its first month from `calendarStartDate` or `minDate` on `auro-datepicker` instead.
14184
14187
  */
14185
14188
  calendarStartMonth: {
14186
14189
  type: String,
@@ -14189,7 +14192,7 @@ class AuroCalendar extends RangeDatepicker {
14189
14192
  },
14190
14193
 
14191
14194
  /**
14192
- * Sets the date whose month the calendar shows, as an ISO date string such as `2025-04-01`. The fullscreen calendar instead starts at `calendarStartDate`, `minDate`, or the current month.
14195
+ * Sets the date whose month the calendar shows, as an ISO date string such as `2025-04-01`. The fullscreen calendar instead starts at `calendarStartDate` on `auro-datepicker`, or else at `minDate` or the current month.
14193
14196
  */
14194
14197
  centralDate: {
14195
14198
  type: String,
@@ -14553,7 +14556,7 @@ class AuroCalendar extends RangeDatepicker {
14553
14556
  }
14554
14557
 
14555
14558
  /**
14556
- * Scrolls the fullscreen calendar to the month of a date. Doesn't currently scroll inside `auro-datepicker`, which doesn't pass the screen width the calendar checks.
14559
+ * Scrolls the calendar to the month of a date when the window is narrower than the calendar's mobile breakpoint. Doesn't currently scroll inside `auro-datepicker`, which doesn't set that breakpoint.
14557
14560
  * @param {String} date - The date to scroll into view, such as `2025-04-21`.
14558
14561
  * @returns {void}
14559
14562
  */
@@ -14564,7 +14567,7 @@ class AuroCalendar extends RangeDatepicker {
14564
14567
  /**
14565
14568
  * Gets all rendered month components.
14566
14569
  * @private
14567
- * @returns {Array} The auro-formkit-calendar-month elements.
14570
+ * @returns {Array} The `auro-formkit-calendar-month` elements.
14568
14571
  */
14569
14572
  getMonthComponents() {
14570
14573
  return Array.from(this.shadowRoot.querySelectorAll('auro-formkit-calendar-month'));
@@ -14614,7 +14617,7 @@ class AuroCalendar extends RangeDatepicker {
14614
14617
  /**
14615
14618
  * Gets all focusable cells across all rendered months.
14616
14619
  * @private
14617
- * @returns {Array} The auro-formkit-calendar-cell elements.
14620
+ * @returns {Array} The `auro-formkit-calendar-cell` elements.
14618
14621
  */
14619
14622
  getAllFocusableCells() {
14620
14623
  const months = this.getMonthComponents();
@@ -15494,7 +15497,7 @@ class AuroCalendar extends RangeDatepicker {
15494
15497
  * @private
15495
15498
  * @param {Object} [options] - The optional settings.
15496
15499
  * @param {boolean} [options.force=false] - If true, clears classes even
15497
- * when both dateFrom and dateTo are set. Month nav handlers use it to
15500
+ * when both `dateFrom` and `dateTo` are set. Month nav handlers use it to
15498
15501
  * strip the imperative-only `lastHoveredDate` before the re-render.
15499
15502
  * The other two classes (`inRange`, `rangeDepartDate`) are classMap-
15500
15503
  * managed and get stripped as a side effect here; because classMap
@@ -20061,7 +20064,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
20061
20064
  }
20062
20065
  };
20063
20066
 
20064
- var formkitVersion$1 = '202611091637';
20067
+ var formkitVersion$1 = '202611092100';
20065
20068
 
20066
20069
  /**
20067
20070
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -21724,7 +21727,7 @@ const watchedItems$1 = new Set();
21724
21727
  /**
21725
21728
  * Sets an element's `lang` to the page's language.
21726
21729
  * @private
21727
- * @param {object} item - An element from `watchedItems`.
21730
+ * @param {object} item - The element to update.
21728
21731
  * @param {string} lang - The page's current language.
21729
21732
  */
21730
21733
  function setLang$1(item, lang) {
@@ -32575,7 +32578,6 @@ class BaseInput extends AuroElement$1 {
32575
32578
  /**
32576
32579
  * Does not currently change any message. To set the error message for an invalid email address,
32577
32580
  * use `setCustomValidityForType`.
32578
- * @relevantWhen !noValidate
32579
32581
  * @category behavior
32580
32582
  */
32581
32583
  customValidityTypeEmail: {
@@ -32844,7 +32846,6 @@ class BaseInput extends AuroElement$1 {
32844
32846
  /**
32845
32847
  * Makes the input invalid when it's left empty, and removes the " (optional)" text after the label.
32846
32848
  * Use `setCustomValidityValueMissing` to set the error message.
32847
- * @relevantWhen !noValidate
32848
32849
  * @category behavior
32849
32850
  */
32850
32851
  required: {
@@ -32855,7 +32856,6 @@ class BaseInput extends AuroElement$1 {
32855
32856
  /**
32856
32857
  * Sets one error message for every kind of validation error. When set, it replaces the messages from
32857
32858
  * `error` and every other `setCustomValidity*` property.
32858
- * @relevantWhen !noValidate
32859
32859
  * @category behavior
32860
32860
  */
32861
32861
  setCustomValidity: {
@@ -32866,7 +32866,6 @@ class BaseInput extends AuroElement$1 {
32866
32866
  /**
32867
32867
  * Sets the error message for `validity="badInput"`. Does not currently change any message,
32868
32868
  * because the input never reports `badInput`.
32869
- * @relevantWhen !noValidate
32870
32869
  * @category behavior
32871
32870
  */
32872
32871
  setCustomValidityBadInput: {
@@ -32876,7 +32875,6 @@ class BaseInput extends AuroElement$1 {
32876
32875
 
32877
32876
  /**
32878
32877
  * Sets the error message shown while the `error` attribute is set, in place of the `error` value.
32879
- * @relevantWhen !noValidate
32880
32878
  * @category behavior
32881
32879
  */
32882
32880
  setCustomValidityCustomError: {
@@ -32887,7 +32885,6 @@ class BaseInput extends AuroElement$1 {
32887
32885
  /**
32888
32886
  * Sets the error message shown when the value doesn't fit its `type`, such as a badly formed email address,
32889
32887
  * an incomplete card number, or an incomplete date. When not set, `email`, `credit-card`, and most `date` inputs use a built-in message.
32890
- * @relevantWhen !noValidate
32891
32888
  * @category behavior
32892
32889
  */
32893
32890
  setCustomValidityForType: {
@@ -32898,7 +32895,6 @@ class BaseInput extends AuroElement$1 {
32898
32895
  /**
32899
32896
  * Sets the error message shown when the value doesn't match `pattern`, or when a date isn't a real calendar date.
32900
32897
  * For `pattern`, it does not currently work when set only as a property, so set the attribute instead.
32901
- * @relevantWhen !noValidate
32902
32898
  * @category behavior
32903
32899
  */
32904
32900
  setCustomValidityPatternMismatch: {
@@ -32908,7 +32904,6 @@ class BaseInput extends AuroElement$1 {
32908
32904
 
32909
32905
  /**
32910
32906
  * Sets the error message shown when the value is above `max`.
32911
- * @relevantWhen !noValidate
32912
32907
  * @category behavior
32913
32908
  */
32914
32909
  setCustomValidityRangeOverflow: {
@@ -32918,7 +32913,6 @@ class BaseInput extends AuroElement$1 {
32918
32913
 
32919
32914
  /**
32920
32915
  * Sets the error message shown when the value is below `min`.
32921
- * @relevantWhen !noValidate
32922
32916
  * @category behavior
32923
32917
  */
32924
32918
  setCustomValidityRangeUnderflow: {
@@ -32929,7 +32923,6 @@ class BaseInput extends AuroElement$1 {
32929
32923
  /**
32930
32924
  * Sets the error message shown when the value is longer than `maxlength`.
32931
32925
  * Does not currently work when set only as a property, so set the attribute instead.
32932
- * @relevantWhen !noValidate
32933
32926
  * @category behavior
32934
32927
  */
32935
32928
  setCustomValidityTooLong: {
@@ -32940,7 +32933,6 @@ class BaseInput extends AuroElement$1 {
32940
32933
  /**
32941
32934
  * Sets the error message shown when the value is shorter than `minlength`.
32942
32935
  * Does not currently work when set only as a property, so set the attribute instead.
32943
- * @relevantWhen !noValidate
32944
32936
  * @category behavior
32945
32937
  */
32946
32938
  setCustomValidityTooShort: {
@@ -32950,7 +32942,6 @@ class BaseInput extends AuroElement$1 {
32950
32942
 
32951
32943
  /**
32952
32944
  * Sets the error message shown when a `required` input is left empty.
32953
- * @relevantWhen !noValidate
32954
32945
  * @category behavior
32955
32946
  */
32956
32947
  setCustomValidityValueMissing: {
@@ -34257,7 +34248,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
34257
34248
  }
34258
34249
  };
34259
34250
 
34260
- var formkitVersion = '202611091637';
34251
+ var formkitVersion = '202611092100';
34261
34252
 
34262
34253
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
34263
34254
  // See LICENSE in the project root for license information.
@@ -35526,7 +35517,7 @@ const watchedItems = new Set();
35526
35517
  /**
35527
35518
  * Sets an element's `lang` to the page's language.
35528
35519
  * @private
35529
- * @param {object} item - An element from `watchedItems`.
35520
+ * @param {object} item - The element to update.
35530
35521
  * @param {string} lang - The page's current language.
35531
35522
  */
35532
35523
  function setLang(item, lang) {
@@ -36561,7 +36552,6 @@ class AuroDatePicker extends AuroElement {
36561
36552
 
36562
36553
  /**
36563
36554
  * Makes a date required. When it's empty, validation fails with `valueMissing`, and in a range, both dates are required. When not set, each input's label shows "(optional)".
36564
- * @relevantWhen !noValidate
36565
36555
  * @category behavior
36566
36556
  */
36567
36557
  required: {
@@ -36571,7 +36561,6 @@ class AuroDatePicker extends AuroElement {
36571
36561
 
36572
36562
  /**
36573
36563
  * Sets one error message for every kind of validation error except a blackout date, in place of the built-in messages and the other `setCustomValidity` messages. For a blackout date, use `setCustomValidityCustomError`.
36574
- * @relevantWhen !noValidate
36575
36564
  * @category behavior
36576
36565
  */
36577
36566
  setCustomValidity: {
@@ -36581,7 +36570,6 @@ class AuroDatePicker extends AuroElement {
36581
36570
 
36582
36571
  /**
36583
36572
  * Sets the error message shown when `validity` is `customError`, in place of the `error` text. It also replaces the "Selected date is unavailable" message shown when someone types a blackout date.
36584
- * @relevantWhen !noValidate
36585
36573
  * @category behavior
36586
36574
  */
36587
36575
  setCustomValidityCustomError: {
@@ -36591,7 +36579,6 @@ class AuroDatePicker extends AuroElement {
36591
36579
 
36592
36580
  /**
36593
36581
  * Sets the error message shown when the date is later than `maxDate` (`rangeOverflow`).
36594
- * @relevantWhen !noValidate
36595
36582
  * @category behavior
36596
36583
  */
36597
36584
  setCustomValidityRangeOverflow: {
@@ -36601,7 +36588,6 @@ class AuroDatePicker extends AuroElement {
36601
36588
 
36602
36589
  /**
36603
36590
  * Sets the error message shown when the date is earlier than `minDate` (`rangeUnderflow`).
36604
- * @relevantWhen !noValidate
36605
36591
  * @category behavior
36606
36592
  */
36607
36593
  setCustomValidityRangeUnderflow: {
@@ -36611,7 +36597,6 @@ class AuroDatePicker extends AuroElement {
36611
36597
 
36612
36598
  /**
36613
36599
  * Sets the error message shown when `required` is set and no date is chosen (`valueMissing`).
36614
- * @relevantWhen !noValidate
36615
36600
  * @category behavior
36616
36601
  */
36617
36602
  setCustomValidityValueMissing: {
@@ -36829,9 +36814,10 @@ class AuroDatePicker extends AuroElement {
36829
36814
  }
36830
36815
 
36831
36816
  /**
36817
+ * Creates a random string of lowercase letters and digits, used as each date input's `id`.
36832
36818
  * @private
36833
- * @param {Number} length - The number of characters in the returned random string.
36834
- * @returns {string}
36819
+ * @param {Number} length - The maximum number of characters in the returned string. The string is often shorter.
36820
+ * @returns {string} The random string.
36835
36821
  */
36836
36822
  generateRandomString(length) {
36837
36823
  return Math.random().toString(36).substring(2, length + 2);
@@ -37488,6 +37474,8 @@ class AuroDatePicker extends AuroElement {
37488
37474
 
37489
37475
  /**
37490
37476
  * Clears the chosen dates. Unlike `reset()`, the datepicker still counts as used, so the next validation can report a missing date.
37477
+ * @internal
37478
+ * @returns {void}
37491
37479
  */
37492
37480
  resetInputs() {
37493
37481
  this.inputList.forEach((input) => {
@@ -37505,7 +37493,7 @@ class AuroDatePicker extends AuroElement {
37505
37493
  }
37506
37494
 
37507
37495
  /**
37508
- * Clears the chosen dates, like `resetInputs()`.
37496
+ * Clears the chosen dates. Unlike `reset()`, the datepicker still counts as used, so the next validation can report a missing date.
37509
37497
  * @returns {void}
37510
37498
  */
37511
37499
  clear() {
@@ -30,6 +30,7 @@
30
30
  <auro-anchorlink fluid href="#valueEnd" class="level2 body-xs">valueEnd</auro-anchorlink>
31
31
  <auro-anchorlink fluid href="#values" class="level2 body-xs">values</auro-anchorlink>
32
32
  <auro-anchorlink fluid href="#publicFunctions">Functions</auro-anchorlink>
33
+ <auro-anchorlink fluid href="#clear" class="level2 body-xs">clear()</auro-anchorlink>
33
34
  <auro-anchorlink fluid href="#focus" class="level2 body-xs">focus()</auro-anchorlink>
34
35
  <auro-anchorlink fluid href="#hideBib" class="level2 body-xs">hideBib()</auro-anchorlink>
35
36
  <auro-anchorlink fluid href="#reset" class="level2 body-xs">reset()</auro-anchorlink>
@@ -147,7 +148,7 @@ Import and register the component at the top level of your application (for exam
147
148
  &#10;AuroDatePicker.register('[custom]-datepicker');</code></pre>
148
149
 
149
150
  <auro-header level="3" id="reactTypeScript">TypeScript declarations</auro-header>
150
- The component ships with TypeScript type definitions for the `AuroDatePicker` class. However, React's JSX doesn't automatically map custom element tag names to their types. To get type checking for <code>&lt;auro-datepicker&gt;</code> in JSX, add the following declaration to a <code>.d.ts</code> file in your project:
151
+ The component ships with TypeScript type definitions for the `AuroDatePicker` class. However, React's JSX doesn't automatically map custom element tag names to their types. To get type checking for the tag name you registered in JSX, add the following declaration to a <code>.d.ts</code> file in your project:
151
152
 
152
153
  <pre class="language-js"><code class="language-js">import type { AuroDatePicker } from '@aurodesignsystem/auro-formkit/auro-datepicker/class';
153
154
  &#10;declare global {
@@ -210,7 +211,7 @@ Import and register the component in the <code>&lt;script&gt;</code> block:
210
211
  &lt;/script&gt;</code></pre>
211
212
 
212
213
  <auro-header level="3" id="svelteUsage">Basic usage</auro-header>
213
- Use `<auro-datepicker>` directly in your Svelte template. Properties can be bound using standard Svelte attribute syntax:
214
+ Use the tag name you registered directly in your Svelte template. Properties can be bound using standard Svelte attribute syntax:
214
215
 
215
216
  <pre class="language-html"><code class="language-html">&lt;script lang="ts"&gt;
216
217
  import { AuroDatePicker } from '@aurodesignsystem/auro-formkit/auro-datepicker/class';
@@ -225,7 +226,7 @@ Use `<auro-datepicker>` directly in your Svelte template. Properties can be boun
225
226
  &lt;/custom-datepicker&gt;</code></pre>
226
227
 
227
228
  <auro-header level="3" id="svelteTypeScript">TypeScript declarations</auro-header>
228
- Svelte doesn't automatically know about custom element attributes. To get autocomplete and type checking for <code>&lt;auro-datepicker&gt;</code> props in templates, add the following to a <code>.d.ts</code> file in your project (for example, <code>src/auro-elements.d.ts</code>):
229
+ Svelte doesn't automatically know about custom element attributes. To get autocomplete and type checking for the props of the tag name you registered, add the following to a <code>.d.ts</code> file in your project (for example, <code>src/auro-elements.d.ts</code>):
229
230
 
230
231
  <pre class="language-js"><code class="language-js">import type { AuroDatePicker } from '@aurodesignsystem/auro-formkit/auro-datepicker/class';
231
232
  &#10;declare namespace svelteHTML {
@@ -344,6 +345,8 @@ Ensure your <code>tsconfig.json</code> uses <code>"moduleResolution": "bundler"<
344
345
  <section>
345
346
  <auro-header level="2" id="publicFunctions">Functions</auro-header>
346
347
  <p>The following public methods are available on the <code>&lt;auro-datepicker&gt;</code> element.</p>
348
+ <auro-header level="3" id="clear">clear()</auro-header>
349
+ <p>Clears the chosen dates. Unlike <code>reset()</code>, the datepicker still counts as used, so the next validation can report a missing date.</p>
347
350
  <auro-header level="3" id="focus">focus()</auro-header>
348
351
  <p>Moves keyboard focus to the start date input. Pass <code>endDate</code> to focus the end date input of a range.</p>
349
352
  <auro-header level="3" id="hideBib">hideBib()</auro-header>