@aurodesignsystem-dev/auro-formkit 0.0.0-pr1537.0 → 0.0.0-pr1537.1
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/customize.min.js +3 -3
- package/components/combobox/demo/getting-started.min.js +3 -3
- package/components/combobox/demo/index.min.js +3 -3
- package/components/combobox/dist/index.js +3 -3
- package/components/combobox/dist/registered.js +3 -3
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/customize.min.js +3 -3
- package/components/datepicker/demo/index.min.js +3 -3
- package/components/datepicker/dist/index.js +3 -3
- package/components/datepicker/dist/registered.js +3 -3
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +1 -1
- 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.md +48 -71
- package/components/form/demo/customize.min.js +21 -46
- package/components/form/demo/getting-started.md +48 -16
- package/components/form/demo/getting-started.min.js +21 -46
- package/components/form/demo/index.min.js +13 -13
- package/components/form/demo/registerDemoDeps.min.js +13 -13
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- 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/customize.min.js +2 -2
- package/components/select/demo/getting-started.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/custom-elements.json +548 -548
- package/package.json +1 -1
|
@@ -117,13 +117,14 @@
|
|
|
117
117
|
<div class="exampleWrapper">
|
|
118
118
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/complex.html) -->
|
|
119
119
|
<!-- The below content is automatically added from ./../apiExamples/complex.html -->
|
|
120
|
-
<auro-form id="
|
|
121
|
-
<!--
|
|
120
|
+
<auro-form id="bookingForm" class="trip-form">
|
|
121
|
+
<!-- Cabin — auro-radio-group -->
|
|
122
122
|
<div class="form-section">
|
|
123
|
-
<auro-radio-group required name="
|
|
124
|
-
<span slot="legend">
|
|
125
|
-
<auro-radio id="
|
|
126
|
-
<auro-radio id="
|
|
123
|
+
<auro-radio-group required name="cabin">
|
|
124
|
+
<span slot="legend">Cabin</span>
|
|
125
|
+
<auro-radio id="cabin-main" name="cabinChoice" label="Main" value="main" checked></auro-radio>
|
|
126
|
+
<auro-radio id="cabin-premium" name="cabinChoice" label="Premium" value="premium"></auro-radio>
|
|
127
|
+
<auro-radio id="cabin-first" name="cabinChoice" label="First class" value="first"></auro-radio>
|
|
127
128
|
</auro-radio-group>
|
|
128
129
|
</div>
|
|
129
130
|
<!-- Route — auro-select (from) + auro-combobox (to) -->
|
|
@@ -214,9 +215,9 @@
|
|
|
214
215
|
<auro-button type="submit">Search flights</auro-button>
|
|
215
216
|
</div>
|
|
216
217
|
</auro-form>
|
|
217
|
-
<output id="
|
|
218
|
+
<output id="bookingFormOutput" aria-live="polite">Fill in the required fields and submit to see the collected form value. Notice the shapes each field contributes — <code>travelDates</code> as a two-item <code>[departure, return]</code> array, <code>travelers</code> as an object keyed by counter name, <code>extras</code> as an array, and <code>cabin</code> as the selected value.</output>
|
|
218
219
|
<style>
|
|
219
|
-
#
|
|
220
|
+
#bookingFormOutput {
|
|
220
221
|
display: block;
|
|
221
222
|
margin-top: 2rem;
|
|
222
223
|
padding: 1rem 1.25rem;
|
|
@@ -280,73 +281,19 @@
|
|
|
280
281
|
}
|
|
281
282
|
</style>
|
|
282
283
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
283
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/complex.js) -->
|
|
284
|
-
<!-- The below content is automatically added from ./../apiExamples/complex.js -->
|
|
285
|
-
/* eslint-disable jsdoc/require-jsdoc */
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* Wires the trip-type radio group in the complex booking example to the
|
|
289
|
-
* travel-dates datepicker. Choosing "One way" removes the datepicker's `range`
|
|
290
|
-
* attribute (a single departure date, no return); "Round trip" restores it.
|
|
291
|
-
*
|
|
292
|
-
* This also demonstrates a form-level behavior: because `auro-form` tracks its
|
|
293
|
-
* fields and reads a `range` datepicker via `.values` (and a single-date picker
|
|
294
|
-
* via `.value`), the collected `travelDates` entry changes shape to match the
|
|
295
|
-
* selected trip type — a `[departure, return]` array for round trip, a single
|
|
296
|
-
* date string for one way.
|
|
297
|
-
*/
|
|
298
|
-
export async function complexExample() {
|
|
299
|
-
await customElements.whenDefined('auro-form');
|
|
300
|
-
|
|
301
|
-
const form = document.querySelector('#tripForm');
|
|
302
|
-
if (!form) {
|
|
303
|
-
throw new Error('complexExample: #tripForm not yet rendered');
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
const output = document.querySelector('#tripFormOutput');
|
|
307
|
-
if (!output) {
|
|
308
|
-
throw new Error('complexExample: #tripFormOutput not yet rendered');
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
await form.updateComplete;
|
|
312
|
-
|
|
313
|
-
const tripType = form.querySelector('auro-radio-group[name="tripType"]');
|
|
314
|
-
const datepicker = form.querySelector('auro-datepicker[name="travelDates"]');
|
|
315
|
-
|
|
316
|
-
if (!tripType || !datepicker) {
|
|
317
|
-
throw new Error('complexExample: trip-type radio group or datepicker not found');
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
const syncDatepickerToTripType = () => {
|
|
321
|
-
if (tripType.value === 'oneway') {
|
|
322
|
-
datepicker.removeAttribute('range');
|
|
323
|
-
} else {
|
|
324
|
-
datepicker.setAttribute('range', '');
|
|
325
|
-
}
|
|
326
|
-
};
|
|
327
|
-
|
|
328
|
-
// Reflect the initial selection (Round trip) on load, then keep in sync.
|
|
329
|
-
syncDatepickerToTripType();
|
|
330
|
-
tripType.addEventListener('input', syncDatepickerToTripType);
|
|
331
|
-
|
|
332
|
-
// Display the collected form value on submit, mirroring the Disabled Fields example.
|
|
333
|
-
form.addEventListener('submit', (event) => {
|
|
334
|
-
output.textContent = JSON.stringify(event.detail.value, null, 2);
|
|
335
|
-
});
|
|
336
|
-
}
|
|
337
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
338
284
|
</div>
|
|
339
285
|
<auro-accordion alignRight>
|
|
340
286
|
<span slot="trigger">See code</span>
|
|
341
287
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/complex.html) -->
|
|
342
288
|
<!-- The below code snippet is automatically added from ./../apiExamples/complex.html -->
|
|
343
|
-
<pre class="language-html"><code class="language-html"><auro-form id="
|
|
344
|
-
<!--
|
|
289
|
+
<pre class="language-html"><code class="language-html"><auro-form id="bookingForm" class="trip-form">
|
|
290
|
+
<!-- Cabin — auro-radio-group -->
|
|
345
291
|
<div class="form-section">
|
|
346
|
-
<auro-radio-group required name="
|
|
347
|
-
<span slot="legend">
|
|
348
|
-
<auro-radio id="
|
|
349
|
-
<auro-radio id="
|
|
292
|
+
<auro-radio-group required name="cabin">
|
|
293
|
+
<span slot="legend">Cabin</span>
|
|
294
|
+
<auro-radio id="cabin-main" name="cabinChoice" label="Main" value="main" checked></auro-radio>
|
|
295
|
+
<auro-radio id="cabin-premium" name="cabinChoice" label="Premium" value="premium"></auro-radio>
|
|
296
|
+
<auro-radio id="cabin-first" name="cabinChoice" label="First class" value="first"></auro-radio>
|
|
350
297
|
</auro-radio-group>
|
|
351
298
|
</div>
|
|
352
299
|
<!-- Route — auro-select (from) + auro-combobox (to) -->
|
|
@@ -437,9 +384,9 @@
|
|
|
437
384
|
<auro-button type="submit">Search flights</auro-button>
|
|
438
385
|
</div>
|
|
439
386
|
</auro-form>
|
|
440
|
-
<output id="
|
|
387
|
+
<output id="bookingFormOutput" aria-live="polite">Fill in the required fields and submit to see the collected form value. Notice the shapes each field contributes — <code>travelDates</code> as a two-item <code>[departure, return]</code> array, <code>travelers</code> as an object keyed by counter name, <code>extras</code> as an array, and <code>cabin</code> as the selected value.</output>
|
|
441
388
|
<style>
|
|
442
|
-
#
|
|
389
|
+
#bookingFormOutput {
|
|
443
390
|
display: block;
|
|
444
391
|
margin-top: 2rem;
|
|
445
392
|
padding: 1rem 1.25rem;
|
|
@@ -503,6 +450,36 @@
|
|
|
503
450
|
}
|
|
504
451
|
</style></code></pre>
|
|
505
452
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
453
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/complex.js) -->
|
|
454
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/complex.js -->
|
|
455
|
+
<pre class="language-js"><code class="language-js">/* eslint-disable jsdoc/require-jsdoc */
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* Displays the collected value of the complex booking form on submit, mirroring
|
|
459
|
+
* the Disabled Fields example. Every field in this form — including the cabin
|
|
460
|
+
* radio group — is collected into `form.value` automatically by `auro-form`; no
|
|
461
|
+
* per-field wiring is needed.
|
|
462
|
+
*/
|
|
463
|
+
export async function complexExample() {
|
|
464
|
+
await customElements.whenDefined('auro-form');
|
|
465
|
+
|
|
466
|
+
const form = document.querySelector('#bookingForm');
|
|
467
|
+
if (!form) {
|
|
468
|
+
throw new Error('complexExample: #bookingForm not yet rendered');
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
const output = document.querySelector('#bookingFormOutput');
|
|
472
|
+
if (!output) {
|
|
473
|
+
throw new Error('complexExample: #bookingFormOutput not yet rendered');
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
await form.updateComplete;
|
|
477
|
+
|
|
478
|
+
form.addEventListener('submit', (event) => {
|
|
479
|
+
output.textContent = JSON.stringify(event.detail.value, null, 2);
|
|
480
|
+
});
|
|
481
|
+
}</code></pre>
|
|
482
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
506
483
|
</auro-accordion>
|
|
507
484
|
</section>
|
|
508
485
|
<section>
|
|
@@ -13379,7 +13379,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$3 {
|
|
|
13379
13379
|
}
|
|
13380
13380
|
};
|
|
13381
13381
|
|
|
13382
|
-
var formkitVersion$8 = '
|
|
13382
|
+
var formkitVersion$8 = '202607062313';
|
|
13383
13383
|
|
|
13384
13384
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13385
13385
|
// See LICENSE in the project root for license information.
|
|
@@ -27776,7 +27776,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$3 {
|
|
|
27776
27776
|
}
|
|
27777
27777
|
};
|
|
27778
27778
|
|
|
27779
|
-
var formkitVersion$2$1 = '
|
|
27779
|
+
var formkitVersion$2$1 = '202607062313';
|
|
27780
27780
|
|
|
27781
27781
|
let l$1$2 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$2`${s$3(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1$2 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$1$2 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1$3=i$6`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
27782
27782
|
`,u$4$2=i$6`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-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-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-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-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-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-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-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-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-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-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-weight:var(--wcss-heading-xs-weight, 450);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-weight:var(--wcss-heading-2xs-weight, 450);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-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -33669,7 +33669,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$3 {
|
|
|
33669
33669
|
}
|
|
33670
33670
|
};
|
|
33671
33671
|
|
|
33672
|
-
var formkitVersion$1$3 = '
|
|
33672
|
+
var formkitVersion$1$3 = '202607062313';
|
|
33673
33673
|
|
|
33674
33674
|
let AuroElement$2$2 = class AuroElement extends i$3 {
|
|
33675
33675
|
static get properties() {
|
|
@@ -47287,7 +47287,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$3 {
|
|
|
47287
47287
|
}
|
|
47288
47288
|
};
|
|
47289
47289
|
|
|
47290
|
-
var formkitVersion$7 = '
|
|
47290
|
+
var formkitVersion$7 = '202607062313';
|
|
47291
47291
|
|
|
47292
47292
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
47293
47293
|
// See LICENSE in the project root for license information.
|
|
@@ -52203,7 +52203,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$3 {
|
|
|
52203
52203
|
}
|
|
52204
52204
|
};
|
|
52205
52205
|
|
|
52206
|
-
var formkitVersion$1$2 = '
|
|
52206
|
+
var formkitVersion$1$2 = '202607062313';
|
|
52207
52207
|
|
|
52208
52208
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
52209
52209
|
// See LICENSE in the project root for license information.
|
|
@@ -56531,7 +56531,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$3 {
|
|
|
56531
56531
|
}
|
|
56532
56532
|
};
|
|
56533
56533
|
|
|
56534
|
-
var formkitVersion$6 = '
|
|
56534
|
+
var formkitVersion$6 = '202607062313';
|
|
56535
56535
|
|
|
56536
56536
|
let AuroElement$1$2 = class AuroElement extends i$3 {
|
|
56537
56537
|
static get properties() {
|
|
@@ -60511,7 +60511,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$3 {
|
|
|
60511
60511
|
}
|
|
60512
60512
|
};
|
|
60513
60513
|
|
|
60514
|
-
var formkitVersion$5 = '
|
|
60514
|
+
var formkitVersion$5 = '202607062313';
|
|
60515
60515
|
|
|
60516
60516
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
60517
60517
|
// See LICENSE in the project root for license information.
|
|
@@ -62276,7 +62276,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$3 {
|
|
|
62276
62276
|
}
|
|
62277
62277
|
};
|
|
62278
62278
|
|
|
62279
|
-
var formkitVersion$4 = '
|
|
62279
|
+
var formkitVersion$4 = '202607062313';
|
|
62280
62280
|
|
|
62281
62281
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
62282
62282
|
// See LICENSE in the project root for license information.
|
|
@@ -67497,7 +67497,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
|
|
|
67497
67497
|
}
|
|
67498
67498
|
};
|
|
67499
67499
|
|
|
67500
|
-
var formkitVersion$2 = '
|
|
67500
|
+
var formkitVersion$2 = '202607062313';
|
|
67501
67501
|
|
|
67502
67502
|
let AuroElement$2$1 = class AuroElement extends i$3 {
|
|
67503
67503
|
static get properties() {
|
|
@@ -81115,7 +81115,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$3 {
|
|
|
81115
81115
|
}
|
|
81116
81116
|
};
|
|
81117
81117
|
|
|
81118
|
-
var formkitVersion$1$1 = '
|
|
81118
|
+
var formkitVersion$1$1 = '202607062313';
|
|
81119
81119
|
|
|
81120
81120
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
81121
81121
|
// See LICENSE in the project root for license information.
|
|
@@ -82236,7 +82236,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$3 {
|
|
|
82236
82236
|
}
|
|
82237
82237
|
};
|
|
82238
82238
|
|
|
82239
|
-
var formkitVersion$3 = '
|
|
82239
|
+
var formkitVersion$3 = '202607062313';
|
|
82240
82240
|
|
|
82241
82241
|
var styleCss$1$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}`;
|
|
82242
82242
|
|
|
@@ -91137,7 +91137,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
|
|
|
91137
91137
|
}
|
|
91138
91138
|
};
|
|
91139
91139
|
|
|
91140
|
-
var formkitVersion$1 = '
|
|
91140
|
+
var formkitVersion$1 = '202607062313';
|
|
91141
91141
|
|
|
91142
91142
|
class AuroElement extends i$3 {
|
|
91143
91143
|
static get properties() {
|
|
@@ -93176,7 +93176,7 @@ class AuroHelpText extends i$3 {
|
|
|
93176
93176
|
}
|
|
93177
93177
|
}
|
|
93178
93178
|
|
|
93179
|
-
var formkitVersion = '
|
|
93179
|
+
var formkitVersion = '202607062313';
|
|
93180
93180
|
|
|
93181
93181
|
var styleCss = 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}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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 [slot=displayValue]{display:none}.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%;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{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}: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}`;
|
|
93182
93182
|
|
|
@@ -95024,51 +95024,26 @@ async function disableAfterEditExample() {
|
|
|
95024
95024
|
/* eslint-disable jsdoc/require-jsdoc */
|
|
95025
95025
|
|
|
95026
95026
|
/**
|
|
95027
|
-
*
|
|
95028
|
-
*
|
|
95029
|
-
*
|
|
95030
|
-
*
|
|
95031
|
-
* This also demonstrates a form-level behavior: because `auro-form` tracks its
|
|
95032
|
-
* fields and reads a `range` datepicker via `.values` (and a single-date picker
|
|
95033
|
-
* via `.value`), the collected `travelDates` entry changes shape to match the
|
|
95034
|
-
* selected trip type — a `[departure, return]` array for round trip, a single
|
|
95035
|
-
* date string for one way.
|
|
95027
|
+
* Displays the collected value of the complex booking form on submit, mirroring
|
|
95028
|
+
* the Disabled Fields example. Every field in this form — including the cabin
|
|
95029
|
+
* radio group — is collected into `form.value` automatically by `auro-form`; no
|
|
95030
|
+
* per-field wiring is needed.
|
|
95036
95031
|
*/
|
|
95037
95032
|
async function complexExample() {
|
|
95038
95033
|
await customElements.whenDefined('auro-form');
|
|
95039
95034
|
|
|
95040
|
-
const form = document.querySelector('#
|
|
95035
|
+
const form = document.querySelector('#bookingForm');
|
|
95041
95036
|
if (!form) {
|
|
95042
|
-
throw new Error('complexExample: #
|
|
95037
|
+
throw new Error('complexExample: #bookingForm not yet rendered');
|
|
95043
95038
|
}
|
|
95044
95039
|
|
|
95045
|
-
const output = document.querySelector('#
|
|
95040
|
+
const output = document.querySelector('#bookingFormOutput');
|
|
95046
95041
|
if (!output) {
|
|
95047
|
-
throw new Error('complexExample: #
|
|
95042
|
+
throw new Error('complexExample: #bookingFormOutput not yet rendered');
|
|
95048
95043
|
}
|
|
95049
95044
|
|
|
95050
95045
|
await form.updateComplete;
|
|
95051
95046
|
|
|
95052
|
-
const tripType = form.querySelector('auro-radio-group[name="tripType"]');
|
|
95053
|
-
const datepicker = form.querySelector('auro-datepicker[name="travelDates"]');
|
|
95054
|
-
|
|
95055
|
-
if (!tripType || !datepicker) {
|
|
95056
|
-
throw new Error('complexExample: trip-type radio group or datepicker not found');
|
|
95057
|
-
}
|
|
95058
|
-
|
|
95059
|
-
const syncDatepickerToTripType = () => {
|
|
95060
|
-
if (tripType.value === 'oneway') {
|
|
95061
|
-
datepicker.removeAttribute('range');
|
|
95062
|
-
} else {
|
|
95063
|
-
datepicker.setAttribute('range', '');
|
|
95064
|
-
}
|
|
95065
|
-
};
|
|
95066
|
-
|
|
95067
|
-
// Reflect the initial selection (Round trip) on load, then keep in sync.
|
|
95068
|
-
syncDatepickerToTripType();
|
|
95069
|
-
tripType.addEventListener('input', syncDatepickerToTripType);
|
|
95070
|
-
|
|
95071
|
-
// Display the collected form value on submit, mirroring the Disabled Fields example.
|
|
95072
95047
|
form.addEventListener('submit', (event) => {
|
|
95073
95048
|
output.textContent = JSON.stringify(event.detail.value, null, 2);
|
|
95074
95049
|
});
|
|
@@ -304,13 +304,14 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
|
|
|
304
304
|
<div class="exampleWrapper">
|
|
305
305
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/complex.html) -->
|
|
306
306
|
<!-- The below content is automatically added from ./../apiExamples/complex.html -->
|
|
307
|
-
<auro-form id="
|
|
308
|
-
<!--
|
|
307
|
+
<auro-form id="bookingForm" class="trip-form">
|
|
308
|
+
<!-- Cabin — auro-radio-group -->
|
|
309
309
|
<div class="form-section">
|
|
310
|
-
<auro-radio-group required name="
|
|
311
|
-
<span slot="legend">
|
|
312
|
-
<auro-radio id="
|
|
313
|
-
<auro-radio id="
|
|
310
|
+
<auro-radio-group required name="cabin">
|
|
311
|
+
<span slot="legend">Cabin</span>
|
|
312
|
+
<auro-radio id="cabin-main" name="cabinChoice" label="Main" value="main" checked></auro-radio>
|
|
313
|
+
<auro-radio id="cabin-premium" name="cabinChoice" label="Premium" value="premium"></auro-radio>
|
|
314
|
+
<auro-radio id="cabin-first" name="cabinChoice" label="First class" value="first"></auro-radio>
|
|
314
315
|
</auro-radio-group>
|
|
315
316
|
</div>
|
|
316
317
|
<!-- Route — auro-select (from) + auro-combobox (to) -->
|
|
@@ -401,9 +402,9 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
|
|
|
401
402
|
<auro-button type="submit">Search flights</auro-button>
|
|
402
403
|
</div>
|
|
403
404
|
</auro-form>
|
|
404
|
-
<output id="
|
|
405
|
+
<output id="bookingFormOutput" aria-live="polite">Fill in the required fields and submit to see the collected form value. Notice the shapes each field contributes — <code>travelDates</code> as a two-item <code>[departure, return]</code> array, <code>travelers</code> as an object keyed by counter name, <code>extras</code> as an array, and <code>cabin</code> as the selected value.</output>
|
|
405
406
|
<style>
|
|
406
|
-
#
|
|
407
|
+
#bookingFormOutput {
|
|
407
408
|
display: block;
|
|
408
409
|
margin-top: 2rem;
|
|
409
410
|
padding: 1rem 1.25rem;
|
|
@@ -472,13 +473,14 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
|
|
|
472
473
|
<span slot="trigger">See code</span>
|
|
473
474
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/complex.html) -->
|
|
474
475
|
<!-- The below code snippet is automatically added from ./../apiExamples/complex.html -->
|
|
475
|
-
<pre class="language-html"><code class="language-html"><auro-form id="
|
|
476
|
-
<!--
|
|
476
|
+
<pre class="language-html"><code class="language-html"><auro-form id="bookingForm" class="trip-form">
|
|
477
|
+
<!-- Cabin — auro-radio-group -->
|
|
477
478
|
<div class="form-section">
|
|
478
|
-
<auro-radio-group required name="
|
|
479
|
-
<span slot="legend">
|
|
480
|
-
<auro-radio id="
|
|
481
|
-
<auro-radio id="
|
|
479
|
+
<auro-radio-group required name="cabin">
|
|
480
|
+
<span slot="legend">Cabin</span>
|
|
481
|
+
<auro-radio id="cabin-main" name="cabinChoice" label="Main" value="main" checked></auro-radio>
|
|
482
|
+
<auro-radio id="cabin-premium" name="cabinChoice" label="Premium" value="premium"></auro-radio>
|
|
483
|
+
<auro-radio id="cabin-first" name="cabinChoice" label="First class" value="first"></auro-radio>
|
|
482
484
|
</auro-radio-group>
|
|
483
485
|
</div>
|
|
484
486
|
<!-- Route — auro-select (from) + auro-combobox (to) -->
|
|
@@ -569,9 +571,9 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
|
|
|
569
571
|
<auro-button type="submit">Search flights</auro-button>
|
|
570
572
|
</div>
|
|
571
573
|
</auro-form>
|
|
572
|
-
<output id="
|
|
574
|
+
<output id="bookingFormOutput" aria-live="polite">Fill in the required fields and submit to see the collected form value. Notice the shapes each field contributes — <code>travelDates</code> as a two-item <code>[departure, return]</code> array, <code>travelers</code> as an object keyed by counter name, <code>extras</code> as an array, and <code>cabin</code> as the selected value.</output>
|
|
573
575
|
<style>
|
|
574
|
-
#
|
|
576
|
+
#bookingFormOutput {
|
|
575
577
|
display: block;
|
|
576
578
|
margin-top: 2rem;
|
|
577
579
|
padding: 1rem 1.25rem;
|
|
@@ -635,6 +637,36 @@ Ensure your `tsconfig.json` uses `"moduleResolution": "bundler"` so TypeScript c
|
|
|
635
637
|
}
|
|
636
638
|
</style></code></pre>
|
|
637
639
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
640
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/complex.js) -->
|
|
641
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/complex.js -->
|
|
642
|
+
<pre class="language-js"><code class="language-js">/* eslint-disable jsdoc/require-jsdoc */
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* Displays the collected value of the complex booking form on submit, mirroring
|
|
646
|
+
* the Disabled Fields example. Every field in this form — including the cabin
|
|
647
|
+
* radio group — is collected into `form.value` automatically by `auro-form`; no
|
|
648
|
+
* per-field wiring is needed.
|
|
649
|
+
*/
|
|
650
|
+
export async function complexExample() {
|
|
651
|
+
await customElements.whenDefined('auro-form');
|
|
652
|
+
|
|
653
|
+
const form = document.querySelector('#bookingForm');
|
|
654
|
+
if (!form) {
|
|
655
|
+
throw new Error('complexExample: #bookingForm not yet rendered');
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
const output = document.querySelector('#bookingFormOutput');
|
|
659
|
+
if (!output) {
|
|
660
|
+
throw new Error('complexExample: #bookingFormOutput not yet rendered');
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
await form.updateComplete;
|
|
664
|
+
|
|
665
|
+
form.addEventListener('submit', (event) => {
|
|
666
|
+
output.textContent = JSON.stringify(event.detail.value, null, 2);
|
|
667
|
+
});
|
|
668
|
+
}</code></pre>
|
|
669
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
638
670
|
</auro-accordion>
|
|
639
671
|
</section>
|
|
640
672
|
<section>
|