@aurodesignsystem-dev/auro-formkit 0.0.0-pr1475.1 → 0.0.0-pr1475.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +12 -8
- package/components/combobox/demo/getting-started.min.js +12 -8
- package/components/combobox/demo/index.min.js +12 -8
- package/components/combobox/dist/index.js +12 -8
- package/components/combobox/dist/registered.js +12 -8
- package/components/counter/demo/customize.min.js +11 -7
- package/components/counter/demo/index.min.js +11 -7
- package/components/counter/dist/index.js +1 -1
- package/components/counter/dist/registered.js +1 -1
- package/components/datepicker/demo/accessibility.md +1 -1
- package/components/datepicker/demo/customize.min.js +64 -21
- package/components/datepicker/demo/index.min.js +69 -22
- package/components/datepicker/demo/keyboard-behavior.md +1 -1
- package/components/datepicker/dist/index.js +64 -19
- package/components/datepicker/dist/registered.js +64 -19
- package/components/dropdown/demo/customize.min.js +10 -6
- package/components/dropdown/demo/getting-started.min.js +10 -6
- package/components/dropdown/demo/index.min.js +10 -6
- package/components/dropdown/dist/auro-dropdown.d.ts +2 -1
- package/components/dropdown/dist/index.js +10 -6
- package/components/dropdown/dist/registered.js +10 -6
- package/components/form/demo/customize.min.js +101 -44
- package/components/form/demo/getting-started.min.js +101 -44
- package/components/form/demo/index.min.js +101 -44
- package/components/form/demo/registerDemoDeps.min.js +101 -44
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.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/customize.min.js +11 -7
- package/components/select/demo/getting-started.min.js +11 -7
- package/components/select/demo/index.min.js +11 -7
- package/components/select/dist/index.js +11 -7
- package/components/select/dist/registered.js +11 -7
- package/custom-elements.json +2090 -2090
- package/package.json +1 -1
|
@@ -8101,7 +8101,11 @@ class AuroCalendarCell extends LitElement {
|
|
|
8101
8101
|
const blackoutDates = this.datepicker?.blackoutDates;
|
|
8102
8102
|
|
|
8103
8103
|
if (Array.isArray(blackoutDates) && blackoutDates.length > 0) {
|
|
8104
|
-
const
|
|
8104
|
+
const date = new Date(this.day.date * 1000);
|
|
8105
|
+
const yyyy = date.getFullYear();
|
|
8106
|
+
const mm = String(date.getMonth() + 1).padStart(2, '0');
|
|
8107
|
+
const dd = String(date.getDate()).padStart(2, '0');
|
|
8108
|
+
const cellDate = `${yyyy}-${mm}-${dd}`;
|
|
8105
8109
|
if (blackoutDates.includes(cellDate)) {
|
|
8106
8110
|
return true;
|
|
8107
8111
|
}
|
|
@@ -8436,7 +8440,7 @@ class AuroCalendarCell extends LitElement {
|
|
|
8436
8440
|
const buttonClasses = {
|
|
8437
8441
|
'day': true,
|
|
8438
8442
|
'body-lg': true,
|
|
8439
|
-
'currentDate': this.
|
|
8443
|
+
'currentDate': this.isCurrentDate,
|
|
8440
8444
|
'selected': this.selected,
|
|
8441
8445
|
'inRange': this.datepicker?.hasAttribute('range') && this.hovered && this.isInRange(this.day, this.dateFrom, this.dateTo),
|
|
8442
8446
|
'lastHoveredDate': this.isLastHoveredDate(this.day, this.dateFrom, this.dateTo, this.hoveredDate) && this.datepicker && this.datepicker.hasAttribute('range'),
|
|
@@ -8458,8 +8462,8 @@ class AuroCalendarCell extends LitElement {
|
|
|
8458
8462
|
@focus="${outOfRange ? nothing : this.handleHover}"
|
|
8459
8463
|
class="${classMap(buttonClasses)}"
|
|
8460
8464
|
?disabled="${outOfRange}"
|
|
8461
|
-
|
|
8462
|
-
|
|
8465
|
+
aria-disabled="${blackout ? 'true' : nothing}"
|
|
8466
|
+
aria-hidden="${outOfRange ? 'true' : nothing}"
|
|
8463
8467
|
aria-selected="${this.selected ? 'true' : 'false'}"
|
|
8464
8468
|
aria-current="${this.isCurrentDate ? 'date' : nothing}"
|
|
8465
8469
|
tabindex="${this.active ? '0' : '-1'}">
|
|
@@ -9569,7 +9573,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
9569
9573
|
}
|
|
9570
9574
|
}
|
|
9571
9575
|
|
|
9572
|
-
var formkitVersion$2 = '
|
|
9576
|
+
var formkitVersion$2 = '202605182240';
|
|
9573
9577
|
|
|
9574
9578
|
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}
|
|
9575
9579
|
`,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}}
|
|
@@ -10054,6 +10058,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10054
10058
|
(this.disabledDays || []).map(d => parseInt(d, 10))
|
|
10055
10059
|
);
|
|
10056
10060
|
|
|
10061
|
+
// Also include ISO-format blackoutDates from the datepicker if available
|
|
10062
|
+
const isoBlackouts = this.datepicker?.blackoutDates;
|
|
10063
|
+
if (Array.isArray(isoBlackouts)) {
|
|
10064
|
+
for (const isoStr of isoBlackouts) {
|
|
10065
|
+
const ts = Math.floor(new Date(isoStr).setHours(0, 0, 0, 0) / 1000);
|
|
10066
|
+
if (Number.isFinite(ts)) blackoutSet.add(ts);
|
|
10067
|
+
}
|
|
10068
|
+
}
|
|
10069
|
+
|
|
10057
10070
|
/**
|
|
10058
10071
|
* A date (unix timestamp in seconds, midnight-aligned) is "enabled" when
|
|
10059
10072
|
* it is within [min, max] AND not a blackout day.
|
|
@@ -10227,7 +10240,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10227
10240
|
const monthElem = this.shadowRoot.querySelector(selector);
|
|
10228
10241
|
|
|
10229
10242
|
if (monthElem) {
|
|
10230
|
-
|
|
10243
|
+
const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
10244
|
+
monthElem.scrollIntoView({ block: 'nearest', behavior: prefersReducedMotion ? 'instant' : 'smooth' });
|
|
10231
10245
|
}
|
|
10232
10246
|
}
|
|
10233
10247
|
|
|
@@ -14270,7 +14284,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
14270
14284
|
}
|
|
14271
14285
|
};
|
|
14272
14286
|
|
|
14273
|
-
var formkitVersion$1 = '
|
|
14287
|
+
var formkitVersion$1 = '202605182240';
|
|
14274
14288
|
|
|
14275
14289
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
14276
14290
|
static get properties() {
|
|
@@ -15222,7 +15236,8 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15222
15236
|
* Sets `inert` on sibling elements of the dropdown's top-level host
|
|
15223
15237
|
* so that content outside the dropdown is not interactive while the modal is open.
|
|
15224
15238
|
* Walks up through shadow DOM boundaries to find the outermost host element
|
|
15225
|
-
* in the light DOM, then sets `inert` on
|
|
15239
|
+
* in the light DOM, then sets `inert` on siblings at each ancestor level
|
|
15240
|
+
* to ensure all page content outside the host subtree is inert.
|
|
15226
15241
|
* @private
|
|
15227
15242
|
*/
|
|
15228
15243
|
_setPageInert() {
|
|
@@ -15241,15 +15256,18 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15241
15256
|
host = host.getRootNode().host;
|
|
15242
15257
|
}
|
|
15243
15258
|
|
|
15244
|
-
|
|
15245
|
-
|
|
15246
|
-
|
|
15259
|
+
// Walk up the ancestor chain, inerting siblings at each level
|
|
15260
|
+
// to ensure the entire page outside the host subtree is inert.
|
|
15261
|
+
let current = host;
|
|
15262
|
+
while (current.parentElement) {
|
|
15263
|
+
const parent = current.parentElement;
|
|
15247
15264
|
for (const sibling of parent.children) {
|
|
15248
|
-
if (sibling !==
|
|
15265
|
+
if (sibling !== current && !sibling.inert) {
|
|
15249
15266
|
sibling.inert = true;
|
|
15250
15267
|
this._inertSiblings.push(sibling);
|
|
15251
15268
|
}
|
|
15252
15269
|
}
|
|
15270
|
+
current = parent;
|
|
15253
15271
|
}
|
|
15254
15272
|
}
|
|
15255
15273
|
|
|
@@ -22200,7 +22218,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
22200
22218
|
}
|
|
22201
22219
|
};
|
|
22202
22220
|
|
|
22203
|
-
var formkitVersion = '
|
|
22221
|
+
var formkitVersion = '202605182240';
|
|
22204
22222
|
|
|
22205
22223
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
22206
22224
|
// See LICENSE in the project root for license information.
|
|
@@ -23455,11 +23473,10 @@ function applyKeyboardStrategy(component, strategy, options = {}) {
|
|
|
23455
23473
|
// components/datepicker/docs/partials/keyboardBehavior.md
|
|
23456
23474
|
//
|
|
23457
23475
|
// Current behavior (transitional — full bib keyboard navigation is planned for a future iteration):
|
|
23458
|
-
// - The bib opens and closes via pointer/touch interaction only.
|
|
23459
23476
|
// - Escape closes the bib and prevents the event from reaching parent containers.
|
|
23460
|
-
// -
|
|
23477
|
+
// - Enter opens the bib when it is closed (trigger input only, not clear button).
|
|
23478
|
+
// - Space opens the bib when it is closed (trigger input only, not clear button).
|
|
23461
23479
|
// - Tab uses the browser's default tabindex sequence across trigger controls.
|
|
23462
|
-
// - Enter does not open or close the bib.
|
|
23463
23480
|
//
|
|
23464
23481
|
// This file is an intentional placeholder for most keys. When datepicker bib keyboard navigation is
|
|
23465
23482
|
// added, handlers should go here following the same strategy pattern used by
|
|
@@ -23483,7 +23500,11 @@ const datepickerKeyboardStrategy = {
|
|
|
23483
23500
|
return;
|
|
23484
23501
|
}
|
|
23485
23502
|
|
|
23486
|
-
//
|
|
23503
|
+
// Only open from the trigger input, not the clear button or other elements
|
|
23504
|
+
if (evt.target?.hasAttribute?.('slot') && evt.target.getAttribute('slot').includes('clear')) {
|
|
23505
|
+
return;
|
|
23506
|
+
}
|
|
23507
|
+
|
|
23487
23508
|
evt.preventDefault();
|
|
23488
23509
|
|
|
23489
23510
|
component.dropdown.show();
|
|
@@ -23494,7 +23515,11 @@ const datepickerKeyboardStrategy = {
|
|
|
23494
23515
|
return;
|
|
23495
23516
|
}
|
|
23496
23517
|
|
|
23497
|
-
//
|
|
23518
|
+
// Only open from the trigger input, not the clear button or other elements
|
|
23519
|
+
if (evt.target?.hasAttribute?.('slot') && evt.target.getAttribute('slot').includes('clear')) {
|
|
23520
|
+
return;
|
|
23521
|
+
}
|
|
23522
|
+
|
|
23498
23523
|
evt.preventDefault();
|
|
23499
23524
|
|
|
23500
23525
|
component.dropdown.show();
|
|
@@ -24459,9 +24484,10 @@ class AuroDatePicker extends AuroElement {
|
|
|
24459
24484
|
|
|
24460
24485
|
// Show the month containing the selected date (or today) instead of
|
|
24461
24486
|
// whichever month the user last navigated to.
|
|
24487
|
+
// Respect consumer-provided centralDate/calendarStartDate if no value is set.
|
|
24462
24488
|
if (this.value && this.util.validDateStr(this.value, this.format)) {
|
|
24463
24489
|
this.calendarRenderUtil.updateCentralDate(this, this.formattedValue);
|
|
24464
|
-
} else if (!this.minDate) {
|
|
24490
|
+
} else if (!this.centralDate && !this.calendarStartDate && !this.minDate) {
|
|
24465
24491
|
this.calendarRenderUtil.updateCentralDate(this, new Date());
|
|
24466
24492
|
}
|
|
24467
24493
|
}
|
|
@@ -24752,6 +24778,11 @@ class AuroDatePicker extends AuroElement {
|
|
|
24752
24778
|
} else {
|
|
24753
24779
|
this.value = newDate;
|
|
24754
24780
|
}
|
|
24781
|
+
|
|
24782
|
+
// For single-date picker, close the bib and return focus to trigger after selection
|
|
24783
|
+
if (!this.range) {
|
|
24784
|
+
this.hideBib();
|
|
24785
|
+
}
|
|
24755
24786
|
}
|
|
24756
24787
|
}
|
|
24757
24788
|
|
|
@@ -24924,10 +24955,24 @@ class AuroDatePicker extends AuroElement {
|
|
|
24924
24955
|
this.setHasValue();
|
|
24925
24956
|
}
|
|
24926
24957
|
|
|
24958
|
+
if (changedProperties.has('blackoutDates')) {
|
|
24959
|
+
// Force calendar cells to re-render with updated blackout state
|
|
24960
|
+
if (this.calendar) {
|
|
24961
|
+
this.calendar.requestUpdate();
|
|
24962
|
+
}
|
|
24963
|
+
}
|
|
24964
|
+
|
|
24927
24965
|
if (changedProperties.has('valueEnd') && this.inputList[1]) {
|
|
24928
24966
|
|
|
24929
24967
|
this.formattedValueEnd = this.util.toNorthAmericanFormat(this.valueEnd, this.format);
|
|
24930
24968
|
|
|
24969
|
+
if (this.cellClickActive) {
|
|
24970
|
+
this.cellClickActive = false;
|
|
24971
|
+
this.wasCellClick = true;
|
|
24972
|
+
} else {
|
|
24973
|
+
this.wasCellClick = false;
|
|
24974
|
+
}
|
|
24975
|
+
|
|
24931
24976
|
// update the calendar
|
|
24932
24977
|
if (this.valueEnd && this.util.validDateStr(this.valueEnd, this.format)) {
|
|
24933
24978
|
this.calendar.dateTo = this.convertToWcValidTime(this.formattedValueEnd);
|
|
@@ -8101,7 +8101,11 @@ class AuroCalendarCell extends LitElement {
|
|
|
8101
8101
|
const blackoutDates = this.datepicker?.blackoutDates;
|
|
8102
8102
|
|
|
8103
8103
|
if (Array.isArray(blackoutDates) && blackoutDates.length > 0) {
|
|
8104
|
-
const
|
|
8104
|
+
const date = new Date(this.day.date * 1000);
|
|
8105
|
+
const yyyy = date.getFullYear();
|
|
8106
|
+
const mm = String(date.getMonth() + 1).padStart(2, '0');
|
|
8107
|
+
const dd = String(date.getDate()).padStart(2, '0');
|
|
8108
|
+
const cellDate = `${yyyy}-${mm}-${dd}`;
|
|
8105
8109
|
if (blackoutDates.includes(cellDate)) {
|
|
8106
8110
|
return true;
|
|
8107
8111
|
}
|
|
@@ -8436,7 +8440,7 @@ class AuroCalendarCell extends LitElement {
|
|
|
8436
8440
|
const buttonClasses = {
|
|
8437
8441
|
'day': true,
|
|
8438
8442
|
'body-lg': true,
|
|
8439
|
-
'currentDate': this.
|
|
8443
|
+
'currentDate': this.isCurrentDate,
|
|
8440
8444
|
'selected': this.selected,
|
|
8441
8445
|
'inRange': this.datepicker?.hasAttribute('range') && this.hovered && this.isInRange(this.day, this.dateFrom, this.dateTo),
|
|
8442
8446
|
'lastHoveredDate': this.isLastHoveredDate(this.day, this.dateFrom, this.dateTo, this.hoveredDate) && this.datepicker && this.datepicker.hasAttribute('range'),
|
|
@@ -8458,8 +8462,8 @@ class AuroCalendarCell extends LitElement {
|
|
|
8458
8462
|
@focus="${outOfRange ? nothing : this.handleHover}"
|
|
8459
8463
|
class="${classMap(buttonClasses)}"
|
|
8460
8464
|
?disabled="${outOfRange}"
|
|
8461
|
-
|
|
8462
|
-
|
|
8465
|
+
aria-disabled="${blackout ? 'true' : nothing}"
|
|
8466
|
+
aria-hidden="${outOfRange ? 'true' : nothing}"
|
|
8463
8467
|
aria-selected="${this.selected ? 'true' : 'false'}"
|
|
8464
8468
|
aria-current="${this.isCurrentDate ? 'date' : nothing}"
|
|
8465
8469
|
tabindex="${this.active ? '0' : '-1'}">
|
|
@@ -9569,7 +9573,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
9569
9573
|
}
|
|
9570
9574
|
}
|
|
9571
9575
|
|
|
9572
|
-
var formkitVersion$2 = '
|
|
9576
|
+
var formkitVersion$2 = '202605182240';
|
|
9573
9577
|
|
|
9574
9578
|
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}
|
|
9575
9579
|
`,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}}
|
|
@@ -10054,6 +10058,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10054
10058
|
(this.disabledDays || []).map(d => parseInt(d, 10))
|
|
10055
10059
|
);
|
|
10056
10060
|
|
|
10061
|
+
// Also include ISO-format blackoutDates from the datepicker if available
|
|
10062
|
+
const isoBlackouts = this.datepicker?.blackoutDates;
|
|
10063
|
+
if (Array.isArray(isoBlackouts)) {
|
|
10064
|
+
for (const isoStr of isoBlackouts) {
|
|
10065
|
+
const ts = Math.floor(new Date(isoStr).setHours(0, 0, 0, 0) / 1000);
|
|
10066
|
+
if (Number.isFinite(ts)) blackoutSet.add(ts);
|
|
10067
|
+
}
|
|
10068
|
+
}
|
|
10069
|
+
|
|
10057
10070
|
/**
|
|
10058
10071
|
* A date (unix timestamp in seconds, midnight-aligned) is "enabled" when
|
|
10059
10072
|
* it is within [min, max] AND not a blackout day.
|
|
@@ -10227,7 +10240,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10227
10240
|
const monthElem = this.shadowRoot.querySelector(selector);
|
|
10228
10241
|
|
|
10229
10242
|
if (monthElem) {
|
|
10230
|
-
|
|
10243
|
+
const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
10244
|
+
monthElem.scrollIntoView({ block: 'nearest', behavior: prefersReducedMotion ? 'instant' : 'smooth' });
|
|
10231
10245
|
}
|
|
10232
10246
|
}
|
|
10233
10247
|
|
|
@@ -14270,7 +14284,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
14270
14284
|
}
|
|
14271
14285
|
};
|
|
14272
14286
|
|
|
14273
|
-
var formkitVersion$1 = '
|
|
14287
|
+
var formkitVersion$1 = '202605182240';
|
|
14274
14288
|
|
|
14275
14289
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
14276
14290
|
static get properties() {
|
|
@@ -15222,7 +15236,8 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15222
15236
|
* Sets `inert` on sibling elements of the dropdown's top-level host
|
|
15223
15237
|
* so that content outside the dropdown is not interactive while the modal is open.
|
|
15224
15238
|
* Walks up through shadow DOM boundaries to find the outermost host element
|
|
15225
|
-
* in the light DOM, then sets `inert` on
|
|
15239
|
+
* in the light DOM, then sets `inert` on siblings at each ancestor level
|
|
15240
|
+
* to ensure all page content outside the host subtree is inert.
|
|
15226
15241
|
* @private
|
|
15227
15242
|
*/
|
|
15228
15243
|
_setPageInert() {
|
|
@@ -15241,15 +15256,18 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15241
15256
|
host = host.getRootNode().host;
|
|
15242
15257
|
}
|
|
15243
15258
|
|
|
15244
|
-
|
|
15245
|
-
|
|
15246
|
-
|
|
15259
|
+
// Walk up the ancestor chain, inerting siblings at each level
|
|
15260
|
+
// to ensure the entire page outside the host subtree is inert.
|
|
15261
|
+
let current = host;
|
|
15262
|
+
while (current.parentElement) {
|
|
15263
|
+
const parent = current.parentElement;
|
|
15247
15264
|
for (const sibling of parent.children) {
|
|
15248
|
-
if (sibling !==
|
|
15265
|
+
if (sibling !== current && !sibling.inert) {
|
|
15249
15266
|
sibling.inert = true;
|
|
15250
15267
|
this._inertSiblings.push(sibling);
|
|
15251
15268
|
}
|
|
15252
15269
|
}
|
|
15270
|
+
current = parent;
|
|
15253
15271
|
}
|
|
15254
15272
|
}
|
|
15255
15273
|
|
|
@@ -22200,7 +22218,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
22200
22218
|
}
|
|
22201
22219
|
};
|
|
22202
22220
|
|
|
22203
|
-
var formkitVersion = '
|
|
22221
|
+
var formkitVersion = '202605182240';
|
|
22204
22222
|
|
|
22205
22223
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
22206
22224
|
// See LICENSE in the project root for license information.
|
|
@@ -23455,11 +23473,10 @@ function applyKeyboardStrategy(component, strategy, options = {}) {
|
|
|
23455
23473
|
// components/datepicker/docs/partials/keyboardBehavior.md
|
|
23456
23474
|
//
|
|
23457
23475
|
// Current behavior (transitional — full bib keyboard navigation is planned for a future iteration):
|
|
23458
|
-
// - The bib opens and closes via pointer/touch interaction only.
|
|
23459
23476
|
// - Escape closes the bib and prevents the event from reaching parent containers.
|
|
23460
|
-
// -
|
|
23477
|
+
// - Enter opens the bib when it is closed (trigger input only, not clear button).
|
|
23478
|
+
// - Space opens the bib when it is closed (trigger input only, not clear button).
|
|
23461
23479
|
// - Tab uses the browser's default tabindex sequence across trigger controls.
|
|
23462
|
-
// - Enter does not open or close the bib.
|
|
23463
23480
|
//
|
|
23464
23481
|
// This file is an intentional placeholder for most keys. When datepicker bib keyboard navigation is
|
|
23465
23482
|
// added, handlers should go here following the same strategy pattern used by
|
|
@@ -23483,7 +23500,11 @@ const datepickerKeyboardStrategy = {
|
|
|
23483
23500
|
return;
|
|
23484
23501
|
}
|
|
23485
23502
|
|
|
23486
|
-
//
|
|
23503
|
+
// Only open from the trigger input, not the clear button or other elements
|
|
23504
|
+
if (evt.target?.hasAttribute?.('slot') && evt.target.getAttribute('slot').includes('clear')) {
|
|
23505
|
+
return;
|
|
23506
|
+
}
|
|
23507
|
+
|
|
23487
23508
|
evt.preventDefault();
|
|
23488
23509
|
|
|
23489
23510
|
component.dropdown.show();
|
|
@@ -23494,7 +23515,11 @@ const datepickerKeyboardStrategy = {
|
|
|
23494
23515
|
return;
|
|
23495
23516
|
}
|
|
23496
23517
|
|
|
23497
|
-
//
|
|
23518
|
+
// Only open from the trigger input, not the clear button or other elements
|
|
23519
|
+
if (evt.target?.hasAttribute?.('slot') && evt.target.getAttribute('slot').includes('clear')) {
|
|
23520
|
+
return;
|
|
23521
|
+
}
|
|
23522
|
+
|
|
23498
23523
|
evt.preventDefault();
|
|
23499
23524
|
|
|
23500
23525
|
component.dropdown.show();
|
|
@@ -24459,9 +24484,10 @@ class AuroDatePicker extends AuroElement {
|
|
|
24459
24484
|
|
|
24460
24485
|
// Show the month containing the selected date (or today) instead of
|
|
24461
24486
|
// whichever month the user last navigated to.
|
|
24487
|
+
// Respect consumer-provided centralDate/calendarStartDate if no value is set.
|
|
24462
24488
|
if (this.value && this.util.validDateStr(this.value, this.format)) {
|
|
24463
24489
|
this.calendarRenderUtil.updateCentralDate(this, this.formattedValue);
|
|
24464
|
-
} else if (!this.minDate) {
|
|
24490
|
+
} else if (!this.centralDate && !this.calendarStartDate && !this.minDate) {
|
|
24465
24491
|
this.calendarRenderUtil.updateCentralDate(this, new Date());
|
|
24466
24492
|
}
|
|
24467
24493
|
}
|
|
@@ -24752,6 +24778,11 @@ class AuroDatePicker extends AuroElement {
|
|
|
24752
24778
|
} else {
|
|
24753
24779
|
this.value = newDate;
|
|
24754
24780
|
}
|
|
24781
|
+
|
|
24782
|
+
// For single-date picker, close the bib and return focus to trigger after selection
|
|
24783
|
+
if (!this.range) {
|
|
24784
|
+
this.hideBib();
|
|
24785
|
+
}
|
|
24755
24786
|
}
|
|
24756
24787
|
}
|
|
24757
24788
|
|
|
@@ -24924,10 +24955,24 @@ class AuroDatePicker extends AuroElement {
|
|
|
24924
24955
|
this.setHasValue();
|
|
24925
24956
|
}
|
|
24926
24957
|
|
|
24958
|
+
if (changedProperties.has('blackoutDates')) {
|
|
24959
|
+
// Force calendar cells to re-render with updated blackout state
|
|
24960
|
+
if (this.calendar) {
|
|
24961
|
+
this.calendar.requestUpdate();
|
|
24962
|
+
}
|
|
24963
|
+
}
|
|
24964
|
+
|
|
24927
24965
|
if (changedProperties.has('valueEnd') && this.inputList[1]) {
|
|
24928
24966
|
|
|
24929
24967
|
this.formattedValueEnd = this.util.toNorthAmericanFormat(this.valueEnd, this.format);
|
|
24930
24968
|
|
|
24969
|
+
if (this.cellClickActive) {
|
|
24970
|
+
this.cellClickActive = false;
|
|
24971
|
+
this.wasCellClick = true;
|
|
24972
|
+
} else {
|
|
24973
|
+
this.wasCellClick = false;
|
|
24974
|
+
}
|
|
24975
|
+
|
|
24931
24976
|
// update the calendar
|
|
24932
24977
|
if (this.valueEnd && this.util.validDateStr(this.valueEnd, this.format)) {
|
|
24933
24978
|
this.calendar.dateTo = this.convertToWcValidTime(this.formattedValueEnd);
|
|
@@ -3942,7 +3942,7 @@ class AuroHelpText extends i {
|
|
|
3942
3942
|
}
|
|
3943
3943
|
}
|
|
3944
3944
|
|
|
3945
|
-
var formkitVersion = '
|
|
3945
|
+
var formkitVersion = '202605182240';
|
|
3946
3946
|
|
|
3947
3947
|
class AuroElement extends i {
|
|
3948
3948
|
static get properties() {
|
|
@@ -4894,7 +4894,8 @@ class AuroDropdown extends AuroElement {
|
|
|
4894
4894
|
* Sets `inert` on sibling elements of the dropdown's top-level host
|
|
4895
4895
|
* so that content outside the dropdown is not interactive while the modal is open.
|
|
4896
4896
|
* Walks up through shadow DOM boundaries to find the outermost host element
|
|
4897
|
-
* in the light DOM, then sets `inert` on
|
|
4897
|
+
* in the light DOM, then sets `inert` on siblings at each ancestor level
|
|
4898
|
+
* to ensure all page content outside the host subtree is inert.
|
|
4898
4899
|
* @private
|
|
4899
4900
|
*/
|
|
4900
4901
|
_setPageInert() {
|
|
@@ -4913,15 +4914,18 @@ class AuroDropdown extends AuroElement {
|
|
|
4913
4914
|
host = host.getRootNode().host;
|
|
4914
4915
|
}
|
|
4915
4916
|
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4917
|
+
// Walk up the ancestor chain, inerting siblings at each level
|
|
4918
|
+
// to ensure the entire page outside the host subtree is inert.
|
|
4919
|
+
let current = host;
|
|
4920
|
+
while (current.parentElement) {
|
|
4921
|
+
const parent = current.parentElement;
|
|
4919
4922
|
for (const sibling of parent.children) {
|
|
4920
|
-
if (sibling !==
|
|
4923
|
+
if (sibling !== current && !sibling.inert) {
|
|
4921
4924
|
sibling.inert = true;
|
|
4922
4925
|
this._inertSiblings.push(sibling);
|
|
4923
4926
|
}
|
|
4924
4927
|
}
|
|
4928
|
+
current = parent;
|
|
4925
4929
|
}
|
|
4926
4930
|
}
|
|
4927
4931
|
|
|
@@ -3942,7 +3942,7 @@ class AuroHelpText extends i {
|
|
|
3942
3942
|
}
|
|
3943
3943
|
}
|
|
3944
3944
|
|
|
3945
|
-
var formkitVersion = '
|
|
3945
|
+
var formkitVersion = '202605182240';
|
|
3946
3946
|
|
|
3947
3947
|
class AuroElement extends i {
|
|
3948
3948
|
static get properties() {
|
|
@@ -4894,7 +4894,8 @@ class AuroDropdown extends AuroElement {
|
|
|
4894
4894
|
* Sets `inert` on sibling elements of the dropdown's top-level host
|
|
4895
4895
|
* so that content outside the dropdown is not interactive while the modal is open.
|
|
4896
4896
|
* Walks up through shadow DOM boundaries to find the outermost host element
|
|
4897
|
-
* in the light DOM, then sets `inert` on
|
|
4897
|
+
* in the light DOM, then sets `inert` on siblings at each ancestor level
|
|
4898
|
+
* to ensure all page content outside the host subtree is inert.
|
|
4898
4899
|
* @private
|
|
4899
4900
|
*/
|
|
4900
4901
|
_setPageInert() {
|
|
@@ -4913,15 +4914,18 @@ class AuroDropdown extends AuroElement {
|
|
|
4913
4914
|
host = host.getRootNode().host;
|
|
4914
4915
|
}
|
|
4915
4916
|
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4917
|
+
// Walk up the ancestor chain, inerting siblings at each level
|
|
4918
|
+
// to ensure the entire page outside the host subtree is inert.
|
|
4919
|
+
let current = host;
|
|
4920
|
+
while (current.parentElement) {
|
|
4921
|
+
const parent = current.parentElement;
|
|
4919
4922
|
for (const sibling of parent.children) {
|
|
4920
|
-
if (sibling !==
|
|
4923
|
+
if (sibling !== current && !sibling.inert) {
|
|
4921
4924
|
sibling.inert = true;
|
|
4922
4925
|
this._inertSiblings.push(sibling);
|
|
4923
4926
|
}
|
|
4924
4927
|
}
|
|
4928
|
+
current = parent;
|
|
4925
4929
|
}
|
|
4926
4930
|
}
|
|
4927
4931
|
|
|
@@ -3969,7 +3969,7 @@ class AuroHelpText extends i {
|
|
|
3969
3969
|
}
|
|
3970
3970
|
}
|
|
3971
3971
|
|
|
3972
|
-
var formkitVersion = '
|
|
3972
|
+
var formkitVersion = '202605182240';
|
|
3973
3973
|
|
|
3974
3974
|
class AuroElement extends i {
|
|
3975
3975
|
static get properties() {
|
|
@@ -4921,7 +4921,8 @@ class AuroDropdown extends AuroElement {
|
|
|
4921
4921
|
* Sets `inert` on sibling elements of the dropdown's top-level host
|
|
4922
4922
|
* so that content outside the dropdown is not interactive while the modal is open.
|
|
4923
4923
|
* Walks up through shadow DOM boundaries to find the outermost host element
|
|
4924
|
-
* in the light DOM, then sets `inert` on
|
|
4924
|
+
* in the light DOM, then sets `inert` on siblings at each ancestor level
|
|
4925
|
+
* to ensure all page content outside the host subtree is inert.
|
|
4925
4926
|
* @private
|
|
4926
4927
|
*/
|
|
4927
4928
|
_setPageInert() {
|
|
@@ -4940,15 +4941,18 @@ class AuroDropdown extends AuroElement {
|
|
|
4940
4941
|
host = host.getRootNode().host;
|
|
4941
4942
|
}
|
|
4942
4943
|
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4944
|
+
// Walk up the ancestor chain, inerting siblings at each level
|
|
4945
|
+
// to ensure the entire page outside the host subtree is inert.
|
|
4946
|
+
let current = host;
|
|
4947
|
+
while (current.parentElement) {
|
|
4948
|
+
const parent = current.parentElement;
|
|
4946
4949
|
for (const sibling of parent.children) {
|
|
4947
|
-
if (sibling !==
|
|
4950
|
+
if (sibling !== current && !sibling.inert) {
|
|
4948
4951
|
sibling.inert = true;
|
|
4949
4952
|
this._inertSiblings.push(sibling);
|
|
4950
4953
|
}
|
|
4951
4954
|
}
|
|
4955
|
+
current = parent;
|
|
4952
4956
|
}
|
|
4953
4957
|
}
|
|
4954
4958
|
|
|
@@ -420,7 +420,8 @@ export class AuroDropdown extends AuroElement {
|
|
|
420
420
|
* Sets `inert` on sibling elements of the dropdown's top-level host
|
|
421
421
|
* so that content outside the dropdown is not interactive while the modal is open.
|
|
422
422
|
* Walks up through shadow DOM boundaries to find the outermost host element
|
|
423
|
-
* in the light DOM, then sets `inert` on
|
|
423
|
+
* in the light DOM, then sets `inert` on siblings at each ancestor level
|
|
424
|
+
* to ensure all page content outside the host subtree is inert.
|
|
424
425
|
* @private
|
|
425
426
|
*/
|
|
426
427
|
private _setPageInert;
|
|
@@ -3874,7 +3874,7 @@ class AuroHelpText extends LitElement {
|
|
|
3874
3874
|
}
|
|
3875
3875
|
}
|
|
3876
3876
|
|
|
3877
|
-
var formkitVersion = '
|
|
3877
|
+
var formkitVersion = '202605182240';
|
|
3878
3878
|
|
|
3879
3879
|
class AuroElement extends LitElement {
|
|
3880
3880
|
static get properties() {
|
|
@@ -4826,7 +4826,8 @@ class AuroDropdown extends AuroElement {
|
|
|
4826
4826
|
* Sets `inert` on sibling elements of the dropdown's top-level host
|
|
4827
4827
|
* so that content outside the dropdown is not interactive while the modal is open.
|
|
4828
4828
|
* Walks up through shadow DOM boundaries to find the outermost host element
|
|
4829
|
-
* in the light DOM, then sets `inert` on
|
|
4829
|
+
* in the light DOM, then sets `inert` on siblings at each ancestor level
|
|
4830
|
+
* to ensure all page content outside the host subtree is inert.
|
|
4830
4831
|
* @private
|
|
4831
4832
|
*/
|
|
4832
4833
|
_setPageInert() {
|
|
@@ -4845,15 +4846,18 @@ class AuroDropdown extends AuroElement {
|
|
|
4845
4846
|
host = host.getRootNode().host;
|
|
4846
4847
|
}
|
|
4847
4848
|
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4849
|
+
// Walk up the ancestor chain, inerting siblings at each level
|
|
4850
|
+
// to ensure the entire page outside the host subtree is inert.
|
|
4851
|
+
let current = host;
|
|
4852
|
+
while (current.parentElement) {
|
|
4853
|
+
const parent = current.parentElement;
|
|
4851
4854
|
for (const sibling of parent.children) {
|
|
4852
|
-
if (sibling !==
|
|
4855
|
+
if (sibling !== current && !sibling.inert) {
|
|
4853
4856
|
sibling.inert = true;
|
|
4854
4857
|
this._inertSiblings.push(sibling);
|
|
4855
4858
|
}
|
|
4856
4859
|
}
|
|
4860
|
+
current = parent;
|
|
4857
4861
|
}
|
|
4858
4862
|
}
|
|
4859
4863
|
|