@aurodesignsystem-dev/auro-formkit 0.0.0-pr1514.3 → 0.0.0-pr1514.5
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/bibtemplate/dist/index.js +1 -1
- package/components/bibtemplate/dist/registered.js +1 -1
- 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 +121 -97
- package/components/combobox/demo/getting-started.min.js +121 -97
- package/components/combobox/demo/index.min.js +121 -97
- package/components/combobox/dist/index.js +120 -96
- package/components/combobox/dist/registered.js +120 -96
- package/components/counter/demo/customize.min.js +11 -3
- package/components/counter/demo/index.min.js +11 -3
- package/components/counter/dist/index.js +11 -3
- package/components/counter/dist/registered.js +11 -3
- package/components/datepicker/demo/customize.min.js +224 -119
- package/components/datepicker/demo/index.min.js +224 -119
- package/components/datepicker/dist/auro-calendar.d.ts +24 -7
- package/components/datepicker/dist/index.js +224 -119
- package/components/datepicker/dist/registered.js +224 -119
- package/components/dropdown/demo/customize.min.js +2 -1
- package/components/dropdown/demo/getting-started.min.js +2 -1
- package/components/dropdown/demo/index.min.js +2 -1
- package/components/dropdown/dist/index.js +2 -1
- package/components/dropdown/dist/registered.js +2 -1
- package/components/form/demo/customize.min.js +662 -378
- package/components/form/demo/getting-started.min.js +662 -378
- package/components/form/demo/index.min.js +662 -378
- package/components/form/demo/registerDemoDeps.min.js +662 -378
- package/components/input/demo/api.md +5 -5
- package/components/input/demo/customize.md +8 -8
- package/components/input/demo/customize.min.js +116 -93
- package/components/input/demo/getting-started.min.js +116 -93
- package/components/input/demo/index.min.js +116 -93
- package/components/input/dist/base-input.d.ts +33 -44
- package/components/input/dist/index.js +129 -94
- package/components/input/dist/registered.js +116 -93
- 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 +187 -63
- package/components/select/demo/getting-started.min.js +187 -63
- package/components/select/demo/index.min.js +187 -63
- package/components/select/demo/keyboard-behavior.md +18 -4
- package/components/select/dist/auro-select.d.ts +20 -8
- package/components/select/dist/index.js +187 -63
- package/components/select/dist/registered.js +187 -63
- package/custom-elements.json +1940 -1734
- package/package.json +1 -1
|
@@ -10524,6 +10524,13 @@ let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
|
10524
10524
|
* @returns {string | undefined}
|
|
10525
10525
|
*/
|
|
10526
10526
|
toFormattedValue(valueObject, format) {
|
|
10527
|
+
// Exposed publicly via `AuroInputUtil.toFormattedValue`, so a missing
|
|
10528
|
+
// `format` argument has to fail gracefully rather than throw on
|
|
10529
|
+
// `format.toLowerCase()`. Treat any falsy value (undefined, null, '')
|
|
10530
|
+
// as "no format → no display value".
|
|
10531
|
+
if (!format) {
|
|
10532
|
+
return undefined;
|
|
10533
|
+
}
|
|
10527
10534
|
const normalizedFormat = format.toLowerCase();
|
|
10528
10535
|
const maskOptions = this.getMaskOptions('date', normalizedFormat);
|
|
10529
10536
|
|
|
@@ -10804,7 +10811,7 @@ var snowflakeColors = i$3`:host([layout=snowflake]) [auro-dropdown]:not(:is([err
|
|
|
10804
10811
|
|
|
10805
10812
|
var styleCss$7 = i$3`.body-default{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-default-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default-emphasized{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-default-emphasized-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-default-emphasized-font-size, 1rem);line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.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-lg-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg-emphasized{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-lg-emphasized-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{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-sm-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm-emphasized{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-sm-emphasized-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.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-xs-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs-emphasized{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-xs-emphasized-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);line-height:var(--wcss-body-xs-emphasized-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-weight:var(--wcss-body-2xs-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-2xs-font-size, 0.625rem);line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs-emphasized{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-2xs-emphasized-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-weight:var(--wcss-display-2xl-weight, 300);line-height:var(--wcss-display-2xl-line-height, 1.3);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));letter-spacing:var(--wcss-display-2xl-letter-spacing, 0)}.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-weight:var(--wcss-display-xl-weight, 300);line-height:var(--wcss-display-xl-line-height, 1.3);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));letter-spacing:var(--wcss-display-xl-letter-spacing, 0)}.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-weight:var(--wcss-display-lg-weight, 300);line-height:var(--wcss-display-lg-line-height, 1.3);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));letter-spacing:var(--wcss-display-lg-letter-spacing, 0)}.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-weight:var(--wcss-display-md-weight, 300);line-height:var(--wcss-display-md-line-height, 1.3);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));letter-spacing:var(--wcss-display-md-letter-spacing, 0)}.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-weight:var(--wcss-display-sm-weight, 300);line-height:var(--wcss-display-sm-line-height, 1.3);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));letter-spacing:var(--wcss-display-sm-letter-spacing, 0)}.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-weight:var(--wcss-display-xs-weight, 300);line-height:var(--wcss-display-xs-line-height, 1.3);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));letter-spacing:var(--wcss-display-xs-letter-spacing, 0)}.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-weight:var(--wcss-heading-xl-weight, 300);line-height:var(--wcss-heading-xl-line-height, 1.3);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));letter-spacing:var(--wcss-heading-xl-letter-spacing, 0)}.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-weight:var(--wcss-heading-lg-weight, 300);line-height:var(--wcss-heading-lg-line-height, 1.3);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));letter-spacing:var(--wcss-heading-lg-letter-spacing, 0)}.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-weight:var(--wcss-heading-md-weight, 300);line-height:var(--wcss-heading-md-line-height, 1.3);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));letter-spacing:var(--wcss-heading-md-letter-spacing, 0)}.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-weight:var(--wcss-heading-sm-weight, 300);line-height:var(--wcss-heading-sm-line-height, 1.3);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));letter-spacing:var(--wcss-heading-sm-letter-spacing, 0)}.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-weight:var(--wcss-heading-xs-weight, 300);line-height:var(--wcss-heading-xs-line-height, 1.3);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));letter-spacing:var(--wcss-heading-xs-letter-spacing, 0)}.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-weight:var(--wcss-heading-2xs-weight, 300);line-height:var(--wcss-heading-2xs-line-height, 1.3);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0)}.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-weight:var(--wcss-accent-2xl-weight, 450);line-height:var(--wcss-accent-2xl-line-height, 1);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);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-weight:var(--wcss-accent-xl-weight, 450);line-height:var(--wcss-accent-xl-line-height, 1.3);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);text-transform:uppercase}.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-weight:var(--wcss-accent-lg-weight, 450);line-height:var(--wcss-accent-lg-line-height, 1.3);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);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-weight:var(--wcss-accent-md-weight, 500);line-height:var(--wcss-accent-md-line-height, 1.3);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);text-transform:uppercase}.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-weight:var(--wcss-accent-sm-weight, 500);line-height:var(--wcss-accent-sm-line-height, 1.3);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);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-weight:var(--wcss-accent-xs-weight, 500);line-height:var(--wcss-accent-xs-line-height, 1.3);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);text-transform:uppercase}.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-weight:var(--wcss-accent-2xs-weight, 450);line-height:var(--wcss-accent-2xs-line-height, 1.3);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);text-transform:uppercase}:host{--calendar-width: 336px;--mobile-footer-height: 150px;--mobile-header-height: 68px;--desktop-footer-height: 80px;height:100vh;height:100dvh}.calendars{display:flex;flex-direction:row}.calendars:focus{outline:none}.calendarNavButtons{position:absolute;z-index:1;top:var(--ds-size-200, 1rem);right:var(--ds-size-50, 0.25rem);left:var(--ds-size-50, 0.25rem)}.calendarNavBtn{display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.prevMonth,.nextMonth{position:absolute;top:0}.prevMonth{left:0}.nextMonth{right:0}.headerActions{padding:0 var(--ds-size-200, 1rem)}.mobileHeader{width:100%;height:var(--mobile-header-height);z-index:1;align-items:center;flex-direction:row}.headerDateFrom,.headerDateTo{display:flex;height:var(--mobile-header-height);flex:1;flex-direction:column;justify-content:center;padding:0 var(--ds-size-150, 0.75rem) 0 var(--ds-size-200, 1rem)}.mobileDateLabel{padding:var(--ds-size-25, 0.125rem) 0}.mobileFooter{display:none;width:100%;align-items:flex-end;flex-direction:column;justify-content:flex-end}.mobileFooterActions{position:relative;bottom:0;left:50%;display:none;width:calc(100% - var(--ds-size-200, 1rem)*2);align-items:flex-end;flex-direction:column;justify-content:flex-end;padding:var(--ds-size-150) calc(var(--ds-size-200, 1rem));transform:translateX(-50%)}.mobileFooterActions auro-button{width:100%}.calendarWrapper.hasFooter{padding-bottom:var(--desktop-footer-height)}:host([isfullscreen]){width:100%;max-height:100dvh;overflow:hidden}:host([isfullscreen]) .prevMonth,:host([isfullscreen]) .nextMonth{display:none}:host([isfullscreen]) .mobileHeader,:host([isfullscreen]) .mobileFooter,:host([isfullscreen]) .mobileFooterActions{display:flex}:host([isfullscreen]) .calendarWrapper{display:flex;flex-direction:column}:host([isfullscreen]) .calendars{display:flex;flex-direction:column;flex:1;align-items:center;width:100%;overscroll-behavior:contain}:host([isfullscreen]) .calendars:after{display:block;width:100%;height:var(--mobile-footer-height);content:""}.sr-only{position:absolute;overflow:hidden;clip:rect(0, 0, 0, 0);width:1px;height:1px;margin:-1px;padding:0;border:0;white-space:nowrap}`;
|
|
10806
10813
|
|
|
10807
|
-
var colorCss$7 = i$3`.calendarNavBtn{border-color:var(--ds-auro-calendar-nav-btn-border-color);background-color:var(--ds-auro-calendar-nav-btn-container-color);color:var(--ds-auro-calendar-nav-btn-chevron-color)}.calendarNavBtn:hover{--ds-auro-calendar-nav-btn-container-color: var(--ds-advanced-color-state-background-hover, #f2f2f2);--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a)}.calendarNavBtn:focus{--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a)}.calendarNavBtn:active{--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a);box-shadow:inset 0 0 0 1px var(--ds-auro-calendar-nav-btn-border-color)}.mobileHeader{background-color:var(--ds-auro-calendar-mobile-header-container-color)}.mobileDateLabel{color:var(--ds-auro-calendar-mobile-header-text-color)}:host(:not([noRange])) .headerDateTo:after{background-color:var(--ds-auro-calendar-mobile-header-divider-color)}::slotted([slot="bib.fullscreen.fromStr"]),::slotted([slot=mobileDateToStr]){color:var(--ds-auro-datepicker-placeholder-color)}@media screen and (max-width: 576px){.calendarNavBtn{--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a)}}`;
|
|
10814
|
+
var colorCss$7 = i$3`.calendarNavBtn{border-color:var(--ds-auro-calendar-nav-btn-border-color);background-color:var(--ds-auro-calendar-nav-btn-container-color);color:var(--ds-auro-calendar-nav-btn-chevron-color)}.calendarNavBtn:hover{--ds-auro-calendar-nav-btn-container-color: var(--ds-advanced-color-state-background-hover, #f2f2f2);--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a)}.calendarNavBtn:focus{--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a);outline:unset}.calendarNavBtn:active{--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a);box-shadow:inset 0 0 0 1px var(--ds-auro-calendar-nav-btn-border-color)}.mobileHeader{background-color:var(--ds-auro-calendar-mobile-header-container-color)}.mobileDateLabel{color:var(--ds-auro-calendar-mobile-header-text-color)}:host(:not([noRange])) .headerDateTo:after{background-color:var(--ds-auro-calendar-mobile-header-divider-color)}::slotted([slot="bib.fullscreen.fromStr"]),::slotted([slot=mobileDateToStr]){color:var(--ds-auro-datepicker-placeholder-color)}@media screen and (max-width: 576px){.calendarNavBtn{--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a)}}`;
|
|
10808
10815
|
|
|
10809
10816
|
var styleCss$6 = i$3`:focus:not(:focus-visible){outline:3px solid transparent}.body-default{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-default-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default-emphasized{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-default-emphasized-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-default-emphasized-font-size, 1rem);line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.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-lg-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg-emphasized{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-lg-emphasized-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{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-sm-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm-emphasized{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-sm-emphasized-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.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-xs-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs-emphasized{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-xs-emphasized-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);line-height:var(--wcss-body-xs-emphasized-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-weight:var(--wcss-body-2xs-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-2xs-font-size, 0.625rem);line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs-emphasized{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-2xs-emphasized-weight, );letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-weight:var(--wcss-display-2xl-weight, 300);line-height:var(--wcss-display-2xl-line-height, 1.3);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));letter-spacing:var(--wcss-display-2xl-letter-spacing, 0)}.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-weight:var(--wcss-display-xl-weight, 300);line-height:var(--wcss-display-xl-line-height, 1.3);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));letter-spacing:var(--wcss-display-xl-letter-spacing, 0)}.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-weight:var(--wcss-display-lg-weight, 300);line-height:var(--wcss-display-lg-line-height, 1.3);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));letter-spacing:var(--wcss-display-lg-letter-spacing, 0)}.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-weight:var(--wcss-display-md-weight, 300);line-height:var(--wcss-display-md-line-height, 1.3);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));letter-spacing:var(--wcss-display-md-letter-spacing, 0)}.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-weight:var(--wcss-display-sm-weight, 300);line-height:var(--wcss-display-sm-line-height, 1.3);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));letter-spacing:var(--wcss-display-sm-letter-spacing, 0)}.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-weight:var(--wcss-display-xs-weight, 300);line-height:var(--wcss-display-xs-line-height, 1.3);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));letter-spacing:var(--wcss-display-xs-letter-spacing, 0)}.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-weight:var(--wcss-heading-xl-weight, 300);line-height:var(--wcss-heading-xl-line-height, 1.3);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));letter-spacing:var(--wcss-heading-xl-letter-spacing, 0)}.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-weight:var(--wcss-heading-lg-weight, 300);line-height:var(--wcss-heading-lg-line-height, 1.3);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));letter-spacing:var(--wcss-heading-lg-letter-spacing, 0)}.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-weight:var(--wcss-heading-md-weight, 300);line-height:var(--wcss-heading-md-line-height, 1.3);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));letter-spacing:var(--wcss-heading-md-letter-spacing, 0)}.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-weight:var(--wcss-heading-sm-weight, 300);line-height:var(--wcss-heading-sm-line-height, 1.3);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));letter-spacing:var(--wcss-heading-sm-letter-spacing, 0)}.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-weight:var(--wcss-heading-xs-weight, 300);line-height:var(--wcss-heading-xs-line-height, 1.3);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));letter-spacing:var(--wcss-heading-xs-letter-spacing, 0)}.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-weight:var(--wcss-heading-2xs-weight, 300);line-height:var(--wcss-heading-2xs-line-height, 1.3);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0)}.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-weight:var(--wcss-accent-2xl-weight, 450);line-height:var(--wcss-accent-2xl-line-height, 1);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);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-weight:var(--wcss-accent-xl-weight, 450);line-height:var(--wcss-accent-xl-line-height, 1.3);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);text-transform:uppercase}.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-weight:var(--wcss-accent-lg-weight, 450);line-height:var(--wcss-accent-lg-line-height, 1.3);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);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-weight:var(--wcss-accent-md-weight, 500);line-height:var(--wcss-accent-md-line-height, 1.3);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);text-transform:uppercase}.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-weight:var(--wcss-accent-sm-weight, 500);line-height:var(--wcss-accent-sm-line-height, 1.3);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);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-weight:var(--wcss-accent-xs-weight, 500);line-height:var(--wcss-accent-xs-line-height, 1.3);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);text-transform:uppercase}.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-weight:var(--wcss-accent-2xs-weight, 450);line-height:var(--wcss-accent-2xs-line-height, 1.3);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);text-transform:uppercase}:host{position:relative;display:block;width:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));margin:0 var(--ds-size-200, 1rem)}@media screen and (min-width: 576px){:host{width:336px;padding:var(--ds-size-200, 1rem) var(--ds-size-200, 1rem) 0}}@media screen and (min-width: 576px){:host(:not(:last-of-type)):after{position:absolute;top:var(--ds-size-200, 1rem);right:calc(-1*var(--ds-size-200, 1rem));height:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));display:block;width:1px;content:""}}.header{display:flex;height:var(--ds-size-500, 2.5rem);margin-bottom:var(--ds-size-150, 0.75rem);align-items:center;flex-direction:row;text-align:center}.headerTitle{display:flex;align-items:center;flex:1;flex-direction:row;justify-content:center}.headerTitle div:first-child{margin-right:var(--ds-size-100, 0.5rem)}.calendarNavBtn{position:relative;display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.table{width:100%;border-collapse:collapse}.thead{margin-bottom:var(--ds-size-100, 0.5rem)}.th{display:flex;flex:1;align-items:center;justify-content:center}.th abbr{text-decoration:none}.tbody{width:100%;transition:all 0ms;transform:translateX(0)}@media screen and (min-width: 576px){.tbody{height:376px}}.td{flex:1;margin:0;padding:0}.tr{display:flex;flex-direction:row;width:100%;border-radius:10px;overflow:hidden}.tr:not(:last-of-type){margin-bottom:var(--ds-size-100, 0.5rem)}`;
|
|
10810
10817
|
|
|
@@ -13167,7 +13174,7 @@ class CalendarUtilities {
|
|
|
13167
13174
|
|
|
13168
13175
|
var colorCss$4 = i$3`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
13169
13176
|
|
|
13170
|
-
var styleCss$4 = i$3`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1
|
|
13177
|
+
var styleCss$4 = i$3`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column;padding:var(--ds-size-200, 1rem);padding-top:var(--ds-size-400, 2rem);padding-bottom:0}#headerContainer .titleRow{display:flex;flex-direction:row;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}#headerContainer .header{max-width:calc(100vw - var(--ds-size-900, 4.5rem));padding-top:var(--ds-size-200, 1rem)}#headerContainer .subheader{width:100%}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{padding:var(--ds-size-200, 1rem)}`;
|
|
13171
13178
|
|
|
13172
13179
|
var tokenCss = i$3`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-basic-color-surface-default, #ffffff)}`;
|
|
13173
13180
|
|
|
@@ -13562,7 +13569,7 @@ class AuroBibtemplate extends i$1 {
|
|
|
13562
13569
|
}
|
|
13563
13570
|
}
|
|
13564
13571
|
|
|
13565
|
-
var formkitVersion$2 = '
|
|
13572
|
+
var formkitVersion$2 = '202606291930';
|
|
13566
13573
|
|
|
13567
13574
|
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}
|
|
13568
13575
|
`,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}}
|
|
@@ -13668,8 +13675,10 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13668
13675
|
this.activeCellDate = null;
|
|
13669
13676
|
|
|
13670
13677
|
/**
|
|
13671
|
-
* Cached reference to the active cell host
|
|
13672
|
-
*
|
|
13678
|
+
* Cached reference to the active cell host. Set by setActiveCell and
|
|
13679
|
+
* refreshed by scrollToActiveCell when its cache check misses (stale
|
|
13680
|
+
* or missing). Lets scrollToActiveCell skip a full cell scan on each
|
|
13681
|
+
* arrow key.
|
|
13673
13682
|
* @private
|
|
13674
13683
|
*/
|
|
13675
13684
|
this._activeCell = null;
|
|
@@ -14645,6 +14654,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14645
14654
|
this.handleCellFocused({ detail: { date: fallback.day.date } });
|
|
14646
14655
|
}
|
|
14647
14656
|
}
|
|
14657
|
+
// Scroll AFTER the cross-month setActiveCell so the freshly
|
|
14658
|
+
// activated cell is what gets scrolled into view.
|
|
14659
|
+
this.scrollToActiveCell();
|
|
14648
14660
|
// Re-focus grid wrapper after month change re-render
|
|
14649
14661
|
this.focusActiveCell();
|
|
14650
14662
|
});
|
|
@@ -14685,6 +14697,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14685
14697
|
this.handleCellFocused({ detail: { date: nearest.day.date } });
|
|
14686
14698
|
}
|
|
14687
14699
|
}
|
|
14700
|
+
// Scroll AFTER the cross-month setActiveCell so the freshly
|
|
14701
|
+
// activated cell is what gets scrolled into view.
|
|
14702
|
+
this.scrollToActiveCell();
|
|
14688
14703
|
this.focusActiveCell();
|
|
14689
14704
|
});
|
|
14690
14705
|
}
|
|
@@ -14719,7 +14734,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14719
14734
|
const targetCell = allCells[targetIndex];
|
|
14720
14735
|
this.setActiveCell(targetCell.day.date);
|
|
14721
14736
|
this.scrollToActiveCell();
|
|
14722
|
-
this.focusActiveCell();
|
|
14723
14737
|
} else if (direction === 'next' && this.showNextMonthBtn) {
|
|
14724
14738
|
// Navigate to next month and focus the computed next date.
|
|
14725
14739
|
// Using the target date (fromDate + 1 day) instead of cells[0]
|
|
@@ -14740,7 +14754,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14740
14754
|
const target = cells.find((cell) => cell.day && cell.day.date === nextTs);
|
|
14741
14755
|
if (target) {
|
|
14742
14756
|
this.setActiveCell(target.day.date);
|
|
14743
|
-
this.focusActiveCell();
|
|
14744
14757
|
} else {
|
|
14745
14758
|
// Same nearest-by-date fallback handleGridKeyDown uses — direct
|
|
14746
14759
|
// `cells[length - 1]` would land on the end of the new month,
|
|
@@ -14748,9 +14761,10 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14748
14761
|
const fallback = this.pickNearestCell(cells, nextTs, 'next');
|
|
14749
14762
|
if (fallback) {
|
|
14750
14763
|
this.setActiveCell(fallback.day.date);
|
|
14751
|
-
this.focusActiveCell();
|
|
14752
14764
|
}
|
|
14753
14765
|
}
|
|
14766
|
+
this.scrollToActiveCell();
|
|
14767
|
+
this.focusActiveCell();
|
|
14754
14768
|
});
|
|
14755
14769
|
} else if (direction === 'prev' && this.showPrevMonthBtn) {
|
|
14756
14770
|
// Navigate to previous month and focus the computed previous date.
|
|
@@ -14769,7 +14783,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14769
14783
|
const target = cells.find((cell) => cell.day && cell.day.date === prevTs);
|
|
14770
14784
|
if (target) {
|
|
14771
14785
|
this.setActiveCell(target.day.date);
|
|
14772
|
-
this.focusActiveCell();
|
|
14773
14786
|
} else {
|
|
14774
14787
|
// Same nearest-by-date fallback handleGridKeyDown uses — direct
|
|
14775
14788
|
// `cells[0]` would land on the start of the previous month, far
|
|
@@ -14777,9 +14790,10 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14777
14790
|
const fallback = this.pickNearestCell(cells, prevTs, 'prev');
|
|
14778
14791
|
if (fallback) {
|
|
14779
14792
|
this.setActiveCell(fallback.day.date);
|
|
14780
|
-
this.focusActiveCell();
|
|
14781
14793
|
}
|
|
14782
14794
|
}
|
|
14795
|
+
this.scrollToActiveCell();
|
|
14796
|
+
this.focusActiveCell();
|
|
14783
14797
|
});
|
|
14784
14798
|
}
|
|
14785
14799
|
} else if (key === 'ArrowDown' || key === 'ArrowUp') {
|
|
@@ -14812,7 +14826,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14812
14826
|
const target = cells.find((cell) => cell.day && cell.day.date === targetDate);
|
|
14813
14827
|
if (target) {
|
|
14814
14828
|
this.setActiveCell(target.day.date);
|
|
14815
|
-
this.focusActiveCell();
|
|
14816
14829
|
} else {
|
|
14817
14830
|
// Same nearest-by-date fallback handleGridKeyDown uses — the
|
|
14818
14831
|
// old direction-based `cells[0]`/`cells[length-1]` clamp
|
|
@@ -14820,9 +14833,10 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14820
14833
|
const nearest = this.pickNearestCell(cells, targetDate, navDirection);
|
|
14821
14834
|
if (nearest) {
|
|
14822
14835
|
this.setActiveCell(nearest.day.date);
|
|
14823
|
-
this.focusActiveCell();
|
|
14824
14836
|
}
|
|
14825
14837
|
}
|
|
14838
|
+
this.scrollToActiveCell();
|
|
14839
|
+
this.focusActiveCell();
|
|
14826
14840
|
});
|
|
14827
14841
|
}
|
|
14828
14842
|
}
|
|
@@ -15023,11 +15037,26 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15023
15037
|
}
|
|
15024
15038
|
|
|
15025
15039
|
/**
|
|
15026
|
-
* Scrolls the calendar
|
|
15027
|
-
*
|
|
15028
|
-
*
|
|
15029
|
-
*
|
|
15030
|
-
*
|
|
15040
|
+
* Scrolls the calendar so the active cell is visible.
|
|
15041
|
+
*
|
|
15042
|
+
* Walks the flat tree (rendered, slot-aware) outward from the active
|
|
15043
|
+
* cell's button and calls `scrollBy` on every vertically-scrollable
|
|
15044
|
+
* ancestor by whatever delta still separates the cell from that
|
|
15045
|
+
* ancestor's viewport. Native `scrollIntoView` is not used because the
|
|
15046
|
+
* cell sits inside multiple nested scroll containers (the dropdown bib's
|
|
15047
|
+
* `<dialog>`, the bibtemplate's `#bodyContainer`) and the algorithm only
|
|
15048
|
+
* scrolls one of them on its own, leaving the cell short of the
|
|
15049
|
+
* viewport in mobile fullscreen.
|
|
15050
|
+
*
|
|
15051
|
+
* Uses `behavior: 'instant'` so each `scrollBy` resolves synchronously,
|
|
15052
|
+
* letting the next iteration's `getBoundingClientRect` read post-scroll
|
|
15053
|
+
* positions accurately. This also satisfies `prefers-reduced-motion`
|
|
15054
|
+
* users by avoiding scroll animation altogether.
|
|
15055
|
+
*
|
|
15056
|
+
* The active cell is looked up from the cache populated by
|
|
15057
|
+
* `setActiveCell`. On a cache miss (stale or absent) the cache is
|
|
15058
|
+
* refreshed from a single full scan so subsequent calls stay on the
|
|
15059
|
+
* fast path.
|
|
15031
15060
|
* @private
|
|
15032
15061
|
* @returns {void}
|
|
15033
15062
|
*/
|
|
@@ -15055,11 +15084,51 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15055
15084
|
return;
|
|
15056
15085
|
}
|
|
15057
15086
|
|
|
15058
|
-
|
|
15059
|
-
|
|
15060
|
-
|
|
15061
|
-
|
|
15062
|
-
|
|
15087
|
+
// Scroll the button inside the cell — it has concrete dimensions,
|
|
15088
|
+
// which avoids quirks when the cell host has display: inline / contents
|
|
15089
|
+
// / flex-without-explicit-size.
|
|
15090
|
+
const target = activeCell._cachedButton ||
|
|
15091
|
+
activeCell.shadowRoot?.querySelector('button.day') ||
|
|
15092
|
+
activeCell;
|
|
15093
|
+
|
|
15094
|
+
// parentNode follows the authored DOM tree and steps over shadow roots
|
|
15095
|
+
// via slot projection. A slotted element's visual parent is its
|
|
15096
|
+
// assignedSlot's parent (inside the host's shadow tree), not the host
|
|
15097
|
+
// itself. Without this hop, the walk skips right past #bodyContainer
|
|
15098
|
+
// and <dialog> and finds no scrollable ancestor at all.
|
|
15099
|
+
const flatParent = (current) => {
|
|
15100
|
+
if (current.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
|
|
15101
|
+
return current.host || null;
|
|
15102
|
+
}
|
|
15103
|
+
if (current.assignedSlot) {
|
|
15104
|
+
return current.assignedSlot.parentNode;
|
|
15105
|
+
}
|
|
15106
|
+
return current.parentNode;
|
|
15107
|
+
};
|
|
15108
|
+
|
|
15109
|
+
let node = flatParent(target);
|
|
15110
|
+
while (node && node !== document && node !== window) {
|
|
15111
|
+
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
15112
|
+
const { overflowY } = window.getComputedStyle(node);
|
|
15113
|
+
if (overflowY === 'auto' || overflowY === 'scroll') {
|
|
15114
|
+
const targetRect = target.getBoundingClientRect();
|
|
15115
|
+
const scrollerRect = node.getBoundingClientRect();
|
|
15116
|
+
let delta = 0;
|
|
15117
|
+
if (targetRect.top < scrollerRect.top) {
|
|
15118
|
+
delta = targetRect.top - scrollerRect.top;
|
|
15119
|
+
} else if (targetRect.bottom > scrollerRect.bottom) {
|
|
15120
|
+
delta = targetRect.bottom - scrollerRect.bottom;
|
|
15121
|
+
}
|
|
15122
|
+
if (delta !== 0) {
|
|
15123
|
+
node.scrollBy({
|
|
15124
|
+
top: delta,
|
|
15125
|
+
behavior: 'instant'
|
|
15126
|
+
});
|
|
15127
|
+
}
|
|
15128
|
+
}
|
|
15129
|
+
}
|
|
15130
|
+
node = flatParent(node);
|
|
15131
|
+
}
|
|
15063
15132
|
}
|
|
15064
15133
|
|
|
15065
15134
|
/**
|
|
@@ -19271,7 +19340,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$1 {
|
|
|
19271
19340
|
}
|
|
19272
19341
|
};
|
|
19273
19342
|
|
|
19274
|
-
var formkitVersion$1 = '
|
|
19343
|
+
var formkitVersion$1 = '202606291930';
|
|
19275
19344
|
|
|
19276
19345
|
let AuroElement$2 = class AuroElement extends i$1 {
|
|
19277
19346
|
static get properties() {
|
|
@@ -20543,6 +20612,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20543
20612
|
role="${o$2(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
20544
20613
|
aria-expanded="${o$2(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
20545
20614
|
aria-controls="${o$2(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
20615
|
+
aria-haspopup="${o$2(this.a11yRole === 'combobox' && !this.triggerContentFocusable ? 'listbox' : undefined)}"
|
|
20546
20616
|
aria-labelledby="${o$2(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
20547
20617
|
aria-disabled="${o$2(this.disabled ? 'true' : undefined)}"
|
|
20548
20618
|
@focusin="${this.handleFocusin}"
|
|
@@ -30996,6 +31066,13 @@ class AuroInputUtilities {
|
|
|
30996
31066
|
* @returns {string | undefined}
|
|
30997
31067
|
*/
|
|
30998
31068
|
toFormattedValue(valueObject, format) {
|
|
31069
|
+
// Exposed publicly via `AuroInputUtil.toFormattedValue`, so a missing
|
|
31070
|
+
// `format` argument has to fail gracefully rather than throw on
|
|
31071
|
+
// `format.toLowerCase()`. Treat any falsy value (undefined, null, '')
|
|
31072
|
+
// as "no format → no display value".
|
|
31073
|
+
if (!format) {
|
|
31074
|
+
return undefined;
|
|
31075
|
+
}
|
|
30999
31076
|
const normalizedFormat = format.toLowerCase();
|
|
31000
31077
|
const maskOptions = this.getMaskOptions('date', normalizedFormat);
|
|
31001
31078
|
|
|
@@ -31146,79 +31223,18 @@ class BaseInput extends AuroElement$1 {
|
|
|
31146
31223
|
constructor() {
|
|
31147
31224
|
super();
|
|
31148
31225
|
|
|
31149
|
-
|
|
31150
|
-
|
|
31151
|
-
|
|
31152
|
-
|
|
31153
|
-
|
|
31154
|
-
|
|
31155
|
-
|
|
31156
|
-
|
|
31157
|
-
|
|
31158
|
-
|
|
31159
|
-
this.required = false;
|
|
31160
|
-
this.onDark = false;
|
|
31161
|
-
this.setCustomValidityForType = undefined;
|
|
31162
|
-
this.size = 'lg';
|
|
31163
|
-
this.shape = 'classic';
|
|
31164
|
-
this.value = undefined;
|
|
31165
|
-
this._valueObject = undefined;
|
|
31166
|
-
|
|
31167
|
-
this._initializePrivateDefaults();
|
|
31168
|
-
}
|
|
31169
|
-
|
|
31170
|
-
/**
|
|
31171
|
-
* Internal Defaults.
|
|
31172
|
-
* @private
|
|
31173
|
-
* @returns {void}
|
|
31174
|
-
*/
|
|
31175
|
-
_initializePrivateDefaults() {
|
|
31226
|
+
// Single-source initialization. Alphabetized so duplicate or stale
|
|
31227
|
+
// defaults are immediately obvious on a diff. Every field is assigned
|
|
31228
|
+
// exactly once here (previously the constructor + the old
|
|
31229
|
+
// `_initializePrivateDefaults` overlapped — both wrote ~14 of the same
|
|
31230
|
+
// fields and double-allocated `util` and `validation`, discarding the
|
|
31231
|
+
// first instance). `validation` is now allocated exactly once; `util`
|
|
31232
|
+
// is seeded here with an en-US default and then rebuilt in
|
|
31233
|
+
// `connectedCallback` once the consumer-resolved locale is available,
|
|
31234
|
+
// so a parent (datepicker/combobox) calling `validate()` synchronously
|
|
31235
|
+
// during its own update cycle sees a populated util instance.
|
|
31176
31236
|
this.activeLabel = false;
|
|
31177
|
-
|
|
31178
|
-
this.icon = false;
|
|
31179
|
-
this.disabled = false;
|
|
31180
|
-
this.dvInputOnly = false;
|
|
31181
|
-
this.hideLabelVisually = false;
|
|
31182
|
-
this.max = undefined;
|
|
31183
|
-
this.maxLength = undefined;
|
|
31184
|
-
this.min = undefined;
|
|
31185
|
-
this.minLength = undefined;
|
|
31186
|
-
this.noValidate = false;
|
|
31187
|
-
this.onDark = false;
|
|
31188
|
-
this.required = false;
|
|
31189
|
-
this.setCustomValidityForType = undefined;
|
|
31190
|
-
|
|
31191
|
-
// Used for storing raw values returned from input mask.
|
|
31192
|
-
this._rawMaskValue = undefined;
|
|
31193
|
-
|
|
31194
|
-
/**
|
|
31195
|
-
* @private
|
|
31196
|
-
*/
|
|
31197
|
-
this.layout = 'classic';
|
|
31198
|
-
|
|
31199
|
-
/**
|
|
31200
|
-
* @private
|
|
31201
|
-
*/
|
|
31202
|
-
this.shape = 'classic';
|
|
31203
|
-
|
|
31204
|
-
/**
|
|
31205
|
-
* @private
|
|
31206
|
-
*/
|
|
31207
|
-
this.size = 'lg';
|
|
31208
|
-
|
|
31209
|
-
this.touched = false;
|
|
31210
|
-
this.util = new AuroInputUtilities({
|
|
31211
|
-
locale: "en-US",
|
|
31212
|
-
format: this.format
|
|
31213
|
-
});
|
|
31214
|
-
this.validation = new AuroFormValidation();
|
|
31215
|
-
this.inputIconName = undefined;
|
|
31216
|
-
this.showPassword = false;
|
|
31217
|
-
this.validationCCLength = undefined;
|
|
31218
|
-
this.hasValue = false;
|
|
31219
|
-
this.label = 'Input label is undefined';
|
|
31220
|
-
|
|
31221
|
-
|
|
31237
|
+
/** @private */
|
|
31222
31238
|
this.allowedInputTypes = [
|
|
31223
31239
|
"text",
|
|
31224
31240
|
"number",
|
|
@@ -31227,7 +31243,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
31227
31243
|
"credit-card",
|
|
31228
31244
|
"tel"
|
|
31229
31245
|
];
|
|
31230
|
-
this.
|
|
31246
|
+
this.appearance = "default";
|
|
31247
|
+
/** @private */
|
|
31231
31248
|
this.dateFormatMap = {
|
|
31232
31249
|
'mm/dd/yyyy': 'dateMMDDYYYY',
|
|
31233
31250
|
'dd/mm/yyyy': 'dateDDMMYYYY',
|
|
@@ -31244,27 +31261,57 @@ class BaseInput extends AuroElement$1 {
|
|
|
31244
31261
|
'dd/mm': 'dateDDMM',
|
|
31245
31262
|
'mm/dd': 'dateMMDD'
|
|
31246
31263
|
};
|
|
31264
|
+
this.disabled = false;
|
|
31265
|
+
/** @private */
|
|
31247
31266
|
this.domHandler = new DomHandler();
|
|
31248
31267
|
this.dvInputOnly = false;
|
|
31249
31268
|
this.hasValue = false;
|
|
31269
|
+
this.hideLabelVisually = false;
|
|
31270
|
+
this.icon = false;
|
|
31271
|
+
/** @private */
|
|
31250
31272
|
this.inputIconName = undefined;
|
|
31273
|
+
/** @private */
|
|
31251
31274
|
this.label = 'Input label is undefined';
|
|
31275
|
+
this.layout = 'classic';
|
|
31276
|
+
this.locale = 'en-US';
|
|
31277
|
+
this.max = undefined;
|
|
31278
|
+
this._maxObject = undefined;
|
|
31279
|
+
this.maxLength = undefined;
|
|
31280
|
+
this.min = undefined;
|
|
31281
|
+
this._minObject = undefined;
|
|
31282
|
+
this.minLength = undefined;
|
|
31252
31283
|
this.noValidate = false;
|
|
31253
|
-
this.
|
|
31284
|
+
this.onDark = false;
|
|
31285
|
+
// Raw values returned from the input mask before model normalization.
|
|
31286
|
+
this._rawMaskValue = undefined;
|
|
31287
|
+
this.required = false;
|
|
31288
|
+
this.setCustomValidityForType = undefined;
|
|
31289
|
+
// Credit Card is intentionally excluded — its mask manages the cursor
|
|
31290
|
+
// itself, and listing it here caused cursor placement issues in Safari.
|
|
31291
|
+
/** @private */
|
|
31254
31292
|
this.setSelectionInputTypes = [
|
|
31255
31293
|
"text",
|
|
31256
31294
|
"password",
|
|
31257
31295
|
"email"
|
|
31258
|
-
];
|
|
31296
|
+
];
|
|
31297
|
+
this.shape = 'classic';
|
|
31298
|
+
/** @private */
|
|
31259
31299
|
this.showPassword = false;
|
|
31300
|
+
this.size = 'lg';
|
|
31260
31301
|
this.touched = false;
|
|
31302
|
+
/** @private */
|
|
31261
31303
|
this.uniqueId = new UniqueId().create();
|
|
31304
|
+
/** @private */
|
|
31262
31305
|
this.util = new AuroInputUtilities({
|
|
31263
31306
|
locale: this.locale,
|
|
31264
31307
|
format: this.format
|
|
31265
31308
|
});
|
|
31309
|
+
/** @private */
|
|
31266
31310
|
this.validation = new AuroFormValidation();
|
|
31311
|
+
/** @private */
|
|
31267
31312
|
this.validationCCLength = undefined;
|
|
31313
|
+
this.value = undefined;
|
|
31314
|
+
this._valueObject = undefined;
|
|
31268
31315
|
}
|
|
31269
31316
|
|
|
31270
31317
|
// function to define props used within the scope of this component
|
|
@@ -31812,6 +31859,15 @@ class BaseInput extends AuroElement$1 {
|
|
|
31812
31859
|
|
|
31813
31860
|
this.inputId = this.id ? `${this.id}-input` : window.crypto.randomUUID();
|
|
31814
31861
|
|
|
31862
|
+
// Normalize the format token to lowercase so case-mixed values supplied
|
|
31863
|
+
// via attribute (e.g. `format="MM/DD/YYYY"`) hit the `dateFormatMap`
|
|
31864
|
+
// lookup inside `setCustomHelpTextMessage`. Without this, an uppercase
|
|
31865
|
+
// format silently misses the map and leaves `setCustomValidityForType`
|
|
31866
|
+
// unset.
|
|
31867
|
+
if (this.format) {
|
|
31868
|
+
this.format = this.format.toLowerCase();
|
|
31869
|
+
}
|
|
31870
|
+
|
|
31815
31871
|
// use validity message override if declared when initializing the component
|
|
31816
31872
|
if (this.hasAttribute('setCustomValidity')) {
|
|
31817
31873
|
this.ValidityMessageOverride = this.setCustomValidity;
|
|
@@ -32245,6 +32301,38 @@ class BaseInput extends AuroElement$1 {
|
|
|
32245
32301
|
this.touched = true;
|
|
32246
32302
|
this.validation.validate(this);
|
|
32247
32303
|
}
|
|
32304
|
+
|
|
32305
|
+
// Prevents cursor jumping in Safari. Setting `this.value` triggers a Lit
|
|
32306
|
+
// update that can re-render the input and reset the native cursor; we
|
|
32307
|
+
// capture the caret position before that update commits and restore it
|
|
32308
|
+
// via `setSelectionRange` once the update has flushed. Gated on
|
|
32309
|
+
// `setSelectionInputTypes` so credit-card (and other masked types whose
|
|
32310
|
+
// formatter manages the cursor itself) doesn't get a competing write.
|
|
32311
|
+
// Capture the caret position INSIDE the gate — reading `selectionStart`
|
|
32312
|
+
// on input types that don't support text selection (number, email in
|
|
32313
|
+
// some browsers) throws InvalidStateError, which would crash all input
|
|
32314
|
+
// handling. Wrap the read in try/catch belt-and-suspenders even though
|
|
32315
|
+
// the gated types currently support it, since the list is a public
|
|
32316
|
+
// property a consumer could mutate.
|
|
32317
|
+
if (this.setSelectionInputTypes.includes(this.type)) {
|
|
32318
|
+
let selectionStart;
|
|
32319
|
+
try {
|
|
32320
|
+
selectionStart = this.inputElement.selectionStart;
|
|
32321
|
+
} catch (error) { // eslint-disable-line no-unused-vars
|
|
32322
|
+
return;
|
|
32323
|
+
}
|
|
32324
|
+
if (typeof selectionStart !== 'number') {
|
|
32325
|
+
return;
|
|
32326
|
+
}
|
|
32327
|
+
this.updateComplete.then(() => {
|
|
32328
|
+
try {
|
|
32329
|
+
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
32330
|
+
} catch (error) { // eslint-disable-line no-unused-vars
|
|
32331
|
+
// Some input types (number/email in certain UAs) throw on
|
|
32332
|
+
// setSelectionRange; swallow and let the native cursor stand.
|
|
32333
|
+
}
|
|
32334
|
+
});
|
|
32335
|
+
}
|
|
32248
32336
|
}
|
|
32249
32337
|
|
|
32250
32338
|
/**
|
|
@@ -32871,7 +32959,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$1 {
|
|
|
32871
32959
|
}
|
|
32872
32960
|
};
|
|
32873
32961
|
|
|
32874
|
-
var formkitVersion = '
|
|
32962
|
+
var formkitVersion = '202606291930';
|
|
32875
32963
|
|
|
32876
32964
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
32877
32965
|
// See LICENSE in the project root for license information.
|
|
@@ -33374,6 +33462,7 @@ class AuroInput extends BaseInput {
|
|
|
33374
33462
|
<${this.buttonTag}
|
|
33375
33463
|
@click="${this.handleClickShowPassword}"
|
|
33376
33464
|
appearance="${this.onDark ? 'inverse' : this.appearance}"
|
|
33465
|
+
aria-pressed="${this.showPassword ? 'true' : 'false'}"
|
|
33377
33466
|
class="notificationBtn passwordBtn"
|
|
33378
33467
|
shape="circle"
|
|
33379
33468
|
size="sm"
|
|
@@ -33447,25 +33536,29 @@ class AuroInput extends BaseInput {
|
|
|
33447
33536
|
* @returns {html} - Returns HTML for the help text and error message.
|
|
33448
33537
|
*/
|
|
33449
33538
|
renderHtmlHelpText() {
|
|
33539
|
+
// Single `<p>` with stable identity across validity transitions —
|
|
33540
|
+
// previously two distinct templates (valid vs invalid) caused Lit to
|
|
33541
|
+
// replace the node entirely on a flip, and VoiceOver wouldn't
|
|
33542
|
+
// re-announce because the live-region element it was watching had been
|
|
33543
|
+
// removed and a new one inserted. Keeping one node means the `role`,
|
|
33544
|
+
// `aria-live`, and text content all change in-place, which AT does
|
|
33545
|
+
// observe and announce.
|
|
33546
|
+
const isError = this.validity && this.validity !== 'valid';
|
|
33450
33547
|
return u$a`
|
|
33451
|
-
|
|
33452
|
-
?
|
|
33453
|
-
|
|
33454
|
-
|
|
33455
|
-
|
|
33456
|
-
|
|
33457
|
-
|
|
33458
|
-
|
|
33459
|
-
|
|
33460
|
-
|
|
33461
|
-
|
|
33462
|
-
|
|
33463
|
-
|
|
33464
|
-
|
|
33465
|
-
</p>
|
|
33466
|
-
</${this.helpTextTag}>
|
|
33467
|
-
`
|
|
33468
|
-
}
|
|
33548
|
+
<${this.helpTextTag}
|
|
33549
|
+
appearance="${this.onDark ? 'inverse' : this.appearance}"
|
|
33550
|
+
?error=${isError}>
|
|
33551
|
+
<p
|
|
33552
|
+
id="${this.uniqueId}"
|
|
33553
|
+
part="helpText"
|
|
33554
|
+
role="${o$2(isError ? 'alert' : undefined)}"
|
|
33555
|
+
aria-live="${o$2(isError ? 'assertive' : undefined)}">
|
|
33556
|
+
${isError
|
|
33557
|
+
? this.errorMessage
|
|
33558
|
+
: u$a`<slot name="helpText">${this.getHelpText()}</slot>`
|
|
33559
|
+
}
|
|
33560
|
+
</p>
|
|
33561
|
+
</${this.helpTextTag}>
|
|
33469
33562
|
`;
|
|
33470
33563
|
}
|
|
33471
33564
|
|
|
@@ -33612,6 +33705,15 @@ function formatISODate(isoStr, format) {
|
|
|
33612
33705
|
try {
|
|
33613
33706
|
const date = dateFormatter.stringToDateInstance(isoStr);
|
|
33614
33707
|
|
|
33708
|
+
// `stringToDateInstance` returns an `Invalid Date` for malformed strings
|
|
33709
|
+
// and `null` for non-string input — it does NOT throw. Without this
|
|
33710
|
+
// guard, `getFullYear()`/`getMonth()`/`getDate()` on an Invalid Date
|
|
33711
|
+
// yield `NaN`, and `String(NaN).padStart(4, '0')` produces literals
|
|
33712
|
+
// like "0NaN/0NaN/0NaN" instead of `undefined`.
|
|
33713
|
+
if (!(date instanceof Date) || Number.isNaN(date.getTime())) {
|
|
33714
|
+
return undefined;
|
|
33715
|
+
}
|
|
33716
|
+
|
|
33615
33717
|
const year = String(date.getFullYear()).padStart(4, '0');
|
|
33616
33718
|
const month = String(date.getMonth() + 1).padStart(2, '0');
|
|
33617
33719
|
const day = String(date.getDate()).padStart(2, '0');
|
|
@@ -33622,7 +33724,10 @@ function formatISODate(isoStr, format) {
|
|
|
33622
33724
|
replace(/mm/iu, month).
|
|
33623
33725
|
replace(/dd/iu, day);
|
|
33624
33726
|
} catch (err) {
|
|
33625
|
-
//
|
|
33727
|
+
// Defensive: the Date-returning path is guarded above, but `parseDate`
|
|
33728
|
+
// (inside `stringToDateInstance`) could throw on pathological input
|
|
33729
|
+
// future-library-versions might introduce. Treat any thrown error as
|
|
33730
|
+
// "not a valid date" and return undefined.
|
|
33626
33731
|
return undefined;
|
|
33627
33732
|
}
|
|
33628
33733
|
}
|
|
@@ -35467,8 +35572,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
35467
35572
|
// we need to wait until the next frame to ensure the calendar is fully rendered
|
|
35468
35573
|
// and the area we're trying to scroll to is present in the DOM.
|
|
35469
35574
|
setTimeout(() => {
|
|
35470
|
-
this.calendar.scrollMonthIntoView(this.calendarFocusDate);
|
|
35471
35575
|
this.forceScrollOnNextMobileCalendarRender = false;
|
|
35576
|
+
this.calendar.scrollToActiveCell();
|
|
35472
35577
|
}, 0);
|
|
35473
35578
|
}
|
|
35474
35579
|
}, { signal });
|