@aurodesignsystem-dev/auro-formkit 0.0.0-pr1518.0 → 0.0.0-pr1519.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.
- package/components/checkbox/demo/customize.min.js +11 -5
- package/components/checkbox/demo/getting-started.min.js +11 -5
- package/components/checkbox/demo/index.min.js +11 -5
- package/components/checkbox/dist/index.js +11 -5
- package/components/checkbox/dist/registered.js +11 -5
- package/components/combobox/demo/customize.min.js +95 -24
- package/components/combobox/demo/getting-started.min.js +95 -24
- package/components/combobox/demo/index.min.js +95 -24
- package/components/combobox/dist/auro-combobox.d.ts +1 -1
- package/components/combobox/dist/index.js +95 -24
- package/components/combobox/dist/registered.js +95 -24
- package/components/counter/demo/customize.min.js +25 -7
- package/components/counter/demo/index.min.js +25 -7
- package/components/counter/dist/index.js +25 -7
- package/components/counter/dist/registered.js +25 -7
- package/components/datepicker/demo/customize.min.js +128 -21
- package/components/datepicker/demo/index.min.js +128 -21
- package/components/datepicker/dist/index.js +128 -21
- package/components/datepicker/dist/registered.js +128 -21
- package/components/dropdown/demo/customize.min.js +14 -2
- package/components/dropdown/demo/getting-started.min.js +14 -2
- package/components/dropdown/demo/index.min.js +14 -2
- package/components/dropdown/dist/index.js +14 -2
- package/components/dropdown/dist/registered.js +14 -2
- package/components/form/demo/customize.min.js +359 -82
- package/components/form/demo/getting-started.min.js +359 -82
- package/components/form/demo/index.min.js +359 -82
- package/components/form/demo/registerDemoDeps.min.js +359 -82
- package/components/input/demo/api.md +58 -57
- package/components/input/demo/customize.min.js +64 -13
- package/components/input/demo/getting-started.min.js +64 -13
- package/components/input/demo/index.min.js +64 -13
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +10 -4
- package/components/input/dist/index.js +64 -13
- package/components/input/dist/registered.js +64 -13
- package/components/input/dist/utilities.d.ts +10 -1
- package/components/radio/demo/customize.min.js +11 -5
- package/components/radio/demo/getting-started.min.js +11 -5
- package/components/radio/demo/index.min.js +11 -5
- package/components/radio/dist/index.js +11 -5
- package/components/radio/dist/registered.js +11 -5
- package/components/select/demo/customize.min.js +25 -7
- package/components/select/demo/getting-started.min.js +25 -7
- package/components/select/demo/index.min.js +25 -7
- package/components/select/dist/index.js +25 -7
- package/components/select/dist/registered.js +25 -7
- package/custom-elements.json +1582 -1512
- package/package.json +1 -1
|
@@ -350,11 +350,17 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
350
350
|
return;
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
353
|
+
// Validate that the date passed was the correct format and is a valid date.
|
|
354
|
+
// For partial date formats, valueObject is never populated; validate them directly.
|
|
354
355
|
if (elem.value && !elem.valueObject) {
|
|
355
|
-
elem.
|
|
356
|
-
|
|
357
|
-
|
|
356
|
+
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
357
|
+
const isValidPartial = isPartialDateFormat && elem.util.isValidPartialDate(elem.value, elem.format);
|
|
358
|
+
|
|
359
|
+
if (!isValidPartial) {
|
|
360
|
+
elem.validity = 'patternMismatch';
|
|
361
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
362
|
+
return;
|
|
363
|
+
}
|
|
358
364
|
}
|
|
359
365
|
|
|
360
366
|
// Perform the rest of the validation
|
|
@@ -4799,7 +4805,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4799
4805
|
}
|
|
4800
4806
|
};
|
|
4801
4807
|
|
|
4802
|
-
var formkitVersion$2 = '
|
|
4808
|
+
var formkitVersion$2 = '202607011722';
|
|
4803
4809
|
|
|
4804
4810
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4805
4811
|
static get properties() {
|
|
@@ -5551,7 +5557,19 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
5551
5557
|
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
5552
5558
|
this.trigger.focus();
|
|
5553
5559
|
}
|
|
5554
|
-
|
|
5560
|
+
|
|
5561
|
+
|
|
5562
|
+
if (!this.isPopoverVisible) {
|
|
5563
|
+
// wait til the bib gets fully closed and rendered
|
|
5564
|
+
setTimeout(() => {
|
|
5565
|
+
// check if it's still closed and the focus is still within the dropdown, but not in the bib. If so, move focus to the trigger.
|
|
5566
|
+
if (!this.isPopoverVisible || !this.bib.matches(':focus-within')) {
|
|
5567
|
+
return;
|
|
5568
|
+
}
|
|
5569
|
+
// Move focus out of bib into trigger.
|
|
5570
|
+
this.trigger.focus();
|
|
5571
|
+
});
|
|
5572
|
+
} }
|
|
5555
5573
|
|
|
5556
5574
|
firstUpdated() {
|
|
5557
5575
|
// Configure the floater to, this will generate the ID for the bib
|
|
@@ -6198,7 +6216,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
6198
6216
|
|
|
6199
6217
|
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}`;
|
|
6200
6218
|
|
|
6201
|
-
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}`;
|
|
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}`;
|
|
6202
6220
|
|
|
6203
6221
|
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}`;
|
|
6204
6222
|
|
|
@@ -10476,11 +10494,17 @@ class AuroFormValidation {
|
|
|
10476
10494
|
return;
|
|
10477
10495
|
}
|
|
10478
10496
|
|
|
10479
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
10497
|
+
// Validate that the date passed was the correct format and is a valid date.
|
|
10498
|
+
// For partial date formats, valueObject is never populated; validate them directly.
|
|
10480
10499
|
if (elem.value && !elem.valueObject) {
|
|
10481
|
-
elem.
|
|
10482
|
-
|
|
10483
|
-
|
|
10500
|
+
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
10501
|
+
const isValidPartial = isPartialDateFormat && elem.util.isValidPartialDate(elem.value, elem.format);
|
|
10502
|
+
|
|
10503
|
+
if (!isValidPartial) {
|
|
10504
|
+
elem.validity = 'patternMismatch';
|
|
10505
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
10506
|
+
return;
|
|
10507
|
+
}
|
|
10484
10508
|
}
|
|
10485
10509
|
|
|
10486
10510
|
// Perform the rest of the validation
|
|
@@ -16265,6 +16289,8 @@ function cleanEscapedString(input) {
|
|
|
16265
16289
|
return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
|
|
16266
16290
|
}
|
|
16267
16291
|
|
|
16292
|
+
/* eslint-disable max-lines */
|
|
16293
|
+
|
|
16268
16294
|
class AuroInputUtilities {
|
|
16269
16295
|
|
|
16270
16296
|
/**
|
|
@@ -16307,7 +16333,7 @@ class AuroInputUtilities {
|
|
|
16307
16333
|
/**
|
|
16308
16334
|
* Converts an IMask-style date mask to a date-fns compatible format string.
|
|
16309
16335
|
* @param {string} mask - IMask date mask (e.g. "MM/DD/YYYY").
|
|
16310
|
-
* @returns {string}
|
|
16336
|
+
* @returns {string} date-fns format string (e.g. "MM/dd/yyyy").
|
|
16311
16337
|
*/
|
|
16312
16338
|
toDateFnsMask(mask) {
|
|
16313
16339
|
return mask
|
|
@@ -16482,6 +16508,42 @@ class AuroInputUtilities {
|
|
|
16482
16508
|
return type === 'date' && normalizedFormat.includes('yy') && normalizedFormat.includes('mm') && normalizedFormat.includes('dd');
|
|
16483
16509
|
}
|
|
16484
16510
|
|
|
16511
|
+
/**
|
|
16512
|
+
* Validates a value against a partial date format (one that lacks yy/mm/dd all three).
|
|
16513
|
+
* Single-component formats are checked as integer ranges; multi-component formats use
|
|
16514
|
+
* a date-fns parse + round-trip to confirm both validity and exact formatting.
|
|
16515
|
+
* @param {string} value - The user-facing display value.
|
|
16516
|
+
* @param {string} format - The partial date format string (e.g. "mm/yyyy", "yyyy", "dd").
|
|
16517
|
+
* @returns {boolean}
|
|
16518
|
+
*/
|
|
16519
|
+
isValidPartialDate(value, format$1) {
|
|
16520
|
+
if (!value || !format$1) {
|
|
16521
|
+
return false;
|
|
16522
|
+
}
|
|
16523
|
+
const normalizedFormat = format$1.toLowerCase();
|
|
16524
|
+
|
|
16525
|
+
if (normalizedFormat === 'dd') {
|
|
16526
|
+
const num = Number(value);
|
|
16527
|
+
return (/^\d{2}$/u).test(value) && num >= 1 && num <= 31;
|
|
16528
|
+
}
|
|
16529
|
+
if (normalizedFormat === 'yy') {
|
|
16530
|
+
const num = Number(value);
|
|
16531
|
+
return (/^\d{2}$/u).test(value) && num >= 0 && num <= 99;
|
|
16532
|
+
}
|
|
16533
|
+
if (normalizedFormat === 'yyyy') {
|
|
16534
|
+
const num = Number(value);
|
|
16535
|
+
return (/^\d{4}$/u).test(value) && num >= 1 && num <= 9999;
|
|
16536
|
+
}
|
|
16537
|
+
|
|
16538
|
+
const dateFnsMask = this.toDateFnsMask(normalizedFormat);
|
|
16539
|
+
// Use the 1st of the current month as the reference so that formats
|
|
16540
|
+
// omitting a day (e.g. MM/yyyy) never roll over on days 29–31.
|
|
16541
|
+
const referenceDate = new Date();
|
|
16542
|
+
referenceDate.setDate(1);
|
|
16543
|
+
const parsed = parse(value, dateFnsMask, referenceDate);
|
|
16544
|
+
return isValid(parsed) && format(parsed, dateFnsMask) === value;
|
|
16545
|
+
}
|
|
16546
|
+
|
|
16485
16547
|
/**
|
|
16486
16548
|
* Converts a display string to its model value.
|
|
16487
16549
|
* For full date formats, converts the display string to an ISO date string.
|
|
@@ -17101,6 +17163,13 @@ class BaseInput extends AuroElement$1 {
|
|
|
17101
17163
|
type: String
|
|
17102
17164
|
},
|
|
17103
17165
|
|
|
17166
|
+
/**
|
|
17167
|
+
* Custom help text message to display when validity = `patternMismatch`.
|
|
17168
|
+
*/
|
|
17169
|
+
setCustomValidityPatternMismatch: {
|
|
17170
|
+
type: String
|
|
17171
|
+
},
|
|
17172
|
+
|
|
17104
17173
|
/**
|
|
17105
17174
|
* Custom help text message to display when validity = `rangeOverflow`.
|
|
17106
17175
|
*/
|
|
@@ -17171,7 +17240,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
17171
17240
|
|
|
17172
17241
|
/**
|
|
17173
17242
|
* Populates the `type` attribute on the input.
|
|
17174
|
-
* @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'}
|
|
17243
|
+
* @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number' | 'date'}
|
|
17175
17244
|
* @default 'text'
|
|
17176
17245
|
*/
|
|
17177
17246
|
type: {
|
|
@@ -17349,7 +17418,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
17349
17418
|
|
|
17350
17419
|
/**
|
|
17351
17420
|
* @private
|
|
17352
|
-
* @deprecated
|
|
17421
|
+
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
17353
17422
|
* @returns {void} Sets the default help text for the input.
|
|
17354
17423
|
*/
|
|
17355
17424
|
setCustomHelpTextMessage() {
|
|
@@ -17680,7 +17749,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
17680
17749
|
let selectionStart = null;
|
|
17681
17750
|
try {
|
|
17682
17751
|
({ selectionStart } = this.inputElement);
|
|
17683
|
-
} catch {
|
|
17752
|
+
} catch (error) { // eslint-disable-line no-unused-vars
|
|
17684
17753
|
return;
|
|
17685
17754
|
}
|
|
17686
17755
|
if (typeof selectionStart !== 'number') {
|
|
@@ -17689,7 +17758,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
17689
17758
|
this.updateComplete.then(() => {
|
|
17690
17759
|
try {
|
|
17691
17760
|
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
17692
|
-
} catch {
|
|
17761
|
+
} catch (error) { // eslint-disable-line no-unused-vars
|
|
17693
17762
|
// Some input types (number/email in certain UAs) throw on
|
|
17694
17763
|
// setSelectionRange; swallow and let the native cursor stand.
|
|
17695
17764
|
}
|
|
@@ -17865,7 +17934,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
17865
17934
|
/**
|
|
17866
17935
|
* Function to support credit-card feature type.
|
|
17867
17936
|
* @private
|
|
17868
|
-
* @deprecated
|
|
17937
|
+
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
17869
17938
|
* @returns {object} JSON with data for credit card formatting.
|
|
17870
17939
|
*/
|
|
17871
17940
|
matchInputValueToCreditCard() {
|
|
@@ -18319,7 +18388,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
18319
18388
|
}
|
|
18320
18389
|
};
|
|
18321
18390
|
|
|
18322
|
-
var formkitVersion$1 = '
|
|
18391
|
+
var formkitVersion$1 = '202607011722';
|
|
18323
18392
|
|
|
18324
18393
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
18325
18394
|
// See LICENSE in the project root for license information.
|
|
@@ -18642,7 +18711,7 @@ class AuroInput extends BaseInput {
|
|
|
18642
18711
|
/**
|
|
18643
18712
|
* Determines default help text string.
|
|
18644
18713
|
* @private
|
|
18645
|
-
* @deprecated
|
|
18714
|
+
* @deprecated https://dev.azure.com/itsals/E_Retain_Content/_workitems/edit/1557296
|
|
18646
18715
|
* @returns {string} Evaluates pre-determined help text.
|
|
18647
18716
|
*/
|
|
18648
18717
|
getHelpText() {
|
|
@@ -19445,7 +19514,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
19445
19514
|
}
|
|
19446
19515
|
}
|
|
19447
19516
|
|
|
19448
|
-
var formkitVersion = '
|
|
19517
|
+
var formkitVersion = '202607011722';
|
|
19449
19518
|
|
|
19450
19519
|
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}`;
|
|
19451
19520
|
|
|
@@ -19923,7 +19992,7 @@ class AuroCombobox extends AuroElement {
|
|
|
19923
19992
|
}
|
|
19924
19993
|
|
|
19925
19994
|
/**
|
|
19926
|
-
*
|
|
19995
|
+
* setTimeout wrapper that records the timer id so disconnectedCallback
|
|
19927
19996
|
* can cancel any outstanding callbacks. The id is removed from the set
|
|
19928
19997
|
* once the callback fires so the set doesn't grow unbounded.
|
|
19929
19998
|
* @param {Function} fn - Callback to run.
|
|
@@ -21469,10 +21538,12 @@ class AuroCombobox extends AuroElement {
|
|
|
21469
21538
|
this.menu.loading ||
|
|
21470
21539
|
this.noMatchOption
|
|
21471
21540
|
) {
|
|
21472
|
-
if (this._userTyped
|
|
21473
|
-
this.
|
|
21541
|
+
if (this._userTyped) {
|
|
21542
|
+
if (!this.dropdownOpen) {
|
|
21543
|
+
this.showBib();
|
|
21544
|
+
}
|
|
21545
|
+
this._userTyped = false;
|
|
21474
21546
|
}
|
|
21475
|
-
this._userTyped = false;
|
|
21476
21547
|
}
|
|
21477
21548
|
|
|
21478
21549
|
if (!this.availableOptions.includes(this.menu.optionActive)) {
|
|
@@ -522,11 +522,17 @@ class AuroFormValidation {
|
|
|
522
522
|
return;
|
|
523
523
|
}
|
|
524
524
|
|
|
525
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
525
|
+
// Validate that the date passed was the correct format and is a valid date.
|
|
526
|
+
// For partial date formats, valueObject is never populated; validate them directly.
|
|
526
527
|
if (elem.value && !elem.valueObject) {
|
|
527
|
-
elem.
|
|
528
|
-
|
|
529
|
-
|
|
528
|
+
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
529
|
+
const isValidPartial = isPartialDateFormat && elem.util.isValidPartialDate(elem.value, elem.format);
|
|
530
|
+
|
|
531
|
+
if (!isValidPartial) {
|
|
532
|
+
elem.validity = 'patternMismatch';
|
|
533
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
534
|
+
return;
|
|
535
|
+
}
|
|
530
536
|
}
|
|
531
537
|
|
|
532
538
|
// Perform the rest of the validation
|
|
@@ -1101,7 +1107,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1101
1107
|
}
|
|
1102
1108
|
};
|
|
1103
1109
|
|
|
1104
|
-
var formkitVersion$1 = '
|
|
1110
|
+
var formkitVersion$1 = '202607011722';
|
|
1105
1111
|
|
|
1106
1112
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1107
1113
|
// See LICENSE in the project root for license information.
|
|
@@ -5447,7 +5453,7 @@ class AuroHelpText extends i$2 {
|
|
|
5447
5453
|
}
|
|
5448
5454
|
}
|
|
5449
5455
|
|
|
5450
|
-
var formkitVersion = '
|
|
5456
|
+
var formkitVersion = '202607011722';
|
|
5451
5457
|
|
|
5452
5458
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5453
5459
|
static get properties() {
|
|
@@ -6199,7 +6205,19 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6199
6205
|
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
6200
6206
|
this.trigger.focus();
|
|
6201
6207
|
}
|
|
6202
|
-
|
|
6208
|
+
|
|
6209
|
+
|
|
6210
|
+
if (!this.isPopoverVisible) {
|
|
6211
|
+
// wait til the bib gets fully closed and rendered
|
|
6212
|
+
setTimeout(() => {
|
|
6213
|
+
// check if it's still closed and the focus is still within the dropdown, but not in the bib. If so, move focus to the trigger.
|
|
6214
|
+
if (!this.isPopoverVisible || !this.bib.matches(':focus-within')) {
|
|
6215
|
+
return;
|
|
6216
|
+
}
|
|
6217
|
+
// Move focus out of bib into trigger.
|
|
6218
|
+
this.trigger.focus();
|
|
6219
|
+
});
|
|
6220
|
+
} }
|
|
6203
6221
|
|
|
6204
6222
|
firstUpdated() {
|
|
6205
6223
|
// Configure the floater to, this will generate the ID for the bib
|
|
@@ -522,11 +522,17 @@ class AuroFormValidation {
|
|
|
522
522
|
return;
|
|
523
523
|
}
|
|
524
524
|
|
|
525
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
525
|
+
// Validate that the date passed was the correct format and is a valid date.
|
|
526
|
+
// For partial date formats, valueObject is never populated; validate them directly.
|
|
526
527
|
if (elem.value && !elem.valueObject) {
|
|
527
|
-
elem.
|
|
528
|
-
|
|
529
|
-
|
|
528
|
+
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
529
|
+
const isValidPartial = isPartialDateFormat && elem.util.isValidPartialDate(elem.value, elem.format);
|
|
530
|
+
|
|
531
|
+
if (!isValidPartial) {
|
|
532
|
+
elem.validity = 'patternMismatch';
|
|
533
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
534
|
+
return;
|
|
535
|
+
}
|
|
530
536
|
}
|
|
531
537
|
|
|
532
538
|
// Perform the rest of the validation
|
|
@@ -1101,7 +1107,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1101
1107
|
}
|
|
1102
1108
|
};
|
|
1103
1109
|
|
|
1104
|
-
var formkitVersion$1 = '
|
|
1110
|
+
var formkitVersion$1 = '202607011722';
|
|
1105
1111
|
|
|
1106
1112
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1107
1113
|
// See LICENSE in the project root for license information.
|
|
@@ -5447,7 +5453,7 @@ class AuroHelpText extends i$2 {
|
|
|
5447
5453
|
}
|
|
5448
5454
|
}
|
|
5449
5455
|
|
|
5450
|
-
var formkitVersion = '
|
|
5456
|
+
var formkitVersion = '202607011722';
|
|
5451
5457
|
|
|
5452
5458
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5453
5459
|
static get properties() {
|
|
@@ -6199,7 +6205,19 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6199
6205
|
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
6200
6206
|
this.trigger.focus();
|
|
6201
6207
|
}
|
|
6202
|
-
|
|
6208
|
+
|
|
6209
|
+
|
|
6210
|
+
if (!this.isPopoverVisible) {
|
|
6211
|
+
// wait til the bib gets fully closed and rendered
|
|
6212
|
+
setTimeout(() => {
|
|
6213
|
+
// check if it's still closed and the focus is still within the dropdown, but not in the bib. If so, move focus to the trigger.
|
|
6214
|
+
if (!this.isPopoverVisible || !this.bib.matches(':focus-within')) {
|
|
6215
|
+
return;
|
|
6216
|
+
}
|
|
6217
|
+
// Move focus out of bib into trigger.
|
|
6218
|
+
this.trigger.focus();
|
|
6219
|
+
});
|
|
6220
|
+
} }
|
|
6203
6221
|
|
|
6204
6222
|
firstUpdated() {
|
|
6205
6223
|
// Configure the floater to, this will generate the ID for the bib
|
|
@@ -478,11 +478,17 @@ class AuroFormValidation {
|
|
|
478
478
|
return;
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
481
|
+
// Validate that the date passed was the correct format and is a valid date.
|
|
482
|
+
// For partial date formats, valueObject is never populated; validate them directly.
|
|
482
483
|
if (elem.value && !elem.valueObject) {
|
|
483
|
-
elem.
|
|
484
|
-
|
|
485
|
-
|
|
484
|
+
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
485
|
+
const isValidPartial = isPartialDateFormat && elem.util.isValidPartialDate(elem.value, elem.format);
|
|
486
|
+
|
|
487
|
+
if (!isValidPartial) {
|
|
488
|
+
elem.validity = 'patternMismatch';
|
|
489
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
490
|
+
return;
|
|
491
|
+
}
|
|
486
492
|
}
|
|
487
493
|
|
|
488
494
|
// Perform the rest of the validation
|
|
@@ -1051,7 +1057,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1051
1057
|
}
|
|
1052
1058
|
};
|
|
1053
1059
|
|
|
1054
|
-
var formkitVersion$1 = '
|
|
1060
|
+
var formkitVersion$1 = '202607011722';
|
|
1055
1061
|
|
|
1056
1062
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1057
1063
|
// See LICENSE in the project root for license information.
|
|
@@ -5379,7 +5385,7 @@ class AuroHelpText extends LitElement {
|
|
|
5379
5385
|
}
|
|
5380
5386
|
}
|
|
5381
5387
|
|
|
5382
|
-
var formkitVersion = '
|
|
5388
|
+
var formkitVersion = '202607011722';
|
|
5383
5389
|
|
|
5384
5390
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5385
5391
|
static get properties() {
|
|
@@ -6131,7 +6137,19 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6131
6137
|
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
6132
6138
|
this.trigger.focus();
|
|
6133
6139
|
}
|
|
6134
|
-
|
|
6140
|
+
|
|
6141
|
+
|
|
6142
|
+
if (!this.isPopoverVisible) {
|
|
6143
|
+
// wait til the bib gets fully closed and rendered
|
|
6144
|
+
setTimeout(() => {
|
|
6145
|
+
// check if it's still closed and the focus is still within the dropdown, but not in the bib. If so, move focus to the trigger.
|
|
6146
|
+
if (!this.isPopoverVisible || !this.bib.matches(':focus-within')) {
|
|
6147
|
+
return;
|
|
6148
|
+
}
|
|
6149
|
+
// Move focus out of bib into trigger.
|
|
6150
|
+
this.trigger.focus();
|
|
6151
|
+
});
|
|
6152
|
+
} }
|
|
6135
6153
|
|
|
6136
6154
|
firstUpdated() {
|
|
6137
6155
|
// Configure the floater to, this will generate the ID for the bib
|
|
@@ -478,11 +478,17 @@ class AuroFormValidation {
|
|
|
478
478
|
return;
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
// Validate that the date passed was the correct format and is a valid date
|
|
481
|
+
// Validate that the date passed was the correct format and is a valid date.
|
|
482
|
+
// For partial date formats, valueObject is never populated; validate them directly.
|
|
482
483
|
if (elem.value && !elem.valueObject) {
|
|
483
|
-
elem.
|
|
484
|
-
|
|
485
|
-
|
|
484
|
+
const isPartialDateFormat = elem.util && !elem.util.isFullDateFormat(elem.type, elem.format);
|
|
485
|
+
const isValidPartial = isPartialDateFormat && elem.util.isValidPartialDate(elem.value, elem.format);
|
|
486
|
+
|
|
487
|
+
if (!isValidPartial) {
|
|
488
|
+
elem.validity = 'patternMismatch';
|
|
489
|
+
elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || 'Invalid Date Format Entered';
|
|
490
|
+
return;
|
|
491
|
+
}
|
|
486
492
|
}
|
|
487
493
|
|
|
488
494
|
// Perform the rest of the validation
|
|
@@ -1051,7 +1057,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1051
1057
|
}
|
|
1052
1058
|
};
|
|
1053
1059
|
|
|
1054
|
-
var formkitVersion$1 = '
|
|
1060
|
+
var formkitVersion$1 = '202607011722';
|
|
1055
1061
|
|
|
1056
1062
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1057
1063
|
// See LICENSE in the project root for license information.
|
|
@@ -5379,7 +5385,7 @@ class AuroHelpText extends LitElement {
|
|
|
5379
5385
|
}
|
|
5380
5386
|
}
|
|
5381
5387
|
|
|
5382
|
-
var formkitVersion = '
|
|
5388
|
+
var formkitVersion = '202607011722';
|
|
5383
5389
|
|
|
5384
5390
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5385
5391
|
static get properties() {
|
|
@@ -6131,7 +6137,19 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6131
6137
|
if (!this.isPopoverVisible && this.hasFocus && eventType === "keydown") {
|
|
6132
6138
|
this.trigger.focus();
|
|
6133
6139
|
}
|
|
6134
|
-
|
|
6140
|
+
|
|
6141
|
+
|
|
6142
|
+
if (!this.isPopoverVisible) {
|
|
6143
|
+
// wait til the bib gets fully closed and rendered
|
|
6144
|
+
setTimeout(() => {
|
|
6145
|
+
// check if it's still closed and the focus is still within the dropdown, but not in the bib. If so, move focus to the trigger.
|
|
6146
|
+
if (!this.isPopoverVisible || !this.bib.matches(':focus-within')) {
|
|
6147
|
+
return;
|
|
6148
|
+
}
|
|
6149
|
+
// Move focus out of bib into trigger.
|
|
6150
|
+
this.trigger.focus();
|
|
6151
|
+
});
|
|
6152
|
+
} }
|
|
6135
6153
|
|
|
6136
6154
|
firstUpdated() {
|
|
6137
6155
|
// Configure the floater to, this will generate the ID for the bib
|