@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.7 → 0.0.0-pr1628.9
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.
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +1 -1
- package/components/bibtemplate/dist/registered.js +1 -1
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/accessibility.md +2 -2
- package/components/checkbox/demo/api.md +17 -17
- package/components/checkbox/demo/customize.md +16 -16
- package/components/checkbox/demo/customize.min.js +3 -3
- package/components/checkbox/demo/design.md +24 -24
- package/components/checkbox/demo/getting-started.md +33 -27
- package/components/checkbox/demo/getting-started.min.js +3 -3
- package/components/checkbox/demo/index.md +17 -17
- package/components/checkbox/demo/index.min.js +3 -3
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts +2 -2
- package/components/checkbox/dist/index.js +3 -3
- package/components/checkbox/dist/registered.js +3 -3
- package/components/combobox/demo/api.md +3 -3
- package/components/combobox/demo/css-only.md +3 -3
- package/components/combobox/demo/customize.md +12 -12
- package/components/combobox/demo/customize.min.js +22 -19
- package/components/combobox/demo/getting-started.min.js +22 -19
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +22 -19
- package/components/combobox/dist/auro-combobox.d.ts +6 -4
- package/components/combobox/dist/index.js +21 -18
- package/components/combobox/dist/registered.js +21 -18
- package/components/counter/demo/accessibility.md +1 -1
- package/components/counter/demo/css-only.md +1 -1
- package/components/counter/demo/customize.md +2 -2
- package/components/counter/demo/customize.min.js +12 -12
- package/components/counter/demo/getting-started.min.js +12 -12
- package/components/counter/demo/index.min.js +12 -12
- package/components/counter/demo/why-counter.md +3 -3
- package/components/counter/dist/auro-counter-group.d.ts +2 -3
- package/components/counter/dist/index.js +12 -12
- package/components/counter/dist/registered.js +12 -12
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/accessibility.md +2 -2
- package/components/datepicker/demo/css-only.md +4 -4
- package/components/datepicker/demo/customize.md +3 -3
- package/components/datepicker/demo/customize.min.js +128 -113
- package/components/datepicker/demo/design.md +2 -2
- package/components/datepicker/demo/getting-started.md +1 -1
- package/components/datepicker/demo/getting-started.min.js +128 -113
- package/components/datepicker/demo/index.md +2 -2
- package/components/datepicker/demo/index.min.js +128 -113
- package/components/datepicker/demo/keyboard-behavior.md +1 -1
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/demo/voiceover.md +3 -3
- package/components/datepicker/demo/why-datepicker.md +3 -3
- package/components/datepicker/dist/auro-calendar-cell.d.ts +32 -33
- package/components/datepicker/dist/auro-calendar-month.d.ts +8 -8
- package/components/datepicker/dist/auro-calendar.d.ts +43 -42
- package/components/datepicker/dist/auro-datepicker.d.ts +9 -7
- package/components/datepicker/dist/index.js +128 -113
- package/components/datepicker/dist/registered.js +128 -113
- package/components/datepicker/dist/utilities.d.ts +1 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +9 -4
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +9 -6
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/customize.min.js +8 -7
- package/components/dropdown/demo/getting-started.min.js +13 -12
- package/components/dropdown/demo/index.min.js +8 -7
- package/components/dropdown/demo/voiceover.md +1 -1
- package/components/dropdown/demo/why-dropdown.md +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +7 -6
- package/components/dropdown/dist/index.js +8 -7
- package/components/dropdown/dist/registered.js +8 -7
- package/components/form/README.md +1 -1
- package/components/form/demo/api.md +1 -1
- package/components/form/demo/css-only.md +1 -1
- package/components/form/demo/customize.md +2 -0
- package/components/form/demo/customize.min.js +185 -168
- package/components/form/demo/getting-started.md +2 -0
- package/components/form/demo/getting-started.min.js +185 -168
- package/components/form/demo/index.min.js +185 -168
- package/components/form/demo/keyboard-behavior.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/form/demo/registerDemoDeps.min.js +184 -167
- package/components/form/demo/voiceover.md +2 -2
- package/components/form/dist/auro-form.d.ts +1 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/input/demo/api.md +1 -1
- package/components/input/demo/css-only.md +4 -4
- package/components/input/demo/customize.md +4 -4
- package/components/input/demo/customize.min.js +5 -5
- package/components/input/demo/design.md +2 -2
- package/components/input/demo/getting-started.md +2 -2
- package/components/input/demo/getting-started.min.js +5 -5
- package/components/input/demo/index.md +1 -1
- package/components/input/demo/index.min.js +5 -5
- package/components/input/demo/why-input.md +2 -2
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +3 -3
- package/components/input/dist/index.js +5 -5
- package/components/input/dist/registered.js +5 -5
- package/components/menu/demo/api.md +1 -1
- package/components/menu/demo/css-only.md +4 -4
- package/components/menu/demo/getting-started.md +2 -2
- package/components/menu/demo/index.min.js +1 -1
- package/components/menu/demo/why-menu.md +3 -3
- package/components/menu/dist/auro-menu.d.ts +1 -1
- package/components/menu/dist/index.js +1 -1
- package/components/menu/dist/registered.js +1 -1
- package/components/radio/demo/api.md +4 -4
- package/components/radio/demo/customize.md +14 -4
- package/components/radio/demo/customize.min.js +4 -6
- package/components/radio/demo/getting-started.md +2 -2
- package/components/radio/demo/getting-started.min.js +4 -6
- package/components/radio/demo/index.min.js +4 -6
- package/components/radio/demo/why-radio.md +1 -1
- package/components/radio/dist/auro-radio-group.d.ts +3 -5
- package/components/radio/dist/index.js +4 -6
- package/components/radio/dist/registered.js +4 -6
- package/components/select/demo/css-only.md +1 -1
- package/components/select/demo/customize.md +1 -1
- package/components/select/demo/customize.min.js +11 -10
- package/components/select/demo/getting-started.min.js +11 -10
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +11 -10
- package/components/select/demo/voiceover.md +1 -1
- package/components/select/dist/index.js +10 -9
- package/components/select/dist/registered.js +10 -9
- package/custom-elements.json +88 -84
- package/package.json +1 -1
|
@@ -1334,7 +1334,7 @@ class AuroHelpText extends LitElement {
|
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
1336
|
|
|
1337
|
-
var formkitVersion = '
|
|
1337
|
+
var formkitVersion = '202611090436';
|
|
1338
1338
|
|
|
1339
1339
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1340
1340
|
// See LICENSE in the project root for license information.
|
|
@@ -1370,7 +1370,7 @@ var formkitVersion = '202611082102';
|
|
|
1370
1370
|
* @slot helpText - Help text shown below the group, such as "Select all that apply". While the group shows an error, the error message replaces it. {@category ui}
|
|
1371
1371
|
* @slot default - The `auro-checkbox` elements in the group. {@requiredWhen always} {@category ui}
|
|
1372
1372
|
* @event auroFormElement-validated - Fires each time the group runs validation, with the result in `event.detail.validity` and `event.detail.message`.
|
|
1373
|
-
* @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update.
|
|
1373
|
+
* @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update. It also fires once for each checkbox when the group loads with checkboxes that start out `checked`.
|
|
1374
1374
|
*/
|
|
1375
1375
|
|
|
1376
1376
|
class AuroCheckboxGroup extends LitElement {
|
|
@@ -1540,7 +1540,7 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1540
1540
|
/**
|
|
1541
1541
|
* Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
|
|
1542
1542
|
* `setCustomValidity` takes priority when both are set.
|
|
1543
|
-
* @relevantWhen error
|
|
1543
|
+
* @relevantWhen error !== undefined
|
|
1544
1544
|
* @category behavior
|
|
1545
1545
|
*/
|
|
1546
1546
|
setCustomValidityCustomError: {
|
|
@@ -1334,7 +1334,7 @@ class AuroHelpText extends LitElement {
|
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
1336
|
|
|
1337
|
-
var formkitVersion = '
|
|
1337
|
+
var formkitVersion = '202611090436';
|
|
1338
1338
|
|
|
1339
1339
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1340
1340
|
// See LICENSE in the project root for license information.
|
|
@@ -1370,7 +1370,7 @@ var formkitVersion = '202611082102';
|
|
|
1370
1370
|
* @slot helpText - Help text shown below the group, such as "Select all that apply". While the group shows an error, the error message replaces it. {@category ui}
|
|
1371
1371
|
* @slot default - The `auro-checkbox` elements in the group. {@requiredWhen always} {@category ui}
|
|
1372
1372
|
* @event auroFormElement-validated - Fires each time the group runs validation, with the result in `event.detail.validity` and `event.detail.message`.
|
|
1373
|
-
* @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update.
|
|
1373
|
+
* @event input - Fires when a checkbox in the group is checked or unchecked, after the group's selected values update. It also fires once for each checkbox when the group loads with checkboxes that start out `checked`.
|
|
1374
1374
|
*/
|
|
1375
1375
|
|
|
1376
1376
|
class AuroCheckboxGroup extends LitElement {
|
|
@@ -1540,7 +1540,7 @@ class AuroCheckboxGroup extends LitElement {
|
|
|
1540
1540
|
/**
|
|
1541
1541
|
* Sets the error message shown while the `error` attribute is set, in place of the attribute's own text.
|
|
1542
1542
|
* `setCustomValidity` takes priority when both are set.
|
|
1543
|
-
* @relevantWhen error
|
|
1543
|
+
* @relevantWhen error !== undefined
|
|
1544
1544
|
* @category behavior
|
|
1545
1545
|
*/
|
|
1546
1546
|
setCustomValidityCustomError: {
|
|
@@ -34,12 +34,12 @@ A text field with a list of options that narrows as people type, so they can cho
|
|
|
34
34
|
| dvInputOnly | dvinputonly | | boolean | | ui | | Keeps the label visible while `displayValue` content is shown in place of the value.<br>Without it, the `displayValue` content hides both the label and the value. |
|
|
35
35
|
| fullscreenBreakpoint | fullscreenbreakpoint | | `xs` \| `sm` \| `md` \| `lg` \| `xl` \| `disabled` | `sm` | ui | | Sets the screen width, such as `sm`, at or below which the open bib fills the screen as a modal dialog.<br>Use `disabled` to keep the bib from ever going fullscreen. |
|
|
36
36
|
| largeFullscreenHeadline | largefullscreenheadline | | boolean | | ui | | Shows the `bib.fullscreen.headline` text in a larger heading style. Applies only when the bib is fullscreen. |
|
|
37
|
-
| layout | layout | | `classic` \| `emphasized` \| `snowflake` | `classic` | ui | | Sets the overall style of the combobox. The `emphasized` layout also shows larger menu options.
|
|
37
|
+
| layout | layout | | `classic` \| `emphasized` \| `snowflake` | `classic` | ui | | Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,<br>and `snowflake` only on dark backgrounds with `appearance="inverse"`. The `emphasized` layout also shows larger menu options. |
|
|
38
38
|
| noFlip | noflip | | boolean | | ui | | Keeps the bib at its `placement` when there isn't enough space, instead of flipping it to the opposite side. |
|
|
39
39
|
| offset | offset | | number | `0` | ui | | Sets the gap between the trigger and the bib in pixels, such as `8`. |
|
|
40
40
|
| placeholder | placeholder | | string | | ui | | Sets hint text shown in the empty input, such as `Search airports`.<br>When not set and `type="date"`, the input shows the date format, such as `MM/DD/YYYY`. |
|
|
41
41
|
| placement | placement | | `top` \| `right` \| `bottom` \| `left` \| `bottom-start` \| `top-start` \| `top-end` \| `right-start` \| `right-end` \| `bottom-end` \| `left-start` \| `left-end` | `bottom-start` | ui | | Sets where the bib opens relative to the trigger, such as `bottom-start` for below the trigger, lined up with its start edge.<br>The bib flips to the opposite side when there isn't room, unless `noFlip` is set. |
|
|
42
|
-
| shape | shape | | `box` \| `classic` \| `pill` \| `pill-left` \| `pill-right` \| `rounded` \| `snowflake` | `classic` | ui | | Sets the shape of the trigger. In the `snowflake` layout, the menu options use the
|
|
42
|
+
| shape | shape | | `box` \| `classic` \| `pill` \| `pill-left` \| `pill-right` \| `rounded` \| `snowflake` | `classic` | ui | | Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the<br>`emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the<br>same shape unless the `<auro-menu>` sets its own `shape`. |
|
|
43
43
|
| shift | shift | | boolean | | ui | | Slides the bib along the trigger's edge to keep it inside the viewport. |
|
|
44
44
|
| size | size | | `xs` \| `sm` \| `md` \| `lg` \| `xl` | `xl` | ui | | Sets the height of the trigger. The menu options don't follow it: they use `lg` in the<br>`emphasized` layout and `md` otherwise. |
|
|
45
45
|
| triggerIcon | triggericon | | boolean | | ui | `type === 'credit-card'` | Shows a card icon in the input that changes to the detected card brand, such as Visa, as the user types.<br>Applies only when `type="credit-card"`. |
|
|
@@ -103,7 +103,7 @@ A text field with a list of options that narrows as people type, so they can cho
|
|
|
103
103
|
| label | ui | Yes | | Label that names the combobox. Screen readers announce it as the name of the input and of the fullscreen dialog. |
|
|
104
104
|
| optionalLabel | ui | | `!required` | Text shown after the label when `required` isn't set, such as a translated "(optional)". Defaults to "(optional)". |
|
|
105
105
|
| ariaLabel.bib.close | a11y | Yes | | Text screen readers announce for the close button in the fullscreen bib, such as "Close destination list". Defaults to "Close". |
|
|
106
|
-
| ariaLabel.input.clear | a11y |
|
|
106
|
+
| ariaLabel.input.clear | a11y | Yes | | 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. |
|
|
107
107
|
|
|
108
108
|
### CSS shadow parts
|
|
109
109
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<auro-header level="1">CSS only with native input and datalist</auro-header>
|
|
2
2
|
<p>For situations where the <code><auro-combobox></code> web component can't be used, a native HTML <code><input type="text"></code> paired with a <code><datalist></code> element can be styled with the Auro Design System tokens to approximate the visual appearance of <code>auro-combobox</code>. Unlike <auro-hyperlink href="https://auro.alaskaair.com/components/auro/hyperlink/css-only" target="_blank">auro-hyperlink</auro-hyperlink>, <auro-hyperlink href="https://alaskaairlines.github.io/WebCoreStyleSheets/" target="_blank">Web Core Style Sheets</auro-hyperlink> doesn't provide a prebuilt <code>.combobox</code> class, so the styling must be authored manually using Auro design tokens.</p>
|
|
3
3
|
<auro-header level="2">Styling a native input with datalist</auro-header>
|
|
4
|
-
<p>
|
|
4
|
+
<p>Restyle the native input with the Auro design tokens published by <auro-hyperlink href="https://github.com/AlaskaAirlines/AuroDesignTokens" target="_blank">@aurodesignsystem/design-tokens</auro-hyperlink>. The pattern below replicates the size, border, and focus-state colors used by the <code>auro-combobox</code> trigger input.</p>
|
|
5
5
|
<pre><code>/* Color tokens */
|
|
6
6
|
@import "./node_modules/@aurodesignsystem/design-tokens/dist/themes/alaska/CSSCustomProperties--alaska.css";
|
|
7
7
|
/* Size, border-radius, and typography tokens */
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<auro-header level="2">What you lose without auro-combobox</auro-header>
|
|
84
84
|
<p>While the CSS above replicates the <strong>visual styling</strong> of the <code>auro-combobox</code> trigger, the following functionality built into the <code>auro-combobox</code> web component is <strong>not available</strong> when using plain HTML with a <code><datalist></code>:</p>
|
|
85
85
|
<auro-header level="3">Filter vs. suggestion behavior</auro-header>
|
|
86
|
-
<p><code>auro-combobox</code> exposes a <code>behavior</code> attribute (<code>filter</code> or <code>suggestion</code>) that controls whether the user must select a menu option or may submit a freeform typed value. Native <code><datalist></code> always behaves like suggestion mode
|
|
86
|
+
<p><code>auro-combobox</code> exposes a <code>behavior</code> attribute (<code>filter</code> or <code>suggestion</code>) that controls whether the user must select a menu option or may submit a freeform typed value. Native <code><datalist></code> always behaves like suggestion mode, so requiring the user to choose from the list takes custom JavaScript that compares the input value against the option set.</p>
|
|
87
87
|
<auro-header level="3">Custom filtering and matching</auro-header>
|
|
88
88
|
<p><code>auro-combobox</code> filters options against the typed value and supports a <code>suggest</code> attribute on each menu option for additional matching keywords, plus <code>persistent</code>, <code>static</code>, and <code>nomatch</code> options that change how the list reacts to input. <code><datalist></code> matching is browser-controlled, varies across browsers, and can't be extended with synonyms, persistent items, or a "no match" placeholder.</p>
|
|
89
89
|
<auro-header level="3">Highlighted match text</auro-header>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<auro-header level="3">Rich option content and display value</auro-header>
|
|
102
102
|
<p><code>auro-combobox</code> works with <code>auro-menuoption</code> elements that can contain markup, icons, and a <code>displayValue</code> slot that lets the visible trigger content differ from the underlying value (paired with <code>persistInput</code> for advanced filter UIs). <code><datalist></code> options are plain strings: no markup, no icons, and the visible value always equals the submitted value.</p>
|
|
103
103
|
<auro-header level="3">Coordinated value and option-selected state</auro-header>
|
|
104
|
-
<p><code>auro-combobox</code> exposes both <code>value</code> (the selected option's value) and <code>optionSelected</code> (a reference to the chosen <code>auro-menuoption</code> element), and fires <code>input</code> and <code>inputValue</code> events with structured detail. With native HTML, you only get the input's string value
|
|
104
|
+
<p><code>auro-combobox</code> exposes both <code>value</code> (the selected option's value, or the typed text when no option is chosen) and <code>optionSelected</code> (a reference to the chosen <code>auro-menuoption</code> element), and fires <code>input</code> and <code>inputValue</code> events with structured detail. With native HTML, you only get the input's string value, because the browser doesn't report which datalist option the user picked.</p>
|
|
105
105
|
<auro-header level="3">Form integration events</auro-header>
|
|
106
106
|
<p><code>auro-combobox</code> dispatches <code>auroFormElement-validated</code> events so parent <code>auro-form</code> elements can coordinate validation across all child fields. Native inputs participate in form submission but don't emit the structured validation events that the Auro form system expects.</p>
|
|
107
107
|
<auro-header level="3">Reset behavior</auro-header>
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
240
240
|
<span slot="label">Label</span>
|
|
241
241
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
242
|
-
<span slot="helpText">
|
|
242
|
+
<span slot="helpText">Bib placed below the trigger at its end edge, 20px away, and doesn't flip</span>
|
|
243
243
|
<auro-menu>
|
|
244
244
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
245
245
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
254
254
|
<span slot="label">Label</span>
|
|
255
255
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
256
|
-
<span slot="helpText">
|
|
256
|
+
<span slot="helpText">Bib placed below the trigger at its end edge, 20px away, and flips when there isn't room</span>
|
|
257
257
|
<auro-menu>
|
|
258
258
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
259
259
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
268
268
|
<span slot="label">Label</span>
|
|
269
269
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
270
|
-
<span slot="helpText">right
|
|
270
|
+
<span slot="helpText">Bib placed to the right of the trigger, 20px away, and doesn't flip</span>
|
|
271
271
|
<auro-menu>
|
|
272
272
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
273
273
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
282
282
|
<span slot="label">Label</span>
|
|
283
283
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
284
|
-
<span slot="helpText">
|
|
284
|
+
<span slot="helpText">Bib placed below the trigger at its start edge, 20px away, shifts to stay in view, and doesn't flip</span>
|
|
285
285
|
<auro-menu>
|
|
286
286
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
287
287
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
304
304
|
<span slot="label">Label</span>
|
|
305
305
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
306
|
-
<span slot="helpText">
|
|
306
|
+
<span slot="helpText">Bib placed below the trigger at its end edge, 20px away, and doesn't flip</span>
|
|
307
307
|
<auro-menu>
|
|
308
308
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
309
309
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
318
318
|
<span slot="label">Label</span>
|
|
319
319
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
320
|
-
<span slot="helpText">
|
|
320
|
+
<span slot="helpText">Bib placed below the trigger at its end edge, 20px away, and flips when there isn't room</span>
|
|
321
321
|
<auro-menu>
|
|
322
322
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
323
323
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
332
332
|
<span slot="label">Label</span>
|
|
333
333
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
334
|
-
<span slot="helpText">right
|
|
334
|
+
<span slot="helpText">Bib placed to the right of the trigger, 20px away, and doesn't flip</span>
|
|
335
335
|
<auro-menu>
|
|
336
336
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
337
337
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
346
346
|
<span slot="label">Label</span>
|
|
347
347
|
<span slot="ariaLabel.input.clear">Clear selection</span>
|
|
348
|
-
<span slot="helpText">
|
|
348
|
+
<span slot="helpText">Bib placed below the trigger at its start edge, 20px away, shifts to stay in view, and doesn't flip</span>
|
|
349
349
|
<auro-menu>
|
|
350
350
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
351
351
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -840,7 +840,7 @@
|
|
|
840
840
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/no-filter.html) -->
|
|
841
841
|
<!-- The below content is automatically added from ./../apiExamples/no-filter.html -->
|
|
842
842
|
<auro-combobox noFilter>
|
|
843
|
-
<span slot="bib.fullscreen.headline">
|
|
843
|
+
<span slot="bib.fullscreen.headline">Combobox without filtering</span>
|
|
844
844
|
<span slot="label">Name</span>
|
|
845
845
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
846
846
|
<auro-menu>
|
|
@@ -859,7 +859,7 @@
|
|
|
859
859
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/no-filter.html) -->
|
|
860
860
|
<!-- The below code snippet is automatically added from ./../apiExamples/no-filter.html -->
|
|
861
861
|
<pre class="language-html"><code class="language-html"><auro-combobox noFilter>
|
|
862
|
-
<span slot="bib.fullscreen.headline">
|
|
862
|
+
<span slot="bib.fullscreen.headline">Combobox without filtering</span>
|
|
863
863
|
<span slot="label">Name</span>
|
|
864
864
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
865
865
|
<auro-menu>
|
|
@@ -1168,7 +1168,7 @@
|
|
|
1168
1168
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/no-validate.html) -->
|
|
1169
1169
|
<!-- The below content is automatically added from ./../apiExamples/no-validate.html -->
|
|
1170
1170
|
<auro-combobox required noValidate>
|
|
1171
|
-
<span slot="bib.fullscreen.headline">
|
|
1171
|
+
<span slot="bib.fullscreen.headline">Combobox without validation</span>
|
|
1172
1172
|
<span slot="label">Name</span>
|
|
1173
1173
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
1174
1174
|
<auro-menu>
|
|
@@ -1188,7 +1188,7 @@
|
|
|
1188
1188
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/no-validate.html) -->
|
|
1189
1189
|
<!-- The below code snippet is automatically added from ./../apiExamples/no-validate.html -->
|
|
1190
1190
|
<pre class="language-html"><code class="language-html"><auro-combobox required noValidate>
|
|
1191
|
-
<span slot="bib.fullscreen.headline">
|
|
1191
|
+
<span slot="bib.fullscreen.headline">Combobox without validation</span>
|
|
1192
1192
|
<span slot="label">Name</span>
|
|
1193
1193
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
1194
1194
|
<auro-menu>
|
|
@@ -5299,7 +5299,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
5299
5299
|
}
|
|
5300
5300
|
};
|
|
5301
5301
|
|
|
5302
|
-
var formkitVersion$2 = '
|
|
5302
|
+
var formkitVersion$2 = '202611090436';
|
|
5303
5303
|
|
|
5304
5304
|
/**
|
|
5305
5305
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -5795,6 +5795,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5795
5795
|
/**
|
|
5796
5796
|
* Removes the trigger's border, background, and shadow.
|
|
5797
5797
|
* Applies only when `shape` and `size` are both set.
|
|
5798
|
+
* @relevantWhen shape !== undefined && size !== undefined
|
|
5798
5799
|
* @category ui
|
|
5799
5800
|
*/
|
|
5800
5801
|
simple: {
|
|
@@ -6087,6 +6088,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6087
6088
|
/**
|
|
6088
6089
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
6089
6090
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
6091
|
+
* @default 0
|
|
6090
6092
|
* @category a11y
|
|
6091
6093
|
*/
|
|
6092
6094
|
tabIndex: {
|
|
@@ -6778,7 +6780,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6778
6780
|
*
|
|
6779
6781
|
* @private
|
|
6780
6782
|
* @method handleDefaultSlot
|
|
6781
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
6782
6783
|
*/
|
|
6783
6784
|
handleDefaultSlot() {
|
|
6784
6785
|
|
|
@@ -6791,7 +6792,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6791
6792
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
6792
6793
|
* @private
|
|
6793
6794
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
6794
|
-
* @returns {
|
|
6795
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
6795
6796
|
*/
|
|
6796
6797
|
renderBasicHtml(helpTextClasses) {
|
|
6797
6798
|
return u$7`
|
|
@@ -6853,7 +6854,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6853
6854
|
/**
|
|
6854
6855
|
* Renders the classic layout.
|
|
6855
6856
|
* @private
|
|
6856
|
-
* @returns {
|
|
6857
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
6857
6858
|
*/
|
|
6858
6859
|
renderLayoutClassic() {
|
|
6859
6860
|
// TODO: check with Doug why this was never used?
|
|
@@ -6869,7 +6870,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6869
6870
|
/**
|
|
6870
6871
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
6871
6872
|
* @private
|
|
6872
|
-
* @returns {
|
|
6873
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
6873
6874
|
*/
|
|
6874
6875
|
renderLayoutSnowflake() {
|
|
6875
6876
|
const helpTextClasses = {
|
|
@@ -6886,7 +6887,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6886
6887
|
/**
|
|
6887
6888
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
6888
6889
|
* @private
|
|
6889
|
-
* @returns {
|
|
6890
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
6890
6891
|
*/
|
|
6891
6892
|
renderLayoutEmphasized() {
|
|
6892
6893
|
const helpTextClasses = {
|
|
@@ -6904,7 +6905,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6904
6905
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
6905
6906
|
* @private
|
|
6906
6907
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
6907
|
-
* @returns {
|
|
6908
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
6908
6909
|
*/
|
|
6909
6910
|
renderLayout(ForcedLayout) {
|
|
6910
6911
|
const layout = ForcedLayout || this.layout;
|
|
@@ -17523,7 +17524,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
17523
17524
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
17524
17525
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
17525
17526
|
/**
|
|
17526
|
-
*
|
|
17527
|
+
* Gets the options Lit uses to create the shadow root.
|
|
17527
17528
|
* @internal
|
|
17528
17529
|
*/
|
|
17529
17530
|
static get shadowRootOptions() {
|
|
@@ -17697,8 +17698,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
17697
17698
|
},
|
|
17698
17699
|
|
|
17699
17700
|
/**
|
|
17700
|
-
* Sets the field's
|
|
17701
|
-
* emphasized layouts support only `xl`.
|
|
17701
|
+
* Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
|
|
17702
|
+
* and the emphasized layouts support only `xl`.
|
|
17702
17703
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
17703
17704
|
* @default 'lg'
|
|
17704
17705
|
* @category ui
|
|
@@ -19494,7 +19495,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
19494
19495
|
}
|
|
19495
19496
|
};
|
|
19496
19497
|
|
|
19497
|
-
var formkitVersion$1 = '
|
|
19498
|
+
var formkitVersion$1 = '202611090436';
|
|
19498
19499
|
|
|
19499
19500
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
19500
19501
|
// See LICENSE in the project root for license information.
|
|
@@ -19953,7 +19954,7 @@ class AuroInput extends BaseInput {
|
|
|
19953
19954
|
|
|
19954
19955
|
/**
|
|
19955
19956
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
19956
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
19957
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
19957
19958
|
* @private
|
|
19958
19959
|
* @returns {string}
|
|
19959
19960
|
*/
|
|
@@ -20684,7 +20685,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
20684
20685
|
}
|
|
20685
20686
|
|
|
20686
20687
|
/**
|
|
20687
|
-
* Called
|
|
20688
|
+
* 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.
|
|
20688
20689
|
* @param {Event} event - The `touchmove` event.
|
|
20689
20690
|
* @returns {void}
|
|
20690
20691
|
*/
|
|
@@ -20780,7 +20781,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
20780
20781
|
}
|
|
20781
20782
|
}
|
|
20782
20783
|
|
|
20783
|
-
var formkitVersion = '
|
|
20784
|
+
var formkitVersion = '202611090436';
|
|
20784
20785
|
|
|
20785
20786
|
var styleCss$3 = i$6`.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}`;
|
|
20786
20787
|
|
|
@@ -21249,7 +21250,7 @@ function getOptionLabel(option) {
|
|
|
21249
21250
|
*
|
|
21250
21251
|
* @slot - The `<auro-menu>` that holds the options. {@requiredWhen always} {@category ui}
|
|
21251
21252
|
* @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}
|
|
21252
|
-
* @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}
|
|
21253
|
+
* @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}
|
|
21253
21254
|
* @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}
|
|
21254
21255
|
* @slot bib.fullscreen.headline - Headline shown above the options in the fullscreen bib, such as "Choose a destination". {@requiredWhen always} {@category ui}
|
|
21255
21256
|
* @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}
|
|
@@ -21531,7 +21532,8 @@ class AuroCombobox extends AuroElement {
|
|
|
21531
21532
|
},
|
|
21532
21533
|
|
|
21533
21534
|
/**
|
|
21534
|
-
* Sets the overall style of the combobox.
|
|
21535
|
+
* Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,
|
|
21536
|
+
* and `snowflake` only on dark backgrounds with `appearance="inverse"`. The `emphasized` layout also shows larger menu options.
|
|
21535
21537
|
* @type {'classic' | 'emphasized' | 'snowflake'}
|
|
21536
21538
|
* @default 'classic'
|
|
21537
21539
|
* @category ui
|
|
@@ -21543,8 +21545,9 @@ class AuroCombobox extends AuroElement {
|
|
|
21543
21545
|
},
|
|
21544
21546
|
|
|
21545
21547
|
/**
|
|
21546
|
-
* Sets the shape of the trigger.
|
|
21547
|
-
*
|
|
21548
|
+
* Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the
|
|
21549
|
+
* `emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the
|
|
21550
|
+
* same shape unless the `<auro-menu>` sets its own `shape`.
|
|
21548
21551
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
21549
21552
|
* @default 'classic'
|
|
21550
21553
|
* @category ui
|
|
@@ -23764,7 +23767,7 @@ let menuInstanceIdCounter = 0;
|
|
|
23764
23767
|
*
|
|
23765
23768
|
* @event {CustomEvent<Element>} auroMenu-activatedOption - Fires when an option becomes the active (highlighted) option, through the arrow keys, hover, or `updateActiveOption()`. The option is in `detail`.
|
|
23766
23769
|
* @event {CustomEvent<any>} auroMenu-customEventFired - Fires right after the menu fires the event named in an option's `event` attribute. The option is in `detail.option`.
|
|
23767
|
-
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes.
|
|
23770
|
+
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes, and once when the menu first renders.
|
|
23768
23771
|
* @event {CustomEvent<{ options: Array<HTMLElement> }>} auroMenu-optionsChange - Fires when the set of options in the menu changes.
|
|
23769
23772
|
* @event {CustomEvent<any>} auroMenu-selectValueFailure - Fires when a value doesn't match any option that can be selected, or when someone chooses an option with no `value` in multi-select mode.
|
|
23770
23773
|
* @event {CustomEvent<any>} auroMenu-selectValueReset - Fires when `reset()` clears the menu.
|
|
@@ -5299,7 +5299,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
5299
5299
|
}
|
|
5300
5300
|
};
|
|
5301
5301
|
|
|
5302
|
-
var formkitVersion$2 = '
|
|
5302
|
+
var formkitVersion$2 = '202611090436';
|
|
5303
5303
|
|
|
5304
5304
|
/**
|
|
5305
5305
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -5795,6 +5795,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5795
5795
|
/**
|
|
5796
5796
|
* Removes the trigger's border, background, and shadow.
|
|
5797
5797
|
* Applies only when `shape` and `size` are both set.
|
|
5798
|
+
* @relevantWhen shape !== undefined && size !== undefined
|
|
5798
5799
|
* @category ui
|
|
5799
5800
|
*/
|
|
5800
5801
|
simple: {
|
|
@@ -6087,6 +6088,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6087
6088
|
/**
|
|
6088
6089
|
* Sets the trigger's position in the keyboard tab order (the trigger's `tabindex`).
|
|
6089
6090
|
* Applies only when the `trigger` slot content isn't focusable.
|
|
6091
|
+
* @default 0
|
|
6090
6092
|
* @category a11y
|
|
6091
6093
|
*/
|
|
6092
6094
|
tabIndex: {
|
|
@@ -6778,7 +6780,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6778
6780
|
*
|
|
6779
6781
|
* @private
|
|
6780
6782
|
* @method handleDefaultSlot
|
|
6781
|
-
* @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
|
|
6782
6783
|
*/
|
|
6783
6784
|
handleDefaultSlot() {
|
|
6784
6785
|
|
|
@@ -6791,7 +6792,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6791
6792
|
* Renders the markup that every layout shares: the trigger, the help text, and the bib.
|
|
6792
6793
|
* @private
|
|
6793
6794
|
* @param {Object} helpTextClasses - The classes to apply to the help text container.
|
|
6794
|
-
* @returns {
|
|
6795
|
+
* @returns {import('lit').TemplateResult} The template for the shared markup.
|
|
6795
6796
|
*/
|
|
6796
6797
|
renderBasicHtml(helpTextClasses) {
|
|
6797
6798
|
return u$7`
|
|
@@ -6853,7 +6854,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6853
6854
|
/**
|
|
6854
6855
|
* Renders the classic layout.
|
|
6855
6856
|
* @private
|
|
6856
|
-
* @returns {
|
|
6857
|
+
* @returns {import('lit').TemplateResult} The template for the classic layout.
|
|
6857
6858
|
*/
|
|
6858
6859
|
renderLayoutClassic() {
|
|
6859
6860
|
// TODO: check with Doug why this was never used?
|
|
@@ -6869,7 +6870,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6869
6870
|
/**
|
|
6870
6871
|
* Renders the snowflake layout, which indents the help text on both sides.
|
|
6871
6872
|
* @private
|
|
6872
|
-
* @returns {
|
|
6873
|
+
* @returns {import('lit').TemplateResult} The template for the snowflake layout.
|
|
6873
6874
|
*/
|
|
6874
6875
|
renderLayoutSnowflake() {
|
|
6875
6876
|
const helpTextClasses = {
|
|
@@ -6886,7 +6887,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6886
6887
|
/**
|
|
6887
6888
|
* Renders the emphasized layout, which indents the help text on the rounded sides of a `pill` shape.
|
|
6888
6889
|
* @private
|
|
6889
|
-
* @returns {
|
|
6890
|
+
* @returns {import('lit').TemplateResult} The template for the emphasized layout.
|
|
6890
6891
|
*/
|
|
6891
6892
|
renderLayoutEmphasized() {
|
|
6892
6893
|
const helpTextClasses = {
|
|
@@ -6904,7 +6905,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6904
6905
|
* Renders the layout that `layout` sets, or the classic layout when it isn't set or isn't recognized.
|
|
6905
6906
|
* @private
|
|
6906
6907
|
* @param {string} [ForcedLayout] - The layout to render instead of `layout`, such as `emphasized`.
|
|
6907
|
-
* @returns {
|
|
6908
|
+
* @returns {import('lit').TemplateResult} The template for the layout.
|
|
6908
6909
|
*/
|
|
6909
6910
|
renderLayout(ForcedLayout) {
|
|
6910
6911
|
const layout = ForcedLayout || this.layout;
|
|
@@ -17523,7 +17524,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
17523
17524
|
// The initial-load focus theft was caused by the static `autofocus`
|
|
17524
17525
|
// attribute on the bib input (now conditional), not by delegatesFocus.
|
|
17525
17526
|
/**
|
|
17526
|
-
*
|
|
17527
|
+
* Gets the options Lit uses to create the shadow root.
|
|
17527
17528
|
* @internal
|
|
17528
17529
|
*/
|
|
17529
17530
|
static get shadowRootOptions() {
|
|
@@ -17697,8 +17698,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
17697
17698
|
},
|
|
17698
17699
|
|
|
17699
17700
|
/**
|
|
17700
|
-
* Sets the field's
|
|
17701
|
-
* emphasized layouts support only `xl`.
|
|
17701
|
+
* Sets the field's height. The `classic` and `snowflake` shapes are the same height at every size,
|
|
17702
|
+
* and the emphasized layouts support only `xl`.
|
|
17702
17703
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
17703
17704
|
* @default 'lg'
|
|
17704
17705
|
* @category ui
|
|
@@ -19494,7 +19495,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
19494
19495
|
}
|
|
19495
19496
|
};
|
|
19496
19497
|
|
|
19497
|
-
var formkitVersion$1 = '
|
|
19498
|
+
var formkitVersion$1 = '202611090436';
|
|
19498
19499
|
|
|
19499
19500
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
19500
19501
|
// See LICENSE in the project root for license information.
|
|
@@ -19953,7 +19954,7 @@ class AuroInput extends BaseInput {
|
|
|
19953
19954
|
|
|
19954
19955
|
/**
|
|
19955
19956
|
* Gets the `pattern` for the inner `<input>` element. For credit card numbers,
|
|
19956
|
-
* builds a length check from `minLength` and `maxLength` instead.
|
|
19957
|
+
* builds a length check from `minLength` and `maxLength` instead, unless `noValidate` is set.
|
|
19957
19958
|
* @private
|
|
19958
19959
|
* @returns {string}
|
|
19959
19960
|
*/
|
|
@@ -20684,7 +20685,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
20684
20685
|
}
|
|
20685
20686
|
|
|
20686
20687
|
/**
|
|
20687
|
-
* Called
|
|
20688
|
+
* 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.
|
|
20688
20689
|
* @param {Event} event - The `touchmove` event.
|
|
20689
20690
|
* @returns {void}
|
|
20690
20691
|
*/
|
|
@@ -20780,7 +20781,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
20780
20781
|
}
|
|
20781
20782
|
}
|
|
20782
20783
|
|
|
20783
|
-
var formkitVersion = '
|
|
20784
|
+
var formkitVersion = '202611090436';
|
|
20784
20785
|
|
|
20785
20786
|
var styleCss$3 = i$6`.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}`;
|
|
20786
20787
|
|
|
@@ -21249,7 +21250,7 @@ function getOptionLabel(option) {
|
|
|
21249
21250
|
*
|
|
21250
21251
|
* @slot - The `<auro-menu>` that holds the options. {@requiredWhen always} {@category ui}
|
|
21251
21252
|
* @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}
|
|
21252
|
-
* @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}
|
|
21253
|
+
* @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}
|
|
21253
21254
|
* @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}
|
|
21254
21255
|
* @slot bib.fullscreen.headline - Headline shown above the options in the fullscreen bib, such as "Choose a destination". {@requiredWhen always} {@category ui}
|
|
21255
21256
|
* @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}
|
|
@@ -21531,7 +21532,8 @@ class AuroCombobox extends AuroElement {
|
|
|
21531
21532
|
},
|
|
21532
21533
|
|
|
21533
21534
|
/**
|
|
21534
|
-
* Sets the overall style of the combobox.
|
|
21535
|
+
* Sets the overall style of the combobox. Use `emphasized` for a large, prominent combobox on light backgrounds,
|
|
21536
|
+
* and `snowflake` only on dark backgrounds with `appearance="inverse"`. The `emphasized` layout also shows larger menu options.
|
|
21535
21537
|
* @type {'classic' | 'emphasized' | 'snowflake'}
|
|
21536
21538
|
* @default 'classic'
|
|
21537
21539
|
* @category ui
|
|
@@ -21543,8 +21545,9 @@ class AuroCombobox extends AuroElement {
|
|
|
21543
21545
|
},
|
|
21544
21546
|
|
|
21545
21547
|
/**
|
|
21546
|
-
* Sets the shape of the trigger.
|
|
21547
|
-
*
|
|
21548
|
+
* Sets the shape of the trigger. Use `classic` with the `classic` layout, `pill`, `pill-left`, or `pill-right` with the
|
|
21549
|
+
* `emphasized` layout, and `snowflake` with the `snowflake` layout. In the `snowflake` layout, the menu options use the
|
|
21550
|
+
* same shape unless the `<auro-menu>` sets its own `shape`.
|
|
21548
21551
|
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
21549
21552
|
* @default 'classic'
|
|
21550
21553
|
* @category ui
|
|
@@ -23764,7 +23767,7 @@ let menuInstanceIdCounter = 0;
|
|
|
23764
23767
|
*
|
|
23765
23768
|
* @event {CustomEvent<Element>} auroMenu-activatedOption - Fires when an option becomes the active (highlighted) option, through the arrow keys, hover, or `updateActiveOption()`. The option is in `detail`.
|
|
23766
23769
|
* @event {CustomEvent<any>} auroMenu-customEventFired - Fires right after the menu fires the event named in an option's `event` attribute. The option is in `detail.option`.
|
|
23767
|
-
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes.
|
|
23770
|
+
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Fires when `loading` changes, and once when the menu first renders.
|
|
23768
23771
|
* @event {CustomEvent<{ options: Array<HTMLElement> }>} auroMenu-optionsChange - Fires when the set of options in the menu changes.
|
|
23769
23772
|
* @event {CustomEvent<any>} auroMenu-selectValueFailure - Fires when a value doesn't match any option that can be selected, or when someone chooses an option with no `value` in multi-select mode.
|
|
23770
23773
|
* @event {CustomEvent<any>} auroMenu-selectValueReset - Fires when `reset()` clears the menu.
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
Begin typing into the input.
|
|
87
87
|
<div class="note">
|
|
88
88
|
<p>
|
|
89
|
-
The bib doesn't open until the user types at least one character into the input. Clicking or tapping the trigger alone doesn't open the bib. Once the input has a value, the user may click or tap the trigger to open
|
|
89
|
+
The bib doesn't open until the user types at least one character into the input. Clicking or tapping the trigger alone doesn't open the bib. Once the input has a value, the user may click or tap the trigger to open the bib.
|
|
90
90
|
</p>
|
|
91
91
|
<p>
|
|
92
92
|
In desktop view, the list of options renders in a dropdown-style bib that appears below the trigger. The bib may render above the trigger if there isn't enough space in the viewport below the trigger.
|