@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.12 → 0.0.0-pr1628.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/api.md +39 -38
- package/components/combobox/demo/css-only.md +2 -2
- package/components/combobox/demo/customize.md +50 -2
- package/components/combobox/demo/customize.min.js +14 -17
- package/components/combobox/demo/design.md +2 -0
- package/components/combobox/demo/getting-started.md +9 -7
- package/components/combobox/demo/getting-started.min.js +14 -17
- package/components/combobox/demo/index.md +4 -0
- package/components/combobox/demo/index.min.js +14 -17
- package/components/combobox/dist/auro-combobox.d.ts +10 -1
- package/components/combobox/dist/index.js +14 -17
- package/components/combobox/dist/registered.js +14 -17
- package/components/counter/demo/api.md +28 -28
- 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 -11
- package/components/counter/demo/getting-started.md +2 -2
- package/components/counter/demo/getting-started.min.js +12 -11
- package/components/counter/demo/index.min.js +12 -11
- package/components/counter/demo/voiceover.md +2 -2
- package/components/counter/demo/why-counter.md +1 -1
- package/components/counter/dist/auro-counter-group.d.ts +7 -6
- package/components/counter/dist/auro-counter.d.ts +3 -3
- package/components/counter/dist/index.js +12 -11
- package/components/counter/dist/registered.js +12 -11
- package/components/datepicker/demo/accessibility.md +3 -3
- package/components/datepicker/demo/api.md +7 -8
- package/components/datepicker/demo/css-only.md +1 -1
- package/components/datepicker/demo/customize.md +2 -2
- package/components/datepicker/demo/customize.min.js +26 -38
- package/components/datepicker/demo/getting-started.md +6 -3
- package/components/datepicker/demo/getting-started.min.js +26 -38
- package/components/datepicker/demo/index.min.js +26 -38
- package/components/datepicker/demo/voiceover.md +2 -2
- package/components/datepicker/dist/auro-calendar-cell.d.ts +3 -2
- package/components/datepicker/dist/auro-calendar-month.d.ts +2 -1
- package/components/datepicker/dist/auro-calendar.d.ts +8 -7
- package/components/datepicker/dist/auro-datepicker.d.ts +6 -9
- package/components/datepicker/dist/index.js +26 -38
- package/components/datepicker/dist/registered.js +26 -38
- package/components/datepicker/dist/utilities.d.ts +1 -1
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +1 -1
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +3 -15
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +60 -86
- package/components/form/demo/getting-started.min.js +60 -86
- package/components/form/demo/index.min.js +60 -86
- package/components/form/demo/registerDemoDeps.min.js +60 -86
- package/components/input/demo/api.md +12 -12
- package/components/input/demo/css-only.md +4 -4
- package/components/input/demo/customize.md +4 -4
- package/components/input/demo/customize.min.js +2 -14
- package/components/input/demo/getting-started.min.js +2 -14
- package/components/input/demo/index.min.js +2 -14
- package/components/input/demo/voiceover.md +1 -1
- package/components/input/demo/why-input.md +2 -2
- package/components/input/dist/base-input.d.ts +0 -12
- package/components/input/dist/index.js +2 -14
- package/components/input/dist/registered.js +2 -14
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.md +46 -46
- package/components/select/demo/customize.md +48 -0
- package/components/select/demo/customize.min.js +4 -4
- package/components/select/demo/design.md +6 -0
- package/components/select/demo/getting-started.min.js +4 -4
- package/components/select/demo/index.md +2 -0
- package/components/select/demo/index.min.js +4 -4
- package/components/select/demo/keyboard-behavior.md +1 -1
- package/components/select/demo/voiceover.md +5 -5
- package/components/select/dist/auro-select.d.ts +2 -2
- package/components/select/dist/index.js +4 -4
- package/components/select/dist/registered.js +4 -4
- package/custom-elements.json +233 -2462
- package/package.json +1 -1
|
@@ -152,7 +152,7 @@ This creates a new custom element, `<custom-combobox>`, that behaves exactly lik
|
|
|
152
152
|
<div class="accordion-content">
|
|
153
153
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/react.md) -->
|
|
154
154
|
<!-- The below content is automatically added from ./../docs/partials/getting-started/react.md -->
|
|
155
|
-
React 19 includes <a href="https://react.dev/blog/2024/12/05/react-19#support-for-custom-elements">native support for custom elements</a>, so
|
|
155
|
+
React 19 includes <a href="https://react.dev/blog/2024/12/05/react-19#support-for-custom-elements">native support for custom elements</a>, so the combobox works directly in JSX without any wrapper library. The examples below register it under a custom tag name, such as <code><custom-combobox></code>, and use that tag.
|
|
156
156
|
|
|
157
157
|
<auro-header level="3" id="reactImport">Import the component</auro-header>
|
|
158
158
|
Import and register the components at the top level of your application (for example, in your root `main.tsx` or `App.tsx`):
|
|
@@ -164,7 +164,7 @@ AuroMenu.register('[custom]-menu');
|
|
|
164
164
|
AuroMenuOption.register('[custom]-menuoption');</code></pre>
|
|
165
165
|
|
|
166
166
|
<auro-header level="3" id="reactTypeScript">TypeScript declarations</auro-header>
|
|
167
|
-
The component ships with TypeScript type definitions for the `AuroCombobox` class. However, React's JSX doesn't automatically map custom element tag names to their types. To get type checking for
|
|
167
|
+
The component ships with TypeScript type definitions for the `AuroCombobox` class. However, React's JSX doesn't automatically map custom element tag names to their types. To get type checking for the combobox in JSX, add the following declaration to a `.d.ts` file in your project, replacing `[custom]` with the prefix you registered:
|
|
168
168
|
|
|
169
169
|
<pre class="language-js"><code class="language-js">import type { AuroCombobox } from '@aurodesignsystem/auro-formkit/auro-combobox/class';
|
|
170
170
|
import type { AuroMenu, AuroMenuOption } from '@aurodesignsystem/auro-formkit/auro-menu/class';
|
|
@@ -230,7 +230,7 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
|
|
|
230
230
|
<div class="accordion-content">
|
|
231
231
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/getting-started/svelte.md) -->
|
|
232
232
|
<!-- The below content is automatically added from ./../docs/partials/getting-started/svelte.md -->
|
|
233
|
-
Svelte has <a href="https://svelte.dev/docs/svelte/custom-elements">native support for custom elements</a>, so
|
|
233
|
+
Svelte has <a href="https://svelte.dev/docs/svelte/custom-elements">native support for custom elements</a>, so the combobox works directly in Svelte templates without any wrapper or configuration. The examples below register it under a custom tag name, such as <code><custom-combobox></code>, and use that tag.
|
|
234
234
|
|
|
235
235
|
<auro-header level="3" id="svelteImport">Import the component</auro-header>
|
|
236
236
|
Import and register the components in the `<script>` block:
|
|
@@ -244,7 +244,7 @@ Import and register the components in the `<script>` block:
|
|
|
244
244
|
</script></code></pre>
|
|
245
245
|
|
|
246
246
|
<auro-header level="3" id="svelteUsage">Basic usage</auro-header>
|
|
247
|
-
Use
|
|
247
|
+
Use the combobox directly in your Svelte template, under the tag name you registered. Bind properties with standard Svelte attribute syntax:
|
|
248
248
|
|
|
249
249
|
<pre class="language-html"><code class="language-html"><script lang="ts">
|
|
250
250
|
import { AuroCombobox } from '@aurodesignsystem/auro-formkit/auro-combobox/class';
|
|
@@ -272,7 +272,7 @@ Use `<auro-combobox>` directly in your Svelte template. Bind properties with sta
|
|
|
272
272
|
</custom-combobox></code></pre>
|
|
273
273
|
|
|
274
274
|
<auro-header level="3" id="svelteTypeScript">TypeScript declarations</auro-header>
|
|
275
|
-
Svelte doesn't automatically know about custom element attributes. To get autocomplete and type checking for
|
|
275
|
+
Svelte doesn't automatically know about custom element attributes. To get autocomplete and type checking for the combobox's props in templates, add the following to a `.d.ts` file in your project (such as `src/auro-elements.d.ts`), replacing `[custom]` with the prefix you registered:
|
|
276
276
|
|
|
277
277
|
<pre class="language-js"><code class="language-js">import type { AuroCombobox } from '@aurodesignsystem/auro-formkit/auro-combobox/class';
|
|
278
278
|
import type { AuroMenu, AuroMenuOption } from '@aurodesignsystem/auro-formkit/auro-menu/class';
|
|
@@ -362,7 +362,7 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
|
|
|
362
362
|
<auro-header level="3" id="slot-displayValue">displayValue</auro-header>
|
|
363
363
|
<p>Custom HTML content shown in place of the selected value when the combobox doesn't have focus.</p>
|
|
364
364
|
<auro-header level="3" id="slot-ariaLabel-input-clear">ariaLabel.input.clear</auro-header>
|
|
365
|
-
<p>Text screen readers announce for the clear button, such as "Clear selection". The combobox has no default text, so without it the clear button has no accessible name.</p>
|
|
365
|
+
<p>Text screen readers announce for the clear button, such as "Clear selection". 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.</p>
|
|
366
366
|
<auro-header level="3" id="slot-ariaLabel-bib-close">ariaLabel.bib.close</auro-header>
|
|
367
367
|
<p>Text screen readers announce for the close button in the fullscreen bib, such as "Close airport list". Defaults to "Close".</p>
|
|
368
368
|
<auro-header level="3" id="slot-bib-fullscreen-headline">bib.fullscreen.headline</auro-header>
|
|
@@ -375,7 +375,7 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
|
|
|
375
375
|
<auro-header level="3" id="inputValue">inputValue</auro-header>
|
|
376
376
|
<p>Gets the text currently in the input, whether or not it matches a menu option. It changes as the user types, and it's read-only.</p>
|
|
377
377
|
<auro-header level="3" id="optionSelected">optionSelected</auro-header>
|
|
378
|
-
<p>
|
|
378
|
+
<p>Gets the selected <code><auro-menuoption></code> element, or <code>undefined</code> when no option is selected.</p>
|
|
379
379
|
<auro-header level="3" id="typedValue">typedValue</auro-header>
|
|
380
380
|
<p>Sets the text shown in the input, such as a search the user started earlier. It doesn't update as the user types, so read <code>inputValue</code> to get the current text.</p>
|
|
381
381
|
<auro-header level="3" id="validity">validity</auro-header>
|
|
@@ -401,6 +401,7 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
|
|
|
401
401
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
402
402
|
<span slot="label">Name</span>
|
|
403
403
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
404
|
+
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
404
405
|
<auro-menu>
|
|
405
406
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
406
407
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -422,6 +423,7 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
|
|
|
422
423
|
<span slot="bib.fullscreen.headline">Bib header</span>
|
|
423
424
|
<span slot="label">Name</span>
|
|
424
425
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
426
|
+
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
425
427
|
<auro-menu>
|
|
426
428
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
427
429
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -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 = '202611092100';
|
|
5303
5303
|
|
|
5304
5304
|
/**
|
|
5305
5305
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -6962,7 +6962,7 @@ const watchedItems = new Set();
|
|
|
6962
6962
|
/**
|
|
6963
6963
|
* Sets an element's `lang` to the page's language.
|
|
6964
6964
|
* @private
|
|
6965
|
-
* @param {object} item -
|
|
6965
|
+
* @param {object} item - The element to update.
|
|
6966
6966
|
* @param {string} lang - The page's current language.
|
|
6967
6967
|
*/
|
|
6968
6968
|
function setLang(item, lang) {
|
|
@@ -17813,7 +17813,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
17813
17813
|
/**
|
|
17814
17814
|
* Does not currently change any message. To set the error message for an invalid email address,
|
|
17815
17815
|
* use `setCustomValidityForType`.
|
|
17816
|
-
* @relevantWhen !noValidate
|
|
17817
17816
|
* @category behavior
|
|
17818
17817
|
*/
|
|
17819
17818
|
customValidityTypeEmail: {
|
|
@@ -18082,7 +18081,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18082
18081
|
/**
|
|
18083
18082
|
* Makes the input invalid when it's left empty, and removes the " (optional)" text after the label.
|
|
18084
18083
|
* Use `setCustomValidityValueMissing` to set the error message.
|
|
18085
|
-
* @relevantWhen !noValidate
|
|
18086
18084
|
* @category behavior
|
|
18087
18085
|
*/
|
|
18088
18086
|
required: {
|
|
@@ -18093,7 +18091,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18093
18091
|
/**
|
|
18094
18092
|
* Sets one error message for every kind of validation error. When set, it replaces the messages from
|
|
18095
18093
|
* `error` and every other `setCustomValidity*` property.
|
|
18096
|
-
* @relevantWhen !noValidate
|
|
18097
18094
|
* @category behavior
|
|
18098
18095
|
*/
|
|
18099
18096
|
setCustomValidity: {
|
|
@@ -18104,7 +18101,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18104
18101
|
/**
|
|
18105
18102
|
* Sets the error message for `validity="badInput"`. Does not currently change any message,
|
|
18106
18103
|
* because the input never reports `badInput`.
|
|
18107
|
-
* @relevantWhen !noValidate
|
|
18108
18104
|
* @category behavior
|
|
18109
18105
|
*/
|
|
18110
18106
|
setCustomValidityBadInput: {
|
|
@@ -18114,7 +18110,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18114
18110
|
|
|
18115
18111
|
/**
|
|
18116
18112
|
* Sets the error message shown while the `error` attribute is set, in place of the `error` value.
|
|
18117
|
-
* @relevantWhen !noValidate
|
|
18118
18113
|
* @category behavior
|
|
18119
18114
|
*/
|
|
18120
18115
|
setCustomValidityCustomError: {
|
|
@@ -18125,7 +18120,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18125
18120
|
/**
|
|
18126
18121
|
* Sets the error message shown when the value doesn't fit its `type`, such as a badly formed email address,
|
|
18127
18122
|
* an incomplete card number, or an incomplete date. When not set, `email`, `credit-card`, and most `date` inputs use a built-in message.
|
|
18128
|
-
* @relevantWhen !noValidate
|
|
18129
18123
|
* @category behavior
|
|
18130
18124
|
*/
|
|
18131
18125
|
setCustomValidityForType: {
|
|
@@ -18136,7 +18130,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18136
18130
|
/**
|
|
18137
18131
|
* Sets the error message shown when the value doesn't match `pattern`, or when a date isn't a real calendar date.
|
|
18138
18132
|
* For `pattern`, it does not currently work when set only as a property, so set the attribute instead.
|
|
18139
|
-
* @relevantWhen !noValidate
|
|
18140
18133
|
* @category behavior
|
|
18141
18134
|
*/
|
|
18142
18135
|
setCustomValidityPatternMismatch: {
|
|
@@ -18146,7 +18139,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18146
18139
|
|
|
18147
18140
|
/**
|
|
18148
18141
|
* Sets the error message shown when the value is above `max`.
|
|
18149
|
-
* @relevantWhen !noValidate
|
|
18150
18142
|
* @category behavior
|
|
18151
18143
|
*/
|
|
18152
18144
|
setCustomValidityRangeOverflow: {
|
|
@@ -18156,7 +18148,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18156
18148
|
|
|
18157
18149
|
/**
|
|
18158
18150
|
* Sets the error message shown when the value is below `min`.
|
|
18159
|
-
* @relevantWhen !noValidate
|
|
18160
18151
|
* @category behavior
|
|
18161
18152
|
*/
|
|
18162
18153
|
setCustomValidityRangeUnderflow: {
|
|
@@ -18167,7 +18158,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18167
18158
|
/**
|
|
18168
18159
|
* Sets the error message shown when the value is longer than `maxlength`.
|
|
18169
18160
|
* Does not currently work when set only as a property, so set the attribute instead.
|
|
18170
|
-
* @relevantWhen !noValidate
|
|
18171
18161
|
* @category behavior
|
|
18172
18162
|
*/
|
|
18173
18163
|
setCustomValidityTooLong: {
|
|
@@ -18178,7 +18168,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18178
18168
|
/**
|
|
18179
18169
|
* Sets the error message shown when the value is shorter than `minlength`.
|
|
18180
18170
|
* Does not currently work when set only as a property, so set the attribute instead.
|
|
18181
|
-
* @relevantWhen !noValidate
|
|
18182
18171
|
* @category behavior
|
|
18183
18172
|
*/
|
|
18184
18173
|
setCustomValidityTooShort: {
|
|
@@ -18188,7 +18177,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18188
18177
|
|
|
18189
18178
|
/**
|
|
18190
18179
|
* Sets the error message shown when a `required` input is left empty.
|
|
18191
|
-
* @relevantWhen !noValidate
|
|
18192
18180
|
* @category behavior
|
|
18193
18181
|
*/
|
|
18194
18182
|
setCustomValidityValueMissing: {
|
|
@@ -19495,7 +19483,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
19495
19483
|
}
|
|
19496
19484
|
};
|
|
19497
19485
|
|
|
19498
|
-
var formkitVersion$1 = '
|
|
19486
|
+
var formkitVersion$1 = '202611092100';
|
|
19499
19487
|
|
|
19500
19488
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
19501
19489
|
// See LICENSE in the project root for license information.
|
|
@@ -20781,7 +20769,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
20781
20769
|
}
|
|
20782
20770
|
}
|
|
20783
20771
|
|
|
20784
|
-
var formkitVersion = '
|
|
20772
|
+
var formkitVersion = '202611092100';
|
|
20785
20773
|
|
|
20786
20774
|
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}`;
|
|
20787
20775
|
|
|
@@ -21239,6 +21227,7 @@ function getOptionLabel(option) {
|
|
|
21239
21227
|
* <span slot="bib.fullscreen.headline">Choose a destination</span>
|
|
21240
21228
|
* <span slot="label">Destination</span>
|
|
21241
21229
|
* <span slot="ariaLabel.input.clear">Clear destination</span>
|
|
21230
|
+
* <span slot="ariaLabel.bib.close">Close destination list</span>
|
|
21242
21231
|
* <auro-menu>
|
|
21243
21232
|
* <auro-menuoption value="SEA">Seattle</auro-menuoption>
|
|
21244
21233
|
* <auro-menuoption value="LAX">Los Angeles</auro-menuoption>
|
|
@@ -21797,7 +21786,7 @@ class AuroCombobox extends AuroElement {
|
|
|
21797
21786
|
|
|
21798
21787
|
/**
|
|
21799
21788
|
* Sets or gets the combobox's value: the chosen option's `value`, or the text in the input when no option is chosen.
|
|
21800
|
-
* A value that matches
|
|
21789
|
+
* A value that matches only `disabled` or `static` options is rejected, which clears `value` and `optionSelected` to `undefined`.
|
|
21801
21790
|
* A value that matches a `hidden` option, such as one filtered out by typing, still selects it.
|
|
21802
21791
|
* @category behavior
|
|
21803
21792
|
*/
|
|
@@ -22398,6 +22387,9 @@ class AuroCombobox extends AuroElement {
|
|
|
22398
22387
|
}
|
|
22399
22388
|
|
|
22400
22389
|
/**
|
|
22390
|
+
* Moves focus to the clear button in the trigger input, after two animation frames.
|
|
22391
|
+
* Focuses the input first, because the clear button can't take focus while focus is on the page body,
|
|
22392
|
+
* such as after a click selection closes the bib.
|
|
22401
22393
|
* @private
|
|
22402
22394
|
*/
|
|
22403
22395
|
setClearBtnFocus() {
|
|
@@ -22417,6 +22409,8 @@ class AuroCombobox extends AuroElement {
|
|
|
22417
22409
|
}
|
|
22418
22410
|
|
|
22419
22411
|
/**
|
|
22412
|
+
* Moves focus to the native `<input>` in the trigger after two animation frames, so focus lands
|
|
22413
|
+
* after the input finishes rendering. Does nothing when the trigger has no native `<input>` yet.
|
|
22420
22414
|
* @private
|
|
22421
22415
|
*/
|
|
22422
22416
|
setTriggerInputFocus() {
|
|
@@ -22431,6 +22425,9 @@ class AuroCombobox extends AuroElement {
|
|
|
22431
22425
|
}
|
|
22432
22426
|
|
|
22433
22427
|
/**
|
|
22428
|
+
* Moves focus to the input people type in: the native `<input>` in the fullscreen bib while that bib is open,
|
|
22429
|
+
* or the trigger input otherwise.
|
|
22430
|
+
* In the fullscreen bib, it first copies the trigger's text into the bib's input, then puts the cursor at the end of the text.
|
|
22434
22431
|
* @private
|
|
22435
22432
|
*/
|
|
22436
22433
|
setInputFocus() {
|
|
@@ -180,6 +180,7 @@
|
|
|
180
180
|
<span slot="bib.fullscreen.headline">Left combobox header</span>
|
|
181
181
|
<span slot="label">Name</span>
|
|
182
182
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
183
|
+
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
183
184
|
<auro-menu>
|
|
184
185
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
185
186
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -201,6 +202,7 @@
|
|
|
201
202
|
<span slot="bib.fullscreen.headline">Right combobox header</span>
|
|
202
203
|
<span slot="label">Name</span>
|
|
203
204
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
205
|
+
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
204
206
|
<auro-menu>
|
|
205
207
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
206
208
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -236,6 +238,7 @@
|
|
|
236
238
|
<span slot="bib.fullscreen.headline">Left combobox header</span>
|
|
237
239
|
<span slot="label">Name</span>
|
|
238
240
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
241
|
+
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
239
242
|
<auro-menu>
|
|
240
243
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
241
244
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -257,6 +260,7 @@
|
|
|
257
260
|
<span slot="bib.fullscreen.headline">Right combobox header</span>
|
|
258
261
|
<span slot="label">Name</span>
|
|
259
262
|
<span slot="ariaLabel.input.clear">Clear name</span>
|
|
263
|
+
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
260
264
|
<auro-menu>
|
|
261
265
|
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
262
266
|
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
@@ -5314,7 +5314,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
5314
5314
|
}
|
|
5315
5315
|
};
|
|
5316
5316
|
|
|
5317
|
-
var formkitVersion$2 = '
|
|
5317
|
+
var formkitVersion$2 = '202611092100';
|
|
5318
5318
|
|
|
5319
5319
|
/**
|
|
5320
5320
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
@@ -6977,7 +6977,7 @@ const watchedItems = new Set();
|
|
|
6977
6977
|
/**
|
|
6978
6978
|
* Sets an element's `lang` to the page's language.
|
|
6979
6979
|
* @private
|
|
6980
|
-
* @param {object} item -
|
|
6980
|
+
* @param {object} item - The element to update.
|
|
6981
6981
|
* @param {string} lang - The page's current language.
|
|
6982
6982
|
*/
|
|
6983
6983
|
function setLang(item, lang) {
|
|
@@ -17828,7 +17828,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
17828
17828
|
/**
|
|
17829
17829
|
* Does not currently change any message. To set the error message for an invalid email address,
|
|
17830
17830
|
* use `setCustomValidityForType`.
|
|
17831
|
-
* @relevantWhen !noValidate
|
|
17832
17831
|
* @category behavior
|
|
17833
17832
|
*/
|
|
17834
17833
|
customValidityTypeEmail: {
|
|
@@ -18097,7 +18096,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18097
18096
|
/**
|
|
18098
18097
|
* Makes the input invalid when it's left empty, and removes the " (optional)" text after the label.
|
|
18099
18098
|
* Use `setCustomValidityValueMissing` to set the error message.
|
|
18100
|
-
* @relevantWhen !noValidate
|
|
18101
18099
|
* @category behavior
|
|
18102
18100
|
*/
|
|
18103
18101
|
required: {
|
|
@@ -18108,7 +18106,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18108
18106
|
/**
|
|
18109
18107
|
* Sets one error message for every kind of validation error. When set, it replaces the messages from
|
|
18110
18108
|
* `error` and every other `setCustomValidity*` property.
|
|
18111
|
-
* @relevantWhen !noValidate
|
|
18112
18109
|
* @category behavior
|
|
18113
18110
|
*/
|
|
18114
18111
|
setCustomValidity: {
|
|
@@ -18119,7 +18116,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18119
18116
|
/**
|
|
18120
18117
|
* Sets the error message for `validity="badInput"`. Does not currently change any message,
|
|
18121
18118
|
* because the input never reports `badInput`.
|
|
18122
|
-
* @relevantWhen !noValidate
|
|
18123
18119
|
* @category behavior
|
|
18124
18120
|
*/
|
|
18125
18121
|
setCustomValidityBadInput: {
|
|
@@ -18129,7 +18125,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18129
18125
|
|
|
18130
18126
|
/**
|
|
18131
18127
|
* Sets the error message shown while the `error` attribute is set, in place of the `error` value.
|
|
18132
|
-
* @relevantWhen !noValidate
|
|
18133
18128
|
* @category behavior
|
|
18134
18129
|
*/
|
|
18135
18130
|
setCustomValidityCustomError: {
|
|
@@ -18140,7 +18135,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18140
18135
|
/**
|
|
18141
18136
|
* Sets the error message shown when the value doesn't fit its `type`, such as a badly formed email address,
|
|
18142
18137
|
* an incomplete card number, or an incomplete date. When not set, `email`, `credit-card`, and most `date` inputs use a built-in message.
|
|
18143
|
-
* @relevantWhen !noValidate
|
|
18144
18138
|
* @category behavior
|
|
18145
18139
|
*/
|
|
18146
18140
|
setCustomValidityForType: {
|
|
@@ -18151,7 +18145,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18151
18145
|
/**
|
|
18152
18146
|
* Sets the error message shown when the value doesn't match `pattern`, or when a date isn't a real calendar date.
|
|
18153
18147
|
* For `pattern`, it does not currently work when set only as a property, so set the attribute instead.
|
|
18154
|
-
* @relevantWhen !noValidate
|
|
18155
18148
|
* @category behavior
|
|
18156
18149
|
*/
|
|
18157
18150
|
setCustomValidityPatternMismatch: {
|
|
@@ -18161,7 +18154,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18161
18154
|
|
|
18162
18155
|
/**
|
|
18163
18156
|
* Sets the error message shown when the value is above `max`.
|
|
18164
|
-
* @relevantWhen !noValidate
|
|
18165
18157
|
* @category behavior
|
|
18166
18158
|
*/
|
|
18167
18159
|
setCustomValidityRangeOverflow: {
|
|
@@ -18171,7 +18163,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18171
18163
|
|
|
18172
18164
|
/**
|
|
18173
18165
|
* Sets the error message shown when the value is below `min`.
|
|
18174
|
-
* @relevantWhen !noValidate
|
|
18175
18166
|
* @category behavior
|
|
18176
18167
|
*/
|
|
18177
18168
|
setCustomValidityRangeUnderflow: {
|
|
@@ -18182,7 +18173,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18182
18173
|
/**
|
|
18183
18174
|
* Sets the error message shown when the value is longer than `maxlength`.
|
|
18184
18175
|
* Does not currently work when set only as a property, so set the attribute instead.
|
|
18185
|
-
* @relevantWhen !noValidate
|
|
18186
18176
|
* @category behavior
|
|
18187
18177
|
*/
|
|
18188
18178
|
setCustomValidityTooLong: {
|
|
@@ -18193,7 +18183,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18193
18183
|
/**
|
|
18194
18184
|
* Sets the error message shown when the value is shorter than `minlength`.
|
|
18195
18185
|
* Does not currently work when set only as a property, so set the attribute instead.
|
|
18196
|
-
* @relevantWhen !noValidate
|
|
18197
18186
|
* @category behavior
|
|
18198
18187
|
*/
|
|
18199
18188
|
setCustomValidityTooShort: {
|
|
@@ -18203,7 +18192,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
18203
18192
|
|
|
18204
18193
|
/**
|
|
18205
18194
|
* Sets the error message shown when a `required` input is left empty.
|
|
18206
|
-
* @relevantWhen !noValidate
|
|
18207
18195
|
* @category behavior
|
|
18208
18196
|
*/
|
|
18209
18197
|
setCustomValidityValueMissing: {
|
|
@@ -19510,7 +19498,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
19510
19498
|
}
|
|
19511
19499
|
};
|
|
19512
19500
|
|
|
19513
|
-
var formkitVersion$1 = '
|
|
19501
|
+
var formkitVersion$1 = '202611092100';
|
|
19514
19502
|
|
|
19515
19503
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
19516
19504
|
// See LICENSE in the project root for license information.
|
|
@@ -20796,7 +20784,7 @@ class AuroBibtemplate extends i$3 {
|
|
|
20796
20784
|
}
|
|
20797
20785
|
}
|
|
20798
20786
|
|
|
20799
|
-
var formkitVersion = '
|
|
20787
|
+
var formkitVersion = '202611092100';
|
|
20800
20788
|
|
|
20801
20789
|
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}`;
|
|
20802
20790
|
|
|
@@ -21254,6 +21242,7 @@ function getOptionLabel(option) {
|
|
|
21254
21242
|
* <span slot="bib.fullscreen.headline">Choose a destination</span>
|
|
21255
21243
|
* <span slot="label">Destination</span>
|
|
21256
21244
|
* <span slot="ariaLabel.input.clear">Clear destination</span>
|
|
21245
|
+
* <span slot="ariaLabel.bib.close">Close destination list</span>
|
|
21257
21246
|
* <auro-menu>
|
|
21258
21247
|
* <auro-menuoption value="SEA">Seattle</auro-menuoption>
|
|
21259
21248
|
* <auro-menuoption value="LAX">Los Angeles</auro-menuoption>
|
|
@@ -21812,7 +21801,7 @@ class AuroCombobox extends AuroElement {
|
|
|
21812
21801
|
|
|
21813
21802
|
/**
|
|
21814
21803
|
* Sets or gets the combobox's value: the chosen option's `value`, or the text in the input when no option is chosen.
|
|
21815
|
-
* A value that matches
|
|
21804
|
+
* A value that matches only `disabled` or `static` options is rejected, which clears `value` and `optionSelected` to `undefined`.
|
|
21816
21805
|
* A value that matches a `hidden` option, such as one filtered out by typing, still selects it.
|
|
21817
21806
|
* @category behavior
|
|
21818
21807
|
*/
|
|
@@ -22413,6 +22402,9 @@ class AuroCombobox extends AuroElement {
|
|
|
22413
22402
|
}
|
|
22414
22403
|
|
|
22415
22404
|
/**
|
|
22405
|
+
* Moves focus to the clear button in the trigger input, after two animation frames.
|
|
22406
|
+
* Focuses the input first, because the clear button can't take focus while focus is on the page body,
|
|
22407
|
+
* such as after a click selection closes the bib.
|
|
22416
22408
|
* @private
|
|
22417
22409
|
*/
|
|
22418
22410
|
setClearBtnFocus() {
|
|
@@ -22432,6 +22424,8 @@ class AuroCombobox extends AuroElement {
|
|
|
22432
22424
|
}
|
|
22433
22425
|
|
|
22434
22426
|
/**
|
|
22427
|
+
* Moves focus to the native `<input>` in the trigger after two animation frames, so focus lands
|
|
22428
|
+
* after the input finishes rendering. Does nothing when the trigger has no native `<input>` yet.
|
|
22435
22429
|
* @private
|
|
22436
22430
|
*/
|
|
22437
22431
|
setTriggerInputFocus() {
|
|
@@ -22446,6 +22440,9 @@ class AuroCombobox extends AuroElement {
|
|
|
22446
22440
|
}
|
|
22447
22441
|
|
|
22448
22442
|
/**
|
|
22443
|
+
* Moves focus to the input people type in: the native `<input>` in the fullscreen bib while that bib is open,
|
|
22444
|
+
* or the trigger input otherwise.
|
|
22445
|
+
* In the fullscreen bib, it first copies the trigger's text into the bib's input, then puts the cursor at the end of the text.
|
|
22449
22446
|
* @private
|
|
22450
22447
|
*/
|
|
22451
22448
|
setInputFocus() {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
* <span slot="bib.fullscreen.headline">Choose a destination</span>
|
|
16
16
|
* <span slot="label">Destination</span>
|
|
17
17
|
* <span slot="ariaLabel.input.clear">Clear destination</span>
|
|
18
|
+
* <span slot="ariaLabel.bib.close">Close destination list</span>
|
|
18
19
|
* <auro-menu>
|
|
19
20
|
* <auro-menuoption value="SEA">Seattle</auro-menuoption>
|
|
20
21
|
* <auro-menuoption value="LAX">Los Angeles</auro-menuoption>
|
|
@@ -379,7 +380,7 @@ export class AuroCombobox extends AuroElement {
|
|
|
379
380
|
};
|
|
380
381
|
/**
|
|
381
382
|
* Sets or gets the combobox's value: the chosen option's `value`, or the text in the input when no option is chosen.
|
|
382
|
-
* A value that matches
|
|
383
|
+
* A value that matches only `disabled` or `static` options is rejected, which clears `value` and `optionSelected` to `undefined`.
|
|
383
384
|
* A value that matches a `hidden` option, such as one filtered out by typing, still selects it.
|
|
384
385
|
* @category behavior
|
|
385
386
|
*/
|
|
@@ -594,14 +595,22 @@ export class AuroCombobox extends AuroElement {
|
|
|
594
595
|
bibtemplate: any;
|
|
595
596
|
inputInBib: any;
|
|
596
597
|
/**
|
|
598
|
+
* Moves focus to the input people type in: the native `<input>` in the fullscreen bib while that bib is open,
|
|
599
|
+
* or the trigger input otherwise.
|
|
600
|
+
* In the fullscreen bib, it first copies the trigger's text into the bib's input, then puts the cursor at the end of the text.
|
|
597
601
|
* @private
|
|
598
602
|
*/
|
|
599
603
|
private setInputFocus;
|
|
600
604
|
/**
|
|
605
|
+
* Moves focus to the clear button in the trigger input, after two animation frames.
|
|
606
|
+
* Focuses the input first, because the clear button can't take focus while focus is on the page body,
|
|
607
|
+
* such as after a click selection closes the bib.
|
|
601
608
|
* @private
|
|
602
609
|
*/
|
|
603
610
|
private setClearBtnFocus;
|
|
604
611
|
/**
|
|
612
|
+
* Moves focus to the native `<input>` in the trigger after two animation frames, so focus lands
|
|
613
|
+
* after the input finishes rendering. Does nothing when the trigger has no native `<input>` yet.
|
|
605
614
|
* @private
|
|
606
615
|
*/
|
|
607
616
|
private setTriggerInputFocus;
|