@aurodesignsystem-dev/auro-formkit 0.0.0-pr1514.12 → 0.0.0-pr1514.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/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 +97 -121
- package/components/combobox/demo/getting-started.min.js +97 -121
- package/components/combobox/demo/index.min.js +97 -121
- package/components/combobox/dist/index.js +96 -120
- package/components/combobox/dist/registered.js +96 -120
- package/components/counter/demo/customize.min.js +3 -11
- package/components/counter/demo/index.min.js +3 -11
- package/components/counter/dist/index.js +3 -11
- package/components/counter/dist/registered.js +3 -11
- package/components/datepicker/demo/customize.min.js +137 -271
- package/components/datepicker/demo/index.min.js +137 -271
- package/components/datepicker/dist/auro-calendar-cell.d.ts +0 -6
- package/components/datepicker/dist/auro-calendar.d.ts +7 -26
- package/components/datepicker/dist/index.js +137 -271
- package/components/datepicker/dist/registered.js +137 -271
- package/components/dropdown/demo/customize.min.js +1 -2
- package/components/dropdown/demo/getting-started.min.js +1 -2
- package/components/dropdown/demo/index.min.js +1 -2
- package/components/dropdown/dist/index.js +1 -2
- package/components/dropdown/dist/registered.js +1 -2
- package/components/form/demo/customize.min.js +396 -709
- package/components/form/demo/getting-started.min.js +396 -709
- package/components/form/demo/index.min.js +396 -709
- package/components/form/demo/registerDemoDeps.min.js +396 -709
- package/components/input/demo/api.md +5 -5
- package/components/input/demo/customize.md +8 -8
- package/components/input/demo/customize.min.js +93 -116
- package/components/input/demo/getting-started.min.js +93 -116
- package/components/input/demo/index.min.js +93 -116
- package/components/input/dist/base-input.d.ts +44 -33
- package/components/input/dist/index.js +94 -129
- package/components/input/dist/registered.js +93 -116
- 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.md +0 -86
- package/components/select/demo/customize.min.js +63 -187
- package/components/select/demo/getting-started.min.js +110 -189
- package/components/select/demo/index.min.js +63 -187
- package/components/select/demo/keyboard-behavior.md +4 -18
- package/components/select/dist/auro-select.d.ts +8 -20
- package/components/select/dist/index.js +63 -187
- package/components/select/dist/registered.js +63 -187
- package/custom-elements.json +1791 -1997
- package/package.json +1 -1
|
@@ -10507,13 +10507,6 @@ 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
|
-
}
|
|
10517
10510
|
const normalizedFormat = format.toLowerCase();
|
|
10518
10511
|
const maskOptions = this.getMaskOptions('date', normalizedFormat);
|
|
10519
10512
|
|
|
@@ -10773,9 +10766,9 @@ var snowflakeStyle = css`:host([layout*=snowflake]) [auro-input]{flex:1;text-ali
|
|
|
10773
10766
|
|
|
10774
10767
|
var snowflakeColors = css`:host([layout=snowflake]) [auro-dropdown]:not(:is([error],.hasFocus)){--ds-auro-dropdown-trigger-border-color: transparent}`;
|
|
10775
10768
|
|
|
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%}: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}`;
|
|
10769
|
+
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}`;
|
|
10777
10770
|
|
|
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
|
|
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)}}`;
|
|
10779
10772
|
|
|
10780
10773
|
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)}`;
|
|
10781
10774
|
|
|
@@ -12248,18 +12241,6 @@ class AuroCalendarCell extends LitElement {
|
|
|
12248
12241
|
this.updateHostAria();
|
|
12249
12242
|
}
|
|
12250
12243
|
|
|
12251
|
-
// When the rendered range shifts (month nav, min/max change), a cell
|
|
12252
|
-
// host may be re-rendered for a new date that is now out-of-range —
|
|
12253
|
-
// but its imperatively-set `active` flag and `activeCell` ring class
|
|
12254
|
-
// from the previous date persist because setActiveCell only iterates
|
|
12255
|
-
// focusable (in-range) cells when clearing the prior active state.
|
|
12256
|
-
// Drop the active state here so the disabled cell isn't left visually
|
|
12257
|
-
// ringed.
|
|
12258
|
-
if ((properties.has('day') || properties.has('min') || properties.has('max')) &&
|
|
12259
|
-
this.active && this.isOutOfRange(this.day, this.min, this.max)) {
|
|
12260
|
-
this.clearActive();
|
|
12261
|
-
}
|
|
12262
|
-
|
|
12263
12244
|
// Configure popover when it first becomes rendered
|
|
12264
12245
|
if (properties.has('hasPopoverContent') && this.hasPopoverContent) {
|
|
12265
12246
|
this.updateComplete.then(() => this.configurePopover());
|
|
@@ -12323,19 +12304,9 @@ class AuroCalendarCell extends LitElement {
|
|
|
12323
12304
|
* Buttons stay tabindex="-1" because DOM focus stays on the grid wrapper —
|
|
12324
12305
|
* arrow keys move the active cell imperatively and the live region carries
|
|
12325
12306
|
* the SR announcement.
|
|
12326
|
-
*
|
|
12327
|
-
* Refuses to activate out-of-range cells: those are aria-hidden, have no
|
|
12328
|
-
* click/focus handlers, and are filtered out of `getFocusableCells`. The
|
|
12329
|
-
* active class showing on a disabled cell would be visually misleading,
|
|
12330
|
-
* so this guard is the single source of truth across every code path
|
|
12331
|
-
* that might call setActive (keyboard nav, focus restore, cell click).
|
|
12332
12307
|
* @returns {void}
|
|
12333
12308
|
*/
|
|
12334
12309
|
setActive() {
|
|
12335
|
-
if (this.isOutOfRange(this.day, this.min, this.max)) {
|
|
12336
|
-
return;
|
|
12337
|
-
}
|
|
12338
|
-
|
|
12339
12310
|
this.active = true;
|
|
12340
12311
|
|
|
12341
12312
|
// Show the popover when this cell becomes active via keyboard navigation.
|
|
@@ -13148,7 +13119,7 @@ class CalendarUtilities {
|
|
|
13148
13119
|
|
|
13149
13120
|
var colorCss$4 = css`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
13150
13121
|
|
|
13151
|
-
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)}`;
|
|
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 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
13152
13123
|
|
|
13153
13124
|
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)}`;
|
|
13154
13125
|
|
|
@@ -13543,7 +13514,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
13543
13514
|
}
|
|
13544
13515
|
}
|
|
13545
13516
|
|
|
13546
|
-
var formkitVersion$2 = '
|
|
13517
|
+
var formkitVersion$2 = '202606291652';
|
|
13547
13518
|
|
|
13548
13519
|
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}
|
|
13549
13520
|
`,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}}
|
|
@@ -13649,10 +13620,8 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
13649
13620
|
this.activeCellDate = null;
|
|
13650
13621
|
|
|
13651
13622
|
/**
|
|
13652
|
-
* Cached reference to the active cell host
|
|
13653
|
-
*
|
|
13654
|
-
* or missing). Lets scrollToActiveCell skip a full cell scan on each
|
|
13655
|
-
* arrow key.
|
|
13623
|
+
* Cached reference to the active cell host, set by setActiveCell.
|
|
13624
|
+
* Lets scrollToActiveCell skip a full cell scan on each arrow key.
|
|
13656
13625
|
* @private
|
|
13657
13626
|
*/
|
|
13658
13627
|
this._activeCell = null;
|
|
@@ -14628,9 +14597,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14628
14597
|
this.handleCellFocused({ detail: { date: fallback.day.date } });
|
|
14629
14598
|
}
|
|
14630
14599
|
}
|
|
14631
|
-
// Scroll AFTER the cross-month setActiveCell so the freshly
|
|
14632
|
-
// activated cell is what gets scrolled into view.
|
|
14633
|
-
this.scrollToActiveCell();
|
|
14634
14600
|
// Re-focus grid wrapper after month change re-render
|
|
14635
14601
|
this.focusActiveCell();
|
|
14636
14602
|
});
|
|
@@ -14671,9 +14637,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14671
14637
|
this.handleCellFocused({ detail: { date: nearest.day.date } });
|
|
14672
14638
|
}
|
|
14673
14639
|
}
|
|
14674
|
-
// Scroll AFTER the cross-month setActiveCell so the freshly
|
|
14675
|
-
// activated cell is what gets scrolled into view.
|
|
14676
|
-
this.scrollToActiveCell();
|
|
14677
14640
|
this.focusActiveCell();
|
|
14678
14641
|
});
|
|
14679
14642
|
}
|
|
@@ -14708,8 +14671,6 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14708
14671
|
const targetCell = allCells[targetIndex];
|
|
14709
14672
|
this.setActiveCell(targetCell.day.date);
|
|
14710
14673
|
this.scrollToActiveCell();
|
|
14711
|
-
// Match the cross-month branches: keep DOM focus on the grid wrapper
|
|
14712
|
-
// so subsequent arrow keys continue to land on this handler.
|
|
14713
14674
|
this.focusActiveCell();
|
|
14714
14675
|
} else if (direction === 'next' && this.showNextMonthBtn) {
|
|
14715
14676
|
// Navigate to next month and focus the computed next date.
|
|
@@ -14731,6 +14692,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14731
14692
|
const target = cells.find((cell) => cell.day && cell.day.date === nextTs);
|
|
14732
14693
|
if (target) {
|
|
14733
14694
|
this.setActiveCell(target.day.date);
|
|
14695
|
+
this.focusActiveCell();
|
|
14734
14696
|
} else {
|
|
14735
14697
|
// Same nearest-by-date fallback handleGridKeyDown uses — direct
|
|
14736
14698
|
// `cells[length - 1]` would land on the end of the new month,
|
|
@@ -14738,10 +14700,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14738
14700
|
const fallback = this.pickNearestCell(cells, nextTs, 'next');
|
|
14739
14701
|
if (fallback) {
|
|
14740
14702
|
this.setActiveCell(fallback.day.date);
|
|
14703
|
+
this.focusActiveCell();
|
|
14741
14704
|
}
|
|
14742
14705
|
}
|
|
14743
|
-
this.scrollToActiveCell();
|
|
14744
|
-
this.focusActiveCell();
|
|
14745
14706
|
});
|
|
14746
14707
|
} else if (direction === 'prev' && this.showPrevMonthBtn) {
|
|
14747
14708
|
// Navigate to previous month and focus the computed previous date.
|
|
@@ -14760,6 +14721,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14760
14721
|
const target = cells.find((cell) => cell.day && cell.day.date === prevTs);
|
|
14761
14722
|
if (target) {
|
|
14762
14723
|
this.setActiveCell(target.day.date);
|
|
14724
|
+
this.focusActiveCell();
|
|
14763
14725
|
} else {
|
|
14764
14726
|
// Same nearest-by-date fallback handleGridKeyDown uses — direct
|
|
14765
14727
|
// `cells[0]` would land on the start of the previous month, far
|
|
@@ -14767,10 +14729,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14767
14729
|
const fallback = this.pickNearestCell(cells, prevTs, 'prev');
|
|
14768
14730
|
if (fallback) {
|
|
14769
14731
|
this.setActiveCell(fallback.day.date);
|
|
14732
|
+
this.focusActiveCell();
|
|
14770
14733
|
}
|
|
14771
14734
|
}
|
|
14772
|
-
this.scrollToActiveCell();
|
|
14773
|
-
this.focusActiveCell();
|
|
14774
14735
|
});
|
|
14775
14736
|
}
|
|
14776
14737
|
} else if (key === 'ArrowDown' || key === 'ArrowUp') {
|
|
@@ -14803,6 +14764,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14803
14764
|
const target = cells.find((cell) => cell.day && cell.day.date === targetDate);
|
|
14804
14765
|
if (target) {
|
|
14805
14766
|
this.setActiveCell(target.day.date);
|
|
14767
|
+
this.focusActiveCell();
|
|
14806
14768
|
} else {
|
|
14807
14769
|
// Same nearest-by-date fallback handleGridKeyDown uses — the
|
|
14808
14770
|
// old direction-based `cells[0]`/`cells[length-1]` clamp
|
|
@@ -14810,10 +14772,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
14810
14772
|
const nearest = this.pickNearestCell(cells, targetDate, navDirection);
|
|
14811
14773
|
if (nearest) {
|
|
14812
14774
|
this.setActiveCell(nearest.day.date);
|
|
14775
|
+
this.focusActiveCell();
|
|
14813
14776
|
}
|
|
14814
14777
|
}
|
|
14815
|
-
this.scrollToActiveCell();
|
|
14816
|
-
this.focusActiveCell();
|
|
14817
14778
|
});
|
|
14818
14779
|
}
|
|
14819
14780
|
}
|
|
@@ -15014,28 +14975,11 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15014
14975
|
}
|
|
15015
14976
|
|
|
15016
14977
|
/**
|
|
15017
|
-
* Scrolls the calendar
|
|
15018
|
-
*
|
|
15019
|
-
*
|
|
15020
|
-
*
|
|
15021
|
-
*
|
|
15022
|
-
* ancestor's viewport. Native `scrollIntoView` is not used because the
|
|
15023
|
-
* cell sits inside multiple nested scroll containers (the dropdown bib's
|
|
15024
|
-
* `<dialog>`, the bibtemplate's `#bodyContainer`) and the algorithm only
|
|
15025
|
-
* scrolls one of them on its own, leaving the cell short of the
|
|
15026
|
-
* viewport in mobile fullscreen.
|
|
15027
|
-
*
|
|
15028
|
-
* Uses `behavior: 'auto'` (the spec's universally-supported non-animated
|
|
15029
|
-
* value) so each `scrollBy` resolves synchronously and the next
|
|
15030
|
-
* iteration's `getBoundingClientRect` reads post-scroll positions
|
|
15031
|
-
* accurately. This also satisfies `prefers-reduced-motion` users — the
|
|
15032
|
-
* scroll containers do not set CSS `scroll-behavior: smooth`, so `auto`
|
|
15033
|
-
* is effectively instant.
|
|
15034
|
-
*
|
|
15035
|
-
* The active cell is looked up from the cache populated by
|
|
15036
|
-
* `setActiveCell`. On a cache miss (stale or absent) the cache is
|
|
15037
|
-
* refreshed from a single full scan so subsequent calls stay on the
|
|
15038
|
-
* fast path.
|
|
14978
|
+
* Scrolls the calendar to ensure the active cell is visible.
|
|
14979
|
+
* Targets the cell itself (not its month) so that same-month vertical
|
|
14980
|
+
* navigation in mobile fullscreen — where a single month can exceed the
|
|
14981
|
+
* viewport height — scrolls to the target row. `block: 'nearest'` is a
|
|
14982
|
+
* no-op when the cell is already in view, preserving desktop behavior.
|
|
15039
14983
|
* @private
|
|
15040
14984
|
* @returns {void}
|
|
15041
14985
|
*/
|
|
@@ -15047,67 +14991,20 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15047
14991
|
// Prefer the cell cached by setActiveCell so arrow-key navigation does
|
|
15048
14992
|
// not rebuild the full cell list on every keypress. Fall back to a
|
|
15049
14993
|
// lookup when the cache is stale (e.g. detached after month re-render)
|
|
15050
|
-
// or absent (scrollToActiveCell called without a prior setActiveCell)
|
|
15051
|
-
// refresh the cache on the fallback path so a subsequent call reuses it.
|
|
14994
|
+
// or absent (scrollToActiveCell called without a prior setActiveCell).
|
|
15052
14995
|
const activeDate = this.activeCellDate;
|
|
15053
14996
|
const cached = this._activeCell;
|
|
15054
14997
|
const cacheFresh = cached && cached.isConnected && cached.day && cached.day.date === activeDate;
|
|
15055
|
-
|
|
15056
|
-
if (cacheFresh) {
|
|
15057
|
-
activeCell = cached;
|
|
15058
|
-
} else {
|
|
15059
|
-
activeCell = this.getAllFocusableCells().find((cell) => cell.day && cell.day.date === activeDate);
|
|
15060
|
-
this._activeCell = activeCell || null;
|
|
15061
|
-
}
|
|
14998
|
+
const activeCell = cacheFresh ? cached : this.getAllFocusableCells().find((cell) => cell.day && cell.day.date === activeDate);
|
|
15062
14999
|
if (!activeCell) {
|
|
15063
15000
|
return;
|
|
15064
15001
|
}
|
|
15065
15002
|
|
|
15066
|
-
|
|
15067
|
-
|
|
15068
|
-
|
|
15069
|
-
|
|
15070
|
-
|
|
15071
|
-
activeCell;
|
|
15072
|
-
|
|
15073
|
-
// parentNode follows the authored DOM tree and steps over shadow roots
|
|
15074
|
-
// via slot projection. A slotted element's visual parent is its
|
|
15075
|
-
// assignedSlot's parent (inside the host's shadow tree), not the host
|
|
15076
|
-
// itself. Without this hop, the walk skips right past #bodyContainer
|
|
15077
|
-
// and <dialog> and finds no scrollable ancestor at all.
|
|
15078
|
-
const flatParent = (current) => {
|
|
15079
|
-
if (current.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
|
|
15080
|
-
return current.host || null;
|
|
15081
|
-
}
|
|
15082
|
-
if (current.assignedSlot) {
|
|
15083
|
-
return current.assignedSlot.parentNode;
|
|
15084
|
-
}
|
|
15085
|
-
return current.parentNode;
|
|
15086
|
-
};
|
|
15087
|
-
|
|
15088
|
-
let node = flatParent(target);
|
|
15089
|
-
while (node && node !== document && node !== window) {
|
|
15090
|
-
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
15091
|
-
const { overflowY } = window.getComputedStyle(node);
|
|
15092
|
-
if (overflowY === 'auto' || overflowY === 'scroll') {
|
|
15093
|
-
const targetRect = target.getBoundingClientRect();
|
|
15094
|
-
const scrollerRect = node.getBoundingClientRect();
|
|
15095
|
-
let delta = 0;
|
|
15096
|
-
if (targetRect.top < scrollerRect.top) {
|
|
15097
|
-
delta = targetRect.top - scrollerRect.top;
|
|
15098
|
-
} else if (targetRect.bottom > scrollerRect.bottom) {
|
|
15099
|
-
delta = targetRect.bottom - scrollerRect.bottom;
|
|
15100
|
-
}
|
|
15101
|
-
if (delta !== 0) {
|
|
15102
|
-
node.scrollBy({
|
|
15103
|
-
top: delta,
|
|
15104
|
-
behavior: 'auto'
|
|
15105
|
-
});
|
|
15106
|
-
}
|
|
15107
|
-
}
|
|
15108
|
-
}
|
|
15109
|
-
node = flatParent(node);
|
|
15110
|
-
}
|
|
15003
|
+
const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
15004
|
+
activeCell.scrollIntoView({
|
|
15005
|
+
block: 'nearest',
|
|
15006
|
+
behavior: prefersReducedMotion ? 'auto' : 'smooth'
|
|
15007
|
+
});
|
|
15111
15008
|
}
|
|
15112
15009
|
|
|
15113
15010
|
/**
|
|
@@ -15397,7 +15294,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
15397
15294
|
</div>
|
|
15398
15295
|
</div>
|
|
15399
15296
|
|
|
15400
|
-
<div class="calendarWrapper">
|
|
15297
|
+
<div class="calendarWrapper ${!this.isFullscreen && this.dropdown?.desktopModal ? 'hasFooter' : ''}">
|
|
15401
15298
|
<div class="calendarNavButtons">
|
|
15402
15299
|
${this.showPrevMonthBtn ? html$1`
|
|
15403
15300
|
<button tabIndex="0" class="calendarNavBtn prevMonth" aria-label="${this.datepicker?.navLabelPrevMonth || 'Previous month'}" @click="${this.handlePrevMonth}">
|
|
@@ -19295,7 +19192,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
19295
19192
|
}
|
|
19296
19193
|
};
|
|
19297
19194
|
|
|
19298
|
-
var formkitVersion$1 = '
|
|
19195
|
+
var formkitVersion$1 = '202606291652';
|
|
19299
19196
|
|
|
19300
19197
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
19301
19198
|
static get properties() {
|
|
@@ -20567,7 +20464,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
20567
20464
|
role="${ifDefined(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
20568
20465
|
aria-expanded="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
20569
20466
|
aria-controls="${ifDefined(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
20570
|
-
aria-haspopup="${ifDefined(this.a11yRole === 'combobox' && !this.triggerContentFocusable ? 'listbox' : undefined)}"
|
|
20571
20467
|
aria-labelledby="${ifDefined(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
20572
20468
|
aria-disabled="${ifDefined(this.disabled ? 'true' : undefined)}"
|
|
20573
20469
|
@focusin="${this.handleFocusin}"
|
|
@@ -31014,13 +30910,6 @@ class AuroInputUtilities {
|
|
|
31014
30910
|
* @returns {string | undefined}
|
|
31015
30911
|
*/
|
|
31016
30912
|
toFormattedValue(valueObject, format) {
|
|
31017
|
-
// Exposed publicly via `AuroInputUtil.toFormattedValue`, so a missing
|
|
31018
|
-
// `format` argument has to fail gracefully rather than throw on
|
|
31019
|
-
// `format.toLowerCase()`. Treat any falsy value (undefined, null, '')
|
|
31020
|
-
// as "no format → no display value".
|
|
31021
|
-
if (!format) {
|
|
31022
|
-
return undefined;
|
|
31023
|
-
}
|
|
31024
30913
|
const normalizedFormat = format.toLowerCase();
|
|
31025
30914
|
const maskOptions = this.getMaskOptions('date', normalizedFormat);
|
|
31026
30915
|
|
|
@@ -31171,18 +31060,79 @@ class BaseInput extends AuroElement$1 {
|
|
|
31171
31060
|
constructor() {
|
|
31172
31061
|
super();
|
|
31173
31062
|
|
|
31174
|
-
|
|
31175
|
-
|
|
31176
|
-
|
|
31177
|
-
|
|
31178
|
-
|
|
31179
|
-
|
|
31180
|
-
|
|
31181
|
-
|
|
31182
|
-
|
|
31183
|
-
|
|
31063
|
+
this.appearance = "default";
|
|
31064
|
+
this.disabled = false;
|
|
31065
|
+
this.layout = 'classic';
|
|
31066
|
+
this.locale = 'en-US';
|
|
31067
|
+
this.max = undefined;
|
|
31068
|
+
this._maxObject = undefined;
|
|
31069
|
+
this.maxLength = undefined;
|
|
31070
|
+
this.min = undefined;
|
|
31071
|
+
this._minObject = undefined;
|
|
31072
|
+
this.minLength = undefined;
|
|
31073
|
+
this.required = false;
|
|
31074
|
+
this.onDark = false;
|
|
31075
|
+
this.setCustomValidityForType = undefined;
|
|
31076
|
+
this.size = 'lg';
|
|
31077
|
+
this.shape = 'classic';
|
|
31078
|
+
this.value = undefined;
|
|
31079
|
+
this._valueObject = undefined;
|
|
31080
|
+
|
|
31081
|
+
this._initializePrivateDefaults();
|
|
31082
|
+
}
|
|
31083
|
+
|
|
31084
|
+
/**
|
|
31085
|
+
* Internal Defaults.
|
|
31086
|
+
* @private
|
|
31087
|
+
* @returns {void}
|
|
31088
|
+
*/
|
|
31089
|
+
_initializePrivateDefaults() {
|
|
31184
31090
|
this.activeLabel = false;
|
|
31185
|
-
|
|
31091
|
+
this.appearance = "default";
|
|
31092
|
+
this.icon = false;
|
|
31093
|
+
this.disabled = false;
|
|
31094
|
+
this.dvInputOnly = false;
|
|
31095
|
+
this.hideLabelVisually = false;
|
|
31096
|
+
this.max = undefined;
|
|
31097
|
+
this.maxLength = undefined;
|
|
31098
|
+
this.min = undefined;
|
|
31099
|
+
this.minLength = undefined;
|
|
31100
|
+
this.noValidate = false;
|
|
31101
|
+
this.onDark = false;
|
|
31102
|
+
this.required = false;
|
|
31103
|
+
this.setCustomValidityForType = undefined;
|
|
31104
|
+
|
|
31105
|
+
// Used for storing raw values returned from input mask.
|
|
31106
|
+
this._rawMaskValue = undefined;
|
|
31107
|
+
|
|
31108
|
+
/**
|
|
31109
|
+
* @private
|
|
31110
|
+
*/
|
|
31111
|
+
this.layout = 'classic';
|
|
31112
|
+
|
|
31113
|
+
/**
|
|
31114
|
+
* @private
|
|
31115
|
+
*/
|
|
31116
|
+
this.shape = 'classic';
|
|
31117
|
+
|
|
31118
|
+
/**
|
|
31119
|
+
* @private
|
|
31120
|
+
*/
|
|
31121
|
+
this.size = 'lg';
|
|
31122
|
+
|
|
31123
|
+
this.touched = false;
|
|
31124
|
+
this.util = new AuroInputUtilities({
|
|
31125
|
+
locale: "en-US",
|
|
31126
|
+
format: this.format
|
|
31127
|
+
});
|
|
31128
|
+
this.validation = new AuroFormValidation();
|
|
31129
|
+
this.inputIconName = undefined;
|
|
31130
|
+
this.showPassword = false;
|
|
31131
|
+
this.validationCCLength = undefined;
|
|
31132
|
+
this.hasValue = false;
|
|
31133
|
+
this.label = 'Input label is undefined';
|
|
31134
|
+
|
|
31135
|
+
|
|
31186
31136
|
this.allowedInputTypes = [
|
|
31187
31137
|
"text",
|
|
31188
31138
|
"number",
|
|
@@ -31191,8 +31141,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
31191
31141
|
"credit-card",
|
|
31192
31142
|
"tel"
|
|
31193
31143
|
];
|
|
31194
|
-
this.
|
|
31195
|
-
/** @private */
|
|
31144
|
+
this.icon = false;
|
|
31196
31145
|
this.dateFormatMap = {
|
|
31197
31146
|
'mm/dd/yyyy': 'dateMMDDYYYY',
|
|
31198
31147
|
'dd/mm/yyyy': 'dateDDMMYYYY',
|
|
@@ -31209,57 +31158,27 @@ class BaseInput extends AuroElement$1 {
|
|
|
31209
31158
|
'dd/mm': 'dateDDMM',
|
|
31210
31159
|
'mm/dd': 'dateMMDD'
|
|
31211
31160
|
};
|
|
31212
|
-
this.disabled = false;
|
|
31213
|
-
/** @private */
|
|
31214
31161
|
this.domHandler = new DomHandler();
|
|
31215
31162
|
this.dvInputOnly = false;
|
|
31216
31163
|
this.hasValue = false;
|
|
31217
|
-
this.hideLabelVisually = false;
|
|
31218
|
-
this.icon = false;
|
|
31219
|
-
/** @private */
|
|
31220
31164
|
this.inputIconName = undefined;
|
|
31221
|
-
/** @private */
|
|
31222
31165
|
this.label = 'Input label is undefined';
|
|
31223
|
-
this.layout = 'classic';
|
|
31224
|
-
this.locale = 'en-US';
|
|
31225
|
-
this.max = undefined;
|
|
31226
|
-
this._maxObject = undefined;
|
|
31227
|
-
this.maxLength = undefined;
|
|
31228
|
-
this.min = undefined;
|
|
31229
|
-
this._minObject = undefined;
|
|
31230
|
-
this.minLength = undefined;
|
|
31231
31166
|
this.noValidate = false;
|
|
31232
|
-
this.
|
|
31233
|
-
// Raw values returned from the input mask before model normalization.
|
|
31234
|
-
this._rawMaskValue = undefined;
|
|
31235
|
-
this.required = false;
|
|
31236
|
-
this.setCustomValidityForType = undefined;
|
|
31237
|
-
// Credit Card is intentionally excluded — its mask manages the cursor
|
|
31238
|
-
// itself, and listing it here caused cursor placement issues in Safari.
|
|
31239
|
-
/** @private */
|
|
31167
|
+
this._rawMaskValue = undefined; // Used for storing raw values returned from input mask.
|
|
31240
31168
|
this.setSelectionInputTypes = [
|
|
31241
31169
|
"text",
|
|
31242
31170
|
"password",
|
|
31243
31171
|
"email"
|
|
31244
|
-
];
|
|
31245
|
-
this.shape = 'classic';
|
|
31246
|
-
/** @private */
|
|
31172
|
+
]; // Credit Card is not included as this caused cursor placement issues in Safari.
|
|
31247
31173
|
this.showPassword = false;
|
|
31248
|
-
this.size = 'lg';
|
|
31249
31174
|
this.touched = false;
|
|
31250
|
-
/** @private */
|
|
31251
31175
|
this.uniqueId = new UniqueId().create();
|
|
31252
|
-
/** @private */
|
|
31253
31176
|
this.util = new AuroInputUtilities({
|
|
31254
31177
|
locale: this.locale,
|
|
31255
31178
|
format: this.format
|
|
31256
31179
|
});
|
|
31257
|
-
/** @private */
|
|
31258
31180
|
this.validation = new AuroFormValidation();
|
|
31259
|
-
/** @private */
|
|
31260
31181
|
this.validationCCLength = undefined;
|
|
31261
|
-
this.value = undefined;
|
|
31262
|
-
this._valueObject = undefined;
|
|
31263
31182
|
}
|
|
31264
31183
|
|
|
31265
31184
|
// function to define props used within the scope of this component
|
|
@@ -31807,15 +31726,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
31807
31726
|
|
|
31808
31727
|
this.inputId = this.id ? `${this.id}-input` : window.crypto.randomUUID();
|
|
31809
31728
|
|
|
31810
|
-
// Normalize the format token to lowercase so case-mixed values supplied
|
|
31811
|
-
// via attribute (e.g. `format="MM/DD/YYYY"`) hit the `dateFormatMap`
|
|
31812
|
-
// lookup inside `setCustomHelpTextMessage`. Without this, an uppercase
|
|
31813
|
-
// format silently misses the map and leaves `setCustomValidityForType`
|
|
31814
|
-
// unset.
|
|
31815
|
-
if (this.format) {
|
|
31816
|
-
this.format = this.format.toLowerCase();
|
|
31817
|
-
}
|
|
31818
|
-
|
|
31819
31729
|
// use validity message override if declared when initializing the component
|
|
31820
31730
|
if (this.hasAttribute('setCustomValidity')) {
|
|
31821
31731
|
this.ValidityMessageOverride = this.setCustomValidity;
|
|
@@ -32249,38 +32159,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
32249
32159
|
this.touched = true;
|
|
32250
32160
|
this.validation.validate(this);
|
|
32251
32161
|
}
|
|
32252
|
-
|
|
32253
|
-
// Prevents cursor jumping in Safari. Setting `this.value` triggers a Lit
|
|
32254
|
-
// update that can re-render the input and reset the native cursor; we
|
|
32255
|
-
// capture the caret position before that update commits and restore it
|
|
32256
|
-
// via `setSelectionRange` once the update has flushed. Gated on
|
|
32257
|
-
// `setSelectionInputTypes` so credit-card (and other masked types whose
|
|
32258
|
-
// formatter manages the cursor itself) doesn't get a competing write.
|
|
32259
|
-
// Capture the caret position INSIDE the gate — reading `selectionStart`
|
|
32260
|
-
// on input types that don't support text selection (number, email in
|
|
32261
|
-
// some browsers) throws InvalidStateError, which would crash all input
|
|
32262
|
-
// handling. Wrap the read in try/catch belt-and-suspenders even though
|
|
32263
|
-
// the gated types currently support it, since the list is a public
|
|
32264
|
-
// property a consumer could mutate.
|
|
32265
|
-
if (this.setSelectionInputTypes.includes(this.type)) {
|
|
32266
|
-
let selectionStart;
|
|
32267
|
-
try {
|
|
32268
|
-
selectionStart = this.inputElement.selectionStart;
|
|
32269
|
-
} catch (error) { // eslint-disable-line no-unused-vars
|
|
32270
|
-
return;
|
|
32271
|
-
}
|
|
32272
|
-
if (typeof selectionStart !== 'number') {
|
|
32273
|
-
return;
|
|
32274
|
-
}
|
|
32275
|
-
this.updateComplete.then(() => {
|
|
32276
|
-
try {
|
|
32277
|
-
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
32278
|
-
} catch (error) { // eslint-disable-line no-unused-vars
|
|
32279
|
-
// Some input types (number/email in certain UAs) throw on
|
|
32280
|
-
// setSelectionRange; swallow and let the native cursor stand.
|
|
32281
|
-
}
|
|
32282
|
-
});
|
|
32283
|
-
}
|
|
32284
32162
|
}
|
|
32285
32163
|
|
|
32286
32164
|
/**
|
|
@@ -32907,7 +32785,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
32907
32785
|
}
|
|
32908
32786
|
};
|
|
32909
32787
|
|
|
32910
|
-
var formkitVersion = '
|
|
32788
|
+
var formkitVersion = '202606291652';
|
|
32911
32789
|
|
|
32912
32790
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
32913
32791
|
// See LICENSE in the project root for license information.
|
|
@@ -33410,7 +33288,6 @@ class AuroInput extends BaseInput {
|
|
|
33410
33288
|
<${this.buttonTag}
|
|
33411
33289
|
@click="${this.handleClickShowPassword}"
|
|
33412
33290
|
appearance="${this.onDark ? 'inverse' : this.appearance}"
|
|
33413
|
-
aria-pressed="${this.showPassword ? 'true' : 'false'}"
|
|
33414
33291
|
class="notificationBtn passwordBtn"
|
|
33415
33292
|
shape="circle"
|
|
33416
33293
|
size="sm"
|
|
@@ -33484,29 +33361,25 @@ class AuroInput extends BaseInput {
|
|
|
33484
33361
|
* @returns {html} - Returns HTML for the help text and error message.
|
|
33485
33362
|
*/
|
|
33486
33363
|
renderHtmlHelpText() {
|
|
33487
|
-
// Single `<p>` with stable identity across validity transitions —
|
|
33488
|
-
// previously two distinct templates (valid vs invalid) caused Lit to
|
|
33489
|
-
// replace the node entirely on a flip, and VoiceOver wouldn't
|
|
33490
|
-
// re-announce because the live-region element it was watching had been
|
|
33491
|
-
// removed and a new one inserted. Keeping one node means the `role`,
|
|
33492
|
-
// `aria-live`, and text content all change in-place, which AT does
|
|
33493
|
-
// observe and announce.
|
|
33494
|
-
const isError = this.validity && this.validity !== 'valid';
|
|
33495
33364
|
return html$1`
|
|
33496
|
-
|
|
33497
|
-
|
|
33498
|
-
|
|
33499
|
-
|
|
33500
|
-
|
|
33501
|
-
|
|
33502
|
-
|
|
33503
|
-
|
|
33504
|
-
|
|
33505
|
-
|
|
33506
|
-
|
|
33507
|
-
|
|
33508
|
-
|
|
33509
|
-
|
|
33365
|
+
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
33366
|
+
? html$1`
|
|
33367
|
+
<${this.helpTextTag}
|
|
33368
|
+
appearance="${this.onDark ? 'inverse' : this.appearance}">
|
|
33369
|
+
<p id="${this.uniqueId}" part="helpText">
|
|
33370
|
+
<slot name="helpText">${this.getHelpText()}</slot>
|
|
33371
|
+
</p>
|
|
33372
|
+
</${this.helpTextTag}>
|
|
33373
|
+
`
|
|
33374
|
+
: html$1`
|
|
33375
|
+
<${this.helpTextTag} error
|
|
33376
|
+
appearance="${this.onDark ? 'inverse' : this.appearance}">
|
|
33377
|
+
<p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
33378
|
+
${this.errorMessage}
|
|
33379
|
+
</p>
|
|
33380
|
+
</${this.helpTextTag}>
|
|
33381
|
+
`
|
|
33382
|
+
}
|
|
33510
33383
|
`;
|
|
33511
33384
|
}
|
|
33512
33385
|
|
|
@@ -33653,15 +33526,6 @@ function formatISODate(isoStr, format) {
|
|
|
33653
33526
|
try {
|
|
33654
33527
|
const date = dateFormatter.stringToDateInstance(isoStr);
|
|
33655
33528
|
|
|
33656
|
-
// `stringToDateInstance` returns an `Invalid Date` for malformed strings
|
|
33657
|
-
// and `null` for non-string input — it does NOT throw. Without this
|
|
33658
|
-
// guard, `getFullYear()`/`getMonth()`/`getDate()` on an Invalid Date
|
|
33659
|
-
// yield `NaN`, and `String(NaN).padStart(4, '0')` produces literals
|
|
33660
|
-
// like "0NaN/0NaN/0NaN" instead of `undefined`.
|
|
33661
|
-
if (!(date instanceof Date) || Number.isNaN(date.getTime())) {
|
|
33662
|
-
return undefined;
|
|
33663
|
-
}
|
|
33664
|
-
|
|
33665
33529
|
const year = String(date.getFullYear()).padStart(4, '0');
|
|
33666
33530
|
const month = String(date.getMonth() + 1).padStart(2, '0');
|
|
33667
33531
|
const day = String(date.getDate()).padStart(2, '0');
|
|
@@ -33672,10 +33536,7 @@ function formatISODate(isoStr, format) {
|
|
|
33672
33536
|
replace(/mm/iu, month).
|
|
33673
33537
|
replace(/dd/iu, day);
|
|
33674
33538
|
} catch (err) {
|
|
33675
|
-
//
|
|
33676
|
-
// (inside `stringToDateInstance`) could throw on pathological input
|
|
33677
|
-
// future-library-versions might introduce. Treat any thrown error as
|
|
33678
|
-
// "not a valid date" and return undefined.
|
|
33539
|
+
// If the input string is not a valid date, return undefined
|
|
33679
33540
|
return undefined;
|
|
33680
33541
|
}
|
|
33681
33542
|
}
|
|
@@ -35384,14 +35245,11 @@ class AuroDatePicker extends AuroElement {
|
|
|
35384
35245
|
this.calendar.announceSelection(announcement);
|
|
35385
35246
|
}, 500);
|
|
35386
35247
|
|
|
35387
|
-
// On mobile fullscreen
|
|
35388
|
-
//
|
|
35389
|
-
//
|
|
35390
|
-
|
|
35391
|
-
// would happen if we tried to scroll before the cell was set.
|
|
35392
|
-
if (this.dropdown.isBibFullscreen || this.forceScrollOnNextMobileCalendarRender) {
|
|
35248
|
+
// On mobile fullscreen, scroll the month list so the active cell's
|
|
35249
|
+
// month is visible. Without this, the list stays scrolled to the
|
|
35250
|
+
// calendarStartDate month which may be far from the active cell.
|
|
35251
|
+
if (this.dropdown.isBibFullscreen) {
|
|
35393
35252
|
this.calendar.scrollToActiveCell();
|
|
35394
|
-
this.forceScrollOnNextMobileCalendarRender = false;
|
|
35395
35253
|
}
|
|
35396
35254
|
} else if (attempts < MAX_ATTEMPTS) {
|
|
35397
35255
|
requestAnimationFrame(tryFocus);
|
|
@@ -35515,10 +35373,18 @@ class AuroDatePicker extends AuroElement {
|
|
|
35515
35373
|
}
|
|
35516
35374
|
}
|
|
35517
35375
|
|
|
35518
|
-
//
|
|
35519
|
-
|
|
35520
|
-
|
|
35521
|
-
|
|
35376
|
+
// If on mobile, and the calendar is opened, scroll the focus date into view if the flag is set
|
|
35377
|
+
if (this.dropdown.isPopoverVisible && this.forceScrollOnNextMobileCalendarRender) {
|
|
35378
|
+
|
|
35379
|
+
// Since the calendar is not rendered until the dropdown is opened,
|
|
35380
|
+
// and the auroDropdown-toggled event fires before the popover is actually open,
|
|
35381
|
+
// we need to wait until the next frame to ensure the calendar is fully rendered
|
|
35382
|
+
// and the area we're trying to scroll to is present in the DOM.
|
|
35383
|
+
setTimeout(() => {
|
|
35384
|
+
this.calendar.scrollMonthIntoView(this.calendarFocusDate);
|
|
35385
|
+
this.forceScrollOnNextMobileCalendarRender = false;
|
|
35386
|
+
}, 0);
|
|
35387
|
+
}
|
|
35522
35388
|
}, { signal });
|
|
35523
35389
|
|
|
35524
35390
|
// Handle responsive strategy changes while the dropdown is open
|