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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +1 -1
  2. package/components/bibtemplate/dist/index.js +1 -1
  3. package/components/bibtemplate/dist/registered.js +1 -1
  4. package/components/checkbox/README.md +1 -1
  5. package/components/checkbox/demo/accessibility.md +2 -2
  6. package/components/checkbox/demo/api.md +17 -17
  7. package/components/checkbox/demo/customize.md +16 -16
  8. package/components/checkbox/demo/customize.min.js +3 -3
  9. package/components/checkbox/demo/design.md +24 -24
  10. package/components/checkbox/demo/getting-started.md +33 -27
  11. package/components/checkbox/demo/getting-started.min.js +3 -3
  12. package/components/checkbox/demo/index.md +17 -17
  13. package/components/checkbox/demo/index.min.js +3 -3
  14. package/components/checkbox/demo/readme.md +1 -1
  15. package/components/checkbox/dist/auro-checkbox-group.d.ts +2 -2
  16. package/components/checkbox/dist/index.js +3 -3
  17. package/components/checkbox/dist/registered.js +3 -3
  18. package/components/combobox/demo/api.md +3 -3
  19. package/components/combobox/demo/css-only.md +3 -3
  20. package/components/combobox/demo/customize.md +12 -12
  21. package/components/combobox/demo/customize.min.js +50 -32
  22. package/components/combobox/demo/getting-started.min.js +50 -32
  23. package/components/combobox/demo/index.md +1 -1
  24. package/components/combobox/demo/index.min.js +50 -32
  25. package/components/combobox/dist/auro-combobox.d.ts +6 -4
  26. package/components/combobox/dist/index.js +39 -22
  27. package/components/combobox/dist/registered.js +39 -22
  28. package/components/counter/demo/accessibility.md +1 -1
  29. package/components/counter/demo/api.md +18 -18
  30. package/components/counter/demo/css-only.md +1 -1
  31. package/components/counter/demo/customize.md +2 -2
  32. package/components/counter/demo/customize.min.js +28 -28
  33. package/components/counter/demo/design.md +1 -1
  34. package/components/counter/demo/getting-started.md +29 -2
  35. package/components/counter/demo/getting-started.min.js +28 -28
  36. package/components/counter/demo/index.min.js +28 -28
  37. package/components/counter/demo/why-counter.md +3 -3
  38. package/components/counter/dist/auro-counter-group.d.ts +13 -14
  39. package/components/counter/dist/auro-counter.d.ts +1 -1
  40. package/components/counter/dist/index.js +28 -28
  41. package/components/counter/dist/registered.js +28 -28
  42. package/components/datepicker/README.md +1 -1
  43. package/components/datepicker/demo/accessibility.md +5 -5
  44. package/components/datepicker/demo/api.md +3 -3
  45. package/components/datepicker/demo/css-only.md +4 -4
  46. package/components/datepicker/demo/customize.md +12 -12
  47. package/components/datepicker/demo/customize.min.js +186 -132
  48. package/components/datepicker/demo/design.md +11 -11
  49. package/components/datepicker/demo/getting-started.md +4 -4
  50. package/components/datepicker/demo/getting-started.min.js +186 -132
  51. package/components/datepicker/demo/index.md +5 -5
  52. package/components/datepicker/demo/index.min.js +186 -132
  53. package/components/datepicker/demo/keyboard-behavior.md +1 -1
  54. package/components/datepicker/demo/readme.md +1 -1
  55. package/components/datepicker/demo/voiceover.md +4 -4
  56. package/components/datepicker/demo/why-datepicker.md +3 -3
  57. package/components/datepicker/dist/auro-calendar-cell.d.ts +32 -33
  58. package/components/datepicker/dist/auro-calendar-month.d.ts +8 -8
  59. package/components/datepicker/dist/auro-calendar.d.ts +44 -43
  60. package/components/datepicker/dist/auro-datepicker.d.ts +12 -10
  61. package/components/datepicker/dist/datepickerKeyboardStrategy.d.ts +3 -0
  62. package/components/datepicker/dist/index.js +186 -132
  63. package/components/datepicker/dist/registered.js +186 -132
  64. package/components/datepicker/dist/utilities.d.ts +4 -1
  65. package/components/datepicker/dist/utilitiesCalendar.d.ts +12 -4
  66. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +12 -6
  67. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +4 -4
  68. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +7 -7
  69. package/components/dropdown/demo/api.md +7 -7
  70. package/components/dropdown/demo/css-only.md +2 -2
  71. package/components/dropdown/demo/customize.md +1 -1
  72. package/components/dropdown/demo/customize.min.js +10 -9
  73. package/components/dropdown/demo/design.md +4 -4
  74. package/components/dropdown/demo/getting-started.min.js +31 -16
  75. package/components/dropdown/demo/index.min.js +10 -9
  76. package/components/dropdown/demo/voiceover.md +1 -1
  77. package/components/dropdown/demo/why-dropdown.md +1 -1
  78. package/components/dropdown/dist/auro-dropdown.d.ts +9 -8
  79. package/components/dropdown/dist/index.js +10 -9
  80. package/components/dropdown/dist/registered.js +10 -9
  81. package/components/form/README.md +1 -1
  82. package/components/form/demo/api.md +7 -7
  83. package/components/form/demo/css-only.md +1 -1
  84. package/components/form/demo/customize.md +2 -0
  85. package/components/form/demo/customize.min.js +316 -230
  86. package/components/form/demo/getting-started.md +2 -0
  87. package/components/form/demo/getting-started.min.js +316 -230
  88. package/components/form/demo/index.md +2 -2
  89. package/components/form/demo/index.min.js +316 -230
  90. package/components/form/demo/keyboard-behavior.md +1 -1
  91. package/components/form/demo/readme.md +1 -1
  92. package/components/form/demo/registerDemoDeps.min.js +314 -228
  93. package/components/form/demo/voiceover.md +3 -3
  94. package/components/form/demo/why-form.md +1 -1
  95. package/components/form/dist/auro-form.d.ts +2 -2
  96. package/components/form/dist/index.js +2 -2
  97. package/components/form/dist/registered.js +2 -2
  98. package/components/input/demo/api.md +58 -58
  99. package/components/input/demo/css-only.md +4 -4
  100. package/components/input/demo/customize.md +11 -11
  101. package/components/input/demo/customize.min.js +21 -7
  102. package/components/input/demo/design.md +2 -2
  103. package/components/input/demo/getting-started.md +5 -5
  104. package/components/input/demo/getting-started.min.js +21 -7
  105. package/components/input/demo/index.md +1 -1
  106. package/components/input/demo/index.min.js +21 -7
  107. package/components/input/demo/why-input.md +3 -3
  108. package/components/input/dist/auro-input.d.ts +1 -1
  109. package/components/input/dist/base-input.d.ts +6 -5
  110. package/components/input/dist/index.js +21 -7
  111. package/components/input/dist/registered.js +21 -7
  112. package/components/input/dist/utilities.d.ts +11 -0
  113. package/components/menu/demo/accessibility.md +1 -1
  114. package/components/menu/demo/api.md +1 -1
  115. package/components/menu/demo/css-only.md +4 -4
  116. package/components/menu/demo/customize.md +1 -1
  117. package/components/menu/demo/design.md +1 -1
  118. package/components/menu/demo/getting-started.md +3 -3
  119. package/components/menu/demo/index.min.js +11 -10
  120. package/components/menu/demo/keyboard-behavior.md +1 -1
  121. package/components/menu/demo/voiceover.md +1 -1
  122. package/components/menu/demo/why-menu.md +3 -3
  123. package/components/menu/dist/auro-menu.d.ts +10 -9
  124. package/components/menu/dist/auro-menuoption.d.ts +1 -1
  125. package/components/menu/dist/index.js +11 -10
  126. package/components/menu/dist/registered.js +11 -10
  127. package/components/radio/demo/accessibility.md +1 -1
  128. package/components/radio/demo/api.md +10 -10
  129. package/components/radio/demo/customize.md +15 -5
  130. package/components/radio/demo/customize.min.js +10 -12
  131. package/components/radio/demo/design.md +1 -1
  132. package/components/radio/demo/getting-started.md +6 -6
  133. package/components/radio/demo/getting-started.min.js +10 -12
  134. package/components/radio/demo/index.md +1 -1
  135. package/components/radio/demo/index.min.js +10 -12
  136. package/components/radio/demo/keyboard-behavior.md +1 -1
  137. package/components/radio/demo/voiceover.md +1 -1
  138. package/components/radio/demo/why-radio.md +1 -1
  139. package/components/radio/dist/auro-radio-group.d.ts +6 -8
  140. package/components/radio/dist/auro-radio.d.ts +3 -3
  141. package/components/radio/dist/index.js +10 -12
  142. package/components/radio/dist/registered.js +10 -12
  143. package/components/select/demo/api.md +1 -1
  144. package/components/select/demo/css-only.md +1 -1
  145. package/components/select/demo/customize.md +1 -1
  146. package/components/select/demo/customize.min.js +27 -24
  147. package/components/select/demo/getting-started.min.js +27 -24
  148. package/components/select/demo/index.md +1 -1
  149. package/components/select/demo/index.min.js +27 -24
  150. package/components/select/demo/voiceover.md +1 -1
  151. package/components/select/dist/auro-select.d.ts +4 -3
  152. package/components/select/dist/index.js +16 -14
  153. package/components/select/dist/registered.js +16 -14
  154. package/custom-elements.json +148 -132
  155. package/package.json +1 -1
