@aurodesignsystem-dev/auro-formkit 0.0.0-pr1507.0 → 0.0.0-pr1509.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/components/checkbox/demo/customize.html +1 -2
  2. package/components/checkbox/demo/customize.min.js +1 -1
  3. package/components/checkbox/demo/getting-started.min.js +1 -1
  4. package/components/checkbox/demo/index.min.js +1 -1
  5. package/components/checkbox/dist/index.js +1 -1
  6. package/components/checkbox/dist/registered.js +1 -1
  7. package/components/combobox/demo/customize.html +1 -2
  8. package/components/combobox/demo/customize.md +108 -132
  9. package/components/combobox/demo/customize.min.js +30 -21
  10. package/components/combobox/demo/getting-started.min.js +30 -21
  11. package/components/combobox/demo/index.min.js +30 -21
  12. package/components/combobox/dist/index.js +30 -21
  13. package/components/combobox/dist/registered.js +30 -21
  14. package/components/counter/demo/customize.min.js +10 -2
  15. package/components/counter/demo/index.min.js +10 -2
  16. package/components/counter/dist/index.js +10 -2
  17. package/components/counter/dist/registered.js +10 -2
  18. package/components/datepicker/demo/api.md +2 -0
  19. package/components/datepicker/demo/customize.js +0 -2
  20. package/components/datepicker/demo/customize.md +138 -38
  21. package/components/datepicker/demo/customize.min.js +36 -22
  22. package/components/datepicker/demo/index.min.js +36 -4
  23. package/components/datepicker/dist/index.js +36 -4
  24. package/components/datepicker/dist/registered.js +36 -4
  25. package/components/datepicker/dist/src/auro-datepicker.d.ts +2 -0
  26. package/components/dropdown/demo/customize.min.js +9 -1
  27. package/components/dropdown/demo/getting-started.min.js +9 -1
  28. package/components/dropdown/demo/index.min.js +9 -1
  29. package/components/dropdown/dist/auro-dropdown.d.ts +1 -0
  30. package/components/dropdown/dist/index.js +9 -1
  31. package/components/dropdown/dist/registered.js +9 -1
  32. package/components/form/demo/customize.html +6 -6
  33. package/components/form/demo/customize.js +19 -0
  34. package/components/form/demo/customize.md +203 -51
  35. package/components/form/demo/customize.min.js +542 -69
  36. package/components/form/demo/getting-started.min.js +470 -69
  37. package/components/form/demo/index.min.js +470 -69
  38. package/components/form/demo/registerDemoDeps.min.js +107 -32
  39. package/components/form/dist/auro-form.d.ts +122 -4
  40. package/components/form/dist/index.js +363 -37
  41. package/components/form/dist/registered.js +363 -37
  42. package/components/input/demo/customize.html +1 -2
  43. package/components/input/demo/customize.md +54 -53
  44. package/components/input/demo/customize.min.js +19 -1
  45. package/components/input/demo/getting-started.min.js +19 -1
  46. package/components/input/demo/index.min.js +19 -1
  47. package/components/input/dist/index.js +19 -1
  48. package/components/input/dist/registered.js +19 -1
  49. package/components/radio/demo/customize.min.js +1 -1
  50. package/components/radio/demo/getting-started.min.js +1 -1
  51. package/components/radio/demo/index.min.js +1 -1
  52. package/components/radio/dist/index.js +1 -1
  53. package/components/radio/dist/registered.js +1 -1
  54. package/components/select/demo/customize.html +1 -2
  55. package/components/select/demo/customize.min.js +10 -2
  56. package/components/select/demo/getting-started.min.js +10 -2
  57. package/components/select/demo/index.min.js +10 -2
  58. package/components/select/dist/index.js +10 -2
  59. package/components/select/dist/registered.js +10 -2
  60. package/custom-elements.json +1557 -1428
  61. package/package.json +1 -1
@@ -109,7 +109,7 @@ let AuroLibraryRuntimeUtils$b = class AuroLibraryRuntimeUtils {
109
109
  }
110
110
  };
111
111
 
112
- /* eslint-disable no-underscore-dangle, max-lines, object-property-newline */
112
+ /* eslint-disable no-underscore-dangle, max-lines, object-property-newline, dot-location */
113
113
 
114
114
 
115
115
  /**
@@ -117,7 +117,7 @@ let AuroLibraryRuntimeUtils$b = 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.
120
+ * @property {boolean} disabled - Whether the form element is currently disabled. Cached from the live attribute via the MutationObserver in `connectedCallback` and refreshed from `_handleAttributeMutations`.
121
121
  */
122
122
 
123
123
  /**
@@ -201,6 +201,31 @@ class AuroForm extends i$3 {
201
201
  */
202
202
  this.mutationObservers = [];
203
203
 
204
+ /**
205
+ * Captured initial (default) value per field `name`. Populated on first
206
+ * sight of each name in `_addElementToState` and preserved across
207
+ * subsequent `initializeState` cycles (slot change, rename, reset) so
208
+ * `_setInitialState` can detect user edits as `current !== initial`,
209
+ * matching HTML's `dirtyValueFlag` semantics.
210
+ * @private
211
+ * @type {Record<string, string | number | boolean | string[] | null | undefined>}
212
+ */
213
+ this._initialValues = {};
214
+
215
+ // Single subtree observer that watches `disabled` and `name` attribute
216
+ // changes across all tracked form elements. The `name` watch is required:
217
+ // without it, renaming a tracked field at runtime leaves a stale key in
218
+ // `formState` that `_isNameDisabled` cannot resolve, so a renamed-but-
219
+ // disabled field would re-appear in `.value`.
220
+ /**
221
+ * @private
222
+ * @type {MutationObserver | null}
223
+ */
224
+ this._attributeObserver = null;
225
+
226
+ /** @private */
227
+ this._handleAttributeMutations = this._handleAttributeMutations.bind(this);
228
+
204
229
  // Bind listeners
205
230
  /** @private */
206
231
  this.reset = this.reset.bind(this);
