@aurodesignsystem-dev/auro-formkit 0.0.0-pr1471.4 → 0.0.0-pr1474.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 +1 -1
- package/components/counter/dist/registered.js +1 -1
- 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.html +6 -6
- package/components/form/demo/customize.js +17 -0
- package/components/form/demo/customize.md +125 -51
- package/components/form/demo/customize.min.js +196 -20
- package/components/form/demo/getting-started.min.js +160 -20
- package/components/form/demo/index.min.js +160 -20
- package/components/form/demo/registerDemoDeps.min.js +13 -13
- package/components/form/dist/auro-form.d.ts +45 -5
- package/components/form/dist/index.js +147 -7
- package/components/form/dist/registered.js +147 -7
- 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/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 +69 -0
- package/package.json +1 -1
|
@@ -117,7 +117,6 @@ let AuroLibraryRuntimeUtils$c = class AuroLibraryRuntimeUtils {
|
|
|
117
117
|
* @property {string | number | boolean | string[] | null} value - The value of the form element.
|
|
118
118
|
* @property {ValidityState} validity - The validity state of the form element, stored when fired from the form element.
|
|
119
119
|
* @property {boolean} required - Whether the form element is required or not.
|
|
120
|
-
* @property {HTMLElement} element - Whether the form element is required or not.
|
|
121
120
|
*/
|
|
122
121
|
|
|
123
122
|
/**
|
|
@@ -201,6 +200,20 @@ class AuroForm extends i$4 {
|
|
|
201
200
|
*/
|
|
202
201
|
this.mutationObservers = [];
|
|
203
202
|
|
|
203
|
+
// Single subtree observer that watches `disabled` and `name` attribute
|
|
204
|
+
// changes across all tracked form elements. The `name` watch is required:
|
|
205
|
+
// without it, renaming a tracked field at runtime leaves a stale key in
|
|
206
|
+
// `formState` that `_isNameDisabled` cannot resolve, so a renamed-but-
|
|
207
|
+
// disabled field would re-appear in `.value`.
|
|
208
|
+
/**
|
|
209
|
+
* @private
|
|
210
|
+
* @type {MutationObserver | null}
|
|
211
|
+
*/
|
|
212
|
+
this._attributeObserver = null;
|
|
213
|
+
|
|
214
|
+
/** @private */
|
|
215
|
+
this._handleAttributeMutations = this._handleAttributeMutations.bind(this);
|
|
216
|
+
|
|
204
217
|
// Bind listeners
|
|
205
218
|
/** @private */
|
|
206
219
|
this.reset = this.reset.bind(this);
|
|
@@ -269,6 +282,42 @@ class AuroForm extends i$4 {
|
|
|
269
282
|
return this._isInElementCollection(AuroForm.formElementTags, element);
|
|
270
283
|
}
|
|
271
284
|
|
|
285
|
+
/**
|
|
286
|
+
* Whether a given element is currently disabled. Disabled controls are excluded
|
|
287
|
+
* from submission, validity, and initial-state checks (per the HTML spec).
|
|
288
|
+
*
|
|
289
|
+
* Implementation note: we deliberately read only the attribute. Every Auro
|
|
290
|
+
* form element in `formElementTags` declares `disabled` with `reflect: true`,
|
|
291
|
+
* so the attribute and property stay in sync. Reading the attribute also
|
|
292
|
+
* lets the MutationObserver in `connectedCallback` (which is filtered to
|
|
293
|
+
* `['disabled', 'name']`) be the single source of truth for re-renders.
|
|
294
|
+
* If a future form-element type ships without attribute reflection, expand
|
|
295
|
+
* this helper to also read `element.disabled`.
|
|
296
|
+
* @param {HTMLElement | undefined | null} element - The element to check.
|
|
297
|
+
* @returns {boolean}
|
|
298
|
+
* @private
|
|
299
|
+
*/
|
|
300
|
+
_isDisabled(element) {
|
|
301
|
+
return Boolean(element?.hasAttribute('disabled'));
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Whether the tracked form element registered under `name` is currently disabled.
|
|
306
|
+
*
|
|
307
|
+
* Performance note: this is called once per `formState` key per read of
|
|
308
|
+
* `value` / `validity` / `isInitialState`, producing O(n²) work where n is
|
|
309
|
+
* the number of tracked fields. Acceptable for typical forms (< ~50 fields).
|
|
310
|
+
* For larger forms, a future refactor should store disabled state on each
|
|
311
|
+
* `formState` entry and update it from the attribute observer instead.
|
|
312
|
+
* @param {string} name - The `name` attribute used to register the element.
|
|
313
|
+
* @returns {boolean}
|
|
314
|
+
* @private
|
|
315
|
+
*/
|
|
316
|
+
_isNameDisabled(name) {
|
|
317
|
+
const element = this._elements.find((el) => el.getAttribute('name') === name);
|
|
318
|
+
return this._isDisabled(element);
|
|
319
|
+
}
|
|
320
|
+
|
|
272
321
|
/**
|
|
273
322
|
* Validates if an event is from a valid form element with a name.
|
|
274
323
|
* @param {Event} event - The event to validate.
|
|
@@ -308,6 +357,10 @@ class AuroForm extends i$4 {
|
|
|
308
357
|
*/
|
|
309
358
|
get value() {
|
|
310
359
|
return Object.keys(this.formState).reduce((acc, key) => {
|
|
360
|
+
if (this._isNameDisabled(key)) {
|
|
361
|
+
return acc;
|
|
362
|
+
}
|
|
363
|
+
|
|
311
364
|
acc[key] = this.formState[key].value;
|
|
312
365
|
return acc;
|
|
313
366
|
}, {});
|
|
@@ -342,6 +395,10 @@ class AuroForm extends i$4 {
|
|
|
342
395
|
// go through validity states and return the first invalid state (if any)
|
|
343
396
|
const invalidKey = Object.keys(this.formState).
|
|
344
397
|
find((key) => {
|
|
398
|
+
if (this._isNameDisabled(key)) {
|
|
399
|
+
return false;
|
|
400
|
+
}
|
|
401
|
+
|
|
345
402
|
const formKey = this.formState[key];
|
|
346
403
|
// these are NOT extra parens
|
|
347
404
|
// eslint-disable-next-line no-extra-parens
|
|
@@ -368,7 +425,13 @@ class AuroForm extends i$4 {
|
|
|
368
425
|
* @private
|
|
369
426
|
*/
|
|
370
427
|
_setInitialState() {
|
|
371
|
-
const anyTainted = Object.keys(this.formState).some((key) =>
|
|
428
|
+
const anyTainted = Object.keys(this.formState).some((key) => {
|
|
429
|
+
if (this._isNameDisabled(key)) {
|
|
430
|
+
return false;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
return this.formState[key].validity !== null || this.formState[key].value !== null;
|
|
434
|
+
});
|
|
372
435
|
|
|
373
436
|
this._isInitialState = !anyTainted;
|
|
374
437
|
|
|
@@ -452,7 +515,6 @@ class AuroForm extends i$4 {
|
|
|
452
515
|
value: element.value || element.getAttribute('value'),
|
|
453
516
|
validity: element.validity || null,
|
|
454
517
|
required: element.hasAttribute('required'),
|
|
455
|
-
// element
|
|
456
518
|
};
|
|
457
519
|
|
|
458
520
|
this._elements.push(element);
|
|
@@ -535,10 +597,13 @@ class AuroForm extends i$4 {
|
|
|
535
597
|
* @returns {Promise<void>}
|
|
536
598
|
*/
|
|
537
599
|
async submit() {
|
|
538
|
-
// Force validation on
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
600
|
+
// Force validation on all enabled elements. Disabled fields are skipped
|
|
601
|
+
// because disabled controls are not validated nor submitted per the HTML spec.
|
|
602
|
+
this._elements.
|
|
603
|
+
filter((element) => !this._isDisabled(element)).
|
|
604
|
+
forEach((element) => {
|
|
605
|
+
element.validate(true);
|
|
606
|
+
});
|
|
542
607
|
|
|
543
608
|
// Wait for validation to complete and formState to update
|
|
544
609
|
await this.updateComplete;
|
|
@@ -626,6 +691,11 @@ class AuroForm extends i$4 {
|
|
|
626
691
|
*/
|
|
627
692
|
handleKeyDown(event) {
|
|
628
693
|
if (event.key === 'Enter' && this.isFormElement(event.target)) {
|
|
694
|
+
// Disabled controls do not submit a form natively.
|
|
695
|
+
if (this._isDisabled(event.target)) {
|
|
696
|
+
return;
|
|
697
|
+
}
|
|
698
|
+
|
|
629
699
|
// Don't submit if it's a textarea (allow new lines)
|
|
630
700
|
if (event.target.tagName.toLowerCase() === 'textarea' ||
|
|
631
701
|
event.target.hasAttribute('textarea')) {
|
|
@@ -657,6 +727,76 @@ class AuroForm extends i$4 {
|
|
|
657
727
|
});
|
|
658
728
|
}
|
|
659
729
|
|
|
730
|
+
/**
|
|
731
|
+
* Handle batched MutationObserver records for `disabled` and `name`
|
|
732
|
+
* attribute changes on tracked form elements. A `name` change invalidates
|
|
733
|
+
* the formState keying — we resolve it by re-initializing state. A `disabled`
|
|
734
|
+
* change simply needs a re-render (so `value` / `validity` getters re-evaluate)
|
|
735
|
+
* and a refresh of the submit/reset button enablement.
|
|
736
|
+
* @param {MutationRecord[]} mutations - The batched mutation records.
|
|
737
|
+
* @returns {void}
|
|
738
|
+
* @private
|
|
739
|
+
*/
|
|
740
|
+
_handleAttributeMutations(mutations) {
|
|
741
|
+
// Only mutations on tracked FORM elements matter here. The same observer
|
|
742
|
+
// also sees attribute changes on the submit/reset buttons (which this
|
|
743
|
+
// component itself toggles via `setDisabledStateOnButtons`); reacting to
|
|
744
|
+
// those would create an infinite observer/update loop.
|
|
745
|
+
const relevant = mutations.filter((mutation) => this.isFormElement(mutation.target));
|
|
746
|
+
if (relevant.length === 0) {
|
|
747
|
+
return;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
const renameOccurred = relevant.some((mutation) => mutation.attributeName === 'name');
|
|
751
|
+
if (renameOccurred) {
|
|
752
|
+
// initializeState() rebuilds formState from scratch (re-keying any
|
|
753
|
+
// renamed element) and also dispatches `change` + refreshes button state,
|
|
754
|
+
// so we can return early without doing the disabled path's work.
|
|
755
|
+
this.initializeState();
|
|
756
|
+
return;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
this.requestUpdate('formState');
|
|
760
|
+
this.setDisabledStateOnButtons();
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* @returns {void}
|
|
765
|
+
*/
|
|
766
|
+
connectedCallback() {
|
|
767
|
+
super.connectedCallback();
|
|
768
|
+
|
|
769
|
+
// One observer rooted at the host catches `disabled` / `name` changes on
|
|
770
|
+
// any tracked form element (light-DOM children, including those nested in
|
|
771
|
+
// wrapper elements). Cheaper than allocating an observer per element and
|
|
772
|
+
// resilient to runtime DOM mutations.
|
|
773
|
+
if (!this._attributeObserver) {
|
|
774
|
+
this._attributeObserver = new MutationObserver(this._handleAttributeMutations);
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
this._attributeObserver.observe(this, {
|
|
778
|
+
attributes: true,
|
|
779
|
+
subtree: true,
|
|
780
|
+
attributeFilter: [
|
|
781
|
+
'disabled',
|
|
782
|
+
'name'
|
|
783
|
+
]
|
|
784
|
+
});
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* @returns {void}
|
|
789
|
+
*/
|
|
790
|
+
disconnectedCallback() {
|
|
791
|
+
// Disconnect everything we own to avoid leaking observers (and the strong
|
|
792
|
+
// refs they hold to DOM nodes) past the form's lifetime.
|
|
793
|
+
this._attributeObserver?.disconnect();
|
|
794
|
+
this.mutationObservers.forEach((observer) => observer.disconnect());
|
|
795
|
+
this.mutationObservers = [];
|
|
796
|
+
|
|
797
|
+
super.disconnectedCallback();
|
|
798
|
+
}
|
|
799
|
+
|
|
660
800
|
/**
|
|
661
801
|
* @param {import('lit').PropertyValues} _changedProperties - Map of changed properties with their previous values.
|
|
662
802
|
* @returns {void}
|
|
@@ -7458,7 +7598,7 @@ let AuroHelpText$9 = class AuroHelpText extends i$4 {
|
|
|
7458
7598
|
}
|
|
7459
7599
|
};
|
|
7460
7600
|
|
|
7461
|
-
var formkitVersion$9 = '
|
|
7601
|
+
var formkitVersion$9 = '202605122006';
|
|
7462
7602
|
|
|
7463
7603
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7464
7604
|
// See LICENSE in the project root for license information.
|
|
@@ -17378,7 +17518,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$4 {
|
|
|
17378
17518
|
}
|
|
17379
17519
|
};
|
|
17380
17520
|
|
|
17381
|
-
var formkitVersion$2$1 = '
|
|
17521
|
+
var formkitVersion$2$1 = '202605122006';
|
|
17382
17522
|
|
|
17383
17523
|
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$3`${s$6(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$7`: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}
|
|
17384
17524
|
`,u$4$1=i$7`.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}}
|
|
@@ -21722,7 +21862,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$4 {
|
|
|
21722
21862
|
}
|
|
21723
21863
|
};
|
|
21724
21864
|
|
|
21725
|
-
var formkitVersion$1$2 = '
|
|
21865
|
+
var formkitVersion$1$2 = '202605122006';
|
|
21726
21866
|
|
|
21727
21867
|
let AuroElement$2$2 = class AuroElement extends i$4 {
|
|
21728
21868
|
static get properties() {
|
|
@@ -29467,7 +29607,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$4 {
|
|
|
29467
29607
|
}
|
|
29468
29608
|
};
|
|
29469
29609
|
|
|
29470
|
-
var formkitVersion$8 = '
|
|
29610
|
+
var formkitVersion$8 = '202605122006';
|
|
29471
29611
|
|
|
29472
29612
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
29473
29613
|
// See LICENSE in the project root for license information.
|
|
@@ -36538,7 +36678,7 @@ let AuroHelpText$7 = class AuroHelpText extends i$4 {
|
|
|
36538
36678
|
}
|
|
36539
36679
|
};
|
|
36540
36680
|
|
|
36541
|
-
var formkitVersion$7 = '
|
|
36681
|
+
var formkitVersion$7 = '202605122006';
|
|
36542
36682
|
|
|
36543
36683
|
let AuroElement$5 = class AuroElement extends i$4 {
|
|
36544
36684
|
static get properties() {
|
|
@@ -39139,7 +39279,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$4 {
|
|
|
39139
39279
|
}
|
|
39140
39280
|
};
|
|
39141
39281
|
|
|
39142
|
-
var formkitVersion$6 = '
|
|
39282
|
+
var formkitVersion$6 = '202605122006';
|
|
39143
39283
|
|
|
39144
39284
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
39145
39285
|
// See LICENSE in the project root for license information.
|
|
@@ -42557,7 +42697,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$4 {
|
|
|
42557
42697
|
}
|
|
42558
42698
|
};
|
|
42559
42699
|
|
|
42560
|
-
var formkitVersion$5 = '
|
|
42700
|
+
var formkitVersion$5 = '202605122006';
|
|
42561
42701
|
|
|
42562
42702
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
42563
42703
|
// See LICENSE in the project root for license information.
|
|
@@ -44729,7 +44869,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$4 {
|
|
|
44729
44869
|
}
|
|
44730
44870
|
};
|
|
44731
44871
|
|
|
44732
|
-
var formkitVersion$4 = '
|
|
44872
|
+
var formkitVersion$4 = '202605122006';
|
|
44733
44873
|
|
|
44734
44874
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
44735
44875
|
// See LICENSE in the project root for license information.
|
|
@@ -50349,7 +50489,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
50349
50489
|
}
|
|
50350
50490
|
};
|
|
50351
50491
|
|
|
50352
|
-
var formkitVersion$2 = '
|
|
50492
|
+
var formkitVersion$2 = '202605122006';
|
|
50353
50493
|
|
|
50354
50494
|
let AuroElement$2$1 = class AuroElement extends i$4 {
|
|
50355
50495
|
static get properties() {
|
|
@@ -58094,7 +58234,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$4 {
|
|
|
58094
58234
|
}
|
|
58095
58235
|
};
|
|
58096
58236
|
|
|
58097
|
-
var formkitVersion$1$1 = '
|
|
58237
|
+
var formkitVersion$1$1 = '202605122006';
|
|
58098
58238
|
|
|
58099
58239
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
58100
58240
|
// See LICENSE in the project root for license information.
|
|
@@ -59159,7 +59299,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$4 {
|
|
|
59159
59299
|
}
|
|
59160
59300
|
};
|
|
59161
59301
|
|
|
59162
|
-
var formkitVersion$3 = '
|
|
59302
|
+
var formkitVersion$3 = '202605122006';
|
|
59163
59303
|
|
|
59164
59304
|
var styleCss$1$3 = i$7`.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}`;
|
|
59165
59305
|
|
|
@@ -68649,7 +68789,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
68649
68789
|
}
|
|
68650
68790
|
};
|
|
68651
68791
|
|
|
68652
|
-
var formkitVersion$1 = '
|
|
68792
|
+
var formkitVersion$1 = '202605122006';
|
|
68653
68793
|
|
|
68654
68794
|
class AuroElement extends i$4 {
|
|
68655
68795
|
static get properties() {
|
|
@@ -70402,7 +70542,7 @@ class AuroHelpText extends i$4 {
|
|
|
70402
70542
|
}
|
|
70403
70543
|
}
|
|
70404
70544
|
|
|
70405
|
-
var formkitVersion = '
|
|
70545
|
+
var formkitVersion = '202605122006';
|
|
70406
70546
|
|
|
70407
70547
|
var styleCss = i$7`.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}`;
|
|
70408
70548
|
|
|
@@ -71940,7 +72080,43 @@ AuroMenu.register();
|
|
|
71940
72080
|
AuroMenuOption.register();
|
|
71941
72081
|
AuroSelect.register();
|
|
71942
72082
|
|
|
72083
|
+
async function disabledExample() {
|
|
72084
|
+
await customElements.whenDefined('auro-form');
|
|
72085
|
+
|
|
72086
|
+
const form = document.querySelector('#disabledExampleForm');
|
|
72087
|
+
const output = document.querySelector('#disabledExampleOutput');
|
|
72088
|
+
|
|
72089
|
+
if (!form || !output) {
|
|
72090
|
+
throw new Error('disabledExample: required nodes not yet rendered');
|
|
72091
|
+
}
|
|
72092
|
+
|
|
72093
|
+
await form.updateComplete;
|
|
72094
|
+
|
|
72095
|
+
form.addEventListener('submit', (event) => {
|
|
72096
|
+
output.textContent = JSON.stringify(event.detail.value, null, 2);
|
|
72097
|
+
});
|
|
72098
|
+
}
|
|
72099
|
+
|
|
72100
|
+
/* eslint-disable jsdoc/require-jsdoc */
|
|
72101
|
+
|
|
72102
|
+
|
|
71943
72103
|
AuroInput$2.register('input-two');
|
|
71944
72104
|
AuroDatePicker.register();
|
|
71945
72105
|
AuroForm.register();
|
|
71946
72106
|
AuroForm.register('custom-form');
|
|
72107
|
+
|
|
72108
|
+
async function initExamples(initCount) {
|
|
72109
|
+
initCount = initCount || 0;
|
|
72110
|
+
|
|
72111
|
+
try {
|
|
72112
|
+
await disabledExample();
|
|
72113
|
+
} catch (err) {
|
|
72114
|
+
if (initCount <= 20) {
|
|
72115
|
+
setTimeout(() => {
|
|
72116
|
+
initExamples(initCount + 1);
|
|
72117
|
+
}, 100);
|
|
72118
|
+
}
|
|
72119
|
+
}
|
|
72120
|
+
}
|
|
72121
|
+
|
|
72122
|
+
export { initExamples };
|