@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
|
@@ -8143,7 +8143,11 @@ class AuroCalendarCell extends i$1 {
|
|
|
8143
8143
|
const blackoutDates = this.datepicker?.blackoutDates;
|
|
8144
8144
|
|
|
8145
8145
|
if (Array.isArray(blackoutDates) && blackoutDates.length > 0) {
|
|
8146
|
-
const
|
|
8146
|
+
const date = new Date(this.day.date * 1000);
|
|
8147
|
+
const yyyy = date.getFullYear();
|
|
8148
|
+
const mm = String(date.getMonth() + 1).padStart(2, '0');
|
|
8149
|
+
const dd = String(date.getDate()).padStart(2, '0');
|
|
8150
|
+
const cellDate = `${yyyy}-${mm}-${dd}`;
|
|
8147
8151
|
if (blackoutDates.includes(cellDate)) {
|
|
8148
8152
|
return true;
|
|
8149
8153
|
}
|
|
@@ -8478,7 +8482,7 @@ class AuroCalendarCell extends i$1 {
|
|
|
8478
8482
|
const buttonClasses = {
|
|
8479
8483
|
'day': true,
|
|
8480
8484
|
'body-lg': true,
|
|
8481
|
-
'currentDate': this.
|
|
8485
|
+
'currentDate': this.isCurrentDate,
|
|
8482
8486
|
'selected': this.selected,
|
|
8483
8487
|
'inRange': this.datepicker?.hasAttribute('range') && this.hovered && this.isInRange(this.day, this.dateFrom, this.dateTo),
|
|
8484
8488
|
'lastHoveredDate': this.isLastHoveredDate(this.day, this.dateFrom, this.dateTo, this.hoveredDate) && this.datepicker && this.datepicker.hasAttribute('range'),
|
|
@@ -8500,8 +8504,8 @@ class AuroCalendarCell extends i$1 {
|
|
|
8500
8504
|
@focus="${outOfRange ? A$4 : this.handleHover}"
|
|
8501
8505
|
class="${e$4(buttonClasses)}"
|
|
8502
8506
|
?disabled="${outOfRange}"
|
|
8503
|
-
|
|
8504
|
-
|
|
8507
|
+
aria-disabled="${blackout ? 'true' : A$4}"
|
|
8508
|
+
aria-hidden="${outOfRange ? 'true' : A$4}"
|
|
8505
8509
|
aria-selected="${this.selected ? 'true' : 'false'}"
|
|
8506
8510
|
aria-current="${this.isCurrentDate ? 'date' : A$4}"
|
|
8507
8511
|
tabindex="${this.active ? '0' : '-1'}">
|
|
@@ -9617,7 +9621,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
9617
9621
|
}
|
|
9618
9622
|
}
|
|
9619
9623
|
|
|
9620
|
-
var formkitVersion$2 = '
|
|
9624
|
+
var formkitVersion$2 = '202605182240';
|
|
9621
9625
|
|
|
9622
9626
|
let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$4 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$3=i$3`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
9623
9627
|
`,u$6=i$3`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -10102,6 +10106,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10102
10106
|
(this.disabledDays || []).map(d => parseInt(d, 10))
|
|
10103
10107
|
);
|
|
10104
10108
|
|
|
10109
|
+
// Also include ISO-format blackoutDates from the datepicker if available
|
|
10110
|
+
const isoBlackouts = this.datepicker?.blackoutDates;
|
|
10111
|
+
if (Array.isArray(isoBlackouts)) {
|
|
10112
|
+
for (const isoStr of isoBlackouts) {
|
|
10113
|
+
const ts = Math.floor(new Date(isoStr).setHours(0, 0, 0, 0) / 1000);
|
|
10114
|
+
if (Number.isFinite(ts)) blackoutSet.add(ts);
|
|
10115
|
+
}
|
|
10116
|
+
}
|
|
10117
|
+
|
|
10105
10118
|
/**
|
|
10106
10119
|
* A date (unix timestamp in seconds, midnight-aligned) is "enabled" when
|
|
10107
10120
|
* it is within [min, max] AND not a blackout day.
|
|
@@ -10275,7 +10288,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10275
10288
|
const monthElem = this.shadowRoot.querySelector(selector);
|
|
10276
10289
|
|
|
10277
10290
|
if (monthElem) {
|
|
10278
|
-
|
|
10291
|
+
const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
10292
|
+
monthElem.scrollIntoView({ block: 'nearest', behavior: prefersReducedMotion ? 'instant' : 'smooth' });
|
|
10279
10293
|
}
|
|
10280
10294
|
}
|
|
10281
10295
|
|
|
@@ -14342,7 +14356,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
14342
14356
|
}
|
|
14343
14357
|
};
|
|
14344
14358
|
|
|
14345
|
-
var formkitVersion$1 = '
|
|
14359
|
+
var formkitVersion$1 = '202605182240';
|
|
14346
14360
|
|
|
14347
14361
|
let AuroElement$2 = class AuroElement extends i$1 {
|
|
14348
14362
|
static get properties() {
|
|
@@ -15294,7 +15308,8 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15294
15308
|
* Sets `inert` on sibling elements of the dropdown's top-level host
|
|
15295
15309
|
* so that content outside the dropdown is not interactive while the modal is open.
|
|
15296
15310
|
* Walks up through shadow DOM boundaries to find the outermost host element
|
|
15297
|
-
* in the light DOM, then sets `inert` on
|
|
15311
|
+
* in the light DOM, then sets `inert` on siblings at each ancestor level
|
|
15312
|
+
* to ensure all page content outside the host subtree is inert.
|
|
15298
15313
|
* @private
|
|
15299
15314
|
*/
|
|
15300
15315
|
_setPageInert() {
|
|
@@ -15313,15 +15328,18 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15313
15328
|
host = host.getRootNode().host;
|
|
15314
15329
|
}
|
|
15315
15330
|
|
|
15316
|
-
|
|
15317
|
-
|
|
15318
|
-
|
|
15331
|
+
// Walk up the ancestor chain, inerting siblings at each level
|
|
15332
|
+
// to ensure the entire page outside the host subtree is inert.
|
|
15333
|
+
let current = host;
|
|
15334
|
+
while (current.parentElement) {
|
|
15335
|
+
const parent = current.parentElement;
|
|
15319
15336
|
for (const sibling of parent.children) {
|
|
15320
|
-
if (sibling !==
|
|
15337
|
+
if (sibling !== current && !sibling.inert) {
|
|
15321
15338
|
sibling.inert = true;
|
|
15322
15339
|
this._inertSiblings.push(sibling);
|
|
15323
15340
|
}
|
|
15324
15341
|
}
|
|
15342
|
+
current = parent;
|
|
15325
15343
|
}
|
|
15326
15344
|
}
|
|
15327
15345
|
|
|
@@ -22279,7 +22297,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
22279
22297
|
}
|
|
22280
22298
|
};
|
|
22281
22299
|
|
|
22282
|
-
var formkitVersion = '
|
|
22300
|
+
var formkitVersion = '202605182240';
|
|
22283
22301
|
|
|
22284
22302
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
22285
22303
|
// See LICENSE in the project root for license information.
|
|
@@ -23534,11 +23552,10 @@ function applyKeyboardStrategy(component, strategy, options = {}) {
|
|
|
23534
23552
|
// components/datepicker/docs/partials/keyboardBehavior.md
|
|
23535
23553
|
//
|
|
23536
23554
|
// Current behavior (transitional — full bib keyboard navigation is planned for a future iteration):
|
|
23537
|
-
// - The bib opens and closes via pointer/touch interaction only.
|
|
23538
23555
|
// - Escape closes the bib and prevents the event from reaching parent containers.
|
|
23539
|
-
// -
|
|
23556
|
+
// - Enter opens the bib when it is closed (trigger input only, not clear button).
|
|
23557
|
+
// - Space opens the bib when it is closed (trigger input only, not clear button).
|
|
23540
23558
|
// - Tab uses the browser's default tabindex sequence across trigger controls.
|
|
23541
|
-
// - Enter does not open or close the bib.
|
|
23542
23559
|
//
|
|
23543
23560
|
// This file is an intentional placeholder for most keys. When datepicker bib keyboard navigation is
|
|
23544
23561
|
// added, handlers should go here following the same strategy pattern used by
|
|
@@ -23562,7 +23579,11 @@ const datepickerKeyboardStrategy = {
|
|
|
23562
23579
|
return;
|
|
23563
23580
|
}
|
|
23564
23581
|
|
|
23565
|
-
//
|
|
23582
|
+
// Only open from the trigger input, not the clear button or other elements
|
|
23583
|
+
if (evt.target?.hasAttribute?.('slot') && evt.target.getAttribute('slot').includes('clear')) {
|
|
23584
|
+
return;
|
|
23585
|
+
}
|
|
23586
|
+
|
|
23566
23587
|
evt.preventDefault();
|
|
23567
23588
|
|
|
23568
23589
|
component.dropdown.show();
|
|
@@ -23573,7 +23594,11 @@ const datepickerKeyboardStrategy = {
|
|
|
23573
23594
|
return;
|
|
23574
23595
|
}
|
|
23575
23596
|
|
|
23576
|
-
//
|
|
23597
|
+
// Only open from the trigger input, not the clear button or other elements
|
|
23598
|
+
if (evt.target?.hasAttribute?.('slot') && evt.target.getAttribute('slot').includes('clear')) {
|
|
23599
|
+
return;
|
|
23600
|
+
}
|
|
23601
|
+
|
|
23577
23602
|
evt.preventDefault();
|
|
23578
23603
|
|
|
23579
23604
|
component.dropdown.show();
|
|
@@ -24538,9 +24563,10 @@ class AuroDatePicker extends AuroElement {
|
|
|
24538
24563
|
|
|
24539
24564
|
// Show the month containing the selected date (or today) instead of
|
|
24540
24565
|
// whichever month the user last navigated to.
|
|
24566
|
+
// Respect consumer-provided centralDate/calendarStartDate if no value is set.
|
|
24541
24567
|
if (this.value && this.util.validDateStr(this.value, this.format)) {
|
|
24542
24568
|
this.calendarRenderUtil.updateCentralDate(this, this.formattedValue);
|
|
24543
|
-
} else if (!this.minDate) {
|
|
24569
|
+
} else if (!this.centralDate && !this.calendarStartDate && !this.minDate) {
|
|
24544
24570
|
this.calendarRenderUtil.updateCentralDate(this, new Date());
|
|
24545
24571
|
}
|
|
24546
24572
|
}
|
|
@@ -24831,6 +24857,11 @@ class AuroDatePicker extends AuroElement {
|
|
|
24831
24857
|
} else {
|
|
24832
24858
|
this.value = newDate;
|
|
24833
24859
|
}
|
|
24860
|
+
|
|
24861
|
+
// For single-date picker, close the bib and return focus to trigger after selection
|
|
24862
|
+
if (!this.range) {
|
|
24863
|
+
this.hideBib();
|
|
24864
|
+
}
|
|
24834
24865
|
}
|
|
24835
24866
|
}
|
|
24836
24867
|
|
|
@@ -25003,10 +25034,24 @@ class AuroDatePicker extends AuroElement {
|
|
|
25003
25034
|
this.setHasValue();
|
|
25004
25035
|
}
|
|
25005
25036
|
|
|
25037
|
+
if (changedProperties.has('blackoutDates')) {
|
|
25038
|
+
// Force calendar cells to re-render with updated blackout state
|
|
25039
|
+
if (this.calendar) {
|
|
25040
|
+
this.calendar.requestUpdate();
|
|
25041
|
+
}
|
|
25042
|
+
}
|
|
25043
|
+
|
|
25006
25044
|
if (changedProperties.has('valueEnd') && this.inputList[1]) {
|
|
25007
25045
|
|
|
25008
25046
|
this.formattedValueEnd = this.util.toNorthAmericanFormat(this.valueEnd, this.format);
|
|
25009
25047
|
|
|
25048
|
+
if (this.cellClickActive) {
|
|
25049
|
+
this.cellClickActive = false;
|
|
25050
|
+
this.wasCellClick = true;
|
|
25051
|
+
} else {
|
|
25052
|
+
this.wasCellClick = false;
|
|
25053
|
+
}
|
|
25054
|
+
|
|
25010
25055
|
// update the calendar
|
|
25011
25056
|
if (this.valueEnd && this.util.validDateStr(this.valueEnd, this.format)) {
|
|
25012
25057
|
this.calendar.dateTo = this.convertToWcValidTime(this.formattedValueEnd);
|
|
@@ -25666,8 +25711,6 @@ function localizationExample() {
|
|
|
25666
25711
|
const localizedDatepicker = document.querySelector("#localizationExample");
|
|
25667
25712
|
|
|
25668
25713
|
localizedDatepicker.monthNames = ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'];
|
|
25669
|
-
|
|
25670
|
-
console.warn(localizedDatepicker.monthNames);
|
|
25671
25714
|
}
|
|
25672
25715
|
|
|
25673
25716
|
AuroDatePicker.register();
|
|
@@ -8143,7 +8143,11 @@ class AuroCalendarCell extends i$1 {
|
|
|
8143
8143
|
const blackoutDates = this.datepicker?.blackoutDates;
|
|
8144
8144
|
|
|
8145
8145
|
if (Array.isArray(blackoutDates) && blackoutDates.length > 0) {
|
|
8146
|
-
const
|
|
8146
|
+
const date = new Date(this.day.date * 1000);
|
|
8147
|
+
const yyyy = date.getFullYear();
|
|
8148
|
+
const mm = String(date.getMonth() + 1).padStart(2, '0');
|
|
8149
|
+
const dd = String(date.getDate()).padStart(2, '0');
|
|
8150
|
+
const cellDate = `${yyyy}-${mm}-${dd}`;
|
|
8147
8151
|
if (blackoutDates.includes(cellDate)) {
|
|
8148
8152
|
return true;
|
|
8149
8153
|
}
|
|
@@ -8478,7 +8482,7 @@ class AuroCalendarCell extends i$1 {
|
|
|
8478
8482
|
const buttonClasses = {
|
|
8479
8483
|
'day': true,
|
|
8480
8484
|
'body-lg': true,
|
|
8481
|
-
'currentDate': this.
|
|
8485
|
+
'currentDate': this.isCurrentDate,
|
|
8482
8486
|
'selected': this.selected,
|
|
8483
8487
|
'inRange': this.datepicker?.hasAttribute('range') && this.hovered && this.isInRange(this.day, this.dateFrom, this.dateTo),
|
|
8484
8488
|
'lastHoveredDate': this.isLastHoveredDate(this.day, this.dateFrom, this.dateTo, this.hoveredDate) && this.datepicker && this.datepicker.hasAttribute('range'),
|
|
@@ -8500,8 +8504,8 @@ class AuroCalendarCell extends i$1 {
|
|
|
8500
8504
|
@focus="${outOfRange ? A$4 : this.handleHover}"
|
|
8501
8505
|
class="${e$4(buttonClasses)}"
|
|
8502
8506
|
?disabled="${outOfRange}"
|
|
8503
|
-
|
|
8504
|
-
|
|
8507
|
+
aria-disabled="${blackout ? 'true' : A$4}"
|
|
8508
|
+
aria-hidden="${outOfRange ? 'true' : A$4}"
|
|
8505
8509
|
aria-selected="${this.selected ? 'true' : 'false'}"
|
|
8506
8510
|
aria-current="${this.isCurrentDate ? 'date' : A$4}"
|
|
8507
8511
|
tabindex="${this.active ? '0' : '-1'}">
|
|
@@ -9617,7 +9621,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
9617
9621
|
}
|
|
9618
9622
|
}
|
|
9619
9623
|
|
|
9620
|
-
var formkitVersion$2 = '
|
|
9624
|
+
var formkitVersion$2 = '202605182240';
|
|
9621
9625
|
|
|
9622
9626
|
let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$5`${s$5(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$4 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$3=i$3`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
9623
9627
|
`,u$6=i$3`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -10102,6 +10106,15 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10102
10106
|
(this.disabledDays || []).map(d => parseInt(d, 10))
|
|
10103
10107
|
);
|
|
10104
10108
|
|
|
10109
|
+
// Also include ISO-format blackoutDates from the datepicker if available
|
|
10110
|
+
const isoBlackouts = this.datepicker?.blackoutDates;
|
|
10111
|
+
if (Array.isArray(isoBlackouts)) {
|
|
10112
|
+
for (const isoStr of isoBlackouts) {
|
|
10113
|
+
const ts = Math.floor(new Date(isoStr).setHours(0, 0, 0, 0) / 1000);
|
|
10114
|
+
if (Number.isFinite(ts)) blackoutSet.add(ts);
|
|
10115
|
+
}
|
|
10116
|
+
}
|
|
10117
|
+
|
|
10105
10118
|
/**
|
|
10106
10119
|
* A date (unix timestamp in seconds, midnight-aligned) is "enabled" when
|
|
10107
10120
|
* it is within [min, max] AND not a blackout day.
|
|
@@ -10275,7 +10288,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
10275
10288
|
const monthElem = this.shadowRoot.querySelector(selector);
|
|
10276
10289
|
|
|
10277
10290
|
if (monthElem) {
|
|
10278
|
-
|
|
10291
|
+
const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
10292
|
+
monthElem.scrollIntoView({ block: 'nearest', behavior: prefersReducedMotion ? 'instant' : 'smooth' });
|
|
10279
10293
|
}
|
|
10280
10294
|
}
|
|
10281
10295
|
|
|
@@ -14342,7 +14356,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
14342
14356
|
}
|
|
14343
14357
|
};
|
|
14344
14358
|
|
|
14345
|
-
var formkitVersion$1 = '
|
|
14359
|
+
var formkitVersion$1 = '202605182240';
|
|
14346
14360
|
|
|
14347
14361
|
let AuroElement$2 = class AuroElement extends i$1 {
|
|
14348
14362
|
static get properties() {
|
|
@@ -15294,7 +15308,8 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15294
15308
|
* Sets `inert` on sibling elements of the dropdown's top-level host
|
|
15295
15309
|
* so that content outside the dropdown is not interactive while the modal is open.
|
|
15296
15310
|
* Walks up through shadow DOM boundaries to find the outermost host element
|
|
15297
|
-
* in the light DOM, then sets `inert` on
|
|
15311
|
+
* in the light DOM, then sets `inert` on siblings at each ancestor level
|
|
15312
|
+
* to ensure all page content outside the host subtree is inert.
|
|
15298
15313
|
* @private
|
|
15299
15314
|
*/
|
|
15300
15315
|
_setPageInert() {
|
|
@@ -15313,15 +15328,18 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15313
15328
|
host = host.getRootNode().host;
|
|
15314
15329
|
}
|
|
15315
15330
|
|
|
15316
|
-
|
|
15317
|
-
|
|
15318
|
-
|
|
15331
|
+
// Walk up the ancestor chain, inerting siblings at each level
|
|
15332
|
+
// to ensure the entire page outside the host subtree is inert.
|
|
15333
|
+
let current = host;
|
|
15334
|
+
while (current.parentElement) {
|
|
15335
|
+
const parent = current.parentElement;
|
|
15319
15336
|
for (const sibling of parent.children) {
|
|
15320
|
-
if (sibling !==
|
|
15337
|
+
if (sibling !== current && !sibling.inert) {
|
|
15321
15338
|
sibling.inert = true;
|
|
15322
15339
|
this._inertSiblings.push(sibling);
|
|
15323
15340
|
}
|
|
15324
15341
|
}
|
|
15342
|
+
current = parent;
|
|
15325
15343
|
}
|
|
15326
15344
|
}
|
|
15327
15345
|
|
|
@@ -22279,7 +22297,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
22279
22297
|
}
|
|
22280
22298
|
};
|
|
22281
22299
|
|
|
22282
|
-
var formkitVersion = '
|
|
22300
|
+
var formkitVersion = '202605182240';
|
|
22283
22301
|
|
|
22284
22302
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
22285
22303
|
// See LICENSE in the project root for license information.
|
|
@@ -23534,11 +23552,10 @@ function applyKeyboardStrategy(component, strategy, options = {}) {
|
|
|
23534
23552
|
// components/datepicker/docs/partials/keyboardBehavior.md
|
|
23535
23553
|
//
|
|
23536
23554
|
// Current behavior (transitional — full bib keyboard navigation is planned for a future iteration):
|
|
23537
|
-
// - The bib opens and closes via pointer/touch interaction only.
|
|
23538
23555
|
// - Escape closes the bib and prevents the event from reaching parent containers.
|
|
23539
|
-
// -
|
|
23556
|
+
// - Enter opens the bib when it is closed (trigger input only, not clear button).
|
|
23557
|
+
// - Space opens the bib when it is closed (trigger input only, not clear button).
|
|
23540
23558
|
// - Tab uses the browser's default tabindex sequence across trigger controls.
|
|
23541
|
-
// - Enter does not open or close the bib.
|
|
23542
23559
|
//
|
|
23543
23560
|
// This file is an intentional placeholder for most keys. When datepicker bib keyboard navigation is
|
|
23544
23561
|
// added, handlers should go here following the same strategy pattern used by
|
|
@@ -23562,7 +23579,11 @@ const datepickerKeyboardStrategy = {
|
|
|
23562
23579
|
return;
|
|
23563
23580
|
}
|
|
23564
23581
|
|
|
23565
|
-
//
|
|
23582
|
+
// Only open from the trigger input, not the clear button or other elements
|
|
23583
|
+
if (evt.target?.hasAttribute?.('slot') && evt.target.getAttribute('slot').includes('clear')) {
|
|
23584
|
+
return;
|
|
23585
|
+
}
|
|
23586
|
+
|
|
23566
23587
|
evt.preventDefault();
|
|
23567
23588
|
|
|
23568
23589
|
component.dropdown.show();
|
|
@@ -23573,7 +23594,11 @@ const datepickerKeyboardStrategy = {
|
|
|
23573
23594
|
return;
|
|
23574
23595
|
}
|
|
23575
23596
|
|
|
23576
|
-
//
|
|
23597
|
+
// Only open from the trigger input, not the clear button or other elements
|
|
23598
|
+
if (evt.target?.hasAttribute?.('slot') && evt.target.getAttribute('slot').includes('clear')) {
|
|
23599
|
+
return;
|
|
23600
|
+
}
|
|
23601
|
+
|
|
23577
23602
|
evt.preventDefault();
|
|
23578
23603
|
|
|
23579
23604
|
component.dropdown.show();
|
|
@@ -24538,9 +24563,10 @@ class AuroDatePicker extends AuroElement {
|
|
|
24538
24563
|
|
|
24539
24564
|
// Show the month containing the selected date (or today) instead of
|
|
24540
24565
|
// whichever month the user last navigated to.
|
|
24566
|
+
// Respect consumer-provided centralDate/calendarStartDate if no value is set.
|
|
24541
24567
|
if (this.value && this.util.validDateStr(this.value, this.format)) {
|
|
24542
24568
|
this.calendarRenderUtil.updateCentralDate(this, this.formattedValue);
|
|
24543
|
-
} else if (!this.minDate) {
|
|
24569
|
+
} else if (!this.centralDate && !this.calendarStartDate && !this.minDate) {
|
|
24544
24570
|
this.calendarRenderUtil.updateCentralDate(this, new Date());
|
|
24545
24571
|
}
|
|
24546
24572
|
}
|
|
@@ -24831,6 +24857,11 @@ class AuroDatePicker extends AuroElement {
|
|
|
24831
24857
|
} else {
|
|
24832
24858
|
this.value = newDate;
|
|
24833
24859
|
}
|
|
24860
|
+
|
|
24861
|
+
// For single-date picker, close the bib and return focus to trigger after selection
|
|
24862
|
+
if (!this.range) {
|
|
24863
|
+
this.hideBib();
|
|
24864
|
+
}
|
|
24834
24865
|
}
|
|
24835
24866
|
}
|
|
24836
24867
|
|
|
@@ -25003,10 +25034,24 @@ class AuroDatePicker extends AuroElement {
|
|
|
25003
25034
|
this.setHasValue();
|
|
25004
25035
|
}
|
|
25005
25036
|
|
|
25037
|
+
if (changedProperties.has('blackoutDates')) {
|
|
25038
|
+
// Force calendar cells to re-render with updated blackout state
|
|
25039
|
+
if (this.calendar) {
|
|
25040
|
+
this.calendar.requestUpdate();
|
|
25041
|
+
}
|
|
25042
|
+
}
|
|
25043
|
+
|
|
25006
25044
|
if (changedProperties.has('valueEnd') && this.inputList[1]) {
|
|
25007
25045
|
|
|
25008
25046
|
this.formattedValueEnd = this.util.toNorthAmericanFormat(this.valueEnd, this.format);
|
|
25009
25047
|
|
|
25048
|
+
if (this.cellClickActive) {
|
|
25049
|
+
this.cellClickActive = false;
|
|
25050
|
+
this.wasCellClick = true;
|
|
25051
|
+
} else {
|
|
25052
|
+
this.wasCellClick = false;
|
|
25053
|
+
}
|
|
25054
|
+
|
|
25010
25055
|
// update the calendar
|
|
25011
25056
|
if (this.valueEnd && this.util.validDateStr(this.valueEnd, this.format)) {
|
|
25012
25057
|
this.calendar.dateTo = this.convertToWcValidTime(this.formattedValueEnd);
|
|
@@ -25695,8 +25740,9 @@ function blackoutLabelExample() {
|
|
|
25695
25740
|
const yyyy = current.getFullYear();
|
|
25696
25741
|
const slotDateStr = `${mm}_${dd}_${yyyy}`;
|
|
25697
25742
|
|
|
25698
|
-
//
|
|
25699
|
-
const
|
|
25743
|
+
// Mark every 3rd date as blackout (deterministic pattern)
|
|
25744
|
+
const dayOfMonth = current.getDate();
|
|
25745
|
+
const isSoldOut = dayOfMonth % 3 === 0;
|
|
25700
25746
|
|
|
25701
25747
|
if (isSoldOut) {
|
|
25702
25748
|
blackoutDates.push(current.toISOString().split('T')[0]);
|
|
@@ -25706,7 +25752,8 @@ function blackoutLabelExample() {
|
|
|
25706
25752
|
popover.textContent = 'There are no tickets available for this date.';
|
|
25707
25753
|
blackoutDP.appendChild(popover);
|
|
25708
25754
|
} else {
|
|
25709
|
-
|
|
25755
|
+
// Use a fixed price based on day of month for deterministic output
|
|
25756
|
+
const price = 150 + (dayOfMonth * 17) % 400;
|
|
25710
25757
|
|
|
25711
25758
|
const dateSlot = document.createElement('span');
|
|
25712
25759
|
dateSlot.setAttribute('slot', `date_${slotDateStr}`);
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
</tr>
|
|
89
89
|
</tbody>
|
|
90
90
|
</table>
|
|
91
|
-
<auro-header level="3" id="keyEvents-
|
|
91
|
+
<auro-header level="3" id="keyEvents-calendarGrid">Calendar grid</auro-header>
|
|
92
92
|
<p>When the calendar bib is open, one date cell is the <em>active</em> cell (roving <code>tabindex="0"</code>). All other cells have <code>tabindex="-1"</code>. Arrow keys move the active cell without wrapping — when a boundary is reached the calendar navigates to the adjacent month.</p>
|
|
93
93
|
<table>
|
|
94
94
|
<thead>
|