@@ -269,6 +294,45 @@ class AuroForm extends i$3 {
269
294
  return this._isInElementCollection(AuroForm.formElementTags, element);
270
295
  }
271
296
 
297
+ /**
298
+ * Whether a given element is currently disabled. Disabled controls are excluded
299
+ * from submission, validity, and initial-state checks per the HTML spec
300
+ * (section 4.10.19.2 "Enabling and disabling form controls":
301
+ * https://www.w3.org/TR/2011/WD-html5-20110113/association-of-controls-and-forms.html).
302
+ *
303
+ * Implementation note: we deliberately read only the attribute. Every Auro
304
+ * form element in `formElementTags` declares `disabled` with `reflect: true`,
305
+ * so the attribute and property stay in sync. Reading the attribute also
306
+ * lets the MutationObserver in `connectedCallback` (which is filtered to
307
+ * `['disabled', 'name']`) be the single source of truth for re-renders.
308
+ * If a future form-element type ships without attribute reflection, expand
309
+ * this helper to also read `element.disabled`.
310
+ * @param {HTMLElement | undefined | null} element - The element to check.
311
+ * @returns {boolean}
312
+ * @private
313
+ */
314
+ _isDisabled(element) {
315
+ return Boolean(element?.hasAttribute('disabled'));
316
+ }
317
+
318
+ /**
319
+ * Whether the tracked form element registered under `name` is currently disabled.
320
+ * See `_isDisabled` for the HTML-spec rationale behind excluding disabled
321
+ * controls from form state.
322
+ *
323
+ * Reads a cached flag on `formState[name]` populated by `_addElementToState`
324
+ * at registration and refreshed by `_handleAttributeMutations` whenever the
325
+ * element's `disabled` attribute toggles. The cache is fed by the same
326
+ * `hasAttribute('disabled')` read as `_isDisabled`, so the "future form-element
327
+ * type without attribute reflection" caveat documented there applies here too.
328
+ * @param {string} name - The `name` attribute used to register the element.
329
+ * @returns {boolean}
330
+ * @private
331
+ */
332
+ _isNameDisabled(name) {
333
+ return Boolean(this.formState[name]?.disabled);
334
+ }
335
+
272
336
  /**
273
337
  * Validates if an event is from a valid form element with a name.
274
338
  * @param {Event} event - The event to validate.
@@ -308,6 +372,10 @@ class AuroForm extends i$3 {
308
372
  */