@@ -5232,7 +5232,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5232
5232
  }
5233
5233
  };
5234
5234
 
5235
- var formkitVersion$2 = '202611081756';
5235
+ var formkitVersion$2 = '202611091558';
5236
5236
 
5237
5237
  /**
5238
5238
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -5398,8 +5398,8 @@ let AuroElement$2 = class AuroElement extends LitElement {
5398
5398
  * @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
5399
5399
  * @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.
5400
5400
  * @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.
5401
- * @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
5402
- * @event auroDropdown-toggled - Notifies that the bib opened or closed.
5401
+ * @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.
5402
+ * @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`.
5403
5403
  * @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`.
5404
5404
  */
5405
5405
  class AuroDropdown extends AuroElement$2 {
@@ -5728,6 +5728,7 @@ class AuroDropdown extends AuroElement$2 {
5728
5728
  /**
5729
5729
  * Removes the trigger's border, background, and shadow.
5730
5730
  * Applies only when `shape` and `size` are both set.
5731
+ * @relevantWhen shape !== undefined
5731
5732
  * @category ui
5732
5733
  */
5733
5734
  simple: {
@@ -6020,6 +6021,7 @@ class AuroDropdown extends AuroElement$2 {
6020
6021
  /**
6021
6022
  * Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
6022
6023
  * Applies only when the `trigger` slot content isn't focusable.
6024
+ * @default 0
6023
6025
  * @category a11y
6024
6026
  */
6025
6027
  tabIndex: {
@@ -6711,7 +6713,6 @@ class AuroDropdown extends AuroElement$2 {
6711
6713
  *
6712
6714
  * @private
6713
6715
  * @method handleDefaultSlot
6714
- * @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
6715
6716
  */
6716
6717
  handleDefaultSlot() {
6717
6718
 
@@ -6724,7 +6725,7 @@ class AuroDropdown extends AuroElement$2 {
6724
6725
  * Renders the markup that every layout shares: the trigger, the help text, and the bib.
6725
6726
  * @private
6726
6727
  * @param {Object} helpTextClasses - The classes to apply to the help text container.
6727
- * @returns {html} - The template for the shared markup.
6728
+ * @returns {import('lit').TemplateResult} The template for the shared markup.
6728
6729
  */
6729
6730
  renderBasicHtml(helpTextClasses) {
6730
6731
  return html`
@@ -6786,7 +6787,7 @@ class AuroDropdown extends AuroElement$2 {
6786
6787
  /**
6787
6788
  * Renders the classic layout.
6788
6789
  * @private
6789
- * @returns {html} - The template for the classic layout.
6790
+ * @returns {import('lit').TemplateResult} The template for the classic layout.
6790
6791
  */
6791
6792
  renderLayoutClassic() {
6792
6793
  // TODO: check with Doug why this was never used?
@@ -6802,7 +6803,7 @@ class AuroDropdown extends AuroElement$2 {
6802
6803
  /**
6803
6804
  * Renders the snowflake layout, which indents the help text on both sides.
6804
6805
  * @private
6805
- * @returns {html} - The template for the snowflake layout.
6806
+ * @returns {import('lit').TemplateResult} The template for the snowflake layout.
6806
6807
  */
6807
6808
  renderLayoutSnowflake() {
6808
6809
  const helpTextClasses = {
@@ -6819,7 +6820,7 @@ class AuroDropdown extends AuroElement$2 {
6819
6820
  /**
6820
6821
  * Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
6821
6822
  * @private
6822
- * @returns {html} - The template for the emphasized layout.
6823
+ * @returns {import('lit').TemplateResult} The template for the emphasized layout.
6823
6824
  */
6824
6825
  renderLayoutEmphasized() {
6825
6826
  const helpTextClasses = {
@@ -6837,7 +6838,7 @@ class AuroDropdown extends AuroElement$2 {
6837
6838
  * Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
6838
6839
  * @private
6839
6840
  * @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
6840
- * @returns {HTMLCollection} - The template for the layout.
6841
+ * @returns {import('lit').TemplateResult} The template for the layout.
6841
6842
  */
6842
6843
  renderLayout(ForcedLayout) {
6843
6844
  const layout = ForcedLayout || this.layout;
@@ -16986,6 +16987,9 @@ function cleanEscapedString(input) {
16986
16987
  return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
16987
16988
  }
16988
16989
 
16990
+ /**
16991
+ * 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.
16992
+ */
16989
16993
  class AuroInputUtilities {
16990
16994
 
16991
16995
  /**
@@ -17005,7 +17009,17 @@ class AuroInputUtilities {
17005
17009
  } else {
17006
17010
  this.locale = 'en-US';
17007
17011
  }
17012
+
17013
+ /**
17014
+ * Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
17015
+ * @type {string|undefined}
17016
+ */
17008
17017
  this.overrideFormat = config.format;
17018
+
17019
+ /**
17020
+ * The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
17021
+ * @type {Intl.DateTimeFormat}
17022
+ */
17009
17023
  this.formatter = new Intl.DateTimeFormat(this.locale);
17010
17024
 
17011
17025
  // Bindings - many of these are passed into IMask callbacks,
@@ -17436,7 +17450,7 @@ class BaseInput extends AuroElement$1 {
17436
17450
  // The initial-load focus theft was caused by the static `autofocus`
17437
17451
  // attribute on the bib input (now conditional), not by delegatesFocus.
17438
17452
  /**
17439
- * Lit's options for creating the shadow root.
17453
+ * Gets the options Lit uses to create the shadow root.
17440
17454
  * @internal
17441
17455
  */
17442
17456
  static get shadowRootOptions() {
@@ -17596,8 +17610,9 @@ class BaseInput extends AuroElement$1 {
17596
17610
  },
17597
17611
 
17598
17612
  /**
17599
- * Sets the shape of the field's border. The emphasized layouts support `pill`, `pill-left`,
17600
- * and `pill-right`, and the snowflake layout uses `snowflake`.
17613
+ * Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
17614
+ * and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
17615
+ * The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
17601
17616
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
17602
17617
  * @default 'classic'
17603
17618
  * @category ui
@@ -17609,8 +17624,8 @@ class BaseInput extends AuroElement$1 {
17609
17624
  },
17610
17625
 
17611
17626
  /**
17612
- * Sets the field's size. The `classic` shape is the same height at every size, and the
17613
- * emphasized layouts support only `xl`.
17627
+ * Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
17628
+ * and the emphasized layouts support only `xl`.
17614
17629
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
17615
17630
  * @default 'lg'
17616
17631
  * @category ui
@@ -19406,7 +19421,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
19406
19421
  }
19407
19422
  };
19408
19423
 
19409
- var formkitVersion$1 = '202611081756';
19424
+ var formkitVersion$1 = '202611091558';
19410
19425
 
19411
19426
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19412
19427
  // See LICENSE in the project root for license information.
@@ -19865,7 +19880,7 @@ class AuroInput extends BaseInput {
19865
19880
 
19866
19881
  /**
19867
19882
  * Gets the `pattern` for the inner `<input>` element. For credit card numbers,
19868
- * builds a length check from `minLength` and `maxLength` instead.
19883
+ * builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
19869
19884
  * @private
19870
19885
  * @returns {string}
19871
19886
  */
@@ -20596,7 +20611,7 @@ class AuroBibtemplate extends LitElement {
20596
20611
  }
20597
20612
 
20598
20613
  /**
20599
- * 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.
20614
+ * 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.
20600
20615
  * @param {Event} event - The `touchmove` event.
20601
20616
  * @returns {void}
20602
20617
  */
@@ -20692,7 +20707,7 @@ class AuroBibtemplate extends LitElement {
20692
20707
  }
20693
20708
  }
20694
20709
 
20695
- var formkitVersion = '202611081756';
20710
+ var formkitVersion = '202611091558';
20696
20711
 
20697
20712
  var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
20698
20713
 
@@ -21161,7 +21176,7 @@ function getOptionLabel(option) {
21161
21176
  *
21162
21177
  * @slot - The `<auro-menu>` that holds the options. {@requiredWhen always} {@category ui}
21163
21178
  * @slot {HTMLSlotElement} optionalLabel - Text shown after the label when `required` isn't set, such as a translated "(optional)". Defaults to "(optional)". {@relevantWhen !required} {@category ui}
21164
- * @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@category a11y}
21179
+ * @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@requiredWhen always} {@category a11y}
21165
21180
  * @slot ariaLabel.bib.close - Text screen readers announce for the close button in the fullscreen bib, such as "Close destination list". Defaults to "Close". {@requiredWhen always} {@category a11y}
21166
21181
  * @slot bib.fullscreen.headline - Headline shown above the options in the fullscreen bib, such as "Choose a destination". {@requiredWhen always} {@category ui}
21167
21182
  * @slot label - Label that names the combobox. Screen readers announce it as the name of the input and of the fullscreen dialog. {@requiredWhen always} {@category ui}
@@ -21443,7 +21458,8 @@ class AuroCombobox extends AuroElement {
21443
21458
  },
21444
21459
 
21445
21460
  /**
21446
- * Sets the overall style of the combobox. The `emphasized` layout also shows larger menu options.
21461
+ * Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,
21462
+ * and `snowflake` only on dark backgrounds with `appearance="inverse"`. The `emphasized` layout also shows larger menu options.
21447
21463
  * @type {'classic' | 'emphasized' | 'snowflake'}
21448
21464
  * @default 'classic'
21449
21465
  * @category ui
@@ -21455,8 +21471,9 @@ class AuroCombobox extends AuroElement {
21455
21471
  },
21456
21472
 
21457
21473
  /**
21458
- * Sets the shape of the trigger. In the `snowflake` layout, the menu options use the same shape
21459
- * unless the `<auro-menu>` sets its own `shape`.
21474
+ * Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the
21475
+ * `emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the
21476
+ * same shape unless the `<auro-menu>` sets its own `shape`.
21460
21477
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
21461
21478
  * @default 'classic'
21462
21479
  * @category ui
@@ -5232,7 +5232,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5232
5232
  }
5233
5233
  };
5234
5234
 
5235
- var formkitVersion$2 = '202611081756';
5235
+ var formkitVersion$2 = '202611091558';
5236
5236
 
5237
5237
  /**
5238
5238
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
@@ -5398,8 +5398,8 @@ let AuroElement$2 = class AuroElement extends LitElement {
5398
5398
  * @csspart chevron - The container for the icon that shows whether the bib is open. Exists only when `chevron` is set.
5399
5399
  * @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.
5400
5400
  * @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.
5401
- * @event auroDropdown-triggerClick - Notifies that the trigger was clicked, or activated with Enter or Space.
5402
- * @event auroDropdown-toggled - Notifies that the bib opened or closed.
5401
+ * @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.
5402
+ * @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`.
5403
5403
  * @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`.
5404
5404
  */
5405
5405
  class AuroDropdown extends AuroElement$2 {
@@ -5728,6 +5728,7 @@ class AuroDropdown extends AuroElement$2 {
5728
5728
  /**
5729
5729
  * Removes the trigger's border, background, and shadow.
5730
5730
  * Applies only when `shape` and `size` are both set.
5731
+ * @relevantWhen shape !== undefined
5731
5732
  * @category ui
5732
5733
  */
5733
5734
  simple: {
@@ -6020,6 +6021,7 @@ class AuroDropdown extends AuroElement$2 {
6020
6021
  /**
6021
6022
  * Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
6022
6023
  * Applies only when the `trigger` slot content isn't focusable.
6024
+ * @default 0
6023
6025
  * @category a11y
6024
6026
  */
6025
6027
  tabIndex: {
@@ -6711,7 +6713,6 @@ class AuroDropdown extends AuroElement$2 {
6711
6713
  *
6712
6714
  * @private
6713
6715
  * @method handleDefaultSlot
6714
- * @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
6715
6716
  */
6716
6717
  handleDefaultSlot() {
6717
6718
 
@@ -6724,7 +6725,7 @@ class AuroDropdown extends AuroElement$2 {
6724
6725
  * Renders the markup that every layout shares: the trigger, the help text, and the bib.
6725
6726
  * @private
6726
6727
  * @param {Object} helpTextClasses - The classes to apply to the help text container.
6727
- * @returns {html} - The template for the shared markup.
6728
+ * @returns {import('lit').TemplateResult} The template for the shared markup.
6728
6729
  */
6729
6730
  renderBasicHtml(helpTextClasses) {
6730
6731
  return html`
@@ -6786,7 +6787,7 @@ class AuroDropdown extends AuroElement$2 {
6786
6787
  /**
6787
6788
  * Renders the classic layout.
6788
6789
  * @private
6789
- * @returns {html} - The template for the classic layout.
6790
+ * @returns {import('lit').TemplateResult} The template for the classic layout.
6790
6791
  */
6791
6792
  renderLayoutClassic() {
6792
6793
  // TODO: check with Doug why this was never used?
@@ -6802,7 +6803,7 @@ class AuroDropdown extends AuroElement$2 {
6802
6803
  /**
6803
6804
  * Renders the snowflake layout, which indents the help text on both sides.
6804
6805
  * @private
6805
- * @returns {html} - The template for the snowflake layout.
6806
+ * @returns {import('lit').TemplateResult} The template for the snowflake layout.
6806
6807
  */
6807
6808
  renderLayoutSnowflake() {
6808
6809
  const helpTextClasses = {
@@ -6819,7 +6820,7 @@ class AuroDropdown extends AuroElement$2 {
6819
6820
  /**
6820
6821
  * Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
6821
6822
  * @private
6822
- * @returns {html} - The template for the emphasized layout.
6823
+ * @returns {import('lit').TemplateResult} The template for the emphasized layout.
6823
6824
  */
6824
6825
  renderLayoutEmphasized() {
6825
6826
  const helpTextClasses = {
@@ -6837,7 +6838,7 @@ class AuroDropdown extends AuroElement$2 {
6837
6838
  * Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
6838
6839
  * @private
6839
6840
  * @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
6840
- * @returns {HTMLCollection} - The template for the layout.
6841
+ * @returns {import('lit').TemplateResult} The template for the layout.
6841
6842
  */
6842
6843
  renderLayout(ForcedLayout) {
6843
6844
  const layout = ForcedLayout || this.layout;
@@ -16986,6 +16987,9 @@ function cleanEscapedString(input) {
16986
16987
  return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
16987
16988
  }
16988
16989
 
16990
+ /**
16991
+ * 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.
16992
+ */
16989
16993
  class AuroInputUtilities {
16990
16994
 
16991
16995
  /**
@@ -17005,7 +17009,17 @@ class AuroInputUtilities {
17005
17009
  } else {
17006
17010
  this.locale = 'en-US';
17007
17011
  }
17012
+
17013
+ /**
17014
+ * Sets the date format to use instead of the locale's format, such as `mm/dd/yyyy`. `updateFormat()` also sets it.
17015
+ * @type {string|undefined}
17016
+ */
17008
17017
  this.overrideFormat = config.format;
17018
+
17019
+ /**
17020
+ * The `Intl.DateTimeFormat` date formatter for the helpers' locale. The helpers don't currently use it.
17021
+ * @type {Intl.DateTimeFormat}
17022
+ */
17009
17023
  this.formatter = new Intl.DateTimeFormat(this.locale);
17010
17024
 
17011
17025
  // Bindings - many of these are passed into IMask callbacks,
@@ -17436,7 +17450,7 @@ class BaseInput extends AuroElement$1 {
17436
17450
  // The initial-load focus theft was caused by the static `autofocus`
17437
17451
  // attribute on the bib input (now conditional), not by delegatesFocus.
17438
17452
  /**
17439
- * Lit's options for creating the shadow root.
17453
+ * Gets the options Lit uses to create the shadow root.
17440
17454
  * @internal
17441
17455
  */
17442
17456
  static get shadowRootOptions() {
@@ -17596,8 +17610,9 @@ class BaseInput extends AuroElement$1 {
17596
17610
  },
17597
17611
 
17598
17612
  /**
17599
- * Sets the shape of the field's border. The emphasized layouts support `pill`, `pill-left`,
17600
- * and `pill-right`, and the snowflake layout uses `snowflake`.
17613
+ * Sets the shape of the field's border. `classic` and `rounded` have slightly rounded corners, `box` has square corners,
17614
+ * and `pill` has fully rounded ends, or only the left or right end for `pill-left` and `pill-right`.
17615
+ * The emphasized layouts support `pill`, `pill-left`, and `pill-right`, and the snowflake layout uses `snowflake`.
17601
17616
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
17602
17617
  * @default 'classic'
17603
17618
  * @category ui
@@ -17609,8 +17624,8 @@ class BaseInput extends AuroElement$1 {
17609
17624
  },
17610
17625
 
17611
17626
  /**
17612
- * Sets the field's size. The `classic` shape is the same height at every size, and the
17613
- * emphasized layouts support only `xl`.
17627
+ * Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
17628
+ * and the emphasized layouts support only `xl`.
17614
17629
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
17615
17630
  * @default 'lg'
17616
17631
  * @category ui
@@ -19406,7 +19421,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
19406
19421
  }
19407
19422
  };
19408
19423
 
19409
- var formkitVersion$1 = '202611081756';
19424
+ var formkitVersion$1 = '202611091558';
19410
19425
 
19411
19426
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
19412
19427
  // See LICENSE in the project root for license information.
@@ -19865,7 +19880,7 @@ class AuroInput extends BaseInput {
19865
19880
 
19866
19881
  /**
19867
19882
  * Gets the `pattern` for the inner `<input>` element. For credit card numbers,
19868
- * builds a length check from `minLength` and `maxLength` instead.
19883
+ * builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
19869
19884
  * @private
19870
19885
  * @returns {string}
19871
19886
  */
@@ -20596,7 +20611,7 @@ class AuroBibtemplate extends LitElement {
20596
20611
  }
20597
20612
 
20598
20613
  /**
20599
- * 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.
20614
+ * 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.
20600
20615
  * @param {Event} event - The `touchmove` event.
20601
20616
  * @returns {void}
20602
20617
  */
@@ -20692,7 +20707,7 @@ class AuroBibtemplate extends LitElement {
20692
20707
  }
20693
20708
  }
20694
20709
 
20695
- var formkitVersion = '202611081756';
20710
+ var formkitVersion = '202611091558';
20696
20711
 
20697
20712
  var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
20698
20713
 
@@ -21161,7 +21176,7 @@ function getOptionLabel(option) {
21161
21176
  *
21162
21177
  * @slot - The `<auro-menu>` that holds the options. {@requiredWhen always} {@category ui}
21163
21178
  * @slot {HTMLSlotElement} optionalLabel - Text shown after the label when `required` isn't set, such as a translated "(optional)". Defaults to "(optional)". {@relevantWhen !required} {@category ui}
21164
- * @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@category a11y}
21179
+ * @slot ariaLabel.input.clear - Text screen readers announce for the clear button, such as "Clear destination". The combobox has no default text, so without it the clear button has no accessible name. In the fullscreen bib, the clear button currently uses "Clear Input" instead. {@requiredWhen always} {@category a11y}
21165
21180
  * @slot ariaLabel.bib.close - Text screen readers announce for the close button in the fullscreen bib, such as "Close destination list". Defaults to "Close". {@requiredWhen always} {@category a11y}
21166
21181
  * @slot bib.fullscreen.headline - Headline shown above the options in the fullscreen bib, such as "Choose a destination". {@requiredWhen always} {@category ui}
21167
21182
  * @slot label - Label that names the combobox. Screen readers announce it as the name of the input and of the fullscreen dialog. {@requiredWhen always} {@category ui}
@@ -21443,7 +21458,8 @@ class AuroCombobox extends AuroElement {
21443
21458
  },
21444
21459
 
21445
21460
  /**
21446
- * Sets the overall style of the combobox. The `emphasized` layout also shows larger menu options.
21461
+ * Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,
21462
+ * and `snowflake` only on dark backgrounds with `appearance="inverse"`. The `emphasized` layout also shows larger menu options.
21447
21463
  * @type {'classic' | 'emphasized' | 'snowflake'}
21448
21464
  * @default 'classic'
21449
21465
  * @category ui
@@ -21455,8 +21471,9 @@ class AuroCombobox extends AuroElement {
21455
21471
  },
21456
21472
 
21457
21473
  /**
21458
- * Sets the shape of the trigger. In the `snowflake` layout, the menu options use the same shape
21459
- * unless the `<auro-menu>` sets its own `shape`.
21474
+ * Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the
21475
+ * `emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the
21476
+ * same shape unless the `<auro-menu>` sets its own `shape`.
21460
21477
  * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
21461
21478
  * @default 'classic'
21462
21479
  * @category ui
@@ -23,7 +23,7 @@
23
23
  </section>
24
24
  <section>
25
25
  <auro-header level="2" id="disabledState">Disabled state</auro-header>
26
- <p>When a counter is disabled, the <code>aria-disabled</code> attribute is set, the counter leaves the keyboard tab order, and the increment and decrement buttons can't be used. Screen readers announce the disabled state to the user.</p>
26
+ <p>A disabled counter sets <code>aria-disabled="true"</code> on its spinbutton, leaves the keyboard tab order, and turns off its minus and plus buttons. Screen readers announce that the counter is disabled.</p>
27
27
  </section>
28
28
  <section>
29
29
  <auro-header level="2" id="dropdownA11y">Dropdown accessibility</auro-header>
@@ -22,17 +22,17 @@ A counter that lets people choose a number, such as how many passengers are trav
22
22
 
23
23
  ### Properties and attributes
24
24
 
25
- | Properties | Attributes | Modifiers | Type | Default | Category | Range | Description |
26
- | ---------- | ---------- | --------- | ---------------------- | --------- | -------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27
- | appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the colors to match the background behind the counter. Use `inverse` on dark backgrounds and `default` on light ones. |
28
- | disabled | disabled | | boolean | | ui | | Turns the counter off. A disabled counter is shown in a muted style, its buttons can't be clicked, and it's removed from the keyboard tab order. |
29
- | onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Shows the counter in colors for dark backgrounds. |
30
- | error | error | | string | | behavior | | Sets a custom error message, such as "Select at least one adult", and marks the counter invalid. The message replaces the help text. Set it with the `error` attribute: setting only the `error` property doesn't currently mark the counter invalid. |
31
- | max | max | | number | `9` | behavior | 0–9 | Sets the highest value the counter allows. The plus button turns off at this value. |
32
- | min | min | | number | `0` | behavior | 0–9 | Sets the lowest value the counter allows. The counter starts at this value, and the minus button turns off at it. |
33
- | name | name | | string | | behavior | | Sets the key for this counter's entry in the group's `value` object, such as `adults`. Applies only inside `auro-counter-group`, which uses `counter-0`, `counter-1`, and so on for counters without a name. |
34
- | validity | validity | readonly | string | | behavior | | Reports whether the counter passes validation: `valid`, or the reason it fails, such as `customError`, `rangeOverflow`, or `rangeUnderflow`. |
35
- | value | value | | number \| undefined | | behavior | | Sets the counter's value. A value outside `min` and `max` (0–9 by default) isn't moved back into range; it marks the counter invalid instead. A value that's `undefined`, `null`, or not a number clears the value to `undefined`. |
25
+ | Properties | Attributes | Modifiers | Type | Default | Category | Range | Description |
26
+ | ---------- | ---------- | --------- | ---------------------- | --------- | -------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27
+ | appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the colors to match the background behind the counter. Use `inverse` on dark backgrounds and `default` on light ones. |
28
+ | disabled | disabled | | boolean | | ui | | Turns the counter off. A disabled counter is shown in a muted style, its buttons can't be clicked, and it's removed from the keyboard tab order. |
29
+ | onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Shows the counter in colors for dark backgrounds. |
30
+ | error | error | | string | | behavior | | Sets a custom error message, such as "Select at least one adult", and marks the counter invalid. The message replaces the help text. Set the `error` attribute before the counter first renders, or call `validate()` after changing it: setting only the property, or changing the attribute later, doesn't currently update `validity`. |
31
+ | max | max | | number | `9` | behavior | 0–9 | Sets the highest value the counter allows. The plus button turns off at this value. |
32
+ | min | min | | number | `0` | behavior | 0–9 | Sets the lowest value the counter allows. The counter starts at this value, and the minus button turns off at it. |
33
+ | name | name | | string | | behavior | | Sets the key for this counter's entry in the group's `value` object, such as `adults`. Applies only inside `auro-counter-group`, which uses `counter-0`, `counter-1`, and so on for counters without a name. |
34
+ | validity | validity | readonly | string | | behavior | | Reports whether the counter passes validation: `valid`, or the reason it fails, such as `customError`, `rangeOverflow`, or `rangeUnderflow`. |
35
+ | value | value | | number \| undefined | | behavior | | Sets the counter's value. A value outside `min` and `max` (0–9 by default) isn't moved back into range; it marks the counter invalid instead. A value that's `undefined`, `null`, or not a number clears the value to `undefined`. |
36
36
 
37
37
  ### Methods
38
38
 
@@ -46,9 +46,9 @@ A counter that lets people choose a number, such as how many passengers are trav
46
46
 
47
47
  ### Events
48
48
 
49
- | Name | Description |
50
- | ----- | ---------------------------------------------- |
51
- | input | Notifies that the counter's value has changed. |
49
+ | Name | Description |
50
+ | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
51
+ | input | Fires whenever `value` changes, including when the counter sets its starting value, with the new number in `event.detail.value`. It doesn't currently bubble, so listen on the counter itself. |
52
52
 
53
53
  ### Slots
54
54
 
@@ -134,10 +134,10 @@ Groups related counters, such as passenger types, so they share one total and on
134
134
 
135
135
  ### Events
136
136
 
137
- | Name | Description |
138
- | ------------------------- | -------------------------------------------------------------------------------------------------------------- |
139
- | auroFormElement-validated | Fires each time the group is validated, with the result in `event.detail.validity` and `event.detail.message`. |
140
- | input | Fires when any counter's value changes, with the new `total` and `value` in `event.detail`. |
137
+ | Name | Description |
138
+ | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
139
+ | auroFormElement-validated | Fires each time the group is validated, with the result in `event.detail.validity` and `event.detail.message`. |
140
+ | input | Fires when any counter's value changes, with the new `total` and `value` in `event.detail`. It doesn't currently bubble, so listen on the group itself. |
141
141
 
142
142
  ### Slots
143
143
 
@@ -143,7 +143,7 @@
143
143
  <tr>
144
144
  <td>Spinbutton ARIA semantics</td>
145
145
  <td>Not supported</td>
146
- <td><code>role="spinbutton"</code> with full ARIA</td>
146
+ <td><code>role="spinbutton"</code> with value, range, and label attributes</td>
147
147
  </tr>
148
148
  <tr>
149
149
  <td>Validation messages</td>
@@ -113,7 +113,7 @@
113
113
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/custom-tokens.html) -->
114
114
  <!-- The below content is automatically added from ./../apiExamples/custom-tokens.html -->
115
115
  <style>
116
- #customTokensCounter {
116
+ #customTokensCounter auro-counter {
117
117
  --ds-auro-counter-control-background-color: #e8d5f5;
118
118
  --ds-auro-counter-control-border-color: #7b2d8e;
119
119
  --ds-auro-counter-icon-color: #7b2d8e;
@@ -142,7 +142,7 @@
142
142
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/custom-tokens.html) -->
143
143
  <!-- The below code snippet is automatically added from ./../apiExamples/custom-tokens.html -->
144
144
  <pre class="language-html"><code class="language-html">&lt;style&gt;
145
- #customTokensCounter {
145
+ #customTokensCounter auro-counter {
146
146
  --ds-auro-counter-control-background-color: #e8d5f5;
147
147
  --ds-auro-counter-control-border-color: #7b2d8e;
148
148
  --ds-auro-counter-icon-color: #7b2d8e;