@aurodesignsystem/auro-formkit 2.0.3-beta.1 → 2.1.0-beta.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/CHANGELOG.md +19 -0
- package/components/bibtemplate/dist/index.js +148 -8
- package/components/bibtemplate/dist/registered.js +148 -8
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/README.md +1 -1
- package/components/combobox/demo/api.min.js +644 -113
- package/components/combobox/demo/index.min.js +644 -113
- package/components/combobox/demo/readme.md +1 -1
- package/components/combobox/dist/index.js +511 -50
- package/components/combobox/dist/registered.js +511 -50
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.min.js +500 -39
- package/components/counter/demo/index.js +1 -0
- package/components/counter/demo/index.min.js +501 -39
- package/components/counter/demo/readme.md +1 -1
- package/components/counter/dist/index.js +500 -39
- package/components/counter/dist/registered.js +500 -39
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.md +30 -0
- package/components/datepicker/demo/api.min.js +1281 -207
- package/components/datepicker/demo/index.min.js +1281 -207
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/auro-calendar.d.ts +5 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +7 -0
- package/components/datepicker/dist/buttonVersion.d.ts +2 -0
- package/components/datepicker/dist/index.js +1281 -207
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +1281 -207
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.min.js +81 -10
- package/components/dropdown/demo/index.min.js +81 -10
- package/components/dropdown/demo/readme.md +1 -1
- package/components/dropdown/dist/index.js +81 -10
- package/components/dropdown/dist/registered.js +81 -10
- package/components/form/README.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/input/README.md +1 -1
- package/components/input/demo/api.min.js +263 -13
- package/components/input/demo/index.min.js +263 -13
- package/components/input/demo/readme.md +1 -1
- package/components/input/dist/index.js +263 -13
- package/components/input/dist/registered.js +263 -13
- package/components/menu/README.md +1 -1
- package/components/menu/demo/api.min.js +77 -7
- package/components/menu/demo/index.min.js +77 -7
- package/components/menu/demo/readme.md +1 -1
- package/components/menu/dist/index.js +77 -7
- package/components/menu/dist/registered.js +77 -7
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/demo/readme.md +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/README.md +1 -1
- package/components/select/demo/api.min.js +319 -38
- package/components/select/demo/index.min.js +319 -38
- package/components/select/demo/readme.md +1 -1
- package/components/select/dist/index.js +240 -29
- package/components/select/dist/registered.js +240 -29
- package/package.json +2 -2
|
@@ -297,7 +297,7 @@ const a=Symbol.for(""),o$2=t=>{if(t?.r===a)return t?._$litStatic$},s$1=t=>({_$li
|
|
|
297
297
|
|
|
298
298
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
299
299
|
|
|
300
|
-
let AuroLibraryRuntimeUtils$
|
|
300
|
+
let AuroLibraryRuntimeUtils$9 = class AuroLibraryRuntimeUtils {
|
|
301
301
|
|
|
302
302
|
/* eslint-disable jsdoc/require-param */
|
|
303
303
|
|
|
@@ -366,7 +366,7 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
|
366
366
|
|
|
367
367
|
let AuroFormValidation$1 = class AuroFormValidation {
|
|
368
368
|
constructor() {
|
|
369
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
369
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$9();
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
/**
|
|
@@ -675,7 +675,7 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
675
675
|
// See LICENSE in the project root for license information.
|
|
676
676
|
|
|
677
677
|
|
|
678
|
-
let AuroDependencyVersioning$
|
|
678
|
+
let AuroDependencyVersioning$5 = class AuroDependencyVersioning {
|
|
679
679
|
|
|
680
680
|
/**
|
|
681
681
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -1034,7 +1034,7 @@ class UtilitiesCalendarRender {
|
|
|
1034
1034
|
*/
|
|
1035
1035
|
renderCalendar(elem, month, year) {
|
|
1036
1036
|
return x`
|
|
1037
|
-
<auro-calendar-month
|
|
1037
|
+
<auro-formkit-calendar-month
|
|
1038
1038
|
id="${`month-${month}-${year}`}"
|
|
1039
1039
|
.disabledDays="${elem.disabledDays}"
|
|
1040
1040
|
.min="${elem.min}"
|
|
@@ -1052,24 +1052,24 @@ class UtilitiesCalendarRender {
|
|
|
1052
1052
|
@date-from-changed="${elem.dateFromChanged}"
|
|
1053
1053
|
@date-to-changed="${elem.dateToChanged}"
|
|
1054
1054
|
>
|
|
1055
|
-
</auro-calendar-month>
|
|
1055
|
+
</auro-formkit-calendar-month>
|
|
1056
1056
|
`;
|
|
1057
1057
|
}
|
|
1058
1058
|
}
|
|
1059
1059
|
|
|
1060
|
-
var styleCss$
|
|
1060
|
+
var styleCss$d = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[auro-input]::part(iconContainer){top:0;display:flex;height:100%;align-items:center}[auro-input]::part(accentIcon){transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1)}[auro-input]::part(helpText){display:none}[auro-input]::part(wrapper){border-width:0 !important}[auro-input]:not(:first-child)::part(wrapper)::after{position:absolute;left:50%;width:95%;height:1px;background-color:var(--ds-auro-datepicker-range-input-divider-color);content:"";transform:translateX(-50%)}.outerWrapper{position:relative;container:outerwrapper/inline-size}.dpTriggerContent{display:flex;flex-direction:column}.dpTriggerContent [auro-input]{flex:1}:host(:not([stacked])) .dpTriggerContent{flex-direction:row}:host(:not([stacked])) [auro-input]:first-of-type{margin-right:var(--ds-size-150, 0.75rem)}:host(:not([stacked])) [auro-input]:nth-child(2){margin-left:var(--ds-size-150, 0.75rem)}:host(:not([stacked])) [auro-input]:nth-child(2)::part(accentIcon){display:none}:host(:not([stacked])) [auro-input]:nth-child(2)::part(label){left:0;width:100%}:host(:not([stacked])) [auro-input]:nth-child(2)::part(input){padding-left:0}:host(:not([stacked])) [auro-input]:nth-child(2):before{position:absolute;top:13px;left:calc(var(--ds-size-150, 0.75rem)*-1);display:block;width:1px;height:2rem;content:""}:host(:not([stacked])) [auro-input]:not(:first-child)::part(wrapper):after{content:none}:host(:not([stacked])[range]) [auro-input]{max-width:50%}@media screen and (max-width: 576px){::part(popover){position:fixed !important;top:0 !important;left:0 !important;width:100vw !important;height:100vh !important;margin-bottom:var(--ds-size-200, 1rem);transform:unset !important}.calendarWrapper{display:flex;height:100dvh;flex-direction:row;justify-content:center}}`;
|
|
1061
1061
|
|
|
1062
|
-
var colorCss$
|
|
1062
|
+
var colorCss$d = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[auro-input]::part(wrapper){--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}.dpTriggerContent [auro-input]:nth-child(2):before{background-color:var(--ds-auro-datepicker-range-input-divider-color)}.placeholderDate{color:var(--ds-auro-datepicker-placeholder-color)}`;
|
|
1063
1063
|
|
|
1064
|
-
var tokensCss$
|
|
1064
|
+
var tokensCss$a = i$6`:host{--ds-auro-datepicker-placeholder-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-datepicker-range-input-divider-color: var(--ds-color-border-primary-default, #585e67);--ds-auro-calendar-mobile-header-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-mobile-header-divider-color: var(--ds-color-border-divider-default, rgba(0, 0, 0, 0.12));--ds-auro-calendar-mobile-header-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-calendar-nav-btn-border-color: transparent;--ds-auro-calendar-nav-btn-chevron-color: var(--ds-color-icon-ui-primary-default-default, #2c67b5);--ds-auro-calendar-nav-btn-container-color: transparent;--ds-auro-calendar-month-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-month-divider-color: var(--ds-color-border-divider-default, rgba(0, 0, 0, 0.12));--ds-auro-calendar-month-header-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-calendar-cell-border-color: transparent;--ds-auro-calendar-cell-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-calendar-cell-container-color: transparent;--ds-auro-calendar-cell-in-range-color: var(--ds-color-container-secondary-default, #f7f7f7);--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
1065
1065
|
|
|
1066
|
-
var styleCss$
|
|
1066
|
+
var styleCss$c = i$6`:host{--calendar-width: 336px;--mobile-footer-height: 150px;--mobile-header-height: 68px;height:100vh;height:100dvh}.calendars{display:flex;flex-direction:row}.calendarNavButtons{position:absolute;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{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{font-size:var(--ds-text-body-size-xs, 0.75rem)}.headerDateTo{height:calc(var(--mobile-header-height) - var(--ds-size-300, 1.5rem));padding:var(--ds-size-300, 1.5rem) var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host(:not([noRange])) .headerDateTo{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center}:host(:not([noRange])) .headerDateTo:after{position:absolute;top:calc(50% + 10px);left:0;display:block;width:1px;height:var(--ds-size-300, 1.5rem);content:"";transform:translateY(-50%)}.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:""}`;
|
|
1067
1067
|
|
|
1068
|
-
var colorCss$
|
|
1068
|
+
var colorCss$c = i$6`.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,.calendarNavBtn:focus{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5)}.calendarNavBtn:active{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5);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)}@media screen and (max-width: 576px){.calendarNavBtn{--ds-auro-calendar-nav-btn-border-color: var(--ds-color-border-ui-default-default, #2c67b5)}}`;
|
|
1069
1069
|
|
|
1070
|
-
var styleCss$
|
|
1070
|
+
var styleCss$b = i$6`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}: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)}}@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;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.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;font-weight:700}.tbody{width:100%;transition:all 0ms;transform:translateX(0)}@media screen and (min-width: 576px){.tbody{height:384px}}.td{flex:1;margin:0;padding:0}.tr{display:flex;flex-direction:row;width:100%}`;
|
|
1071
1071
|
|
|
1072
|
-
var colorCss$
|
|
1072
|
+
var colorCss$b = i$6`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host{background-color:var(--ds-auro-calendar-month-container-color)}@media screen and (min-width: 576px){:host(:not(:last-of-type)):after{background-color:var(--ds-auro-calendar-month-divider-color)}}.header{color:var(--ds-auro-calendar-month-header-color)}`;
|
|
1073
1073
|
|
|
1074
1074
|
/******************************************************************************
|
|
1075
1075
|
Copyright (c) Microsoft Corporation.
|
|
@@ -7061,7 +7061,7 @@ __decorate([n({ type: Array })], RangeDatepickerCell.prototype, "disabledDays",
|
|
|
7061
7061
|
__decorate([n({ type: String })], RangeDatepickerCell.prototype, "hoveredDate", void 0);
|
|
7062
7062
|
__decorate([n({ type: Boolean })], RangeDatepickerCell.prototype, "isCurrentDate", void 0);
|
|
7063
7063
|
__decorate([n({ type: Object })], RangeDatepickerCell.prototype, "locale", null);
|
|
7064
|
-
AuroLibraryRuntimeUtils$
|
|
7064
|
+
AuroLibraryRuntimeUtils$9.prototype.registerComponent('wc-range-datepicker-cell', RangeDatepickerCell);
|
|
7065
7065
|
|
|
7066
7066
|
class Day {
|
|
7067
7067
|
constructor(date) {
|
|
@@ -7579,7 +7579,7 @@ __decorate([n({ type: Array })], RangeDatepickerCalendar.prototype, "yearsList",
|
|
|
7579
7579
|
__decorate([n({ type: Array })], RangeDatepickerCalendar.prototype, "monthsList", void 0);
|
|
7580
7580
|
__decorate([n({ type: Array })], RangeDatepickerCalendar.prototype, "dayNamesOfTheWeek", void 0);
|
|
7581
7581
|
__decorate([n({ type: Array })], RangeDatepickerCalendar.prototype, "daysOfMonth", void 0);
|
|
7582
|
-
AuroLibraryRuntimeUtils$
|
|
7582
|
+
AuroLibraryRuntimeUtils$9.prototype.registerComponent('wc-range-datepicker-calendar', RangeDatepickerCalendar);
|
|
7583
7583
|
|
|
7584
7584
|
/**
|
|
7585
7585
|
* @license
|
|
@@ -7594,9 +7594,9 @@ const t$1={ATTRIBUTE:1,CHILD:2},e$1=t=>(...e)=>({_$litDirective$:t,values:e});le
|
|
|
7594
7594
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7595
7595
|
*/const e=e$1(class extends i$1{constructor(t){if(super(t),t.type!==t$1.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T}});
|
|
7596
7596
|
|
|
7597
|
-
var styleCss$
|
|
7597
|
+
var styleCss$a = i$6`@media screen and (max-width: 576px){:host{display:flex;justify-content:center}}.day{position:relative;width:var(--ds-size-500, 2.5rem);height:calc(var(--ds-size-700, 3.5rem) - 2px);padding:0;border-width:1px;border-style:solid;border-radius:var(--ds-size-300, 1.5rem);cursor:pointer;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);user-select:none}.day.disabled{cursor:default !important}.day.inRange::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%)}@media screen and (min-width: 576px){.day.inRange::before{width:var(--ds-size-600, 3rem)}}.day.rangeDepartDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(0%, -50%)}@media screen and (min-width: 576px){.day.rangeDepartDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.day.rangeReturnDate::before,.day.lastHoveredDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(-100%, -50%)}@media screen and (min-width: 576px){.day.rangeReturnDate::before,.day.lastHoveredDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.dateSlot{display:flex;flex-direction:column;font-size:var(--ds-text-body-size-xxs, 0.625rem)}::slotted([slot^=date_]){position:absolute;top:80%;left:50%;width:80%;overflow:hidden;white-space:nowrap;transform:translate(-50%, -50%)}::slotted(auro-icon){max-height:24px;max-width:24px}:host([renderForDateSlot]) .buttonWrapper{position:relative;width:100%;top:5px}:host([renderForDateSlot]) .currentDayMarker{position:relative;padding-bottom:5px;top:-8px}@media screen and (min-width: 576px){.day{width:var(--ds-size-600, 3rem);height:var(--ds-size-800, 4rem);font-size:var(--ds-text-body-size-lg, 1.125rem)}.day:hover{cursor:pointer}.dateSlot{font-size:var(--ds-text-body-size-xs, 0.75rem)}}`;
|
|
7598
7598
|
|
|
7599
|
-
var colorCss$
|
|
7599
|
+
var colorCss$a = i$6`:host ::slotted([slot^=date_]){color:var(--ds-auro-calendar-cell-price-text-color)}:host ::slotted([slot^=date_][highlight]){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-success-default, #0b6f4d)}.day{border-color:var(--ds-auro-calendar-cell-border-color);background-color:var(--ds-auro-calendar-cell-container-color);color:var(--ds-auro-calendar-cell-text-color)}.day.selected{--ds-auro-calendar-border-color: var(--ds-color-border-ui-active-default, #225296);--ds-auro-calendar-cell-container-color: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-inverse, #ffffff);box-shadow:var(--ds-auro-calendar-boxshadow-color)}.day.selected:hover{--ds-auro-calendar-cell-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-cell-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:unset}.day.selected:not(:hover){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-primary-inverse, #ffffff)}.day:hover{--ds-auro-calendar-cell-container-color: var(--ds-color-brand-neutral-200, #e4e8ec);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-default, #2a2a2a)}.day.disabled{--ds-auro-calendar-cell-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-calendar-cell-container-color: var(--ds-color-container-primary-default, #ffffff)}.day.inRange:before,.day.rangeDepartDate:before,.day.rangeReturnDate:before,.day.lastHoveredDate:before{background-color:var(--ds-auro-calendar-cell-in-range-color)}.day.sameDateTrip:before{--ds-auro-calendar-cell-in-range-color: transparent}:host([disabled]){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
|
|
7600
7600
|
|
|
7601
7601
|
/**
|
|
7602
7602
|
* @license
|
|
@@ -7604,11 +7604,11 @@ var colorCss$8 = i$6`:host ::slotted([slot^=date_]){color:var(--ds-auro-calendar
|
|
|
7604
7604
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7605
7605
|
*/let r$1 = class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}};r$1._$litElement$=true,r$1["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$1});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r$1});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
7606
7606
|
|
|
7607
|
-
var styleCss$7 = i$6`:root{--ds-asset-font-circular-family-name: "AS Circular";--ds-asset-font-circular-filename: "ASCircularWeb";--ds-asset-font-circular-weight-light: "-Light";--ds-asset-font-circular-weight-medium: "-Medium";--ds-asset-font-circular-weight-book: "-Book";--ds-border-radius: 0.375rem;--ds-size-25: 0.125rem;--ds-size-50: 0.25rem;--ds-size-75: 0.375rem;--ds-size-100: 0.5rem;--ds-size-150: 0.75rem;--ds-size-200: 1rem;--ds-size-250: 1.25rem;--ds-size-300: 1.5rem;--ds-size-400: 2rem;--ds-size-500: 2.5rem;--ds-size-600: 3rem;--ds-size-700: 3.5rem;--ds-size-800: 4rem;--ds-size-900: 4.5rem;--ds-size-1000: 5rem;--ds-unitless-scale-20: 0.25;--ds-unitless-scale-50: 0.5;--ds-unitless-scale-100: 1;--ds-unitless-scale-140: 1.4;--ds-unitless-scale-150: 1.5;--ds-unitless-scale-200: 2;--ds-unitless-scale-300: 3;--ds-unitless-scale-350: 3.5;--ds-animation-default-property: all;--ds-animation-default-duration: 0.3s;--ds-animation-default-timing: ease-out;--ds-depth-overlay: 200;--ds-depth-modal: 300;--ds-depth-tooltip: 400;--ds-elevation-100: 0px 0px 5px rgba(0, 0, 0, 0.15);--ds-elevation-200: 0px 0px 10px rgba(0, 0, 0, 0.15);--ds-elevation-300: 0px 0px 15px rgba(0, 0, 0, 0.2);--ds-grid-breakpoint-xs: 320px;--ds-grid-breakpoint-sm: 576px;--ds-grid-breakpoint-md: 768px;--ds-grid-breakpoint-lg: 1024px;--ds-grid-breakpoint-xl: 1232px;--ds-grid-column-xs: 6;--ds-grid-column-sm: 12;--ds-grid-column-md: 12;--ds-grid-column-lg: 12;--ds-grid-column-xl: 12;--ds-grid-gutter-xs: 0.5rem;--ds-grid-gutter-sm: 1rem;--ds-grid-gutter-md: 1.5rem;--ds-grid-gutter-lg: 1.5rem;--ds-grid-gutter-xl: 2rem;--ds-grid-margin-xs: 1rem;--ds-grid-margin-sm: 1rem;--ds-grid-margin-md: 1.5rem;--ds-grid-margin-lg: 2rem;--ds-grid-margin-xl: 2rem;--ds-font-family-default: "AS Circular", Helvetica Neue, Arial, sans-serif;--ds-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace;--ds-text-heading-300-weight: 300;--ds-text-heading-300-px: 18px;--ds-text-heading-300-size: 1.125rem;--ds-text-heading-300-height: 1.625rem;--ds-text-heading-300-height-px: 26px;--ds-text-heading-400-weight: 300;--ds-text-heading-400-px: 20px;--ds-text-heading-400-size: 1.25rem;--ds-text-heading-400-height: 1.625rem;--ds-text-heading-400-height-px: 26px;--ds-text-heading-500-weight: 300;--ds-text-heading-500-px-breakpoint-sm: 22px;--ds-text-heading-500-px-breakpoint-md: 24px;--ds-text-heading-500-px-breakpoint-lg: 24px;--ds-text-heading-500-size-breakpoint-sm: 1.375rem;--ds-text-heading-500-size-breakpoint-md: 1.5rem;--ds-text-heading-500-size-breakpoint-lg: 1.5rem;--ds-text-heading-500-height-breakpoint-sm: 1.625rem;--ds-text-heading-500-height-breakpoint-px-sm: 26px;--ds-text-heading-500-height-breakpoint-md: 1.875rem;--ds-text-heading-500-height-breakpoint-px-md: 30px;--ds-text-heading-500-height-breakpoint-lg: 2rem;--ds-text-heading-500-height-breakpoint-px-lg: 32px;--ds-text-heading-600-weight: 300;--ds-text-heading-600-px-breakpoint-sm: 26px;--ds-text-heading-600-px-breakpoint-md: 28px;--ds-text-heading-600-px-breakpoint-lg: 28px;--ds-text-heading-600-size-breakpoint-sm: 1.625rem;--ds-text-heading-600-size-breakpoint-md: 1.75rem;--ds-text-heading-600-size-breakpoint-lg: 1.75rem;--ds-text-heading-600-height-breakpoint-sm: 1.875rem;--ds-text-heading-600-height-breakpoint-px-sm: 30px;--ds-text-heading-600-height-breakpoint-md: 2.125rem;--ds-text-heading-600-height-breakpoint-px-md: 34px;--ds-text-heading-600-height-breakpoint-lg: 2.25rem;--ds-text-heading-600-height-breakpoint-px-lg: 36px;--ds-text-heading-700-weight: 500;--ds-text-heading-700-px-breakpoint-sm: 28px;--ds-text-heading-700-px-breakpoint-md: 32px;--ds-text-heading-700-px-breakpoint-lg: 36px;--ds-text-heading-700-size-breakpoint-sm: 1.75rem;--ds-text-heading-700-size-breakpoint-md: 2rem;--ds-text-heading-700-size-breakpoint-lg: 2.25rem;--ds-text-heading-700-height-breakpoint-sm: 2.125rem;--ds-text-heading-700-height-breakpoint-px-sm: 34px;--ds-text-heading-700-height-breakpoint-md: 2.375rem;--ds-text-heading-700-height-breakpoint-px-md: 38px;--ds-text-heading-700-height-breakpoint-lg: 2.75rem;--ds-text-heading-700-height-breakpoint-px-lg: 44px;--ds-text-heading-800-weight: 500;--ds-text-heading-800-px-breakpoint-sm: 32px;--ds-text-heading-800-px-breakpoint-md: 36px;--ds-text-heading-800-px-breakpoint-lg: 40px;--ds-text-heading-800-size-breakpoint-sm: 2rem;--ds-text-heading-800-size-breakpoint-md: 2.25rem;--ds-text-heading-800-size-breakpoint-lg: 2.5rem;--ds-text-heading-800-height-breakpoint-sm: 2.375rem;--ds-text-heading-800-height-breakpoint-px-sm: 38px;--ds-text-heading-800-height-breakpoint-md: 2.625rem;--ds-text-heading-800-height-breakpoint-px-md: 42px;--ds-text-heading-800-height-breakpoint-lg: 3rem;--ds-text-heading-800-height-breakpoint-px-lg: 48px;--ds-text-heading-default-weight: 500;--ds-text-heading-default-margin: 0;--ds-text-heading-default-spacing: -0.2px;--ds-text-heading-medium-weight: 300;--ds-text-heading-display-weight: 100;--ds-text-heading-display-px-breakpoint-sm: 44px;--ds-text-heading-display-px-breakpoint-md: 48px;--ds-text-heading-display-px-breakpoint-lg: 56px;--ds-text-heading-display-size-breakpoint-sm: 2.75rem;--ds-text-heading-display-size-breakpoint-md: 3rem;--ds-text-heading-display-size-breakpoint-lg: 3.5rem;--ds-text-heading-display-height-breakpoint-sm: 3.375rem;--ds-text-heading-display-height-breakpoint-px-sm: 54px;--ds-text-heading-display-height-breakpoint-md: 3.75rem;--ds-text-heading-display-height-breakpoint-px-md: 60px;--ds-text-heading-display-height-breakpoint-lg: 4.25rem;--ds-text-heading-display-height-breakpoint-px-lg: 68px;--ds-text-body-default-weight: 500;--ds-text-body-size-xxs: 0.625rem;--ds-text-body-size-xs: 0.75rem;--ds-text-body-size-sm: 0.875rem;--ds-text-body-size-default: 1rem;--ds-text-body-size-lg: 1.125rem;--ds-text-body-height-xs: 1rem;--ds-text-body-height-sm: 1.25rem;--ds-text-body-height-default: 1.5rem;--ds-text-body-height-lg: 1.625rem;--ds-color-alert-notification-default: #0074c8;--ds-color-alert-warning-default: #de750c;--ds-color-alert-error-default: #df0b37;--ds-color-alert-success-default: #00805d;--ds-color-alert-advisory-default: #fff0cd;--ds-color-alert-bkg-success-default: #ddf6e8;--ds-color-alert-bkg-error-default: #ffedf1;--ds-color-background-primary-100-default: #ffffff;--ds-color-background-primary-100-inverse: #0e2b4f;--ds-color-background-primary-200-default: #f7f7f7;--ds-color-background-primary-200-inverse: #194069;--ds-color-background-primary-300-default: #e4e8ec;--ds-color-background-primary-300-inverse: #265688;--ds-color-background-primary-400-default: #dddddd;--ds-color-background-primary-400-inverse: #326aa5;--ds-color-background-success-default: #eef8f5;--ds-color-background-success-inverse: #173c30;--ds-color-background-error-default: #fff4f4;--ds-color-background-error-inverse: #74110e;--ds-color-background-warning-default: #fef8e9;--ds-color-background-warning-inverse: #5d4514;--ds-color-background-info-default: #f0f7fd;--ds-color-background-info-inverse: #193d73;--ds-color-background-subtle-default: #f7f8fa;--ds-color-background-subtle-inverse: #2a2a2a;--ds-color-background-accent-default: #ebfafd;--ds-color-background-accent-inverse: #275b72;--ds-color-background-emphasis-default: #c9e0f7;--ds-color-background-emphasis-inverse: #225296;--ds-color-background-scrimmed-default: rgba(0, 0, 0, 0.5);--ds-color-background-lightest: #ffffff;--ds-color-background-lighter: #f7f7f7;--ds-color-background-darker: #01426a;--ds-color-background-darkest: #00274a;--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));--ds-color-base-white: #ffffff;--ds-color-base-white-100: rgba(255, 255, 255, 0.03);--ds-color-base-white-200: rgba(255, 255, 255, 0.06);--ds-color-base-white-300: rgba(255, 255, 255, 0.12);--ds-color-base-white-400: rgba(255, 255, 255, 0.25);--ds-color-base-white-500: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4);--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0);--ds-color-base-black: #000000;--ds-color-base-black-100: rgba(0, 0, 0, 0.03);--ds-color-base-black-200: rgba(0, 0, 0, 0.06);--ds-color-base-black-300: rgba(0, 0, 0, 0.12);--ds-color-base-black-400: rgba(0, 0, 0, 0.25);--ds-color-base-black-500: rgba(0, 0, 0, 0.5);--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15);--ds-color-base-blue-100: #f0f7fd;--ds-color-base-blue-200: #c9e0f7;--ds-color-base-blue-300: #a0c9f1;--ds-color-base-blue-400: #79b2ec;--ds-color-base-blue-500: #5398e6;--ds-color-base-blue-600: #3b7fd2;--ds-color-base-blue-700: #2c67b5;--ds-color-base-blue-800: #225296;--ds-color-base-blue-900: #193d73;--ds-color-base-blue-1000: #102a51;--ds-color-base-cyan-100: #ebfafd;--ds-color-base-cyan-200: #a8e9f7;--ds-color-base-cyan-300: #6ad5ef;--ds-color-base-cyan-400: #56bbde;--ds-color-base-cyan-500: #4aa2c7;--ds-color-base-cyan-600: #3e89aa;--ds-color-base-cyan-700: #32718e;--ds-color-base-cyan-800: #275b72;--ds-color-base-cyan-900: #1d4658;--ds-color-base-cyan-1000: #12303d;--ds-color-base-error-100: #fff4f4;--ds-color-base-error-200: #f9aca6;--ds-color-base-error-300: #f16359;--ds-color-base-error-400: #cc1816;--ds-color-base-error-500: #74110e;--ds-color-base-gray-100: #f7f7f7;--ds-color-base-gray-200: #d4d4d4;--ds-color-base-gray-300: #c5c5c5;--ds-color-base-gray-400: #adadad;--ds-color-base-gray-500: #959595;--ds-color-base-gray-600: #7e7e7e;--ds-color-base-gray-700: #676767;--ds-color-base-gray-800: #525252;--ds-color-base-gray-900: #3d3d3d;--ds-color-base-gray-1000: #2a2a2a;--ds-color-base-green-100: #f3faf7;--ds-color-base-green-200: #000000;--ds-color-base-green-300: #addbca;--ds-color-base-green-400: #7ec6ac;--ds-color-base-green-500: #51ae8c;--ds-color-base-green-600: #459578;--ds-color-base-green-700: #3a7d64;--ds-color-base-green-800: #306854;--ds-color-base-green-900: #285545;--ds-color-base-green-1000: #1f4436;--ds-color-base-lime-100: #f5fbeb;--ds-color-base-lime-200: #d8efb4;--ds-color-base-lime-300: #badd81;--ds-color-base-lime-400: #a2c270;--ds-color-base-lime-500: #8ca761;--ds-color-base-lime-600: #778f53;--ds-color-base-lime-700: #647845;--ds-color-base-lime-800: #53643a;--ds-color-base-lime-900: #44522f;--ds-color-base-lime-1000: #364126;--ds-color-base-navy-100: #f2f7fb;--ds-color-base-navy-200: #cfe0ef;--ds-color-base-navy-300: #acc9e2;--ds-color-base-navy-400: #89b2d4;--ds-color-base-navy-500: #6899c6;--ds-color-base-navy-600: #4a82b7;--ds-color-base-navy-700: #326aa5;--ds-color-base-navy-800: #265688;--ds-color-base-navy-900: #194069;--ds-color-base-navy-1000: #0e2b4f;--ds-color-base-neutral-100: #f7f8fa;--ds-color-base-neutral-200: #e4e8ec;--ds-color-base-neutral-300: #ccd2db;--ds-color-base-neutral-400: #afb9c6;--ds-color-base-neutral-500: #939fad;--ds-color-base-neutral-600: #7e8894;--ds-color-base-neutral-700: #6a717c;--ds-color-base-neutral-800: #585e67;--ds-color-base-neutral-900: #484d55;--ds-color-base-neutral-1000: #393d43;--ds-color-base-pink-100: #fff7f8;--ds-color-base-pink-200: #fde0e6;--ds-color-base-pink-300: #fcc2ce;--ds-color-base-pink-400: #fa9db0;--ds-color-base-pink-500: #f7738e;--ds-color-base-pink-600: #e45472;--ds-color-base-pink-700: #bf475f;--ds-color-base-pink-800: #a03b50;--ds-color-base-pink-900: #833142;--ds-color-base-pink-1000: #692734;--ds-color-base-purple-100: #fbf8fe;--ds-color-base-purple-200: #ede3fd;--ds-color-base-purple-300: #ddc9fb;--ds-color-base-purple-400: #c9a9f8;--ds-color-base-purple-500: #b588f5;--ds-color-base-purple-600: #a268f3;--ds-color-base-purple-700: #8d47f0;--ds-color-base-purple-800: #7633d7;--ds-color-base-purple-900: #622ab2;--ds-color-base-purple-1000: #4e228d;--ds-color-base-red-100: #fef7f5;--ds-color-base-red-200: #fae2da;--ds-color-base-red-300: #f5c7b8;--ds-color-base-red-400: #f0a68d;--ds-color-base-red-500: #e9815e;--ds-color-base-red-600: #e35c2f;--ds-color-base-red-700: #d03a08;--ds-color-base-red-800: #ae3007;--ds-color-base-red-900: #902806;--ds-color-base-red-1000: #732005;--ds-color-base-success-100: #eef8f5;--ds-color-base-success-200: #8eceb9;--ds-color-base-success-300: #40a080;--ds-color-base-success-400: #0b6f4d;--ds-color-base-success-500: #173c30;--ds-color-base-turquoise-100: #f7fafa;--ds-color-base-turquoise-200: #dfe9ea;--ds-color-base-turquoise-300: #c2d5d6;--ds-color-base-turquoise-400: #9fbdbe;--ds-color-base-turquoise-500: #7ba5a6;--ds-color-base-turquoise-600: #5c8f91;--ds-color-base-turquoise-700: #3d7a7d;--ds-color-base-turquoise-800: #21686a;--ds-color-base-turquoise-900: #085659;--ds-color-base-turquoise-1000: #004447;--ds-color-base-yellow-100: #fff9df;--ds-color-base-yellow-200: #ffe87e;--ds-color-base-yellow-300: #f9ce06;--ds-color-base-yellow-400: #d6b622;--ds-color-base-yellow-500: #b49d35;--ds-color-base-yellow-600: #96873e;--ds-color-base-yellow-700: #7c7140;--ds-color-base-yellow-800: #665e3d;--ds-color-base-yellow-900: #524e38;--ds-color-base-yellow-1000: #403d30;--ds-color-base-warning-100: #fef8e9;--ds-color-base-warning-200: #f2c153;--ds-color-base-warning-300: #c49432;--ds-color-base-warning-400: #8e6b22;--ds-color-base-warning-500: #5d4514;--ds-color-state-error-100: #ff999b;--ds-color-state-error-500: #df0b37;--ds-color-state-success-100: #69cf96;--ds-color-state-success-500: #00805d;--ds-color-state-warning-500: #de750c;--ds-color-border-primary-default: #585e67;--ds-color-border-primary-inverse: #afb9c6;--ds-color-border-secondary-default: #939fad;--ds-color-border-secondary-inverse: #7e8894;--ds-color-border-tertiary-default: #dddddd;--ds-color-border-tertiary-inverse: #676767;--ds-color-border-error-default: #cc1816;--ds-color-border-error-inverse: #f9aca6;--ds-color-border-divider-default: rgba(0, 0, 0, 0.12);--ds-color-border-divider-inverse: rgba(255, 255, 255, 0.25);--ds-color-border-subtle-default: #f0f7fd;--ds-color-border-subtle-inverse: #326aa5;--ds-color-border-emphasis-default: #194069;--ds-color-border-emphasis-inverse: #f2f7fb;--ds-color-border-accent-default: #badd81;--ds-color-border-accent-inverse: #a2c270;--ds-color-border-success-default: #0b6f4d;--ds-color-border-success-inverse: #8eceb9;--ds-color-border-warning-default: #c49432;--ds-color-border-warning-inverse: #f2c153;--ds-color-border-info-default: #326aa5;--ds-color-border-info-inverse: #89b2d4;--ds-color-border-ui-default-default: #2c67b5;--ds-color-border-ui-default-inverse: #56bbde;--ds-color-border-ui-hover-default: #193d73;--ds-color-border-ui-hover-inverse: #a8e9f7;--ds-color-border-ui-active-default: #225296;--ds-color-border-ui-active-inverse: #6ad5ef;--ds-color-border-ui-focus-default: #2c67b5;--ds-color-border-ui-focus-inverse: #56bbde;--ds-color-border-ui-disabled-default: #adadad;--ds-color-border-ui-disabled-inverse: #7e7e7e;--ds-color-border-active-default: #0074c8;--ds-color-border-active-inverse: #00cff0;--ds-color-border-disabled-default: #d4d4d4;--ds-color-border-focus-default: #959595;--ds-color-brand-neutral-100: #f7f8fa;--ds-color-brand-neutral-200: #e4e8ec;--ds-color-brand-neutral-300: #ccd2db;--ds-color-brand-neutral-400: #afb9c6;--ds-color-brand-neutral-500: #939fad;--ds-color-brand-neutral-600: #7e8894;--ds-color-brand-neutral-700: #6a717c;--ds-color-brand-neutral-800: #585e67;--ds-color-brand-neutral-900: #484d55;--ds-color-brand-neutral-1000: #393d43;--ds-color-brand-gray-100: #f7f7f7;--ds-color-brand-gray-200: #dddddd;--ds-color-brand-gray-300: #c5c5c5;--ds-color-brand-gray-400: #adadad;--ds-color-brand-gray-500: #959595;--ds-color-brand-gray-600: #7e7e7e;--ds-color-brand-gray-700: #676767;--ds-color-brand-gray-800: #525252;--ds-color-brand-gray-900: #3d3d3d;--ds-color-brand-gray-1000: #2a2a2a;--ds-color-brand-red-100: #fef7f5;--ds-color-brand-red-200: #fae2da;--ds-color-brand-red-300: #f5c7b8;--ds-color-brand-red-400: #f0a68d;--ds-color-brand-red-500: #e9815e;--ds-color-brand-red-600: #e35c2f;--ds-color-brand-red-700: #d03a08;--ds-color-brand-red-800: #ae3007;--ds-color-brand-red-900: #902806;--ds-color-brand-red-1000: #732005;--ds-color-brand-yellow-100: #fff9df;--ds-color-brand-yellow-200: #ffe87e;--ds-color-brand-yellow-300: #f9ce06;--ds-color-brand-yellow-400: #d6b622;--ds-color-brand-yellow-500: #b49d35;--ds-color-brand-yellow-600: #96873e;--ds-color-brand-yellow-700: #7c7140;--ds-color-brand-yellow-800: #665e3d;--ds-color-brand-yellow-900: #524e38;--ds-color-brand-yellow-1000: #403d30;--ds-color-brand-lime-100: #f5fbeb;--ds-color-brand-lime-200: #d8efb4;--ds-color-brand-lime-300: #badd81;--ds-color-brand-lime-400: #a2c270;--ds-color-brand-lime-500: #8ca761;--ds-color-brand-lime-600: #778f53;--ds-color-brand-lime-700: #647845;--ds-color-brand-lime-800: #53643a;--ds-color-brand-lime-900: #44522f;--ds-color-brand-lime-1000: #364126;--ds-color-brand-green-100: #f3faf7;--ds-color-brand-green-200: #d4ece4;--ds-color-brand-green-300: #addbca;--ds-color-brand-green-400: #7ec6ac;--ds-color-brand-green-500: #51ae8c;--ds-color-brand-green-600: #459578;--ds-color-brand-green-700: #3a7d64;--ds-color-brand-green-800: #306854;--ds-color-brand-green-900: #285545;--ds-color-brand-green-1000: #1f4436;--ds-color-brand-turquoise-100: #f7fafa;--ds-color-brand-turquoise-200: #dfe9ea;--ds-color-brand-turquoise-300: #c2d5d6;--ds-color-brand-turquoise-400: #9fbdbe;--ds-color-brand-turquoise-500: #7ba5a6;--ds-color-brand-turquoise-600: #5c8f91;--ds-color-brand-turquoise-700: #3d7a7d;--ds-color-brand-turquoise-800: #21686a;--ds-color-brand-turquoise-900: #085659;--ds-color-brand-turquoise-1000: #004447;--ds-color-brand-cyan-100: #ebfafd;--ds-color-brand-cyan-200: #a8e9f7;--ds-color-brand-cyan-300: #6ad5ef;--ds-color-brand-cyan-400: #56bbde;--ds-color-brand-cyan-500: #4aa2c7;--ds-color-brand-cyan-600: #3e89aa;--ds-color-brand-cyan-700: #32718e;--ds-color-brand-cyan-800: #275b72;--ds-color-brand-cyan-900: #1d4658;--ds-color-brand-cyan-1000: #12303d;--ds-color-brand-blue-100: #f0f7fd;--ds-color-brand-blue-200: #c9e0f7;--ds-color-brand-blue-300: #a0c9f1;--ds-color-brand-blue-400: #79b2ec;--ds-color-brand-blue-500: #5398e6;--ds-color-brand-blue-600: #3b7fd2;--ds-color-brand-blue-700: #2c67b5;--ds-color-brand-blue-800: #225296;--ds-color-brand-blue-900: #193d73;--ds-color-brand-blue-1000: #102a51;--ds-color-brand-navy-100: #f2f7fb;--ds-color-brand-navy-200: #cfe0ef;--ds-color-brand-navy-300: #acc9e2;--ds-color-brand-navy-400: #89b2d4;--ds-color-brand-navy-500: #6899c6;--ds-color-brand-navy-600: #4a82b7;--ds-color-brand-navy-700: #326aa5;--ds-color-brand-navy-800: #265688;--ds-color-brand-navy-900: #194069;--ds-color-brand-navy-1000: #0e2b4f;--ds-color-brand-purple-100: #fbf8fe;--ds-color-brand-purple-200: #ede3fd;--ds-color-brand-purple-300: #ddc9fb;--ds-color-brand-purple-400: #c9a9f8;--ds-color-brand-purple-500: #b588f5;--ds-color-brand-purple-600: #a268f3;--ds-color-brand-purple-700: #8d47f0;--ds-color-brand-purple-800: #7633d7;--ds-color-brand-purple-900: #622ab2;--ds-color-brand-purple-1000: #4e228d;--ds-color-brand-pink-100: #fff7f8;--ds-color-brand-pink-200: #fde0e6;--ds-color-brand-pink-300: #fcc2ce;--ds-color-brand-pink-400: #fa9db0;--ds-color-brand-pink-500: #f7738e;--ds-color-brand-pink-600: #e45472;--ds-color-brand-pink-700: #bf475f;--ds-color-brand-pink-800: #a03b50;--ds-color-brand-pink-900: #833142;--ds-color-brand-pink-1000: #692734;--ds-color-brand-midnight-100: #c1daf0;--ds-color-brand-midnight-200: #569ed7;--ds-color-brand-midnight-300: #156fad;--ds-color-brand-midnight-400: #01426a;--ds-color-brand-midnight-500: #00274a;--ds-color-brand-atlas-100: #cde6ff;--ds-color-brand-atlas-200: #6bb7fb;--ds-color-brand-atlas-300: #2492eb;--ds-color-brand-atlas-400: #0074c8;--ds-color-brand-atlas-500: #054687;--ds-color-brand-atlas-400-opacity-20: rgba(0, 116, 200, 0.2);--ds-color-brand-breeze-100: #c0f7ff;--ds-color-brand-breeze-200: #5de3f7;--ds-color-brand-breeze-300: #00cff0;--ds-color-brand-breeze-400: #099dc5;--ds-color-brand-breeze-500: #0b5575;--ds-color-brand-breeze-300-opacity-30: rgba(0, 207, 240, 0.3);--ds-color-brand-tropical-100: #e2ffcd;--ds-color-brand-tropical-200: #d0fba6;--ds-color-brand-tropical-300: #c0e585;--ds-color-brand-tropical-400: #91be62;--ds-color-brand-tropical-500: #5e8741;--ds-color-brand-alpine-100: #bcaae6;--ds-color-brand-alpine-200: #9e73ea;--ds-color-brand-alpine-300: #8439ef;--ds-color-brand-alpine-400: #631db8;--ds-color-brand-alpine-500: #39115c;--ds-color-brand-flamingo-100: #ffebee;--ds-color-brand-flamingo-200: #ffc0ca;--ds-color-brand-flamingo-300: #ff94a7;--ds-color-brand-flamingo-400: #f65b7b;--ds-color-brand-flamingo-500: #b82b47;--ds-color-brand-canyon-100: #ffcab6;--ds-color-brand-canyon-200: #f99574;--ds-color-brand-canyon-300: #f26135;--ds-color-brand-canyon-400: #de3e09;--ds-color-brand-canyon-500: #b83302;--ds-color-brand-goldcoast-100: #fff0cd;--ds-color-brand-goldcoast-200: #ffdb67;--ds-color-brand-goldcoast-300: #ffd200;--ds-color-brand-goldcoast-400: #e5ad07;--ds-color-brand-goldcoast-500: #b88624;--ds-color-brand-goldgray-100: #c5c1bf;--ds-color-brand-goldgray-200: #726e6c;--ds-color-brand-gold-100: #ccbc94;--ds-color-brand-gold-200: #7f682e;--ds-color-brand-emerald: #139142;--ds-color-brand-sapphire: #015daa;--ds-color-brand-ruby: #a41d4a;--ds-color-brand-lounge: #01426a;--ds-color-brand-loungeplus: #53b390;--ds-color-container-accent-default: #f5fbeb;--ds-color-container-accent-inverse: #badd81;--ds-color-container-emphasis-default: #ebfafd;--ds-color-container-emphasis-inverse: #6ad5ef;--ds-color-container-error-default: #fff4f4;--ds-color-container-error-inverse: #74110e;--ds-color-container-info-default: #f0f7fd;--ds-color-container-info-inverse: #193d73;--ds-color-container-primary-default: #ffffff;--ds-color-container-primary-inverse: #0e2b4f;--ds-color-container-secondary-default: #f7f7f7;--ds-color-container-secondary-inverse: #194069;--ds-color-container-subtle-default: #f7f8fa;--ds-color-container-subtle-inverse: #393d43;--ds-color-container-success-default: #eef8f5;--ds-color-container-success-inverse: #173c30;--ds-color-container-tertiary-default: rgba(0, 0, 0, 0.03);--ds-color-container-tertiary-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-warning-default: #fef8e9;--ds-color-container-warning-inverse: #5d4514;--ds-color-container-ui-primary-active-default: #225296;--ds-color-container-ui-primary-active-inverse: #6ad5ef;--ds-color-container-ui-primary-default-default: #2c67b5;--ds-color-container-ui-primary-default-inverse: #56bbde;--ds-color-container-ui-primary-disabled-default: #a0c9f1;--ds-color-container-ui-primary-disabled-inverse: #275b72;--ds-color-container-ui-primary-focus-default: #2c67b5;--ds-color-container-ui-primary-focus-inverse: #56bbde;--ds-color-container-ui-primary-hover-default: #193d73;--ds-color-container-ui-primary-hover-inverse: #a8e9f7;--ds-color-container-ui-secondary-active-default: #f0f7fd;--ds-color-container-ui-secondary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-secondary-default-default: #ffffff;--ds-color-container-ui-secondary-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-disabled-default: #f7f7f7;--ds-color-container-ui-secondary-disabled-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-secondary-focus-default: #ffffff;--ds-color-container-ui-secondary-focus-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-hover-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-secondary-hover-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-active-default: rgba(0, 0, 0, 0.06);--ds-color-container-ui-tertiary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-tertiary-default-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-default-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-disabled-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-disabled-inverse: rgba(255, 255, 255, 0.25);--ds-color-container-ui-tertiary-focus-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-focus-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-hover-default: rgba(0, 0, 0, 0.12);--ds-color-container-ui-tertiary-hover-inverse: rgba(255, 255, 255, 0.25);--ds-color-icon-primary-default: #676767;--ds-color-icon-primary-inverse: #f7f7f7;--ds-color-icon-secondary-default: #7e8894;--ds-color-icon-secondary-inverse: #ccd2db;--ds-color-icon-tertiary-default: #afb9c6;--ds-color-icon-tertiary-inverse: #939fad;--ds-color-icon-emphasis-default: #2a2a2a;--ds-color-icon-emphasis-inverse: #ffffff;--ds-color-icon-accent-default: #a2c270;--ds-color-icon-accent-inverse: #badd81;--ds-color-icon-info-default: #326aa5;--ds-color-icon-info-inverse: #89b2d4;--ds-color-icon-error-default: #cc1816;--ds-color-icon-error-inverse: #f9aca6;--ds-color-icon-warning-default: #c49432;--ds-color-icon-warning-inverse: #f2c153;--ds-color-icon-success-default: #40a080;--ds-color-icon-success-inverse: #8eceb9;--ds-color-icon-subtle-default: #a0c9f1;--ds-color-icon-subtle-inverse: #326aa5;--ds-color-icon-ui-primary-default-default: #2c67b5;--ds-color-icon-ui-primary-default-inverse: #56bbde;--ds-color-icon-ui-primary-hover-default: #193d73;--ds-color-icon-ui-primary-hover-inverse: #a8e9f7;--ds-color-icon-ui-primary-active-default: #225296;--ds-color-icon-ui-primary-active-inverse: #6ad5ef;--ds-color-icon-ui-primary-disabled-default: #adadad;--ds-color-icon-ui-primary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-primary-focus-default: #2c67b5;--ds-color-icon-ui-primary-focus-inverse: #56bbde;--ds-color-icon-ui-secondary-active-default: #676767;--ds-color-icon-ui-secondary-active-inverse: #c5c5c5;--ds-color-icon-ui-secondary-default-default: #7e7e7e;--ds-color-icon-ui-secondary-default-inverse: #adadad;--ds-color-icon-ui-secondary-disabled-default: #adadad;--ds-color-icon-ui-secondary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-secondary-focus-default: #7e7e7e;--ds-color-icon-ui-secondary-focus-inverse: #adadad;--ds-color-icon-ui-secondary-hover-default: #525252;--ds-color-icon-ui-secondary-hover-inverse: #dddddd;--ds-color-icon-brand-red-default: #d03a08;--ds-color-icon-brand-red-inverse: #e9815e;--ds-color-icon-brand-yellow-default: #7c7140;--ds-color-icon-brand-yellow-inverse: #f9ce06;--ds-color-icon-brand-pink-default: #bf475f;--ds-color-icon-brand-pink-inverse: #f7738e;--ds-color-icon-brand-purple-default: #8d47f0;--ds-color-icon-brand-purple-inverse: #b588f5;--ds-color-icon-brand-lime-default: #647845;--ds-color-icon-brand-lime-inverse: #badd81;--ds-color-icon-brand-green-default: #3a7d64;--ds-color-icon-brand-green-inverse: #51ae8c;--ds-color-icon-brand-turquoise-default: #3d7a7d;--ds-color-icon-brand-turquoise-inverse: #7ba5a6;--ds-color-icon-brand-navy-default: #265688;--ds-color-icon-brand-navy-inverse: #6899c6;--ds-color-icon-brand-blue-default: #2c67b5;--ds-color-icon-brand-blue-inverse: #5398e6;--ds-color-icon-brand-cyan-default: #32718e;--ds-color-icon-brand-cyan-inverse: #6ad5ef;--ds-color-icon-brand-gray-default: #676767;--ds-color-icon-brand-gray-inverse: #c5c5c5;--ds-color-icon-brand-neutral-default: #6a717c;--ds-color-icon-brand-neutral-inverse: #afb9c6;--ds-color-icon-disabled-default: rgba(0, 0, 0, 0.15);--ds-color-text-primary-default: #2a2a2a;--ds-color-text-primary-inverse: #ffffff;--ds-color-text-secondary-default: #525252;--ds-color-text-secondary-inverse: #dddddd;--ds-color-text-tertiary-default: #6a717c;--ds-color-text-tertiary-inverse: #adadad;--ds-color-text-error-default: #cc1816;--ds-color-text-error-inverse: #f9aca6;--ds-color-text-emphasis-default: #265688;--ds-color-text-emphasis-inverse: #cfe0ef;--ds-color-text-accent-default: #647845;--ds-color-text-accent-inverse: #badd81;--ds-color-text-info-default: #326aa5;--ds-color-text-info-inverse: #acc9e2;--ds-color-text-subtle-default: #32718e;--ds-color-text-subtle-inverse: #56bbde;--ds-color-text-success-default: #0b6f4d;--ds-color-text-success-inverse: #8eceb9;--ds-color-text-ui-active-default: #225296;--ds-color-text-ui-active-inverse: #6ad5ef;--ds-color-text-ui-default-default: #2c67b5;--ds-color-text-ui-default-inverse: #56bbde;--ds-color-text-ui-disabled-default: #adadad;--ds-color-text-ui-disabled-inverse: #7e7e7e;--ds-color-text-ui-focus-default: #2c67b5;--ds-color-text-ui-focus-inverse: #56bbde;--ds-color-text-ui-hover-default: #193d73;--ds-color-text-ui-hover-inverse: #a8e9f7;--ds-color-text-link-default: #0074c8;--ds-color-text-link-inverse: #00cff0;--ds-color-tier-alaska-mvp-default: #726e6c;--ds-color-tier-alaska-mvp-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold-default: #7f682e;--ds-color-tier-alaska-mvpgold-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold75k-default: #7f682e;--ds-color-tier-alaska-mvpgold75k-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold100k-default: #7f682e;--ds-color-tier-alaska-mvpgold100k-inverse: #c5c1bf;--ds-color-tier-alaska-lounge: #01426a;--ds-color-tier-alaska-loungeplus: #53b390;--ds-color-tier-fare-business-default: #005154;--ds-color-tier-fare-business-inverse: #9fbdbe;--ds-color-tier-fare-economy-default: #2c67b5;--ds-color-tier-fare-economy-inverse: #a0c9f1;--ds-color-tier-fare-first-class-default: #002c4e;--ds-color-tier-fare-first-class-inverse: #89b2d4;--ds-color-tier-fare-saver-default: #4aa2c7;--ds-color-tier-fare-saver-inverse: #a8e9f7;--ds-color-tier-oneworld-emerald: #139142;--ds-color-tier-oneworld-sapphire: #015daa;--ds-color-tier-oneworld-ruby: #a41d4a;--ds-color-ui-default-default: #0074c8;--ds-color-ui-default-inverse: #00cff0;--ds-color-ui-hover-default: #054687;--ds-color-ui-hover-inverse: #5de3f7;--ds-color-ui-active-default: #054687;--ds-color-ui-active-inverse: #5de3f7;--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);--ds-color-utility-blue-default: #79b2ec;--ds-color-utility-blue-inverse: #c9e0f7;--ds-color-utility-cyan-default: #6ad5ef;--ds-color-utility-cyan-inverse: #a8e9f7;--ds-color-utility-green-default: #7ec6ac;--ds-color-utility-green-inverse: #addbca;--ds-color-utility-gray-default: #adadad;--ds-color-utility-gray-inverse: #dddddd;--ds-color-utility-lime-default: #badd81;--ds-color-utility-lime-inverse: #d8efb4;--ds-color-utility-navy-default: #265688;--ds-color-utility-navy-inverse: #acc9e2;--ds-color-utility-neutral-default: #7e8894;--ds-color-utility-neutral-inverse: #ccd2db;--ds-color-utility-pink-default: #f7738e;--ds-color-utility-pink-inverse: #fcc2ce;--ds-color-utility-purple-default: #8d47f0;--ds-color-utility-purple-inverse: #ddc9fb;--ds-color-utility-red-default: #e35c2f;--ds-color-utility-red-inverse: #f0a68d;--ds-color-utility-turquoise-default: #5c8f91;--ds-color-utility-turquoise-inverse: #9fbdbe;--ds-color-utility-yellow-default: #f9ce06;--ds-color-utility-yellow-inverse: #ffe87e;--ds-color-utility-error-default: #cc1816;--ds-color-utility-error-inverse: #f9aca6;--ds-color-utility-warning-default: #f2c153;--ds-color-utility-warning-inverse: #f2c153;--ds-color-utility-success-default: #0b6f4d;--ds-color-utility-success-inverse: #8eceb9}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([addSpace]) :host(:not([data-show])) .popover,:host(:not([data-show])) .popover,:host([disabled]) .popover{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}::slotted(*){white-space:normal}::slotted(*:hover){cursor:pointer}[data-trigger-placement]::slotted(*:hover){position:relative}[data-trigger-placement]::slotted(*:hover):before{position:absolute;left:0;display:block;width:100%;height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));content:""}[data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}[data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}:host([data-show]) .popover{z-index:var(--ds-depth-tooltip, 400)}:host([removeSpace]) .popover{margin:calc(-1*(var(--ds-size-50, 0.25rem) + 1px)) 0 !important}:host([addSpace]) .popover{margin:var(--ds-size-200, 1rem) 0 !important}:host([addSpace]) [data-trigger-placement]::slotted(*:hover):before{height:var(--ds-size-500, 2.5rem)}:host([addSpace]) [data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*var(--ds-size-500, 2.5rem))}:host([addSpace]) [data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*var(--ds-size-500, 2.5rem))}.popover{display:inline-block;max-width:calc(100% - var(--ds-size-400, 2rem));border-radius:var(--ds-border-radius, 0.375rem)}@media screen and (min-width: 576px){.popover{max-width:50%}}@media screen and (min-width: 768px){.popover{max-width:40%}}@media screen and (min-width: 1024px){.popover{max-width:27rem}}[data-popper-placement^=top]>.arrow{bottom:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=top]>.arrow:before{top:calc(-1*var(--ds-size-200, 1rem));left:calc(-1*var(--ds-size-75, 0.375rem));transform:rotate(45deg)}[data-popper-placement^=bottom]>.arrow{top:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=bottom]>.arrow:before{top:var(--ds-size-50, 0.25rem);right:calc(-1*var(--ds-size-200, 1rem));transform:rotate(-135deg)}.arrow{position:relative;margin-top:-var(--ds-size-100, 0.5rem)}.arrow:before{position:absolute;width:var(--ds-size-150, 0.75rem);height:var(--ds-size-150, 0.75rem);content:""}`;
|
|
7607
|
+
var styleCss$9 = i$6`:root{--ds-asset-font-circular-family-name: "AS Circular";--ds-asset-font-circular-filename: "ASCircularWeb";--ds-asset-font-circular-weight-light: "-Light";--ds-asset-font-circular-weight-medium: "-Medium";--ds-asset-font-circular-weight-book: "-Book";--ds-border-radius: 0.375rem;--ds-size-25: 0.125rem;--ds-size-50: 0.25rem;--ds-size-75: 0.375rem;--ds-size-100: 0.5rem;--ds-size-150: 0.75rem;--ds-size-200: 1rem;--ds-size-250: 1.25rem;--ds-size-300: 1.5rem;--ds-size-400: 2rem;--ds-size-500: 2.5rem;--ds-size-600: 3rem;--ds-size-700: 3.5rem;--ds-size-800: 4rem;--ds-size-900: 4.5rem;--ds-size-1000: 5rem;--ds-unitless-scale-20: 0.25;--ds-unitless-scale-50: 0.5;--ds-unitless-scale-100: 1;--ds-unitless-scale-140: 1.4;--ds-unitless-scale-150: 1.5;--ds-unitless-scale-200: 2;--ds-unitless-scale-300: 3;--ds-unitless-scale-350: 3.5;--ds-animation-default-property: all;--ds-animation-default-duration: 0.3s;--ds-animation-default-timing: ease-out;--ds-depth-overlay: 200;--ds-depth-modal: 300;--ds-depth-tooltip: 400;--ds-elevation-100: 0px 0px 5px rgba(0, 0, 0, 0.15);--ds-elevation-200: 0px 0px 10px rgba(0, 0, 0, 0.15);--ds-elevation-300: 0px 0px 15px rgba(0, 0, 0, 0.2);--ds-grid-breakpoint-xs: 320px;--ds-grid-breakpoint-sm: 576px;--ds-grid-breakpoint-md: 768px;--ds-grid-breakpoint-lg: 1024px;--ds-grid-breakpoint-xl: 1232px;--ds-grid-column-xs: 6;--ds-grid-column-sm: 12;--ds-grid-column-md: 12;--ds-grid-column-lg: 12;--ds-grid-column-xl: 12;--ds-grid-gutter-xs: 0.5rem;--ds-grid-gutter-sm: 1rem;--ds-grid-gutter-md: 1.5rem;--ds-grid-gutter-lg: 1.5rem;--ds-grid-gutter-xl: 2rem;--ds-grid-margin-xs: 1rem;--ds-grid-margin-sm: 1rem;--ds-grid-margin-md: 1.5rem;--ds-grid-margin-lg: 2rem;--ds-grid-margin-xl: 2rem;--ds-font-family-default: "AS Circular", Helvetica Neue, Arial, sans-serif;--ds-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace;--ds-text-heading-300-weight: 300;--ds-text-heading-300-px: 18px;--ds-text-heading-300-size: 1.125rem;--ds-text-heading-300-height: 1.625rem;--ds-text-heading-300-height-px: 26px;--ds-text-heading-400-weight: 300;--ds-text-heading-400-px: 20px;--ds-text-heading-400-size: 1.25rem;--ds-text-heading-400-height: 1.625rem;--ds-text-heading-400-height-px: 26px;--ds-text-heading-500-weight: 300;--ds-text-heading-500-px-breakpoint-sm: 22px;--ds-text-heading-500-px-breakpoint-md: 24px;--ds-text-heading-500-px-breakpoint-lg: 24px;--ds-text-heading-500-size-breakpoint-sm: 1.375rem;--ds-text-heading-500-size-breakpoint-md: 1.5rem;--ds-text-heading-500-size-breakpoint-lg: 1.5rem;--ds-text-heading-500-height-breakpoint-sm: 1.625rem;--ds-text-heading-500-height-breakpoint-px-sm: 26px;--ds-text-heading-500-height-breakpoint-md: 1.875rem;--ds-text-heading-500-height-breakpoint-px-md: 30px;--ds-text-heading-500-height-breakpoint-lg: 2rem;--ds-text-heading-500-height-breakpoint-px-lg: 32px;--ds-text-heading-600-weight: 300;--ds-text-heading-600-px-breakpoint-sm: 26px;--ds-text-heading-600-px-breakpoint-md: 28px;--ds-text-heading-600-px-breakpoint-lg: 28px;--ds-text-heading-600-size-breakpoint-sm: 1.625rem;--ds-text-heading-600-size-breakpoint-md: 1.75rem;--ds-text-heading-600-size-breakpoint-lg: 1.75rem;--ds-text-heading-600-height-breakpoint-sm: 1.875rem;--ds-text-heading-600-height-breakpoint-px-sm: 30px;--ds-text-heading-600-height-breakpoint-md: 2.125rem;--ds-text-heading-600-height-breakpoint-px-md: 34px;--ds-text-heading-600-height-breakpoint-lg: 2.25rem;--ds-text-heading-600-height-breakpoint-px-lg: 36px;--ds-text-heading-700-weight: 500;--ds-text-heading-700-px-breakpoint-sm: 28px;--ds-text-heading-700-px-breakpoint-md: 32px;--ds-text-heading-700-px-breakpoint-lg: 36px;--ds-text-heading-700-size-breakpoint-sm: 1.75rem;--ds-text-heading-700-size-breakpoint-md: 2rem;--ds-text-heading-700-size-breakpoint-lg: 2.25rem;--ds-text-heading-700-height-breakpoint-sm: 2.125rem;--ds-text-heading-700-height-breakpoint-px-sm: 34px;--ds-text-heading-700-height-breakpoint-md: 2.375rem;--ds-text-heading-700-height-breakpoint-px-md: 38px;--ds-text-heading-700-height-breakpoint-lg: 2.75rem;--ds-text-heading-700-height-breakpoint-px-lg: 44px;--ds-text-heading-800-weight: 500;--ds-text-heading-800-px-breakpoint-sm: 32px;--ds-text-heading-800-px-breakpoint-md: 36px;--ds-text-heading-800-px-breakpoint-lg: 40px;--ds-text-heading-800-size-breakpoint-sm: 2rem;--ds-text-heading-800-size-breakpoint-md: 2.25rem;--ds-text-heading-800-size-breakpoint-lg: 2.5rem;--ds-text-heading-800-height-breakpoint-sm: 2.375rem;--ds-text-heading-800-height-breakpoint-px-sm: 38px;--ds-text-heading-800-height-breakpoint-md: 2.625rem;--ds-text-heading-800-height-breakpoint-px-md: 42px;--ds-text-heading-800-height-breakpoint-lg: 3rem;--ds-text-heading-800-height-breakpoint-px-lg: 48px;--ds-text-heading-default-weight: 500;--ds-text-heading-default-margin: 0;--ds-text-heading-default-spacing: -0.2px;--ds-text-heading-medium-weight: 300;--ds-text-heading-display-weight: 100;--ds-text-heading-display-px-breakpoint-sm: 44px;--ds-text-heading-display-px-breakpoint-md: 48px;--ds-text-heading-display-px-breakpoint-lg: 56px;--ds-text-heading-display-size-breakpoint-sm: 2.75rem;--ds-text-heading-display-size-breakpoint-md: 3rem;--ds-text-heading-display-size-breakpoint-lg: 3.5rem;--ds-text-heading-display-height-breakpoint-sm: 3.375rem;--ds-text-heading-display-height-breakpoint-px-sm: 54px;--ds-text-heading-display-height-breakpoint-md: 3.75rem;--ds-text-heading-display-height-breakpoint-px-md: 60px;--ds-text-heading-display-height-breakpoint-lg: 4.25rem;--ds-text-heading-display-height-breakpoint-px-lg: 68px;--ds-text-body-default-weight: 500;--ds-text-body-size-xxs: 0.625rem;--ds-text-body-size-xs: 0.75rem;--ds-text-body-size-sm: 0.875rem;--ds-text-body-size-default: 1rem;--ds-text-body-size-lg: 1.125rem;--ds-text-body-height-xs: 1rem;--ds-text-body-height-sm: 1.25rem;--ds-text-body-height-default: 1.5rem;--ds-text-body-height-lg: 1.625rem;--ds-color-alert-notification-default: #0074c8;--ds-color-alert-warning-default: #de750c;--ds-color-alert-error-default: #df0b37;--ds-color-alert-success-default: #00805d;--ds-color-alert-advisory-default: #fff0cd;--ds-color-alert-bkg-success-default: #ddf6e8;--ds-color-alert-bkg-error-default: #ffedf1;--ds-color-background-primary-100-default: #ffffff;--ds-color-background-primary-100-inverse: #0e2b4f;--ds-color-background-primary-200-default: #f7f7f7;--ds-color-background-primary-200-inverse: #194069;--ds-color-background-primary-300-default: #e4e8ec;--ds-color-background-primary-300-inverse: #265688;--ds-color-background-primary-400-default: #dddddd;--ds-color-background-primary-400-inverse: #326aa5;--ds-color-background-success-default: #eef8f5;--ds-color-background-success-inverse: #173c30;--ds-color-background-error-default: #fff4f4;--ds-color-background-error-inverse: #74110e;--ds-color-background-warning-default: #fef8e9;--ds-color-background-warning-inverse: #5d4514;--ds-color-background-info-default: #f0f7fd;--ds-color-background-info-inverse: #193d73;--ds-color-background-subtle-default: #f7f8fa;--ds-color-background-subtle-inverse: #2a2a2a;--ds-color-background-accent-default: #ebfafd;--ds-color-background-accent-inverse: #275b72;--ds-color-background-emphasis-default: #c9e0f7;--ds-color-background-emphasis-inverse: #225296;--ds-color-background-scrimmed-default: rgba(0, 0, 0, 0.5);--ds-color-background-lightest: #ffffff;--ds-color-background-lighter: #f7f7f7;--ds-color-background-darker: #01426a;--ds-color-background-darkest: #00274a;--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));--ds-color-base-white: #ffffff;--ds-color-base-white-100: rgba(255, 255, 255, 0.03);--ds-color-base-white-200: rgba(255, 255, 255, 0.06);--ds-color-base-white-300: rgba(255, 255, 255, 0.12);--ds-color-base-white-400: rgba(255, 255, 255, 0.25);--ds-color-base-white-500: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4);--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0);--ds-color-base-black: #000000;--ds-color-base-black-100: rgba(0, 0, 0, 0.03);--ds-color-base-black-200: rgba(0, 0, 0, 0.06);--ds-color-base-black-300: rgba(0, 0, 0, 0.12);--ds-color-base-black-400: rgba(0, 0, 0, 0.25);--ds-color-base-black-500: rgba(0, 0, 0, 0.5);--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15);--ds-color-base-blue-100: #f0f7fd;--ds-color-base-blue-200: #c9e0f7;--ds-color-base-blue-300: #a0c9f1;--ds-color-base-blue-400: #79b2ec;--ds-color-base-blue-500: #5398e6;--ds-color-base-blue-600: #3b7fd2;--ds-color-base-blue-700: #2c67b5;--ds-color-base-blue-800: #225296;--ds-color-base-blue-900: #193d73;--ds-color-base-blue-1000: #102a51;--ds-color-base-cyan-100: #ebfafd;--ds-color-base-cyan-200: #a8e9f7;--ds-color-base-cyan-300: #6ad5ef;--ds-color-base-cyan-400: #56bbde;--ds-color-base-cyan-500: #4aa2c7;--ds-color-base-cyan-600: #3e89aa;--ds-color-base-cyan-700: #32718e;--ds-color-base-cyan-800: #275b72;--ds-color-base-cyan-900: #1d4658;--ds-color-base-cyan-1000: #12303d;--ds-color-base-error-100: #fff4f4;--ds-color-base-error-200: #f9aca6;--ds-color-base-error-300: #f16359;--ds-color-base-error-400: #cc1816;--ds-color-base-error-500: #74110e;--ds-color-base-gray-100: #f7f7f7;--ds-color-base-gray-200: #d4d4d4;--ds-color-base-gray-300: #c5c5c5;--ds-color-base-gray-400: #adadad;--ds-color-base-gray-500: #959595;--ds-color-base-gray-600: #7e7e7e;--ds-color-base-gray-700: #676767;--ds-color-base-gray-800: #525252;--ds-color-base-gray-900: #3d3d3d;--ds-color-base-gray-1000: #2a2a2a;--ds-color-base-green-100: #f3faf7;--ds-color-base-green-200: #000000;--ds-color-base-green-300: #addbca;--ds-color-base-green-400: #7ec6ac;--ds-color-base-green-500: #51ae8c;--ds-color-base-green-600: #459578;--ds-color-base-green-700: #3a7d64;--ds-color-base-green-800: #306854;--ds-color-base-green-900: #285545;--ds-color-base-green-1000: #1f4436;--ds-color-base-lime-100: #f5fbeb;--ds-color-base-lime-200: #d8efb4;--ds-color-base-lime-300: #badd81;--ds-color-base-lime-400: #a2c270;--ds-color-base-lime-500: #8ca761;--ds-color-base-lime-600: #778f53;--ds-color-base-lime-700: #647845;--ds-color-base-lime-800: #53643a;--ds-color-base-lime-900: #44522f;--ds-color-base-lime-1000: #364126;--ds-color-base-navy-100: #f2f7fb;--ds-color-base-navy-200: #cfe0ef;--ds-color-base-navy-300: #acc9e2;--ds-color-base-navy-400: #89b2d4;--ds-color-base-navy-500: #6899c6;--ds-color-base-navy-600: #4a82b7;--ds-color-base-navy-700: #326aa5;--ds-color-base-navy-800: #265688;--ds-color-base-navy-900: #194069;--ds-color-base-navy-1000: #0e2b4f;--ds-color-base-neutral-100: #f7f8fa;--ds-color-base-neutral-200: #e4e8ec;--ds-color-base-neutral-300: #ccd2db;--ds-color-base-neutral-400: #afb9c6;--ds-color-base-neutral-500: #939fad;--ds-color-base-neutral-600: #7e8894;--ds-color-base-neutral-700: #6a717c;--ds-color-base-neutral-800: #585e67;--ds-color-base-neutral-900: #484d55;--ds-color-base-neutral-1000: #393d43;--ds-color-base-pink-100: #fff7f8;--ds-color-base-pink-200: #fde0e6;--ds-color-base-pink-300: #fcc2ce;--ds-color-base-pink-400: #fa9db0;--ds-color-base-pink-500: #f7738e;--ds-color-base-pink-600: #e45472;--ds-color-base-pink-700: #bf475f;--ds-color-base-pink-800: #a03b50;--ds-color-base-pink-900: #833142;--ds-color-base-pink-1000: #692734;--ds-color-base-purple-100: #fbf8fe;--ds-color-base-purple-200: #ede3fd;--ds-color-base-purple-300: #ddc9fb;--ds-color-base-purple-400: #c9a9f8;--ds-color-base-purple-500: #b588f5;--ds-color-base-purple-600: #a268f3;--ds-color-base-purple-700: #8d47f0;--ds-color-base-purple-800: #7633d7;--ds-color-base-purple-900: #622ab2;--ds-color-base-purple-1000: #4e228d;--ds-color-base-red-100: #fef7f5;--ds-color-base-red-200: #fae2da;--ds-color-base-red-300: #f5c7b8;--ds-color-base-red-400: #f0a68d;--ds-color-base-red-500: #e9815e;--ds-color-base-red-600: #e35c2f;--ds-color-base-red-700: #d03a08;--ds-color-base-red-800: #ae3007;--ds-color-base-red-900: #902806;--ds-color-base-red-1000: #732005;--ds-color-base-success-100: #eef8f5;--ds-color-base-success-200: #8eceb9;--ds-color-base-success-300: #40a080;--ds-color-base-success-400: #0b6f4d;--ds-color-base-success-500: #173c30;--ds-color-base-turquoise-100: #f7fafa;--ds-color-base-turquoise-200: #dfe9ea;--ds-color-base-turquoise-300: #c2d5d6;--ds-color-base-turquoise-400: #9fbdbe;--ds-color-base-turquoise-500: #7ba5a6;--ds-color-base-turquoise-600: #5c8f91;--ds-color-base-turquoise-700: #3d7a7d;--ds-color-base-turquoise-800: #21686a;--ds-color-base-turquoise-900: #085659;--ds-color-base-turquoise-1000: #004447;--ds-color-base-yellow-100: #fff9df;--ds-color-base-yellow-200: #ffe87e;--ds-color-base-yellow-300: #f9ce06;--ds-color-base-yellow-400: #d6b622;--ds-color-base-yellow-500: #b49d35;--ds-color-base-yellow-600: #96873e;--ds-color-base-yellow-700: #7c7140;--ds-color-base-yellow-800: #665e3d;--ds-color-base-yellow-900: #524e38;--ds-color-base-yellow-1000: #403d30;--ds-color-base-warning-100: #fef8e9;--ds-color-base-warning-200: #f2c153;--ds-color-base-warning-300: #c49432;--ds-color-base-warning-400: #8e6b22;--ds-color-base-warning-500: #5d4514;--ds-color-state-error-100: #ff999b;--ds-color-state-error-500: #df0b37;--ds-color-state-success-100: #69cf96;--ds-color-state-success-500: #00805d;--ds-color-state-warning-500: #de750c;--ds-color-border-primary-default: #585e67;--ds-color-border-primary-inverse: #afb9c6;--ds-color-border-secondary-default: #939fad;--ds-color-border-secondary-inverse: #7e8894;--ds-color-border-tertiary-default: #dddddd;--ds-color-border-tertiary-inverse: #676767;--ds-color-border-error-default: #cc1816;--ds-color-border-error-inverse: #f9aca6;--ds-color-border-divider-default: rgba(0, 0, 0, 0.12);--ds-color-border-divider-inverse: rgba(255, 255, 255, 0.25);--ds-color-border-subtle-default: #f0f7fd;--ds-color-border-subtle-inverse: #326aa5;--ds-color-border-emphasis-default: #194069;--ds-color-border-emphasis-inverse: #f2f7fb;--ds-color-border-accent-default: #badd81;--ds-color-border-accent-inverse: #a2c270;--ds-color-border-success-default: #0b6f4d;--ds-color-border-success-inverse: #8eceb9;--ds-color-border-warning-default: #c49432;--ds-color-border-warning-inverse: #f2c153;--ds-color-border-info-default: #326aa5;--ds-color-border-info-inverse: #89b2d4;--ds-color-border-ui-default-default: #2c67b5;--ds-color-border-ui-default-inverse: #56bbde;--ds-color-border-ui-hover-default: #193d73;--ds-color-border-ui-hover-inverse: #a8e9f7;--ds-color-border-ui-active-default: #225296;--ds-color-border-ui-active-inverse: #6ad5ef;--ds-color-border-ui-focus-default: #2c67b5;--ds-color-border-ui-focus-inverse: #56bbde;--ds-color-border-ui-disabled-default: #adadad;--ds-color-border-ui-disabled-inverse: #7e7e7e;--ds-color-border-active-default: #0074c8;--ds-color-border-active-inverse: #00cff0;--ds-color-border-disabled-default: #d4d4d4;--ds-color-border-focus-default: #959595;--ds-color-brand-neutral-100: #f7f8fa;--ds-color-brand-neutral-200: #e4e8ec;--ds-color-brand-neutral-300: #ccd2db;--ds-color-brand-neutral-400: #afb9c6;--ds-color-brand-neutral-500: #939fad;--ds-color-brand-neutral-600: #7e8894;--ds-color-brand-neutral-700: #6a717c;--ds-color-brand-neutral-800: #585e67;--ds-color-brand-neutral-900: #484d55;--ds-color-brand-neutral-1000: #393d43;--ds-color-brand-gray-100: #f7f7f7;--ds-color-brand-gray-200: #dddddd;--ds-color-brand-gray-300: #c5c5c5;--ds-color-brand-gray-400: #adadad;--ds-color-brand-gray-500: #959595;--ds-color-brand-gray-600: #7e7e7e;--ds-color-brand-gray-700: #676767;--ds-color-brand-gray-800: #525252;--ds-color-brand-gray-900: #3d3d3d;--ds-color-brand-gray-1000: #2a2a2a;--ds-color-brand-red-100: #fef7f5;--ds-color-brand-red-200: #fae2da;--ds-color-brand-red-300: #f5c7b8;--ds-color-brand-red-400: #f0a68d;--ds-color-brand-red-500: #e9815e;--ds-color-brand-red-600: #e35c2f;--ds-color-brand-red-700: #d03a08;--ds-color-brand-red-800: #ae3007;--ds-color-brand-red-900: #902806;--ds-color-brand-red-1000: #732005;--ds-color-brand-yellow-100: #fff9df;--ds-color-brand-yellow-200: #ffe87e;--ds-color-brand-yellow-300: #f9ce06;--ds-color-brand-yellow-400: #d6b622;--ds-color-brand-yellow-500: #b49d35;--ds-color-brand-yellow-600: #96873e;--ds-color-brand-yellow-700: #7c7140;--ds-color-brand-yellow-800: #665e3d;--ds-color-brand-yellow-900: #524e38;--ds-color-brand-yellow-1000: #403d30;--ds-color-brand-lime-100: #f5fbeb;--ds-color-brand-lime-200: #d8efb4;--ds-color-brand-lime-300: #badd81;--ds-color-brand-lime-400: #a2c270;--ds-color-brand-lime-500: #8ca761;--ds-color-brand-lime-600: #778f53;--ds-color-brand-lime-700: #647845;--ds-color-brand-lime-800: #53643a;--ds-color-brand-lime-900: #44522f;--ds-color-brand-lime-1000: #364126;--ds-color-brand-green-100: #f3faf7;--ds-color-brand-green-200: #d4ece4;--ds-color-brand-green-300: #addbca;--ds-color-brand-green-400: #7ec6ac;--ds-color-brand-green-500: #51ae8c;--ds-color-brand-green-600: #459578;--ds-color-brand-green-700: #3a7d64;--ds-color-brand-green-800: #306854;--ds-color-brand-green-900: #285545;--ds-color-brand-green-1000: #1f4436;--ds-color-brand-turquoise-100: #f7fafa;--ds-color-brand-turquoise-200: #dfe9ea;--ds-color-brand-turquoise-300: #c2d5d6;--ds-color-brand-turquoise-400: #9fbdbe;--ds-color-brand-turquoise-500: #7ba5a6;--ds-color-brand-turquoise-600: #5c8f91;--ds-color-brand-turquoise-700: #3d7a7d;--ds-color-brand-turquoise-800: #21686a;--ds-color-brand-turquoise-900: #085659;--ds-color-brand-turquoise-1000: #004447;--ds-color-brand-cyan-100: #ebfafd;--ds-color-brand-cyan-200: #a8e9f7;--ds-color-brand-cyan-300: #6ad5ef;--ds-color-brand-cyan-400: #56bbde;--ds-color-brand-cyan-500: #4aa2c7;--ds-color-brand-cyan-600: #3e89aa;--ds-color-brand-cyan-700: #32718e;--ds-color-brand-cyan-800: #275b72;--ds-color-brand-cyan-900: #1d4658;--ds-color-brand-cyan-1000: #12303d;--ds-color-brand-blue-100: #f0f7fd;--ds-color-brand-blue-200: #c9e0f7;--ds-color-brand-blue-300: #a0c9f1;--ds-color-brand-blue-400: #79b2ec;--ds-color-brand-blue-500: #5398e6;--ds-color-brand-blue-600: #3b7fd2;--ds-color-brand-blue-700: #2c67b5;--ds-color-brand-blue-800: #225296;--ds-color-brand-blue-900: #193d73;--ds-color-brand-blue-1000: #102a51;--ds-color-brand-navy-100: #f2f7fb;--ds-color-brand-navy-200: #cfe0ef;--ds-color-brand-navy-300: #acc9e2;--ds-color-brand-navy-400: #89b2d4;--ds-color-brand-navy-500: #6899c6;--ds-color-brand-navy-600: #4a82b7;--ds-color-brand-navy-700: #326aa5;--ds-color-brand-navy-800: #265688;--ds-color-brand-navy-900: #194069;--ds-color-brand-navy-1000: #0e2b4f;--ds-color-brand-purple-100: #fbf8fe;--ds-color-brand-purple-200: #ede3fd;--ds-color-brand-purple-300: #ddc9fb;--ds-color-brand-purple-400: #c9a9f8;--ds-color-brand-purple-500: #b588f5;--ds-color-brand-purple-600: #a268f3;--ds-color-brand-purple-700: #8d47f0;--ds-color-brand-purple-800: #7633d7;--ds-color-brand-purple-900: #622ab2;--ds-color-brand-purple-1000: #4e228d;--ds-color-brand-pink-100: #fff7f8;--ds-color-brand-pink-200: #fde0e6;--ds-color-brand-pink-300: #fcc2ce;--ds-color-brand-pink-400: #fa9db0;--ds-color-brand-pink-500: #f7738e;--ds-color-brand-pink-600: #e45472;--ds-color-brand-pink-700: #bf475f;--ds-color-brand-pink-800: #a03b50;--ds-color-brand-pink-900: #833142;--ds-color-brand-pink-1000: #692734;--ds-color-brand-midnight-100: #c1daf0;--ds-color-brand-midnight-200: #569ed7;--ds-color-brand-midnight-300: #156fad;--ds-color-brand-midnight-400: #01426a;--ds-color-brand-midnight-500: #00274a;--ds-color-brand-atlas-100: #cde6ff;--ds-color-brand-atlas-200: #6bb7fb;--ds-color-brand-atlas-300: #2492eb;--ds-color-brand-atlas-400: #0074c8;--ds-color-brand-atlas-500: #054687;--ds-color-brand-atlas-400-opacity-20: rgba(0, 116, 200, 0.2);--ds-color-brand-breeze-100: #c0f7ff;--ds-color-brand-breeze-200: #5de3f7;--ds-color-brand-breeze-300: #00cff0;--ds-color-brand-breeze-400: #099dc5;--ds-color-brand-breeze-500: #0b5575;--ds-color-brand-breeze-300-opacity-30: rgba(0, 207, 240, 0.3);--ds-color-brand-tropical-100: #e2ffcd;--ds-color-brand-tropical-200: #d0fba6;--ds-color-brand-tropical-300: #c0e585;--ds-color-brand-tropical-400: #91be62;--ds-color-brand-tropical-500: #5e8741;--ds-color-brand-alpine-100: #bcaae6;--ds-color-brand-alpine-200: #9e73ea;--ds-color-brand-alpine-300: #8439ef;--ds-color-brand-alpine-400: #631db8;--ds-color-brand-alpine-500: #39115c;--ds-color-brand-flamingo-100: #ffebee;--ds-color-brand-flamingo-200: #ffc0ca;--ds-color-brand-flamingo-300: #ff94a7;--ds-color-brand-flamingo-400: #f65b7b;--ds-color-brand-flamingo-500: #b82b47;--ds-color-brand-canyon-100: #ffcab6;--ds-color-brand-canyon-200: #f99574;--ds-color-brand-canyon-300: #f26135;--ds-color-brand-canyon-400: #de3e09;--ds-color-brand-canyon-500: #b83302;--ds-color-brand-goldcoast-100: #fff0cd;--ds-color-brand-goldcoast-200: #ffdb67;--ds-color-brand-goldcoast-300: #ffd200;--ds-color-brand-goldcoast-400: #e5ad07;--ds-color-brand-goldcoast-500: #b88624;--ds-color-brand-goldgray-100: #c5c1bf;--ds-color-brand-goldgray-200: #726e6c;--ds-color-brand-gold-100: #ccbc94;--ds-color-brand-gold-200: #7f682e;--ds-color-brand-emerald: #139142;--ds-color-brand-sapphire: #015daa;--ds-color-brand-ruby: #a41d4a;--ds-color-brand-lounge: #01426a;--ds-color-brand-loungeplus: #53b390;--ds-color-container-accent-default: #f5fbeb;--ds-color-container-accent-inverse: #badd81;--ds-color-container-emphasis-default: #ebfafd;--ds-color-container-emphasis-inverse: #6ad5ef;--ds-color-container-error-default: #fff4f4;--ds-color-container-error-inverse: #74110e;--ds-color-container-info-default: #f0f7fd;--ds-color-container-info-inverse: #193d73;--ds-color-container-primary-default: #ffffff;--ds-color-container-primary-inverse: #0e2b4f;--ds-color-container-secondary-default: #f7f7f7;--ds-color-container-secondary-inverse: #194069;--ds-color-container-subtle-default: #f7f8fa;--ds-color-container-subtle-inverse: #393d43;--ds-color-container-success-default: #eef8f5;--ds-color-container-success-inverse: #173c30;--ds-color-container-tertiary-default: rgba(0, 0, 0, 0.03);--ds-color-container-tertiary-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-warning-default: #fef8e9;--ds-color-container-warning-inverse: #5d4514;--ds-color-container-ui-primary-active-default: #225296;--ds-color-container-ui-primary-active-inverse: #6ad5ef;--ds-color-container-ui-primary-default-default: #2c67b5;--ds-color-container-ui-primary-default-inverse: #56bbde;--ds-color-container-ui-primary-disabled-default: #a0c9f1;--ds-color-container-ui-primary-disabled-inverse: #275b72;--ds-color-container-ui-primary-focus-default: #2c67b5;--ds-color-container-ui-primary-focus-inverse: #56bbde;--ds-color-container-ui-primary-hover-default: #193d73;--ds-color-container-ui-primary-hover-inverse: #a8e9f7;--ds-color-container-ui-secondary-active-default: #f0f7fd;--ds-color-container-ui-secondary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-secondary-default-default: #ffffff;--ds-color-container-ui-secondary-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-disabled-default: #f7f7f7;--ds-color-container-ui-secondary-disabled-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-secondary-focus-default: #ffffff;--ds-color-container-ui-secondary-focus-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-hover-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-secondary-hover-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-active-default: rgba(0, 0, 0, 0.06);--ds-color-container-ui-tertiary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-tertiary-default-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-default-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-disabled-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-disabled-inverse: rgba(255, 255, 255, 0.25);--ds-color-container-ui-tertiary-focus-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-focus-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-hover-default: rgba(0, 0, 0, 0.12);--ds-color-container-ui-tertiary-hover-inverse: rgba(255, 255, 255, 0.25);--ds-color-icon-primary-default: #676767;--ds-color-icon-primary-inverse: #f7f7f7;--ds-color-icon-secondary-default: #7e8894;--ds-color-icon-secondary-inverse: #ccd2db;--ds-color-icon-tertiary-default: #afb9c6;--ds-color-icon-tertiary-inverse: #939fad;--ds-color-icon-emphasis-default: #2a2a2a;--ds-color-icon-emphasis-inverse: #ffffff;--ds-color-icon-accent-default: #a2c270;--ds-color-icon-accent-inverse: #badd81;--ds-color-icon-info-default: #326aa5;--ds-color-icon-info-inverse: #89b2d4;--ds-color-icon-error-default: #cc1816;--ds-color-icon-error-inverse: #f9aca6;--ds-color-icon-warning-default: #c49432;--ds-color-icon-warning-inverse: #f2c153;--ds-color-icon-success-default: #40a080;--ds-color-icon-success-inverse: #8eceb9;--ds-color-icon-subtle-default: #a0c9f1;--ds-color-icon-subtle-inverse: #326aa5;--ds-color-icon-ui-primary-default-default: #2c67b5;--ds-color-icon-ui-primary-default-inverse: #56bbde;--ds-color-icon-ui-primary-hover-default: #193d73;--ds-color-icon-ui-primary-hover-inverse: #a8e9f7;--ds-color-icon-ui-primary-active-default: #225296;--ds-color-icon-ui-primary-active-inverse: #6ad5ef;--ds-color-icon-ui-primary-disabled-default: #adadad;--ds-color-icon-ui-primary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-primary-focus-default: #2c67b5;--ds-color-icon-ui-primary-focus-inverse: #56bbde;--ds-color-icon-ui-secondary-active-default: #676767;--ds-color-icon-ui-secondary-active-inverse: #c5c5c5;--ds-color-icon-ui-secondary-default-default: #7e7e7e;--ds-color-icon-ui-secondary-default-inverse: #adadad;--ds-color-icon-ui-secondary-disabled-default: #adadad;--ds-color-icon-ui-secondary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-secondary-focus-default: #7e7e7e;--ds-color-icon-ui-secondary-focus-inverse: #adadad;--ds-color-icon-ui-secondary-hover-default: #525252;--ds-color-icon-ui-secondary-hover-inverse: #dddddd;--ds-color-icon-brand-red-default: #d03a08;--ds-color-icon-brand-red-inverse: #e9815e;--ds-color-icon-brand-yellow-default: #7c7140;--ds-color-icon-brand-yellow-inverse: #f9ce06;--ds-color-icon-brand-pink-default: #bf475f;--ds-color-icon-brand-pink-inverse: #f7738e;--ds-color-icon-brand-purple-default: #8d47f0;--ds-color-icon-brand-purple-inverse: #b588f5;--ds-color-icon-brand-lime-default: #647845;--ds-color-icon-brand-lime-inverse: #badd81;--ds-color-icon-brand-green-default: #3a7d64;--ds-color-icon-brand-green-inverse: #51ae8c;--ds-color-icon-brand-turquoise-default: #3d7a7d;--ds-color-icon-brand-turquoise-inverse: #7ba5a6;--ds-color-icon-brand-navy-default: #265688;--ds-color-icon-brand-navy-inverse: #6899c6;--ds-color-icon-brand-blue-default: #2c67b5;--ds-color-icon-brand-blue-inverse: #5398e6;--ds-color-icon-brand-cyan-default: #32718e;--ds-color-icon-brand-cyan-inverse: #6ad5ef;--ds-color-icon-brand-gray-default: #676767;--ds-color-icon-brand-gray-inverse: #c5c5c5;--ds-color-icon-brand-neutral-default: #6a717c;--ds-color-icon-brand-neutral-inverse: #afb9c6;--ds-color-icon-disabled-default: rgba(0, 0, 0, 0.15);--ds-color-text-primary-default: #2a2a2a;--ds-color-text-primary-inverse: #ffffff;--ds-color-text-secondary-default: #525252;--ds-color-text-secondary-inverse: #dddddd;--ds-color-text-tertiary-default: #6a717c;--ds-color-text-tertiary-inverse: #adadad;--ds-color-text-error-default: #cc1816;--ds-color-text-error-inverse: #f9aca6;--ds-color-text-emphasis-default: #265688;--ds-color-text-emphasis-inverse: #cfe0ef;--ds-color-text-accent-default: #647845;--ds-color-text-accent-inverse: #badd81;--ds-color-text-info-default: #326aa5;--ds-color-text-info-inverse: #acc9e2;--ds-color-text-subtle-default: #32718e;--ds-color-text-subtle-inverse: #56bbde;--ds-color-text-success-default: #0b6f4d;--ds-color-text-success-inverse: #8eceb9;--ds-color-text-ui-active-default: #225296;--ds-color-text-ui-active-inverse: #6ad5ef;--ds-color-text-ui-default-default: #2c67b5;--ds-color-text-ui-default-inverse: #56bbde;--ds-color-text-ui-disabled-default: #adadad;--ds-color-text-ui-disabled-inverse: #7e7e7e;--ds-color-text-ui-focus-default: #2c67b5;--ds-color-text-ui-focus-inverse: #56bbde;--ds-color-text-ui-hover-default: #193d73;--ds-color-text-ui-hover-inverse: #a8e9f7;--ds-color-text-link-default: #0074c8;--ds-color-text-link-inverse: #00cff0;--ds-color-tier-alaska-mvp-default: #726e6c;--ds-color-tier-alaska-mvp-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold-default: #7f682e;--ds-color-tier-alaska-mvpgold-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold75k-default: #7f682e;--ds-color-tier-alaska-mvpgold75k-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold100k-default: #7f682e;--ds-color-tier-alaska-mvpgold100k-inverse: #c5c1bf;--ds-color-tier-alaska-lounge: #01426a;--ds-color-tier-alaska-loungeplus: #53b390;--ds-color-tier-fare-business-default: #005154;--ds-color-tier-fare-business-inverse: #9fbdbe;--ds-color-tier-fare-economy-default: #2c67b5;--ds-color-tier-fare-economy-inverse: #a0c9f1;--ds-color-tier-fare-first-class-default: #002c4e;--ds-color-tier-fare-first-class-inverse: #89b2d4;--ds-color-tier-fare-saver-default: #4aa2c7;--ds-color-tier-fare-saver-inverse: #a8e9f7;--ds-color-tier-oneworld-emerald: #139142;--ds-color-tier-oneworld-sapphire: #015daa;--ds-color-tier-oneworld-ruby: #a41d4a;--ds-color-ui-default-default: #0074c8;--ds-color-ui-default-inverse: #00cff0;--ds-color-ui-hover-default: #054687;--ds-color-ui-hover-inverse: #5de3f7;--ds-color-ui-active-default: #054687;--ds-color-ui-active-inverse: #5de3f7;--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);--ds-color-utility-blue-default: #79b2ec;--ds-color-utility-blue-inverse: #c9e0f7;--ds-color-utility-cyan-default: #6ad5ef;--ds-color-utility-cyan-inverse: #a8e9f7;--ds-color-utility-green-default: #7ec6ac;--ds-color-utility-green-inverse: #addbca;--ds-color-utility-gray-default: #adadad;--ds-color-utility-gray-inverse: #dddddd;--ds-color-utility-lime-default: #badd81;--ds-color-utility-lime-inverse: #d8efb4;--ds-color-utility-navy-default: #265688;--ds-color-utility-navy-inverse: #acc9e2;--ds-color-utility-neutral-default: #7e8894;--ds-color-utility-neutral-inverse: #ccd2db;--ds-color-utility-pink-default: #f7738e;--ds-color-utility-pink-inverse: #fcc2ce;--ds-color-utility-purple-default: #8d47f0;--ds-color-utility-purple-inverse: #ddc9fb;--ds-color-utility-red-default: #e35c2f;--ds-color-utility-red-inverse: #f0a68d;--ds-color-utility-turquoise-default: #5c8f91;--ds-color-utility-turquoise-inverse: #9fbdbe;--ds-color-utility-yellow-default: #f9ce06;--ds-color-utility-yellow-inverse: #ffe87e;--ds-color-utility-error-default: #cc1816;--ds-color-utility-error-inverse: #f9aca6;--ds-color-utility-warning-default: #f2c153;--ds-color-utility-warning-inverse: #f2c153;--ds-color-utility-success-default: #0b6f4d;--ds-color-utility-success-inverse: #8eceb9}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([addSpace]) :host(:not([data-show])) .popover,:host(:not([data-show])) .popover,:host([disabled]) .popover{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}::slotted(*){white-space:normal}::slotted(*:hover){cursor:pointer}[data-trigger-placement]::slotted(*:hover){position:relative}[data-trigger-placement]::slotted(*:hover):before{position:absolute;left:0;display:block;width:100%;height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));content:""}[data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}[data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}:host([data-show]) .popover{z-index:var(--ds-depth-tooltip, 400)}:host([removeSpace]) .popover{margin:calc(-1*(var(--ds-size-50, 0.25rem) + 1px)) 0 !important}:host([addSpace]) .popover{margin:var(--ds-size-200, 1rem) 0 !important}:host([addSpace]) [data-trigger-placement]::slotted(*:hover):before{height:var(--ds-size-500, 2.5rem)}:host([addSpace]) [data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*var(--ds-size-500, 2.5rem))}:host([addSpace]) [data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*var(--ds-size-500, 2.5rem))}.popover{display:inline-block;max-width:calc(100% - var(--ds-size-400, 2rem));border-radius:var(--ds-border-radius, 0.375rem)}@media screen and (min-width: 576px){.popover{max-width:50%}}@media screen and (min-width: 768px){.popover{max-width:40%}}@media screen and (min-width: 1024px){.popover{max-width:27rem}}[data-popper-placement^=top]>.arrow{bottom:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=top]>.arrow:before{top:calc(-1*var(--ds-size-200, 1rem));left:calc(-1*var(--ds-size-75, 0.375rem));transform:rotate(45deg)}[data-popper-placement^=bottom]>.arrow{top:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=bottom]>.arrow:before{top:var(--ds-size-50, 0.25rem);right:calc(-1*var(--ds-size-200, 1rem));transform:rotate(-135deg)}.arrow{position:relative;margin-top:-var(--ds-size-100, 0.5rem)}.arrow:before{position:absolute;width:var(--ds-size-150, 0.75rem);height:var(--ds-size-150, 0.75rem);content:""}`;
|
|
7608
7608
|
|
|
7609
|
-
var colorCss$
|
|
7609
|
+
var colorCss$9 = i$6`::slotted(*){color:var(--ds-auro-popover-text-color)}.popover{background-color:var(--ds-auro-popover-container-color);box-shadow:var(--ds-auro-popover-boxshadow-color)}.arrow:before{background-color:var(--ds-auro-popover-container-color);box-shadow:2px 2px 1px 0 var(--ds-auro-popover-boxshadow-color)}`;
|
|
7610
7610
|
|
|
7611
|
-
var tokensCss$
|
|
7611
|
+
var tokensCss$9 = i$6`:host{--ds-auro-popover-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
7612
7612
|
|
|
7613
7613
|
var top = 'top';
|
|
7614
7614
|
var bottom = 'bottom';
|
|
@@ -9499,7 +9499,7 @@ class AuroPopover extends r$1 {
|
|
|
9499
9499
|
privateDefaults() {
|
|
9500
9500
|
this.isPopoverVisible = false;
|
|
9501
9501
|
this.id = `popover-${(Math.random() + 1).toString(36).substring(7)}`;
|
|
9502
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
9502
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$9();
|
|
9503
9503
|
}
|
|
9504
9504
|
|
|
9505
9505
|
// function to define props used within the scope of this component
|
|
@@ -9514,9 +9514,9 @@ class AuroPopover extends r$1 {
|
|
|
9514
9514
|
|
|
9515
9515
|
static get styles() {
|
|
9516
9516
|
return [
|
|
9517
|
-
i$6`${styleCss$
|
|
9518
|
-
i$6`${colorCss$
|
|
9519
|
-
i$6`${tokensCss$
|
|
9517
|
+
i$6`${styleCss$9}`,
|
|
9518
|
+
i$6`${colorCss$9}`,
|
|
9519
|
+
i$6`${tokensCss$9}`
|
|
9520
9520
|
];
|
|
9521
9521
|
}
|
|
9522
9522
|
|
|
@@ -9529,7 +9529,7 @@ class AuroPopover extends r$1 {
|
|
|
9529
9529
|
*
|
|
9530
9530
|
*/
|
|
9531
9531
|
static register(name = "auro-popover") {
|
|
9532
|
-
AuroLibraryRuntimeUtils$
|
|
9532
|
+
AuroLibraryRuntimeUtils$9.prototype.registerComponent(name, AuroPopover);
|
|
9533
9533
|
}
|
|
9534
9534
|
|
|
9535
9535
|
connectedCallback() {
|
|
@@ -9673,7 +9673,7 @@ class AuroPopover extends r$1 {
|
|
|
9673
9673
|
}
|
|
9674
9674
|
}
|
|
9675
9675
|
|
|
9676
|
-
var popoverVersion = '4.1.
|
|
9676
|
+
var popoverVersion = '4.1.3';
|
|
9677
9677
|
|
|
9678
9678
|
/* eslint-disable max-lines, no-underscore-dangle, no-magic-numbers, no-underscore-dangle, max-params, no-void, init-declarations, no-extra-parens, arrow-parens, max-lines, line-comment-position, no-inline-comments, lit/binding-positions, lit/no-invalid-html */
|
|
9679
9679
|
|
|
@@ -9697,13 +9697,13 @@ class AuroCalendarCell extends r$3 {
|
|
|
9697
9697
|
this.dateStr = null;
|
|
9698
9698
|
this.renderForDateSlot = false; // When false, the numerical date will render vertically centered. When true, the date will render off-center to the top and leave room below for the slot content.
|
|
9699
9699
|
|
|
9700
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
9700
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$9();
|
|
9701
9701
|
|
|
9702
9702
|
/**
|
|
9703
9703
|
* Generate unique names for dependency components.
|
|
9704
9704
|
*/
|
|
9705
|
-
const versioning = new AuroDependencyVersioning$
|
|
9706
|
-
this.popoverTag = versioning.generateTag('auro-popover', popoverVersion, AuroPopover);
|
|
9705
|
+
const versioning = new AuroDependencyVersioning$5();
|
|
9706
|
+
this.popoverTag = versioning.generateTag('auro-formkit-datepicker-popover', popoverVersion, AuroPopover);
|
|
9707
9707
|
}
|
|
9708
9708
|
|
|
9709
9709
|
// This function is to define props used within the scope of this component
|
|
@@ -9743,9 +9743,9 @@ class AuroCalendarCell extends r$3 {
|
|
|
9743
9743
|
static get styles() {
|
|
9744
9744
|
return [
|
|
9745
9745
|
// ...super.styles,
|
|
9746
|
-
styleCss$
|
|
9747
|
-
colorCss$
|
|
9748
|
-
tokensCss$
|
|
9746
|
+
styleCss$a,
|
|
9747
|
+
colorCss$a,
|
|
9748
|
+
tokensCss$a
|
|
9749
9749
|
];
|
|
9750
9750
|
}
|
|
9751
9751
|
|
|
@@ -9972,8 +9972,8 @@ class AuroCalendarCell extends r$3 {
|
|
|
9972
9972
|
}
|
|
9973
9973
|
|
|
9974
9974
|
firstUpdated() {
|
|
9975
|
-
const calendarMonth = this.runtimeUtils.closestElement('auro-calendar-month', this);
|
|
9976
|
-
const calendar = this.runtimeUtils.closestElement('auro-calendar', calendarMonth);
|
|
9975
|
+
const calendarMonth = this.runtimeUtils.closestElement('auro-formkit-calendar-month', this);
|
|
9976
|
+
const calendar = this.runtimeUtils.closestElement('auro-formkit-calendar', calendarMonth);
|
|
9977
9977
|
|
|
9978
9978
|
if (!calendar) {
|
|
9979
9979
|
setTimeout(() => this.firstUpdated(), 0);
|
|
@@ -10036,8 +10036,8 @@ class AuroCalendarCell extends r$3 {
|
|
|
10036
10036
|
}
|
|
10037
10037
|
}
|
|
10038
10038
|
|
|
10039
|
-
if (!customElements.get('auro-calendar-cell')) {
|
|
10040
|
-
customElements.define('auro-calendar-cell', AuroCalendarCell);
|
|
10039
|
+
if (!customElements.get('auro-formkit-calendar-cell')) {
|
|
10040
|
+
customElements.define('auro-formkit-calendar-cell', AuroCalendarCell);
|
|
10041
10041
|
}
|
|
10042
10042
|
|
|
10043
10043
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
@@ -10048,9 +10048,9 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
10048
10048
|
static get styles() {
|
|
10049
10049
|
return [
|
|
10050
10050
|
// ...super.styles,
|
|
10051
|
-
styleCss$
|
|
10052
|
-
colorCss$
|
|
10053
|
-
tokensCss$
|
|
10051
|
+
styleCss$b,
|
|
10052
|
+
colorCss$b,
|
|
10053
|
+
tokensCss$a
|
|
10054
10054
|
];
|
|
10055
10055
|
}
|
|
10056
10056
|
|
|
@@ -10125,7 +10125,7 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
10125
10125
|
<div class="td ${this.tdIsEnabled(day)}">
|
|
10126
10126
|
${day
|
|
10127
10127
|
? x`
|
|
10128
|
-
<auro-calendar-cell
|
|
10128
|
+
<auro-formkit-calendar-cell
|
|
10129
10129
|
.disabledDays="${this.disabledDays}"
|
|
10130
10130
|
.min="${this.min}"
|
|
10131
10131
|
.max="${this.max}"
|
|
@@ -10139,7 +10139,7 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
10139
10139
|
@date-is-selected="${this.handleDateSelected}"
|
|
10140
10140
|
@date-is-hovered="${this.handleDateHovered}"
|
|
10141
10141
|
>
|
|
10142
|
-
</auro-calendar-cell>
|
|
10142
|
+
</auro-formkit-calendar-cell>
|
|
10143
10143
|
`
|
|
10144
10144
|
: null}
|
|
10145
10145
|
</div>
|
|
@@ -10183,8 +10183,8 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
10183
10183
|
/* eslint-enable */
|
|
10184
10184
|
}
|
|
10185
10185
|
|
|
10186
|
-
if (!customElements.get('auro-calendar-month')) {
|
|
10187
|
-
customElements.define('auro-calendar-month', AuroCalendarMonth);
|
|
10186
|
+
if (!customElements.get('auro-formkit-calendar-month')) {
|
|
10187
|
+
customElements.define('auro-formkit-calendar-month', AuroCalendarMonth);
|
|
10188
10188
|
}
|
|
10189
10189
|
|
|
10190
10190
|
/* eslint-disable no-underscore-dangle, no-magic-numbers, no-underscore-dangle, no-void, init-declarations, no-extra-parens, no-unused-expressions */
|
|
@@ -10597,7 +10597,7 @@ var tokenCss = i$6`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
10597
10597
|
|
|
10598
10598
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10599
10599
|
|
|
10600
|
-
let AuroLibraryRuntimeUtils$
|
|
10600
|
+
let AuroLibraryRuntimeUtils$2$2 = class AuroLibraryRuntimeUtils {
|
|
10601
10601
|
|
|
10602
10602
|
/* eslint-disable jsdoc/require-param */
|
|
10603
10603
|
|
|
@@ -10664,7 +10664,7 @@ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
|
10664
10664
|
// See LICENSE in the project root for license information.
|
|
10665
10665
|
|
|
10666
10666
|
|
|
10667
|
-
let AuroDependencyVersioning$
|
|
10667
|
+
let AuroDependencyVersioning$4 = class AuroDependencyVersioning {
|
|
10668
10668
|
|
|
10669
10669
|
/**
|
|
10670
10670
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -10847,9 +10847,79 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
10847
10847
|
}
|
|
10848
10848
|
};
|
|
10849
10849
|
|
|
10850
|
-
var tokensCss$
|
|
10850
|
+
var tokensCss$8 = i$6`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
10851
|
+
|
|
10852
|
+
var colorCss$8 = i$6`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color:var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color:var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color:var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color:var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color:var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color:var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color:var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
10853
|
+
|
|
10854
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10855
|
+
// See LICENSE in the project root for license information.
|
|
10856
|
+
|
|
10857
|
+
// ---------------------------------------------------------------------
|
|
10858
|
+
|
|
10859
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10860
|
+
|
|
10861
|
+
let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
|
|
10862
|
+
|
|
10863
|
+
/* eslint-disable jsdoc/require-param */
|
|
10864
|
+
|
|
10865
|
+
/**
|
|
10866
|
+
* This will register a new custom element with the browser.
|
|
10867
|
+
* @param {String} name - The name of the custom element.
|
|
10868
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
10869
|
+
* @returns {void}
|
|
10870
|
+
*/
|
|
10871
|
+
registerComponent(name, componentClass) {
|
|
10872
|
+
if (!customElements.get(name)) {
|
|
10873
|
+
customElements.define(name, class extends componentClass {});
|
|
10874
|
+
}
|
|
10875
|
+
}
|
|
10876
|
+
|
|
10877
|
+
/**
|
|
10878
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
10879
|
+
* @returns {void}
|
|
10880
|
+
*/
|
|
10881
|
+
closestElement(
|
|
10882
|
+
selector, // selector like in .closest()
|
|
10883
|
+
base = this, // extra functionality to skip a parent
|
|
10884
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
10885
|
+
!el || el === document || el === window
|
|
10886
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
10887
|
+
: found
|
|
10888
|
+
? found // found a selector INside this element
|
|
10889
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
10890
|
+
) {
|
|
10891
|
+
return __Closest(base);
|
|
10892
|
+
}
|
|
10893
|
+
/* eslint-enable jsdoc/require-param */
|
|
10894
|
+
|
|
10895
|
+
/**
|
|
10896
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
10897
|
+
* @param {Object} elem - The element to check.
|
|
10898
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
10899
|
+
* @returns {void}
|
|
10900
|
+
*/
|
|
10901
|
+
handleComponentTagRename(elem, tagName) {
|
|
10902
|
+
const tag = tagName.toLowerCase();
|
|
10903
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
10904
|
+
|
|
10905
|
+
if (elemTag !== tag) {
|
|
10906
|
+
elem.setAttribute(tag, true);
|
|
10907
|
+
}
|
|
10908
|
+
}
|
|
10909
|
+
|
|
10910
|
+
/**
|
|
10911
|
+
* Validates if an element is a specific Auro component.
|
|
10912
|
+
* @param {Object} elem - The element to validate.
|
|
10913
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
10914
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
10915
|
+
*/
|
|
10916
|
+
elementMatch(elem, tagName) {
|
|
10917
|
+
const tag = tagName.toLowerCase();
|
|
10918
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
10851
10919
|
|
|
10852
|
-
|
|
10920
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
10921
|
+
}
|
|
10922
|
+
};
|
|
10853
10923
|
|
|
10854
10924
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
10855
10925
|
// See LICENSE in the project root for license information.
|
|
@@ -10883,7 +10953,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
10883
10953
|
this.tertiary = false;
|
|
10884
10954
|
this.warning = false;
|
|
10885
10955
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
10886
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
10956
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
|
|
10887
10957
|
}
|
|
10888
10958
|
|
|
10889
10959
|
// function to define props used within the scope of this component
|
|
@@ -11030,9 +11100,9 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
11030
11100
|
static get styles() {
|
|
11031
11101
|
return [
|
|
11032
11102
|
super.styles,
|
|
11033
|
-
i$6`${tokensCss$
|
|
11103
|
+
i$6`${tokensCss$8}`,
|
|
11034
11104
|
i$6`${styleCss$1$2}`,
|
|
11035
|
-
i$6`${colorCss$
|
|
11105
|
+
i$6`${colorCss$8}`
|
|
11036
11106
|
];
|
|
11037
11107
|
}
|
|
11038
11108
|
|
|
@@ -11045,7 +11115,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
11045
11115
|
*
|
|
11046
11116
|
*/
|
|
11047
11117
|
static register(name = "auro-icon") {
|
|
11048
|
-
AuroLibraryRuntimeUtils$
|
|
11118
|
+
AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroIcon);
|
|
11049
11119
|
}
|
|
11050
11120
|
|
|
11051
11121
|
connectedCallback() {
|
|
@@ -11113,7 +11183,77 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
11113
11183
|
|
|
11114
11184
|
var iconVersion$2 = '7.0.1';
|
|
11115
11185
|
|
|
11116
|
-
|
|
11186
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
11187
|
+
// See LICENSE in the project root for license information.
|
|
11188
|
+
|
|
11189
|
+
// ---------------------------------------------------------------------
|
|
11190
|
+
|
|
11191
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11192
|
+
|
|
11193
|
+
let AuroLibraryRuntimeUtils$8 = class AuroLibraryRuntimeUtils {
|
|
11194
|
+
|
|
11195
|
+
/* eslint-disable jsdoc/require-param */
|
|
11196
|
+
|
|
11197
|
+
/**
|
|
11198
|
+
* This will register a new custom element with the browser.
|
|
11199
|
+
* @param {String} name - The name of the custom element.
|
|
11200
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
11201
|
+
* @returns {void}
|
|
11202
|
+
*/
|
|
11203
|
+
registerComponent(name, componentClass) {
|
|
11204
|
+
if (!customElements.get(name)) {
|
|
11205
|
+
customElements.define(name, class extends componentClass {});
|
|
11206
|
+
}
|
|
11207
|
+
}
|
|
11208
|
+
|
|
11209
|
+
/**
|
|
11210
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
11211
|
+
* @returns {void}
|
|
11212
|
+
*/
|
|
11213
|
+
closestElement(
|
|
11214
|
+
selector, // selector like in .closest()
|
|
11215
|
+
base = this, // extra functionality to skip a parent
|
|
11216
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
11217
|
+
!el || el === document || el === window
|
|
11218
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
11219
|
+
: found
|
|
11220
|
+
? found // found a selector INside this element
|
|
11221
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
11222
|
+
) {
|
|
11223
|
+
return __Closest(base);
|
|
11224
|
+
}
|
|
11225
|
+
/* eslint-enable jsdoc/require-param */
|
|
11226
|
+
|
|
11227
|
+
/**
|
|
11228
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
11229
|
+
* @param {Object} elem - The element to check.
|
|
11230
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
11231
|
+
* @returns {void}
|
|
11232
|
+
*/
|
|
11233
|
+
handleComponentTagRename(elem, tagName) {
|
|
11234
|
+
const tag = tagName.toLowerCase();
|
|
11235
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
11236
|
+
|
|
11237
|
+
if (elemTag !== tag) {
|
|
11238
|
+
elem.setAttribute(tag, true);
|
|
11239
|
+
}
|
|
11240
|
+
}
|
|
11241
|
+
|
|
11242
|
+
/**
|
|
11243
|
+
* Validates if an element is a specific Auro component.
|
|
11244
|
+
* @param {Object} elem - The element to validate.
|
|
11245
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
11246
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
11247
|
+
*/
|
|
11248
|
+
elementMatch(elem, tagName) {
|
|
11249
|
+
const tag = tagName.toLowerCase();
|
|
11250
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
11251
|
+
|
|
11252
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
11253
|
+
}
|
|
11254
|
+
};
|
|
11255
|
+
|
|
11256
|
+
var styleCss$8 = i$6`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-heading-default-spacing, -0.2px);font-weight:var(--ds-text-heading-default-weight, 500)}.heading--display{margin-top:0;font-size:var(--ds-text-heading-display-size-breakpoint-sm, 2.75rem);font-weight:var(--ds-text-heading-display-weight, 100);line-height:var(--ds-text-heading-display-height-breakpoint-sm, 3.375rem)}@media screen and (min-width: 768px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-md, 3rem);line-height:var(--ds-text-heading-display-height-breakpoint-md, 3.75rem)}}@media screen and (min-width: 1024px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-lg, 3.5rem);line-height:var(--ds-text-heading-display-height-breakpoint-lg, 4.25rem)}}.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-sm, 2rem);font-weight:var(--ds-text-heading-800-weight, 500);line-height:var(--ds-text-heading-800-height-breakpoint-sm, 2.375rem)}@media screen and (min-width: 768px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-md, 2.25rem);line-height:var(--ds-text-heading-800-height-breakpoint-md, 2.625rem)}}@media screen and (min-width: 1024px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-lg, 2.5rem);line-height:var(--ds-text-heading-800-height-breakpoint-lg, 3rem)}}.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-sm, 1.75rem);font-weight:var(--ds-text-heading-700-weight, 500);line-height:var(--ds-text-heading-700-height-breakpoint-sm, 2.125rem)}@media screen and (min-width: 768px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-md, 2rem);line-height:var(--ds-text-heading-700-height-breakpoint-md, 2.375rem)}}@media screen and (min-width: 1024px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-lg, 2.25rem);line-height:var(--ds-text-heading-700-height-breakpoint-lg, 2.75rem)}}.heading--600{margin:1rem 0;font-size:var(--ds-text-heading-600-size-breakpoint-sm, 1.625rem);font-weight:var(--ds-text-heading-600-weight, 300);line-height:var(--ds-text-heading-600-height-breakpoint-sm, 1.875rem)}@media screen and (min-width: 768px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-md, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-md, 2.125rem)}}@media screen and (min-width: 1024px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-lg, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-lg, 2.25rem)}}.heading--500{margin:1rem 0;font-size:var(--ds-text-heading-500-size-breakpoint-sm, 1.375rem);font-weight:var(--ds-text-heading-500-weight, 300);line-height:var(--ds-text-heading-500-height-breakpoint-sm, 1.625rem)}@media screen and (min-width: 768px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-md, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-md, 1.875rem)}}@media screen and (min-width: 1024px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-lg, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-lg, 2rem)}}.heading--400{margin:.75rem 0;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.heading--300{margin:.75rem 0;font-size:var(--ds-text-heading-300-size, 1.125rem);font-weight:var(--ds-text-heading-300-weight, 300);line-height:var(--ds-text-heading-300-height, 1.625rem)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
|
|
11117
11257
|
|
|
11118
11258
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11119
11259
|
// See LICENSE in the project root for license information.
|
|
@@ -11142,7 +11282,7 @@ class AuroHeader extends r$3 {
|
|
|
11142
11282
|
/**
|
|
11143
11283
|
* @private
|
|
11144
11284
|
*/
|
|
11145
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
11285
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$8();
|
|
11146
11286
|
}
|
|
11147
11287
|
|
|
11148
11288
|
// function to define props used within the scope of this component
|
|
@@ -11160,7 +11300,7 @@ class AuroHeader extends r$3 {
|
|
|
11160
11300
|
}
|
|
11161
11301
|
|
|
11162
11302
|
static get styles() {
|
|
11163
|
-
return [styleCss$
|
|
11303
|
+
return [styleCss$8];
|
|
11164
11304
|
}
|
|
11165
11305
|
|
|
11166
11306
|
/**
|
|
@@ -11172,7 +11312,7 @@ class AuroHeader extends r$3 {
|
|
|
11172
11312
|
*
|
|
11173
11313
|
*/
|
|
11174
11314
|
static register(name = "auro-header") {
|
|
11175
|
-
AuroLibraryRuntimeUtils$
|
|
11315
|
+
AuroLibraryRuntimeUtils$8.prototype.registerComponent(name, AuroHeader);
|
|
11176
11316
|
}
|
|
11177
11317
|
|
|
11178
11318
|
firstUpdated() {
|
|
@@ -11266,11 +11406,11 @@ class AuroBibtemplate extends r$3 {
|
|
|
11266
11406
|
constructor() {
|
|
11267
11407
|
super();
|
|
11268
11408
|
|
|
11269
|
-
AuroLibraryRuntimeUtils$
|
|
11409
|
+
AuroLibraryRuntimeUtils$2$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
11270
11410
|
|
|
11271
|
-
const versioning = new AuroDependencyVersioning$
|
|
11272
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion$2, AuroIcon$2);
|
|
11273
|
-
this.headerTag = versioning.generateTag('auro-header', headerVersion, AuroHeader);
|
|
11411
|
+
const versioning = new AuroDependencyVersioning$4();
|
|
11412
|
+
this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion$2, AuroIcon$2);
|
|
11413
|
+
this.headerTag = versioning.generateTag('auro-formkit-bibtemplate-header', headerVersion, AuroHeader);
|
|
11274
11414
|
}
|
|
11275
11415
|
|
|
11276
11416
|
static get styles() {
|
|
@@ -11305,7 +11445,7 @@ class AuroBibtemplate extends r$3 {
|
|
|
11305
11445
|
*
|
|
11306
11446
|
*/
|
|
11307
11447
|
static register(name = "auro-bibtemplate") {
|
|
11308
|
-
AuroLibraryRuntimeUtils$
|
|
11448
|
+
AuroLibraryRuntimeUtils$2$2.prototype.registerComponent(name, AuroBibtemplate);
|
|
11309
11449
|
}
|
|
11310
11450
|
|
|
11311
11451
|
/**
|
|
@@ -11377,95 +11517,697 @@ class AuroBibtemplate extends r$3 {
|
|
|
11377
11517
|
|
|
11378
11518
|
var bibTemplateVersion = '1.0.0';
|
|
11379
11519
|
|
|
11380
|
-
//
|
|
11381
|
-
|
|
11382
|
-
* @prop {Object} firstDayOfWeek - Weekday that will be displayed in first column of month grid.
|
|
11383
|
-
* 0: sunday, 1: monday, 2: tuesday, 3: wednesday , 4: thursday, 5: friday, 6: saturday
|
|
11384
|
-
* Default is 0.
|
|
11385
|
-
* @prop {Date | null} focusedDate - The currently focused date (if any).
|
|
11386
|
-
* @prop {Date} maxDate - Maximum date. All dates after will be disabled.
|
|
11387
|
-
* @prop {Date} minDate - Minimum date. All dates before will be disabled.
|
|
11388
|
-
* @prop {Date | undefined} selectedDate - The selected date, usually synchronized with datepicker-input.
|
|
11389
|
-
* Not to be confused with the focused date (therefore not necessarily in active month view).
|
|
11390
|
-
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat:.
|
|
11391
|
-
* @prop {Boolean} visible - Flag indicating if the calendar is visible.
|
|
11392
|
-
* - 'short' (e.g., Thu)
|
|
11393
|
-
* - 'narrow' (e.g., T).
|
|
11394
|
-
* Default is 'short'.
|
|
11395
|
-
* @event auroCalendar-dateSelected - Notifies that a date has been selected in the calendar.
|
|
11396
|
-
* @event auroCalendar-monthChanged - Notifies that the visible calendar month(s) have changed.
|
|
11397
|
-
*/
|
|
11398
|
-
|
|
11399
|
-
/* eslint-disable no-magic-numbers, no-undef-init, max-lines, lit/binding-positions, lit/no-invalid-html */
|
|
11400
|
-
|
|
11401
|
-
// class AuroCalendar extends LitElement {
|
|
11402
|
-
class AuroCalendar extends RangeDatepicker {
|
|
11403
|
-
constructor() {
|
|
11404
|
-
super();
|
|
11520
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
11521
|
+
// See LICENSE in the project root for license information.
|
|
11405
11522
|
|
|
11406
|
-
/**
|
|
11407
|
-
* @private
|
|
11408
|
-
*/
|
|
11409
|
-
this.util = new AuroDatepickerUtilities();
|
|
11410
11523
|
|
|
11411
|
-
|
|
11412
|
-
* @private
|
|
11413
|
-
*/
|
|
11414
|
-
this.utilCal = new CalendarUtilities();
|
|
11524
|
+
let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
11415
11525
|
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11526
|
+
/**
|
|
11527
|
+
* Generates a unique string to be used for child auro element naming.
|
|
11528
|
+
* @private
|
|
11529
|
+
* @param {string} baseName - Defines the first part of the unique element name.
|
|
11530
|
+
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
11531
|
+
* @returns {string} - Unique string to be used for naming.
|
|
11532
|
+
*/
|
|
11533
|
+
generateElementName(baseName, version) {
|
|
11534
|
+
let result = baseName;
|
|
11420
11535
|
|
|
11421
|
-
|
|
11422
|
-
|
|
11423
|
-
this.centralDate = undefined;
|
|
11424
|
-
this.showPrevMonthBtn = true;
|
|
11425
|
-
this.showNextMonthBtn = true;
|
|
11536
|
+
result += '-';
|
|
11537
|
+
result += version.replace(/[.]/g, '_');
|
|
11426
11538
|
|
|
11427
|
-
|
|
11428
|
-
|
|
11429
|
-
*/
|
|
11430
|
-
this.firstMonthRenderable = undefined;
|
|
11539
|
+
return result;
|
|
11540
|
+
}
|
|
11431
11541
|
|
|
11432
|
-
|
|
11433
|
-
|
|
11434
|
-
|
|
11435
|
-
|
|
11542
|
+
/**
|
|
11543
|
+
* Generates a unique string to be used for child auro element naming.
|
|
11544
|
+
* @param {string} baseName - Defines the first part of the unique element name.
|
|
11545
|
+
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
11546
|
+
* @returns {string} - Unique string to be used for naming.
|
|
11547
|
+
*/
|
|
11548
|
+
generateTag(baseName, version, tagClass) {
|
|
11549
|
+
const elementName = this.generateElementName(baseName, version);
|
|
11550
|
+
const tag = i$2`${s$1(elementName)}`;
|
|
11436
11551
|
|
|
11437
|
-
|
|
11438
|
-
|
|
11439
|
-
|
|
11440
|
-
this.numCalendars = undefined;
|
|
11552
|
+
if (!customElements.get(elementName)) {
|
|
11553
|
+
customElements.define(elementName, class extends tagClass {});
|
|
11554
|
+
}
|
|
11441
11555
|
|
|
11556
|
+
return tag;
|
|
11557
|
+
}
|
|
11558
|
+
};
|
|
11442
11559
|
|
|
11443
|
-
|
|
11560
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
11561
|
+
// See LICENSE in the project root for license information.
|
|
11444
11562
|
|
|
11563
|
+
// ---------------------------------------------------------------------
|
|
11445
11564
|
|
|
11446
|
-
|
|
11447
|
-
* @private
|
|
11448
|
-
*/
|
|
11449
|
-
this.slots = {};
|
|
11565
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11450
11566
|
|
|
11451
|
-
|
|
11567
|
+
let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
|
|
11452
11568
|
|
|
11453
|
-
|
|
11454
|
-
|
|
11455
|
-
|
|
11456
|
-
|
|
11569
|
+
/* eslint-disable jsdoc/require-param */
|
|
11570
|
+
|
|
11571
|
+
/**
|
|
11572
|
+
* This will register a new custom element with the browser.
|
|
11573
|
+
* @param {String} name - The name of the custom element.
|
|
11574
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
11575
|
+
* @returns {void}
|
|
11576
|
+
*/
|
|
11577
|
+
registerComponent(name, componentClass) {
|
|
11578
|
+
if (!customElements.get(name)) {
|
|
11579
|
+
customElements.define(name, class extends componentClass {});
|
|
11580
|
+
}
|
|
11581
|
+
}
|
|
11582
|
+
|
|
11583
|
+
/**
|
|
11584
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
11585
|
+
* @returns {void}
|
|
11586
|
+
*/
|
|
11587
|
+
closestElement(
|
|
11588
|
+
selector, // selector like in .closest()
|
|
11589
|
+
base = this, // extra functionality to skip a parent
|
|
11590
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
11591
|
+
!el || el === document || el === window
|
|
11592
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
11593
|
+
: found
|
|
11594
|
+
? found // found a selector INside this element
|
|
11595
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
11596
|
+
) {
|
|
11597
|
+
return __Closest(base);
|
|
11598
|
+
}
|
|
11599
|
+
/* eslint-enable jsdoc/require-param */
|
|
11600
|
+
|
|
11601
|
+
/**
|
|
11602
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
11603
|
+
* @param {Object} elem - The element to check.
|
|
11604
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
11605
|
+
* @returns {void}
|
|
11606
|
+
*/
|
|
11607
|
+
handleComponentTagRename(elem, tagName) {
|
|
11608
|
+
const tag = tagName.toLowerCase();
|
|
11609
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
11610
|
+
|
|
11611
|
+
if (elemTag !== tag) {
|
|
11612
|
+
elem.setAttribute(tag, true);
|
|
11613
|
+
}
|
|
11614
|
+
}
|
|
11615
|
+
|
|
11616
|
+
/**
|
|
11617
|
+
* Validates if an element is a specific Auro component.
|
|
11618
|
+
* @param {Object} elem - The element to validate.
|
|
11619
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
11620
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
11621
|
+
*/
|
|
11622
|
+
elementMatch(elem, tagName) {
|
|
11623
|
+
const tag = tagName.toLowerCase();
|
|
11624
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
11625
|
+
|
|
11626
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
11627
|
+
}
|
|
11628
|
+
};
|
|
11629
|
+
|
|
11630
|
+
var styleCss$7 = i$6`:focus:not(:focus-visible){outline:3px solid transparent}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block;height:var(--ds-size-300, 1.5rem);width:var(--ds-size-300, 1.5rem)}:host([variant=flat]) .auro-button{height:100%;width:100%}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);font-weight:var(--ds-text-body-default-weight, 500);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]):after{display:block;content:"";height:calc(100% - 2px);width:calc(100% - 2px);position:absolute;top:1px;left:1px;border-radius:4px;border-style:solid;border-width:2px}.auro-button:focus-visible[variant=secondary]:after,.auro-button:focus-visible[variant=tertiary]:after{display:block;content:"";height:100%;width:100%;position:absolute;top:0;left:0;border-radius:var(--ds-border-radius, 0.375rem);border-style:solid;border-width:2px}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=flat]{height:unset;width:unset;min-height:unset;max-height:unset;min-width:unset;max-width:unset;border:0;border-radius:unset;gap:unset;padding:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button--slim{padding:var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);font-size:var(--ds-text-body-size-sm, 0.875rem);min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, $ds-size-300)}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size:calc(var(--ds-size-200, $ds-size-200) + var(--ds-size-50, $ds-size-50))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:all 300ms ease-out}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, $ds-size-300)}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
|
|
11631
|
+
|
|
11632
|
+
var colorCss$7 = i$6`[auro-loader]{color:var(--ds-auro-button-loader-color)}.auro-button{-webkit-tap-highlight-color:var(--ds-auro-button-tap-color);color:var(--ds-auro-button-text-color);background-color:var(--ds-auro-button-container-color);background-image:linear-gradient(var(--ds-auro-button-container-image), var(--ds-auro-button-container-image));border-color:var(--ds-auro-button-border-color)}.auro-button:not([variant=secondary]):not([variant=tertiary]):focus-visible:after{border-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-active-default, #225296)}.auro-button:not([ondark])[disabled]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1)}@media(hover: hover){.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-border-color:var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-text-color:var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=secondary]:active:not(:disabled),.auro-button:not([ondark])[variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:var(--ds-color-border-ui-hover-default, #193d73);--ds-auro-button-text-color:var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-color-border-ui-focus-default, #2c67b5)}.auro-button:not([ondark])[variant=secondary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-border-color:var(--ds-color-border-ui-active-default, #225296);--ds-auro-button-text-color:var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-border-color:var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=tertiary]:active:not(:disabled),.auro-button:not([ondark])[variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-border-inset-color:var(--ds-color-border-ui-default-default, #2c67b5)}.auro-button:not([ondark])[variant=tertiary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-color-icon-ui-secondary-default-default);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-default);background-color:transparent;background-image:none;border-color:transparent}}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-color-icon-ui-secondary-disabled-default);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-text-color:var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-button-loader-color:var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7)}}.auro-button[ondark]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef)}.auro-button[ondark][disabled]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-disabled-inverse, #275b72)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-border-color:var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-text-color:var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=secondary]:hover{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:var(--ds-color-border-ui-hover-inverse, #a8e9f7);--ds-auro-button-text-color:var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-color-border-ui-focus-inverse, #56bbde)}.auro-button[ondark][variant=secondary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color:var(--ds-color-border-ui-active-inverse, #6ad5ef);--ds-auro-button-text-color:var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:var(--ds-color-border-ui-disabled-inverse, #7e7e7e);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-border-inset-color:var(--ds-color-border-ui-default-inverse, #56bbde)}.auro-button[ondark][variant=tertiary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=flat]{color:var(--ds-color-icon-ui-secondary-default-inverse);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-inverse);background-color:transparent;background-image:none;border-color:transparent}}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-color-icon-ui-disabled-default);background-color:transparent;background-image:none;border-color:transparent}`;
|
|
11633
|
+
|
|
11634
|
+
var tokensCss$7 = i$6`:host{--ds-auro-button-border-color:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-border-inset-color:var(--ds-color-border-emphasis-inverse, #f2f7fb);--ds-auro-button-container-color:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-loader-color:var(--ds-color-utility-navy-default, #265688);--ds-auro-button-text-color:var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-tap-color:transparent}`;
|
|
11635
|
+
|
|
11636
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
11637
|
+
// See LICENSE in the project root for license information.
|
|
11638
|
+
|
|
11639
|
+
// ---------------------------------------------------------------------
|
|
11640
|
+
|
|
11641
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11642
|
+
|
|
11643
|
+
let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
|
|
11644
|
+
|
|
11645
|
+
/* eslint-disable jsdoc/require-param */
|
|
11646
|
+
|
|
11647
|
+
/**
|
|
11648
|
+
* This will register a new custom element with the browser.
|
|
11649
|
+
* @param {String} name - The name of the custom element.
|
|
11650
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
11651
|
+
* @returns {void}
|
|
11652
|
+
*/
|
|
11653
|
+
registerComponent(name, componentClass) {
|
|
11654
|
+
if (!customElements.get(name)) {
|
|
11655
|
+
customElements.define(name, class extends componentClass {});
|
|
11656
|
+
}
|
|
11657
|
+
}
|
|
11658
|
+
|
|
11659
|
+
/**
|
|
11660
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
11661
|
+
* @returns {void}
|
|
11662
|
+
*/
|
|
11663
|
+
closestElement(
|
|
11664
|
+
selector, // selector like in .closest()
|
|
11665
|
+
base = this, // extra functionality to skip a parent
|
|
11666
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
11667
|
+
!el || el === document || el === window
|
|
11668
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
11669
|
+
: found
|
|
11670
|
+
? found // found a selector INside this element
|
|
11671
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
11672
|
+
) {
|
|
11673
|
+
return __Closest(base);
|
|
11674
|
+
}
|
|
11675
|
+
/* eslint-enable jsdoc/require-param */
|
|
11676
|
+
|
|
11677
|
+
/**
|
|
11678
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
11679
|
+
* @param {Object} elem - The element to check.
|
|
11680
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
11681
|
+
* @returns {void}
|
|
11682
|
+
*/
|
|
11683
|
+
handleComponentTagRename(elem, tagName) {
|
|
11684
|
+
const tag = tagName.toLowerCase();
|
|
11685
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
11686
|
+
|
|
11687
|
+
if (elemTag !== tag) {
|
|
11688
|
+
elem.setAttribute(tag, true);
|
|
11689
|
+
}
|
|
11690
|
+
}
|
|
11691
|
+
|
|
11692
|
+
/**
|
|
11693
|
+
* Validates if an element is a specific Auro component.
|
|
11694
|
+
* @param {Object} elem - The element to validate.
|
|
11695
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
11696
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
11697
|
+
*/
|
|
11698
|
+
elementMatch(elem, tagName) {
|
|
11699
|
+
const tag = tagName.toLowerCase();
|
|
11700
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
11701
|
+
|
|
11702
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
11703
|
+
}
|
|
11704
|
+
};
|
|
11705
|
+
|
|
11706
|
+
var styleCss$6 = i$6`: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}: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:0.375rem;--margin-xs:0.2rem;--margin-sm:0.5rem;--margin-md:0.75rem;--margin-lg:1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin)*6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs)*6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm)*6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md)*6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg)*6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-400ms}:host([pulse])>span:nth-child(2){animation-delay:-200ms}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,100%{opacity:.1;transform:scale(0.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(0deg)}100%{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{100%{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{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%}100%{left:110%}}:host>.no-animation{display:none}@media(prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center;font-size:1rem}:host>span{opacity:1}:host>.loader{display:none}:host>.no-animation{display:block}}`;
|
|
11707
|
+
|
|
11708
|
+
var colorCss$6 = i$6`: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]){--ds-auro-loader-color:var(--ds-color-utility-navy-default, #265688)}:host([ondark]){--ds-auro-loader-color:var(--ds-color-utility-cyan-inverse, #a8e9f7)}:host([white]){--ds-auro-loader-color:var(--ds-color-utility-neutral-inverse, #ccd2db)}: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}`;
|
|
11709
|
+
|
|
11710
|
+
var tokensCss$6 = i$6`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
|
|
11711
|
+
|
|
11712
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11713
|
+
// See LICENSE in the project root for license information.
|
|
11714
|
+
|
|
11715
|
+
|
|
11716
|
+
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
11717
|
+
/**
|
|
11718
|
+
* The auro-loader element is an easy to use animated loader component.
|
|
11719
|
+
*
|
|
11720
|
+
* @attr {Boolean} pulse - sets loader type
|
|
11721
|
+
* @attr {Boolean} ringworm - sets loader type
|
|
11722
|
+
* @attr {Boolean} laser - sets loader type
|
|
11723
|
+
* @attr {Boolean} orbit - sets loader type
|
|
11724
|
+
* @attr {Boolean} white - sets color of loader to white
|
|
11725
|
+
* @attr {Boolean} ondark - sets color of loader to auro-color-ui-default-on-dark
|
|
11726
|
+
* @attr {Boolean} onlight - sets color of loader to auro-color-ui-default-on-light
|
|
11727
|
+
* @attr {Boolean} xs - sets size to extra small
|
|
11728
|
+
* @attr {Boolean} sm - sets size to small
|
|
11729
|
+
* @attr {Boolean} md - sets size to medium
|
|
11730
|
+
* @attr {Boolean} lg - sets size to large
|
|
11731
|
+
* @csspart element - apply style to adjust speed of animation
|
|
11732
|
+
*/
|
|
11733
|
+
|
|
11734
|
+
// build the component class
|
|
11735
|
+
let AuroLoader$1 = class AuroLoader extends r$3 {
|
|
11736
|
+
constructor() {
|
|
11737
|
+
super();
|
|
11738
|
+
|
|
11739
|
+
/**
|
|
11740
|
+
* @private
|
|
11741
|
+
*/
|
|
11742
|
+
this.keys = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
|
|
11743
|
+
|
|
11744
|
+
/**
|
|
11745
|
+
* @private
|
|
11746
|
+
*/
|
|
11747
|
+
this.mdCount = 3;
|
|
11748
|
+
|
|
11749
|
+
/**
|
|
11750
|
+
* @private
|
|
11751
|
+
*/
|
|
11752
|
+
this.smCount = 2;
|
|
11753
|
+
|
|
11754
|
+
/**
|
|
11755
|
+
* @private
|
|
11756
|
+
*/
|
|
11757
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
|
|
11758
|
+
|
|
11759
|
+
this.orbit = false;
|
|
11760
|
+
this.ringworm = false;
|
|
11761
|
+
this.laser = false;
|
|
11762
|
+
this.pulse = false;
|
|
11763
|
+
}
|
|
11764
|
+
|
|
11765
|
+
// function to define props used within the scope of this component
|
|
11766
|
+
static get properties() {
|
|
11767
|
+
return {
|
|
11768
|
+
pulse: {
|
|
11769
|
+
type: Boolean,
|
|
11770
|
+
reflect: true
|
|
11771
|
+
},
|
|
11772
|
+
orbit: {
|
|
11773
|
+
type: Boolean,
|
|
11774
|
+
reflect: true
|
|
11775
|
+
},
|
|
11776
|
+
ringworm: {
|
|
11777
|
+
type: Boolean,
|
|
11778
|
+
reflect: true
|
|
11779
|
+
},
|
|
11780
|
+
laser: {
|
|
11781
|
+
type: Boolean,
|
|
11782
|
+
reflect: true
|
|
11783
|
+
}
|
|
11784
|
+
};
|
|
11785
|
+
}
|
|
11786
|
+
|
|
11787
|
+
static get styles() {
|
|
11788
|
+
return [
|
|
11789
|
+
i$6`${styleCss$6}`,
|
|
11790
|
+
i$6`${colorCss$6}`,
|
|
11791
|
+
i$6`${tokensCss$6}`
|
|
11792
|
+
];
|
|
11793
|
+
}
|
|
11794
|
+
|
|
11795
|
+
/**
|
|
11796
|
+
* This will register this element with the browser.
|
|
11797
|
+
* @param {string} [name="auro-loader"] - The name of element that you want to register to.
|
|
11798
|
+
*
|
|
11799
|
+
* @example
|
|
11800
|
+
* AuroLoader.register("custom-loader") // this will register this element to <custom-loader/>
|
|
11801
|
+
*
|
|
11802
|
+
*/
|
|
11803
|
+
static register(name = "auro-loader") {
|
|
11804
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroLoader);
|
|
11805
|
+
}
|
|
11806
|
+
|
|
11807
|
+
firstUpdated() {
|
|
11808
|
+
// Add the tag name as an attribute if it is different than the component name
|
|
11809
|
+
this.runtimeUtils.handleComponentTagRename(this, 'auro-loader');
|
|
11810
|
+
}
|
|
11811
|
+
|
|
11812
|
+
connectedCallback() {
|
|
11813
|
+
super.connectedCallback();
|
|
11814
|
+
}
|
|
11815
|
+
|
|
11816
|
+
/**
|
|
11817
|
+
* @private
|
|
11818
|
+
* @returns {Array} Numbered array for template map.
|
|
11819
|
+
*/
|
|
11820
|
+
defineTemplate() {
|
|
11821
|
+
let nodes = Array.from(Array(this.mdCount).keys());
|
|
11822
|
+
|
|
11823
|
+
if (this.orbit || this.laser) {
|
|
11824
|
+
nodes = Array.from(Array(this.smCount).keys());
|
|
11825
|
+
} else if (this.ringworm) {
|
|
11826
|
+
nodes = Array.from(Array(0).keys());
|
|
11827
|
+
}
|
|
11828
|
+
|
|
11829
|
+
return nodes;
|
|
11830
|
+
}
|
|
11831
|
+
|
|
11832
|
+
// When using auroElement, use the following attribute and function when hiding content from screen readers.
|
|
11833
|
+
// aria-hidden="${this.hideAudible(this.hiddenAudible)}"
|
|
11834
|
+
|
|
11835
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
11836
|
+
render() {
|
|
11837
|
+
return x`
|
|
11838
|
+
${this.defineTemplate().map((idx) => x`
|
|
11839
|
+
<span part="element" class="loader node-${idx}"></span>
|
|
11840
|
+
`)}
|
|
11841
|
+
|
|
11842
|
+
<div class="no-animation">Loading...</div>
|
|
11843
|
+
|
|
11844
|
+
${this.ringworm ? x`
|
|
11845
|
+
<svg part="element" class="circular" viewBox="25 25 50 50">
|
|
11846
|
+
<circle class="path" cx="50" cy="50" r="20" fill="none"/>
|
|
11847
|
+
</svg>`
|
|
11848
|
+
: ``
|
|
11849
|
+
}
|
|
11850
|
+
`;
|
|
11851
|
+
}
|
|
11852
|
+
};
|
|
11853
|
+
|
|
11854
|
+
var loaderVersion$1 = '4.0.0';
|
|
11855
|
+
|
|
11856
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
11857
|
+
// See LICENSE in the project root for license information.
|
|
11858
|
+
|
|
11859
|
+
|
|
11860
|
+
/**
|
|
11861
|
+
* @attr {Boolean} autofocus - This Boolean attribute lets you specify that the button should have input focus when the page loads, unless overridden by the user
|
|
11862
|
+
* @attr {Boolean} disabled - If set to true button will become disabled and not allow for interactions
|
|
11863
|
+
* @attr {Boolean} iconOnly - If set to true, the button will contain an icon with no additional content
|
|
11864
|
+
* @attr {Boolean} loading - If set to true button text will be replaced with `auro-loader` and become disabled
|
|
11865
|
+
* @attr {Boolean} onDark - Set value for on-dark version of auro-button
|
|
11866
|
+
* @attr {Boolean} rounded - If set to true, the button will have a rounded shape
|
|
11867
|
+
* @attr {Boolean} slim - Set value for slim version of auro-button
|
|
11868
|
+
* @attr {Boolean} fluid - Alters the shape of the button to be full width of its parent container
|
|
11869
|
+
* @attr {String} arialabel - Populates the `aria-label` attribute that is used to define a string that labels the current element. Use it in cases where a text label is not visible on the screen. If there is visible text labeling the element, use `aria-labelledby` instead.
|
|
11870
|
+
* @attr {String} arialabelledby - Populates the `aria-labelledby` attribute that establishes relationships between objects and their label(s), and its value should be one or more element IDs, which refer to elements that have the text needed for labeling. List multiple element IDs in a space delimited fashion.
|
|
11871
|
+
* @attr {String} id - Set the unique ID of an element.
|
|
11872
|
+
* @attr {String} title - Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
|
|
11873
|
+
* @attr {String} type - The type of the button. Possible values are: `submit`, `reset`, `button`
|
|
11874
|
+
* @attr {String} value - Defines the value associated with the button which is submitted with the form data.
|
|
11875
|
+
* @attr {String} variant - Sets button variant option. Possible values are: `secondary`, `tertiary`
|
|
11876
|
+
* @attr {Boolean} secondary - DEPRECATED
|
|
11877
|
+
* @attr {Boolean} tertiary - DEPRECATED
|
|
11878
|
+
* @prop {Boolean} ready - When false the component API should not be called.
|
|
11879
|
+
* @event auroButton-ready - Notifies that the component has finished initializing.
|
|
11880
|
+
* @slot - Default slot for the text of the button.
|
|
11881
|
+
* @slot icon - Slot to provide auro-icon for the button.
|
|
11882
|
+
* @csspart button - Apply CSS to HTML5 button.
|
|
11883
|
+
* @csspart loader - Apply CSS to auro-loader.
|
|
11884
|
+
* @csspart text - Apply CSS to text slot.
|
|
11885
|
+
* @csspart icon - Apply CSS to icon slot.
|
|
11886
|
+
*/
|
|
11887
|
+
|
|
11888
|
+
/* eslint-disable lit/no-invalid-html, lit/binding-positions */
|
|
11889
|
+
|
|
11890
|
+
let AuroButton$1 = class AuroButton extends r$3 {
|
|
11891
|
+
|
|
11892
|
+
/**
|
|
11893
|
+
* Enables form association for this element.
|
|
11894
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals
|
|
11895
|
+
* @returns {boolean} - Returns true to enable form association.
|
|
11896
|
+
*/
|
|
11897
|
+
static get formAssociated() {
|
|
11898
|
+
return true;
|
|
11899
|
+
}
|
|
11900
|
+
|
|
11901
|
+
constructor() {
|
|
11902
|
+
super();
|
|
11903
|
+
|
|
11904
|
+
this.autofocus = false;
|
|
11905
|
+
this.disabled = false;
|
|
11906
|
+
this.iconOnly = false;
|
|
11907
|
+
this.loading = false;
|
|
11908
|
+
this.onDark = false;
|
|
11909
|
+
this.ready = false;
|
|
11910
|
+
this.secondary = false;
|
|
11911
|
+
this.tertiary = false;
|
|
11912
|
+
this.rounded = false;
|
|
11913
|
+
this.slim = false;
|
|
11914
|
+
this.fluid = false;
|
|
11915
|
+
|
|
11916
|
+
// Support for HTML5 forms
|
|
11917
|
+
if (typeof this.attachInternals === 'function') {
|
|
11918
|
+
this.internals = this.attachInternals();
|
|
11919
|
+
} else {
|
|
11920
|
+
this.internals = null;
|
|
11921
|
+
|
|
11922
|
+
// eslint-disable-next-line no-console
|
|
11923
|
+
console.warn('This browser does not support form association features. Some form-related functionality may not work as expected. Consider using a polyfill or handling click events manually.');
|
|
11924
|
+
}
|
|
11925
|
+
|
|
11926
|
+
/**
|
|
11927
|
+
* Generate unique names for dependency components.
|
|
11928
|
+
*/
|
|
11929
|
+
const versioning = new AuroDependencyVersioning$3();
|
|
11930
|
+
|
|
11931
|
+
/**
|
|
11932
|
+
* @private
|
|
11933
|
+
*/
|
|
11934
|
+
this.loaderTag = versioning.generateTag('auro-loader', loaderVersion$1, AuroLoader$1);
|
|
11935
|
+
}
|
|
11936
|
+
|
|
11937
|
+
static get styles() {
|
|
11938
|
+
return [
|
|
11939
|
+
tokensCss$7,
|
|
11940
|
+
styleCss$7,
|
|
11941
|
+
colorCss$7
|
|
11942
|
+
];
|
|
11943
|
+
}
|
|
11944
|
+
|
|
11945
|
+
static get properties() {
|
|
11946
|
+
return {
|
|
11947
|
+
autofocus: {
|
|
11948
|
+
type: Boolean,
|
|
11949
|
+
reflect: true
|
|
11950
|
+
},
|
|
11951
|
+
disabled: {
|
|
11952
|
+
type: Boolean,
|
|
11953
|
+
reflect: true
|
|
11954
|
+
},
|
|
11955
|
+
secondary: {
|
|
11956
|
+
type: Boolean,
|
|
11957
|
+
reflect: true
|
|
11958
|
+
},
|
|
11959
|
+
tertiary: {
|
|
11960
|
+
type: Boolean,
|
|
11961
|
+
reflect: true
|
|
11962
|
+
},
|
|
11963
|
+
fluid: {
|
|
11964
|
+
type: Boolean,
|
|
11965
|
+
reflect: true
|
|
11966
|
+
},
|
|
11967
|
+
iconOnly: {
|
|
11968
|
+
type: Boolean,
|
|
11969
|
+
reflect: true
|
|
11970
|
+
},
|
|
11971
|
+
loading: {
|
|
11972
|
+
type: Boolean,
|
|
11973
|
+
reflect: true
|
|
11974
|
+
},
|
|
11975
|
+
onDark: {
|
|
11976
|
+
type: Boolean,
|
|
11977
|
+
reflect: true
|
|
11978
|
+
},
|
|
11979
|
+
rounded: {
|
|
11980
|
+
type: Boolean,
|
|
11981
|
+
reflect: true
|
|
11982
|
+
},
|
|
11983
|
+
slim: {
|
|
11984
|
+
type: Boolean,
|
|
11985
|
+
reflect: true
|
|
11986
|
+
},
|
|
11987
|
+
arialabel: {
|
|
11988
|
+
type: String,
|
|
11989
|
+
reflect: true
|
|
11990
|
+
},
|
|
11991
|
+
arialabelledby: {
|
|
11992
|
+
type: String,
|
|
11993
|
+
reflect: true
|
|
11994
|
+
},
|
|
11995
|
+
title: {
|
|
11996
|
+
type: String,
|
|
11997
|
+
reflect: true
|
|
11998
|
+
},
|
|
11999
|
+
type: {
|
|
12000
|
+
type: String,
|
|
12001
|
+
reflect: true
|
|
12002
|
+
},
|
|
12003
|
+
value: {
|
|
12004
|
+
type: String,
|
|
12005
|
+
reflect: true
|
|
12006
|
+
},
|
|
12007
|
+
variant: {
|
|
12008
|
+
type: String,
|
|
12009
|
+
reflect: true
|
|
12010
|
+
},
|
|
12011
|
+
ready: { type: Boolean },
|
|
12012
|
+
};
|
|
12013
|
+
}
|
|
12014
|
+
|
|
12015
|
+
/**
|
|
12016
|
+
* This will register this element with the browser.
|
|
12017
|
+
* @param {string} [name="auro-button"] - The name of element that you want to register to.
|
|
12018
|
+
*
|
|
12019
|
+
* @example
|
|
12020
|
+
* AuroButton.register("custom-button") // this will register this element to <custom-button/>
|
|
12021
|
+
*
|
|
12022
|
+
*/
|
|
12023
|
+
static register(name = "auro-button") {
|
|
12024
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroButton);
|
|
12025
|
+
}
|
|
12026
|
+
|
|
12027
|
+
/**
|
|
12028
|
+
* Internal method to apply focus to the HTML5 button.
|
|
12029
|
+
* @private
|
|
12030
|
+
* @returns {void}
|
|
12031
|
+
*/
|
|
12032
|
+
focus() {
|
|
12033
|
+
this.renderRoot.querySelector('button').focus();
|
|
12034
|
+
}
|
|
12035
|
+
|
|
12036
|
+
/**
|
|
12037
|
+
* Marks the component as ready and sends event.
|
|
12038
|
+
* @private
|
|
12039
|
+
* @returns {void}
|
|
12040
|
+
*/
|
|
12041
|
+
notifyReady() {
|
|
12042
|
+
this.ready = true;
|
|
12043
|
+
|
|
12044
|
+
this.dispatchEvent(new CustomEvent('auroButton-ready', {
|
|
12045
|
+
bubbles: true,
|
|
12046
|
+
cancelable: false,
|
|
12047
|
+
composed: true,
|
|
12048
|
+
}));
|
|
12049
|
+
}
|
|
12050
|
+
|
|
12051
|
+
updated() {
|
|
12052
|
+
// support the old `secondary` and `tertiary` attributes` that are deprecated
|
|
12053
|
+
if (this.secondary) {
|
|
12054
|
+
this.setAttribute('variant', 'secondary');
|
|
12055
|
+
}
|
|
12056
|
+
|
|
12057
|
+
if (this.tertiary) {
|
|
12058
|
+
this.setAttribute('variant', 'tertiary');
|
|
12059
|
+
}
|
|
12060
|
+
}
|
|
12061
|
+
|
|
12062
|
+
firstUpdated() {
|
|
12063
|
+
this.notifyReady();
|
|
12064
|
+
}
|
|
12065
|
+
|
|
12066
|
+
surfaceSubmitEvent() {
|
|
12067
|
+
if (this.form) {
|
|
12068
|
+
this.form.requestSubmit();
|
|
12069
|
+
}
|
|
12070
|
+
}
|
|
12071
|
+
|
|
12072
|
+
get form() {
|
|
12073
|
+
return this.internals ? this.internals.form : null;
|
|
12074
|
+
}
|
|
12075
|
+
|
|
12076
|
+
render() {
|
|
12077
|
+
const classes = {
|
|
12078
|
+
'util_insetLg--squish': true,
|
|
12079
|
+
'auro-button': true,
|
|
12080
|
+
'auroButton': true,
|
|
12081
|
+
'auro-button--rounded': this.rounded,
|
|
12082
|
+
'auro-button--slim': this.slim,
|
|
12083
|
+
'auro-button--iconOnly': this.iconOnly,
|
|
12084
|
+
'auro-button--iconOnlySlim': this.iconOnly && this.slim,
|
|
12085
|
+
'loading': this.loading
|
|
12086
|
+
};
|
|
12087
|
+
|
|
12088
|
+
return u$2`
|
|
12089
|
+
<button
|
|
12090
|
+
part="button"
|
|
12091
|
+
aria-label="${o(this.arialabel ? this.arialabel : undefined)}"
|
|
12092
|
+
aria-labelledby="${o(this.arialabelledby ? this.arialabelledby : undefined)}"
|
|
12093
|
+
?autofocus="${this.autofocus}"
|
|
12094
|
+
class="${e(classes)}"
|
|
12095
|
+
?disabled="${this.disabled || this.loading}"
|
|
12096
|
+
?onDark="${this.onDark}"
|
|
12097
|
+
title="${o(this.title ? this.title : undefined)}"
|
|
12098
|
+
name="${o(this.name ? this.name : undefined)}"
|
|
12099
|
+
type="${o(this.type ? this.type : undefined)}"
|
|
12100
|
+
variant="${o(this.variant ? this.variant : undefined)}"
|
|
12101
|
+
.value="${o(this.value ? this.value : undefined)}"
|
|
12102
|
+
@click="${this.type === 'submit' ? this.surfaceSubmitEvent : undefined}"
|
|
12103
|
+
>
|
|
12104
|
+
${o(this.loading ? u$2`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
12105
|
+
|
|
12106
|
+
<span class="contentWrapper">
|
|
12107
|
+
<span class="textSlot" part="text">
|
|
12108
|
+
${this.iconOnly ? undefined : u$2`<slot></slot>`}
|
|
12109
|
+
</span>
|
|
12110
|
+
|
|
12111
|
+
<span part="icon">
|
|
12112
|
+
<slot name="icon"></slot>
|
|
12113
|
+
</span>
|
|
12114
|
+
</span>
|
|
12115
|
+
</button>
|
|
12116
|
+
`;
|
|
12117
|
+
}
|
|
12118
|
+
};
|
|
12119
|
+
|
|
12120
|
+
var buttonVersion$1 = '9.0.0';
|
|
12121
|
+
|
|
12122
|
+
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
12123
|
+
/**
|
|
12124
|
+
* @prop {Object} firstDayOfWeek - Weekday that will be displayed in first column of month grid.
|
|
12125
|
+
* 0: sunday, 1: monday, 2: tuesday, 3: wednesday , 4: thursday, 5: friday, 6: saturday
|
|
12126
|
+
* Default is 0.
|
|
12127
|
+
* @prop {Date | null} focusedDate - The currently focused date (if any).
|
|
12128
|
+
* @prop {Date} maxDate - Maximum date. All dates after will be disabled.
|
|
12129
|
+
* @prop {Date} minDate - Minimum date. All dates before will be disabled.
|
|
12130
|
+
* @prop {Date | undefined} selectedDate - The selected date, usually synchronized with datepicker-input.
|
|
12131
|
+
* Not to be confused with the focused date (therefore not necessarily in active month view).
|
|
12132
|
+
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat:.
|
|
12133
|
+
* @prop {Boolean} visible - Flag indicating if the calendar is visible.
|
|
12134
|
+
* - 'short' (e.g., Thu)
|
|
12135
|
+
* - 'narrow' (e.g., T).
|
|
12136
|
+
* Default is 'short'.
|
|
12137
|
+
* @event auroCalendar-dateSelected - Notifies that a date has been selected in the calendar.
|
|
12138
|
+
* @event auroCalendar-monthChanged - Notifies that the visible calendar month(s) have changed.
|
|
12139
|
+
*/
|
|
12140
|
+
|
|
12141
|
+
/* eslint-disable no-magic-numbers, no-undef-init, max-lines, lit/binding-positions, lit/no-invalid-html */
|
|
12142
|
+
|
|
12143
|
+
// class AuroCalendar extends LitElement {
|
|
12144
|
+
class AuroCalendar extends RangeDatepicker {
|
|
12145
|
+
constructor() {
|
|
12146
|
+
super();
|
|
12147
|
+
|
|
12148
|
+
/**
|
|
12149
|
+
* @private
|
|
12150
|
+
*/
|
|
12151
|
+
this.util = new AuroDatepickerUtilities();
|
|
12152
|
+
|
|
12153
|
+
/**
|
|
12154
|
+
* @private
|
|
12155
|
+
*/
|
|
12156
|
+
this.utilCal = new CalendarUtilities();
|
|
12157
|
+
|
|
12158
|
+
/**
|
|
12159
|
+
* @private
|
|
12160
|
+
*/
|
|
12161
|
+
this.utilCalRender = new UtilitiesCalendarRender();
|
|
12162
|
+
|
|
12163
|
+
this.calendarStartDate = undefined;
|
|
12164
|
+
this.calendarEndDate = undefined;
|
|
12165
|
+
this.centralDate = undefined;
|
|
12166
|
+
this.showPrevMonthBtn = true;
|
|
12167
|
+
this.showNextMonthBtn = true;
|
|
12168
|
+
|
|
12169
|
+
/**
|
|
12170
|
+
* @private
|
|
12171
|
+
*/
|
|
12172
|
+
this.firstMonthRenderable = undefined;
|
|
12173
|
+
|
|
12174
|
+
/**
|
|
12175
|
+
* @private
|
|
12176
|
+
*/
|
|
12177
|
+
this.calendarRangeMonths = null;
|
|
12178
|
+
|
|
12179
|
+
/**
|
|
12180
|
+
* @private
|
|
12181
|
+
*/
|
|
12182
|
+
this.numCalendars = undefined;
|
|
12183
|
+
|
|
12184
|
+
this.visible = false;
|
|
12185
|
+
|
|
12186
|
+
/**
|
|
12187
|
+
* @private
|
|
12188
|
+
*/
|
|
12189
|
+
this.slots = {};
|
|
12190
|
+
|
|
12191
|
+
const versioning = new AuroDependencyVersioning$5();
|
|
12192
|
+
|
|
12193
|
+
/**
|
|
12194
|
+
* @private
|
|
12195
|
+
*/
|
|
12196
|
+
this.bibtemplateTag = versioning.generateTag('auro-formkit-datepicker-bibtemplate', bibTemplateVersion, AuroBibtemplate);
|
|
12197
|
+
|
|
12198
|
+
/**
|
|
12199
|
+
* @private
|
|
12200
|
+
*/
|
|
12201
|
+
this.buttonTag = versioning.generateTag('auro-formkit-datepicker-button', buttonVersion$1, AuroButton$1);
|
|
11457
12202
|
|
|
11458
|
-
/**
|
|
11459
|
-
* @private
|
|
11460
|
-
*/
|
|
11461
12203
|
this.dropdown = undefined;
|
|
11462
12204
|
}
|
|
11463
12205
|
|
|
11464
12206
|
static get styles() {
|
|
11465
12207
|
return [
|
|
11466
|
-
styleCss$
|
|
11467
|
-
colorCss$
|
|
11468
|
-
tokensCss$
|
|
12208
|
+
styleCss$c,
|
|
12209
|
+
colorCss$c,
|
|
12210
|
+
tokensCss$a
|
|
11469
12211
|
];
|
|
11470
12212
|
}
|
|
11471
12213
|
|
|
@@ -11512,6 +12254,9 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
11512
12254
|
type: Boolean,
|
|
11513
12255
|
reflect: true
|
|
11514
12256
|
},
|
|
12257
|
+
dropdown: {
|
|
12258
|
+
type: Object
|
|
12259
|
+
},
|
|
11515
12260
|
|
|
11516
12261
|
/**
|
|
11517
12262
|
* @private
|
|
@@ -11547,16 +12292,14 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
11547
12292
|
*/
|
|
11548
12293
|
renderAllCalendars() {
|
|
11549
12294
|
let renderedHtml = undefined;
|
|
12295
|
+
|
|
11550
12296
|
if (this.visible) {
|
|
11551
12297
|
this.utilCalRender.setFirstRenderableMonthDate(this);
|
|
11552
12298
|
this.utilCal.assessNavigationButtonVisibility(this);
|
|
11553
12299
|
|
|
11554
|
-
|
|
11555
|
-
const dropdownbib = dropdown ? dropdown.bibContent : AuroLibraryRuntimeUtils$4.prototype.closestElement('auro-dropdownbib, [auro-dropdownbib]', this);
|
|
11556
|
-
this.isFullscreen = dropdownbib.hasAttribute('isFullscreen');
|
|
12300
|
+
this.isFullscreen = this.dropdown.bibContent.hasAttribute('isFullscreen');
|
|
11557
12301
|
this.utilCalRender.determineNumCalendarsToRender(this, this.isFullscreen);
|
|
11558
12302
|
|
|
11559
|
-
|
|
11560
12303
|
// Determine which month to render first
|
|
11561
12304
|
let dateMatches = undefined;
|
|
11562
12305
|
|
|
@@ -11621,6 +12364,7 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
11621
12364
|
renderedHtml = u$2`${renderedHtml}${this.utilCalRender.renderCalendar(this, newMonth, newYear)}`;
|
|
11622
12365
|
}
|
|
11623
12366
|
}
|
|
12367
|
+
|
|
11624
12368
|
return renderedHtml;
|
|
11625
12369
|
}
|
|
11626
12370
|
|
|
@@ -11716,14 +12460,14 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
11716
12460
|
</div>
|
|
11717
12461
|
</div>
|
|
11718
12462
|
|
|
11719
|
-
|
|
12463
|
+
<${this.buttonTag} slot="footer" fluid @click="${this.utilCal.requestDismiss}">Done</${this.buttonTag}>
|
|
11720
12464
|
</${this.bibtemplateTag}>
|
|
11721
12465
|
`;
|
|
11722
12466
|
}
|
|
11723
12467
|
}
|
|
11724
12468
|
|
|
11725
|
-
if (!customElements.get('auro-calendar')) {
|
|
11726
|
-
customElements.define('auro-calendar', AuroCalendar);
|
|
12469
|
+
if (!customElements.get('auro-formkit-calendar')) {
|
|
12470
|
+
customElements.define('auro-formkit-calendar', AuroCalendar);
|
|
11727
12471
|
}
|
|
11728
12472
|
|
|
11729
12473
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
@@ -11733,7 +12477,7 @@ if (!customElements.get('auro-calendar')) {
|
|
|
11733
12477
|
|
|
11734
12478
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11735
12479
|
|
|
11736
|
-
let AuroLibraryRuntimeUtils$
|
|
12480
|
+
let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
|
|
11737
12481
|
|
|
11738
12482
|
/* eslint-disable jsdoc/require-param */
|
|
11739
12483
|
|
|
@@ -13546,11 +14290,11 @@ class AuroFloatingUI {
|
|
|
13546
14290
|
|
|
13547
14291
|
updateCurrentExpandedDropdown() {
|
|
13548
14292
|
// Close any other dropdown that is already open
|
|
13549
|
-
if (document.
|
|
13550
|
-
|
|
14293
|
+
if (document.expandedAuroFormkitDropdown) {
|
|
14294
|
+
document.expandedAuroFormkitDropdown.hide;
|
|
13551
14295
|
}
|
|
13552
14296
|
|
|
13553
|
-
document.
|
|
14297
|
+
document.expandedAuroFormkitDropdown = this;
|
|
13554
14298
|
}
|
|
13555
14299
|
|
|
13556
14300
|
showBib() {
|
|
@@ -13738,7 +14482,7 @@ class AuroFloatingUI {
|
|
|
13738
14482
|
// See LICENSE in the project root for license information.
|
|
13739
14483
|
|
|
13740
14484
|
|
|
13741
|
-
let AuroDependencyVersioning$
|
|
14485
|
+
let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
13742
14486
|
|
|
13743
14487
|
/**
|
|
13744
14488
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -13925,6 +14669,76 @@ var tokensCss$2$1 = i$6`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-d
|
|
|
13925
14669
|
|
|
13926
14670
|
var colorCss$3$1 = i$6`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color:var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color:var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color:var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color:var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color:var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color:var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color:var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
13927
14671
|
|
|
14672
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
14673
|
+
// See LICENSE in the project root for license information.
|
|
14674
|
+
|
|
14675
|
+
// ---------------------------------------------------------------------
|
|
14676
|
+
|
|
14677
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
14678
|
+
|
|
14679
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
14680
|
+
|
|
14681
|
+
/* eslint-disable jsdoc/require-param */
|
|
14682
|
+
|
|
14683
|
+
/**
|
|
14684
|
+
* This will register a new custom element with the browser.
|
|
14685
|
+
* @param {String} name - The name of the custom element.
|
|
14686
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
14687
|
+
* @returns {void}
|
|
14688
|
+
*/
|
|
14689
|
+
registerComponent(name, componentClass) {
|
|
14690
|
+
if (!customElements.get(name)) {
|
|
14691
|
+
customElements.define(name, class extends componentClass {});
|
|
14692
|
+
}
|
|
14693
|
+
}
|
|
14694
|
+
|
|
14695
|
+
/**
|
|
14696
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
14697
|
+
* @returns {void}
|
|
14698
|
+
*/
|
|
14699
|
+
closestElement(
|
|
14700
|
+
selector, // selector like in .closest()
|
|
14701
|
+
base = this, // extra functionality to skip a parent
|
|
14702
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
14703
|
+
!el || el === document || el === window
|
|
14704
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
14705
|
+
: found
|
|
14706
|
+
? found // found a selector INside this element
|
|
14707
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
14708
|
+
) {
|
|
14709
|
+
return __Closest(base);
|
|
14710
|
+
}
|
|
14711
|
+
/* eslint-enable jsdoc/require-param */
|
|
14712
|
+
|
|
14713
|
+
/**
|
|
14714
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
14715
|
+
* @param {Object} elem - The element to check.
|
|
14716
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
14717
|
+
* @returns {void}
|
|
14718
|
+
*/
|
|
14719
|
+
handleComponentTagRename(elem, tagName) {
|
|
14720
|
+
const tag = tagName.toLowerCase();
|
|
14721
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
14722
|
+
|
|
14723
|
+
if (elemTag !== tag) {
|
|
14724
|
+
elem.setAttribute(tag, true);
|
|
14725
|
+
}
|
|
14726
|
+
}
|
|
14727
|
+
|
|
14728
|
+
/**
|
|
14729
|
+
* Validates if an element is a specific Auro component.
|
|
14730
|
+
* @param {Object} elem - The element to validate.
|
|
14731
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
14732
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
14733
|
+
*/
|
|
14734
|
+
elementMatch(elem, tagName) {
|
|
14735
|
+
const tag = tagName.toLowerCase();
|
|
14736
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
14737
|
+
|
|
14738
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
14739
|
+
}
|
|
14740
|
+
};
|
|
14741
|
+
|
|
13928
14742
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13929
14743
|
// See LICENSE in the project root for license information.
|
|
13930
14744
|
|
|
@@ -14221,7 +15035,7 @@ class AuroDropdownBib extends r$3 {
|
|
|
14221
15035
|
*/
|
|
14222
15036
|
this._mobileBreakpointValue = undefined;
|
|
14223
15037
|
|
|
14224
|
-
AuroLibraryRuntimeUtils$
|
|
15038
|
+
AuroLibraryRuntimeUtils$2$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
14225
15039
|
}
|
|
14226
15040
|
|
|
14227
15041
|
static get styles() {
|
|
@@ -14329,7 +15143,7 @@ var tokensCss$5 = i$6`:host{--ds-auro-helptext-color: var(--ds-color-text-tertia
|
|
|
14329
15143
|
|
|
14330
15144
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
14331
15145
|
|
|
14332
|
-
let AuroLibraryRuntimeUtils$
|
|
15146
|
+
let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
14333
15147
|
|
|
14334
15148
|
/* eslint-disable jsdoc/require-param */
|
|
14335
15149
|
|
|
@@ -14409,7 +15223,7 @@ let AuroHelpText$1 = class AuroHelpText extends r$3 {
|
|
|
14409
15223
|
this.error = false;
|
|
14410
15224
|
this.hasTextContent = false;
|
|
14411
15225
|
|
|
14412
|
-
AuroLibraryRuntimeUtils$
|
|
15226
|
+
AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
14413
15227
|
}
|
|
14414
15228
|
|
|
14415
15229
|
static get styles() {
|
|
@@ -14457,7 +15271,7 @@ let AuroHelpText$1 = class AuroHelpText extends r$3 {
|
|
|
14457
15271
|
*
|
|
14458
15272
|
*/
|
|
14459
15273
|
static register(name = "auro-helptext") {
|
|
14460
|
-
AuroLibraryRuntimeUtils$
|
|
15274
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroHelpText);
|
|
14461
15275
|
}
|
|
14462
15276
|
|
|
14463
15277
|
updated() {
|
|
@@ -14590,7 +15404,7 @@ class AuroDropdown extends r$3 {
|
|
|
14590
15404
|
/**
|
|
14591
15405
|
* @private
|
|
14592
15406
|
*/
|
|
14593
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
15407
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2$1();
|
|
14594
15408
|
|
|
14595
15409
|
/**
|
|
14596
15410
|
* @private
|
|
@@ -14610,22 +15424,22 @@ class AuroDropdown extends r$3 {
|
|
|
14610
15424
|
/**
|
|
14611
15425
|
* Generate unique names for dependency components.
|
|
14612
15426
|
*/
|
|
14613
|
-
const versioning = new AuroDependencyVersioning$
|
|
15427
|
+
const versioning = new AuroDependencyVersioning$2();
|
|
14614
15428
|
|
|
14615
15429
|
/**
|
|
14616
15430
|
* @private
|
|
14617
15431
|
*/
|
|
14618
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion$1, AuroIcon$1);
|
|
15432
|
+
this.iconTag = versioning.generateTag('auro-formkit-dropdown-icon', iconVersion$1, AuroIcon$1);
|
|
14619
15433
|
|
|
14620
15434
|
/**
|
|
14621
15435
|
* @private
|
|
14622
15436
|
*/
|
|
14623
|
-
this.dropdownBibTag = versioning.generateTag('auro-dropdownbib', dropdownVersion$1, AuroDropdownBib);
|
|
15437
|
+
this.dropdownBibTag = versioning.generateTag('auro-formkit-dropdown-dropdownbib', dropdownVersion$1, AuroDropdownBib);
|
|
14624
15438
|
|
|
14625
15439
|
/**
|
|
14626
15440
|
* @private
|
|
14627
15441
|
*/
|
|
14628
|
-
this.helpTextTag = versioning.generateTag('auro-helptext', helpTextVersion$1, AuroHelpText$1);
|
|
15442
|
+
this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion$1, AuroHelpText$1);
|
|
14629
15443
|
}
|
|
14630
15444
|
|
|
14631
15445
|
/**
|
|
@@ -14828,7 +15642,7 @@ class AuroDropdown extends r$3 {
|
|
|
14828
15642
|
*
|
|
14829
15643
|
*/
|
|
14830
15644
|
static register(name = "auro-dropdown") {
|
|
14831
|
-
AuroLibraryRuntimeUtils$
|
|
15645
|
+
AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroDropdown);
|
|
14832
15646
|
}
|
|
14833
15647
|
|
|
14834
15648
|
connectedCallback() {
|
|
@@ -14851,6 +15665,7 @@ class AuroDropdown extends r$3 {
|
|
|
14851
15665
|
if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
|
|
14852
15666
|
this.handleTriggerContentSlotChange();
|
|
14853
15667
|
}
|
|
15668
|
+
|
|
14854
15669
|
}
|
|
14855
15670
|
|
|
14856
15671
|
firstUpdated() {
|
|
@@ -18898,7 +19713,7 @@ class AuroInputUtilities {
|
|
|
18898
19713
|
|
|
18899
19714
|
return {
|
|
18900
19715
|
mask: Date,
|
|
18901
|
-
pattern:
|
|
19716
|
+
pattern: dateFormat,
|
|
18902
19717
|
blocks,
|
|
18903
19718
|
format(date) {
|
|
18904
19719
|
if (!date) {
|
|
@@ -19072,7 +19887,7 @@ class AuroInputUtilities {
|
|
|
19072
19887
|
|
|
19073
19888
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
19074
19889
|
|
|
19075
|
-
let AuroLibraryRuntimeUtils$
|
|
19890
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
19076
19891
|
|
|
19077
19892
|
/* eslint-disable jsdoc/require-param */
|
|
19078
19893
|
|
|
@@ -19141,7 +19956,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
19141
19956
|
|
|
19142
19957
|
class AuroFormValidation {
|
|
19143
19958
|
constructor() {
|
|
19144
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
19959
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
19145
19960
|
}
|
|
19146
19961
|
|
|
19147
19962
|
/**
|
|
@@ -20405,7 +21220,7 @@ class BaseInput extends r$3 {
|
|
|
20405
21220
|
// See LICENSE in the project root for license information.
|
|
20406
21221
|
|
|
20407
21222
|
|
|
20408
|
-
class AuroDependencyVersioning {
|
|
21223
|
+
let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
20409
21224
|
|
|
20410
21225
|
/**
|
|
20411
21226
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -20439,7 +21254,7 @@ class AuroDependencyVersioning {
|
|
|
20439
21254
|
|
|
20440
21255
|
return tag;
|
|
20441
21256
|
}
|
|
20442
|
-
}
|
|
21257
|
+
};
|
|
20443
21258
|
|
|
20444
21259
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
20445
21260
|
// See LICENSE in the project root for license information.
|
|
@@ -20552,45 +21367,115 @@ class BaseIcon extends AuroElement {
|
|
|
20552
21367
|
}
|
|
20553
21368
|
|
|
20554
21369
|
/**
|
|
20555
|
-
* Async function to fetch requested icon from npm CDN.
|
|
20556
|
-
* @private
|
|
20557
|
-
* @param {string} category - Icon category.
|
|
20558
|
-
* @param {string} name - Icon name.
|
|
20559
|
-
* @returns {SVGElement} DOM - Ready HTML to be appended.
|
|
21370
|
+
* Async function to fetch requested icon from npm CDN.
|
|
21371
|
+
* @private
|
|
21372
|
+
* @param {string} category - Icon category.
|
|
21373
|
+
* @param {string} name - Icon name.
|
|
21374
|
+
* @returns {SVGElement} DOM - Ready HTML to be appended.
|
|
21375
|
+
*/
|
|
21376
|
+
async fetchIcon(category, name) {
|
|
21377
|
+
let iconHTML = '';
|
|
21378
|
+
|
|
21379
|
+
if (category === 'logos') {
|
|
21380
|
+
iconHTML = await cacheFetch(`${this.uri}/${category}/${name}.svg`);
|
|
21381
|
+
} else {
|
|
21382
|
+
iconHTML = await cacheFetch(`${this.uri}/icons/${category}/${name}.svg`);
|
|
21383
|
+
}
|
|
21384
|
+
|
|
21385
|
+
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
21386
|
+
|
|
21387
|
+
return dom.body.querySelector('svg');
|
|
21388
|
+
}
|
|
21389
|
+
|
|
21390
|
+
// lifecycle function
|
|
21391
|
+
async firstUpdated() {
|
|
21392
|
+
if (!this.customSvg) {
|
|
21393
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
21394
|
+
|
|
21395
|
+
if (svg) {
|
|
21396
|
+
this.svg = svg;
|
|
21397
|
+
} else if (!svg) {
|
|
21398
|
+
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
21399
|
+
|
|
21400
|
+
this.svg = penDOM.body.firstChild;
|
|
21401
|
+
}
|
|
21402
|
+
}
|
|
21403
|
+
}
|
|
21404
|
+
}
|
|
21405
|
+
|
|
21406
|
+
var tokensCss$3 = i$6`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
21407
|
+
|
|
21408
|
+
var colorCss$3 = i$6`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color:var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color:var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color:var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color:var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color:var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color:var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color:var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
21409
|
+
|
|
21410
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
21411
|
+
// See LICENSE in the project root for license information.
|
|
21412
|
+
|
|
21413
|
+
// ---------------------------------------------------------------------
|
|
21414
|
+
|
|
21415
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
21416
|
+
|
|
21417
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
21418
|
+
|
|
21419
|
+
/* eslint-disable jsdoc/require-param */
|
|
21420
|
+
|
|
21421
|
+
/**
|
|
21422
|
+
* This will register a new custom element with the browser.
|
|
21423
|
+
* @param {String} name - The name of the custom element.
|
|
21424
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
21425
|
+
* @returns {void}
|
|
21426
|
+
*/
|
|
21427
|
+
registerComponent(name, componentClass) {
|
|
21428
|
+
if (!customElements.get(name)) {
|
|
21429
|
+
customElements.define(name, class extends componentClass {});
|
|
21430
|
+
}
|
|
21431
|
+
}
|
|
21432
|
+
|
|
21433
|
+
/**
|
|
21434
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
21435
|
+
* @returns {void}
|
|
21436
|
+
*/
|
|
21437
|
+
closestElement(
|
|
21438
|
+
selector, // selector like in .closest()
|
|
21439
|
+
base = this, // extra functionality to skip a parent
|
|
21440
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
21441
|
+
!el || el === document || el === window
|
|
21442
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
21443
|
+
: found
|
|
21444
|
+
? found // found a selector INside this element
|
|
21445
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
21446
|
+
) {
|
|
21447
|
+
return __Closest(base);
|
|
21448
|
+
}
|
|
21449
|
+
/* eslint-enable jsdoc/require-param */
|
|
21450
|
+
|
|
21451
|
+
/**
|
|
21452
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
21453
|
+
* @param {Object} elem - The element to check.
|
|
21454
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
21455
|
+
* @returns {void}
|
|
20560
21456
|
*/
|
|
20561
|
-
|
|
20562
|
-
|
|
21457
|
+
handleComponentTagRename(elem, tagName) {
|
|
21458
|
+
const tag = tagName.toLowerCase();
|
|
21459
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
20563
21460
|
|
|
20564
|
-
if (
|
|
20565
|
-
|
|
20566
|
-
} else {
|
|
20567
|
-
iconHTML = await cacheFetch(`${this.uri}/icons/${category}/${name}.svg`);
|
|
21461
|
+
if (elemTag !== tag) {
|
|
21462
|
+
elem.setAttribute(tag, true);
|
|
20568
21463
|
}
|
|
20569
|
-
|
|
20570
|
-
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
20571
|
-
|
|
20572
|
-
return dom.body.querySelector('svg');
|
|
20573
21464
|
}
|
|
20574
21465
|
|
|
20575
|
-
|
|
20576
|
-
|
|
20577
|
-
|
|
20578
|
-
|
|
20579
|
-
|
|
20580
|
-
|
|
20581
|
-
|
|
20582
|
-
|
|
20583
|
-
|
|
21466
|
+
/**
|
|
21467
|
+
* Validates if an element is a specific Auro component.
|
|
21468
|
+
* @param {Object} elem - The element to validate.
|
|
21469
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
21470
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
21471
|
+
*/
|
|
21472
|
+
elementMatch(elem, tagName) {
|
|
21473
|
+
const tag = tagName.toLowerCase();
|
|
21474
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
20584
21475
|
|
|
20585
|
-
|
|
20586
|
-
}
|
|
20587
|
-
}
|
|
21476
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
20588
21477
|
}
|
|
20589
|
-
}
|
|
20590
|
-
|
|
20591
|
-
var tokensCss$3 = i$6`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
20592
|
-
|
|
20593
|
-
var colorCss$3 = i$6`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color:var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color:var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color:var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color:var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color:var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color:var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color:var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color:var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color:var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color:var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color:var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color:var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color:var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color:var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
21478
|
+
};
|
|
20594
21479
|
|
|
20595
21480
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
20596
21481
|
// See LICENSE in the project root for license information.
|
|
@@ -20624,7 +21509,7 @@ class AuroIcon extends BaseIcon {
|
|
|
20624
21509
|
this.tertiary = false;
|
|
20625
21510
|
this.warning = false;
|
|
20626
21511
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
20627
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
21512
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
20628
21513
|
}
|
|
20629
21514
|
|
|
20630
21515
|
// function to define props used within the scope of this component
|
|
@@ -20786,7 +21671,7 @@ class AuroIcon extends BaseIcon {
|
|
|
20786
21671
|
*
|
|
20787
21672
|
*/
|
|
20788
21673
|
static register(name = "auro-icon") {
|
|
20789
|
-
AuroLibraryRuntimeUtils$
|
|
21674
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroIcon);
|
|
20790
21675
|
}
|
|
20791
21676
|
|
|
20792
21677
|
connectedCallback() {
|
|
@@ -20854,12 +21739,192 @@ class AuroIcon extends BaseIcon {
|
|
|
20854
21739
|
|
|
20855
21740
|
var iconVersion = '6.1.2';
|
|
20856
21741
|
|
|
21742
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
21743
|
+
// See LICENSE in the project root for license information.
|
|
21744
|
+
|
|
21745
|
+
|
|
21746
|
+
class AuroDependencyVersioning {
|
|
21747
|
+
|
|
21748
|
+
/**
|
|
21749
|
+
* Generates a unique string to be used for child auro element naming.
|
|
21750
|
+
* @private
|
|
21751
|
+
* @param {string} baseName - Defines the first part of the unique element name.
|
|
21752
|
+
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
21753
|
+
* @returns {string} - Unique string to be used for naming.
|
|
21754
|
+
*/
|
|
21755
|
+
generateElementName(baseName, version) {
|
|
21756
|
+
let result = baseName;
|
|
21757
|
+
|
|
21758
|
+
result += '-';
|
|
21759
|
+
result += version.replace(/[.]/g, '_');
|
|
21760
|
+
|
|
21761
|
+
return result;
|
|
21762
|
+
}
|
|
21763
|
+
|
|
21764
|
+
/**
|
|
21765
|
+
* Generates a unique string to be used for child auro element naming.
|
|
21766
|
+
* @param {string} baseName - Defines the first part of the unique element name.
|
|
21767
|
+
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
21768
|
+
* @returns {string} - Unique string to be used for naming.
|
|
21769
|
+
*/
|
|
21770
|
+
generateTag(baseName, version, tagClass) {
|
|
21771
|
+
const elementName = this.generateElementName(baseName, version);
|
|
21772
|
+
const tag = i$2`${s$1(elementName)}`;
|
|
21773
|
+
|
|
21774
|
+
if (!customElements.get(elementName)) {
|
|
21775
|
+
customElements.define(elementName, class extends tagClass {});
|
|
21776
|
+
}
|
|
21777
|
+
|
|
21778
|
+
return tag;
|
|
21779
|
+
}
|
|
21780
|
+
}
|
|
21781
|
+
|
|
21782
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
21783
|
+
// See LICENSE in the project root for license information.
|
|
21784
|
+
|
|
21785
|
+
// ---------------------------------------------------------------------
|
|
21786
|
+
|
|
21787
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
21788
|
+
|
|
21789
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
21790
|
+
|
|
21791
|
+
/* eslint-disable jsdoc/require-param */
|
|
21792
|
+
|
|
21793
|
+
/**
|
|
21794
|
+
* This will register a new custom element with the browser.
|
|
21795
|
+
* @param {String} name - The name of the custom element.
|
|
21796
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
21797
|
+
* @returns {void}
|
|
21798
|
+
*/
|
|
21799
|
+
registerComponent(name, componentClass) {
|
|
21800
|
+
if (!customElements.get(name)) {
|
|
21801
|
+
customElements.define(name, class extends componentClass {});
|
|
21802
|
+
}
|
|
21803
|
+
}
|
|
21804
|
+
|
|
21805
|
+
/**
|
|
21806
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
21807
|
+
* @returns {void}
|
|
21808
|
+
*/
|
|
21809
|
+
closestElement(
|
|
21810
|
+
selector, // selector like in .closest()
|
|
21811
|
+
base = this, // extra functionality to skip a parent
|
|
21812
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
21813
|
+
!el || el === document || el === window
|
|
21814
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
21815
|
+
: found
|
|
21816
|
+
? found // found a selector INside this element
|
|
21817
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
21818
|
+
) {
|
|
21819
|
+
return __Closest(base);
|
|
21820
|
+
}
|
|
21821
|
+
/* eslint-enable jsdoc/require-param */
|
|
21822
|
+
|
|
21823
|
+
/**
|
|
21824
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
21825
|
+
* @param {Object} elem - The element to check.
|
|
21826
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
21827
|
+
* @returns {void}
|
|
21828
|
+
*/
|
|
21829
|
+
handleComponentTagRename(elem, tagName) {
|
|
21830
|
+
const tag = tagName.toLowerCase();
|
|
21831
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
21832
|
+
|
|
21833
|
+
if (elemTag !== tag) {
|
|
21834
|
+
elem.setAttribute(tag, true);
|
|
21835
|
+
}
|
|
21836
|
+
}
|
|
21837
|
+
|
|
21838
|
+
/**
|
|
21839
|
+
* Validates if an element is a specific Auro component.
|
|
21840
|
+
* @param {Object} elem - The element to validate.
|
|
21841
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
21842
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
21843
|
+
*/
|
|
21844
|
+
elementMatch(elem, tagName) {
|
|
21845
|
+
const tag = tagName.toLowerCase();
|
|
21846
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
21847
|
+
|
|
21848
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
21849
|
+
}
|
|
21850
|
+
};
|
|
21851
|
+
|
|
20857
21852
|
var styleCss$2 = i$6`:focus:not(:focus-visible){outline:3px solid transparent}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block;height:var(--ds-size-300, 1.5rem);width:var(--ds-size-300, 1.5rem)}:host([variant=flat]) .auro-button{height:100%;width:100%}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);font-weight:var(--ds-text-body-default-weight, 500);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]):after{display:block;content:"";height:calc(100% - 2px);width:calc(100% - 2px);position:absolute;top:1px;left:1px;border-radius:4px;border-style:solid;border-width:2px}.auro-button:focus-visible[variant=secondary]:after,.auro-button:focus-visible[variant=tertiary]:after{display:block;content:"";height:100%;width:100%;position:absolute;top:0;left:0;border-radius:var(--ds-border-radius, 0.375rem);border-style:solid;border-width:2px}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=flat]{height:unset;width:unset;min-height:unset;max-height:unset;min-width:unset;max-width:unset;border:0;border-radius:unset;gap:unset;padding:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button--slim{padding:var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);font-size:var(--ds-text-body-size-sm, 0.875rem);min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, $ds-size-300)}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size:calc(var(--ds-size-200, $ds-size-200) + var(--ds-size-50, $ds-size-50))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:all 300ms ease-out}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, $ds-size-300)}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
|
|
20858
21853
|
|
|
20859
21854
|
var colorCss$2 = i$6`[auro-loader]{color:var(--ds-auro-button-loader-color)}.auro-button{-webkit-tap-highlight-color:var(--ds-auro-button-tap-color);color:var(--ds-auro-button-text-color);background-color:var(--ds-auro-button-container-color);background-image:linear-gradient(var(--ds-auro-button-container-image), var(--ds-auro-button-container-image));border-color:var(--ds-auro-button-border-color)}.auro-button:not([variant=secondary]):not([variant=tertiary]):focus-visible:after{border-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-active-default, #225296)}.auro-button:not([ondark])[disabled]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-disabled-default, #a0c9f1)}@media(hover: hover){.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-hover-default, #193d73);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-default-default, #ffffff);--ds-auro-button-border-color:var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-text-color:var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=secondary]:active:not(:disabled),.auro-button:not([ondark])[variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:var(--ds-color-border-ui-hover-default, #193d73);--ds-auro-button-text-color:var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-color-border-ui-focus-default, #2c67b5)}.auro-button:not([ondark])[variant=secondary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-active-default, #f0f7fd);--ds-auro-button-border-color:var(--ds-color-border-ui-active-default, #225296);--ds-auro-button-text-color:var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-disabled-default, #f7f7f7);--ds-auro-button-border-color:var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-default-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-default-default, #2c67b5)}@media(hover: hover){.auro-button:not([ondark])[variant=tertiary]:active:not(:disabled),.auro-button:not([ondark])[variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-hover-default, rgba(0, 0, 0, 0.12));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-hover-default, #193d73)}}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-color-border-ui-default-default, #2c67b5);--ds-auro-button-border-inset-color:var(--ds-color-border-ui-default-default, #2c67b5)}.auro-button:not([ondark])[variant=tertiary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-active-default, rgba(0, 0, 0, 0.06));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-active-default, #225296)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-disabled-default, rgba(0, 0, 0, 0.03));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-default, #adadad)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-color-icon-ui-secondary-default-default);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-default);background-color:transparent;background-image:none;border-color:transparent}}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-color-icon-ui-secondary-disabled-default);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-default-inverse, #56bbde);--ds-auro-button-text-color:var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-button-loader-color:var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-hover-inverse, #a8e9f7)}}.auro-button[ondark]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-active-inverse, #6ad5ef)}.auro-button[ondark][disabled]{--ds-auro-button-container-color:var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-disabled-inverse, #275b72);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e);--ds-auro-button-border-color:var(--ds-color-container-ui-primary-disabled-inverse, #275b72)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-default-inverse, rgba(255, 255, 255, 0.03));--ds-auro-button-border-color:var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-text-color:var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=secondary]:hover{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-hover-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:var(--ds-color-border-ui-hover-inverse, #a8e9f7);--ds-auro-button-text-color:var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-color-border-ui-focus-inverse, #56bbde)}.auro-button[ondark][variant=secondary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color:var(--ds-color-border-ui-active-inverse, #6ad5ef);--ds-auro-button-text-color:var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-secondary-disabled-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:var(--ds-color-border-ui-disabled-inverse, #7e7e7e);--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-default-inverse, rgba(255, 255, 255, 0.12));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-default-inverse, #56bbde)}@media(hover: hover){.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-hover-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-hover-inverse, #a8e9f7)}}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-color-border-ui-default-inverse, #56bbde);--ds-auro-button-border-inset-color:var(--ds-color-border-ui-default-inverse, #56bbde)}.auro-button[ondark][variant=tertiary]:active{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-active-inverse, rgba(255, 255, 255, 0.06));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-active-inverse, #6ad5ef)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-container-color:var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-container-image:var(--ds-color-container-ui-tertiary-disabled-inverse, rgba(255, 255, 255, 0.25));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-color-text-ui-disabled-inverse, #7e7e7e)}.auro-button[ondark][variant=flat]{color:var(--ds-color-icon-ui-secondary-default-inverse);background-color:transparent;background-image:none;border-color:transparent}@media(hover: hover){.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-color-icon-ui-secondary-hover-inverse);background-color:transparent;background-image:none;border-color:transparent}}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-color-icon-ui-disabled-default);background-color:transparent;background-image:none;border-color:transparent}`;
|
|
20860
21855
|
|
|
20861
21856
|
var tokensCss$2 = i$6`:host{--ds-auro-button-border-color:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-border-inset-color:var(--ds-color-border-emphasis-inverse, #f2f7fb);--ds-auro-button-container-color:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-loader-color:var(--ds-color-utility-navy-default, #265688);--ds-auro-button-text-color:var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-tap-color:transparent}`;
|
|
20862
21857
|
|
|
21858
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
21859
|
+
// See LICENSE in the project root for license information.
|
|
21860
|
+
|
|
21861
|
+
// ---------------------------------------------------------------------
|
|
21862
|
+
|
|
21863
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
21864
|
+
|
|
21865
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
21866
|
+
|
|
21867
|
+
/* eslint-disable jsdoc/require-param */
|
|
21868
|
+
|
|
21869
|
+
/**
|
|
21870
|
+
* This will register a new custom element with the browser.
|
|
21871
|
+
* @param {String} name - The name of the custom element.
|
|
21872
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
21873
|
+
* @returns {void}
|
|
21874
|
+
*/
|
|
21875
|
+
registerComponent(name, componentClass) {
|
|
21876
|
+
if (!customElements.get(name)) {
|
|
21877
|
+
customElements.define(name, class extends componentClass {});
|
|
21878
|
+
}
|
|
21879
|
+
}
|
|
21880
|
+
|
|
21881
|
+
/**
|
|
21882
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
21883
|
+
* @returns {void}
|
|
21884
|
+
*/
|
|
21885
|
+
closestElement(
|
|
21886
|
+
selector, // selector like in .closest()
|
|
21887
|
+
base = this, // extra functionality to skip a parent
|
|
21888
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
21889
|
+
!el || el === document || el === window
|
|
21890
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
21891
|
+
: found
|
|
21892
|
+
? found // found a selector INside this element
|
|
21893
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
21894
|
+
) {
|
|
21895
|
+
return __Closest(base);
|
|
21896
|
+
}
|
|
21897
|
+
/* eslint-enable jsdoc/require-param */
|
|
21898
|
+
|
|
21899
|
+
/**
|
|
21900
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
21901
|
+
* @param {Object} elem - The element to check.
|
|
21902
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
21903
|
+
* @returns {void}
|
|
21904
|
+
*/
|
|
21905
|
+
handleComponentTagRename(elem, tagName) {
|
|
21906
|
+
const tag = tagName.toLowerCase();
|
|
21907
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
21908
|
+
|
|
21909
|
+
if (elemTag !== tag) {
|
|
21910
|
+
elem.setAttribute(tag, true);
|
|
21911
|
+
}
|
|
21912
|
+
}
|
|
21913
|
+
|
|
21914
|
+
/**
|
|
21915
|
+
* Validates if an element is a specific Auro component.
|
|
21916
|
+
* @param {Object} elem - The element to validate.
|
|
21917
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
21918
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
21919
|
+
*/
|
|
21920
|
+
elementMatch(elem, tagName) {
|
|
21921
|
+
const tag = tagName.toLowerCase();
|
|
21922
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
21923
|
+
|
|
21924
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
21925
|
+
}
|
|
21926
|
+
};
|
|
21927
|
+
|
|
20863
21928
|
var styleCss$1 = i$6`: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}: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:0.375rem;--margin-xs:0.2rem;--margin-sm:0.5rem;--margin-md:0.75rem;--margin-lg:1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin)*6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs)*6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm)*6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md)*6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg)*6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-400ms}:host([pulse])>span:nth-child(2){animation-delay:-200ms}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,100%{opacity:.1;transform:scale(0.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(0deg)}100%{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{100%{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{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%}100%{left:110%}}:host>.no-animation{display:none}@media(prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center;font-size:1rem}:host>span{opacity:1}:host>.loader{display:none}:host>.no-animation{display:block}}`;
|
|
20864
21929
|
|
|
20865
21930
|
var colorCss$1 = i$6`: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]){--ds-auro-loader-color:var(--ds-color-utility-navy-default, #265688)}:host([ondark]){--ds-auro-loader-color:var(--ds-color-utility-cyan-inverse, #a8e9f7)}:host([white]){--ds-auro-loader-color:var(--ds-color-utility-neutral-inverse, #ccd2db)}: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}`;
|
|
@@ -21178,7 +22243,7 @@ class AuroButton extends r$3 {
|
|
|
21178
22243
|
*
|
|
21179
22244
|
*/
|
|
21180
22245
|
static register(name = "auro-button") {
|
|
21181
|
-
AuroLibraryRuntimeUtils$
|
|
22246
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroButton);
|
|
21182
22247
|
}
|
|
21183
22248
|
|
|
21184
22249
|
/**
|
|
@@ -21487,22 +22552,22 @@ class AuroInput extends BaseInput {
|
|
|
21487
22552
|
/**
|
|
21488
22553
|
* Generate unique names for dependency components.
|
|
21489
22554
|
*/
|
|
21490
|
-
const versioning = new AuroDependencyVersioning();
|
|
22555
|
+
const versioning = new AuroDependencyVersioning$1();
|
|
21491
22556
|
|
|
21492
22557
|
/**
|
|
21493
22558
|
* @private
|
|
21494
22559
|
*/
|
|
21495
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
|
|
22560
|
+
this.iconTag = versioning.generateTag('auro-formkit-input-icon', iconVersion, AuroIcon);
|
|
21496
22561
|
|
|
21497
22562
|
/**
|
|
21498
22563
|
* @private
|
|
21499
22564
|
*/
|
|
21500
|
-
this.buttonTag = versioning.generateTag('auro-button', buttonVersion, AuroButton);
|
|
22565
|
+
this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion, AuroButton);
|
|
21501
22566
|
|
|
21502
22567
|
/**
|
|
21503
22568
|
* @private
|
|
21504
22569
|
*/
|
|
21505
|
-
this.helpTextTag = versioning.generateTag('auro-helptext', helpTextVersion, AuroHelpText);
|
|
22570
|
+
this.helpTextTag = versioning.generateTag('auro-formkit-input-helptext', helpTextVersion, AuroHelpText);
|
|
21506
22571
|
}
|
|
21507
22572
|
|
|
21508
22573
|
/**
|
|
@@ -21514,7 +22579,7 @@ class AuroInput extends BaseInput {
|
|
|
21514
22579
|
*
|
|
21515
22580
|
*/
|
|
21516
22581
|
static register(name = "auro-input") {
|
|
21517
|
-
AuroLibraryRuntimeUtils$
|
|
22582
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroInput);
|
|
21518
22583
|
}
|
|
21519
22584
|
|
|
21520
22585
|
/**
|
|
@@ -21772,7 +22837,7 @@ class AuroDatePicker extends r$3 {
|
|
|
21772
22837
|
/**
|
|
21773
22838
|
* @private
|
|
21774
22839
|
*/
|
|
21775
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
22840
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$9();
|
|
21776
22841
|
|
|
21777
22842
|
/**
|
|
21778
22843
|
* @private
|
|
@@ -21782,17 +22847,17 @@ class AuroDatePicker extends r$3 {
|
|
|
21782
22847
|
/**
|
|
21783
22848
|
* Generate unique names for dependency components.
|
|
21784
22849
|
*/
|
|
21785
|
-
const versioning = new AuroDependencyVersioning$
|
|
22850
|
+
const versioning = new AuroDependencyVersioning$5();
|
|
21786
22851
|
|
|
21787
22852
|
/**
|
|
21788
22853
|
* @private
|
|
21789
22854
|
*/
|
|
21790
|
-
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
22855
|
+
this.dropdownTag = versioning.generateTag('auro-formkit-datepicker-dropdown', dropdownVersion, AuroDropdown);
|
|
21791
22856
|
|
|
21792
22857
|
/**
|
|
21793
22858
|
* @private
|
|
21794
22859
|
*/
|
|
21795
|
-
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
22860
|
+
this.inputTag = versioning.generateTag('auro-formkit-datepicker-input', inputVersion, AuroInput);
|
|
21796
22861
|
|
|
21797
22862
|
/**
|
|
21798
22863
|
* @private
|
|
@@ -21958,6 +23023,14 @@ class AuroDatePicker extends r$3 {
|
|
|
21958
23023
|
type: String
|
|
21959
23024
|
},
|
|
21960
23025
|
|
|
23026
|
+
/**
|
|
23027
|
+
* Set true to make datepicker stacked style.
|
|
23028
|
+
*/
|
|
23029
|
+
stacked: {
|
|
23030
|
+
type: Boolean,
|
|
23031
|
+
reflect: true,
|
|
23032
|
+
},
|
|
23033
|
+
|
|
21961
23034
|
/**
|
|
21962
23035
|
* Specifies the `validityState` this element is in.
|
|
21963
23036
|
*/
|
|
@@ -21984,9 +23057,9 @@ class AuroDatePicker extends r$3 {
|
|
|
21984
23057
|
|
|
21985
23058
|
static get styles() {
|
|
21986
23059
|
return [
|
|
21987
|
-
styleCss$
|
|
21988
|
-
colorCss$
|
|
21989
|
-
tokensCss$
|
|
23060
|
+
styleCss$d,
|
|
23061
|
+
colorCss$d,
|
|
23062
|
+
tokensCss$a
|
|
21990
23063
|
];
|
|
21991
23064
|
}
|
|
21992
23065
|
|
|
@@ -21999,7 +23072,7 @@ class AuroDatePicker extends r$3 {
|
|
|
21999
23072
|
*
|
|
22000
23073
|
*/
|
|
22001
23074
|
static register(name = "auro-datepicker") {
|
|
22002
|
-
AuroLibraryRuntimeUtils$
|
|
23075
|
+
AuroLibraryRuntimeUtils$9.prototype.registerComponent(name, AuroDatePicker);
|
|
22003
23076
|
}
|
|
22004
23077
|
|
|
22005
23078
|
/**
|
|
@@ -22216,9 +23289,10 @@ class AuroDatePicker extends r$3 {
|
|
|
22216
23289
|
* @returns {void}
|
|
22217
23290
|
*/
|
|
22218
23291
|
configureCalendar() {
|
|
22219
|
-
this.calendar = this.shadowRoot.querySelector('auro-calendar');
|
|
23292
|
+
this.calendar = this.shadowRoot.querySelector('auro-formkit-calendar');
|
|
22220
23293
|
this.calendar.datepicker = this;
|
|
22221
23294
|
this.calendar.format = this.format;
|
|
23295
|
+
this.calendar.dropdown = this.dropdown;
|
|
22222
23296
|
|
|
22223
23297
|
this.calendar.addEventListener('auroCalendar-dateSelected', () => {
|
|
22224
23298
|
if (this.inputList[0].value !== this.calendar.dateFrom && this.calendar.dateFrom !== undefined) {
|
|
@@ -22698,7 +23772,7 @@ class AuroDatePicker extends r$3 {
|
|
|
22698
23772
|
` : undefined}
|
|
22699
23773
|
</div>
|
|
22700
23774
|
<div class="calendarWrapper" part="calendarWrapper">
|
|
22701
|
-
<auro-calendar
|
|
23775
|
+
<auro-formkit-calendar
|
|
22702
23776
|
?largeFullscreenHeadline="${this.largeFullscreenHeadline}"
|
|
22703
23777
|
?noRange="${!this.range}"
|
|
22704
23778
|
.format="${this.format}"
|
|
@@ -22714,7 +23788,7 @@ class AuroDatePicker extends r$3 {
|
|
|
22714
23788
|
<slot slot="bib.fullscreen.dateLabel" name="bib.fullscreen.dateLabel" @slotchange="${this.handleSlotToSlot}"></slot>
|
|
22715
23789
|
<span slot="bib.fullscreen.fromStr">${this.value || u$2`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>
|
|
22716
23790
|
${this.range ? u$2`<span slot="mobileDateToStr">${this.valueEnd || u$2`<span class="placeholderDate">${this.format.toUpperCase()}</span>`}</span>` : undefined}
|
|
22717
|
-
</auro-calendar>
|
|
23791
|
+
</auro-formkit-calendar>
|
|
22718
23792
|
</div>
|
|
22719
23793
|
<p slot="helpText" part="helpTextSpan">
|
|
22720
23794
|
<!-- Help text and error message template -->
|