309
373
  get value() {
310
374
  return Object.keys(this.formState).reduce((acc, key) => {
375
+ if (this._isNameDisabled(key)) {
376
+ return acc;
377
+ }
378
+
311
379
  acc[key] = this.formState[key].value;
312
380
  return acc;
313
381
  }, {});
@@ -331,23 +399,113 @@ class AuroForm extends i$3 {
331
399
  return this._resetElements;
332
400
  }
333
401
 
402
+ /**
403
+ * Raw constraint-validation check. Returns `true` when no enabled field
404
+ * has a validity error. Unlike the public `validity` getter, this does
405
+ * NOT gate on `isInitialState` — callers that need to make a decision
406
+ * based on the actual constraint state (submit-button enablement, the
407
+ * internal `submit()` gate) read this so a pre-filled valid form is
408
+ * correctly recognized as submittable at first render.
409
+ * @returns {boolean}
410
+ * @private
411
+ */
412
+ _isFormValid() {
413
+ return !Object.keys(this.formState).some((key) => {
414
+ if (this._isNameDisabled(key)) {
415
+ return false;
416
+ }
417
+
418
+ const formKey = this.formState[key];
419
+ // `null` validity means "not yet validated" — auro-input doesn't
420
+ // re-validate on every keystroke, so validity stays `null` between
421
+ // input events until blur. Treating `null` as invalid disables Submit
422
+ // the moment a user types into any field, which is the wrong UX.
423
+ // We treat a field as invalid in two cases:
424
+ // 1. validity is known-bad (non-null, non-'valid')
425
+ // 2. it's `required` and structurally empty — `valueMissing` is
426
+ // certain even without a validation pass.
427
+ // `submit()` calls `validate(true)` on every enabled field before
428
+ // reading `_isFormValid()`, so any not-yet-validated field that turns
429
+ // out to fail another constraint still blocks dispatch.
430
+ const knownInvalid = formKey.validity !== null && formKey.validity !== 'valid';
431
+ const requiredAndEmpty = formKey.required && this._normalizeEmpty(formKey.value) === null;
432
+ return knownInvalid || requiredAndEmpty;
433
+ });
434
+ }
435
+
436
+ /**
437
+ * Whether the reset button should be enabled. True when the form has
438
+ * diverged from its initial state (so the user can always return to
439
+ * defaults — even if the dirty value lives behind a now-disabled field),
440
+ * OR when any non-disabled field has a current value or captured initial
441
+ * value (covers pre-filled forms and user-cleared-back-to-empty cases).
442
+ * @returns {boolean}
443
+ * @private
444
+ */
445
+ _hasResetableState() {
446
+ // Form is dirty — always allow Reset, even if the dirt is on a field
447
+ // that has since been disabled. Without this branch, the user would
448
+ // have no UI path to return the form to its initial state.
449
+ if (!this._isInitialState) {
450
+ return true;
451
+ }
452
+
453
+ return Object.keys(this.formState).some((key) => {
454
+ if (this._isNameDisabled(key)) {
455
+ return false;
456
+ }
457
+ const current = this._normalizeEmpty(this.formState[key].value);
458
+ const initial = this._normalizeEmpty(this._initialValues[key]);
459
+ return current !== null || initial !== null;
460
+ });
461
+ }
462
+
463
+ /**
464
+ * Collapse empty representations to a single canonical `null`.
465
+ *
466
+ * `_addElementToState` captures `null` for a field that mounts without a
467
+ * `value` attribute (`element.value || element.getAttribute('value')` is
468
+ * falsy → resolves to `null`), but `sharedInputListener` later stores the
469
+ * raw `event.target.value` — which is `''` for a user-cleared text input.
470
+ * Without this normalization, backspacing back to empty would taint the
471
+ * form forever (`'' !== null`) and Reset would stay enabled with nothing
472
+ * to actually reset.
473
+ *
474
+ * `''`, `undefined`, and `[]` all collapse to `null`. The empty-array case
475
+ * covers checkbox-group, radio-group, and multiselect, where `[]` means
476
+ * "no selection" — semantically the same as `null`/`''`. Genuine values
477
+ * — including `0`, `false`, non-empty strings, and non-empty arrays —
478
+ * pass through unchanged so number, boolean, and populated multi-value
479
+ * fields still compare correctly.
480
+ * @param {*} value - Value to normalize.
481
+ * @returns {*}
482
+ * @private
483
+ */
484
+ _normalizeEmpty(value) {
485
+ if (value === '' || value === undefined) {
486
+ return null;
487
+ }
488
+ if (Array.isArray(value) && value.length === 0) {
489
+ return null;
490
+ }
491
+ return value;
492
+ }
493
+
334
494
  /**
335
495
  * Infer validity status based on current formState.
496
+ *
497
+ * Validity stays `null` while the form is in its initial state — this is
498
+ * the "stay quiet until the user interacts" UX contract that consumers
499
+ * depend on to delay error indicators. Code that needs the raw
500
+ * constraint-validation result regardless of interaction (e.g.,
501
+ * submit-button enablement) should call `_isFormValid()` directly.
336
502
  * @private
337
503
  */
338
504
  _calculateValidity() {
339
505
  if (this.isInitialState) {
340
506
  this._validity = null;
341
507
  } else {
342
- // go through validity states and return the first invalid state (if any)
343
- const invalidKey = Object.keys(this.formState).
344
- find((key) => {
345
- const formKey = this.formState[key];
346
- // these are NOT extra parens
347
- // eslint-disable-next-line no-extra-parens
348
- return (formKey.validity !== 'valid' && formKey.required) || (formKey.validity !== 'valid' && formKey.value !== null);
349
- });
350
- this._validity = invalidKey ? 'invalid' : 'valid';
508
+ this._validity = this._isFormValid() ? 'valid' : 'invalid';
351
509
  }
352
510
  }
353
511
 
@@ -363,20 +521,38 @@ class AuroForm extends i$3 {
363
521
  }
364
522
 
365
523
  /**
366
- * Determines whether the form is in its initial (untouched) state and updates `_isInitialState` accordingly.
524
+ * Determines whether the form is in its initial (untouched) state.
525
+ *
526
+ * A field is tainted if either:
527
+ * - its value differs from the value captured on first render, OR
528
+ * - its validity is failing (anything other than `null` or `'valid'`).
529
+ *
530
+ * Validity acts as a backup signal: it catches users who interact with a
531
+ * field without changing its value (e.g., focusing and blurring a required
532
+ * field). We skip `null` (not yet validated) and `'valid'` (the default
533
+ * after Auro's auto-validation on mount) because neither proves the user
534
+ * touched anything.
367
535
  * @returns {void}
368
536
  * @private
369
537
  */
370
538
  _setInitialState() {
371
- const anyTainted = Object.keys(this.formState).some((key) => this.formState[key].validity !== null || this.formState[key].value !== null);
539
+ const anyTainted = Object.keys(this.formState).some((key) => {
540
+ // Normalize empty values so a freshly-captured `null` (no `value`
541
+ // attribute at mount) and a user-cleared `''` (input emptied via
542
+ // backspace) compare equal. Without this, backspacing back to an
543
+ // empty field leaves the form permanently tainted.
544
+ const initialValue = this._normalizeEmpty(this._initialValues[key]);
545
+ const currentValue = this._normalizeEmpty(this.formState[key].value);
546
+ const fieldValidity = this.formState[key].validity;
547
+ // eslint-disable-next-line no-extra-parens
548
+ return currentValue !== initialValue || (fieldValidity !== null && fieldValidity !== 'valid');
549
+ });
372
550
 
373
551
  this._isInitialState = !anyTainted;
374
-
375
- this._resetElements.forEach((resetElement) => {
376
- if (resetElement.hasAttribute("disabled")) {
377
- resetElement.removeAttribute("disabled");
378
- }
379
- });
552
+ // Button state is owned by setDisabledStateOnButtons (called from updated()
553
+ // and reset()). Touching resetElement.disabled here causes a visible flicker
554
+ // in reset(), where the final setDisabledStateOnButtons is deferred behind
555
+ // an extra updateComplete.
380
556
  }
381
557
 
382
558
  /**
@@ -394,19 +570,19 @@ class AuroForm extends i$3 {
394
570
  */
395
571
  setDisabledStateOnButtons() {
396
572
  this._resetElements.forEach((element) => {
397
- if (this.isInitialState) {
398
- element.setAttribute("disabled", "");
399
- } else {
400
- element.removeAttribute("disabled");
401
- }
573
+ // Reset is meaningful whenever any non-disabled field has a current
574
+ // value OR a captured default value — i.e., whenever the click would
575
+ // either clear something or restore a default.
576
+ element.disabled = !this._hasResetableState();
402
577
  });
403
578
 
404
579
  this._submitElements.forEach((element) => {
405
- if (this.isInitialState || this.validity !== "valid") {
406
- element.setAttribute("disabled", "");
407
- } else {
408
- element.removeAttribute("disabled");
409
- }
580
+ // Submit enablement reads raw validity (not the gated public getter)
581
+ // so a pre-filled valid form is submittable at first render — the
582
+ // public `validity` stays `null` during initial state to keep error
583
+ // indicators quiet until the user interacts, but the button decision
584
+ // bypasses that gate.
585
+ element.disabled = !this._isFormValid();
410
586
  });
411
587
  }
412
588
 
@@ -452,9 +628,18 @@ class AuroForm extends i$3 {
452
628
  value: element.value || element.getAttribute('value'),
453
629
  validity: element.validity || null,
454
630
  required: element.hasAttribute('required'),
455
- // element
631
+ disabled: element.hasAttribute('disabled'),
456
632
  };
457
633
 
634
+ // Capture the initial (default) value once per name. Use `in` rather
635
+ // than `??=` so a captured `null` (an empty field at first sight) is
636
+ // preserved across rename/slot/reset cycles — `??=` would treat the
637
+ // stored `null` as nullish and overwrite it with whatever value the
638
+ // field has now, defeating the `current !== initial` taint check.
639
+ if (!(targetName in this._initialValues)) {
640
+ this._initialValues[targetName] = this.formState[targetName].value;
641
+ }
642
+
458
643
  this._elements.push(element);
459
644
  }
