@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.16 → 0.0.0-pr1628.17

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 (79) hide show
  1. package/components/checkbox/demo/customize.min.js +1 -1
  2. package/components/checkbox/demo/getting-started.min.js +1 -1
  3. package/components/checkbox/demo/index.min.js +1 -1
  4. package/components/checkbox/dist/index.js +1 -1
  5. package/components/checkbox/dist/registered.js +1 -1
  6. package/components/combobox/demo/customize.min.js +29 -35
  7. package/components/combobox/demo/getting-started.min.js +29 -35
  8. package/components/combobox/demo/index.min.js +29 -35
  9. package/components/combobox/dist/auro-combobox.d.ts +2 -0
  10. package/components/combobox/dist/index.js +27 -33
  11. package/components/combobox/dist/registered.js +27 -33
  12. package/components/counter/demo/accessibility.md +1 -1
  13. package/components/counter/demo/css-only.md +5 -5
  14. package/components/counter/demo/customize.min.js +15 -13
  15. package/components/counter/demo/getting-started.min.js +15 -13
  16. package/components/counter/demo/index.min.js +15 -13
  17. package/components/counter/demo/voiceover.md +1 -1
  18. package/components/counter/demo/why-counter.md +3 -3
  19. package/components/counter/dist/auro-counter-group.d.ts +1 -0
  20. package/components/counter/dist/index.js +15 -13
  21. package/components/counter/dist/registered.js +15 -13
  22. package/components/datepicker/demo/customize.min.js +22 -19
  23. package/components/datepicker/demo/getting-started.min.js +22 -19
  24. package/components/datepicker/demo/index.min.js +22 -19
  25. package/components/datepicker/dist/index.js +22 -19
  26. package/components/datepicker/dist/registered.js +22 -19
  27. package/components/dropdown/demo/api.md +1 -1
  28. package/components/dropdown/demo/customize.min.js +8 -7
  29. package/components/dropdown/demo/getting-started.min.js +15 -13
  30. package/components/dropdown/demo/index.min.js +8 -7
  31. package/components/dropdown/dist/auro-dropdown.d.ts +1 -1
  32. package/components/dropdown/dist/index.js +8 -7
  33. package/components/dropdown/dist/registered.js +8 -7
  34. package/components/form/demo/api.md +1 -1
  35. package/components/form/demo/customize.min.js +106 -112
  36. package/components/form/demo/getting-started.min.js +106 -112
  37. package/components/form/demo/index.min.js +106 -112
  38. package/components/form/demo/registerDemoDeps.min.js +105 -111
  39. package/components/form/demo/why-form.md +1 -1
  40. package/components/form/dist/auro-form.d.ts +1 -1
  41. package/components/form/dist/index.js +1 -1
  42. package/components/form/dist/registered.js +1 -1
  43. package/components/input/demo/api.md +6 -6
  44. package/components/input/demo/customize.min.js +7 -6
  45. package/components/input/demo/getting-started.min.js +7 -6
  46. package/components/input/demo/index.min.js +7 -6
  47. package/components/input/dist/auro-input.d.ts +1 -1
  48. package/components/input/dist/base-input.d.ts +2 -1
  49. package/components/input/dist/index.js +7 -6
  50. package/components/input/dist/registered.js +7 -6
  51. package/components/layoutElement/dist/auroElement.d.ts +4 -3
  52. package/components/layoutElement/dist/index.js +4 -3
  53. package/components/layoutElement/dist/registered.js +4 -3
  54. package/components/menu/demo/api.md +1 -1
  55. package/components/menu/demo/index.min.js +6 -5
  56. package/components/menu/dist/auro-menu.d.ts +8 -3
  57. package/components/menu/dist/auro-menuoption.d.ts +2 -2
  58. package/components/menu/dist/index.js +6 -5
  59. package/components/menu/dist/registered.js +6 -5
  60. package/components/radio/demo/api.md +16 -16
  61. package/components/radio/demo/customize.md +1 -1
  62. package/components/radio/demo/customize.min.js +4 -4
  63. package/components/radio/demo/getting-started.min.js +4 -4
  64. package/components/radio/demo/index.min.js +4 -4
  65. package/components/radio/dist/auro-radio-group.d.ts +2 -2
  66. package/components/radio/dist/auro-radio.d.ts +1 -1
  67. package/components/radio/dist/index.js +4 -4
  68. package/components/radio/dist/registered.js +4 -4
  69. package/components/select/demo/api.md +47 -47
  70. package/components/select/demo/css-only.md +1 -1
  71. package/components/select/demo/customize.min.js +25 -32
  72. package/components/select/demo/getting-started.min.js +25 -32
  73. package/components/select/demo/index.md +1 -1
  74. package/components/select/demo/index.min.js +25 -32
  75. package/components/select/dist/auro-select.d.ts +4 -3
  76. package/components/select/dist/index.js +23 -30
  77. package/components/select/dist/registered.js +23 -30
  78. package/custom-elements.json +20 -20
  79. package/package.json +1 -1
