@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
|
@@ -10507,6 +10507,13 @@ let AuroInputUtilities$1 = class AuroInputUtilities {
|
|
|
10507
10507
|
* @returns {string | undefined}
|
|
10508
10508
|
*/
|
|
10509
10509
|
toFormattedValue(valueObject, format) {
|
|
10510
|
+
// Exposed publicly via `AuroInputUtil.toFormattedValue`, so a missing
|
|
10511
|
+
// `format` argument has to fail gracefully rather than throw on
|
|
10512
|
+
// `format.toLowerCase()`. Treat any falsy value (undefined, null, '')
|
|
10513
|
+
// as "no format → no display value".
|
|
10514
|
+
if (!format) {
|
|
10515
|
+
return undefined;
|
|
10516
|
+
}
|
|
10510
10517
|
const normalizedFormat = format.toLowerCase();
|
|
10511
10518
|
const maskOptions = this.getMaskOptions('date', normalizedFormat);
|
|
10512
10519
|
|
|
@@ -10768,7 +10775,7 @@ var snowflakeColors = css`:host([layout=snowflake]) [auro-dropdown]:not(:is([err
|
|
|
10768
10775
|
|
|
10769
10776
|
var styleCss$7 = css`.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}`;
|
|
10770
10777
|
|
|
10771
|
-
var colorCss$7 = css`.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)}}`;
|
|
10778
|
+
var colorCss$7 = css`.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)}}`;
|
|
10772
10779
|
|
|
10773
10780
|
var styleCss$6 = css`: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)}`;
|
|
10774
10781
|
|
|
@@ -13119,7 +13126,7 @@ class CalendarUtilities {
|
|
|
13119
13126
|
|
|
13120
13127
|
var colorCss$4 = css`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
13121
13128
|
|
|
13122
|
-
var styleCss$4 = css`#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
|
|
13129
|
+
var styleCss$4 = css`#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)}`;
|
|
13123
13130
|
|
|
13124
13131
|
var tokenCss = css`: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)}`;
|
|
13125
13132
|
|
|
@@ -13514,7 +13521,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13514
13521
|
}
|
|
13515
13522
|
}
|
|
13516
13523
|
|
|
13517
|
-
var formkitVersion$2 = '
|
|
13524
|
+
var formkitVersion$2 = '202606291930';
|
|
13518
13525
|
|
|
13519
13526
|
let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=literal`${unsafeStatic(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$1 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1=css`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
13520
13527
|
`,u$4=css`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -13620,8 +13627,10 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13620
13627
|
this.activeCellDate = null;
|
|
13621
13628
|
|
|
13622
13629
|
/**
|
|
13623
|
-
* Cached reference to the active cell host
|
|
13624
|
-
*
|
|
13630
|
+
* Cached reference to the active cell host. Set by setActiveCell and
|
|
13631
|
+
* refreshed by scrollToActiveCell when its cache check misses (stale
|
|
13632
|
+
* or missing). Lets scrollToActiveCell skip a full cell scan on each
|
|
13633
|
+
* arrow key.
|
|
13625
13634
|
* @private
|
|
13626
13635
|
*/
|
|
13627
13636
|
this._activeCell = null;
|
|
@@ -14597,6 +14606,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14597
14606
|
this.handleCellFocused({ detail: { date: fallback.day.date } });
|
|
14598
14607
|
}
|
|
14599
14608
|
}
|
|
14609
|
+
// Scroll AFTER the cross-month setActiveCell so the freshly
|
|
14610
|
+
// activated cell is what gets scrolled into view.
|
|
14611
|
+
this.scrollToActiveCell();
|
|
14600
14612
|
// Re-focus grid wrapper after month change re-render
|
|
14601
14613
|
this.focusActiveCell();
|
|
14602
14614
|
});
|
|
@@ -14637,6 +14649,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14637
14649
|
this.handleCellFocused({ detail: { date: nearest.day.date } });
|
|
14638
14650
|
}
|
|
14639
14651
|
}
|
|
14652
|
+
// Scroll AFTER the cross-month setActiveCell so the freshly
|
|
14653
|
+
// activated cell is what gets scrolled into view.
|
|
14654
|
+
this.scrollToActiveCell();
|
|
14640
14655
|
this.focusActiveCell();
|
|
14641
14656
|
});
|
|
14642
14657
|
}
|
|
@@ -14671,7 +14686,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14671
14686
|
const targetCell = allCells[targetIndex];
|
|
14672
14687
|
this.setActiveCell(targetCell.day.date);
|
|
14673
14688
|
this.scrollToActiveCell();
|
|
14674
|
-
this.focusActiveCell();
|
|
14675
14689
|
} else if (direction === 'next' && this.showNextMonthBtn) {
|
|
14676
14690
|
// Navigate to next month and focus the computed next date.
|
|
14677
14691
|
// Using the target date (fromDate + 1 day) instead of cells[0]
|
|
@@ -14692,7 +14706,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14692
14706
|
const target = cells.find((cell) => cell.day && cell.day.date === nextTs);
|
|
14693
14707
|
if (target) {
|
|
14694
14708
|
this.setActiveCell(target.day.date);
|
|
14695
|
-
this.focusActiveCell();
|
|
14696
14709
|
} else {
|
|
14697
14710
|
// Same nearest-by-date fallback handleGridKeyDown uses — direct
|
|
14698
14711
|
// `cells[length - 1]` would land on the end of the new month,
|
|
@@ -14700,9 +14713,10 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14700
14713
|
const fallback = this.pickNearestCell(cells, nextTs, 'next');
|
|
14701
14714
|
if (fallback) {
|
|
14702
14715
|
this.setActiveCell(fallback.day.date);
|
|
14703
|
-
this.focusActiveCell();
|
|
14704
14716
|
}
|
|
14705
14717
|
}
|
|
14718
|
+
this.scrollToActiveCell();
|
|
14719
|
+
this.focusActiveCell();
|
|
14706
14720
|
});
|
|
14707
14721
|
} else if (direction === 'prev' && this.showPrevMonthBtn) {
|
|
14708
14722
|
// Navigate to previous month and focus the computed previous date.
|
|
@@ -14721,7 +14735,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14721
14735
|
const target = cells.find((cell) => cell.day && cell.day.date === prevTs);
|
|
14722
14736
|
if (target) {
|
|
14723
14737
|
this.setActiveCell(target.day.date);
|
|
14724
|
-
this.focusActiveCell();
|
|
14725
14738
|
} else {
|
|
14726
14739
|
// Same nearest-by-date fallback handleGridKeyDown uses — direct
|
|
14727
14740
|
// `cells[0]` would land on the start of the previous month, far
|
|
@@ -14729,9 +14742,10 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14729
14742
|
const fallback = this.pickNearestCell(cells, prevTs, 'prev');
|
|
14730
14743
|
if (fallback) {
|
|
14731
14744
|
this.setActiveCell(fallback.day.date);
|
|
14732
|
-
this.focusActiveCell();
|
|
14733
14745
|
}
|
|
14734
14746
|
}
|
|
14747
|
+
this.scrollToActiveCell();
|
|
14748
|
+
this.focusActiveCell();
|
|
14735
14749
|
});
|
|
14736
14750
|
}
|
|
14737
14751
|
} else if (key === 'ArrowDown' || key === 'ArrowUp') {
|
|
@@ -14764,7 +14778,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14764
14778
|
const target = cells.find((cell) => cell.day && cell.day.date === targetDate);
|
|
14765
14779
|
if (target) {
|
|
14766
14780
|
this.setActiveCell(target.day.date);
|
|
14767
|
-
this.focusActiveCell();
|
|
14768
14781
|
} else {
|
|
14769
14782
|
// Same nearest-by-date fallback handleGridKeyDown uses — the
|
|
14770
14783
|
// old direction-based `cells[0]`/`cells[length-1]` clamp
|
|
@@ -14772,9 +14785,10 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14772
14785
|
const nearest = this.pickNearestCell(cells, targetDate, navDirection);
|
|
14773
14786
|
if (nearest) {
|
|
14774
14787
|
this.setActiveCell(nearest.day.date);
|
|
14775
|
-
this.focusActiveCell();
|
|
14776
14788
|
}
|
|
14777
14789
|
}
|
|
14790
|
+
this.scrollToActiveCell();
|
|
14791
|
+
this.focusActiveCell();
|
|
14778
14792
|
});
|
|
14779
14793
|
}
|
|
14780
14794
|
}
|
|
@@ -14975,11 +14989,26 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14975
14989
|
}
|
|
14976
14990
|
|
|
14977
14991
|
/**
|
|
14978
|
-
* Scrolls the calendar
|
|
14979
|
-
*
|
|
14980
|
-
*
|
|
14981
|
-
*
|
|
14982
|
-
*
|
|
14992
|
+
* Scrolls the calendar so the active cell is visible.
|
|
14993
|
+
*
|
|
14994
|
+
* Walks the flat tree (rendered, slot-aware) outward from the active
|
|
14995
|
+
* cell's button and calls `scrollBy` on every vertically-scrollable
|
|
14996
|
+
* ancestor by whatever delta still separates the cell from that
|
|
14997
|
+
* ancestor's viewport. Native `scrollIntoView` is not used because the
|
|
14998
|
+
* cell sits inside multiple nested scroll containers (the dropdown bib's
|
|
14999
|
+
* `<dialog>`, the bibtemplate's `#bodyContainer`) and the algorithm only
|
|
15000
|
+
* scrolls one of them on its own, leaving the cell short of the
|
|
15001
|
+
* viewport in mobile fullscreen.
|
|
15002
|
+
*
|
|
15003
|
+
* Uses `behavior: 'instant'` so each `scrollBy` resolves synchronously,
|
|
15004
|
+
* letting the next iteration's `getBoundingClientRect` read post-scroll
|
|
15005
|
+
* positions accurately. This also satisfies `prefers-reduced-motion`
|
|
15006
|
+
* users by avoiding scroll animation altogether.
|
|
15007
|
+
*
|
|
15008
|
+
* The active cell is looked up from the cache populated by
|
|
15009
|
+
* `setActiveCell`. On a cache miss (stale or absent) the cache is
|
|
15010
|
+
* refreshed from a single full scan so subsequent calls stay on the
|
|
15011
|
+
* fast path.
|
|
14983
15012
|
* @private
|
|
14984
15013
|
* @returns {void}
|
|
14985
15014
|
*/
|
|
@@ -15007,11 +15036,51 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15007
15036
|
return;
|
|
15008
15037
|
}
|
|
15009
15038
|
|
|
15010
|
-
|
|
15011
|
-
|
|
15012
|
-
|
|
15013
|
-
|
|
15014
|
-
|
|
15039
|
+
// Scroll the button inside the cell — it has concrete dimensions,
|
|
15040
|
+
// which avoids quirks when the cell host has display: inline / contents
|
|
15041
|
+
// / flex-without-explicit-size.
|
|
15042
|
+
const target = activeCell._cachedButton ||
|
|
15043
|
+
activeCell.shadowRoot?.querySelector('button.day') ||
|
|
15044
|
+
activeCell;
|
|
15045
|
+
|
|
15046
|
+
// parentNode follows the authored DOM tree and steps over shadow roots
|
|
15047
|
+
// via slot projection. A slotted element's visual parent is its
|
|
15048
|
+
// assignedSlot's parent (inside the host's shadow tree), not the host
|
|
15049
|
+
// itself. Without this hop, the walk skips right past #bodyContainer
|
|
15050
|
+
// and <dialog> and finds no scrollable ancestor at all.
|
|
15051
|
+
const flatParent = (current) => {
|
|
15052
|
+
if (current.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
|
|
15053
|
+
return current.host || null;
|
|
15054
|
+
}
|
|
15055
|
+
if (current.assignedSlot) {
|
|
15056
|
+
return current.assignedSlot.parentNode;
|
|
15057
|
+
}
|
|
15058
|
+
return current.parentNode;
|
|
15059
|
+
};
|
|
15060
|
+
|
|
15061
|
+
let node = flatParent(target);
|
|
15062
|
+
while (node && node !== document && node !== window) {
|
|
15063
|
+
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
15064
|
+
const { overflowY } = window.getComputedStyle(node);
|
|
15065
|
+
if (overflowY === 'auto' || overflowY === 'scroll') {
|
|
15066
|
+
const targetRect = target.getBoundingClientRect();
|
|
15067
|
+
const scrollerRect = node.getBoundingClientRect();
|
|
15068
|
+
let delta = 0;
|
|
15069
|
+
if (targetRect.top < scrollerRect.top) {
|
|
15070
|
+
delta = targetRect.top - scrollerRect.top;
|
|
15071
|
+
} else if (targetRect.bottom > scrollerRect.bottom) {
|
|
15072
|
+
delta = targetRect.bottom - scrollerRect.bottom;
|
|
15073
|
+
}
|
|
15074
|
+
if (delta !== 0) {
|
|
15075
|
+
node.scrollBy({
|
|
15076
|
+
top: delta,
|
|
15077
|
+
behavior: 'instant'
|
|
15078
|
+
});
|
|
15079
|
+
}
|
|
15080
|
+
}
|
|
15081
|
+
}
|
|
15082
|
+
node = flatParent(node);
|
|
15083
|
+
}
|
|
15015
15084
|
}
|
|
15016
15085
|
|
|
15017
15086
|
/**
|
|
@@ -19199,7 +19268,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
19199
19268
|
}
|
|
19200
19269
|
};
|
|
19201
19270
|
|
|
19202
|
-
var formkitVersion$1 = '
|
|
19271
|
+
var formkitVersion$1 = '202606291930';
|
|
19203
19272
|
|
|
19204
19273
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
19205
19274
|
static get properties() {
|
|
@@ -20471,6 +20540,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20471
20540
|
role="${ifDefined(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
20472
20541
|
aria-expanded="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
20473
20542
|
aria-controls="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
20543
|
+
aria-haspopup="${ifDefined(this.a11yRole === 'combobox' && !this.triggerContentFocusable ? 'listbox' : undefined)}"
|
|
20474
20544
|
aria-labelledby="${ifDefined(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
20475
20545
|
aria-disabled="${ifDefined(this.disabled ? 'true' : undefined)}"
|
|
20476
20546
|
@focusin="${this.handleFocusin}"
|
|
@@ -30917,6 +30987,13 @@ class AuroInputUtilities {
|
|
|
30917
30987
|
* @returns {string | undefined}
|
|
30918
30988
|
*/
|
|
30919
30989
|
toFormattedValue(valueObject, format) {
|
|
30990
|
+
// Exposed publicly via `AuroInputUtil.toFormattedValue`, so a missing
|
|
30991
|
+
// `format` argument has to fail gracefully rather than throw on
|
|
30992
|
+
// `format.toLowerCase()`. Treat any falsy value (undefined, null, '')
|
|
30993
|
+
// as "no format → no display value".
|
|
30994
|
+
if (!format) {
|
|
30995
|
+
return undefined;
|
|
30996
|
+
}
|
|
30920
30997
|
const normalizedFormat = format.toLowerCase();
|
|
30921
30998
|
const maskOptions = this.getMaskOptions('date', normalizedFormat);
|
|
30922
30999
|
|
|
@@ -31067,79 +31144,18 @@ class BaseInput extends AuroElement$1 {
|
|
|
31067
31144
|
constructor() {
|
|
31068
31145
|
super();
|
|
31069
31146
|
|
|
31070
|
-
|
|
31071
|
-
|
|
31072
|
-
|
|
31073
|
-
|
|
31074
|
-
|
|
31075
|
-
|
|
31076
|
-
|
|
31077
|
-
|
|
31078
|
-
|
|
31079
|
-
|
|
31080
|
-
this.required = false;
|
|
31081
|
-
this.onDark = false;
|
|
31082
|
-
this.setCustomValidityForType = undefined;
|
|
31083
|
-
this.size = 'lg';
|
|
31084
|
-
this.shape = 'classic';
|
|
31085
|
-
this.value = undefined;
|
|
31086
|
-
this._valueObject = undefined;
|
|
31087
|
-
|
|
31088
|
-
this._initializePrivateDefaults();
|
|
31089
|
-
}
|
|
31090
|
-
|
|
31091
|
-
/**
|
|
31092
|
-
* Internal Defaults.
|
|
31093
|
-
* @private
|
|
31094
|
-
* @returns {void}
|
|
31095
|
-
*/
|
|
31096
|
-
_initializePrivateDefaults() {
|
|
31147
|
+
// Single-source initialization. Alphabetized so duplicate or stale
|
|
31148
|
+
// defaults are immediately obvious on a diff. Every field is assigned
|
|
31149
|
+
// exactly once here (previously the constructor + the old
|
|
31150
|
+
// `_initializePrivateDefaults` overlapped — both wrote ~14 of the same
|
|
31151
|
+
// fields and double-allocated `util` and `validation`, discarding the
|
|
31152
|
+
// first instance). `validation` is now allocated exactly once; `util`
|
|
31153
|
+
// is seeded here with an en-US default and then rebuilt in
|
|
31154
|
+
// `connectedCallback` once the consumer-resolved locale is available,
|
|
31155
|
+
// so a parent (datepicker/combobox) calling `validate()` synchronously
|
|
31156
|
+
// during its own update cycle sees a populated util instance.
|
|
31097
31157
|
this.activeLabel = false;
|
|
31098
|
-
|
|
31099
|
-
this.icon = false;
|
|
31100
|
-
this.disabled = false;
|
|
31101
|
-
this.dvInputOnly = false;
|
|
31102
|
-
this.hideLabelVisually = false;
|
|
31103
|
-
this.max = undefined;
|
|
31104
|
-
this.maxLength = undefined;
|
|
31105
|
-
this.min = undefined;
|
|
31106
|
-
this.minLength = undefined;
|
|
31107
|
-
this.noValidate = false;
|
|
31108
|
-
this.onDark = false;
|
|
31109
|
-
this.required = false;
|
|
31110
|
-
this.setCustomValidityForType = undefined;
|
|
31111
|
-
|
|
31112
|
-
// Used for storing raw values returned from input mask.
|
|
31113
|
-
this._rawMaskValue = undefined;
|
|
31114
|
-
|
|
31115
|
-
/**
|
|
31116
|
-
* @private
|
|
31117
|
-
*/
|
|
31118
|
-
this.layout = 'classic';
|
|
31119
|
-
|
|
31120
|
-
/**
|
|
31121
|
-
* @private
|
|
31122
|
-
*/
|
|
31123
|
-
this.shape = 'classic';
|
|
31124
|
-
|
|
31125
|
-
/**
|
|
31126
|
-
* @private
|
|
31127
|
-
*/
|
|
31128
|
-
this.size = 'lg';
|
|
31129
|
-
|
|
31130
|
-
this.touched = false;
|
|
31131
|
-
this.util = new AuroInputUtilities({
|
|
31132
|
-
locale: "en-US",
|
|
31133
|
-
format: this.format
|
|
31134
|
-
});
|
|
31135
|
-
this.validation = new AuroFormValidation();
|
|
31136
|
-
this.inputIconName = undefined;
|
|
31137
|
-
this.showPassword = false;
|
|
31138
|
-
this.validationCCLength = undefined;
|
|
31139
|
-
this.hasValue = false;
|
|
31140
|
-
this.label = 'Input label is undefined';
|
|
31141
|
-
|
|
31142
|
-
|
|
31158
|
+
/** @private */
|
|
31143
31159
|
this.allowedInputTypes = [
|
|
31144
31160
|
"text",
|
|
31145
31161
|
"number",
|
|
@@ -31148,7 +31164,8 @@ class BaseInput extends AuroElement$1 {
|
|
|
31148
31164
|
"credit-card",
|
|
31149
31165
|
"tel"
|
|
31150
31166
|
];
|
|
31151
|
-
this.
|
|
31167
|
+
this.appearance = "default";
|
|
31168
|
+
/** @private */
|
|
31152
31169
|
this.dateFormatMap = {
|
|
31153
31170
|
'mm/dd/yyyy': 'dateMMDDYYYY',
|
|
31154
31171
|
'dd/mm/yyyy': 'dateDDMMYYYY',
|
|
@@ -31165,27 +31182,57 @@ class BaseInput extends AuroElement$1 {
|
|
|
31165
31182
|
'dd/mm': 'dateDDMM',
|
|
31166
31183
|
'mm/dd': 'dateMMDD'
|
|
31167
31184
|
};
|
|
31185
|
+
this.disabled = false;
|
|
31186
|
+
/** @private */
|
|
31168
31187
|
this.domHandler = new DomHandler();
|
|
31169
31188
|
this.dvInputOnly = false;
|
|
31170
31189
|
this.hasValue = false;
|
|
31190
|
+
this.hideLabelVisually = false;
|
|
31191
|
+
this.icon = false;
|
|
31192
|
+
/** @private */
|
|
31171
31193
|
this.inputIconName = undefined;
|
|
31194
|
+
/** @private */
|
|
31172
31195
|
this.label = 'Input label is undefined';
|
|
31196
|
+
this.layout = 'classic';
|
|
31197
|
+
this.locale = 'en-US';
|
|
31198
|
+
this.max = undefined;
|
|
31199
|
+
this._maxObject = undefined;
|
|
31200
|
+
this.maxLength = undefined;
|
|
31201
|
+
this.min = undefined;
|
|
31202
|
+
this._minObject = undefined;
|
|
31203
|
+
this.minLength = undefined;
|
|
31173
31204
|
this.noValidate = false;
|
|
31174
|
-
this.
|
|
31205
|
+
this.onDark = false;
|
|
31206
|
+
// Raw values returned from the input mask before model normalization.
|
|
31207
|
+
this._rawMaskValue = undefined;
|
|
31208
|
+
this.required = false;
|
|
31209
|
+
this.setCustomValidityForType = undefined;
|
|
31210
|
+
// Credit Card is intentionally excluded — its mask manages the cursor
|
|
31211
|
+
// itself, and listing it here caused cursor placement issues in Safari.
|
|
31212
|
+
/** @private */
|
|
31175
31213
|
this.setSelectionInputTypes = [
|
|
31176
31214
|
"text",
|
|
31177
31215
|
"password",
|
|
31178
31216
|
"email"
|
|
31179
|
-
];
|
|
31217
|
+
];
|
|
31218
|
+
this.shape = 'classic';
|
|
31219
|
+
/** @private */
|
|
31180
31220
|
this.showPassword = false;
|
|
31221
|
+
this.size = 'lg';
|
|
31181
31222
|
this.touched = false;
|
|
31223
|
+
/** @private */
|
|
31182
31224
|
this.uniqueId = new UniqueId().create();
|
|
31225
|
+
/** @private */
|
|
31183
31226
|
this.util = new AuroInputUtilities({
|
|
31184
31227
|
locale: this.locale,
|
|
31185
31228
|
format: this.format
|
|
31186
31229
|
});
|
|
31230
|
+
/** @private */
|
|
31187
31231
|
this.validation = new AuroFormValidation();
|
|
31232
|
+
/** @private */
|
|
31188
31233
|
this.validationCCLength = undefined;
|
|
31234
|
+
this.value = undefined;
|
|
31235
|
+
this._valueObject = undefined;
|
|
31189
31236
|
}
|
|
31190
31237
|
|
|
31191
31238
|
// function to define props used within the scope of this component
|
|
@@ -31733,6 +31780,15 @@ class BaseInput extends AuroElement$1 {
|
|
|
31733
31780
|
|
|
31734
31781
|
this.inputId = this.id ? `${this.id}-input` : window.crypto.randomUUID();
|
|
31735
31782
|
|
|
31783
|
+
// Normalize the format token to lowercase so case-mixed values supplied
|
|
31784
|
+
// via attribute (e.g. `format="MM/DD/YYYY"`) hit the `dateFormatMap`
|
|
31785
|
+
// lookup inside `setCustomHelpTextMessage`. Without this, an uppercase
|
|
31786
|
+
// format silently misses the map and leaves `setCustomValidityForType`
|
|
31787
|
+
// unset.
|
|
31788
|
+
if (this.format) {
|
|
31789
|
+
this.format = this.format.toLowerCase();
|
|
31790
|
+
}
|
|
31791
|
+
|
|
31736
31792
|
// use validity message override if declared when initializing the component
|
|
31737
31793
|
if (this.hasAttribute('setCustomValidity')) {
|
|
31738
31794
|
this.ValidityMessageOverride = this.setCustomValidity;
|
|
@@ -32166,6 +32222,38 @@ class BaseInput extends AuroElement$1 {
|
|
|
32166
32222
|
this.touched = true;
|
|
32167
32223
|
this.validation.validate(this);
|
|
32168
32224
|
}
|
|
32225
|
+
|
|
32226
|
+
// Prevents cursor jumping in Safari. Setting `this.value` triggers a Lit
|
|
32227
|
+
// update that can re-render the input and reset the native cursor; we
|
|
32228
|
+
// capture the caret position before that update commits and restore it
|
|
32229
|
+
// via `setSelectionRange` once the update has flushed. Gated on
|
|
32230
|
+
// `setSelectionInputTypes` so credit-card (and other masked types whose
|
|
32231
|
+
// formatter manages the cursor itself) doesn't get a competing write.
|
|
32232
|
+
// Capture the caret position INSIDE the gate — reading `selectionStart`
|
|
32233
|
+
// on input types that don't support text selection (number, email in
|
|
32234
|
+
// some browsers) throws InvalidStateError, which would crash all input
|
|
32235
|
+
// handling. Wrap the read in try/catch belt-and-suspenders even though
|
|
32236
|
+
// the gated types currently support it, since the list is a public
|
|
32237
|
+
// property a consumer could mutate.
|
|
32238
|
+
if (this.setSelectionInputTypes.includes(this.type)) {
|
|
32239
|
+
let selectionStart;
|
|
32240
|
+
try {
|
|
32241
|
+
selectionStart = this.inputElement.selectionStart;
|
|
32242
|
+
} catch (error) { // eslint-disable-line no-unused-vars
|
|
32243
|
+
return;
|
|
32244
|
+
}
|
|
32245
|
+
if (typeof selectionStart !== 'number') {
|
|
32246
|
+
return;
|
|
32247
|
+
}
|
|
32248
|
+
this.updateComplete.then(() => {
|
|
32249
|
+
try {
|
|
32250
|
+
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
32251
|
+
} catch (error) { // eslint-disable-line no-unused-vars
|
|
32252
|
+
// Some input types (number/email in certain UAs) throw on
|
|
32253
|
+
// setSelectionRange; swallow and let the native cursor stand.
|
|
32254
|
+
}
|
|
32255
|
+
});
|
|
32256
|
+
}
|
|
32169
32257
|
}
|
|
32170
32258
|
|
|
32171
32259
|
/**
|
|
@@ -32792,7 +32880,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
32792
32880
|
}
|
|
32793
32881
|
};
|
|
32794
32882
|
|
|
32795
|
-
var formkitVersion = '
|
|
32883
|
+
var formkitVersion = '202606291930';
|
|
32796
32884
|
|
|
32797
32885
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
32798
32886
|
// See LICENSE in the project root for license information.
|
|
@@ -33295,6 +33383,7 @@ class AuroInput extends BaseInput {
|
|
|
33295
33383
|
<${this.buttonTag}
|
|
33296
33384
|
@click="${this.handleClickShowPassword}"
|
|
33297
33385
|
appearance="${this.onDark ? 'inverse' : this.appearance}"
|
|
33386
|
+
aria-pressed="${this.showPassword ? 'true' : 'false'}"
|
|
33298
33387
|
class="notificationBtn passwordBtn"
|
|
33299
33388
|
shape="circle"
|
|
33300
33389
|
size="sm"
|
|
@@ -33368,25 +33457,29 @@ class AuroInput extends BaseInput {
|
|
|
33368
33457
|
* @returns {html} - Returns HTML for the help text and error message.
|
|
33369
33458
|
*/
|
|
33370
33459
|
renderHtmlHelpText() {
|
|
33460
|
+
// Single `<p>` with stable identity across validity transitions —
|
|
33461
|
+
// previously two distinct templates (valid vs invalid) caused Lit to
|
|
33462
|
+
// replace the node entirely on a flip, and VoiceOver wouldn't
|
|
33463
|
+
// re-announce because the live-region element it was watching had been
|
|
33464
|
+
// removed and a new one inserted. Keeping one node means the `role`,
|
|
33465
|
+
// `aria-live`, and text content all change in-place, which AT does
|
|
33466
|
+
// observe and announce.
|
|
33467
|
+
const isError = this.validity && this.validity !== 'valid';
|
|
33371
33468
|
return html$1`
|
|
33372
|
-
|
|
33373
|
-
?
|
|
33374
|
-
|
|
33375
|
-
|
|
33376
|
-
|
|
33377
|
-
|
|
33378
|
-
|
|
33379
|
-
|
|
33380
|
-
|
|
33381
|
-
|
|
33382
|
-
|
|
33383
|
-
|
|
33384
|
-
|
|
33385
|
-
|
|
33386
|
-
</p>
|
|
33387
|
-
</${this.helpTextTag}>
|
|
33388
|
-
`
|
|
33389
|
-
}
|
|
33469
|
+
<${this.helpTextTag}
|
|
33470
|
+
appearance="${this.onDark ? 'inverse' : this.appearance}"
|
|
33471
|
+
?error=${isError}>
|
|
33472
|
+
<p
|
|
33473
|
+
id="${this.uniqueId}"
|
|
33474
|
+
part="helpText"
|
|
33475
|
+
role="${ifDefined(isError ? 'alert' : undefined)}"
|
|
33476
|
+
aria-live="${ifDefined(isError ? 'assertive' : undefined)}">
|
|
33477
|
+
${isError
|
|
33478
|
+
? this.errorMessage
|
|
33479
|
+
: html$1`<slot name="helpText">${this.getHelpText()}</slot>`
|
|
33480
|
+
}
|
|
33481
|
+
</p>
|
|
33482
|
+
</${this.helpTextTag}>
|
|
33390
33483
|
`;
|
|
33391
33484
|
}
|
|
33392
33485
|
|
|
@@ -33533,6 +33626,15 @@ function formatISODate(isoStr, format) {
|
|
|
33533
33626
|
try {
|
|
33534
33627
|
const date = dateFormatter.stringToDateInstance(isoStr);
|
|
33535
33628
|
|
|
33629
|
+
// `stringToDateInstance` returns an `Invalid Date` for malformed strings
|
|
33630
|
+
// and `null` for non-string input — it does NOT throw. Without this
|
|
33631
|
+
// guard, `getFullYear()`/`getMonth()`/`getDate()` on an Invalid Date
|
|
33632
|
+
// yield `NaN`, and `String(NaN).padStart(4, '0')` produces literals
|
|
33633
|
+
// like "0NaN/0NaN/0NaN" instead of `undefined`.
|
|
33634
|
+
if (!(date instanceof Date) || Number.isNaN(date.getTime())) {
|
|
33635
|
+
return undefined;
|
|
33636
|
+
}
|
|
33637
|
+
|
|
33536
33638
|
const year = String(date.getFullYear()).padStart(4, '0');
|
|
33537
33639
|
const month = String(date.getMonth() + 1).padStart(2, '0');
|
|
33538
33640
|
const day = String(date.getDate()).padStart(2, '0');
|
|
@@ -33543,7 +33645,10 @@ function formatISODate(isoStr, format) {
|
|
|
33543
33645
|
replace(/mm/iu, month).
|
|
33544
33646
|
replace(/dd/iu, day);
|
|
33545
33647
|
} catch (err) {
|
|
33546
|
-
//
|
|
33648
|
+
// Defensive: the Date-returning path is guarded above, but `parseDate`
|
|
33649
|
+
// (inside `stringToDateInstance`) could throw on pathological input
|
|
33650
|
+
// future-library-versions might introduce. Treat any thrown error as
|
|
33651
|
+
// "not a valid date" and return undefined.
|
|
33547
33652
|
return undefined;
|
|
33548
33653
|
}
|
|
33549
33654
|
}
|
|
@@ -35388,8 +35493,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
35388
35493
|
// we need to wait until the next frame to ensure the calendar is fully rendered
|
|
35389
35494
|
// and the area we're trying to scroll to is present in the DOM.
|
|
35390
35495
|
setTimeout(() => {
|
|
35391
|
-
this.calendar.scrollMonthIntoView(this.calendarFocusDate);
|
|
35392
35496
|
this.forceScrollOnNextMobileCalendarRender = false;
|
|
35497
|
+
this.calendar.scrollToActiveCell();
|
|
35393
35498
|
}, 0);
|
|
35394
35499
|
}
|
|
35395
35500
|
}, { signal });
|