460
645
 
@@ -491,6 +676,15 @@ class AuroForm extends i$3 {
491
676
  }
492
677
  });
493
678
 
679
+ // Drop captured initial values for fields that no longer exist in the form.
680
+ // Rename migration in _handleAttributeMutations has already re-keyed surviving
681
+ // fields, so anything left here is a field that was removed from the DOM.
682
+ for (const key of Object.keys(this._initialValues)) {
683
+ if (!(key in this.formState)) {
684
+ delete this._initialValues[key];
685
+ }
686
+ }
687
+
494
688
  this.dispatchEvent(new Event('change', {
495
689
  bubbles: true,
496
690
  composed: true,
@@ -535,16 +729,21 @@ class AuroForm extends i$3 {
535
729
  * @returns {Promise<void>}
536
730
  */
537
731
  async submit() {
538
- // Force validation on ALL elements
539
- this._elements.forEach((element) => {
540
- element.validate(true);
541
- });
732
+ // Force validation on all enabled elements. Disabled fields are skipped
733
+ // because disabled controls are not validated nor submitted per the HTML spec.
734
+ this._elements.
735
+ filter((element) => !this._isDisabled(element)).
736
+ forEach((element) => {
737
+ element.validate(true);
738
+ });
542
739
 
543
740
  // Wait for validation to complete and formState to update
544
741
  await this.updateComplete;
545
742
 
546
- // Only dispatch submit event if form is valid
547
- if (this.validity === 'valid') {
743
+ // Gate on raw constraint-validation rather than the public `validity`
744
+ // getter (which is `null` while in initial state). A pre-filled valid
745
+ // form should be submittable without a prior user edit.
746
+ if (this._isFormValid()) {
548
747
  this.dispatchEvent(new CustomEvent('submit', {
549
748
  bubbles: true,
550
749
  composed: true,
@@ -614,7 +813,14 @@ class AuroForm extends i$3 {
614
813
  this._addElementToState(event.target);
615
814
  }
616
815
 
617
- this.formState[targetName].validity = event.detail.validity;
816
+ // `auroFormElement-validated` can fire with `detail.validity === undefined`
817
+ // when auro-input's updated() lifecycle invokes `validate()` mid-edit but
818
+ // the validation framework's gating conditions (not focused, touched-or-
819
+ // has-value) aren't met — the dispatch still fires, just with the current
820
+ // (untouched) validity. Normalize to `null` so the rest of the form treats
821
+ // "no known status" identically whether it came from `_addElementToState`
822
+ // at mount or from this passthrough mid-typing.
823
+ this.formState[targetName].validity = event.detail.validity ?? null;
618
824
  this._calculateValidity();
619
825
  this.requestUpdate('formState');
620
826
  }
@@ -626,6 +832,11 @@ class AuroForm extends i$3 {
626
832
  */
627
833
  handleKeyDown(event) {
628
834
  if (event.key === 'Enter' && this.isFormElement(event.target)) {
835
+ // Disabled controls do not submit a form natively.
836
+ if (this._isDisabled(event.target)) {
837
+ return;
838
+ }
839
+
629
840
  // Don't submit if it's a textarea (allow new lines)
630
841
  if (event.target.tagName.toLowerCase() === 'textarea' ||
631
842
  event.target.hasAttribute('textarea')) {
@@ -657,6 +868,121 @@ class AuroForm extends i$3 {
657
868
  });
658
869
  }
659
870
 
871
+ /**
872
+ * Handle batched MutationObserver records for `disabled` and `name`
873
+ * attribute changes on tracked form elements. A `name` change invalidates
874
+ * the formState keying — we resolve it by re-initializing state. A `disabled`
875
+ * change simply needs a re-render (so `value` / `validity` getters re-evaluate)
876
+ * and a refresh of the submit/reset button enablement.
877
+ * @param {MutationRecord[]} mutations - The batched mutation records.
878
+ * @returns {void}
879
+ * @private
880
+ */
881
+ _handleAttributeMutations(mutations) {
882
+ // Only mutations on tracked FORM elements matter here. The same observer
883
+ // also sees attribute changes on the submit/reset buttons (which this
884
+ // component itself toggles via `setDisabledStateOnButtons`); reacting to
885
+ // those would create an infinite observer/update loop.
886
+ const relevant = mutations.filter((mutation) => this.isFormElement(mutation.target));
887
+ if (relevant.length === 0) {
888
+ return;
889
+ }
890
+
891
+ const renameMutations = relevant.filter((mutation) => mutation.attributeName === 'name');
892
+ if (renameMutations.length > 0) {
893
+ // Migrate each renamed field's captured initial value from the old key
894
+ // to the new key before `initializeState()` re-runs `_addElementToState`.
895
+ // Without this, the new-name lookup in `_initialValues` would miss, the
896
+ // field's current (possibly user-edited) value would be captured as the
897
+ // new initial, and the form would incorrectly flip back to its initial
898
+ // state. The old key would also leak in `_initialValues` indefinitely.
899
+ renameMutations.forEach((mutation) => {
900
+ const oldName = mutation.oldValue;
901
+ const newName = mutation.target.getAttribute('name');
902
+ if (!oldName || oldName === newName) {
903
+ return;
904
+ }
905
+ if (newName === null) {
906
+ // `name` attribute removed — field will fall out of formState on re-init.
907
+ // Drop its captured initial so it doesn't leak in _initialValues.
908
+ delete this._initialValues[oldName];
909
+ return;
910
+ }
911
+ if (oldName in this._initialValues) {
912
+ this._initialValues[newName] = this._initialValues[oldName];
913
+ delete this._initialValues[oldName];
914
+ }
915
+ });
916
+ // initializeState() rebuilds formState from scratch (re-keying any
917
+ // renamed element) and also dispatches `change` + refreshes button state.
918
+ // We also re-run _attachEventListeners() because elements that previously
919
+ // had no `name` were skipped by queryAuroElements() (which selects
920
+ // `[name]`) and therefore never received input/validation/keydown
921
+ // listeners. Re-attaching is safe — the listener-removal step inside
922
+ // _attachEventListeners() prevents duplicates on already-wired elements.
923
+ this.initializeState();
924
+ this._attachEventListeners();
925
+ return;
926
+ }
927
+
928
+ // Refresh the cached `disabled` flag on each affected formState entry
929
+ // before the re-render, so getters that read `_isNameDisabled` see the
930
+ // current attribute state in the same tick.
931
+ relevant
932
+ .filter((mutation) => mutation.attributeName === 'disabled')
933
+ .forEach((mutation) => {
934
+ const name = mutation.target.getAttribute('name');
935
+ if (name && this.formState[name]) {
936
+ this.formState[name].disabled = mutation.target.hasAttribute('disabled');
937
+ }
938
+ });
939
+
940
+ this.requestUpdate('formState');
941
+ this.setDisabledStateOnButtons();
942
+ }
943
+
944
+ /**
945
+ * @returns {void}
946
+ */
947
+ connectedCallback() {
948
+ super.connectedCallback();
949
+
950
+ // One observer rooted at the host catches `disabled` / `name` changes on
951
+ // any tracked form element (light-DOM children, including those nested in
952
+ // wrapper elements). Cheaper than allocating an observer per element and
953
+ // resilient to runtime DOM mutations.
954
+ if (!this._attributeObserver) {
955
+ this._attributeObserver = new MutationObserver(this._handleAttributeMutations);
956
+ }
957
+
958
+ this._attributeObserver.observe(this, {
959
+ attributes: true,
960
+ subtree: true,
961
+ attributeOldValue: true,
962
+ attributeFilter: [
963
+ 'disabled',
964
+ 'name'
965
+ ]
966
+ });
967
+ }
968
+
969
+ /**
970
+ * @returns {void}
971
+ */
972
+ disconnectedCallback() {
973
+ // Disconnect everything we own to avoid leaking observers (and the strong
974
+ // refs they hold to DOM nodes) past the form's lifetime.
975
+ this._attributeObserver?.disconnect();
976
+ this.mutationObservers.forEach((observer) => observer.disconnect());
977
+ this.mutationObservers = [];
978
+ // Intentionally do NOT clear _initialValues here. Slot-moves trigger a
979
+ // disconnect/reconnect cycle; clearing would cause the next initializeState
980
+ // to capture the user's edited values as the new "initial" and silently
981
+ // flip the form back to its initial state.
982
+
983
+ super.disconnectedCallback();
984
+ }
985
+
660
986
  /**
661
987
  * @param {import('lit').PropertyValues} _changedProperties - Map of changed properties with their previous values.
662
988
  * @returns {void}
@@ -11986,6 +12312,11 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
11986
12312
  }
11987
12313
 
11988
12314
  // add attribute for query selectors when auro-input is registered under a custom name
12315
+ // COVERAGE: the body of this branch is unreachable in WTR — connectedCallback
12316
+ // performs the same `setAttribute('auro-input', '')` earlier (see L665-667),
12317
+ // so by the time firstUpdated runs the attribute is already present and the
12318
+ // `!hasAttribute('auro-input')` guard is false. Retained as a defensive
12319
+ // safety net in case connectedCallback is ever short-circuited.
11989
12320
  if (this.tagName.toLowerCase() !== 'auro-input' && !this.hasAttribute('auro-input')) {
11990
12321
  this.setAttribute('auro-input', '');
11991
12322
  }
@@ -12075,6 +12406,13 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
12075
12406
 
12076
12407
  if (typeToI18n.includes(this.type)) {
12077
12408
  this.setCustomValidityForType = i18n$3(this.lang, this.type);
12409
+ // COVERAGE: this `else if` branch is unreachable in WTR. connectedCallback
12410
+ // (L682) calls configureDataForType, which at L1266-1268 assigns
12411
+ // `this.format = this.util.getDateMaskFromLocale().toLowerCase()` for any
12412
+ // type=date input whose `format` attribute is unset. That runs before
12413
+ // firstUpdated invokes setCustomHelpTextMessage, so `!this.format` is
12414
+ // always false here. Retained as a defensive fallback; the whole function
12415
+ // is @deprecated per AB#1557296 and slated for removal.
12078
12416
  } else if (!this.format && this.type === 'date') {
12079
12417
  this.setCustomValidityForType = i18n$3(this.lang, 'dateMMDDYYYY');
12080
12418
  } else if (this.dateFormatMap[this.format]) {
@@ -12552,6 +12890,12 @@ let BaseInput$2 = class BaseInput extends AuroElement$6 {
12552
12890
  */
12553
12891
  get placeholderStr() {
12554
12892
  if (!this.placeholder && this.type === 'date') {
12893
+ // COVERAGE: the `'MM/DD/YYYY'` literal fallback is unreachable in WTR.
12894
+ // connectedCallback (L682) calls configureDataForType, which at L1266-1268
12895
+ // assigns `this.format = this.util.getDateMaskFromLocale().toLowerCase()`
12896
+ // when type=date and format is unset. That runs before the first render
12897
+ // reads this getter, so the ternary's truthy arm always wins. Retained
12898
+ // as a defensive fallback for direct getter calls before connection.
12555
12899
  return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
12556
12900
  }
12557
12901
  return this.placeholder || "";
@@ -13043,7 +13387,7 @@ let AuroHelpText$8 = class AuroHelpText extends i$3 {
13043
13387
  }
13044
13388
  };
13045
13389
 
13046
- var formkitVersion$8 = '202606192121';
13390
+ var formkitVersion$8 = '202606232113';
13047
13391
 
13048
13392
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
13049
13393
  // See LICENSE in the project root for license information.
@@ -27162,7 +27506,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$3 {
27162
27506
  }
27163
27507
  };
27164
27508
 
27165
- var formkitVersion$2$1 = '202606192121';
27509
+ var formkitVersion$2$1 = '202606232113';
27166
27510
 
27167
27511
  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}
27168
27512
  `,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}}
@@ -32673,7 +33017,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$3 {
32673
33017
  }
32674
33018
  };
32675
33019
 
32676
- var formkitVersion$1$3 = '202606192121';
33020
+ var formkitVersion$1$3 = '202606232113';
32677
33021
 
32678
33022
  let AuroElement$2$2 = class AuroElement extends i$3 {
32679
33023
  static get properties() {
@@ -33624,6 +33968,14 @@ let AuroDropdown$3 = class AuroDropdown extends AuroElement$2$2 {
33624
33968
  };
33625
33969
  this.addEventListener('keydown', this._bibTabHandler);
33626
33970
 
33971
+ // Suppress AuroFloatingUI's auto-hide-on-focus-loss while the
33972
+ // desktopModal trap owns focus management. Without this, the very
33973
+ // first focus move into the bib (from the RAF below) triggers
33974
+ // handleFocusLoss → hideBib, tearing down the trap before the
33975
+ // user can press Tab.
33976
+ this._priorNoHideOnFocusLoss = this.noHideOnThisFocusLoss;
33977
+ this.noHideOnThisFocusLoss = true;
33978
+
33627
33979
  // Move initial focus into the bib content, matching FocusTrap behavior
33628
33980
  requestAnimationFrame(() => {
33629
33981
  const focusables = getFocusableElements$3(this.bibContent);
@@ -45198,6 +45550,11 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
45198
45550
  }
45199
45551
 
45200
45552
  // add attribute for query selectors when auro-input is registered under a custom name
45553
+ // COVERAGE: the body of this branch is unreachable in WTR — connectedCallback
45554
+ // performs the same `setAttribute('auro-input', '')` earlier (see L665-667),
45555
+ // so by the time firstUpdated runs the attribute is already present and the
45556
+ // `!hasAttribute('auro-input')` guard is false. Retained as a defensive
45557
+ // safety net in case connectedCallback is ever short-circuited.
45201
45558
  if (this.tagName.toLowerCase() !== 'auro-input' && !this.hasAttribute('auro-input')) {
45202
45559
  this.setAttribute('auro-input', '');
45203
45560
  }
@@ -45287,6 +45644,13 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
45287
45644
 
45288
45645
  if (typeToI18n.includes(this.type)) {
45289
45646
  this.setCustomValidityForType = i18n$1(this.lang, this.type);
45647
+ // COVERAGE: this `else if` branch is unreachable in WTR. connectedCallback
45648
+ // (L682) calls configureDataForType, which at L1266-1268 assigns
45649
+ // `this.format = this.util.getDateMaskFromLocale().toLowerCase()` for any
45650
+ // type=date input whose `format` attribute is unset. That runs before
45651
+ // firstUpdated invokes setCustomHelpTextMessage, so `!this.format` is
45652
+ // always false here. Retained as a defensive fallback; the whole function
45653
+ // is @deprecated per AB#1557296 and slated for removal.
45290
45654
  } else if (!this.format && this.type === 'date') {
45291
45655
  this.setCustomValidityForType = i18n$1(this.lang, 'dateMMDDYYYY');
45292
45656
  } else if (this.dateFormatMap[this.format]) {
@@ -45764,6 +46128,12 @@ let BaseInput$1 = class BaseInput extends AuroElement$1$3 {
45764
46128
  */
45765
46129
  get placeholderStr() {
45766
46130
  if (!this.placeholder && this.type === 'date') {
46131
+ // COVERAGE: the `'MM/DD/YYYY'` literal fallback is unreachable in WTR.
46132
+ // connectedCallback (L682) calls configureDataForType, which at L1266-1268
46133
+ // assigns `this.format = this.util.getDateMaskFromLocale().toLowerCase()`
46134
+ // when type=date and format is unset. That runs before the first render
46135
+ // reads this getter, so the ternary's truthy arm always wins. Retained
46136
+ // as a defensive fallback for direct getter calls before connection.
45767
46137
  return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
45768
46138
  }
45769
46139
  return this.placeholder || "";
@@ -46255,7 +46625,7 @@ let AuroHelpText$1$3 = class AuroHelpText extends i$3 {
46255
46625
  }
46256
46626
  };
46257
46627
 
46258
- var formkitVersion$7 = '202606192121';
46628
+ var formkitVersion$7 = '202606232113';
46259
46629
 
46260
46630
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
46261
46631
  // See LICENSE in the project root for license information.
@@ -47675,6 +48045,8 @@ const datepickerKeyboardStrategy = {
47675
48045
  * @slot label - Defines the label content for the entire datepicker when `layout="snowflake"`.
47676
48046
  * @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
47677
48047
  * @slot fromLabel - Defines the label content for the first input.
48048
+ * @slot optionalFromLabel - Overrides the "(optional)" text rendered next to the first input's label when the datepicker is not `required`.
48049
+ * @slot optionalToLabel - Overrides the "(optional)" text rendered next to the second input's label when `range` is set and the datepicker is not `required`.
47678
48050
  * @slot date_YYYY_MM_DD - Defines the content to display in the auro-calendar-cell for the specified date. The content text is colored using the success state token when the `highlight` attribute is applied to the slot.
47679
48051
  * @slot popover_YYYY_MM_DD - Defines the content to display in the auro-calendar-cell popover for the specified date.
47680
48052
  * @csspart dropdown - Use for customizing the style of the dropdown.
@@ -49270,7 +49642,9 @@ class AuroDatePicker extends AuroElement$5 {
49270
49642
  // update the calendar
49271
49643
  if (this.valueEndObject) {
49272
49644
  this.calendar.dateTo = this.convertToWcValidTime(this.valueEndObject);
49273
- this.calendarRenderUtil.updateCentralDate(this, this.valueEndObject);
49645
+ if (!this.wasCellClick) {
49646
+ this.calendarRenderUtil.updateCentralDate(this, this.valueEndObject);
49647
+ }
49274
49648
  } else {
49275
49649
  if (this.inputList[1].value !== this.valueEnd) {
49276
49650
  this.inputList[1].value = this.valueEnd || '';
@@ -49665,6 +50039,7 @@ class AuroDatePicker extends AuroElement$5 {
49665
50039
  }
49666
50040
  <span slot="ariaLabel.clear">${this.runtimeUtils.getSlotText(this, 'ariaLabel.input.clear') || i18n$2(this.lang, 'clearInput')}</span>
49667
50041
  <span slot="label"><slot name="fromLabel"></slot></span>
50042
+ <slot name="optionalFromLabel" slot="optionalLabel"> (optional)</slot>
49668
50043
  </${this.inputTag}>
49669
50044
  </div>
49670
50045
 
@@ -49709,6 +50084,7 @@ class AuroDatePicker extends AuroElement$5 {
49709
50084
  }
49710
50085
  <span slot="ariaLabel.clear">${this.runtimeUtils.getSlotText(this, 'ariaLabel.input.clear') || this.runtimeUtils.getSlotText(this, 'ariaLabel.input.clear') || i18n$2(this.lang, 'clearInput')}</span>
49711
50086
  <span slot="label"><slot name="toLabel"></slot></span>
50087
+ <slot name="optionalToLabel" slot="optionalLabel"> (optional)</slot>
49712
50088
  </${this.inputTag}>
49713
50089
  </div>
49714
50090
  ` : undefined}
@@ -50952,7 +51328,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$3 {
50952
51328
  }
50953
51329
  };
50954
51330
 
50955
- var formkitVersion$1$2 = '202606192121';
51331
+ var formkitVersion$1$2 = '202606232113';
50956
51332
 
50957
51333
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
50958
51334
  // See LICENSE in the project root for license information.
@@ -55280,7 +55656,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$3 {
55280
55656
  }
55281
55657
  };
55282
55658
 
55283
- var formkitVersion$6 = '202606192121';
55659
+ var formkitVersion$6 = '202606232113';
55284
55660
 
55285
55661
  let AuroElement$1$2 = class AuroElement extends i$3 {
55286
55662
  static get properties() {
@@ -56231,6 +56607,14 @@ let AuroDropdown$2 = class AuroDropdown extends AuroElement$1$2 {
56231
56607
  };
56232
56608
  this.addEventListener('keydown', this._bibTabHandler);
56233
56609
 
56610
+ // Suppress AuroFloatingUI's auto-hide-on-focus-loss while the
56611
+ // desktopModal trap owns focus management. Without this, the very
56612
+ // first focus move into the bib (from the RAF below) triggers
56613
+ // handleFocusLoss → hideBib, tearing down the trap before the
56614
+ // user can press Tab.
56615
+ this._priorNoHideOnFocusLoss = this.noHideOnThisFocusLoss;
56616
+ this.noHideOnThisFocusLoss = true;
56617
+
56234
56618
  // Move initial focus into the bib content, matching FocusTrap behavior
56235
56619
  requestAnimationFrame(() => {
56236
56620
  const focusables = getFocusableElements$2(this.bibContent);
@@ -59212,7 +59596,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$3 {
59212
59596
  }
59213
59597
  };
59214
59598
 
59215
- var formkitVersion$5 = '202606192121';
59599
+ var formkitVersion$5 = '202606232113';
59216
59600
 
59217
59601
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
59218
59602
  // See LICENSE in the project root for license information.
@@ -60962,7 +61346,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$3 {
60962
61346
  }
60963
61347
  };
60964
61348
 
60965
- var formkitVersion$4 = '202606192121';
61349
+ var formkitVersion$4 = '202606232113';
60966
61350
 
60967
61351
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
60968
61352
  // See LICENSE in the project root for license information.
@@ -66177,7 +66561,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
66177
66561
  }
66178
66562
  };
66179
66563
 
66180
- var formkitVersion$2 = '202606192121';
66564
+ var formkitVersion$2 = '202606232113';
66181
66565
 
66182
66566
  let AuroElement$2$1 = class AuroElement extends i$3 {
66183
66567
  static get properties() {
@@ -67128,6 +67512,14 @@ let AuroDropdown$1 = class AuroDropdown extends AuroElement$2$1 {
67128
67512
  };
67129
67513
  this.addEventListener('keydown', this._bibTabHandler);
67130
67514
 
67515
+ // Suppress AuroFloatingUI's auto-hide-on-focus-loss while the
67516
+ // desktopModal trap owns focus management. Without this, the very
67517
+ // first focus move into the bib (from the RAF below) triggers
67518
+ // handleFocusLoss → hideBib, tearing down the trap before the
67519
+ // user can press Tab.
67520
+ this._priorNoHideOnFocusLoss = this.noHideOnThisFocusLoss;
67521
+ this.noHideOnThisFocusLoss = true;
67522
+
67131
67523
  // Move initial focus into the bib content, matching FocusTrap behavior
67132
67524
  requestAnimationFrame(() => {
67133
67525
  const focusables = getFocusableElements$1(this.bibContent);
@@ -78702,6 +79094,11 @@ class BaseInput extends AuroElement$1$1 {
78702
79094
  }
78703
79095
 
78704
79096
  // add attribute for query selectors when auro-input is registered under a custom name
79097
+ // COVERAGE: the body of this branch is unreachable in WTR — connectedCallback
79098
+ // performs the same `setAttribute('auro-input', '')` earlier (see L665-667),
79099
+ // so by the time firstUpdated runs the attribute is already present and the
79100
+ // `!hasAttribute('auro-input')` guard is false. Retained as a defensive
79101
+ // safety net in case connectedCallback is ever short-circuited.
78705
79102
  if (this.tagName.toLowerCase() !== 'auro-input' && !this.hasAttribute('auro-input')) {
78706
79103
  this.setAttribute('auro-input', '');
78707
79104
  }
@@ -78791,6 +79188,13 @@ class BaseInput extends AuroElement$1$1 {
78791
79188
 
78792
79189
  if (typeToI18n.includes(this.type)) {
78793
79190
  this.setCustomValidityForType = i18n(this.lang, this.type);
79191
+ // COVERAGE: this `else if` branch is unreachable in WTR. connectedCallback
79192
+ // (L682) calls configureDataForType, which at L1266-1268 assigns
79193
+ // `this.format = this.util.getDateMaskFromLocale().toLowerCase()` for any
79194
+ // type=date input whose `format` attribute is unset. That runs before
79195
+ // firstUpdated invokes setCustomHelpTextMessage, so `!this.format` is
79196
+ // always false here. Retained as a defensive fallback; the whole function
79197
+ // is @deprecated per AB#1557296 and slated for removal.
78794
79198
  } else if (!this.format && this.type === 'date') {
78795
79199
  this.setCustomValidityForType = i18n(this.lang, 'dateMMDDYYYY');
78796
79200
  } else if (this.dateFormatMap[this.format]) {
@@ -79268,6 +79672,12 @@ class BaseInput extends AuroElement$1$1 {
79268
79672
  */
79269
79673
  get placeholderStr() {
79270
79674
  if (!this.placeholder && this.type === 'date') {
79675
+ // COVERAGE: the `'MM/DD/YYYY'` literal fallback is unreachable in WTR.
79676
+ // connectedCallback (L682) calls configureDataForType, which at L1266-1268
79677
+ // assigns `this.format = this.util.getDateMaskFromLocale().toLowerCase()`
79678
+ // when type=date and format is unset. That runs before the first render
79679
+ // reads this getter, so the ternary's truthy arm always wins. Retained
79680
+ // as a defensive fallback for direct getter calls before connection.
79271
79681
  return this.format ? this.format.toUpperCase() : 'MM/DD/YYYY';
79272
79682
  }
79273
79683
  return this.placeholder || "";
@@ -79759,7 +80169,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$3 {
79759
80169
  }
79760
80170
  };
79761
80171
 
79762
- var formkitVersion$1$1 = '202606192121';
80172
+ var formkitVersion$1$1 = '202606232113';
79763
80173
 
79764
80174
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
79765
80175
  // See LICENSE in the project root for license information.
@@ -80880,7 +81290,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$3 {
80880
81290
  }
80881
81291
  };
80882
81292
 
80883
- var formkitVersion$3 = '202606192121';
81293
+ var formkitVersion$3 = '202606232113';
80884
81294
 
80885
81295
  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}`;
80886
81296
 
@@ -82231,24 +82641,7 @@ class AuroCombobox extends AuroElement$3 {
82231
82641
  nativeInput.setSelectionRange(len, len);
82232
82642
  }
82233
82643
  } else {
82234
- // Safety net for the strategy-change setTimeout: a viewport-crossing
82235
- // fullscreen→floating switch can close the dialog and leave focus on
82236
- // body. Every other Branch 2 callsite already has focus on the input
82237
- // via the focusin → this.focus() redirect (L1448-1452), so this is a
82238
- // no-op in the common case.
82239
- if (!this.input.componentHasFocus) {
82240
- this.input.focus();
82241
- }
82242
-
82243
- // Park the trigger native input's caret at end-of-text every time the
82244
- // popover opens. Chrome focuses the native via the floating <label for="…">
82245
- // overlay on click and resets selection to [0, 0]; no JS fires between
82246
- // mousedown and selectionchange, so we restore the caret here.
82247
- const triggerNativeInput = this.input.inputElement;
82248
- if (triggerNativeInput && triggerNativeInput.value) {
82249
- const len = triggerNativeInput.value.length;
82250
- triggerNativeInput.setSelectionRange(len, len);
82251
- }
82644
+ this.input.focus();
82252
82645
  }
82253
82646
  }
82254
82647
 
@@ -89688,7 +90081,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
89688
90081
  }
89689
90082
  };
89690
90083
 
89691
- var formkitVersion$1 = '202606192121';
90084
+ var formkitVersion$1 = '202606232113';
89692
90085
 
89693
90086
  class AuroElement extends i$3 {
89694
90087
  static get properties() {
@@ -90639,6 +91032,14 @@ class AuroDropdown extends AuroElement {
90639
91032
  };
90640
91033
  this.addEventListener('keydown', this._bibTabHandler);
90641
91034
 
91035
+ // Suppress AuroFloatingUI's auto-hide-on-focus-loss while the
91036
+ // desktopModal trap owns focus management. Without this, the very
91037
+ // first focus move into the bib (from the RAF below) triggers
91038
+ // handleFocusLoss → hideBib, tearing down the trap before the
91039
+ // user can press Tab.
91040
+ this._priorNoHideOnFocusLoss = this.noHideOnThisFocusLoss;
91041
+ this.noHideOnThisFocusLoss = true;
91042
+
90642
91043
  // Move initial focus into the bib content, matching FocusTrap behavior
90643
91044
  requestAnimationFrame(() => {
90644
91045
  const focusables = getFocusableElements(this.bibContent);
@@ -91701,7 +92102,7 @@ class AuroHelpText extends i$3 {
91701
92102
  }
91702
92103
  }
91703
92104
 
91704
- var formkitVersion = '202606192121';
92105
+ var formkitVersion = '202606232113';
91705
92106
 
91706
92107
  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}`;
91707
92108