@@ -230,7 +230,7 @@ class AuroRadio extends i$2 {
230
230
 
231
231
  /**
232
232
  * Sets the radio button colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.
233
- * Inside an `auro-radio-group`, the group's `appearance` replaces this value.
233
+ * Inside an `auro-radio-group`, the group's `appearance` replaces this value each time the group's `appearance` changes.
234
234
  * @type {'default' | 'inverse'}
235
235
  * @default 'default'
236
236
  * @category ui
@@ -1338,7 +1338,7 @@ class AuroHelpText extends i$2 {
1338
1338
  }
1339
1339
  }
1340
1340
 
1341
- var formkitVersion = '202611121719';
1341
+ var formkitVersion = '202611121951';
1342
1342
 
1343
1343
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1344
1344
  // See LICENSE in the project root for license information.
@@ -1452,7 +1452,7 @@ class AuroRadioGroup extends i$2 {
1452
1452
 
1453
1453
  /**
1454
1454
  * Sets the group colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.
1455
- * The group passes this value to every radio button in it.
1455
+ * The group passes this value to the radio buttons it contains. Radio buttons you add later don't pick it up until this value changes.
1456
1456
  * @type {'default' | 'inverse'}
1457
1457
  * @default 'default'
1458
1458
  * @category ui
@@ -1501,7 +1501,7 @@ class AuroRadioGroup extends i$2 {
1501
1501
 
1502
1502
  /**
1503
1503
  * Stops the group from validating automatically when focus leaves it or the selection changes.
1504
- * To validate the group yourself, call `validate()`. The `error` attribute still applies.
1504
+ * To validate the group yourself, call `validate(true)`, which checks right away, even before anyone has interacted with the group. The `error` attribute still applies.
1505
1505
  * @category behavior
1506
1506
  */
1507
1507
  noValidate: {
@@ -230,7 +230,7 @@ class AuroRadio extends i$2 {
230
230
 
231
231
  /**
232
232
  * Sets the radio button colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.
233
- * Inside an `auro-radio-group`, the group's `appearance` replaces this value.
233
+ * Inside an `auro-radio-group`, the group's `appearance` replaces this value each time the group's `appearance` changes.
234
234
  * @type {'default' | 'inverse'}
235
235
  * @default 'default'
236
236
  * @category ui
@@ -1338,7 +1338,7 @@ class AuroHelpText extends i$2 {
1338
1338
  }
1339
1339
  }
1340
1340
 
1341
- var formkitVersion = '202611121719';
1341
+ var formkitVersion = '202611121951';
1342
1342
 
1343
1343
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1344
1344
  // See LICENSE in the project root for license information.
@@ -1452,7 +1452,7 @@ class AuroRadioGroup extends i$2 {
1452
1452
 
1453
1453
  /**
1454
1454
  * Sets the group colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.
1455
- * The group passes this value to every radio button in it.
1455
+ * The group passes this value to the radio buttons it contains. Radio buttons you add later don't pick it up until this value changes.
1456
1456
  * @type {'default' | 'inverse'}
1457
1457
  * @default 'default'
1458
1458
  * @category ui
@@ -1501,7 +1501,7 @@ class AuroRadioGroup extends i$2 {
1501
1501
 
1502
1502
  /**
1503
1503
  * Stops the group from validating automatically when focus leaves it or the selection changes.
1504
- * To validate the group yourself, call `validate()`. The `error` attribute still applies.
1504
+ * To validate the group yourself, call `validate(true)`, which checks right away, even before anyone has interacted with the group. The `error` attribute still applies.
1505
1505
  * @category behavior
1506
1506
  */
1507
1507
  noValidate: {
@@ -230,7 +230,7 @@ class AuroRadio extends i$2 {
230
230
 
231
231
  /**
232
232
  * Sets the radio button colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.
233
- * Inside an `auro-radio-group`, the group's `appearance` replaces this value.
233
+ * Inside an `auro-radio-group`, the group's `appearance` replaces this value each time the group's `appearance` changes.
234
234
  * @type {'default' | 'inverse'}
235
235
  * @default 'default'
236
236
  * @category ui
@@ -1338,7 +1338,7 @@ class AuroHelpText extends i$2 {
1338
1338
  }
1339
1339
  }
1340
1340
 
1341
- var formkitVersion = '202611121719';
1341
+ var formkitVersion = '202611121951';
1342
1342
 
1343
1343
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1344
1344
  // See LICENSE in the project root for license information.
@@ -1452,7 +1452,7 @@ class AuroRadioGroup extends i$2 {
1452
1452
 
1453
1453
  /**
1454
1454
  * Sets the group colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.
1455
- * The group passes this value to every radio button in it.
1455
+ * The group passes this value to the radio buttons it contains. Radio buttons you add later don't pick it up until this value changes.
1456
1456
  * @type {'default' | 'inverse'}
1457
1457
  * @default 'default'
1458
1458
  * @category ui
@@ -1501,7 +1501,7 @@ class AuroRadioGroup extends i$2 {
1501
1501
 
1502
1502
  /**
1503
1503
  * Stops the group from validating automatically when focus leaves it or the selection changes.
1504
- * To validate the group yourself, call `validate()`. The `error` attribute still applies.
1504
+ * To validate the group yourself, call `validate(true)`, which checks right away, even before anyone has interacted with the group. The `error` attribute still applies.
1505
1505
  * @category behavior
1506
1506
  */
1507
1507
  noValidate: {
@@ -34,7 +34,7 @@ export class AuroRadioGroup extends LitElement {
34
34
  static get properties(): {
35
35
  /**
36
36
  * Sets the group colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.
37
- * The group passes this value to every radio button in it.
37
+ * The group passes this value to the radio buttons it contains. Radio buttons you add later don't pick it up until this value changes.
38
38
  * @type {'default' | 'inverse'}
39
39
  * @default 'default'
40
40
  * @category ui
@@ -77,7 +77,7 @@ export class AuroRadioGroup extends LitElement {
77
77
  };
78
78
  /**
79
79
  * Stops the group from validating automatically when focus leaves it or the selection changes.
80
- * To validate the group yourself, call `validate()`. The `error` attribute still applies.
80
+ * To validate the group yourself, call `validate(true)`, which checks right away, even before anyone has interacted with the group. The `error` attribute still applies.
81
81
  * @category behavior
82
82
  */
83
83
  noValidate: {
@@ -39,7 +39,7 @@ export class AuroRadio extends LitElement {
39
39
  static get properties(): {
40
40
  /**
41
41
  * Sets the radio button colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.
42
- * Inside an `auro-radio-group`, the group's `appearance` replaces this value.
42
+ * Inside an `auro-radio-group`, the group's `appearance` replaces this value each time the group's `appearance` changes.
43
43
  * @type {'default' | 'inverse'}
44
44
  * @default 'default'
45
45
  * @category ui
@@ -176,7 +176,7 @@ class AuroRadio extends LitElement {
176
176
 
177
177
  /**
178
178
  * Sets the radio button colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.
179
- * Inside an `auro-radio-group`, the group's `appearance` replaces this value.
179
+ * Inside an `auro-radio-group`, the group's `appearance` replaces this value each time the group's `appearance` changes.
180
180
  * @type {'default' | 'inverse'}
181
181
  * @default 'default'
182
182
  * @category ui
@@ -1277,7 +1277,7 @@ class AuroHelpText extends LitElement {
1277
1277
  }
1278
1278
  }
1279
1279
 
1280
- var formkitVersion = '202611121719';
1280
+ var formkitVersion = '202611121951';
1281
1281
 
1282
1282
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1283
1283
  // See LICENSE in the project root for license information.
@@ -1391,7 +1391,7 @@ class AuroRadioGroup extends LitElement {
1391
1391
 
1392
1392
  /**
1393
1393
  * Sets the group colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.
1394
- * The group passes this value to every radio button in it.
1394
+ * The group passes this value to the radio buttons it contains. Radio buttons you add later don't pick it up until this value changes.
1395
1395
  * @type {'default' | 'inverse'}
1396
1396
  * @default 'default'
1397
1397
  * @category ui
@@ -1440,7 +1440,7 @@ class AuroRadioGroup extends LitElement {
1440
1440
 
1441
1441
  /**
1442
1442
  * Stops the group from validating automatically when focus leaves it or the selection changes.
1443
- * To validate the group yourself, call `validate()`. The `error` attribute still applies.
1443
+ * To validate the group yourself, call `validate(true)`, which checks right away, even before anyone has interacted with the group. The `error` attribute still applies.
1444
1444
  * @category behavior
1445
1445
  */
1446
1446
  noValidate: {
@@ -176,7 +176,7 @@ class AuroRadio extends LitElement {
176
176
 
177
177
  /**
178
178
  * Sets the radio button colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.
179
- * Inside an `auro-radio-group`, the group's `appearance` replaces this value.
179
+ * Inside an `auro-radio-group`, the group's `appearance` replaces this value each time the group's `appearance` changes.
180
180
  * @type {'default' | 'inverse'}
181
181
  * @default 'default'
182
182
  * @category ui
@@ -1277,7 +1277,7 @@ class AuroHelpText extends LitElement {
1277
1277
  }
1278
1278
  }
1279
1279
 
1280
- var formkitVersion = '202611121719';
1280
+ var formkitVersion = '202611121951';
1281
1281
 
1282
1282
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1283
1283
  // See LICENSE in the project root for license information.
@@ -1391,7 +1391,7 @@ class AuroRadioGroup extends LitElement {
1391
1391
 
1392
1392
  /**
1393
1393
  * Sets the group colors to match its background. Use `inverse` on dark backgrounds and `default` on light ones.
1394
- * The group passes this value to every radio button in it.
1394
+ * The group passes this value to the radio buttons it contains. Radio buttons you add later don't pick it up until this value changes.
1395
1395
  * @type {'default' | 'inverse'}
1396
1396
  * @default 'default'
1397
1397
  * @category ui
@@ -1440,7 +1440,7 @@ class AuroRadioGroup extends LitElement {
1440
1440
 
1441
1441
  /**
1442
1442
  * Stops the group from validating automatically when focus leaves it or the selection changes.
1443
- * To validate the group yourself, call `validate()`. The `error` attribute still applies.
1443
+ * To validate the group yourself, call `validate(true)`, which checks right away, even before anyone has interacted with the group. The `error` attribute still applies.
1444
1444
  * @category behavior
1445
1445
  */
1446
1446
  noValidate: {
@@ -9,7 +9,7 @@ A form control that lets people choose one option, or several, from a list, such
9
9
  - **Multiple selection**: Set `multiSelect` to let people choose more than one option.
10
10
  - **Validation**: Set `required` to require a selection, and `setCustomValidity` to change the error message.
11
11
  - **Fullscreen on small screens**: Set `fullscreenBreakpoint` to choose the largest screen size at which the list opens as a fullscreen dialog.
12
- - **Type-ahead**: Typing always moves to the first option whose text starts with the typed characters.
12
+ - **Type-ahead**: Typing moves to the first available option whose text starts with the typed characters and opens the list; repeating a letter cycles through the options that start with it.
13
13
  - **Layouts**: Set `layout` to `classic`, `emphasized`, or `snowflake` to change the overall look.
14
14
 
15
15
  **Example**
@@ -24,55 +24,55 @@ A form control that lets people choose one option, or several, from a list, such
24
24
 
25
25
  ### Properties and attributes
26
26
 
27
- | Properties | Attributes | Modifiers | Type | Default | Category | Relevant when | Description |
28
- | ----------------------------- | ----------------------------- | --------- | ----------------------------------------------------------------- | -------------- | -------- | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
29
- | appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the colors to match the background behind the select. Use `inverse` on dark backgrounds and `default` on light ones. |
30
- | disabled | disabled | | boolean | | ui | | Turns the select off. A disabled select is shown in a muted style and can't be opened, but keyboard users can still tab to it.<br>`auro-form` leaves a disabled select's value out of its form data. |
31
- | flexMenuWidth | flexmenuwidth | | boolean | | ui | `layout === 'classic'` | Sizes the bib to fit its options instead of matching the trigger's width. Use it when option text is wider than the trigger.<br>Applies only when `layout="classic"`. |
32
- | fluid | fluid | | boolean | | ui | | Stretches the select to fill the full width of its container. |
33
- | forceDisplayValue | forcedisplayvalue | | boolean | `false` | ui | | Shows the selected option's `displayValue` content in the trigger even while the bib is open, and visually hides the label and value text.<br>Applies only when the selected option has `displayValue` content. |
34
- | fullscreenBreakpoint | fullscreenbreakpoint | | `xs` \| `sm` \| `md` \| `lg` \| `xl` \| `disabled` | `sm` | ui | | Sets the largest screen size at which the bib opens as a fullscreen dialog instead of a popover, such as `sm`.<br>Use `disabled` to never open it fullscreen. |
35
- | largeFullscreenHeadline | largefullscreenheadline | | boolean | | ui | | Makes the headline in the fullscreen bib larger, using the display heading style. |
36
- | layout | layout | | `classic` \| `emphasized` \| `snowflake` | `classic` | ui | | Sets the select's overall look. Use `emphasized` for a large, prominent select on light backgrounds, and `snowflake` only on dark backgrounds with `appearance="inverse"`. |
37
- | matchWidth | matchwidth | | boolean | `false` | ui | `layout !== 'classic'` | Makes the bib the same width as the trigger.<br>Applies only when `layout` isn't `classic`; the classic layout always matches the trigger's width unless `flexMenuWidth` is set. |
38
- | noCheckmark | nocheckmark | | boolean | | ui | | Hides the checkmark next to the selected option.<br>Removing the attribute doesn't currently bring the checkmark back. |
39
- | noFlip | noflip | | boolean | `false` | ui | | Keeps the bib on the `placement` side even when there isn't enough room there.<br>By default, the bib flips to the opposite side. |
40
- | offset | offset | | number | `0` | ui | | Sets the gap between the trigger and the bib, in pixels, such as `8`. |
41
- | placeholder | placeholder | | string | | ui | | Sets the text shown in the trigger before an option is selected, such as `Choose a destination`. |
42
- | placement | placement | | string | `bottom-start` | ui | | Sets where the bib opens relative to the trigger, such as `bottom-start` (below, lined up with the trigger's start edge) or `top`.<br>The bib flips to the opposite side when there isn't enough room, unless `noFlip` is set. |
43
- | shape | shape | | `classic` \| `pill` \| `pill-left` \| `pill-right` \| `snowflake` | `classic` | ui | | Sets the shape of the trigger. Use `classic` with the classic layout, `pill`, `pill-left`, or `pill-right` with the emphasized layout, and `snowflake` with the snowflake layout. |
44
- | shift | shift | | boolean | `false` | ui | `layout === 'emphasized'` | Slides the bib along the trigger's edge to keep it on screen when it would otherwise be cut off.<br>Applies only when `layout="emphasized"`. |
45
- | size | size | | `lg` \| `xl` | `lg` | ui | | Sets the height of the trigger. Use `xl` only with the emphasized layout, and `lg` with the other layouts. |
46
- | autoPlacement | autoplacement | | boolean | `false` | ui | | Deprecated: Use `placement` instead.<br>Moves the bib to whichever side of the trigger has the most space.<br>The bib already flips to the opposite side when it doesn't fit, unless `noFlip` is set. |
47
- | onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Sets the colors for a dark background. |
48
- | autocomplete | autocomplete | | string | | behavior | `layout !== 'emphasized'` | Sets the autofill hint for the hidden native select, such as `country-name` (the native `autocomplete` attribute).<br>Doesn't currently apply when `layout="emphasized"`, which has no hidden native select. |
49
- | error | error | | string | | behavior | | Forces the select into the `customError` state and shows this text as the error message, such as `Choose another option`.<br>When `setCustomValidityCustomError` or `setCustomValidity` is set, that message replaces this text.<br>Remove the attribute to clear the error and validate normally. |
50
- | multiSelect | multiselect | | boolean | | behavior | | Lets people select more than one option, and keeps the bib open between selections. `value` becomes a JSON array string, such as `["stops","price"]`.<br>Consider checkboxes instead, which make choosing several options easier for everyone, including screen reader users. |
51
- | name | name | | string | | behavior | | Sets the key for the select's value in form data, such as `sortOrder` (the native `name` attribute). |
52
- | noValidate | novalidate | | boolean | | behavior | | Turns off automatic validation when the select loses focus or its value changes.<br>Use it when your code validates the select, such as on form submit, by calling `validate()`. |
53
- | optionSelected | | | HTMLElement \| Array<HTMLElement> | | behavior | | Gets the selected `<auro-menuoption>` element, or `undefined` when nothing is selected.<br>In `multiSelect` mode, it's an array of the selected options. |
54
- | required | required | | boolean | | behavior | | Requires a selection. A required select shows the `valueMissing` error when it's left empty, and doesn't show the "(optional)" text after the label. |
55
- | setCustomValidity | setcustomvalidity | | string | | behavior | | Sets one error message to show for every validation error, such as `Choose a sort order`.<br>When set, it replaces the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages and the `error` text. |
56
- | setCustomValidityCustomError | setcustomvaliditycustomerror | | string | | behavior | `error` | Sets the error message shown while the `error` attribute is set, in place of the `error` text.<br>Ignored when `setCustomValidity` is set. |
57
- | setCustomValidityValueMissing | setcustomvalidityvaluemissing | | string | | behavior | `required` | Sets the error message shown when a `required` select is left empty, such as `Choose a sort order`.<br>Ignored when `setCustomValidity` is set. |
58
- | typeaheadTimeoutMs | typeaheadtimeoutms | | number | `500` | behavior | | Sets how long, in milliseconds, typed characters keep adding to the type-ahead search before it starts over.<br>Increase it, for example to `1000`, for people who type slowly. |
59
- | validity | validity | | string | | behavior | | Reports the select's current validity state, such as `valid`, `valueMissing`, or `customError`.<br>Validation sets it, and it stays `undefined` until the select first validates. |
60
- | value | value | | string | | behavior | | Sets the selected option by its value, such as `price`. In `multiSelect` mode, it's a JSON array string, such as `["stops","price"]`.<br>A value that matches no option, or matches only `disabled` or `static` options, clears both `value` and `optionSelected`; `hidden` options can still be selected by value. |
27
+ | Properties | Attributes | Modifiers | Type | Default | Category | Relevant when | Description |
28
+ | ----------------------------- | ----------------------------- | --------- | ----------------------------------------------------------------- | -------------- | -------- | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
29
+ | appearance | appearance | | `default` \| `inverse` | `default` | ui | | Sets the colors to match the background behind the select. Use `inverse` on dark backgrounds and `default` on light ones. |
30
+ | disabled | disabled | | boolean | | ui | | Turns the select off. A disabled select is shown in a muted style and can't be opened, but keyboard users can still tab to it.<br>`auro-form` leaves a disabled select's value out of its form data. |
31
+ | flexMenuWidth | flexmenuwidth | | boolean | | ui | `layout === 'classic'` | Sizes the bib to fit its options instead of matching the trigger's width. Use it when option text is wider than the trigger.<br>Applies only when `layout="classic"`. |
32
+ | fluid | fluid | | boolean | | ui | | Stretches the select to fill the full width of its container. |
33
+ | forceDisplayValue | forcedisplayvalue | | boolean | `false` | ui | | Shows the selected option's `displayValue` content in the trigger even while the bib is open, and visually hides the label and value text.<br>Applies only when the selected option has `displayValue` content. |
34
+ | fullscreenBreakpoint | fullscreenbreakpoint | | `xs` \| `sm` \| `md` \| `lg` \| `xl` \| `disabled` | `sm` | ui | | Sets the largest screen size at which the bib opens as a fullscreen dialog instead of a popover, such as `sm`.<br>Use `disabled` to never open it fullscreen. |
35
+ | largeFullscreenHeadline | largefullscreenheadline | | boolean | | ui | | Makes the headline in the fullscreen bib larger, using the display heading style. |
36
+ | layout | layout | | `classic` \| `emphasized` \| `snowflake` | `classic` | ui | | Sets the select's overall look. Use `emphasized` for a large, prominent select on light backgrounds, and `snowflake` only on dark backgrounds with `appearance="inverse"`. |
37
+ | matchWidth | matchwidth | | boolean | `false` | ui | `layout !== 'classic'` | Makes the bib the same width as the trigger.<br>Applies only when `layout` isn't `classic`; the classic layout always matches the trigger's width unless `flexMenuWidth` is set. |
38
+ | noCheckmark | nocheckmark | | boolean | | ui | | Hides the checkmark next to the selected option.<br>Removing the attribute doesn't currently bring the checkmark back. |
39
+ | noFlip | noflip | | boolean | `false` | ui | | Keeps the bib on the `placement` side even when there isn't enough room there.<br>By default, the bib flips to the opposite side. |
40
+ | offset | offset | | number | `0` | ui | | Sets the gap between the trigger and the bib, in pixels, such as `8`. |
41
+ | placeholder | placeholder | | string | | ui | | Sets the text shown in the trigger before an option is selected, such as `Choose a destination`. |
42
+ | placement | placement | | string | `bottom-start` | ui | | Sets where the bib opens relative to the trigger, such as `bottom-start` (below, lined up with the trigger's start edge) or `top`.<br>The bib flips to the opposite side when there isn't enough room, unless `noFlip` is set. |
43
+ | shape | shape | | `classic` \| `pill` \| `pill-left` \| `pill-right` \| `snowflake` | `classic` | ui | | Sets the shape of the trigger. Use `classic` with the classic layout, `pill`, `pill-left`, or `pill-right` with the emphasized layout, and `snowflake` with the snowflake layout. |
44
+ | shift | shift | | boolean | `false` | ui | `layout === 'emphasized'` | Slides the bib along the trigger's edge to keep it on screen when it would otherwise be cut off.<br>Applies only when `layout="emphasized"`. |
45
+ | size | size | | `lg` \| `xl` | `lg` | ui | | Sets the height of the trigger. Use `xl` only with the emphasized layout, and `lg` with the other layouts. |
46
+ | autoPlacement | autoplacement | | boolean | `false` | ui | | Deprecated: Use `placement` instead.<br>Moves the bib to whichever side of the trigger has the most space.<br>The bib already flips to the opposite side when it doesn't fit, unless `noFlip` is set. |
47
+ | onDark | ondark | | boolean | | ui | | Deprecated: Use `appearance="inverse"` instead.<br>Sets the colors for a dark background. |
48
+ | autocomplete | autocomplete | | string | | behavior | `layout !== 'emphasized'` | Sets the autofill hint for the hidden native select, such as `country-name` (the native `autocomplete` attribute).<br>Doesn't currently apply when `layout="emphasized"`, which has no hidden native select. |
49
+ | error | error | | string | | behavior | | Forces the select into the `customError` state and shows this text as the error message, such as `Choose another option`.<br>When `setCustomValidityCustomError` or `setCustomValidity` is set, that message replaces this text.<br>Remove the attribute to clear the error and validate normally. |
50
+ | multiSelect | multiselect | | boolean | | behavior | | Lets people select more than one option, and keeps the bib open between selections. `value` becomes a JSON array string, such as `["stops","price"]`.<br>Consider checkboxes instead, which make choosing several options easier for everyone, including screen reader users. |
51
+ | name | name | | string | | behavior | | Sets the key for the select's value in form data, such as `sortOrder` (the native `name` attribute). |
52
+ | noValidate | novalidate | | boolean | | behavior | | Turns off automatic validation when the select loses focus or its value changes.<br>Use it when your code validates the select, such as on form submit, by calling `validate()`. |
53
+ | optionSelected | | | HTMLElement \| Array<HTMLElement> | | behavior | | Gets the selected `<auro-menuoption>` element, or `undefined` when nothing is selected.<br>In `multiSelect` mode, it's an array of the selected options. |
54
+ | required | required | | boolean | | behavior | | Requires a selection. A required select shows the `valueMissing` error when it's left empty, and doesn't show the "(optional)" text after the label. |
55
+ | setCustomValidity | setcustomvalidity | | string | | behavior | | Sets one error message to show for every validation error, such as `Choose a sort order`.<br>When set, it replaces the `setCustomValidityValueMissing` and `setCustomValidityCustomError` messages and the `error` text. |
56
+ | setCustomValidityCustomError | setcustomvaliditycustomerror | | string | | behavior | `error` | Sets the error message shown while the `error` attribute is set, in place of the `error` text.<br>Ignored when `setCustomValidity` is set. |
57
+ | setCustomValidityValueMissing | setcustomvalidityvaluemissing | | string | | behavior | `required` | Sets the error message shown when a `required` select is left empty, such as `Choose a sort order`.<br>Ignored when `setCustomValidity` is set. |
58
+ | typeaheadTimeoutMs | typeaheadtimeoutms | | number | `500` | behavior | | Sets how long, in milliseconds, typed characters keep adding to the type-ahead search before it starts over.<br>Increase it, for example to `1000`, for people who type slowly. |
59
+ | validity | validity | | string | | behavior | | Reports the select's current validity state, such as `valid`, `valueMissing`, or `customError`.<br>Validation sets it, and it stays `undefined` until the select first validates. |
60
+ | value | value | | string | | behavior | | Sets the selected option by its value, such as `price`. In `multiSelect` mode, it's a JSON array string, such as `["stops","price"]`.<br>Once the menu has options, a value that matches no option, or matches only `disabled` or `static` options, clears both `value` and `optionSelected`; `hidden` options can still be selected by value. |
61
61
 
62
62
  ### Methods
63
63
 
64
- | Name | Parameters | Return | Description |
65
- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
66
- | hideBib | None | void | Closes the bib if it's open. |
67
- | register | `name` (string) - The tag name to register the element under. | | Registers the element with the browser under a tag name, such as `custom-select`. |
68
- | reset | None | void | Clears the selection and the validation state, and marks the select as not yet touched. |
69
- | resetLayoutClasses | None | void | Sets the `layout-*` class on the `.wrapper` element to match the current `layout`, such as `layout-classic`. Does nothing when `layout` isn't set or there's no `.wrapper` element. |
70
- | resetShapeClasses | None | void | Sets the `shape-*` class on the `.wrapper` element to match the current `shape` and `size`, such as `shape-rounded-lg`, or to `shape-none` when either isn't set. Does nothing when there's no `.wrapper` element. |
71
- | setMenuValue | `value` (string) - The option value to select, such as `price`. | | Selects the menu option whose value matches, as setting `value` does.<br>A value that matches no option, or matches only `disabled` or `static` options, clears `value` and `optionSelected`; `hidden` options can still be selected. |
72
- | showBib | None | void | Opens the bib if it's closed. Does nothing while the select is disabled. |
73
- | updateActiveOption | `index` (number) - The zero-based index of the option to make active. | | Sets the active option, the one keyboard users are on, by its position in the menu. |
74
- | updateComponentArchitecture | None | void | Updates the `layout-*` and `shape-*` classes on the `.wrapper` element. Called whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`. |
75
- | validate | `force` (boolean) - If true, validates right away, even before the user has interacted with the select. If false, validates only when focus is outside the select and the user has interacted with it or a value is set. | | Checks the selection and updates `validity` and the error message. Runs even when `noValidate` is set. |
64
+ | Name | Parameters | Return | Description |
65
+ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
66
+ | hideBib | None | void | Closes the bib if it's open. |
67
+ | register | `name` (string) - The tag name to register the element under. | | Registers the element with the browser under a tag name, such as `custom-select`. |
68
+ | reset | None | void | Clears the selection and the validation state, and marks the select as not yet touched. |
69
+ | resetLayoutClasses | None | void | Sets the `layout-*` class on the `.wrapper` element to match the current `layout`, such as `layout-classic`. Does nothing when `layout` isn't set or there's no `.wrapper` element. |
70
+ | resetShapeClasses | None | void | Sets the `shape-*` class on the `.wrapper` element to match the current `shape` and `size`, such as `shape-rounded-lg`, or to `shape-none` when either isn't set. Does nothing when there's no `.wrapper` element. |
71
+ | setMenuValue | `value` (string) - The option value to select, such as `price`. | | Selects the menu option whose value matches, as setting `value` does.<br>Once the menu has options, a value that matches no option, or matches only `disabled` or `static` options, clears `value` and `optionSelected`; `hidden` options can still be selected. |
72
+ | showBib | None | void | Opens the bib if it's closed. Does nothing while the select is disabled. |
73
+ | updateActiveOption | `index` (number) - The zero-based index of the option to make active. | | Sets the active option, the one keyboard users are on, by its position in the menu. |
74
+ | updateComponentArchitecture | None | void | Updates the `layout-*` and `shape-*` classes on the `.wrapper` element. Called whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`. |
75
+ | validate | `force` (boolean) - If true, validates right away, even before the user has interacted with the select. If false, validates only when focus is outside the select and the user has interacted with it or a value is set. | | Checks the selection and updates `validity` and the error message. Runs even when `noValidate` is set. |
76
76
 
77
77
  ### Events
78
78
 
@@ -14,7 +14,7 @@
14
14
  min-height: var(--ds-size-600, 3rem);
15
15
  padding: var(--ds-size-100, 0.5rem) var(--ds-size-400, 2rem) var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);
16
16
  border: 1px solid var(--ds-basic-color-border-bold, #585e67);
17
- border-radius: var(--ds-border-radius, 4px);
17
+ border-radius: var(--ds-border-radius, 0.375rem);
18
18
  background-color: var(--ds-basic-color-surface-default, #ffffff);
19
19
  color: var(--ds-basic-color-texticon-default, #2a2a2a);
20
20
  font-family: inherit;
@@ -49,9 +49,10 @@ const a=Symbol.for(""),o$3=t=>{if(t?.r===a)return t?._$litStatic$},s$1=t=>({_$li
49
49
  *
50
50
  * It declares the `onDark` property and provides helpers that apply the
51
51
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
52
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
53
- * `shape`, and `size` properties with its own values and defaults, and
54
- * implements `renderLayout()`, which `render()` calls.
52
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
53
+ * `shape`, and `size` properties they use, each with its own values and
54
+ * default. The base `render()` calls `renderLayout()`, which a subclass
55
+ * implements unless it overrides `render()`.
55
56
  *
56
57
  * **Key capabilities**
57
58
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -809,20 +810,11 @@ function guardTouchPassthrough(element) {
809
810
  }
810
811
 
811
812
  /**
812
- * Restores the dropdown trigger after a fullscreen dialog closes without focus
813
- * leaving the component, such as when the Esc or Enter key closes it.
814
- * When focus leaves the component, for example by tabbing out of the combobox
815
- * after closing the fullscreen dialog, the browser's native dialog focus
816
- * restoration handles it, so this function only restores focus when focus
817
- * remains inside the component after the dialog closes.
818
- *
819
- * Removes the `inert` attribute from the trigger so it's accessible again,
820
- * and restores focus to the given target after one animation frame. The rAF
821
- * delay lets Lit's microtask update cycle call `dialog.close()` first. Without
822
- * it, the browser's native dialog focus restoration can conflict.
823
- *
824
- * The focus is only applied if the dropdown is still closed at the time the
825
- * rAF fires, guarding against a rapid close-then-reopen race.
813
+ * Restores the dropdown trigger after a fullscreen dialog closes, so keyboard users keep their place.
814
+ * Removes the `inert` attribute from the trigger, then, after one animation frame, moves focus to
815
+ * the given target if the dropdown is still closed and focus is inside the trigger.
816
+ * The one-frame wait lets Lit finish closing the dialog first, because the browser's native dialog
817
+ * focus restoration can conflict otherwise.
826
818
  *
827
819
  * @param {HTMLElement} dropdown - The `auro-dropdown` element.
828
820
  * @param {HTMLElement} focusTarget - The element to focus, such as the trigger or the input.
@@ -847,8 +839,8 @@ function restoreTriggerAfterClose(dropdown, focusTarget) {
847
839
  */let e$1 = class e extends i$1{constructor(i){if(super(i),this.it=A$1,i.type!==t.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===A$1||null==r)return this._t=void 0,this.it=r;if(r===E)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;const s=[r];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}};e$1.directiveName="unsafeHTML",e$1.resultType=1;
848
840
 
849
841
  /**
850
- * Creates a snapshot of the dropdown's display state for one keydown event.
851
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
842
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
843
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
852
844
  *
853
845
  * @param {HTMLElement} component - The component with a dropdown reference.
854
846
  * @param {Object} [options] - The optional settings.
@@ -4435,8 +4427,8 @@ let p$3 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
4435
4427
  var iconVersion$2 = '9.2.0';
4436
4428
 
4437
4429
  /**
4438
- * Creates a snapshot of the dropdown's display state for one keydown event.
4439
- * Centralizes null-safety checks and makes the shared/modal/popover branching explicit.
4430
+ * Creates a snapshot of the dropdown's display state for one `keydown` event.
4431
+ * Handles a missing dropdown without throwing, so callers don't need their own checks.
4440
4432
  *
4441
4433
  * @param {HTMLElement} component - The component with a dropdown reference.
4442
4434
  * @param {Object} [options] - The optional settings.
@@ -5185,16 +5177,17 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
5185
5177
  }
5186
5178
  };
5187
5179
 
5188
- var formkitVersion$1 = '202611121719';
5180
+ var formkitVersion$1 = '202611121951';
5189
5181
 
5190
5182
  /**
5191
5183
  * Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
5192
5184
  *
5193
5185
  * It declares the `onDark` property and provides helpers that apply the
5194
5186
  * `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
5195
- * to the subclass's `.wrapper` element. Each subclass declares its own `layout`,
5196
- * `shape`, and `size` properties with its own values and defaults, and
5197
- * implements `renderLayout()`, which `render()` calls.
5187
+ * to the subclass's `.wrapper` element. Subclasses declare the `layout`,
5188
+ * `shape`, and `size` properties they use, each with its own values and
5189
+ * default. The base `render()` calls `renderLayout()`, which a subclass
5190
+ * implements unless it overrides `render()`.
5198
5191
  *
5199
5192
  * **Key capabilities**
5200
5193
  * - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
@@ -5853,7 +5846,7 @@ class AuroDropdown extends AuroElement {
5853
5846
  /**
5854
5847
  * Sets the height of the trigger, from `xs`, the shortest, to `xl`, the tallest.
5855
5848
  * Applies only when `shape` is also set.
5856
- * The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them.
5849
+ * Each shape has styles for only some sizes: `box` for all five; `pill`, `pill-left`, and `pill-right` for `md` and `xl`; `rounded` for `lg`; and `classic` and `snowflake` for one fixed height at any size.
5857
5850
  * @relevantWhen shape !== undefined
5858
5851
  * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
5859
5852
  * @category ui
@@ -7526,7 +7519,7 @@ class AuroHelpText extends i$2 {
7526
7519
  }
7527
7520
  }
7528
7521
 
7529
- var formkitVersion = '202611121719';
7522
+ var formkitVersion = '202611121951';
7530
7523
 
7531
7524
  var styleCss$2 = i$5`.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}.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, 0.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, 0.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, 0.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, 0.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, 0.625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.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, 0.625rem);font-variant-ligatures:none;font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.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, 0.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, 0.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, 0.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, 0.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, 0.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, 0.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(0.875rem, 1.1666666667vw, 0.875rem));font-variant-ligatures:none;font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer{max-width:100%}#dropdownLabel,.value,#placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#dropdownLabel{display:block}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{cursor:text}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
7532
7525
 
@@ -7544,7 +7537,7 @@ var emphasizedColorCss = i$5`:host([layout=emphasized]) [auro-dropdown]{--ds-aur
7544
7537
  * - **Multiple selection**: Set `multiSelect` to let people choose more than one option.
7545
7538
  * - **Validation**: Set `required` to require a selection, and `setCustomValidity` to change the error message.
7546
7539
  * - **Fullscreen on small screens**: Set `fullscreenBreakpoint` to choose the largest screen size at which the list opens as a fullscreen dialog.
7547
- * - **Type-ahead**: Typing always moves to the first option whose text starts with the typed characters.
7540
+ * - **Type-ahead**: Typing moves to the first available option whose text starts with the typed characters and opens the list; repeating a letter cycles through the options that start with it.
7548
7541
  * - **Layouts**: Set `layout` to `classic`, `emphasized`, or `snowflake` to change the overall look.
7549
7542
  *
7550
7543
  * **Example**
@@ -8067,7 +8060,7 @@ class AuroSelect extends AuroElement$1 {
8067
8060
 
8068
8061
  /**
8069
8062
  * Sets the selected option by its value, such as `price`. In `multiSelect` mode, it's a JSON array string, such as `["stops","price"]`.
8070
- * A value that matches no option, or matches only `disabled` or `static` options, clears both `value` and `optionSelected`; `hidden` options can still be selected by value.
8063
+ * Once the menu has options, a value that matches no option, or matches only `disabled` or `static` options, clears both `value` and `optionSelected`; `hidden` options can still be selected by value.
8071
8064
  * @category behavior
8072
8065
  */
8073
8066
  value: {
@@ -8894,7 +8887,7 @@ class AuroSelect extends AuroElement$1 {
8894
8887
 
8895
8888
  /**
8896
8889
  * Selects the menu option whose value matches, as setting `value` does.
8897
- * A value that matches no option, or matches only `disabled` or `static` options, clears `value` and `optionSelected`; `hidden` options can still be selected.
8890
+ * Once the menu has options, a value that matches no option, or matches only `disabled` or `static` options, clears `value` and `optionSelected`; `hidden` options can still be selected.
8898
8891
  * @param {string} value - The option value to select, such as `price`.
8899
8892
  */
8900
8893
  setMenuValue(value) {
@@ -11013,8 +11006,8 @@ class AuroMenu extends AuroElement$1 {
11013
11006
  }
11014
11007
 
11015
11008
  /**
11016
- * Checks whether the menu has content for the `loadingIcon` or `loadingText` slot. Only content present when the menu first renders counts.
11017
- * @returns {boolean} True if either slot had content when the menu first rendered; false otherwise.
11009
+ * Checks whether the menu has an element in the `loadingIcon` or `loadingText` slot, even an empty one. Only elements present when the menu first renders count.
11010
+ * @returns {boolean|null} True if the menu had an element in either slot when it first rendered; false if it didn't; null before the menu first renders.
11018
11011
  */
11019
11012
  get hasLoadingPlaceholder() {
11020
11013
  return this.loadingSlots && this.loadingSlots.length > 0;