@aurodesignsystem-dev/auro-formkit 0.0.0-pr1424.5 → 0.0.0-pr1424.6
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/api.min.js +2 -8
- package/components/checkbox/demo/index.min.js +2 -8
- package/components/checkbox/dist/auro-checkbox.d.ts +1 -1
- package/components/checkbox/dist/index.js +2 -8
- package/components/checkbox/dist/registered.js +2 -8
- package/components/combobox/demo/api.min.js +32 -16
- package/components/combobox/demo/index.min.js +32 -16
- package/components/combobox/dist/index.js +32 -16
- package/components/combobox/dist/registered.js +32 -16
- package/components/counter/demo/api.min.js +45 -21
- package/components/counter/demo/index.min.js +45 -21
- package/components/counter/dist/auro-counter.d.ts +3 -2
- package/components/counter/dist/index.js +45 -21
- package/components/counter/dist/registered.js +45 -21
- package/components/datepicker/demo/api.md +6 -6
- package/components/datepicker/demo/api.min.js +51 -29
- package/components/datepicker/demo/index.min.js +51 -29
- package/components/datepicker/dist/auro-datepicker.d.ts +2 -1
- package/components/datepicker/dist/index.js +51 -29
- package/components/datepicker/dist/registered.js +51 -29
- package/components/dropdown/demo/api.min.js +29 -1
- package/components/dropdown/demo/index.min.js +29 -1
- package/components/dropdown/dist/index.js +29 -1
- package/components/dropdown/dist/registered.js +29 -1
- package/components/form/demo/api.min.js +162 -90
- package/components/form/demo/index.min.js +162 -90
- package/components/input/demo/api.min.js +1 -13
- package/components/input/demo/index.min.js +1 -13
- package/components/input/dist/base-input.d.ts +0 -7
- package/components/input/dist/index.js +1 -13
- package/components/input/dist/registered.js +1 -13
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.min.js +30 -2
- package/components/select/demo/index.min.js +30 -2
- package/components/select/demo/keyboard-behavior.html +81 -0
- package/components/select/dist/index.js +30 -2
- package/components/select/dist/registered.js +30 -2
- package/custom-elements.json +3 -47
- package/package.json +2 -2
|
@@ -1520,6 +1520,8 @@ class UtilitiesCalendarRender {
|
|
|
1520
1520
|
*/
|
|
1521
1521
|
updateCentralDate(elem, date) {
|
|
1522
1522
|
const dateObj = new Date(date);
|
|
1523
|
+
dateObj.setDate(1);
|
|
1524
|
+
dateObj.setHours(0, 0, 0, 0);
|
|
1523
1525
|
|
|
1524
1526
|
if (!isNaN(dateObj)) {
|
|
1525
1527
|
elem.centralDate = dateObj;
|
|
@@ -8443,7 +8445,6 @@ class AuroCalendarCell extends i$1 {
|
|
|
8443
8445
|
* @returns Boolean - True if the date is a highlighted date.
|
|
8444
8446
|
*/
|
|
8445
8447
|
isReferenceDate(dateStr) {
|
|
8446
|
-
|
|
8447
8448
|
// If the datepicker has highlighted dates specified
|
|
8448
8449
|
if (this.datepicker && this.datepicker.hasAttribute('referenceDates')) {
|
|
8449
8450
|
|
|
@@ -8453,8 +8454,8 @@ class AuroCalendarCell extends i$1 {
|
|
|
8453
8454
|
// Guard clause: no dates in the array
|
|
8454
8455
|
if (!Array.isArray(referenceDates) || referenceDates.length === 0) return false;
|
|
8455
8456
|
|
|
8456
|
-
// Compare the dateStr (MM_DD_YYYY) to the referenceDates (MM
|
|
8457
|
-
const compareDateStr = dateStr.replace(/_/gu, '
|
|
8457
|
+
// Compare the dateStr (MM_DD_YYYY) to the referenceDates (MM/DD/YYYY)
|
|
8458
|
+
const compareDateStr = dateStr.replace(/_/gu, '/');
|
|
8458
8459
|
|
|
8459
8460
|
// Check if the compareDateStr is in the referenceDates array
|
|
8460
8461
|
return referenceDates.includes(compareDateStr);
|
|
@@ -9067,7 +9068,7 @@ class CalendarUtilities {
|
|
|
9067
9068
|
// 1. Compare the first rendered month to the earliest renderable month to determine if the previous month button should be hidden or shown
|
|
9068
9069
|
if (!elem.hasAttribute('calendarStartDate') && !elem.hasAttribute('minDate')) {
|
|
9069
9070
|
elem.showPrevMonthBtn = true;
|
|
9070
|
-
} else if (
|
|
9071
|
+
} else if (new Date(elem.centralDate) <= elem.firstMonthRenderable) {
|
|
9071
9072
|
elem.showPrevMonthBtn = false;
|
|
9072
9073
|
} else {
|
|
9073
9074
|
elem.showPrevMonthBtn = true;
|
|
@@ -9152,16 +9153,13 @@ class CalendarUtilities {
|
|
|
9152
9153
|
|
|
9153
9154
|
if (this.util.validDateStr(formattedDateStr, datepicker.format)) {
|
|
9154
9155
|
// Use current date as base and adjust month by increment
|
|
9155
|
-
newCentralDate = new Date(formattedDateStr).setMonth(new Date(formattedDateStr).getMonth() + increment);
|
|
9156
|
+
newCentralDate = new Date(formattedDateStr).setMonth(new Date(formattedDateStr).getMonth() + increment, 1);
|
|
9156
9157
|
} else {
|
|
9157
9158
|
// Fallback to first rendered month if central date invalid
|
|
9158
|
-
newCentralDate = new Date(firstRenderedMonth).setMonth(new Date(firstRenderedMonth).getMonth() + increment);
|
|
9159
|
+
newCentralDate = new Date(firstRenderedMonth).setMonth(new Date(firstRenderedMonth).getMonth() + increment, 1);
|
|
9159
9160
|
}
|
|
9160
9161
|
|
|
9161
|
-
|
|
9162
|
-
if (newCentralDate) {
|
|
9163
|
-
elem.centralDate = this.util.convertDateToFirstOfMonth(newCentralDate);
|
|
9164
|
-
}
|
|
9162
|
+
elem.centralDate = newCentralDate;
|
|
9165
9163
|
}
|
|
9166
9164
|
}
|
|
9167
9165
|
|
|
@@ -9560,7 +9558,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
9560
9558
|
}
|
|
9561
9559
|
}
|
|
9562
9560
|
|
|
9563
|
-
var formkitVersion$2 = '
|
|
9561
|
+
var formkitVersion$2 = '202604222001';
|
|
9564
9562
|
|
|
9565
9563
|
let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$4 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$3=i$3`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
9566
9564
|
`,u$6=i$3`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -9844,6 +9842,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
9844
9842
|
|
|
9845
9843
|
if (this.visible) {
|
|
9846
9844
|
this.utilCalRender.setFirstRenderableMonthDate(this);
|
|
9845
|
+
|
|
9847
9846
|
this.utilCal.assessNavigationButtonVisibility(this);
|
|
9848
9847
|
|
|
9849
9848
|
this.isFullscreen = this.dropdown.bibContent.hasAttribute('isFullscreen');
|
|
@@ -9853,7 +9852,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
9853
9852
|
let dateMatches = undefined;
|
|
9854
9853
|
|
|
9855
9854
|
if (!this.isFullscreen) {
|
|
9856
|
-
|
|
9857
9855
|
const formattedDateStr = this.util.getDateAsString(new Date(this.centralDate), this.datepicker.format);
|
|
9858
9856
|
|
|
9859
9857
|
// On Desktop start the calendar at the central date if it exists, then minDate and finally the current date.
|
|
@@ -9910,7 +9908,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
9910
9908
|
newYear = oldYear;
|
|
9911
9909
|
}
|
|
9912
9910
|
|
|
9913
|
-
const newMonthDateStr = `${newMonth}/
|
|
9911
|
+
const newMonthDateStr = `${newMonth}/01/${newYear}`;
|
|
9914
9912
|
newMonthDate = new Date(newMonthDateStr);
|
|
9915
9913
|
|
|
9916
9914
|
renderedHtml = u$a`${renderedHtml}${this.utilCalRender.renderCalendar(this, newMonth, newYear)}`;
|
|
@@ -11856,6 +11854,7 @@ class AuroFloatingUI {
|
|
|
11856
11854
|
this.focusHandler = null;
|
|
11857
11855
|
this.clickHandler = null;
|
|
11858
11856
|
this.keyDownHandler = null;
|
|
11857
|
+
this.touchHandler = null;
|
|
11859
11858
|
|
|
11860
11859
|
/**
|
|
11861
11860
|
* @private
|
|
@@ -12273,6 +12272,28 @@ class AuroFloatingUI {
|
|
|
12273
12272
|
setTimeout(() => {
|
|
12274
12273
|
window.addEventListener("click", this.clickHandler);
|
|
12275
12274
|
}, 0);
|
|
12275
|
+
|
|
12276
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
12277
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
12278
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
12279
|
+
this.touchHandler = (evt) => {
|
|
12280
|
+
const element = this.element;
|
|
12281
|
+
if (!element?.bib) {
|
|
12282
|
+
return;
|
|
12283
|
+
}
|
|
12284
|
+
|
|
12285
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
12286
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
12287
|
+
return;
|
|
12288
|
+
}
|
|
12289
|
+
|
|
12290
|
+
const path = evt.composedPath();
|
|
12291
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
12292
|
+
this.hideBib("click");
|
|
12293
|
+
}
|
|
12294
|
+
};
|
|
12295
|
+
|
|
12296
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
12276
12297
|
}
|
|
12277
12298
|
|
|
12278
12299
|
cleanupHideHandlers() {
|
|
@@ -12288,6 +12309,11 @@ class AuroFloatingUI {
|
|
|
12288
12309
|
this.clickHandler = null;
|
|
12289
12310
|
}
|
|
12290
12311
|
|
|
12312
|
+
if (this.touchHandler) {
|
|
12313
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
12314
|
+
this.touchHandler = null;
|
|
12315
|
+
}
|
|
12316
|
+
|
|
12291
12317
|
if (this.keyDownHandler) {
|
|
12292
12318
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
12293
12319
|
this.keyDownHandler = null;
|
|
@@ -13762,7 +13788,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
13762
13788
|
}
|
|
13763
13789
|
};
|
|
13764
13790
|
|
|
13765
|
-
var formkitVersion$1 = '
|
|
13791
|
+
var formkitVersion$1 = '202604222001';
|
|
13766
13792
|
|
|
13767
13793
|
let AuroElement$2 = class AuroElement extends i$1 {
|
|
13768
13794
|
static get properties() {
|
|
@@ -20721,18 +20747,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
20721
20747
|
return this.pattern;
|
|
20722
20748
|
}
|
|
20723
20749
|
|
|
20724
|
-
/**
|
|
20725
|
-
* Required to convert SVG icons from data to HTML string.
|
|
20726
|
-
* @private
|
|
20727
|
-
* @param {string} icon HTML string for requested icon.
|
|
20728
|
-
* @returns {object} Appended HTML for SVG.
|
|
20729
|
-
*/
|
|
20730
|
-
getIconAsHtml(icon) {
|
|
20731
|
-
const dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
20732
|
-
|
|
20733
|
-
return dom.body.firstChild;
|
|
20734
|
-
}
|
|
20735
|
-
|
|
20736
20750
|
/**
|
|
20737
20751
|
* Sends event notifying that the input has changed it's value.
|
|
20738
20752
|
* @private
|
|
@@ -21518,7 +21532,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
21518
21532
|
}
|
|
21519
21533
|
};
|
|
21520
21534
|
|
|
21521
|
-
var formkitVersion = '
|
|
21535
|
+
var formkitVersion = '202604222001';
|
|
21522
21536
|
|
|
21523
21537
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
21524
21538
|
// See LICENSE in the project root for license information.
|
|
@@ -23246,7 +23260,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
23246
23260
|
|
|
23247
23261
|
/**
|
|
23248
23262
|
* Dates that the user should have for reference as part of their decision making when selecting a date.
|
|
23249
|
-
* This should be a JSON string array of dates in the format of `MM
|
|
23263
|
+
* This should be a JSON string array of dates in the format of `MM/DD/YYYY`.
|
|
23250
23264
|
*/
|
|
23251
23265
|
referenceDates: {
|
|
23252
23266
|
type: Array,
|
|
@@ -23708,7 +23722,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
23708
23722
|
}
|
|
23709
23723
|
});
|
|
23710
23724
|
}
|
|
23711
|
-
|
|
23725
|
+
|
|
23712
23726
|
/**
|
|
23713
23727
|
* Binds all behavior needed to the input after rendering.
|
|
23714
23728
|
* @private
|
|
@@ -23976,6 +23990,14 @@ class AuroDatePicker extends AuroElement {
|
|
|
23976
23990
|
this.monthFirst = this.format.indexOf('mm') < this.format.indexOf('yyyy');
|
|
23977
23991
|
}
|
|
23978
23992
|
|
|
23993
|
+
if (changedProperties.has('referenceDates')) {
|
|
23994
|
+
// backward compatibility for old format of referenceDates which is a stringified array with - instead of / as separator, e.g. ["10-22-2025","10-23-2025"]
|
|
23995
|
+
const stringfiedDates = JSON.stringify(this.referenceDates);
|
|
23996
|
+
if (stringfiedDates.includes('-')) {
|
|
23997
|
+
this.referenceDates = this.referenceDates.map(date => date.replace(/-/gu, '/' ));
|
|
23998
|
+
}
|
|
23999
|
+
}
|
|
24000
|
+
|
|
23979
24001
|
if (changedProperties.has('disabled')) {
|
|
23980
24002
|
if (this.disabled) {
|
|
23981
24003
|
this.previousTabIndex = this.getAttribute('tabindex');
|
|
@@ -1250,6 +1250,8 @@ class UtilitiesCalendarRender {
|
|
|
1250
1250
|
*/
|
|
1251
1251
|
updateCentralDate(elem, date) {
|
|
1252
1252
|
const dateObj = new Date(date);
|
|
1253
|
+
dateObj.setDate(1);
|
|
1254
|
+
dateObj.setHours(0, 0, 0, 0);
|
|
1253
1255
|
|
|
1254
1256
|
if (!isNaN(dateObj)) {
|
|
1255
1257
|
elem.centralDate = dateObj;
|
|
@@ -8173,7 +8175,6 @@ class AuroCalendarCell extends i$1 {
|
|
|
8173
8175
|
* @returns Boolean - True if the date is a highlighted date.
|
|
8174
8176
|
*/
|
|
8175
8177
|
isReferenceDate(dateStr) {
|
|
8176
|
-
|
|
8177
8178
|
// If the datepicker has highlighted dates specified
|
|
8178
8179
|
if (this.datepicker && this.datepicker.hasAttribute('referenceDates')) {
|
|
8179
8180
|
|
|
@@ -8183,8 +8184,8 @@ class AuroCalendarCell extends i$1 {
|
|
|
8183
8184
|
// Guard clause: no dates in the array
|
|
8184
8185
|
if (!Array.isArray(referenceDates) || referenceDates.length === 0) return false;
|
|
8185
8186
|
|
|
8186
|
-
// Compare the dateStr (MM_DD_YYYY) to the referenceDates (MM
|
|
8187
|
-
const compareDateStr = dateStr.replace(/_/gu, '
|
|
8187
|
+
// Compare the dateStr (MM_DD_YYYY) to the referenceDates (MM/DD/YYYY)
|
|
8188
|
+
const compareDateStr = dateStr.replace(/_/gu, '/');
|
|
8188
8189
|
|
|
8189
8190
|
// Check if the compareDateStr is in the referenceDates array
|
|
8190
8191
|
return referenceDates.includes(compareDateStr);
|
|
@@ -8797,7 +8798,7 @@ class CalendarUtilities {
|
|
|
8797
8798
|
// 1. Compare the first rendered month to the earliest renderable month to determine if the previous month button should be hidden or shown
|
|
8798
8799
|
if (!elem.hasAttribute('calendarStartDate') && !elem.hasAttribute('minDate')) {
|
|
8799
8800
|
elem.showPrevMonthBtn = true;
|
|
8800
|
-
} else if (
|
|
8801
|
+
} else if (new Date(elem.centralDate) <= elem.firstMonthRenderable) {
|
|
8801
8802
|
elem.showPrevMonthBtn = false;
|
|
8802
8803
|
} else {
|
|
8803
8804
|
elem.showPrevMonthBtn = true;
|
|
@@ -8882,16 +8883,13 @@ class CalendarUtilities {
|
|
|
8882
8883
|
|
|
8883
8884
|
if (this.util.validDateStr(formattedDateStr, datepicker.format)) {
|
|
8884
8885
|
// Use current date as base and adjust month by increment
|
|
8885
|
-
newCentralDate = new Date(formattedDateStr).setMonth(new Date(formattedDateStr).getMonth() + increment);
|
|
8886
|
+
newCentralDate = new Date(formattedDateStr).setMonth(new Date(formattedDateStr).getMonth() + increment, 1);
|
|
8886
8887
|
} else {
|
|
8887
8888
|
// Fallback to first rendered month if central date invalid
|
|
8888
|
-
newCentralDate = new Date(firstRenderedMonth).setMonth(new Date(firstRenderedMonth).getMonth() + increment);
|
|
8889
|
+
newCentralDate = new Date(firstRenderedMonth).setMonth(new Date(firstRenderedMonth).getMonth() + increment, 1);
|
|
8889
8890
|
}
|
|
8890
8891
|
|
|
8891
|
-
|
|
8892
|
-
if (newCentralDate) {
|
|
8893
|
-
elem.centralDate = this.util.convertDateToFirstOfMonth(newCentralDate);
|
|
8894
|
-
}
|
|
8892
|
+
elem.centralDate = newCentralDate;
|
|
8895
8893
|
}
|
|
8896
8894
|
}
|
|
8897
8895
|
|
|
@@ -9290,7 +9288,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
9290
9288
|
}
|
|
9291
9289
|
}
|
|
9292
9290
|
|
|
9293
|
-
var formkitVersion$2 = '
|
|
9291
|
+
var formkitVersion$2 = '202604222001';
|
|
9294
9292
|
|
|
9295
9293
|
let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$4 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$3=i$3`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
9296
9294
|
`,u$6=i$3`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -9574,6 +9572,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
9574
9572
|
|
|
9575
9573
|
if (this.visible) {
|
|
9576
9574
|
this.utilCalRender.setFirstRenderableMonthDate(this);
|
|
9575
|
+
|
|
9577
9576
|
this.utilCal.assessNavigationButtonVisibility(this);
|
|
9578
9577
|
|
|
9579
9578
|
this.isFullscreen = this.dropdown.bibContent.hasAttribute('isFullscreen');
|
|
@@ -9583,7 +9582,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
9583
9582
|
let dateMatches = undefined;
|
|
9584
9583
|
|
|
9585
9584
|
if (!this.isFullscreen) {
|
|
9586
|
-
|
|
9587
9585
|
const formattedDateStr = this.util.getDateAsString(new Date(this.centralDate), this.datepicker.format);
|
|
9588
9586
|
|
|
9589
9587
|
// On Desktop start the calendar at the central date if it exists, then minDate and finally the current date.
|
|
@@ -9640,7 +9638,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
9640
9638
|
newYear = oldYear;
|
|
9641
9639
|
}
|
|
9642
9640
|
|
|
9643
|
-
const newMonthDateStr = `${newMonth}/
|
|
9641
|
+
const newMonthDateStr = `${newMonth}/01/${newYear}`;
|
|
9644
9642
|
newMonthDate = new Date(newMonthDateStr);
|
|
9645
9643
|
|
|
9646
9644
|
renderedHtml = u$a`${renderedHtml}${this.utilCalRender.renderCalendar(this, newMonth, newYear)}`;
|
|
@@ -11586,6 +11584,7 @@ class AuroFloatingUI {
|
|
|
11586
11584
|
this.focusHandler = null;
|
|
11587
11585
|
this.clickHandler = null;
|
|
11588
11586
|
this.keyDownHandler = null;
|
|
11587
|
+
this.touchHandler = null;
|
|
11589
11588
|
|
|
11590
11589
|
/**
|
|
11591
11590
|
* @private
|
|
@@ -12003,6 +12002,28 @@ class AuroFloatingUI {
|
|
|
12003
12002
|
setTimeout(() => {
|
|
12004
12003
|
window.addEventListener("click", this.clickHandler);
|
|
12005
12004
|
}, 0);
|
|
12005
|
+
|
|
12006
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
12007
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
12008
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
12009
|
+
this.touchHandler = (evt) => {
|
|
12010
|
+
const element = this.element;
|
|
12011
|
+
if (!element?.bib) {
|
|
12012
|
+
return;
|
|
12013
|
+
}
|
|
12014
|
+
|
|
12015
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
12016
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
12017
|
+
return;
|
|
12018
|
+
}
|
|
12019
|
+
|
|
12020
|
+
const path = evt.composedPath();
|
|
12021
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
12022
|
+
this.hideBib("click");
|
|
12023
|
+
}
|
|
12024
|
+
};
|
|
12025
|
+
|
|
12026
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
12006
12027
|
}
|
|
12007
12028
|
|
|
12008
12029
|
cleanupHideHandlers() {
|
|
@@ -12018,6 +12039,11 @@ class AuroFloatingUI {
|
|
|
12018
12039
|
this.clickHandler = null;
|
|
12019
12040
|
}
|
|
12020
12041
|
|
|
12042
|
+
if (this.touchHandler) {
|
|
12043
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
12044
|
+
this.touchHandler = null;
|
|
12045
|
+
}
|
|
12046
|
+
|
|
12021
12047
|
if (this.keyDownHandler) {
|
|
12022
12048
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
12023
12049
|
this.keyDownHandler = null;
|
|
@@ -13492,7 +13518,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
13492
13518
|
}
|
|
13493
13519
|
};
|
|
13494
13520
|
|
|
13495
|
-
var formkitVersion$1 = '
|
|
13521
|
+
var formkitVersion$1 = '202604222001';
|
|
13496
13522
|
|
|
13497
13523
|
let AuroElement$2 = class AuroElement extends i$1 {
|
|
13498
13524
|
static get properties() {
|
|
@@ -20451,18 +20477,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
20451
20477
|
return this.pattern;
|
|
20452
20478
|
}
|
|
20453
20479
|
|
|
20454
|
-
/**
|
|
20455
|
-
* Required to convert SVG icons from data to HTML string.
|
|
20456
|
-
* @private
|
|
20457
|
-
* @param {string} icon HTML string for requested icon.
|
|
20458
|
-
* @returns {object} Appended HTML for SVG.
|
|
20459
|
-
*/
|
|
20460
|
-
getIconAsHtml(icon) {
|
|
20461
|
-
const dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
20462
|
-
|
|
20463
|
-
return dom.body.firstChild;
|
|
20464
|
-
}
|
|
20465
|
-
|
|
20466
20480
|
/**
|
|
20467
20481
|
* Sends event notifying that the input has changed it's value.
|
|
20468
20482
|
* @private
|
|
@@ -21248,7 +21262,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
21248
21262
|
}
|
|
21249
21263
|
};
|
|
21250
21264
|
|
|
21251
|
-
var formkitVersion = '
|
|
21265
|
+
var formkitVersion = '202604222001';
|
|
21252
21266
|
|
|
21253
21267
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
21254
21268
|
// See LICENSE in the project root for license information.
|
|
@@ -22976,7 +22990,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
22976
22990
|
|
|
22977
22991
|
/**
|
|
22978
22992
|
* Dates that the user should have for reference as part of their decision making when selecting a date.
|
|
22979
|
-
* This should be a JSON string array of dates in the format of `MM
|
|
22993
|
+
* This should be a JSON string array of dates in the format of `MM/DD/YYYY`.
|
|
22980
22994
|
*/
|
|
22981
22995
|
referenceDates: {
|
|
22982
22996
|
type: Array,
|
|
@@ -23438,7 +23452,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
23438
23452
|
}
|
|
23439
23453
|
});
|
|
23440
23454
|
}
|
|
23441
|
-
|
|
23455
|
+
|
|
23442
23456
|
/**
|
|
23443
23457
|
* Binds all behavior needed to the input after rendering.
|
|
23444
23458
|
* @private
|
|
@@ -23706,6 +23720,14 @@ class AuroDatePicker extends AuroElement {
|
|
|
23706
23720
|
this.monthFirst = this.format.indexOf('mm') < this.format.indexOf('yyyy');
|
|
23707
23721
|
}
|
|
23708
23722
|
|
|
23723
|
+
if (changedProperties.has('referenceDates')) {
|
|
23724
|
+
// backward compatibility for old format of referenceDates which is a stringified array with - instead of / as separator, e.g. ["10-22-2025","10-23-2025"]
|
|
23725
|
+
const stringfiedDates = JSON.stringify(this.referenceDates);
|
|
23726
|
+
if (stringfiedDates.includes('-')) {
|
|
23727
|
+
this.referenceDates = this.referenceDates.map(date => date.replace(/-/gu, '/' ));
|
|
23728
|
+
}
|
|
23729
|
+
}
|
|
23730
|
+
|
|
23709
23731
|
if (changedProperties.has('disabled')) {
|
|
23710
23732
|
if (this.disabled) {
|
|
23711
23733
|
this.previousTabIndex = this.getAttribute('tabindex');
|
|
@@ -250,7 +250,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
250
250
|
};
|
|
251
251
|
/**
|
|
252
252
|
* Dates that the user should have for reference as part of their decision making when selecting a date.
|
|
253
|
-
* This should be a JSON string array of dates in the format of `MM
|
|
253
|
+
* This should be a JSON string array of dates in the format of `MM/DD/YYYY`.
|
|
254
254
|
*/
|
|
255
255
|
referenceDates: {
|
|
256
256
|
type: ArrayConstructor;
|
|
@@ -619,6 +619,7 @@ export class AuroDatePicker extends AuroElement {
|
|
|
619
619
|
get hasError(): boolean;
|
|
620
620
|
updated(changedProperties: any): void;
|
|
621
621
|
monthFirst: boolean;
|
|
622
|
+
referenceDates: any;
|
|
622
623
|
previousTabIndex: string;
|
|
623
624
|
formattedFocusDate: boolean;
|
|
624
625
|
formattedEndDate: boolean;
|