@aurodesignsystem-dev/auro-formkit 0.0.0-pr1519.0 → 0.0.0-pr1519.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 +12 -5
- package/components/checkbox/demo/getting-started.min.js +12 -5
- package/components/checkbox/demo/index.min.js +12 -5
- package/components/checkbox/dist/index.js +12 -5
- package/components/checkbox/dist/registered.js +12 -5
- package/components/combobox/demo/customize.min.js +61 -37
- package/components/combobox/demo/getting-started.min.js +61 -37
- package/components/combobox/demo/index.min.js +61 -37
- package/components/combobox/dist/auro-combobox.d.ts +1 -1
- package/components/combobox/dist/index.js +61 -37
- package/components/combobox/dist/registered.js +61 -37
- package/components/counter/demo/customize.min.js +22 -10
- package/components/counter/demo/index.min.js +22 -10
- package/components/counter/dist/index.js +22 -10
- package/components/counter/dist/registered.js +22 -10
- package/components/datepicker/demo/customize.min.js +73 -40
- package/components/datepicker/demo/index.min.js +73 -40
- package/components/datepicker/dist/index.js +73 -40
- package/components/datepicker/dist/registered.js +73 -40
- package/components/dropdown/demo/customize.min.js +10 -5
- package/components/dropdown/demo/getting-started.min.js +10 -5
- package/components/dropdown/demo/index.min.js +10 -5
- package/components/dropdown/dist/index.js +10 -5
- package/components/dropdown/dist/registered.js +10 -5
- package/components/form/demo/customize.min.js +252 -128
- package/components/form/demo/getting-started.min.js +252 -128
- package/components/form/demo/index.min.js +252 -128
- package/components/form/demo/registerDemoDeps.min.js +252 -128
- package/components/input/demo/api.md +1 -1
- package/components/input/demo/customize.min.js +35 -21
- package/components/input/demo/getting-started.min.js +35 -21
- package/components/input/demo/index.min.js +35 -21
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +3 -3
- package/components/input/dist/index.js +35 -21
- package/components/input/dist/registered.js +35 -21
- package/components/input/dist/utilities.d.ts +2 -2
- package/components/radio/demo/customize.min.js +12 -5
- package/components/radio/demo/getting-started.min.js +12 -5
- package/components/radio/demo/index.min.js +12 -5
- package/components/radio/dist/index.js +12 -5
- package/components/radio/dist/registered.js +12 -5
- package/components/select/demo/customize.min.js +37 -10
- package/components/select/demo/getting-started.min.js +37 -10
- package/components/select/demo/index.min.js +37 -10
- package/components/select/dist/index.js +37 -10
- package/components/select/dist/registered.js +37 -10
- package/custom-elements.json +1516 -1516
- package/package.json +1 -1
|
@@ -354,13 +354,20 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
354
354
|
// For partial date formats, valueObject is never populated; validate them directly.
|
|
355
355
|
if (elem.value && !elem.valueObject) {
|
|
356
356
|
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
357
|
-
const isValidPartial = isPartialDateFormat && elem.util.isValidPartialDate(elem.value, elem.format);
|
|
358
357
|
|
|
359
|
-
if (
|
|
360
|
-
elem.
|
|
361
|
-
|
|
358
|
+
if (isPartialDateFormat) {
|
|
359
|
+
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
360
|
+
elem.validity = 'patternMismatch';
|
|
361
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
362
|
+
}
|
|
363
|
+
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
362
364
|
return;
|
|
363
365
|
}
|
|
366
|
+
|
|
367
|
+
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
368
|
+
elem.validity = 'patternMismatch';
|
|
369
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
370
|
+
return;
|
|
364
371
|
}
|
|
365
372
|
|
|
366
373
|
// Perform the rest of the validation
|
|
@@ -4805,7 +4812,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4805
4812
|
}
|
|
4806
4813
|
};
|
|
4807
4814
|
|
|
4808
|
-
var formkitVersion$2 = '
|
|
4815
|
+
var formkitVersion$2 = '202607011914';
|
|
4809
4816
|
|
|
4810
4817
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4811
4818
|
static get properties() {
|
|
@@ -5562,14 +5569,19 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5562
5569
|
if (!this.isPopoverVisible) {
|
|
5563
5570
|
// wait til the bib gets fully closed and rendered
|
|
5564
5571
|
setTimeout(() => {
|
|
5565
|
-
//
|
|
5566
|
-
|
|
5572
|
+
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
5573
|
+
// Restore focus to trigger when focus is still inside the bib (:focus-within) or fell to body.
|
|
5574
|
+
if (this.isPopoverVisible ||
|
|
5575
|
+
// eslint-disable-next-line no-extra-parens
|
|
5576
|
+
(!this.bibContent?.matches(':focus-within') &&
|
|
5577
|
+
document.activeElement !== document.body)) {
|
|
5567
5578
|
return;
|
|
5568
5579
|
}
|
|
5569
|
-
//
|
|
5580
|
+
// Restore focus to the trigger.
|
|
5570
5581
|
this.trigger.focus();
|
|
5571
5582
|
});
|
|
5572
|
-
}
|
|
5583
|
+
}
|
|
5584
|
+
}
|
|
5573
5585
|
|
|
5574
5586
|
firstUpdated() {
|
|
5575
5587
|
// Configure the floater to, this will generate the ID for the bib
|
|
@@ -6216,7 +6228,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6216
6228
|
|
|
6217
6229
|
var shapeSizeCss = css`.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:56px;max-height:56px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:58px;max-height:58px;background-color:unset;box-shadow:none}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:56px;max-height:56px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;box-shadow:unset;min-height:54px;max-height:54px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-box-lg{min-height:52px;max-height:52px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-box-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-box-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-box-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-box-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-box-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-box-sm{min-height:32px;max-height:32px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-sm.simple{border-width:0px;min-height:36px;max-height:36px;background-color:unset;box-shadow:none}.shape-box-sm.thin{border-width:1px;min-height:34px;max-height:34px;background-color:unset}.shape-box-sm.parentBorder{border:0;box-shadow:unset;min-height:32px;max-height:32px}.shape-box-xs{min-height:20px;max-height:20px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xs.simple{border-width:0px;min-height:24px;max-height:24px;background-color:unset;box-shadow:none}.shape-box-xs.thin{border-width:1px;min-height:22px;max-height:22px;background-color:unset}.shape-box-xs.parentBorder{border:0;box-shadow:unset;min-height:20px;max-height:20px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}`;
|
|
6218
6230
|
|
|
6219
|
-
var styleCss$1$1 = css`.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}:host{display:block}.wrapper:has(:enabled){cursor:text}.wrapper:has(:enabled) label{cursor:text}.helpTextClasses{cursor:default}input{overflow:clip !important;width:100%;padding:0;border:0;background:unset;outline:none;overflow-clip-margin:0 !important;text-overflow:ellipsis}input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.displayValue{display:none}.displayValue.hasContent:is(.withValue):not(.hasFocus){display:flex;align-items:center}.accents:not(.util_displayHidden){display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px}.wrapper:not(:focus-within):not(:hover) .notificationBtn.passwordBtn,.wrapper:not(:focus-within):not(:hover) .notification.clear{display:none}.notification{display:flex;align-items:center;justify-content:center}`;
|
|
6231
|
+
var styleCss$1$1 = css`.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}:host{display:block}.wrapper:has(:enabled){cursor:text}.wrapper:has(:enabled) label{cursor:text}.helpTextClasses{cursor:default}input{overflow:clip !important;width:100%;padding:0;border:0;background:unset;outline:none;overflow-clip-margin:0 !important;text-overflow:ellipsis}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.displayValue{display:none}.displayValue.hasContent:is(.withValue):not(.hasFocus){display:flex;align-items:center}.accents:not(.util_displayHidden){display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px}.wrapper:not(:focus-within):not(:hover) .notificationBtn.passwordBtn,.wrapper:not(:focus-within):not(:hover) .notification.clear{display:none}.notification{display:flex;align-items:center;justify-content:center}`;
|
|
6220
6232
|
|
|
6221
6233
|
var styleDefaultCss = css`.layoutDefault .typeIcon,:host(:not([layout])) .typeIcon{display:flex;flex-direction:row;align-items:center}.layoutDefault .typeIcon [auro-icon],:host(:not([layout])) .typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.layoutDefault .notificationIcons,:host(:not([layout])) .notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .typeIcon,:host(:not([layout])[bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .notificationIcons,:host(:not([layout])[bordered]) .notificationIcons{align-items:center}:host([class=layoutDefault][bordered]) .notification:not(:first-of-type),:host(:not([layout])[bordered]) .notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}:host([class=layoutDefault][bordered]) .alertNotification,:host(:not([layout])[bordered]) .alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}:host([class=layoutDefault][bordered]) .passwordBtn,:host(:not([layout])[bordered]) .passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}:host([class=layoutDefault][bordered]) .notificationBtn,:host(:not([layout])[bordered]) .notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon],:host(:not([layout])[bordered]) .notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}:host([class=layoutDefault][bordered]) .notificationBtn [auro-icon][hidden],:host(:not([layout])[bordered]) .notificationBtn [auro-icon][hidden]{display:none}:host([class=layoutDefault]:not([bordered])) .typeIcon,:host([class=layoutDefault]:not([bordered])) .notificationIcons,:host(:not([layout]):not([bordered])) .typeIcon,:host(:not([layout]):not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host([class=layoutDefault]:not([bordered])) .clearBtn,:host(:not([layout]):not([bordered])) .clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}.layoutDefault .wrapper:hover .clearBtn,.layoutDefault .wrapper:focus-within .clearBtn,:host(:not([layout])) .wrapper:hover .clearBtn,:host(:not([layout])) .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host([class=layoutDefault]:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification,:host(:not([layout]):focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.layoutDefault input,:host(:not([layout])) input{border:unset}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{position:relative;overflow:hidden;border-style:solid}:host([class=layoutDefault]:not([bordered],[borderless])) .wrapper,:host(:not([layout]):not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([class=layoutDefault][bordered]) .wrapper,:host(:not([layout])[bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host([class=layoutDefault]:not([borderless])) .wrapper:focus-within:before,:host(:not([layout]):not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([class=layoutDefault][validity]:not([validity=valid])) .wrapper:before,:host(:not([layout])[validity]:not([validity=valid])) .wrapper:before{border-bottom:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{text-align:left}.layoutDefault :host,:host(:not([layout])) :host{position:relative;display:block}.layoutDefault .wrapper,:host(:not([layout])) .wrapper{display:flex;flex-direction:row}.layoutDefault .main,:host(:not([layout])) .main{display:flex;flex-direction:row;position:relative;flex:1}`;
|
|
6222
6234
|
|
|
@@ -10498,13 +10510,20 @@ class AuroFormValidation {
|
|
|
10498
10510
|
// For partial date formats, valueObject is never populated; validate them directly.
|
|
10499
10511
|
if (elem.value && !elem.valueObject) {
|
|
10500
10512
|
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
10501
|
-
const isValidPartial = isPartialDateFormat && elem.util.isValidPartialDate(elem.value, elem.format);
|
|
10502
10513
|
|
|
10503
|
-
if (
|
|
10504
|
-
elem.
|
|
10505
|
-
|
|
10514
|
+
if (isPartialDateFormat) {
|
|
10515
|
+
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
10516
|
+
elem.validity = 'patternMismatch';
|
|
10517
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
10518
|
+
}
|
|
10519
|
+
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
10506
10520
|
return;
|
|
10507
10521
|
}
|
|
10522
|
+
|
|
10523
|
+
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
10524
|
+
elem.validity = 'patternMismatch';
|
|
10525
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
10526
|
+
return;
|
|
10508
10527
|
}
|
|
10509
10528
|
|
|
10510
10529
|
// Perform the rest of the validation
|
|
@@ -16289,8 +16308,6 @@ function cleanEscapedString(input) {
|
|
|
16289
16308
|
return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
|
|
16290
16309
|
}
|
|
16291
16310
|
|
|
16292
|
-
/* eslint-disable max-lines */
|
|
16293
|
-
|
|
16294
16311
|
class AuroInputUtilities {
|
|
16295
16312
|
|
|
16296
16313
|
/**
|
|
@@ -16333,7 +16350,7 @@ class AuroInputUtilities {
|
|
|
16333
16350
|
/**
|
|
16334
16351
|
* Converts an IMask-style date mask to a date-fns compatible format string.
|
|
16335
16352
|
* @param {string} mask - IMask date mask (e.g. "MM/DD/YYYY").
|
|
16336
|
-
* @returns {string} date-fns format string (e.g. "MM/dd/yyyy").
|
|
16353
|
+
* @returns {string} A date-fns format string (e.g. "MM/dd/yyyy").
|
|
16337
16354
|
*/
|
|
16338
16355
|
toDateFnsMask(mask) {
|
|
16339
16356
|
return mask
|
|
@@ -16433,10 +16450,11 @@ class AuroInputUtilities {
|
|
|
16433
16450
|
const dateFormat = format$1 || this.overrideFormat || pattern || 'mm/dd/yyyy';
|
|
16434
16451
|
|
|
16435
16452
|
if (dateFormat === 'dd' || dateFormat === 'yy' || dateFormat === 'yyyy') {
|
|
16436
|
-
const
|
|
16453
|
+
const fromValue = dateFormat === 'yyyy' ? 1900 : (dateFormat === 'yy' ? 0 : 1);
|
|
16454
|
+
const maxValue = dateFormat === 'dd' ? 31 : (dateFormat === 'yy' ? 99 : 2100);
|
|
16437
16455
|
return {
|
|
16438
16456
|
mask: IMask.MaskedRange,
|
|
16439
|
-
from:
|
|
16457
|
+
from: fromValue,
|
|
16440
16458
|
to: maxValue,
|
|
16441
16459
|
lazy: true,
|
|
16442
16460
|
placeholderChar: '',
|
|
@@ -16444,7 +16462,8 @@ class AuroInputUtilities {
|
|
|
16444
16462
|
return value.toString().padStart(dateFormat.length, '0');
|
|
16445
16463
|
},
|
|
16446
16464
|
parse(str) {
|
|
16447
|
-
|
|
16465
|
+
const num = parseInt(str, 10);
|
|
16466
|
+
return isNaN(num) ? null : num;
|
|
16448
16467
|
}
|
|
16449
16468
|
};
|
|
16450
16469
|
}
|
|
@@ -16510,7 +16529,7 @@ class AuroInputUtilities {
|
|
|
16510
16529
|
|
|
16511
16530
|
/**
|
|
16512
16531
|
* Validates a value against a partial date format (one that lacks yy/mm/dd all three).
|
|
16513
|
-
*
|
|
16532
|
+
* Day- and year-only formats (dd/yy/yyyy) are checked as integer ranges; other partial formats use
|
|
16514
16533
|
* a date-fns parse + round-trip to confirm both validity and exact formatting.
|
|
16515
16534
|
* @param {string} value - The user-facing display value.
|
|
16516
16535
|
* @param {string} format - The partial date format string (e.g. "mm/yyyy", "yyyy", "dd").
|
|
@@ -16532,7 +16551,7 @@ class AuroInputUtilities {
|
|
|
16532
16551
|
}
|
|
16533
16552
|
if (normalizedFormat === 'yyyy') {
|
|
16534
16553
|
const num = Number(value);
|
|
16535
|
-
return (/^\d{4}$/u).test(value) && num >=
|
|
16554
|
+
return (/^\d{4}$/u).test(value) && num >= 1900 && num <= 2100;
|
|
16536
16555
|
}
|
|
16537
16556
|
|
|
16538
16557
|
const dateFnsMask = this.toDateFnsMask(normalizedFormat);
|
|
@@ -16541,7 +16560,14 @@ class AuroInputUtilities {
|
|
|
16541
16560
|
const referenceDate = new Date();
|
|
16542
16561
|
referenceDate.setDate(1);
|
|
16543
16562
|
const parsed = parse(value, dateFnsMask, referenceDate);
|
|
16544
|
-
|
|
16563
|
+
if (!isValid(parsed) || format(parsed, dateFnsMask) !== value) {
|
|
16564
|
+
return false;
|
|
16565
|
+
}
|
|
16566
|
+
if (normalizedFormat.includes('yyyy')) {
|
|
16567
|
+
const year = parsed.getFullYear();
|
|
16568
|
+
return year >= 1900 && year <= 2100;
|
|
16569
|
+
}
|
|
16570
|
+
return true;
|
|
16545
16571
|
}
|
|
16546
16572
|
|
|
16547
16573
|
/**
|
|
@@ -17265,7 +17291,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
17265
17291
|
|
|
17266
17292
|
/**
|
|
17267
17293
|
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
17268
|
-
*
|
|
17294
|
+
* For `date` type inputs using a full date format (year/month/day), the `value` should be ISO (YYYY-MM-DD). Partial date formats use the display format.
|
|
17269
17295
|
*/
|
|
17270
17296
|
value: {
|
|
17271
17297
|
type: String
|
|
@@ -17418,7 +17444,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
17418
17444
|
|
|
17419
17445
|
/**
|
|
17420
17446
|
* @private
|
|
17421
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
17447
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
17422
17448
|
* @returns {void} Sets the default help text for the input.
|
|
17423
17449
|
*/
|
|
17424
17450
|
setCustomHelpTextMessage() {
|
|
@@ -17749,7 +17775,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
17749
17775
|
let selectionStart = null;
|
|
17750
17776
|
try {
|
|
17751
17777
|
({ selectionStart } = this.inputElement);
|
|
17752
|
-
} catch
|
|
17778
|
+
} catch {
|
|
17753
17779
|
return;
|
|
17754
17780
|
}
|
|
17755
17781
|
if (typeof selectionStart !== 'number') {
|
|
@@ -17758,7 +17784,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
17758
17784
|
this.updateComplete.then(() => {
|
|
17759
17785
|
try {
|
|
17760
17786
|
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
17761
|
-
} catch
|
|
17787
|
+
} catch {
|
|
17762
17788
|
// Some input types (number/email in certain UAs) throw on
|
|
17763
17789
|
// setSelectionRange; swallow and let the native cursor stand.
|
|
17764
17790
|
}
|
|
@@ -17934,7 +17960,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
17934
17960
|
/**
|
|
17935
17961
|
* Function to support credit-card feature type.
|
|
17936
17962
|
* @private
|
|
17937
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
17963
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
17938
17964
|
* @returns {object} JSON with data for credit card formatting.
|
|
17939
17965
|
*/
|
|
17940
17966
|
matchInputValueToCreditCard() {
|
|
@@ -18388,7 +18414,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18388
18414
|
}
|
|
18389
18415
|
};
|
|
18390
18416
|
|
|
18391
|
-
var formkitVersion$1 = '
|
|
18417
|
+
var formkitVersion$1 = '202607011914';
|
|
18392
18418
|
|
|
18393
18419
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18394
18420
|
// See LICENSE in the project root for license information.
|
|
@@ -18711,7 +18737,7 @@ class AuroInput extends BaseInput {
|
|
|
18711
18737
|
/**
|
|
18712
18738
|
* Determines default help text string.
|
|
18713
18739
|
* @private
|
|
18714
|
-
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
18740
|
+
* @deprecated See https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296.
|
|
18715
18741
|
* @returns {string} Evaluates pre-determined help text.
|
|
18716
18742
|
*/
|
|
18717
18743
|
getHelpText() {
|
|
@@ -19514,7 +19540,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19514
19540
|
}
|
|
19515
19541
|
}
|
|
19516
19542
|
|
|
19517
|
-
var formkitVersion = '
|
|
19543
|
+
var formkitVersion = '202607011914';
|
|
19518
19544
|
|
|
19519
19545
|
var styleCss$1 = css`.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}`;
|
|
19520
19546
|
|
|
@@ -19992,7 +20018,7 @@ class AuroCombobox extends AuroElement {
|
|
|
19992
20018
|
}
|
|
19993
20019
|
|
|
19994
20020
|
/**
|
|
19995
|
-
* setTimeout
|
|
20021
|
+
* Wraps setTimeout and records the timer id so disconnectedCallback
|
|
19996
20022
|
* can cancel any outstanding callbacks. The id is removed from the set
|
|
19997
20023
|
* once the callback fires so the set doesn't grow unbounded.
|
|
19998
20024
|
* @param {Function} fn - Callback to run.
|
|
@@ -21538,12 +21564,10 @@ class AuroCombobox extends AuroElement {
|
|
|
21538
21564
|
this.menu.loading ||
|
|
21539
21565
|
this.noMatchOption
|
|
21540
21566
|
) {
|
|
21541
|
-
if (this._userTyped) {
|
|
21542
|
-
|
|
21543
|
-
this.showBib();
|
|
21544
|
-
}
|
|
21545
|
-
this._userTyped = false;
|
|
21567
|
+
if (this._userTyped && !this.dropdownOpen) {
|
|
21568
|
+
this.showBib();
|
|
21546
21569
|
}
|
|
21570
|
+
this._userTyped = false;
|
|
21547
21571
|
}
|
|
21548
21572
|
|
|
21549
21573
|
if (!this.availableOptions.includes(this.menu.optionActive)) {
|
|
@@ -526,13 +526,20 @@ class AuroFormValidation {
|
|
|
526
526
|
// For partial date formats, valueObject is never populated; validate them directly.
|
|
527
527
|
if (elem.value && !elem.valueObject) {
|
|
528
528
|
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
529
|
-
const isValidPartial = isPartialDateFormat && elem.util.isValidPartialDate(elem.value, elem.format);
|
|
530
529
|
|
|
531
|
-
if (
|
|
532
|
-
elem.
|
|
533
|
-
|
|
530
|
+
if (isPartialDateFormat) {
|
|
531
|
+
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
532
|
+
elem.validity = 'patternMismatch';
|
|
533
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
534
|
+
}
|
|
535
|
+
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
534
536
|
return;
|
|
535
537
|
}
|
|
538
|
+
|
|
539
|
+
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
540
|
+
elem.validity = 'patternMismatch';
|
|
541
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
542
|
+
return;
|
|
536
543
|
}
|
|
537
544
|
|
|
538
545
|
// Perform the rest of the validation
|
|
@@ -1107,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1107
1114
|
}
|
|
1108
1115
|
};
|
|
1109
1116
|
|
|
1110
|
-
var formkitVersion$1 = '
|
|
1117
|
+
var formkitVersion$1 = '202607011914';
|
|
1111
1118
|
|
|
1112
1119
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1113
1120
|
// See LICENSE in the project root for license information.
|
|
@@ -5453,7 +5460,7 @@ class AuroHelpText extends i$2 {
|
|
|
5453
5460
|
}
|
|
5454
5461
|
}
|
|
5455
5462
|
|
|
5456
|
-
var formkitVersion = '
|
|
5463
|
+
var formkitVersion = '202607011914';
|
|
5457
5464
|
|
|
5458
5465
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5459
5466
|
static get properties() {
|
|
@@ -6210,14 +6217,19 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6210
6217
|
if (!this.isPopoverVisible) {
|
|
6211
6218
|
// wait til the bib gets fully closed and rendered
|
|
6212
6219
|
setTimeout(() => {
|
|
6213
|
-
//
|
|
6214
|
-
|
|
6220
|
+
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
6221
|
+
// Restore focus to trigger when focus is still inside the bib (:focus-within) or fell to body.
|
|
6222
|
+
if (this.isPopoverVisible ||
|
|
6223
|
+
// eslint-disable-next-line no-extra-parens
|
|
6224
|
+
(!this.bibContent?.matches(':focus-within') &&
|
|
6225
|
+
document.activeElement !== document.body)) {
|
|
6215
6226
|
return;
|
|
6216
6227
|
}
|
|
6217
|
-
//
|
|
6228
|
+
// Restore focus to the trigger.
|
|
6218
6229
|
this.trigger.focus();
|
|
6219
6230
|
});
|
|
6220
|
-
}
|
|
6231
|
+
}
|
|
6232
|
+
}
|
|
6221
6233
|
|
|
6222
6234
|
firstUpdated() {
|
|
6223
6235
|
// Configure the floater to, this will generate the ID for the bib
|
|
@@ -526,13 +526,20 @@ class AuroFormValidation {
|
|
|
526
526
|
// For partial date formats, valueObject is never populated; validate them directly.
|
|
527
527
|
if (elem.value && !elem.valueObject) {
|
|
528
528
|
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
529
|
-
const isValidPartial = isPartialDateFormat && elem.util.isValidPartialDate(elem.value, elem.format);
|
|
530
529
|
|
|
531
|
-
if (
|
|
532
|
-
elem.
|
|
533
|
-
|
|
530
|
+
if (isPartialDateFormat) {
|
|
531
|
+
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
532
|
+
elem.validity = 'patternMismatch';
|
|
533
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
534
|
+
}
|
|
535
|
+
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
534
536
|
return;
|
|
535
537
|
}
|
|
538
|
+
|
|
539
|
+
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
540
|
+
elem.validity = 'patternMismatch';
|
|
541
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
542
|
+
return;
|
|
536
543
|
}
|
|
537
544
|
|
|
538
545
|
// Perform the rest of the validation
|
|
@@ -1107,7 +1114,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1107
1114
|
}
|
|
1108
1115
|
};
|
|
1109
1116
|
|
|
1110
|
-
var formkitVersion$1 = '
|
|
1117
|
+
var formkitVersion$1 = '202607011914';
|
|
1111
1118
|
|
|
1112
1119
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1113
1120
|
// See LICENSE in the project root for license information.
|
|
@@ -5453,7 +5460,7 @@ class AuroHelpText extends i$2 {
|
|
|
5453
5460
|
}
|
|
5454
5461
|
}
|
|
5455
5462
|
|
|
5456
|
-
var formkitVersion = '
|
|
5463
|
+
var formkitVersion = '202607011914';
|
|
5457
5464
|
|
|
5458
5465
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5459
5466
|
static get properties() {
|
|
@@ -6210,14 +6217,19 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6210
6217
|
if (!this.isPopoverVisible) {
|
|
6211
6218
|
// wait til the bib gets fully closed and rendered
|
|
6212
6219
|
setTimeout(() => {
|
|
6213
|
-
//
|
|
6214
|
-
|
|
6220
|
+
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
6221
|
+
// Restore focus to trigger when focus is still inside the bib (:focus-within) or fell to body.
|
|
6222
|
+
if (this.isPopoverVisible ||
|
|
6223
|
+
// eslint-disable-next-line no-extra-parens
|
|
6224
|
+
(!this.bibContent?.matches(':focus-within') &&
|
|
6225
|
+
document.activeElement !== document.body)) {
|
|
6215
6226
|
return;
|
|
6216
6227
|
}
|
|
6217
|
-
//
|
|
6228
|
+
// Restore focus to the trigger.
|
|
6218
6229
|
this.trigger.focus();
|
|
6219
6230
|
});
|
|
6220
|
-
}
|
|
6231
|
+
}
|
|
6232
|
+
}
|
|
6221
6233
|
|
|
6222
6234
|
firstUpdated() {
|
|
6223
6235
|
// Configure the floater to, this will generate the ID for the bib
|
|
@@ -482,13 +482,20 @@ class AuroFormValidation {
|
|
|
482
482
|
// For partial date formats, valueObject is never populated; validate them directly.
|
|
483
483
|
if (elem.value && !elem.valueObject) {
|
|
484
484
|
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
485
|
-
const isValidPartial = isPartialDateFormat && elem.util.isValidPartialDate(elem.value, elem.format);
|
|
486
485
|
|
|
487
|
-
if (
|
|
488
|
-
elem.
|
|
489
|
-
|
|
486
|
+
if (isPartialDateFormat) {
|
|
487
|
+
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
488
|
+
elem.validity = 'patternMismatch';
|
|
489
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
490
|
+
}
|
|
491
|
+
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
490
492
|
return;
|
|
491
493
|
}
|
|
494
|
+
|
|
495
|
+
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
496
|
+
elem.validity = 'patternMismatch';
|
|
497
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
498
|
+
return;
|
|
492
499
|
}
|
|
493
500
|
|
|
494
501
|
// Perform the rest of the validation
|
|
@@ -1057,7 +1064,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1057
1064
|
}
|
|
1058
1065
|
};
|
|
1059
1066
|
|
|
1060
|
-
var formkitVersion$1 = '
|
|
1067
|
+
var formkitVersion$1 = '202607011914';
|
|
1061
1068
|
|
|
1062
1069
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1063
1070
|
// See LICENSE in the project root for license information.
|
|
@@ -5385,7 +5392,7 @@ class AuroHelpText extends LitElement {
|
|
|
5385
5392
|
}
|
|
5386
5393
|
}
|
|
5387
5394
|
|
|
5388
|
-
var formkitVersion = '
|
|
5395
|
+
var formkitVersion = '202607011914';
|
|
5389
5396
|
|
|
5390
5397
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5391
5398
|
static get properties() {
|
|
@@ -6142,14 +6149,19 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6142
6149
|
if (!this.isPopoverVisible) {
|
|
6143
6150
|
// wait til the bib gets fully closed and rendered
|
|
6144
6151
|
setTimeout(() => {
|
|
6145
|
-
//
|
|
6146
|
-
|
|
6152
|
+
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
6153
|
+
// Restore focus to trigger when focus is still inside the bib (:focus-within) or fell to body.
|
|
6154
|
+
if (this.isPopoverVisible ||
|
|
6155
|
+
// eslint-disable-next-line no-extra-parens
|
|
6156
|
+
(!this.bibContent?.matches(':focus-within') &&
|
|
6157
|
+
document.activeElement !== document.body)) {
|
|
6147
6158
|
return;
|
|
6148
6159
|
}
|
|
6149
|
-
//
|
|
6160
|
+
// Restore focus to the trigger.
|
|
6150
6161
|
this.trigger.focus();
|
|
6151
6162
|
});
|
|
6152
|
-
}
|
|
6163
|
+
}
|
|
6164
|
+
}
|
|
6153
6165
|
|
|
6154
6166
|
firstUpdated() {
|
|
6155
6167
|
// Configure the floater to, this will generate the ID for the bib
|
|
@@ -482,13 +482,20 @@ class AuroFormValidation {
|
|
|
482
482
|
// For partial date formats, valueObject is never populated; validate them directly.
|
|
483
483
|
if (elem.value && !elem.valueObject) {
|
|
484
484
|
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
485
|
-
const isValidPartial = isPartialDateFormat && elem.util.isValidPartialDate(elem.value, elem.format);
|
|
486
485
|
|
|
487
|
-
if (
|
|
488
|
-
elem.
|
|
489
|
-
|
|
486
|
+
if (isPartialDateFormat) {
|
|
487
|
+
if (!elem.util.isValidPartialDate(elem.value, elem.format)) {
|
|
488
|
+
elem.validity = 'patternMismatch';
|
|
489
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
490
|
+
}
|
|
491
|
+
// Partial date format — validate directly and skip max/min checks since valueObject is undefined.
|
|
490
492
|
return;
|
|
491
493
|
}
|
|
494
|
+
|
|
495
|
+
// Full date format with no valueObject means the value is not a valid calendar date.
|
|
496
|
+
elem.validity = 'patternMismatch';
|
|
497
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
498
|
+
return;
|
|
492
499
|
}
|
|
493
500
|
|
|
494
501
|
// Perform the rest of the validation
|
|
@@ -1057,7 +1064,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1057
1064
|
}
|
|
1058
1065
|
};
|
|
1059
1066
|
|
|
1060
|
-
var formkitVersion$1 = '
|
|
1067
|
+
var formkitVersion$1 = '202607011914';
|
|
1061
1068
|
|
|
1062
1069
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1063
1070
|
// See LICENSE in the project root for license information.
|
|
@@ -5385,7 +5392,7 @@ class AuroHelpText extends LitElement {
|
|
|
5385
5392
|
}
|
|
5386
5393
|
}
|
|
5387
5394
|
|
|
5388
|
-
var formkitVersion = '
|
|
5395
|
+
var formkitVersion = '202607011914';
|
|
5389
5396
|
|
|
5390
5397
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5391
5398
|
static get properties() {
|
|
@@ -6142,14 +6149,19 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6142
6149
|
if (!this.isPopoverVisible) {
|
|
6143
6150
|
// wait til the bib gets fully closed and rendered
|
|
6144
6151
|
setTimeout(() => {
|
|
6145
|
-
//
|
|
6146
|
-
|
|
6152
|
+
// Skip if the bib re-opened, or if focus moved intentionally outside the dropdown (not to body).
|
|
6153
|
+
// Restore focus to trigger when focus is still inside the bib (:focus-within) or fell to body.
|
|
6154
|
+
if (this.isPopoverVisible ||
|
|
6155
|
+
// eslint-disable-next-line no-extra-parens
|
|
6156
|
+
(!this.bibContent?.matches(':focus-within') &&
|
|
6157
|
+
document.activeElement !== document.body)) {
|
|
6147
6158
|
return;
|
|
6148
6159
|
}
|
|
6149
|
-
//
|
|
6160
|
+
// Restore focus to the trigger.
|
|
6150
6161
|
this.trigger.focus();
|
|
6151
6162
|
});
|
|
6152
|
-
}
|
|
6163
|
+
}
|
|
6164
|
+
}
|
|
6153
6165
|
|
|
6154
6166
|
firstUpdated() {
|
|
6155
6167
|
// Configure the floater to, this will generate the ID for the bib
|