@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
|
@@ -1214,6 +1214,8 @@ class UtilitiesCalendarRender {
|
|
|
1214
1214
|
*/
|
|
1215
1215
|
updateCentralDate(elem, date) {
|
|
1216
1216
|
const dateObj = new Date(date);
|
|
1217
|
+
dateObj.setDate(1);
|
|
1218
|
+
dateObj.setHours(0, 0, 0, 0);
|
|
1217
1219
|
|
|
1218
1220
|
if (!isNaN(dateObj)) {
|
|
1219
1221
|
elem.centralDate = dateObj;
|
|
@@ -8131,7 +8133,6 @@ class AuroCalendarCell extends LitElement {
|
|
|
8131
8133
|
* @returns Boolean - True if the date is a highlighted date.
|
|
8132
8134
|
*/
|
|
8133
8135
|
isReferenceDate(dateStr) {
|
|
8134
|
-
|
|
8135
8136
|
// If the datepicker has highlighted dates specified
|
|
8136
8137
|
if (this.datepicker && this.datepicker.hasAttribute('referenceDates')) {
|
|
8137
8138
|
|
|
@@ -8141,8 +8142,8 @@ class AuroCalendarCell extends LitElement {
|
|
|
8141
8142
|
// Guard clause: no dates in the array
|
|
8142
8143
|
if (!Array.isArray(referenceDates) || referenceDates.length === 0) return false;
|
|
8143
8144
|
|
|
8144
|
-
// Compare the dateStr (MM_DD_YYYY) to the referenceDates (MM
|
|
8145
|
-
const compareDateStr = dateStr.replace(/_/gu, '
|
|
8145
|
+
// Compare the dateStr (MM_DD_YYYY) to the referenceDates (MM/DD/YYYY)
|
|
8146
|
+
const compareDateStr = dateStr.replace(/_/gu, '/');
|
|
8146
8147
|
|
|
8147
8148
|
// Check if the compareDateStr is in the referenceDates array
|
|
8148
8149
|
return referenceDates.includes(compareDateStr);
|
|
@@ -8755,7 +8756,7 @@ class CalendarUtilities {
|
|
|
8755
8756
|
// 1. Compare the first rendered month to the earliest renderable month to determine if the previous month button should be hidden or shown
|
|
8756
8757
|
if (!elem.hasAttribute('calendarStartDate') && !elem.hasAttribute('minDate')) {
|
|
8757
8758
|
elem.showPrevMonthBtn = true;
|
|
8758
|
-
} else if (
|
|
8759
|
+
} else if (new Date(elem.centralDate) <= elem.firstMonthRenderable) {
|
|
8759
8760
|
elem.showPrevMonthBtn = false;
|
|
8760
8761
|
} else {
|
|
8761
8762
|
elem.showPrevMonthBtn = true;
|
|
@@ -8840,16 +8841,13 @@ class CalendarUtilities {
|
|
|
8840
8841
|
|
|
8841
8842
|
if (this.util.validDateStr(formattedDateStr, datepicker.format)) {
|
|
8842
8843
|
// Use current date as base and adjust month by increment
|
|
8843
|
-
newCentralDate = new Date(formattedDateStr).setMonth(new Date(formattedDateStr).getMonth() + increment);
|
|
8844
|
+
newCentralDate = new Date(formattedDateStr).setMonth(new Date(formattedDateStr).getMonth() + increment, 1);
|
|
8844
8845
|
} else {
|
|
8845
8846
|
// Fallback to first rendered month if central date invalid
|
|
8846
|
-
newCentralDate = new Date(firstRenderedMonth).setMonth(new Date(firstRenderedMonth).getMonth() + increment);
|
|
8847
|
+
newCentralDate = new Date(firstRenderedMonth).setMonth(new Date(firstRenderedMonth).getMonth() + increment, 1);
|
|
8847
8848
|
}
|
|
8848
8849
|
|
|
8849
|
-
|
|
8850
|
-
if (newCentralDate) {
|
|
8851
|
-
elem.centralDate = this.util.convertDateToFirstOfMonth(newCentralDate);
|
|
8852
|
-
}
|
|
8850
|
+
elem.centralDate = newCentralDate;
|
|
8853
8851
|
}
|
|
8854
8852
|
}
|
|
8855
8853
|
|
|
@@ -9242,7 +9240,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
9242
9240
|
}
|
|
9243
9241
|
}
|
|
9244
9242
|
|
|
9245
|
-
var formkitVersion$2 = '
|
|
9243
|
+
var formkitVersion$2 = '202604222001';
|
|
9246
9244
|
|
|
9247
9245
|
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=literal`${unsafeStatic(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$1 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1=css`: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}
|
|
9248
9246
|
`,u$4=css`.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}}
|
|
@@ -9526,6 +9524,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
9526
9524
|
|
|
9527
9525
|
if (this.visible) {
|
|
9528
9526
|
this.utilCalRender.setFirstRenderableMonthDate(this);
|
|
9527
|
+
|
|
9529
9528
|
this.utilCal.assessNavigationButtonVisibility(this);
|
|
9530
9529
|
|
|
9531
9530
|
this.isFullscreen = this.dropdown.bibContent.hasAttribute('isFullscreen');
|
|
@@ -9535,7 +9534,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
9535
9534
|
let dateMatches = undefined;
|
|
9536
9535
|
|
|
9537
9536
|
if (!this.isFullscreen) {
|
|
9538
|
-
|
|
9539
9537
|
const formattedDateStr = this.util.getDateAsString(new Date(this.centralDate), this.datepicker.format);
|
|
9540
9538
|
|
|
9541
9539
|
// On Desktop start the calendar at the central date if it exists, then minDate and finally the current date.
|
|
@@ -9592,7 +9590,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
9592
9590
|
newYear = oldYear;
|
|
9593
9591
|
}
|
|
9594
9592
|
|
|
9595
|
-
const newMonthDateStr = `${newMonth}/
|
|
9593
|
+
const newMonthDateStr = `${newMonth}/01/${newYear}`;
|
|
9596
9594
|
newMonthDate = new Date(newMonthDateStr);
|
|
9597
9595
|
|
|
9598
9596
|
renderedHtml = html$1`${renderedHtml}${this.utilCalRender.renderCalendar(this, newMonth, newYear)}`;
|
|
@@ -11514,6 +11512,7 @@ class AuroFloatingUI {
|
|
|
11514
11512
|
this.focusHandler = null;
|
|
11515
11513
|
this.clickHandler = null;
|
|
11516
11514
|
this.keyDownHandler = null;
|
|
11515
|
+
this.touchHandler = null;
|
|
11517
11516
|
|
|
11518
11517
|
/**
|
|
11519
11518
|
* @private
|
|
@@ -11931,6 +11930,28 @@ class AuroFloatingUI {
|
|
|
11931
11930
|
setTimeout(() => {
|
|
11932
11931
|
window.addEventListener("click", this.clickHandler);
|
|
11933
11932
|
}, 0);
|
|
11933
|
+
|
|
11934
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
11935
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
11936
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
11937
|
+
this.touchHandler = (evt) => {
|
|
11938
|
+
const element = this.element;
|
|
11939
|
+
if (!element?.bib) {
|
|
11940
|
+
return;
|
|
11941
|
+
}
|
|
11942
|
+
|
|
11943
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
11944
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
11945
|
+
return;
|
|
11946
|
+
}
|
|
11947
|
+
|
|
11948
|
+
const path = evt.composedPath();
|
|
11949
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
11950
|
+
this.hideBib("click");
|
|
11951
|
+
}
|
|
11952
|
+
};
|
|
11953
|
+
|
|
11954
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
11934
11955
|
}
|
|
11935
11956
|
|
|
11936
11957
|
cleanupHideHandlers() {
|
|
@@ -11946,6 +11967,11 @@ class AuroFloatingUI {
|
|
|
11946
11967
|
this.clickHandler = null;
|
|
11947
11968
|
}
|
|
11948
11969
|
|
|
11970
|
+
if (this.touchHandler) {
|
|
11971
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
11972
|
+
this.touchHandler = null;
|
|
11973
|
+
}
|
|
11974
|
+
|
|
11949
11975
|
if (this.keyDownHandler) {
|
|
11950
11976
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
11951
11977
|
this.keyDownHandler = null;
|
|
@@ -13420,7 +13446,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
13420
13446
|
}
|
|
13421
13447
|
};
|
|
13422
13448
|
|
|
13423
|
-
var formkitVersion$1 = '
|
|
13449
|
+
var formkitVersion$1 = '202604222001';
|
|
13424
13450
|
|
|
13425
13451
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
13426
13452
|
static get properties() {
|
|
@@ -20372,18 +20398,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
20372
20398
|
return this.pattern;
|
|
20373
20399
|
}
|
|
20374
20400
|
|
|
20375
|
-
/**
|
|
20376
|
-
* Required to convert SVG icons from data to HTML string.
|
|
20377
|
-
* @private
|
|
20378
|
-
* @param {string} icon HTML string for requested icon.
|
|
20379
|
-
* @returns {object} Appended HTML for SVG.
|
|
20380
|
-
*/
|
|
20381
|
-
getIconAsHtml(icon) {
|
|
20382
|
-
const dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
20383
|
-
|
|
20384
|
-
return dom.body.firstChild;
|
|
20385
|
-
}
|
|
20386
|
-
|
|
20387
20401
|
/**
|
|
20388
20402
|
* Sends event notifying that the input has changed it's value.
|
|
20389
20403
|
* @private
|
|
@@ -21169,7 +21183,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
21169
21183
|
}
|
|
21170
21184
|
};
|
|
21171
21185
|
|
|
21172
|
-
var formkitVersion = '
|
|
21186
|
+
var formkitVersion = '202604222001';
|
|
21173
21187
|
|
|
21174
21188
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
21175
21189
|
// See LICENSE in the project root for license information.
|
|
@@ -22897,7 +22911,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
22897
22911
|
|
|
22898
22912
|
/**
|
|
22899
22913
|
* Dates that the user should have for reference as part of their decision making when selecting a date.
|
|
22900
|
-
* This should be a JSON string array of dates in the format of `MM
|
|
22914
|
+
* This should be a JSON string array of dates in the format of `MM/DD/YYYY`.
|
|
22901
22915
|
*/
|
|
22902
22916
|
referenceDates: {
|
|
22903
22917
|
type: Array,
|
|
@@ -23359,7 +23373,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
23359
23373
|
}
|
|
23360
23374
|
});
|
|
23361
23375
|
}
|
|
23362
|
-
|
|
23376
|
+
|
|
23363
23377
|
/**
|
|
23364
23378
|
* Binds all behavior needed to the input after rendering.
|
|
23365
23379
|
* @private
|
|
@@ -23627,6 +23641,14 @@ class AuroDatePicker extends AuroElement {
|
|
|
23627
23641
|
this.monthFirst = this.format.indexOf('mm') < this.format.indexOf('yyyy');
|
|
23628
23642
|
}
|
|
23629
23643
|
|
|
23644
|
+
if (changedProperties.has('referenceDates')) {
|
|
23645
|
+
// 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"]
|
|
23646
|
+
const stringfiedDates = JSON.stringify(this.referenceDates);
|
|
23647
|
+
if (stringfiedDates.includes('-')) {
|
|
23648
|
+
this.referenceDates = this.referenceDates.map(date => date.replace(/-/gu, '/' ));
|
|
23649
|
+
}
|
|
23650
|
+
}
|
|
23651
|
+
|
|
23630
23652
|
if (changedProperties.has('disabled')) {
|
|
23631
23653
|
if (this.disabled) {
|
|
23632
23654
|
this.previousTabIndex = this.getAttribute('tabindex');
|
|
@@ -1214,6 +1214,8 @@ class UtilitiesCalendarRender {
|
|
|
1214
1214
|
*/
|
|
1215
1215
|
updateCentralDate(elem, date) {
|
|
1216
1216
|
const dateObj = new Date(date);
|
|
1217
|
+
dateObj.setDate(1);
|
|
1218
|
+
dateObj.setHours(0, 0, 0, 0);
|
|
1217
1219
|
|
|
1218
1220
|
if (!isNaN(dateObj)) {
|
|
1219
1221
|
elem.centralDate = dateObj;
|
|
@@ -8131,7 +8133,6 @@ class AuroCalendarCell extends LitElement {
|
|
|
8131
8133
|
* @returns Boolean - True if the date is a highlighted date.
|
|
8132
8134
|
*/
|
|
8133
8135
|
isReferenceDate(dateStr) {
|
|
8134
|
-
|
|
8135
8136
|
// If the datepicker has highlighted dates specified
|
|
8136
8137
|
if (this.datepicker && this.datepicker.hasAttribute('referenceDates')) {
|
|
8137
8138
|
|
|
@@ -8141,8 +8142,8 @@ class AuroCalendarCell extends LitElement {
|
|
|
8141
8142
|
// Guard clause: no dates in the array
|
|
8142
8143
|
if (!Array.isArray(referenceDates) || referenceDates.length === 0) return false;
|
|
8143
8144
|
|
|
8144
|
-
// Compare the dateStr (MM_DD_YYYY) to the referenceDates (MM
|
|
8145
|
-
const compareDateStr = dateStr.replace(/_/gu, '
|
|
8145
|
+
// Compare the dateStr (MM_DD_YYYY) to the referenceDates (MM/DD/YYYY)
|
|
8146
|
+
const compareDateStr = dateStr.replace(/_/gu, '/');
|
|
8146
8147
|
|
|
8147
8148
|
// Check if the compareDateStr is in the referenceDates array
|
|
8148
8149
|
return referenceDates.includes(compareDateStr);
|
|
@@ -8755,7 +8756,7 @@ class CalendarUtilities {
|
|
|
8755
8756
|
// 1. Compare the first rendered month to the earliest renderable month to determine if the previous month button should be hidden or shown
|
|
8756
8757
|
if (!elem.hasAttribute('calendarStartDate') && !elem.hasAttribute('minDate')) {
|
|
8757
8758
|
elem.showPrevMonthBtn = true;
|
|
8758
|
-
} else if (
|
|
8759
|
+
} else if (new Date(elem.centralDate) <= elem.firstMonthRenderable) {
|
|
8759
8760
|
elem.showPrevMonthBtn = false;
|
|
8760
8761
|
} else {
|
|
8761
8762
|
elem.showPrevMonthBtn = true;
|
|
@@ -8840,16 +8841,13 @@ class CalendarUtilities {
|
|
|
8840
8841
|
|
|
8841
8842
|
if (this.util.validDateStr(formattedDateStr, datepicker.format)) {
|
|
8842
8843
|
// Use current date as base and adjust month by increment
|
|
8843
|
-
newCentralDate = new Date(formattedDateStr).setMonth(new Date(formattedDateStr).getMonth() + increment);
|
|
8844
|
+
newCentralDate = new Date(formattedDateStr).setMonth(new Date(formattedDateStr).getMonth() + increment, 1);
|
|
8844
8845
|
} else {
|
|
8845
8846
|
// Fallback to first rendered month if central date invalid
|
|
8846
|
-
newCentralDate = new Date(firstRenderedMonth).setMonth(new Date(firstRenderedMonth).getMonth() + increment);
|
|
8847
|
+
newCentralDate = new Date(firstRenderedMonth).setMonth(new Date(firstRenderedMonth).getMonth() + increment, 1);
|
|
8847
8848
|
}
|
|
8848
8849
|
|
|
8849
|
-
|
|
8850
|
-
if (newCentralDate) {
|
|
8851
|
-
elem.centralDate = this.util.convertDateToFirstOfMonth(newCentralDate);
|
|
8852
|
-
}
|
|
8850
|
+
elem.centralDate = newCentralDate;
|
|
8853
8851
|
}
|
|
8854
8852
|
}
|
|
8855
8853
|
|
|
@@ -9242,7 +9240,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
9242
9240
|
}
|
|
9243
9241
|
}
|
|
9244
9242
|
|
|
9245
|
-
var formkitVersion$2 = '
|
|
9243
|
+
var formkitVersion$2 = '202604222001';
|
|
9246
9244
|
|
|
9247
9245
|
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=literal`${unsafeStatic(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$1 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1=css`: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}
|
|
9248
9246
|
`,u$4=css`.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}}
|
|
@@ -9526,6 +9524,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
9526
9524
|
|
|
9527
9525
|
if (this.visible) {
|
|
9528
9526
|
this.utilCalRender.setFirstRenderableMonthDate(this);
|
|
9527
|
+
|
|
9529
9528
|
this.utilCal.assessNavigationButtonVisibility(this);
|
|
9530
9529
|
|
|
9531
9530
|
this.isFullscreen = this.dropdown.bibContent.hasAttribute('isFullscreen');
|
|
@@ -9535,7 +9534,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
9535
9534
|
let dateMatches = undefined;
|
|
9536
9535
|
|
|
9537
9536
|
if (!this.isFullscreen) {
|
|
9538
|
-
|
|
9539
9537
|
const formattedDateStr = this.util.getDateAsString(new Date(this.centralDate), this.datepicker.format);
|
|
9540
9538
|
|
|
9541
9539
|
// On Desktop start the calendar at the central date if it exists, then minDate and finally the current date.
|
|
@@ -9592,7 +9590,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
9592
9590
|
newYear = oldYear;
|
|
9593
9591
|
}
|
|
9594
9592
|
|
|
9595
|
-
const newMonthDateStr = `${newMonth}/
|
|
9593
|
+
const newMonthDateStr = `${newMonth}/01/${newYear}`;
|
|
9596
9594
|
newMonthDate = new Date(newMonthDateStr);
|
|
9597
9595
|
|
|
9598
9596
|
renderedHtml = html$1`${renderedHtml}${this.utilCalRender.renderCalendar(this, newMonth, newYear)}`;
|
|
@@ -11514,6 +11512,7 @@ class AuroFloatingUI {
|
|
|
11514
11512
|
this.focusHandler = null;
|
|
11515
11513
|
this.clickHandler = null;
|
|
11516
11514
|
this.keyDownHandler = null;
|
|
11515
|
+
this.touchHandler = null;
|
|
11517
11516
|
|
|
11518
11517
|
/**
|
|
11519
11518
|
* @private
|
|
@@ -11931,6 +11930,28 @@ class AuroFloatingUI {
|
|
|
11931
11930
|
setTimeout(() => {
|
|
11932
11931
|
window.addEventListener("click", this.clickHandler);
|
|
11933
11932
|
}, 0);
|
|
11933
|
+
|
|
11934
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
11935
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
11936
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
11937
|
+
this.touchHandler = (evt) => {
|
|
11938
|
+
const element = this.element;
|
|
11939
|
+
if (!element?.bib) {
|
|
11940
|
+
return;
|
|
11941
|
+
}
|
|
11942
|
+
|
|
11943
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
11944
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
11945
|
+
return;
|
|
11946
|
+
}
|
|
11947
|
+
|
|
11948
|
+
const path = evt.composedPath();
|
|
11949
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
11950
|
+
this.hideBib("click");
|
|
11951
|
+
}
|
|
11952
|
+
};
|
|
11953
|
+
|
|
11954
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
11934
11955
|
}
|
|
11935
11956
|
|
|
11936
11957
|
cleanupHideHandlers() {
|
|
@@ -11946,6 +11967,11 @@ class AuroFloatingUI {
|
|
|
11946
11967
|
this.clickHandler = null;
|
|
11947
11968
|
}
|
|
11948
11969
|
|
|
11970
|
+
if (this.touchHandler) {
|
|
11971
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
11972
|
+
this.touchHandler = null;
|
|
11973
|
+
}
|
|
11974
|
+
|
|
11949
11975
|
if (this.keyDownHandler) {
|
|
11950
11976
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
11951
11977
|
this.keyDownHandler = null;
|
|
@@ -13420,7 +13446,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
13420
13446
|
}
|
|
13421
13447
|
};
|
|
13422
13448
|
|
|
13423
|
-
var formkitVersion$1 = '
|
|
13449
|
+
var formkitVersion$1 = '202604222001';
|
|
13424
13450
|
|
|
13425
13451
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
13426
13452
|
static get properties() {
|
|
@@ -20372,18 +20398,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
20372
20398
|
return this.pattern;
|
|
20373
20399
|
}
|
|
20374
20400
|
|
|
20375
|
-
/**
|
|
20376
|
-
* Required to convert SVG icons from data to HTML string.
|
|
20377
|
-
* @private
|
|
20378
|
-
* @param {string} icon HTML string for requested icon.
|
|
20379
|
-
* @returns {object} Appended HTML for SVG.
|
|
20380
|
-
*/
|
|
20381
|
-
getIconAsHtml(icon) {
|
|
20382
|
-
const dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
20383
|
-
|
|
20384
|
-
return dom.body.firstChild;
|
|
20385
|
-
}
|
|
20386
|
-
|
|
20387
20401
|
/**
|
|
20388
20402
|
* Sends event notifying that the input has changed it's value.
|
|
20389
20403
|
* @private
|
|
@@ -21169,7 +21183,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
21169
21183
|
}
|
|
21170
21184
|
};
|
|
21171
21185
|
|
|
21172
|
-
var formkitVersion = '
|
|
21186
|
+
var formkitVersion = '202604222001';
|
|
21173
21187
|
|
|
21174
21188
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
21175
21189
|
// See LICENSE in the project root for license information.
|
|
@@ -22897,7 +22911,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
22897
22911
|
|
|
22898
22912
|
/**
|
|
22899
22913
|
* Dates that the user should have for reference as part of their decision making when selecting a date.
|
|
22900
|
-
* This should be a JSON string array of dates in the format of `MM
|
|
22914
|
+
* This should be a JSON string array of dates in the format of `MM/DD/YYYY`.
|
|
22901
22915
|
*/
|
|
22902
22916
|
referenceDates: {
|
|
22903
22917
|
type: Array,
|
|
@@ -23359,7 +23373,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
23359
23373
|
}
|
|
23360
23374
|
});
|
|
23361
23375
|
}
|
|
23362
|
-
|
|
23376
|
+
|
|
23363
23377
|
/**
|
|
23364
23378
|
* Binds all behavior needed to the input after rendering.
|
|
23365
23379
|
* @private
|
|
@@ -23627,6 +23641,14 @@ class AuroDatePicker extends AuroElement {
|
|
|
23627
23641
|
this.monthFirst = this.format.indexOf('mm') < this.format.indexOf('yyyy');
|
|
23628
23642
|
}
|
|
23629
23643
|
|
|
23644
|
+
if (changedProperties.has('referenceDates')) {
|
|
23645
|
+
// 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"]
|
|
23646
|
+
const stringfiedDates = JSON.stringify(this.referenceDates);
|
|
23647
|
+
if (stringfiedDates.includes('-')) {
|
|
23648
|
+
this.referenceDates = this.referenceDates.map(date => date.replace(/-/gu, '/' ));
|
|
23649
|
+
}
|
|
23650
|
+
}
|
|
23651
|
+
|
|
23630
23652
|
if (changedProperties.has('disabled')) {
|
|
23631
23653
|
if (this.disabled) {
|
|
23632
23654
|
this.previousTabIndex = this.getAttribute('tabindex');
|
|
@@ -1945,6 +1945,7 @@ class AuroFloatingUI {
|
|
|
1945
1945
|
this.focusHandler = null;
|
|
1946
1946
|
this.clickHandler = null;
|
|
1947
1947
|
this.keyDownHandler = null;
|
|
1948
|
+
this.touchHandler = null;
|
|
1948
1949
|
|
|
1949
1950
|
/**
|
|
1950
1951
|
* @private
|
|
@@ -2362,6 +2363,28 @@ class AuroFloatingUI {
|
|
|
2362
2363
|
setTimeout(() => {
|
|
2363
2364
|
window.addEventListener("click", this.clickHandler);
|
|
2364
2365
|
}, 0);
|
|
2366
|
+
|
|
2367
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
2368
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
2369
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
2370
|
+
this.touchHandler = (evt) => {
|
|
2371
|
+
const element = this.element;
|
|
2372
|
+
if (!element?.bib) {
|
|
2373
|
+
return;
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
2377
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
2378
|
+
return;
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
const path = evt.composedPath();
|
|
2382
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
2383
|
+
this.hideBib("click");
|
|
2384
|
+
}
|
|
2385
|
+
};
|
|
2386
|
+
|
|
2387
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
2365
2388
|
}
|
|
2366
2389
|
|
|
2367
2390
|
cleanupHideHandlers() {
|
|
@@ -2377,6 +2400,11 @@ class AuroFloatingUI {
|
|
|
2377
2400
|
this.clickHandler = null;
|
|
2378
2401
|
}
|
|
2379
2402
|
|
|
2403
|
+
if (this.touchHandler) {
|
|
2404
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
2405
|
+
this.touchHandler = null;
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2380
2408
|
if (this.keyDownHandler) {
|
|
2381
2409
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
2382
2410
|
this.keyDownHandler = null;
|
|
@@ -3882,7 +3910,7 @@ class AuroHelpText extends i {
|
|
|
3882
3910
|
}
|
|
3883
3911
|
}
|
|
3884
3912
|
|
|
3885
|
-
var formkitVersion = '
|
|
3913
|
+
var formkitVersion = '202604222001';
|
|
3886
3914
|
|
|
3887
3915
|
class AuroElement extends i {
|
|
3888
3916
|
static get properties() {
|
|
@@ -1866,6 +1866,7 @@ class AuroFloatingUI {
|
|
|
1866
1866
|
this.focusHandler = null;
|
|
1867
1867
|
this.clickHandler = null;
|
|
1868
1868
|
this.keyDownHandler = null;
|
|
1869
|
+
this.touchHandler = null;
|
|
1869
1870
|
|
|
1870
1871
|
/**
|
|
1871
1872
|
* @private
|
|
@@ -2283,6 +2284,28 @@ class AuroFloatingUI {
|
|
|
2283
2284
|
setTimeout(() => {
|
|
2284
2285
|
window.addEventListener("click", this.clickHandler);
|
|
2285
2286
|
}, 0);
|
|
2287
|
+
|
|
2288
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
2289
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
2290
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
2291
|
+
this.touchHandler = (evt) => {
|
|
2292
|
+
const element = this.element;
|
|
2293
|
+
if (!element?.bib) {
|
|
2294
|
+
return;
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
2298
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
2299
|
+
return;
|
|
2300
|
+
}
|
|
2301
|
+
|
|
2302
|
+
const path = evt.composedPath();
|
|
2303
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
2304
|
+
this.hideBib("click");
|
|
2305
|
+
}
|
|
2306
|
+
};
|
|
2307
|
+
|
|
2308
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
2286
2309
|
}
|
|
2287
2310
|
|
|
2288
2311
|
cleanupHideHandlers() {
|
|
@@ -2298,6 +2321,11 @@ class AuroFloatingUI {
|
|
|
2298
2321
|
this.clickHandler = null;
|
|
2299
2322
|
}
|
|
2300
2323
|
|
|
2324
|
+
if (this.touchHandler) {
|
|
2325
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
2326
|
+
this.touchHandler = null;
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2301
2329
|
if (this.keyDownHandler) {
|
|
2302
2330
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
2303
2331
|
this.keyDownHandler = null;
|
|
@@ -3803,7 +3831,7 @@ class AuroHelpText extends i {
|
|
|
3803
3831
|
}
|
|
3804
3832
|
}
|
|
3805
3833
|
|
|
3806
|
-
var formkitVersion = '
|
|
3834
|
+
var formkitVersion = '202604222001';
|
|
3807
3835
|
|
|
3808
3836
|
class AuroElement extends i {
|
|
3809
3837
|
static get properties() {
|
|
@@ -1802,6 +1802,7 @@ class AuroFloatingUI {
|
|
|
1802
1802
|
this.focusHandler = null;
|
|
1803
1803
|
this.clickHandler = null;
|
|
1804
1804
|
this.keyDownHandler = null;
|
|
1805
|
+
this.touchHandler = null;
|
|
1805
1806
|
|
|
1806
1807
|
/**
|
|
1807
1808
|
* @private
|
|
@@ -2219,6 +2220,28 @@ class AuroFloatingUI {
|
|
|
2219
2220
|
setTimeout(() => {
|
|
2220
2221
|
window.addEventListener("click", this.clickHandler);
|
|
2221
2222
|
}, 0);
|
|
2223
|
+
|
|
2224
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
2225
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
2226
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
2227
|
+
this.touchHandler = (evt) => {
|
|
2228
|
+
const element = this.element;
|
|
2229
|
+
if (!element?.bib) {
|
|
2230
|
+
return;
|
|
2231
|
+
}
|
|
2232
|
+
|
|
2233
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
2234
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
2235
|
+
return;
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
const path = evt.composedPath();
|
|
2239
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
2240
|
+
this.hideBib("click");
|
|
2241
|
+
}
|
|
2242
|
+
};
|
|
2243
|
+
|
|
2244
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
2222
2245
|
}
|
|
2223
2246
|
|
|
2224
2247
|
cleanupHideHandlers() {
|
|
@@ -2234,6 +2257,11 @@ class AuroFloatingUI {
|
|
|
2234
2257
|
this.clickHandler = null;
|
|
2235
2258
|
}
|
|
2236
2259
|
|
|
2260
|
+
if (this.touchHandler) {
|
|
2261
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
2262
|
+
this.touchHandler = null;
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2237
2265
|
if (this.keyDownHandler) {
|
|
2238
2266
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
2239
2267
|
this.keyDownHandler = null;
|
|
@@ -3708,7 +3736,7 @@ class AuroHelpText extends LitElement {
|
|
|
3708
3736
|
}
|
|
3709
3737
|
}
|
|
3710
3738
|
|
|
3711
|
-
var formkitVersion = '
|
|
3739
|
+
var formkitVersion = '202604222001';
|
|
3712
3740
|
|
|
3713
3741
|
class AuroElement extends LitElement {
|
|
3714
3742
|
static get properties() {
|