@aurodesignsystem/auro-formkit 2.2.1 → 3.0.1
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 +56 -0
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +1 -0
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +20 -178
- package/components/bibtemplate/dist/registered.js +20 -178
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.html +2 -1
- package/components/checkbox/demo/api.md +129 -58
- package/components/checkbox/demo/api.min.js +41 -8
- package/components/checkbox/demo/index.html +2 -1
- package/components/checkbox/demo/index.md +116 -50
- package/components/checkbox/demo/index.min.js +41 -8
- package/components/checkbox/demo/readme.html +2 -1
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts +8 -0
- package/components/checkbox/dist/auro-checkbox.d.ts +8 -0
- package/components/checkbox/dist/index.js +41 -8
- package/components/checkbox/dist/registered.js +41 -8
- package/components/combobox/README.md +1 -1
- package/components/combobox/demo/api.html +2 -1
- package/components/combobox/demo/api.md +106 -5
- package/components/combobox/demo/api.min.js +266 -1001
- package/components/combobox/demo/index.html +2 -4
- package/components/combobox/demo/index.md +32 -0
- package/components/combobox/demo/index.min.js +266 -1001
- package/components/combobox/demo/readme.html +2 -1
- package/components/combobox/demo/readme.md +1 -1
- package/components/combobox/dist/auro-combobox.d.ts +19 -5
- package/components/combobox/dist/index.js +236 -811
- package/components/combobox/dist/registered.js +236 -811
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.html +2 -1
- package/components/counter/demo/api.md +29 -10
- package/components/counter/demo/api.min.js +189 -781
- package/components/counter/demo/index.html +2 -1
- package/components/counter/demo/index.md +104 -8
- package/components/counter/demo/index.min.js +189 -781
- package/components/counter/demo/readme.html +2 -1
- package/components/counter/demo/readme.md +1 -1
- package/components/counter/dist/auro-counter-group.d.ts +14 -3
- package/components/counter/dist/auro-counter.d.ts +1 -0
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +189 -781
- package/components/counter/dist/registered.js +189 -781
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.html +2 -4
- package/components/datepicker/demo/api.md +17 -16
- package/components/datepicker/demo/api.min.js +334 -1067
- package/components/datepicker/demo/index.html +2 -4
- package/components/datepicker/demo/index.md +38 -0
- package/components/datepicker/demo/index.min.js +334 -1067
- package/components/datepicker/demo/readme.html +2 -1
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/auro-calendar-cell.d.ts +1 -0
- package/components/datepicker/dist/auro-calendar-month.d.ts +1 -0
- package/components/datepicker/dist/auro-calendar.d.ts +3 -2
- package/components/datepicker/dist/auro-datepicker.d.ts +11 -0
- package/components/datepicker/dist/index.js +334 -1067
- package/components/datepicker/dist/registered.js +334 -1067
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.html +2 -1
- package/components/dropdown/demo/api.md +173 -82
- package/components/dropdown/demo/api.min.js +41 -183
- package/components/dropdown/demo/index.html +2 -1
- package/components/dropdown/demo/index.md +86 -4
- package/components/dropdown/demo/index.min.js +41 -183
- package/components/dropdown/demo/readme.html +2 -1
- package/components/dropdown/demo/readme.md +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +8 -0
- package/components/dropdown/dist/auro-dropdownBib.d.ts +2 -2
- package/components/dropdown/dist/index.js +41 -183
- package/components/dropdown/dist/registered.js +41 -183
- package/components/form/README.md +1 -1
- package/components/form/demo/api.html +2 -1
- package/components/form/demo/api.min.js +1 -1
- package/components/form/demo/index.html +2 -1
- package/components/form/demo/index.min.js +1 -1
- package/components/form/demo/readme.html +2 -1
- package/components/form/demo/readme.md +1 -1
- package/components/form/demo/working.html +2 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/helptext/dist/auro-helptext.d.ts +8 -0
- package/components/helptext/dist/index.js +11 -2
- package/components/helptext/dist/registered.js +11 -2
- package/components/input/README.md +1 -1
- package/components/input/demo/api.html +2 -1
- package/components/input/demo/api.js +2 -0
- package/components/input/demo/api.md +108 -18
- package/components/input/demo/api.min.js +127 -407
- package/components/input/demo/index.html +2 -1
- package/components/input/demo/index.md +30 -0
- package/components/input/demo/index.min.js +113 -407
- package/components/input/demo/readme.html +2 -1
- package/components/input/demo/readme.md +1 -1
- package/components/input/dist/base-input.d.ts +13 -0
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +113 -407
- package/components/input/dist/registered.js +113 -407
- package/components/menu/README.md +1 -1
- package/components/menu/demo/api.html +2 -1
- package/components/menu/demo/api.md +6 -2
- package/components/menu/demo/api.min.js +23 -183
- package/components/menu/demo/index.html +2 -1
- package/components/menu/demo/index.min.js +23 -183
- package/components/menu/demo/readme.html +2 -1
- package/components/menu/demo/readme.md +1 -1
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +23 -183
- package/components/menu/dist/registered.js +23 -183
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.html +2 -1
- package/components/radio/demo/api.md +160 -56
- package/components/radio/demo/api.min.js +35 -8
- package/components/radio/demo/index.html +2 -1
- package/components/radio/demo/index.md +43 -12
- package/components/radio/demo/index.min.js +35 -8
- package/components/radio/demo/readme.html +2 -1
- package/components/radio/demo/readme.md +1 -1
- package/components/radio/dist/auro-radio-group.d.ts +6 -0
- package/components/radio/dist/auro-radio.d.ts +6 -0
- package/components/radio/dist/index.js +35 -8
- package/components/radio/dist/registered.js +35 -8
- package/components/select/README.md +1 -1
- package/components/select/demo/api.html +2 -1
- package/components/select/demo/api.js +0 -2
- package/components/select/demo/api.md +112 -35
- package/components/select/demo/api.min.js +118 -589
- package/components/select/demo/index.html +2 -1
- package/components/select/demo/index.md +100 -0
- package/components/select/demo/index.min.js +118 -576
- package/components/select/demo/readme.html +2 -1
- package/components/select/demo/readme.md +1 -1
- package/components/select/dist/auro-select.d.ts +8 -0
- package/components/select/dist/index.js +93 -391
- package/components/select/dist/registered.js +93 -391
- package/package.json +23 -23
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +0 -2
- package/components/select/dist/styles/color-css.d.ts +0 -2
- package/components/select/dist/styles/tokens-css.d.ts +0 -2
|
@@ -200,7 +200,7 @@ const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s$1=t=>({_$li
|
|
|
200
200
|
// See LICENSE in the project root for license information.
|
|
201
201
|
|
|
202
202
|
|
|
203
|
-
let AuroDependencyVersioning$
|
|
203
|
+
let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -243,7 +243,7 @@ let AuroDependencyVersioning$4 = class AuroDependencyVersioning {
|
|
|
243
243
|
|
|
244
244
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
245
245
|
|
|
246
|
-
let AuroLibraryRuntimeUtils$
|
|
246
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
247
247
|
|
|
248
248
|
/* eslint-disable jsdoc/require-param */
|
|
249
249
|
|
|
@@ -312,7 +312,7 @@ let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
|
|
|
312
312
|
|
|
313
313
|
let AuroFormValidation$1 = class AuroFormValidation {
|
|
314
314
|
constructor() {
|
|
315
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
315
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
/**
|
|
@@ -643,7 +643,7 @@ const t$1={ATTRIBUTE:1,CHILD:2},e$1=t=>(...e)=>({_$litDirective$:t,values:e});cl
|
|
|
643
643
|
|
|
644
644
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
645
645
|
|
|
646
|
-
let AuroLibraryRuntimeUtils$
|
|
646
|
+
let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
|
|
647
647
|
|
|
648
648
|
/* eslint-disable jsdoc/require-param */
|
|
649
649
|
|
|
@@ -2842,7 +2842,7 @@ class AuroFloatingUI {
|
|
|
2842
2842
|
// See LICENSE in the project root for license information.
|
|
2843
2843
|
|
|
2844
2844
|
|
|
2845
|
-
let AuroDependencyVersioning$
|
|
2845
|
+
let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
2846
2846
|
|
|
2847
2847
|
/**
|
|
2848
2848
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -2944,7 +2944,7 @@ const cacheFetch$3 = (uri, options = {}) => {
|
|
|
2944
2944
|
return _fetchMap$3.get(uri);
|
|
2945
2945
|
};
|
|
2946
2946
|
|
|
2947
|
-
var styleCss$3$2 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}
|
|
2947
|
+
var styleCss$3$2 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.componentWrapper{display:flex}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelWrapper{margin-left:var(--ds-size-50, 0.25rem);line-height:1.8}`;
|
|
2948
2948
|
|
|
2949
2949
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2950
2950
|
// See LICENSE in the project root for license information.
|
|
@@ -2952,7 +2952,6 @@ var styleCss$3$2 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}
|
|
|
2952
2952
|
|
|
2953
2953
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
2954
2954
|
/**
|
|
2955
|
-
* @attr {Boolean} onDark - Set value for on-dark version of auro-icon
|
|
2956
2955
|
* @slot - Hidden from visibility, used for a11y if icon description is needed
|
|
2957
2956
|
*/
|
|
2958
2957
|
|
|
@@ -2967,6 +2966,10 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
|
2967
2966
|
static get properties() {
|
|
2968
2967
|
return {
|
|
2969
2968
|
...super.properties,
|
|
2969
|
+
|
|
2970
|
+
/**
|
|
2971
|
+
* Set value for on-dark version of auro-icon.
|
|
2972
|
+
*/
|
|
2970
2973
|
onDark: {
|
|
2971
2974
|
type: Boolean,
|
|
2972
2975
|
reflect: true
|
|
@@ -3025,81 +3028,11 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
|
3025
3028
|
}
|
|
3026
3029
|
};
|
|
3027
3030
|
|
|
3028
|
-
var tokensCss$2$2 = i$5`:host{--ds-auro-icon-color:var(--ds-color-
|
|
3029
|
-
|
|
3030
|
-
var colorCss$3$2 = i$5`: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)}`;
|
|
3031
|
-
|
|
3032
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
3033
|
-
// See LICENSE in the project root for license information.
|
|
3034
|
-
|
|
3035
|
-
// ---------------------------------------------------------------------
|
|
3036
|
-
|
|
3037
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
3038
|
-
|
|
3039
|
-
let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
|
|
3040
|
-
|
|
3041
|
-
/* eslint-disable jsdoc/require-param */
|
|
3042
|
-
|
|
3043
|
-
/**
|
|
3044
|
-
* This will register a new custom element with the browser.
|
|
3045
|
-
* @param {String} name - The name of the custom element.
|
|
3046
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
3047
|
-
* @returns {void}
|
|
3048
|
-
*/
|
|
3049
|
-
registerComponent(name, componentClass) {
|
|
3050
|
-
if (!customElements.get(name)) {
|
|
3051
|
-
customElements.define(name, class extends componentClass {});
|
|
3052
|
-
}
|
|
3053
|
-
}
|
|
3054
|
-
|
|
3055
|
-
/**
|
|
3056
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
3057
|
-
* @returns {void}
|
|
3058
|
-
*/
|
|
3059
|
-
closestElement(
|
|
3060
|
-
selector, // selector like in .closest()
|
|
3061
|
-
base = this, // extra functionality to skip a parent
|
|
3062
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
3063
|
-
!el || el === document || el === window
|
|
3064
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
3065
|
-
: found
|
|
3066
|
-
? found // found a selector INside this element
|
|
3067
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
3068
|
-
) {
|
|
3069
|
-
return __Closest(base);
|
|
3070
|
-
}
|
|
3071
|
-
/* eslint-enable jsdoc/require-param */
|
|
3072
|
-
|
|
3073
|
-
/**
|
|
3074
|
-
* 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.
|
|
3075
|
-
* @param {Object} elem - The element to check.
|
|
3076
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
3077
|
-
* @returns {void}
|
|
3078
|
-
*/
|
|
3079
|
-
handleComponentTagRename(elem, tagName) {
|
|
3080
|
-
const tag = tagName.toLowerCase();
|
|
3081
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
3082
|
-
|
|
3083
|
-
if (elemTag !== tag) {
|
|
3084
|
-
elem.setAttribute(tag, true);
|
|
3085
|
-
}
|
|
3086
|
-
}
|
|
3087
|
-
|
|
3088
|
-
/**
|
|
3089
|
-
* Validates if an element is a specific Auro component.
|
|
3090
|
-
* @param {Object} elem - The element to validate.
|
|
3091
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
3092
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
3093
|
-
*/
|
|
3094
|
-
elementMatch(elem, tagName) {
|
|
3095
|
-
const tag = tagName.toLowerCase();
|
|
3096
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
3031
|
+
var tokensCss$2$2 = i$5`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color:#02426D;--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
3097
3032
|
|
|
3098
|
-
|
|
3099
|
-
}
|
|
3100
|
-
};
|
|
3033
|
+
var colorCss$3$2 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=fareOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-emerald, #139142)}:host(:not([onDark])[variant=fareOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=fareOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}`;
|
|
3101
3034
|
|
|
3102
|
-
// Copyright (c)
|
|
3035
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3103
3036
|
// See LICENSE in the project root for license information.
|
|
3104
3037
|
|
|
3105
3038
|
|
|
@@ -3107,6 +3040,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
3107
3040
|
constructor() {
|
|
3108
3041
|
super();
|
|
3109
3042
|
|
|
3043
|
+
this.variant = undefined;
|
|
3110
3044
|
this.privateDefaults();
|
|
3111
3045
|
}
|
|
3112
3046
|
|
|
@@ -3116,20 +3050,6 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
3116
3050
|
* @returns {void}
|
|
3117
3051
|
*/
|
|
3118
3052
|
privateDefaults() {
|
|
3119
|
-
this.accent = false;
|
|
3120
|
-
this.customColor = false;
|
|
3121
|
-
this.customSvg = false;
|
|
3122
|
-
this.disabled = false;
|
|
3123
|
-
this.emphasis = false;
|
|
3124
|
-
this.error = false;
|
|
3125
|
-
this.info = false;
|
|
3126
|
-
this.label = false;
|
|
3127
|
-
this.primary = false;
|
|
3128
|
-
this.secondary = false;
|
|
3129
|
-
this.subtle = false;
|
|
3130
|
-
this.success = false;
|
|
3131
|
-
this.tertiary = false;
|
|
3132
|
-
this.warning = false;
|
|
3133
3053
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
3134
3054
|
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
|
|
3135
3055
|
}
|
|
@@ -3139,14 +3059,6 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
3139
3059
|
return {
|
|
3140
3060
|
...super.properties,
|
|
3141
3061
|
|
|
3142
|
-
/**
|
|
3143
|
-
* Sets the icon to use the accent style.
|
|
3144
|
-
*/
|
|
3145
|
-
accent: {
|
|
3146
|
-
type: Boolean,
|
|
3147
|
-
reflect: true
|
|
3148
|
-
},
|
|
3149
|
-
|
|
3150
3062
|
/**
|
|
3151
3063
|
* Set aria-hidden value. Default is `true`. Option is `false`.
|
|
3152
3064
|
*/
|
|
@@ -3177,38 +3089,6 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
3177
3089
|
type: Boolean
|
|
3178
3090
|
},
|
|
3179
3091
|
|
|
3180
|
-
/**
|
|
3181
|
-
* Sets the icon to use the disabled style.
|
|
3182
|
-
*/
|
|
3183
|
-
disabled: {
|
|
3184
|
-
type: Boolean,
|
|
3185
|
-
reflect: true
|
|
3186
|
-
},
|
|
3187
|
-
|
|
3188
|
-
/**
|
|
3189
|
-
* Sets the icon to use the emphasis style.
|
|
3190
|
-
*/
|
|
3191
|
-
emphasis: {
|
|
3192
|
-
type: Boolean,
|
|
3193
|
-
reflect: true
|
|
3194
|
-
},
|
|
3195
|
-
|
|
3196
|
-
/**
|
|
3197
|
-
* Sets the icon to use the error style.
|
|
3198
|
-
*/
|
|
3199
|
-
error: {
|
|
3200
|
-
type: Boolean,
|
|
3201
|
-
reflect: true
|
|
3202
|
-
},
|
|
3203
|
-
|
|
3204
|
-
/**
|
|
3205
|
-
* Sets the icon to use the info style.
|
|
3206
|
-
*/
|
|
3207
|
-
info: {
|
|
3208
|
-
type: Boolean,
|
|
3209
|
-
reflect: true
|
|
3210
|
-
},
|
|
3211
|
-
|
|
3212
3092
|
/**
|
|
3213
3093
|
* Exposes content in slot as icon label.
|
|
3214
3094
|
*/
|
|
@@ -3226,50 +3106,10 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
3226
3106
|
},
|
|
3227
3107
|
|
|
3228
3108
|
/**
|
|
3229
|
-
*
|
|
3230
|
-
*/
|
|
3231
|
-
primary: {
|
|
3232
|
-
type: Boolean,
|
|
3233
|
-
reflect: true
|
|
3234
|
-
},
|
|
3235
|
-
|
|
3236
|
-
/**
|
|
3237
|
-
* Sets the icon to use the secondary style.
|
|
3238
|
-
*/
|
|
3239
|
-
secondary: {
|
|
3240
|
-
type: Boolean,
|
|
3241
|
-
reflect: true
|
|
3242
|
-
},
|
|
3243
|
-
|
|
3244
|
-
/**
|
|
3245
|
-
* Sets the icon to use the subtle style.
|
|
3246
|
-
*/
|
|
3247
|
-
subtle: {
|
|
3248
|
-
type: Boolean,
|
|
3249
|
-
reflect: true
|
|
3250
|
-
},
|
|
3251
|
-
|
|
3252
|
-
/**
|
|
3253
|
-
* Sets the icon to use the success style.
|
|
3254
|
-
*/
|
|
3255
|
-
success: {
|
|
3256
|
-
type: Boolean,
|
|
3257
|
-
reflect: true
|
|
3258
|
-
},
|
|
3259
|
-
|
|
3260
|
-
/**
|
|
3261
|
-
* Sets the icon to use the tertiary style.
|
|
3262
|
-
*/
|
|
3263
|
-
tertiary: {
|
|
3264
|
-
type: Boolean,
|
|
3265
|
-
reflect: true
|
|
3266
|
-
},
|
|
3267
|
-
|
|
3268
|
-
/**
|
|
3269
|
-
* Sets the icon to use the warning style.
|
|
3109
|
+
* The style of the icon. The accepted variants are `accent1`, `disabled`, `muted`, `statusDefault`, `statusInfo`, `statusSuccess`, `statusWarning`, `statusError`, `statusInfoSubtle`, `statusSuccessSubtle`, `statusWarningSubtle`, `statusErrorSubtle`, `fareBasicEconomy`, `fareBusiness`, `fareEconomy`, `fareFirst`, `farePremiumEconomy`, `fareOneWorldEmerald`, `fareOneWorldSapphire`, `fareOneWorldRuby`.
|
|
3270
3110
|
*/
|
|
3271
|
-
|
|
3272
|
-
type:
|
|
3111
|
+
variant: {
|
|
3112
|
+
type: String,
|
|
3273
3113
|
reflect: true
|
|
3274
3114
|
}
|
|
3275
3115
|
};
|
|
@@ -3365,7 +3205,7 @@ var styleCss$2$3 = i$5`:host{position:absolute;z-index:var(--depth-tooltip, 400)
|
|
|
3365
3205
|
|
|
3366
3206
|
var colorCss$2$2 = i$5`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
|
|
3367
3207
|
|
|
3368
|
-
var tokensCss$1$2 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-
|
|
3208
|
+
var tokensCss$1$2 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-dropdown-trigger-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}`;
|
|
3369
3209
|
|
|
3370
3210
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3371
3211
|
// See LICENSE in the project root for license information.
|
|
@@ -3395,7 +3235,7 @@ class AuroDropdownBib extends r$1 {
|
|
|
3395
3235
|
*/
|
|
3396
3236
|
this._mobileBreakpointValue = undefined;
|
|
3397
3237
|
|
|
3398
|
-
AuroLibraryRuntimeUtils$
|
|
3238
|
+
AuroLibraryRuntimeUtils$1$2.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
3399
3239
|
}
|
|
3400
3240
|
|
|
3401
3241
|
static get styles() {
|
|
@@ -3488,13 +3328,13 @@ var dropdownVersion$1 = '3.0.0';
|
|
|
3488
3328
|
|
|
3489
3329
|
var styleCss$1$3 = i$5`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center}.trigger[showBorder]{border-width:1px;border-style:solid;cursor:pointer;outline-style:solid;outline-width:1px}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([inset][bordered][labeled]) .trigger{padding:var(--ds-size-100, 0.5rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
3490
3330
|
|
|
3491
|
-
var colorCss$1$3 = i$5`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color);outline-color:var(--ds-auro-dropdown-trigger-outline-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-
|
|
3331
|
+
var colorCss$1$3 = i$5`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color);outline-color:var(--ds-auro-dropdown-trigger-outline-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-bold, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host([onDark]){--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark]):focus-within,:host([onDark]):active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([onDark][disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][common]),:host([onDark][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-inverse, #ffffff)}:host([onDark][common]) .trigger:focus-within,:host([onDark][common]) .trigger:active,:host([onDark][bordered]) .trigger:focus-within,:host([onDark][bordered]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([onDark][error]){--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}:host([onDark][error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([onDark][error]) .trigger:focus-within,:host([onDark][error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([onDark][disabled][common]),:host([onDark][disabled][bordered]){--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}`;
|
|
3492
3332
|
|
|
3493
|
-
var colorCss$6 = i$5`:host([error]){--ds-auro-helptext-color: var(--ds-color-
|
|
3333
|
+
var colorCss$6 = i$5`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]){--ds-auro-helptext-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
3494
3334
|
|
|
3495
3335
|
var styleCss$6 = i$5`.helptext-wrapper{display:none;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
3496
3336
|
|
|
3497
|
-
var tokensCss$6 = i$5`:host{--ds-auro-helptext-color: var(--ds-color-
|
|
3337
|
+
var tokensCss$6 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
3498
3338
|
|
|
3499
3339
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
3500
3340
|
// See LICENSE in the project root for license information.
|
|
@@ -3503,7 +3343,7 @@ var tokensCss$6 = i$5`:host{--ds-auro-helptext-color: var(--ds-color-text-tertia
|
|
|
3503
3343
|
|
|
3504
3344
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
3505
3345
|
|
|
3506
|
-
let AuroLibraryRuntimeUtils$
|
|
3346
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
3507
3347
|
|
|
3508
3348
|
/* eslint-disable jsdoc/require-param */
|
|
3509
3349
|
|
|
@@ -3581,9 +3421,10 @@ let AuroHelpText$1 = class AuroHelpText extends r$1 {
|
|
|
3581
3421
|
super();
|
|
3582
3422
|
|
|
3583
3423
|
this.error = false;
|
|
3424
|
+
this.onDark = false;
|
|
3584
3425
|
this.hasTextContent = false;
|
|
3585
3426
|
|
|
3586
|
-
AuroLibraryRuntimeUtils$
|
|
3427
|
+
AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
3587
3428
|
}
|
|
3588
3429
|
|
|
3589
3430
|
static get styles() {
|
|
@@ -3619,6 +3460,14 @@ let AuroHelpText$1 = class AuroHelpText extends r$1 {
|
|
|
3619
3460
|
type: Boolean,
|
|
3620
3461
|
reflect: true,
|
|
3621
3462
|
},
|
|
3463
|
+
|
|
3464
|
+
/**
|
|
3465
|
+
* If declared, will apply onDark styles.
|
|
3466
|
+
*/
|
|
3467
|
+
onDark: {
|
|
3468
|
+
type: Boolean,
|
|
3469
|
+
reflect: true
|
|
3470
|
+
}
|
|
3622
3471
|
};
|
|
3623
3472
|
}
|
|
3624
3473
|
|
|
@@ -3631,7 +3480,7 @@ let AuroHelpText$1 = class AuroHelpText extends r$1 {
|
|
|
3631
3480
|
*
|
|
3632
3481
|
*/
|
|
3633
3482
|
static register(name = "auro-helptext") {
|
|
3634
|
-
AuroLibraryRuntimeUtils$
|
|
3483
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHelpText);
|
|
3635
3484
|
}
|
|
3636
3485
|
|
|
3637
3486
|
updated() {
|
|
@@ -3750,6 +3599,7 @@ class AuroDropdown extends r$1 {
|
|
|
3750
3599
|
this.tabIndex = 0;
|
|
3751
3600
|
this.noToggle = false;
|
|
3752
3601
|
this.labeled = true;
|
|
3602
|
+
this.onDark = false;
|
|
3753
3603
|
|
|
3754
3604
|
// floaterConfig
|
|
3755
3605
|
this.placement = 'bottom-start';
|
|
@@ -3770,7 +3620,7 @@ class AuroDropdown extends r$1 {
|
|
|
3770
3620
|
/**
|
|
3771
3621
|
* @private
|
|
3772
3622
|
*/
|
|
3773
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
3623
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
|
|
3774
3624
|
|
|
3775
3625
|
/**
|
|
3776
3626
|
* @private
|
|
@@ -3780,7 +3630,7 @@ class AuroDropdown extends r$1 {
|
|
|
3780
3630
|
/**
|
|
3781
3631
|
* Generate unique names for dependency components.
|
|
3782
3632
|
*/
|
|
3783
|
-
const versioning = new AuroDependencyVersioning$
|
|
3633
|
+
const versioning = new AuroDependencyVersioning$2();
|
|
3784
3634
|
|
|
3785
3635
|
/**
|
|
3786
3636
|
* @private
|
|
@@ -4006,6 +3856,14 @@ class AuroDropdown extends r$1 {
|
|
|
4006
3856
|
reflect: true
|
|
4007
3857
|
},
|
|
4008
3858
|
|
|
3859
|
+
/**
|
|
3860
|
+
* If declared, onDark styles will be applied.
|
|
3861
|
+
*/
|
|
3862
|
+
onDark: {
|
|
3863
|
+
type: Boolean,
|
|
3864
|
+
reflect: true
|
|
3865
|
+
},
|
|
3866
|
+
|
|
4009
3867
|
onSlotChange: {
|
|
4010
3868
|
type: Function,
|
|
4011
3869
|
reflect: false
|
|
@@ -4059,7 +3917,7 @@ class AuroDropdown extends r$1 {
|
|
|
4059
3917
|
*
|
|
4060
3918
|
*/
|
|
4061
3919
|
static register(name = "auro-dropdown") {
|
|
4062
|
-
AuroLibraryRuntimeUtils$
|
|
3920
|
+
AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
|
|
4063
3921
|
}
|
|
4064
3922
|
|
|
4065
3923
|
connectedCallback() {
|
|
@@ -4376,14 +4234,14 @@ class AuroDropdown extends r$1 {
|
|
|
4376
4234
|
<${this.iconTag}
|
|
4377
4235
|
category="interface"
|
|
4378
4236
|
name="chevron-down"
|
|
4379
|
-
|
|
4380
|
-
|
|
4237
|
+
?onDark="${this.onDark}"
|
|
4238
|
+
variant="${this.disabled ? 'disabled' : 'muted'}">
|
|
4381
4239
|
>
|
|
4382
4240
|
</${this.iconTag}>
|
|
4383
4241
|
</div>
|
|
4384
4242
|
` : undefined }
|
|
4385
4243
|
</div>
|
|
4386
|
-
<${this.helpTextTag} part="helpText" ?error="${this.error}">
|
|
4244
|
+
<${this.helpTextTag} part="helpText" ?onDark=${this.onDark} ?error="${this.error}">
|
|
4387
4245
|
<slot name="helpText"></slot>
|
|
4388
4246
|
</${this.helpTextTag}>
|
|
4389
4247
|
<div class="slotContent">
|
|
@@ -4540,11 +4398,11 @@ function stopNotifyingOnLangChange(element) {
|
|
|
4540
4398
|
watchedItems.delete(element);
|
|
4541
4399
|
}
|
|
4542
4400
|
|
|
4543
|
-
var styleCss$4$1 = i$5
|
|
4401
|
+
var styleCss$4$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.typeIcon{display:flex;flex-direction:row;align-items:center}.typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}.clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}:host .wrapper:hover .clearBtn,:host .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(:not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}label{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;white-space:nowrap}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .wrapper:focus-within label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host label.withValue{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host([activeLabel]) .wrapper label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host{position:relative;display:block}.wrapper{display:flex;flex-direction:row}.main{display:flex;flex-direction:row;position:relative;flex:1}input{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:relative;overflow:hidden;min-height:var(--ds-size-200, 1rem);max-height:var(--ds-size-200, 1rem);flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-size-200, 1rem);outline:none;text-overflow:ellipsis;white-space:nowrap}input::-ms-reveal,input::-ms-clear{display:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield;appearance:textfield}input:disabled{background:none;pointer-events:none}:host([bordered]) input{padding:var(--ds-size-400, 2rem) 0 var(--ds-size-100, 0.5rem)}`;
|
|
4544
4402
|
|
|
4545
|
-
var colorCss$4 = i$5`.wrapper{border-color:transparent}input{background-color:transparent;caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}input::placeholder{color:transparent}input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}input:disabled{--ds-auro-input-
|
|
4403
|
+
var colorCss$4 = i$5`.wrapper{border-color:transparent}input{background-color:transparent;caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}input::placeholder{color:transparent}input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}input:disabled{--ds-auro-input-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}label{color:var(--ds-auro-input-label-text-color)}.alertNotification{color:var(--ds-auro-input-error-icon-color)}:host(:not([bordered],[borderless])) .wrapper{border-bottom-color:var(--ds-auro-input-border-color)}:host([bordered]) .wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-container-color)}:host([bordered]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-advanced-color-state-focused, #01426a);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([validity]:not([validity=valid])[bordered]) .wrapper{--ds-auro-input-border-color: var(--ds-basic-color-status-error, #e31f26);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([disabled]){--ds-auro-input-border-color: var(--ds-basic-color-border-subtle, #dddddd);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([onDark][bordered]){--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-input-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-container-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-input-error-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}:host([onDark][bordered]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([onDark][validity]:not([validity=valid])[bordered]) .wrapper{--ds-auro-input-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([onDark][disabled]){--ds-auro-input-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-input-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}`;
|
|
4546
4404
|
|
|
4547
|
-
var tokensCss$4 = i$5`:host{--ds-auro-input-border-color: var(--ds-color-border-
|
|
4405
|
+
var tokensCss$4 = i$5`:host{--ds-auro-input-border-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-input-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-input-caret-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-input-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-input-placeholder-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-input-error-icon-color: var(--ds-basic-color-status-error, #e31f26)}`;
|
|
4548
4406
|
|
|
4549
4407
|
/** Checks if value is string */
|
|
4550
4408
|
function isString(str) {
|
|
@@ -8395,7 +8253,7 @@ class AuroInputUtilities {
|
|
|
8395
8253
|
|
|
8396
8254
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
8397
8255
|
|
|
8398
|
-
let AuroLibraryRuntimeUtils$
|
|
8256
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
8399
8257
|
|
|
8400
8258
|
/* eslint-disable jsdoc/require-param */
|
|
8401
8259
|
|
|
@@ -8464,7 +8322,7 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
|
8464
8322
|
|
|
8465
8323
|
class AuroFormValidation {
|
|
8466
8324
|
constructor() {
|
|
8467
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
8325
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
8468
8326
|
}
|
|
8469
8327
|
|
|
8470
8328
|
/**
|
|
@@ -8804,6 +8662,7 @@ class BaseInput extends r$1 {
|
|
|
8804
8662
|
this.min = undefined;
|
|
8805
8663
|
this.maxLength = undefined;
|
|
8806
8664
|
this.minLength = undefined;
|
|
8665
|
+
this.onDark = false;
|
|
8807
8666
|
this.activeLabel = false;
|
|
8808
8667
|
this.setCustomValidityForType = undefined;
|
|
8809
8668
|
}
|
|
@@ -8905,7 +8764,8 @@ class BaseInput extends r$1 {
|
|
|
8905
8764
|
* If set, disables the input.
|
|
8906
8765
|
*/
|
|
8907
8766
|
disabled: {
|
|
8908
|
-
type: Boolean
|
|
8767
|
+
type: Boolean,
|
|
8768
|
+
reflect: true
|
|
8909
8769
|
},
|
|
8910
8770
|
|
|
8911
8771
|
/**
|
|
@@ -8935,7 +8795,8 @@ class BaseInput extends r$1 {
|
|
|
8935
8795
|
* If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
|
|
8936
8796
|
*/
|
|
8937
8797
|
icon: {
|
|
8938
|
-
type: Boolean
|
|
8798
|
+
type: Boolean,
|
|
8799
|
+
reflect: true
|
|
8939
8800
|
},
|
|
8940
8801
|
|
|
8941
8802
|
/**
|
|
@@ -8991,7 +8852,16 @@ class BaseInput extends r$1 {
|
|
|
8991
8852
|
* If set, disables auto-validation on blur.
|
|
8992
8853
|
*/
|
|
8993
8854
|
noValidate: {
|
|
8994
|
-
type: Boolean
|
|
8855
|
+
type: Boolean,
|
|
8856
|
+
reflect: true
|
|
8857
|
+
},
|
|
8858
|
+
|
|
8859
|
+
/**
|
|
8860
|
+
* Sets onDark styles on input.
|
|
8861
|
+
*/
|
|
8862
|
+
onDark: {
|
|
8863
|
+
type: Boolean,
|
|
8864
|
+
reflect: true
|
|
8995
8865
|
},
|
|
8996
8866
|
|
|
8997
8867
|
/**
|
|
@@ -9013,14 +8883,16 @@ class BaseInput extends r$1 {
|
|
|
9013
8883
|
* Makes the input read-only, but can be set programmatically.
|
|
9014
8884
|
*/
|
|
9015
8885
|
readonly: {
|
|
9016
|
-
type: Boolean
|
|
8886
|
+
type: Boolean,
|
|
8887
|
+
reflect: true
|
|
9017
8888
|
},
|
|
9018
8889
|
|
|
9019
8890
|
/**
|
|
9020
8891
|
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
9021
8892
|
*/
|
|
9022
8893
|
required: {
|
|
9023
|
-
type: Boolean
|
|
8894
|
+
type: Boolean,
|
|
8895
|
+
reflect: true
|
|
9024
8896
|
},
|
|
9025
8897
|
|
|
9026
8898
|
/**
|
|
@@ -9830,7 +9702,7 @@ const cacheFetch$2 = (uri, options = {}) => {
|
|
|
9830
9702
|
return _fetchMap$2.get(uri);
|
|
9831
9703
|
};
|
|
9832
9704
|
|
|
9833
|
-
var styleCss$3$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}
|
|
9705
|
+
var styleCss$3$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.componentWrapper{display:flex}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelWrapper{margin-left:var(--ds-size-50, 0.25rem);line-height:1.8}`;
|
|
9834
9706
|
|
|
9835
9707
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9836
9708
|
// See LICENSE in the project root for license information.
|
|
@@ -9838,7 +9710,6 @@ var styleCss$3$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}
|
|
|
9838
9710
|
|
|
9839
9711
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
9840
9712
|
/**
|
|
9841
|
-
* @attr {Boolean} onDark - Set value for on-dark version of auro-icon
|
|
9842
9713
|
* @slot - Hidden from visibility, used for a11y if icon description is needed
|
|
9843
9714
|
*/
|
|
9844
9715
|
|
|
@@ -9853,6 +9724,10 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
9853
9724
|
static get properties() {
|
|
9854
9725
|
return {
|
|
9855
9726
|
...super.properties,
|
|
9727
|
+
|
|
9728
|
+
/**
|
|
9729
|
+
* Set value for on-dark version of auro-icon.
|
|
9730
|
+
*/
|
|
9856
9731
|
onDark: {
|
|
9857
9732
|
type: Boolean,
|
|
9858
9733
|
reflect: true
|
|
@@ -9911,127 +9786,36 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
9911
9786
|
}
|
|
9912
9787
|
};
|
|
9913
9788
|
|
|
9914
|
-
var tokensCss$3 = i$5`:host{--ds-auro-icon-color:var(--ds-color-
|
|
9789
|
+
var tokensCss$3 = i$5`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color:#02426D;--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
9915
9790
|
|
|
9916
|
-
var colorCss$3$1 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[
|
|
9791
|
+
var colorCss$3$1 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=fareOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-emerald, #139142)}:host(:not([onDark])[variant=fareOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=fareOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}`;
|
|
9917
9792
|
|
|
9918
|
-
// Copyright (c) Alaska
|
|
9793
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9919
9794
|
// See LICENSE in the project root for license information.
|
|
9920
9795
|
|
|
9921
|
-
// ---------------------------------------------------------------------
|
|
9922
|
-
|
|
9923
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
9924
|
-
|
|
9925
|
-
let AuroLibraryRuntimeUtils$3$1 = class AuroLibraryRuntimeUtils {
|
|
9926
9796
|
|
|
9927
|
-
|
|
9797
|
+
let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
9798
|
+
constructor() {
|
|
9799
|
+
super();
|
|
9928
9800
|
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
* @param {String} name - The name of the custom element.
|
|
9932
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
9933
|
-
* @returns {void}
|
|
9934
|
-
*/
|
|
9935
|
-
registerComponent(name, componentClass) {
|
|
9936
|
-
if (!customElements.get(name)) {
|
|
9937
|
-
customElements.define(name, class extends componentClass {});
|
|
9938
|
-
}
|
|
9801
|
+
this.variant = undefined;
|
|
9802
|
+
this.privateDefaults();
|
|
9939
9803
|
}
|
|
9940
9804
|
|
|
9941
9805
|
/**
|
|
9942
|
-
*
|
|
9806
|
+
* Internal Defaults.
|
|
9807
|
+
* @private
|
|
9943
9808
|
* @returns {void}
|
|
9944
9809
|
*/
|
|
9945
|
-
|
|
9946
|
-
|
|
9947
|
-
|
|
9948
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
9949
|
-
!el || el === document || el === window
|
|
9950
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
9951
|
-
: found
|
|
9952
|
-
? found // found a selector INside this element
|
|
9953
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
9954
|
-
) {
|
|
9955
|
-
return __Closest(base);
|
|
9810
|
+
privateDefaults() {
|
|
9811
|
+
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
9812
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
9956
9813
|
}
|
|
9957
|
-
/* eslint-enable jsdoc/require-param */
|
|
9958
|
-
|
|
9959
|
-
/**
|
|
9960
|
-
* 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.
|
|
9961
|
-
* @param {Object} elem - The element to check.
|
|
9962
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
9963
|
-
* @returns {void}
|
|
9964
|
-
*/
|
|
9965
|
-
handleComponentTagRename(elem, tagName) {
|
|
9966
|
-
const tag = tagName.toLowerCase();
|
|
9967
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
9968
9814
|
|
|
9969
|
-
|
|
9970
|
-
|
|
9971
|
-
|
|
9972
|
-
|
|
9973
|
-
|
|
9974
|
-
/**
|
|
9975
|
-
* Validates if an element is a specific Auro component.
|
|
9976
|
-
* @param {Object} elem - The element to validate.
|
|
9977
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
9978
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
9979
|
-
*/
|
|
9980
|
-
elementMatch(elem, tagName) {
|
|
9981
|
-
const tag = tagName.toLowerCase();
|
|
9982
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
9983
|
-
|
|
9984
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
9985
|
-
}
|
|
9986
|
-
};
|
|
9987
|
-
|
|
9988
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9989
|
-
// See LICENSE in the project root for license information.
|
|
9990
|
-
|
|
9991
|
-
|
|
9992
|
-
let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
9993
|
-
constructor() {
|
|
9994
|
-
super();
|
|
9995
|
-
|
|
9996
|
-
this.privateDefaults();
|
|
9997
|
-
}
|
|
9998
|
-
|
|
9999
|
-
/**
|
|
10000
|
-
* Internal Defaults.
|
|
10001
|
-
* @private
|
|
10002
|
-
* @returns {void}
|
|
10003
|
-
*/
|
|
10004
|
-
privateDefaults() {
|
|
10005
|
-
this.accent = false;
|
|
10006
|
-
this.customColor = false;
|
|
10007
|
-
this.customSvg = false;
|
|
10008
|
-
this.disabled = false;
|
|
10009
|
-
this.emphasis = false;
|
|
10010
|
-
this.error = false;
|
|
10011
|
-
this.info = false;
|
|
10012
|
-
this.label = false;
|
|
10013
|
-
this.primary = false;
|
|
10014
|
-
this.secondary = false;
|
|
10015
|
-
this.subtle = false;
|
|
10016
|
-
this.success = false;
|
|
10017
|
-
this.tertiary = false;
|
|
10018
|
-
this.warning = false;
|
|
10019
|
-
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
10020
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$3$1();
|
|
10021
|
-
}
|
|
10022
|
-
|
|
10023
|
-
// function to define props used within the scope of this component
|
|
10024
|
-
static get properties() {
|
|
10025
|
-
return {
|
|
10026
|
-
...super.properties,
|
|
10027
|
-
|
|
10028
|
-
/**
|
|
10029
|
-
* Sets the icon to use the accent style.
|
|
10030
|
-
*/
|
|
10031
|
-
accent: {
|
|
10032
|
-
type: Boolean,
|
|
10033
|
-
reflect: true
|
|
10034
|
-
},
|
|
9815
|
+
// function to define props used within the scope of this component
|
|
9816
|
+
static get properties() {
|
|
9817
|
+
return {
|
|
9818
|
+
...super.properties,
|
|
10035
9819
|
|
|
10036
9820
|
/**
|
|
10037
9821
|
* Set aria-hidden value. Default is `true`. Option is `false`.
|
|
@@ -10063,38 +9847,6 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
10063
9847
|
type: Boolean
|
|
10064
9848
|
},
|
|
10065
9849
|
|
|
10066
|
-
/**
|
|
10067
|
-
* Sets the icon to use the disabled style.
|
|
10068
|
-
*/
|
|
10069
|
-
disabled: {
|
|
10070
|
-
type: Boolean,
|
|
10071
|
-
reflect: true
|
|
10072
|
-
},
|
|
10073
|
-
|
|
10074
|
-
/**
|
|
10075
|
-
* Sets the icon to use the emphasis style.
|
|
10076
|
-
*/
|
|
10077
|
-
emphasis: {
|
|
10078
|
-
type: Boolean,
|
|
10079
|
-
reflect: true
|
|
10080
|
-
},
|
|
10081
|
-
|
|
10082
|
-
/**
|
|
10083
|
-
* Sets the icon to use the error style.
|
|
10084
|
-
*/
|
|
10085
|
-
error: {
|
|
10086
|
-
type: Boolean,
|
|
10087
|
-
reflect: true
|
|
10088
|
-
},
|
|
10089
|
-
|
|
10090
|
-
/**
|
|
10091
|
-
* Sets the icon to use the info style.
|
|
10092
|
-
*/
|
|
10093
|
-
info: {
|
|
10094
|
-
type: Boolean,
|
|
10095
|
-
reflect: true
|
|
10096
|
-
},
|
|
10097
|
-
|
|
10098
9850
|
/**
|
|
10099
9851
|
* Exposes content in slot as icon label.
|
|
10100
9852
|
*/
|
|
@@ -10112,50 +9864,10 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
10112
9864
|
},
|
|
10113
9865
|
|
|
10114
9866
|
/**
|
|
10115
|
-
*
|
|
9867
|
+
* The style of the icon. The accepted variants are `accent1`, `disabled`, `muted`, `statusDefault`, `statusInfo`, `statusSuccess`, `statusWarning`, `statusError`, `statusInfoSubtle`, `statusSuccessSubtle`, `statusWarningSubtle`, `statusErrorSubtle`, `fareBasicEconomy`, `fareBusiness`, `fareEconomy`, `fareFirst`, `farePremiumEconomy`, `fareOneWorldEmerald`, `fareOneWorldSapphire`, `fareOneWorldRuby`.
|
|
10116
9868
|
*/
|
|
10117
|
-
|
|
10118
|
-
type:
|
|
10119
|
-
reflect: true
|
|
10120
|
-
},
|
|
10121
|
-
|
|
10122
|
-
/**
|
|
10123
|
-
* Sets the icon to use the secondary style.
|
|
10124
|
-
*/
|
|
10125
|
-
secondary: {
|
|
10126
|
-
type: Boolean,
|
|
10127
|
-
reflect: true
|
|
10128
|
-
},
|
|
10129
|
-
|
|
10130
|
-
/**
|
|
10131
|
-
* Sets the icon to use the subtle style.
|
|
10132
|
-
*/
|
|
10133
|
-
subtle: {
|
|
10134
|
-
type: Boolean,
|
|
10135
|
-
reflect: true
|
|
10136
|
-
},
|
|
10137
|
-
|
|
10138
|
-
/**
|
|
10139
|
-
* Sets the icon to use the success style.
|
|
10140
|
-
*/
|
|
10141
|
-
success: {
|
|
10142
|
-
type: Boolean,
|
|
10143
|
-
reflect: true
|
|
10144
|
-
},
|
|
10145
|
-
|
|
10146
|
-
/**
|
|
10147
|
-
* Sets the icon to use the tertiary style.
|
|
10148
|
-
*/
|
|
10149
|
-
tertiary: {
|
|
10150
|
-
type: Boolean,
|
|
10151
|
-
reflect: true
|
|
10152
|
-
},
|
|
10153
|
-
|
|
10154
|
-
/**
|
|
10155
|
-
* Sets the icon to use the warning style.
|
|
10156
|
-
*/
|
|
10157
|
-
warning: {
|
|
10158
|
-
type: Boolean,
|
|
9869
|
+
variant: {
|
|
9870
|
+
type: String,
|
|
10159
9871
|
reflect: true
|
|
10160
9872
|
}
|
|
10161
9873
|
};
|
|
@@ -10179,7 +9891,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
10179
9891
|
*
|
|
10180
9892
|
*/
|
|
10181
9893
|
static register(name = "auro-icon") {
|
|
10182
|
-
AuroLibraryRuntimeUtils$
|
|
9894
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
|
|
10183
9895
|
}
|
|
10184
9896
|
|
|
10185
9897
|
connectedCallback() {
|
|
@@ -10245,197 +9957,17 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
10245
9957
|
}
|
|
10246
9958
|
};
|
|
10247
9959
|
|
|
10248
|
-
var iconVersion$2 = '
|
|
10249
|
-
|
|
10250
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10251
|
-
// See LICENSE in the project root for license information.
|
|
10252
|
-
|
|
10253
|
-
|
|
10254
|
-
let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
10255
|
-
|
|
10256
|
-
/**
|
|
10257
|
-
* Generates a unique string to be used for child auro element naming.
|
|
10258
|
-
* @private
|
|
10259
|
-
* @param {string} baseName - Defines the first part of the unique element name.
|
|
10260
|
-
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
10261
|
-
* @returns {string} - Unique string to be used for naming.
|
|
10262
|
-
*/
|
|
10263
|
-
generateElementName(baseName, version) {
|
|
10264
|
-
let result = baseName;
|
|
10265
|
-
|
|
10266
|
-
result += '-';
|
|
10267
|
-
result += version.replace(/[.]/g, '_');
|
|
10268
|
-
|
|
10269
|
-
return result;
|
|
10270
|
-
}
|
|
10271
|
-
|
|
10272
|
-
/**
|
|
10273
|
-
* Generates a unique string to be used for child auro element naming.
|
|
10274
|
-
* @param {string} baseName - Defines the first part of the unique element name.
|
|
10275
|
-
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
10276
|
-
* @returns {string} - Unique string to be used for naming.
|
|
10277
|
-
*/
|
|
10278
|
-
generateTag(baseName, version, tagClass) {
|
|
10279
|
-
const elementName = this.generateElementName(baseName, version);
|
|
10280
|
-
const tag = i$1`${s$1(elementName)}`;
|
|
10281
|
-
|
|
10282
|
-
if (!customElements.get(elementName)) {
|
|
10283
|
-
customElements.define(elementName, class extends tagClass {});
|
|
10284
|
-
}
|
|
10285
|
-
|
|
10286
|
-
return tag;
|
|
10287
|
-
}
|
|
10288
|
-
};
|
|
10289
|
-
|
|
10290
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10291
|
-
// See LICENSE in the project root for license information.
|
|
10292
|
-
|
|
10293
|
-
// ---------------------------------------------------------------------
|
|
10294
|
-
|
|
10295
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10296
|
-
|
|
10297
|
-
let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
|
|
10298
|
-
|
|
10299
|
-
/* eslint-disable jsdoc/require-param */
|
|
10300
|
-
|
|
10301
|
-
/**
|
|
10302
|
-
* This will register a new custom element with the browser.
|
|
10303
|
-
* @param {String} name - The name of the custom element.
|
|
10304
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
10305
|
-
* @returns {void}
|
|
10306
|
-
*/
|
|
10307
|
-
registerComponent(name, componentClass) {
|
|
10308
|
-
if (!customElements.get(name)) {
|
|
10309
|
-
customElements.define(name, class extends componentClass {});
|
|
10310
|
-
}
|
|
10311
|
-
}
|
|
10312
|
-
|
|
10313
|
-
/**
|
|
10314
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
10315
|
-
* @returns {void}
|
|
10316
|
-
*/
|
|
10317
|
-
closestElement(
|
|
10318
|
-
selector, // selector like in .closest()
|
|
10319
|
-
base = this, // extra functionality to skip a parent
|
|
10320
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
10321
|
-
!el || el === document || el === window
|
|
10322
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
10323
|
-
: found
|
|
10324
|
-
? found // found a selector INside this element
|
|
10325
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
10326
|
-
) {
|
|
10327
|
-
return __Closest(base);
|
|
10328
|
-
}
|
|
10329
|
-
/* eslint-enable jsdoc/require-param */
|
|
10330
|
-
|
|
10331
|
-
/**
|
|
10332
|
-
* 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.
|
|
10333
|
-
* @param {Object} elem - The element to check.
|
|
10334
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
10335
|
-
* @returns {void}
|
|
10336
|
-
*/
|
|
10337
|
-
handleComponentTagRename(elem, tagName) {
|
|
10338
|
-
const tag = tagName.toLowerCase();
|
|
10339
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
10340
|
-
|
|
10341
|
-
if (elemTag !== tag) {
|
|
10342
|
-
elem.setAttribute(tag, true);
|
|
10343
|
-
}
|
|
10344
|
-
}
|
|
10345
|
-
|
|
10346
|
-
/**
|
|
10347
|
-
* Validates if an element is a specific Auro component.
|
|
10348
|
-
* @param {Object} elem - The element to validate.
|
|
10349
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
10350
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
10351
|
-
*/
|
|
10352
|
-
elementMatch(elem, tagName) {
|
|
10353
|
-
const tag = tagName.toLowerCase();
|
|
10354
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
10355
|
-
|
|
10356
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
10357
|
-
}
|
|
10358
|
-
};
|
|
10359
|
-
|
|
10360
|
-
var styleCss$2$2 = i$5`: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}`;
|
|
10361
|
-
|
|
10362
|
-
var colorCss$2$1 = i$5`[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}`;
|
|
9960
|
+
var iconVersion$2 = '8.0.1';
|
|
10363
9961
|
|
|
10364
|
-
var
|
|
9962
|
+
var styleCss$2$2 = i$5`: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-basic-text-body-default-font-family, AS Circular);font-size:var(--ds-basic-text-body-default-font-size, 16px);font-weight:var(--ds-basic-text-body-default-font-weight, Book);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{outline:none}.auro-button:focus-visible:not([variant=flat]){outline-style:solid;outline-width:var(--ds-size-50, 0.25rem);outline-offset:calc(var(--ds-size-50, 0.25rem)*-1)}.auro-button:focus-visible:not([variant=flat]):not([variant=secondary]):not([variant=tertiary]){outline-width:calc(var(--ds-size-50, 0.25rem) - 1px)}.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-basic-text-body-sm-font-size, 14px);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--iconOnly:not(.auro-button--rounded):focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]){outline-width:1px;outline-offset:-2px}.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,outline 0ms,outline-offset 0ms}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size:var(--ds-size-300, $ds-size-300)}.auro-button--rounded:focus-visible:not([variant=flat]):after{border-radius:100px}: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}`;
|
|
10365
9963
|
|
|
10366
|
-
|
|
10367
|
-
// See LICENSE in the project root for license information.
|
|
10368
|
-
|
|
10369
|
-
// ---------------------------------------------------------------------
|
|
10370
|
-
|
|
10371
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10372
|
-
|
|
10373
|
-
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
10374
|
-
|
|
10375
|
-
/* eslint-disable jsdoc/require-param */
|
|
10376
|
-
|
|
10377
|
-
/**
|
|
10378
|
-
* This will register a new custom element with the browser.
|
|
10379
|
-
* @param {String} name - The name of the custom element.
|
|
10380
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
10381
|
-
* @returns {void}
|
|
10382
|
-
*/
|
|
10383
|
-
registerComponent(name, componentClass) {
|
|
10384
|
-
if (!customElements.get(name)) {
|
|
10385
|
-
customElements.define(name, class extends componentClass {});
|
|
10386
|
-
}
|
|
10387
|
-
}
|
|
9964
|
+
var colorCss$2$1 = i$5`[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{outline-color:var(--ds-auro-button-border-inset-color)}.auro-button:not([ondark]):active:not(:disabled),.auro-button:not([ondark]):hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-hover, #00274a);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-hover, #00274a);--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-hover, #00274a)}.auro-button:not([ondark]):disabled{--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-disabled, #acc9e2);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-disabled, #acc9e2);--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-disabled, #acc9e2)}.auro-button:not([ondark])[variant=secondary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background, #ffffff);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background, #ffffff);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border, #01426a);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-secondary-text, #01426a)}.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-advanced-color-button-secondary-background-hover, #f2f2f2);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-hover, #f2f2f2);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-hover, #00274a);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text-hover, #00274a)}.auro-button:not([ondark])[variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button:not([ondark])[variant=secondary]:disabled{--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background-disabled, #f7f7f7);--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-disabled, #f7f7f7);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-disabled, #cfe0ef);--ds-auro-button-text-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}.auro-button:not([ondark])[variant=tertiary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background, rgba(0, 0, 0, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background, rgba(0, 0, 0, 0.05));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-tertiary-text, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-tertiary-text, #01426a)}.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-advanced-color-button-tertiary-background-hover, rgba(0, 0, 0, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-hover, rgba(0, 0, 0, 0.1));--ds-auro-button-border-color:transparent}.auro-button:not([ondark])[variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button:not([ondark])[variant=tertiary]:disabled{--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}.auro-button:not([ondark])[variant=flat]{color:var(--ds-advanced-color-button-flat-text, #676767);background-color:transparent;background-image:none;border-color:transparent}.auro-button:not([ondark])[variant=flat]:active:not(:disabled),.auro-button:not([ondark])[variant=flat]:hover:not(:disabled){color:var(--ds-advanced-color-button-flat-text-hover, #525252);background-color:transparent;background-image:none;border-color:transparent}.auro-button:not([ondark])[variant=flat]:disabled{color:var(--ds-advanced-color-button-flat-text-disabled, #d0d0d0);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark]{--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse, #ffffff);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse, #ffffff);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-primary-text-inverse, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-primary-text-inverse, #01426a)}.auro-button[ondark]:active:not(:disabled),.auro-button[ondark]:hover:not(:disabled){--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse-hover, #ebf3f9);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse-hover, #ebf3f9);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse-hover, #ebf3f9)}.auro-button[ondark]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused, #01426a)}.auro-button[ondark]:disabled{--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}.auro-button[ondark][variant=secondary]{--ds-auro-button-container-color:transparent;--ds-auro-button-container-image:transparent;--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-inverse, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-secondary-text-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-secondary-text-inverse, #ffffff)}.auro-button[ondark][variant=secondary]:active:not(:disabled),.auro-button[ondark][variant=secondary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-secondary-background-inverse-hover, rgba(255, 255, 255, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-secondary-background-inverse-hover, rgba(255, 255, 255, 0.1))}.auro-button[ondark][variant=secondary]:focus-visible{--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff)}.auro-button[ondark][variant=secondary]:disabled{--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-button-border-color:var(--ds-advanced-color-button-secondary-border-inverse-disabled, #dddddd)}.auro-button[ondark][variant=tertiary]{--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background-inverse, rgba(255, 255, 255, 0.05));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-inverse, rgba(255, 255, 255, 0.05));--ds-auro-button-border-color:transparent;--ds-auro-button-text-color:var(--ds-advanced-color-button-tertiary-text-inverse, #ffffff);--ds-auro-button-loader-color:var(--ds-advanced-color-button-tertiary-text-inverse, #ffffff)}.auro-button[ondark][variant=tertiary]:active:not(:disabled),.auro-button[ondark][variant=tertiary]:hover:not(:disabled){--ds-auro-button-container-color:var(--ds-advanced-color-button-tertiary-background-inverse-hover, rgba(255, 255, 255, 0.1));--ds-auro-button-container-image:var(--ds-advanced-color-button-tertiary-background-inverse-hover, rgba(255, 255, 255, 0.1))}.auro-button[ondark][variant=tertiary]:focus-visible{--ds-auro-button-border-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff)}.auro-button[ondark][variant=tertiary]:disabled{--ds-auro-button-text-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}.auro-button[ondark][variant=flat]{color:var(--ds-advanced-color-button-flat-text-inverse, #ffffff);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark][variant=flat]:active:not(:disabled),.auro-button[ondark][variant=flat]:hover:not(:disabled){color:var(--ds-advanced-color-button-flat-text-inverse-hover, #adadad);background-color:transparent;background-image:none;border-color:transparent}.auro-button[ondark][variant=flat]:disabled{color:var(--ds-advanced-color-button-flat-text-inverse-disabled, #7e8894);background-color:transparent;background-image:none;border-color:transparent}`;
|
|
10388
9965
|
|
|
10389
|
-
|
|
10390
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
10391
|
-
* @returns {void}
|
|
10392
|
-
*/
|
|
10393
|
-
closestElement(
|
|
10394
|
-
selector, // selector like in .closest()
|
|
10395
|
-
base = this, // extra functionality to skip a parent
|
|
10396
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
10397
|
-
!el || el === document || el === window
|
|
10398
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
10399
|
-
: found
|
|
10400
|
-
? found // found a selector INside this element
|
|
10401
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
10402
|
-
) {
|
|
10403
|
-
return __Closest(base);
|
|
10404
|
-
}
|
|
10405
|
-
/* eslint-enable jsdoc/require-param */
|
|
10406
|
-
|
|
10407
|
-
/**
|
|
10408
|
-
* 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.
|
|
10409
|
-
* @param {Object} elem - The element to check.
|
|
10410
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
10411
|
-
* @returns {void}
|
|
10412
|
-
*/
|
|
10413
|
-
handleComponentTagRename(elem, tagName) {
|
|
10414
|
-
const tag = tagName.toLowerCase();
|
|
10415
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
10416
|
-
|
|
10417
|
-
if (elemTag !== tag) {
|
|
10418
|
-
elem.setAttribute(tag, true);
|
|
10419
|
-
}
|
|
10420
|
-
}
|
|
10421
|
-
|
|
10422
|
-
/**
|
|
10423
|
-
* Validates if an element is a specific Auro component.
|
|
10424
|
-
* @param {Object} elem - The element to validate.
|
|
10425
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
10426
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
10427
|
-
*/
|
|
10428
|
-
elementMatch(elem, tagName) {
|
|
10429
|
-
const tag = tagName.toLowerCase();
|
|
10430
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
10431
|
-
|
|
10432
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
10433
|
-
}
|
|
10434
|
-
};
|
|
9966
|
+
var tokensCss$2$1 = i$5`:host{--ds-auro-button-border-color:var(--ds-advanced-color-button-primary-border, #01426a);--ds-auro-button-border-inset-color:var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-button-container-color:var(--ds-advanced-color-button-primary-background, #01426a);--ds-auro-button-container-image:var(--ds-advanced-color-button-primary-background, #01426a);--ds-auro-button-loader-color:var(--ds-advanced-color-button-primary-text, #ffffff);--ds-auro-button-text-color:var(--ds-advanced-color-button-primary-text, #ffffff);--ds-auro-button-tap-color:transparent}`;
|
|
10435
9967
|
|
|
10436
9968
|
var styleCss$1$2 = i$5`: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}}`;
|
|
10437
9969
|
|
|
10438
|
-
var colorCss$1$2 = i$5`: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-
|
|
9970
|
+
var colorCss$1$2 = i$5`: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-basic-color-brand-primary, #01426a)}:host([ondark]){--ds-auro-loader-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color:transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color:currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color:currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}`;
|
|
10439
9971
|
|
|
10440
9972
|
var tokensCss$1$1 = i$5`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
|
|
10441
9973
|
|
|
@@ -10443,25 +9975,6 @@ var tokensCss$1$1 = i$5`:host{--ds-auro-loader-background-color:currentcolor;--d
|
|
|
10443
9975
|
// See LICENSE in the project root for license information.
|
|
10444
9976
|
|
|
10445
9977
|
|
|
10446
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
10447
|
-
/**
|
|
10448
|
-
* The auro-loader element is an easy to use animated loader component.
|
|
10449
|
-
*
|
|
10450
|
-
* @attr {Boolean} pulse - sets loader type
|
|
10451
|
-
* @attr {Boolean} ringworm - sets loader type
|
|
10452
|
-
* @attr {Boolean} laser - sets loader type
|
|
10453
|
-
* @attr {Boolean} orbit - sets loader type
|
|
10454
|
-
* @attr {Boolean} white - sets color of loader to white
|
|
10455
|
-
* @attr {Boolean} ondark - sets color of loader to auro-color-ui-default-on-dark
|
|
10456
|
-
* @attr {Boolean} onlight - sets color of loader to auro-color-ui-default-on-light
|
|
10457
|
-
* @attr {Boolean} xs - sets size to extra small
|
|
10458
|
-
* @attr {Boolean} sm - sets size to small
|
|
10459
|
-
* @attr {Boolean} md - sets size to medium
|
|
10460
|
-
* @attr {Boolean} lg - sets size to large
|
|
10461
|
-
* @csspart element - apply style to adjust speed of animation
|
|
10462
|
-
*/
|
|
10463
|
-
|
|
10464
|
-
// build the component class
|
|
10465
9978
|
class AuroLoader extends r$1 {
|
|
10466
9979
|
constructor() {
|
|
10467
9980
|
super();
|
|
@@ -10495,19 +10008,35 @@ class AuroLoader extends r$1 {
|
|
|
10495
10008
|
// function to define props used within the scope of this component
|
|
10496
10009
|
static get properties() {
|
|
10497
10010
|
return {
|
|
10498
|
-
|
|
10011
|
+
|
|
10012
|
+
/**
|
|
10013
|
+
* Sets loader to laser type.
|
|
10014
|
+
*/
|
|
10015
|
+
laser: {
|
|
10499
10016
|
type: Boolean,
|
|
10500
10017
|
reflect: true
|
|
10501
10018
|
},
|
|
10019
|
+
|
|
10020
|
+
/**
|
|
10021
|
+
* Sets loader to orbit type.
|
|
10022
|
+
*/
|
|
10502
10023
|
orbit: {
|
|
10503
10024
|
type: Boolean,
|
|
10504
10025
|
reflect: true
|
|
10505
10026
|
},
|
|
10506
|
-
|
|
10027
|
+
|
|
10028
|
+
/**
|
|
10029
|
+
* Sets loader to pulse type.
|
|
10030
|
+
*/
|
|
10031
|
+
pulse: {
|
|
10507
10032
|
type: Boolean,
|
|
10508
10033
|
reflect: true
|
|
10509
10034
|
},
|
|
10510
|
-
|
|
10035
|
+
|
|
10036
|
+
/**
|
|
10037
|
+
* Sets loader to ringworm type.
|
|
10038
|
+
*/
|
|
10039
|
+
ringworm: {
|
|
10511
10040
|
type: Boolean,
|
|
10512
10041
|
reflect: true
|
|
10513
10042
|
}
|
|
@@ -10581,23 +10110,26 @@ class AuroLoader extends r$1 {
|
|
|
10581
10110
|
}
|
|
10582
10111
|
}
|
|
10583
10112
|
|
|
10584
|
-
var loaderVersion = '
|
|
10113
|
+
var loaderVersion = '5.0.0';
|
|
10585
10114
|
|
|
10115
|
+
/* eslint-disable max-lines */
|
|
10586
10116
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10587
10117
|
// See LICENSE in the project root for license information.
|
|
10588
10118
|
|
|
10589
10119
|
|
|
10590
10120
|
/**
|
|
10591
10121
|
* @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
|
|
10592
|
-
* @attr {Boolean} disabled - If set to true button will become disabled and not allow for interactions
|
|
10122
|
+
* @attr {Boolean} disabled - If set to true, button will become disabled and not allow for interactions
|
|
10593
10123
|
* @attr {Boolean} iconOnly - If set to true, the button will contain an icon with no additional content
|
|
10594
10124
|
* @attr {Boolean} loading - If set to true button text will be replaced with `auro-loader` and become disabled
|
|
10125
|
+
* @attr {String} loadingText - Sets custom loading text for the `aria-label` on a button in loading state. If not set, the default value of "Loading..." will be used.
|
|
10595
10126
|
* @attr {Boolean} onDark - Set value for on-dark version of auro-button
|
|
10596
10127
|
* @attr {Boolean} rounded - If set to true, the button will have a rounded shape
|
|
10597
10128
|
* @attr {Boolean} slim - Set value for slim version of auro-button
|
|
10598
10129
|
* @attr {Boolean} fluid - Alters the shape of the button to be full width of its parent container
|
|
10599
10130
|
* @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.
|
|
10600
10131
|
* @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.
|
|
10132
|
+
* @attr {Boolean} ariaexpanded - Populates the `aria-expanded` attribute that indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. This is an optional attribute for buttons.
|
|
10601
10133
|
* @attr {String} id - Set the unique ID of an element.
|
|
10602
10134
|
* @attr {String} title - Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
|
|
10603
10135
|
* @attr {String} type - The type of the button. Possible values are: `submit`, `reset`, `button`
|
|
@@ -10642,6 +10174,7 @@ class AuroButton extends r$1 {
|
|
|
10642
10174
|
this.rounded = false;
|
|
10643
10175
|
this.slim = false;
|
|
10644
10176
|
this.fluid = false;
|
|
10177
|
+
this.loadingText = this.loadingText || 'Loading...';
|
|
10645
10178
|
|
|
10646
10179
|
// Support for HTML5 forms
|
|
10647
10180
|
if (typeof this.attachInternals === 'function') {
|
|
@@ -10656,7 +10189,7 @@ class AuroButton extends r$1 {
|
|
|
10656
10189
|
/**
|
|
10657
10190
|
* Generate unique names for dependency components.
|
|
10658
10191
|
*/
|
|
10659
|
-
const versioning = new AuroDependencyVersioning$
|
|
10192
|
+
const versioning = new AuroDependencyVersioning$1();
|
|
10660
10193
|
|
|
10661
10194
|
/**
|
|
10662
10195
|
* @private
|
|
@@ -10702,6 +10235,9 @@ class AuroButton extends r$1 {
|
|
|
10702
10235
|
type: Boolean,
|
|
10703
10236
|
reflect: true
|
|
10704
10237
|
},
|
|
10238
|
+
loadingText: {
|
|
10239
|
+
type: String
|
|
10240
|
+
},
|
|
10705
10241
|
onDark: {
|
|
10706
10242
|
type: Boolean,
|
|
10707
10243
|
reflect: true
|
|
@@ -10722,6 +10258,10 @@ class AuroButton extends r$1 {
|
|
|
10722
10258
|
type: String,
|
|
10723
10259
|
reflect: true
|
|
10724
10260
|
},
|
|
10261
|
+
ariaexpanded: {
|
|
10262
|
+
type: Boolean,
|
|
10263
|
+
reflect: true
|
|
10264
|
+
},
|
|
10725
10265
|
title: {
|
|
10726
10266
|
type: String,
|
|
10727
10267
|
reflect: true
|
|
@@ -10751,7 +10291,7 @@ class AuroButton extends r$1 {
|
|
|
10751
10291
|
*
|
|
10752
10292
|
*/
|
|
10753
10293
|
static register(name = "auro-button") {
|
|
10754
|
-
AuroLibraryRuntimeUtils$
|
|
10294
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroButton);
|
|
10755
10295
|
}
|
|
10756
10296
|
|
|
10757
10297
|
/**
|
|
@@ -10793,12 +10333,22 @@ class AuroButton extends r$1 {
|
|
|
10793
10333
|
this.notifyReady();
|
|
10794
10334
|
}
|
|
10795
10335
|
|
|
10336
|
+
/**
|
|
10337
|
+
* Submits the form that this button is associated with.
|
|
10338
|
+
* @private
|
|
10339
|
+
* @returns {void}
|
|
10340
|
+
*/
|
|
10796
10341
|
surfaceSubmitEvent() {
|
|
10797
10342
|
if (this.form) {
|
|
10798
10343
|
this.form.requestSubmit();
|
|
10799
10344
|
}
|
|
10800
10345
|
}
|
|
10801
10346
|
|
|
10347
|
+
/**
|
|
10348
|
+
* Returns the form element that this button is associated with.
|
|
10349
|
+
* @private
|
|
10350
|
+
* @returns {HTMLFormElement|null}
|
|
10351
|
+
*/
|
|
10802
10352
|
get form() {
|
|
10803
10353
|
return this.internals ? this.internals.form : null;
|
|
10804
10354
|
}
|
|
@@ -10818,8 +10368,9 @@ class AuroButton extends r$1 {
|
|
|
10818
10368
|
return u$2`
|
|
10819
10369
|
<button
|
|
10820
10370
|
part="button"
|
|
10821
|
-
aria-label="${o(this.
|
|
10371
|
+
aria-label="${o(this.loading ? this.loadingText : this.arialabel || undefined)}"
|
|
10822
10372
|
aria-labelledby="${o(this.arialabelledby ? this.arialabelledby : undefined)}"
|
|
10373
|
+
aria-expanded="${o(this.ariaexpanded)}"
|
|
10823
10374
|
?autofocus="${this.autofocus}"
|
|
10824
10375
|
class="${e(classes)}"
|
|
10825
10376
|
?disabled="${this.disabled || this.loading}"
|
|
@@ -10847,13 +10398,13 @@ class AuroButton extends r$1 {
|
|
|
10847
10398
|
}
|
|
10848
10399
|
}
|
|
10849
10400
|
|
|
10850
|
-
var buttonVersion = '
|
|
10401
|
+
var buttonVersion = '9.3.0';
|
|
10851
10402
|
|
|
10852
|
-
var colorCss$5 = i$5`:host([error]){--ds-auro-helptext-color: var(--ds-color-
|
|
10403
|
+
var colorCss$5 = i$5`:host([error]){--ds-auro-helptext-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]){--ds-auro-helptext-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][error]){--ds-auro-helptext-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
10853
10404
|
|
|
10854
10405
|
var styleCss$5 = i$5`.helptext-wrapper{display:none;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
10855
10406
|
|
|
10856
|
-
var tokensCss$5 = i$5`:host{--ds-auro-helptext-color: var(--ds-color-
|
|
10407
|
+
var tokensCss$5 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
10857
10408
|
|
|
10858
10409
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10859
10410
|
// See LICENSE in the project root for license information.
|
|
@@ -10862,7 +10413,7 @@ var tokensCss$5 = i$5`:host{--ds-auro-helptext-color: var(--ds-color-text-tertia
|
|
|
10862
10413
|
|
|
10863
10414
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10864
10415
|
|
|
10865
|
-
let AuroLibraryRuntimeUtils$
|
|
10416
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
10866
10417
|
|
|
10867
10418
|
/* eslint-disable jsdoc/require-param */
|
|
10868
10419
|
|
|
@@ -10940,9 +10491,10 @@ class AuroHelpText extends r$1 {
|
|
|
10940
10491
|
super();
|
|
10941
10492
|
|
|
10942
10493
|
this.error = false;
|
|
10494
|
+
this.onDark = false;
|
|
10943
10495
|
this.hasTextContent = false;
|
|
10944
10496
|
|
|
10945
|
-
AuroLibraryRuntimeUtils$
|
|
10497
|
+
AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
10946
10498
|
}
|
|
10947
10499
|
|
|
10948
10500
|
static get styles() {
|
|
@@ -10978,6 +10530,14 @@ class AuroHelpText extends r$1 {
|
|
|
10978
10530
|
type: Boolean,
|
|
10979
10531
|
reflect: true,
|
|
10980
10532
|
},
|
|
10533
|
+
|
|
10534
|
+
/**
|
|
10535
|
+
* If declared, will apply onDark styles.
|
|
10536
|
+
*/
|
|
10537
|
+
onDark: {
|
|
10538
|
+
type: Boolean,
|
|
10539
|
+
reflect: true
|
|
10540
|
+
}
|
|
10981
10541
|
};
|
|
10982
10542
|
}
|
|
10983
10543
|
|
|
@@ -10990,7 +10550,7 @@ class AuroHelpText extends r$1 {
|
|
|
10990
10550
|
*
|
|
10991
10551
|
*/
|
|
10992
10552
|
static register(name = "auro-helptext") {
|
|
10993
|
-
AuroLibraryRuntimeUtils$
|
|
10553
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
|
|
10994
10554
|
}
|
|
10995
10555
|
|
|
10996
10556
|
updated() {
|
|
@@ -11087,7 +10647,7 @@ class AuroInput extends BaseInput {
|
|
|
11087
10647
|
*
|
|
11088
10648
|
*/
|
|
11089
10649
|
static register(name = "auro-input") {
|
|
11090
|
-
AuroLibraryRuntimeUtils$
|
|
10650
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroInput);
|
|
11091
10651
|
}
|
|
11092
10652
|
|
|
11093
10653
|
/**
|
|
@@ -11127,7 +10687,8 @@ class AuroInput extends BaseInput {
|
|
|
11127
10687
|
category="payment"
|
|
11128
10688
|
name="${name}"
|
|
11129
10689
|
part="accentIcon"
|
|
11130
|
-
?
|
|
10690
|
+
?onDark="${this.onDark}"
|
|
10691
|
+
variant="${this.disabled ? 'disabled' : 'muted'}">
|
|
11131
10692
|
</${this.iconTag}>
|
|
11132
10693
|
`) : undefined
|
|
11133
10694
|
}
|
|
@@ -11139,7 +10700,8 @@ class AuroInput extends BaseInput {
|
|
|
11139
10700
|
category="interface"
|
|
11140
10701
|
name="calendar"
|
|
11141
10702
|
part="accentIcon"
|
|
11142
|
-
?
|
|
10703
|
+
?onDark="${this.onDark}"
|
|
10704
|
+
variant="${this.disabled ? 'disabled' : 'muted'}">
|
|
11143
10705
|
</${this.iconTag}>`
|
|
11144
10706
|
: undefined
|
|
11145
10707
|
}
|
|
@@ -11184,7 +10746,7 @@ class AuroInput extends BaseInput {
|
|
|
11184
10746
|
<${this.iconTag}
|
|
11185
10747
|
category="alert"
|
|
11186
10748
|
name="error-stroke"
|
|
11187
|
-
|
|
10749
|
+
customColor
|
|
11188
10750
|
</${this.iconTag}>
|
|
11189
10751
|
</div>
|
|
11190
10752
|
` : undefined}
|
|
@@ -11193,6 +10755,7 @@ class AuroInput extends BaseInput {
|
|
|
11193
10755
|
<div class="notification">
|
|
11194
10756
|
<${this.buttonTag}
|
|
11195
10757
|
variant="flat"
|
|
10758
|
+
?onDark="${this.onDark}"
|
|
11196
10759
|
aria-hidden="true"
|
|
11197
10760
|
tabindex="-1"
|
|
11198
10761
|
@click="${this.handleClickShowPassword}"
|
|
@@ -11216,6 +10779,7 @@ class AuroInput extends BaseInput {
|
|
|
11216
10779
|
<div class="notification">
|
|
11217
10780
|
<${this.buttonTag}
|
|
11218
10781
|
variant="flat"
|
|
10782
|
+
?onDark="${this.onDark}"
|
|
11219
10783
|
class="notificationBtn clearBtn"
|
|
11220
10784
|
aria-label="${i18n(this.lang, 'clearInput')}"
|
|
11221
10785
|
@click="${this.handleClickClear}">
|
|
@@ -11234,14 +10798,14 @@ class AuroInput extends BaseInput {
|
|
|
11234
10798
|
<!-- Help text and error message template -->
|
|
11235
10799
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
11236
10800
|
? u$2`
|
|
11237
|
-
<${this.helpTextTag}>
|
|
10801
|
+
<${this.helpTextTag} ?onDark="${this.onDark}">
|
|
11238
10802
|
<p id="${this.uniqueId}" part="helpText">
|
|
11239
10803
|
<slot name="helptext">${this.getHelpText()}</slot>
|
|
11240
10804
|
</p>
|
|
11241
10805
|
</${this.helpTextTag}>
|
|
11242
10806
|
`
|
|
11243
10807
|
: u$2`
|
|
11244
|
-
<${this.helpTextTag} error>
|
|
10808
|
+
<${this.helpTextTag} error ?onDark="${this.onDark}">
|
|
11245
10809
|
<p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
11246
10810
|
${this.errorMessage}
|
|
11247
10811
|
</p>
|
|
@@ -11256,9 +10820,9 @@ var inputVersion = '4.2.0';
|
|
|
11256
10820
|
|
|
11257
10821
|
var colorCss$1$1 = i$5`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
11258
10822
|
|
|
11259
|
-
var styleCss$2$1 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500,
|
|
10823
|
+
var styleCss$2$1 = i$5`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, 2.5rem)}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
|
|
11260
10824
|
|
|
11261
|
-
var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-color-
|
|
10825
|
+
var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-basic-color-surface-default, #ffffff)}`;
|
|
11262
10826
|
|
|
11263
10827
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
11264
10828
|
// See LICENSE in the project root for license information.
|
|
@@ -11267,7 +10831,7 @@ var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
11267
10831
|
|
|
11268
10832
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11269
10833
|
|
|
11270
|
-
let AuroLibraryRuntimeUtils$
|
|
10834
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
11271
10835
|
|
|
11272
10836
|
/* eslint-disable jsdoc/require-param */
|
|
11273
10837
|
|
|
@@ -11436,7 +11000,7 @@ const cacheFetch$1 = (uri, options = {}) => {
|
|
|
11436
11000
|
return _fetchMap$1.get(uri);
|
|
11437
11001
|
};
|
|
11438
11002
|
|
|
11439
|
-
var styleCss$1$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}
|
|
11003
|
+
var styleCss$1$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.componentWrapper{display:flex}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelWrapper{margin-left:var(--ds-size-50, 0.25rem);line-height:1.8}`;
|
|
11440
11004
|
|
|
11441
11005
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11442
11006
|
// See LICENSE in the project root for license information.
|
|
@@ -11444,7 +11008,6 @@ var styleCss$1$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}
|
|
|
11444
11008
|
|
|
11445
11009
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
11446
11010
|
/**
|
|
11447
|
-
* @attr {Boolean} onDark - Set value for on-dark version of auro-icon
|
|
11448
11011
|
* @slot - Hidden from visibility, used for a11y if icon description is needed
|
|
11449
11012
|
*/
|
|
11450
11013
|
|
|
@@ -11459,6 +11022,10 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
11459
11022
|
static get properties() {
|
|
11460
11023
|
return {
|
|
11461
11024
|
...super.properties,
|
|
11025
|
+
|
|
11026
|
+
/**
|
|
11027
|
+
* Set value for on-dark version of auro-icon.
|
|
11028
|
+
*/
|
|
11462
11029
|
onDark: {
|
|
11463
11030
|
type: Boolean,
|
|
11464
11031
|
reflect: true
|
|
@@ -11517,81 +11084,11 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
11517
11084
|
}
|
|
11518
11085
|
};
|
|
11519
11086
|
|
|
11520
|
-
var tokensCss$2 = i$5`:host{--ds-auro-icon-color:var(--ds-color-
|
|
11521
|
-
|
|
11522
|
-
var colorCss$3 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[
|
|
11523
|
-
|
|
11524
|
-
// Copyright (c) Alaska
|
|
11525
|
-
// See LICENSE in the project root for license information.
|
|
11526
|
-
|
|
11527
|
-
// ---------------------------------------------------------------------
|
|
11528
|
-
|
|
11529
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11530
|
-
|
|
11531
|
-
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
11532
|
-
|
|
11533
|
-
/* eslint-disable jsdoc/require-param */
|
|
11534
|
-
|
|
11535
|
-
/**
|
|
11536
|
-
* This will register a new custom element with the browser.
|
|
11537
|
-
* @param {String} name - The name of the custom element.
|
|
11538
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
11539
|
-
* @returns {void}
|
|
11540
|
-
*/
|
|
11541
|
-
registerComponent(name, componentClass) {
|
|
11542
|
-
if (!customElements.get(name)) {
|
|
11543
|
-
customElements.define(name, class extends componentClass {});
|
|
11544
|
-
}
|
|
11545
|
-
}
|
|
11546
|
-
|
|
11547
|
-
/**
|
|
11548
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
11549
|
-
* @returns {void}
|
|
11550
|
-
*/
|
|
11551
|
-
closestElement(
|
|
11552
|
-
selector, // selector like in .closest()
|
|
11553
|
-
base = this, // extra functionality to skip a parent
|
|
11554
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
11555
|
-
!el || el === document || el === window
|
|
11556
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
11557
|
-
: found
|
|
11558
|
-
? found // found a selector INside this element
|
|
11559
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
11560
|
-
) {
|
|
11561
|
-
return __Closest(base);
|
|
11562
|
-
}
|
|
11563
|
-
/* eslint-enable jsdoc/require-param */
|
|
11564
|
-
|
|
11565
|
-
/**
|
|
11566
|
-
* 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.
|
|
11567
|
-
* @param {Object} elem - The element to check.
|
|
11568
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
11569
|
-
* @returns {void}
|
|
11570
|
-
*/
|
|
11571
|
-
handleComponentTagRename(elem, tagName) {
|
|
11572
|
-
const tag = tagName.toLowerCase();
|
|
11573
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
11574
|
-
|
|
11575
|
-
if (elemTag !== tag) {
|
|
11576
|
-
elem.setAttribute(tag, true);
|
|
11577
|
-
}
|
|
11578
|
-
}
|
|
11579
|
-
|
|
11580
|
-
/**
|
|
11581
|
-
* Validates if an element is a specific Auro component.
|
|
11582
|
-
* @param {Object} elem - The element to validate.
|
|
11583
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
11584
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
11585
|
-
*/
|
|
11586
|
-
elementMatch(elem, tagName) {
|
|
11587
|
-
const tag = tagName.toLowerCase();
|
|
11588
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
11589
|
-
|
|
11590
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
11591
|
-
}
|
|
11592
|
-
};
|
|
11593
|
-
|
|
11594
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11087
|
+
var tokensCss$2 = i$5`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color:#02426D;--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
11088
|
+
|
|
11089
|
+
var colorCss$3 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=fareOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-emerald, #139142)}:host(:not([onDark])[variant=fareOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=fareOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}`;
|
|
11090
|
+
|
|
11091
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11595
11092
|
// See LICENSE in the project root for license information.
|
|
11596
11093
|
|
|
11597
11094
|
|
|
@@ -11599,6 +11096,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
11599
11096
|
constructor() {
|
|
11600
11097
|
super();
|
|
11601
11098
|
|
|
11099
|
+
this.variant = undefined;
|
|
11602
11100
|
this.privateDefaults();
|
|
11603
11101
|
}
|
|
11604
11102
|
|
|
@@ -11608,20 +11106,6 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
11608
11106
|
* @returns {void}
|
|
11609
11107
|
*/
|
|
11610
11108
|
privateDefaults() {
|
|
11611
|
-
this.accent = false;
|
|
11612
|
-
this.customColor = false;
|
|
11613
|
-
this.customSvg = false;
|
|
11614
|
-
this.disabled = false;
|
|
11615
|
-
this.emphasis = false;
|
|
11616
|
-
this.error = false;
|
|
11617
|
-
this.info = false;
|
|
11618
|
-
this.label = false;
|
|
11619
|
-
this.primary = false;
|
|
11620
|
-
this.secondary = false;
|
|
11621
|
-
this.subtle = false;
|
|
11622
|
-
this.success = false;
|
|
11623
|
-
this.tertiary = false;
|
|
11624
|
-
this.warning = false;
|
|
11625
11109
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
11626
11110
|
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
11627
11111
|
}
|
|
@@ -11631,14 +11115,6 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
11631
11115
|
return {
|
|
11632
11116
|
...super.properties,
|
|
11633
11117
|
|
|
11634
|
-
/**
|
|
11635
|
-
* Sets the icon to use the accent style.
|
|
11636
|
-
*/
|
|
11637
|
-
accent: {
|
|
11638
|
-
type: Boolean,
|
|
11639
|
-
reflect: true
|
|
11640
|
-
},
|
|
11641
|
-
|
|
11642
11118
|
/**
|
|
11643
11119
|
* Set aria-hidden value. Default is `true`. Option is `false`.
|
|
11644
11120
|
*/
|
|
@@ -11669,38 +11145,6 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
11669
11145
|
type: Boolean
|
|
11670
11146
|
},
|
|
11671
11147
|
|
|
11672
|
-
/**
|
|
11673
|
-
* Sets the icon to use the disabled style.
|
|
11674
|
-
*/
|
|
11675
|
-
disabled: {
|
|
11676
|
-
type: Boolean,
|
|
11677
|
-
reflect: true
|
|
11678
|
-
},
|
|
11679
|
-
|
|
11680
|
-
/**
|
|
11681
|
-
* Sets the icon to use the emphasis style.
|
|
11682
|
-
*/
|
|
11683
|
-
emphasis: {
|
|
11684
|
-
type: Boolean,
|
|
11685
|
-
reflect: true
|
|
11686
|
-
},
|
|
11687
|
-
|
|
11688
|
-
/**
|
|
11689
|
-
* Sets the icon to use the error style.
|
|
11690
|
-
*/
|
|
11691
|
-
error: {
|
|
11692
|
-
type: Boolean,
|
|
11693
|
-
reflect: true
|
|
11694
|
-
},
|
|
11695
|
-
|
|
11696
|
-
/**
|
|
11697
|
-
* Sets the icon to use the info style.
|
|
11698
|
-
*/
|
|
11699
|
-
info: {
|
|
11700
|
-
type: Boolean,
|
|
11701
|
-
reflect: true
|
|
11702
|
-
},
|
|
11703
|
-
|
|
11704
11148
|
/**
|
|
11705
11149
|
* Exposes content in slot as icon label.
|
|
11706
11150
|
*/
|
|
@@ -11718,50 +11162,10 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
11718
11162
|
},
|
|
11719
11163
|
|
|
11720
11164
|
/**
|
|
11721
|
-
*
|
|
11722
|
-
*/
|
|
11723
|
-
primary: {
|
|
11724
|
-
type: Boolean,
|
|
11725
|
-
reflect: true
|
|
11726
|
-
},
|
|
11727
|
-
|
|
11728
|
-
/**
|
|
11729
|
-
* Sets the icon to use the secondary style.
|
|
11730
|
-
*/
|
|
11731
|
-
secondary: {
|
|
11732
|
-
type: Boolean,
|
|
11733
|
-
reflect: true
|
|
11734
|
-
},
|
|
11735
|
-
|
|
11736
|
-
/**
|
|
11737
|
-
* Sets the icon to use the subtle style.
|
|
11738
|
-
*/
|
|
11739
|
-
subtle: {
|
|
11740
|
-
type: Boolean,
|
|
11741
|
-
reflect: true
|
|
11742
|
-
},
|
|
11743
|
-
|
|
11744
|
-
/**
|
|
11745
|
-
* Sets the icon to use the success style.
|
|
11746
|
-
*/
|
|
11747
|
-
success: {
|
|
11748
|
-
type: Boolean,
|
|
11749
|
-
reflect: true
|
|
11750
|
-
},
|
|
11751
|
-
|
|
11752
|
-
/**
|
|
11753
|
-
* Sets the icon to use the tertiary style.
|
|
11165
|
+
* The style of the icon. The accepted variants are `accent1`, `disabled`, `muted`, `statusDefault`, `statusInfo`, `statusSuccess`, `statusWarning`, `statusError`, `statusInfoSubtle`, `statusSuccessSubtle`, `statusWarningSubtle`, `statusErrorSubtle`, `fareBasicEconomy`, `fareBusiness`, `fareEconomy`, `fareFirst`, `farePremiumEconomy`, `fareOneWorldEmerald`, `fareOneWorldSapphire`, `fareOneWorldRuby`.
|
|
11754
11166
|
*/
|
|
11755
|
-
|
|
11756
|
-
type:
|
|
11757
|
-
reflect: true
|
|
11758
|
-
},
|
|
11759
|
-
|
|
11760
|
-
/**
|
|
11761
|
-
* Sets the icon to use the warning style.
|
|
11762
|
-
*/
|
|
11763
|
-
warning: {
|
|
11764
|
-
type: Boolean,
|
|
11167
|
+
variant: {
|
|
11168
|
+
type: String,
|
|
11765
11169
|
reflect: true
|
|
11766
11170
|
}
|
|
11767
11171
|
};
|
|
@@ -11851,7 +11255,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
11851
11255
|
}
|
|
11852
11256
|
};
|
|
11853
11257
|
|
|
11854
|
-
var iconVersion$1 = '
|
|
11258
|
+
var iconVersion$1 = '8.0.1';
|
|
11855
11259
|
|
|
11856
11260
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
11857
11261
|
// See LICENSE in the project root for license information.
|
|
@@ -11860,7 +11264,7 @@ var iconVersion$1 = '7.0.1';
|
|
|
11860
11264
|
|
|
11861
11265
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11862
11266
|
|
|
11863
|
-
|
|
11267
|
+
class AuroLibraryRuntimeUtils {
|
|
11864
11268
|
|
|
11865
11269
|
/* eslint-disable jsdoc/require-param */
|
|
11866
11270
|
|
|
@@ -11921,7 +11325,7 @@ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
|
11921
11325
|
|
|
11922
11326
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
11923
11327
|
}
|
|
11924
|
-
}
|
|
11328
|
+
}
|
|
11925
11329
|
|
|
11926
11330
|
var styleCss$4 = i$5`.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)}`;
|
|
11927
11331
|
|
|
@@ -11952,7 +11356,7 @@ class AuroHeader extends r$1 {
|
|
|
11952
11356
|
/**
|
|
11953
11357
|
* @private
|
|
11954
11358
|
*/
|
|
11955
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils
|
|
11359
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
11956
11360
|
}
|
|
11957
11361
|
|
|
11958
11362
|
// function to define props used within the scope of this component
|
|
@@ -11982,7 +11386,7 @@ class AuroHeader extends r$1 {
|
|
|
11982
11386
|
*
|
|
11983
11387
|
*/
|
|
11984
11388
|
static register(name = "auro-header") {
|
|
11985
|
-
AuroLibraryRuntimeUtils
|
|
11389
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
|
|
11986
11390
|
}
|
|
11987
11391
|
|
|
11988
11392
|
firstUpdated() {
|
|
@@ -12076,7 +11480,9 @@ class AuroBibtemplate extends r$1 {
|
|
|
12076
11480
|
constructor() {
|
|
12077
11481
|
super();
|
|
12078
11482
|
|
|
12079
|
-
|
|
11483
|
+
this.large = false;
|
|
11484
|
+
|
|
11485
|
+
AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
12080
11486
|
|
|
12081
11487
|
const versioning = new AuroDependencyVersioning();
|
|
12082
11488
|
this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion$1, AuroIcon$1);
|
|
@@ -12115,7 +11521,7 @@ class AuroBibtemplate extends r$1 {
|
|
|
12115
11521
|
*
|
|
12116
11522
|
*/
|
|
12117
11523
|
static register(name = "auro-bibtemplate") {
|
|
12118
|
-
AuroLibraryRuntimeUtils$
|
|
11524
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroBibtemplate);
|
|
12119
11525
|
}
|
|
12120
11526
|
|
|
12121
11527
|
/**
|
|
@@ -12187,11 +11593,11 @@ class AuroBibtemplate extends r$1 {
|
|
|
12187
11593
|
|
|
12188
11594
|
var bibTemplateVersion = '1.0.0';
|
|
12189
11595
|
|
|
12190
|
-
i$5`: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}*,*: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{display:inline-block;width:100%;margin:0;padding:0;vertical-align:middle}:host ::slotted(auro-menuoption),:host ::slotted([auro-menuoption]),:host auro-menuoption[loadingplaceholder]{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host ::slotted([selected]){padding-left:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host([nocheckmark]) ::slotted(auro-menuoption),:host([nocheckmark]) auro-menuoption[loadingplaceholder]{padding-left:var(--ds-size-200, 1rem)}:host([root]){overflow-y:auto}[loadingplaceholder]{color:var(--ds-color-text-secondary-default, #525252)}[loadingplaceholder].empty{opacity:0;position:absolute}[loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}[loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}`;
|
|
11596
|
+
i$5`:focus:not(:focus-visible){outline:3px solid transparent}:host{display:inline-block;width:100%;margin:0;padding:0;vertical-align:middle}:host ::slotted(auro-menuoption),:host ::slotted([auro-menuoption]),:host auro-menuoption[loadingplaceholder]{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host ::slotted([selected]){padding-left:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host([nocheckmark]) ::slotted(auro-menuoption),:host([nocheckmark]) auro-menuoption[loadingplaceholder]{padding-left:var(--ds-size-200, 1rem)}:host([root]){overflow-y:auto}[loadingplaceholder].empty{opacity:0;position:absolute}[loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}[loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}`;
|
|
12191
11597
|
|
|
12192
|
-
i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color)
|
|
11598
|
+
i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color)}[loadingplaceholder] slot[name=loadingIcon]{color:var(--ds-auro-menu-loader-color)}[loadingplaceholder] slot[name=loadingText]{color:var(--ds-auro-menu-loader-text-color)}`;
|
|
12193
11599
|
|
|
12194
|
-
i$5`:host{--ds-auro-menu-divider-color: var(--ds-color-border-divider-
|
|
11600
|
+
i$5`:host{--ds-auro-menu-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-menu-loader-color: var(--ds-basic-color-brand-primary, #01426a);--ds-auro-menu-loader-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-menuoption-container-color: transparent;--ds-auro-menuoption-icon-color: transparent;--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}`;
|
|
12195
11601
|
|
|
12196
11602
|
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12197
11603
|
// See LICENSE in the project root for license information.
|
|
@@ -12295,15 +11701,15 @@ function arrayOrUndefinedHasChanged$1(newVal, oldVal) {
|
|
|
12295
11701
|
|
|
12296
11702
|
i$5`:host{display:flex;align-items:center;padding:var(--ds-size-50, 0.25rem) var(--ds-size-200, 1rem) var(--ds-size-50, 0.25rem) 0;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
|
|
12297
11703
|
|
|
12298
|
-
i$5`:host{background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color)
|
|
11704
|
+
i$5`:host{background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color)}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-basic-color-surface-neutral-subtle, #f7f7f7)}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected, #01426a);--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([selected]):host(:hover),:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected-hover, #00274a)}`;
|
|
12299
11705
|
|
|
12300
|
-
i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}
|
|
11706
|
+
i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.componentWrapper{display:flex}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelWrapper{margin-left:var(--ds-size-50, 0.25rem);line-height:1.8}`;
|
|
12301
11707
|
|
|
12302
|
-
i$5`:host{--ds-auro-icon-color:var(--ds-color-
|
|
11708
|
+
i$5`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color:#02426D;--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
12303
11709
|
|
|
12304
|
-
i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[
|
|
11710
|
+
i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=fareOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-emerald, #139142)}:host(:not([onDark])[variant=fareOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=fareOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}`;
|
|
12305
11711
|
|
|
12306
|
-
var styleCss$3 = i$5`.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]{min-height:var(--ds-size-700, 3.5rem);max-height:var(--ds-size-700, 3.5rem)}[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){
|
|
11712
|
+
var styleCss$3 = i$5`.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]{min-height:var(--ds-size-700, 3.5rem);max-height:var(--ds-size-700, 3.5rem)}[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){--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}[auro-input]::part(wrapper):focus-within{border-bottom-width:0 !important;box-shadow:unset !important;outline:unset !important}#slotHolder{display:none}`;
|
|
12307
11713
|
|
|
12308
11714
|
// Copyright (c) 2022 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12309
11715
|
// See LICENSE in the project root for license information.
|
|
@@ -12324,11 +11730,6 @@ class AuroCombobox extends r$1 {
|
|
|
12324
11730
|
constructor() {
|
|
12325
11731
|
super();
|
|
12326
11732
|
|
|
12327
|
-
this.noFilter = false;
|
|
12328
|
-
this.validity = undefined;
|
|
12329
|
-
this.value = undefined;
|
|
12330
|
-
this.optionSelected = undefined;
|
|
12331
|
-
|
|
12332
11733
|
this.privateDefaults();
|
|
12333
11734
|
}
|
|
12334
11735
|
|
|
@@ -12337,15 +11738,29 @@ class AuroCombobox extends r$1 {
|
|
|
12337
11738
|
* @returns {void} Internal defaults.
|
|
12338
11739
|
*/
|
|
12339
11740
|
privateDefaults() {
|
|
11741
|
+
this.onDark = false;
|
|
11742
|
+
|
|
11743
|
+
this.noFilter = false;
|
|
11744
|
+
this.validity = undefined;
|
|
11745
|
+
this.value = undefined;
|
|
11746
|
+
this.optionSelected = undefined;
|
|
11747
|
+
|
|
11748
|
+
this.checkmark = false;
|
|
11749
|
+
this.disabled = false;
|
|
11750
|
+
this.noValidate = false;
|
|
11751
|
+
this.required = false;
|
|
11752
|
+
this.triggerIcon = false;
|
|
11753
|
+
|
|
12340
11754
|
this.availableOptions = [];
|
|
12341
11755
|
this.optionActive = null;
|
|
12342
11756
|
this.msgSelectionMissing = 'Please select an option.';
|
|
12343
11757
|
|
|
12344
11758
|
this.fullscreenBreakpoint = 'sm';
|
|
11759
|
+
this.largeFullscreenHeadline = false;
|
|
12345
11760
|
|
|
12346
11761
|
this.validation = new AuroFormValidation$1();
|
|
12347
11762
|
|
|
12348
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
11763
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
12349
11764
|
|
|
12350
11765
|
this.isHiddenWhileLoading = false;
|
|
12351
11766
|
|
|
@@ -12355,11 +11770,11 @@ class AuroCombobox extends r$1 {
|
|
|
12355
11770
|
this.noFlip = false;
|
|
12356
11771
|
this.autoPlacement = false;
|
|
12357
11772
|
|
|
12358
|
-
const versioning = new AuroDependencyVersioning$
|
|
11773
|
+
const versioning = new AuroDependencyVersioning$3();
|
|
12359
11774
|
|
|
12360
|
-
this.dropdownTag = versioning.generateTag('auro-formkit-
|
|
12361
|
-
this.bibtemplateTag = versioning.generateTag('auro-formkit-
|
|
12362
|
-
this.inputTag = versioning.generateTag('auro-formkit-
|
|
11775
|
+
this.dropdownTag = versioning.generateTag('auro-formkit-combobox-dropdown', dropdownVersion, AuroDropdown);
|
|
11776
|
+
this.bibtemplateTag = versioning.generateTag('auro-formkit-combobox-bibtemplate', bibTemplateVersion, AuroBibtemplate);
|
|
11777
|
+
this.inputTag = versioning.generateTag('auro-formkit-combobox-input', inputVersion, AuroInput);
|
|
12363
11778
|
}
|
|
12364
11779
|
|
|
12365
11780
|
// This function is to define props used within the scope of this component
|
|
@@ -12432,7 +11847,8 @@ class AuroCombobox extends r$1 {
|
|
|
12432
11847
|
* If set, disables auto-validation on blur.
|
|
12433
11848
|
*/
|
|
12434
11849
|
noValidate: {
|
|
12435
|
-
type: Boolean
|
|
11850
|
+
type: Boolean,
|
|
11851
|
+
reflect: true
|
|
12436
11852
|
},
|
|
12437
11853
|
|
|
12438
11854
|
/**
|
|
@@ -12444,6 +11860,14 @@ class AuroCombobox extends r$1 {
|
|
|
12444
11860
|
reflect: true
|
|
12445
11861
|
},
|
|
12446
11862
|
|
|
11863
|
+
/**
|
|
11864
|
+
* If declared, onDark styles will be applied to the trigger.
|
|
11865
|
+
*/
|
|
11866
|
+
onDark: {
|
|
11867
|
+
type: Boolean,
|
|
11868
|
+
reflect: true
|
|
11869
|
+
},
|
|
11870
|
+
|
|
12447
11871
|
/**
|
|
12448
11872
|
* Specifies the current selected option.
|
|
12449
11873
|
*/
|
|
@@ -12551,8 +11975,7 @@ class AuroCombobox extends r$1 {
|
|
|
12551
11975
|
* @private
|
|
12552
11976
|
*/
|
|
12553
11977
|
isDropdownFullscreen: {
|
|
12554
|
-
type: Boolean
|
|
12555
|
-
reflect: false
|
|
11978
|
+
type: Boolean
|
|
12556
11979
|
}
|
|
12557
11980
|
};
|
|
12558
11981
|
}
|
|
@@ -12570,7 +11993,7 @@ class AuroCombobox extends r$1 {
|
|
|
12570
11993
|
*
|
|
12571
11994
|
*/
|
|
12572
11995
|
static register(name = 'auro-combobox') {
|
|
12573
|
-
AuroLibraryRuntimeUtils$
|
|
11996
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroCombobox);
|
|
12574
11997
|
}
|
|
12575
11998
|
|
|
12576
11999
|
/**
|
|
@@ -13213,6 +12636,7 @@ class AuroCombobox extends r$1 {
|
|
|
13213
12636
|
</div>
|
|
13214
12637
|
<${this.dropdownTag}
|
|
13215
12638
|
for="dropdownMenu"
|
|
12639
|
+
?onDark="${this.onDark}"
|
|
13216
12640
|
fluid
|
|
13217
12641
|
bordered
|
|
13218
12642
|
rounded
|
|
@@ -13229,6 +12653,7 @@ class AuroCombobox extends r$1 {
|
|
|
13229
12653
|
<${this.inputTag}
|
|
13230
12654
|
slot="trigger"
|
|
13231
12655
|
bordered
|
|
12656
|
+
?onDark="${this.onDark}"
|
|
13232
12657
|
?required="${this.required}"
|
|
13233
12658
|
?noValidate="${this.noValidate}"
|
|
13234
12659
|
?disabled="${this.disabled}"
|
|
@@ -13263,11 +12688,11 @@ class AuroCombobox extends r$1 {
|
|
|
13263
12688
|
}
|
|
13264
12689
|
}
|
|
13265
12690
|
|
|
13266
|
-
var styleCss$2 = i$5`: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}*,*: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{display:inline-block;width:100%;margin:0;padding:0;vertical-align:middle}:host ::slotted(auro-menuoption),:host ::slotted([auro-menuoption]),:host auro-menuoption[loadingplaceholder]{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host ::slotted([selected]){padding-left:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host([nocheckmark]) ::slotted(auro-menuoption),:host([nocheckmark]) auro-menuoption[loadingplaceholder]{padding-left:var(--ds-size-200, 1rem)}:host([root]){overflow-y:auto}[loadingplaceholder]{color:var(--ds-color-text-secondary-default, #525252)}[loadingplaceholder].empty{opacity:0;position:absolute}[loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}[loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}`;
|
|
12691
|
+
var styleCss$2 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}:host{display:inline-block;width:100%;margin:0;padding:0;vertical-align:middle}:host ::slotted(auro-menuoption),:host ::slotted([auro-menuoption]),:host auro-menuoption[loadingplaceholder]{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host ::slotted([selected]){padding-left:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host([nocheckmark]) ::slotted(auro-menuoption),:host([nocheckmark]) auro-menuoption[loadingplaceholder]{padding-left:var(--ds-size-200, 1rem)}:host([root]){overflow-y:auto}[loadingplaceholder].empty{opacity:0;position:absolute}[loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}[loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}`;
|
|
13267
12692
|
|
|
13268
|
-
var colorCss$2 = i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color)
|
|
12693
|
+
var colorCss$2 = i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color)}[loadingplaceholder] slot[name=loadingIcon]{color:var(--ds-auro-menu-loader-color)}[loadingplaceholder] slot[name=loadingText]{color:var(--ds-auro-menu-loader-text-color)}`;
|
|
13269
12694
|
|
|
13270
|
-
var tokensCss$1 = i$5`:host{--ds-auro-menu-divider-color: var(--ds-color-border-divider-
|
|
12695
|
+
var tokensCss$1 = i$5`:host{--ds-auro-menu-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-menu-loader-color: var(--ds-basic-color-brand-primary, #01426a);--ds-auro-menu-loader-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-menuoption-container-color: transparent;--ds-auro-menuoption-icon-color: transparent;--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}`;
|
|
13271
12696
|
|
|
13272
12697
|
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13273
12698
|
// See LICENSE in the project root for license information.
|
|
@@ -13552,7 +12977,7 @@ class AuroMenu extends r$1 {
|
|
|
13552
12977
|
*
|
|
13553
12978
|
*/
|
|
13554
12979
|
static register(name = "auro-menu") {
|
|
13555
|
-
AuroLibraryRuntimeUtils$
|
|
12980
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroMenu);
|
|
13556
12981
|
}
|
|
13557
12982
|
|
|
13558
12983
|
// Lifecycle Methods
|
|
@@ -13576,7 +13001,7 @@ class AuroMenu extends r$1 {
|
|
|
13576
13001
|
}
|
|
13577
13002
|
|
|
13578
13003
|
firstUpdated() {
|
|
13579
|
-
AuroLibraryRuntimeUtils$
|
|
13004
|
+
AuroLibraryRuntimeUtils$4.prototype.handleComponentTagRename(this, 'auro-menu');
|
|
13580
13005
|
|
|
13581
13006
|
this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
|
|
13582
13007
|
this.initializeMenu();
|
|
@@ -14114,7 +13539,7 @@ class AuroMenu extends r$1 {
|
|
|
14114
13539
|
|
|
14115
13540
|
var styleCss$1 = i$5`:host{display:flex;align-items:center;padding:var(--ds-size-50, 0.25rem) var(--ds-size-200, 1rem) var(--ds-size-50, 0.25rem) 0;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
|
|
14116
13541
|
|
|
14117
|
-
var colorCss$1 = i$5`:host{background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color)
|
|
13542
|
+
var colorCss$1 = i$5`:host{background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color)}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-basic-color-surface-neutral-subtle, #f7f7f7)}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected, #01426a);--ds-auro-menuoption-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([selected]):host(:hover),:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-advanced-color-state-selected-hover, #00274a)}`;
|
|
14118
13543
|
|
|
14119
13544
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
14120
13545
|
// See LICENSE in the project root for license information.
|
|
@@ -14182,7 +13607,7 @@ const cacheFetch = (uri, options = {}) => {
|
|
|
14182
13607
|
return _fetchMap.get(uri);
|
|
14183
13608
|
};
|
|
14184
13609
|
|
|
14185
|
-
var styleCss = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}
|
|
13610
|
+
var styleCss = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.componentWrapper{display:flex}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelWrapper{margin-left:var(--ds-size-50, 0.25rem);line-height:1.8}`;
|
|
14186
13611
|
|
|
14187
13612
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
14188
13613
|
// See LICENSE in the project root for license information.
|
|
@@ -14190,7 +13615,6 @@ var styleCss = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.uti
|
|
|
14190
13615
|
|
|
14191
13616
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
14192
13617
|
/**
|
|
14193
|
-
* @attr {Boolean} onDark - Set value for on-dark version of auro-icon
|
|
14194
13618
|
* @slot - Hidden from visibility, used for a11y if icon description is needed
|
|
14195
13619
|
*/
|
|
14196
13620
|
|
|
@@ -14205,6 +13629,10 @@ class BaseIcon extends AuroElement {
|
|
|
14205
13629
|
static get properties() {
|
|
14206
13630
|
return {
|
|
14207
13631
|
...super.properties,
|
|
13632
|
+
|
|
13633
|
+
/**
|
|
13634
|
+
* Set value for on-dark version of auro-icon.
|
|
13635
|
+
*/
|
|
14208
13636
|
onDark: {
|
|
14209
13637
|
type: Boolean,
|
|
14210
13638
|
reflect: true
|
|
@@ -14263,81 +13691,11 @@ class BaseIcon extends AuroElement {
|
|
|
14263
13691
|
}
|
|
14264
13692
|
}
|
|
14265
13693
|
|
|
14266
|
-
var tokensCss = i$5`:host{--ds-auro-icon-color:var(--ds-color-
|
|
14267
|
-
|
|
14268
|
-
var colorCss = i$5`: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)}`;
|
|
14269
|
-
|
|
14270
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
14271
|
-
// See LICENSE in the project root for license information.
|
|
14272
|
-
|
|
14273
|
-
// ---------------------------------------------------------------------
|
|
14274
|
-
|
|
14275
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
14276
|
-
|
|
14277
|
-
class AuroLibraryRuntimeUtils {
|
|
14278
|
-
|
|
14279
|
-
/* eslint-disable jsdoc/require-param */
|
|
14280
|
-
|
|
14281
|
-
/**
|
|
14282
|
-
* This will register a new custom element with the browser.
|
|
14283
|
-
* @param {String} name - The name of the custom element.
|
|
14284
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
14285
|
-
* @returns {void}
|
|
14286
|
-
*/
|
|
14287
|
-
registerComponent(name, componentClass) {
|
|
14288
|
-
if (!customElements.get(name)) {
|
|
14289
|
-
customElements.define(name, class extends componentClass {});
|
|
14290
|
-
}
|
|
14291
|
-
}
|
|
14292
|
-
|
|
14293
|
-
/**
|
|
14294
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
14295
|
-
* @returns {void}
|
|
14296
|
-
*/
|
|
14297
|
-
closestElement(
|
|
14298
|
-
selector, // selector like in .closest()
|
|
14299
|
-
base = this, // extra functionality to skip a parent
|
|
14300
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
14301
|
-
!el || el === document || el === window
|
|
14302
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
14303
|
-
: found
|
|
14304
|
-
? found // found a selector INside this element
|
|
14305
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
14306
|
-
) {
|
|
14307
|
-
return __Closest(base);
|
|
14308
|
-
}
|
|
14309
|
-
/* eslint-enable jsdoc/require-param */
|
|
14310
|
-
|
|
14311
|
-
/**
|
|
14312
|
-
* 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.
|
|
14313
|
-
* @param {Object} elem - The element to check.
|
|
14314
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
14315
|
-
* @returns {void}
|
|
14316
|
-
*/
|
|
14317
|
-
handleComponentTagRename(elem, tagName) {
|
|
14318
|
-
const tag = tagName.toLowerCase();
|
|
14319
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
14320
|
-
|
|
14321
|
-
if (elemTag !== tag) {
|
|
14322
|
-
elem.setAttribute(tag, true);
|
|
14323
|
-
}
|
|
14324
|
-
}
|
|
14325
|
-
|
|
14326
|
-
/**
|
|
14327
|
-
* Validates if an element is a specific Auro component.
|
|
14328
|
-
* @param {Object} elem - The element to validate.
|
|
14329
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
14330
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
14331
|
-
*/
|
|
14332
|
-
elementMatch(elem, tagName) {
|
|
14333
|
-
const tag = tagName.toLowerCase();
|
|
14334
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
13694
|
+
var tokensCss = i$5`:host{--ds-auro-icon-color:var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color:#02426D;--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
14335
13695
|
|
|
14336
|
-
|
|
14337
|
-
}
|
|
14338
|
-
}
|
|
13696
|
+
var colorCss = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]){--ds-auro-icon-color:var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]){--ds-auro-icon-color:var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]){--ds-auro-icon-color:var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]){--ds-auro-icon-color:var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]){--ds-auro-icon-color:var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]){--ds-auro-icon-color:var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]){--ds-auro-icon-color:var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]){--ds-auro-icon-color:var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]){--ds-auro-icon-color:var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]){--ds-auro-icon-color:var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=fareOneWorldEmerald]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-emerald, #139142)}:host(:not([onDark])[variant=fareOneWorldSapphire]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=fareOneWorldRuby]){--ds-auro-icon-color:var(--ds-basic-color-fare-oneworld-ruby, #a41d4a)}:host([onDark]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]){--ds-auro-icon-color:var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}`;
|
|
14339
13697
|
|
|
14340
|
-
// Copyright (c)
|
|
13698
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
14341
13699
|
// See LICENSE in the project root for license information.
|
|
14342
13700
|
|
|
14343
13701
|
|
|
@@ -14345,6 +13703,7 @@ class AuroIcon extends BaseIcon {
|
|
|
14345
13703
|
constructor() {
|
|
14346
13704
|
super();
|
|
14347
13705
|
|
|
13706
|
+
this.variant = undefined;
|
|
14348
13707
|
this.privateDefaults();
|
|
14349
13708
|
}
|
|
14350
13709
|
|
|
@@ -14354,22 +13713,8 @@ class AuroIcon extends BaseIcon {
|
|
|
14354
13713
|
* @returns {void}
|
|
14355
13714
|
*/
|
|
14356
13715
|
privateDefaults() {
|
|
14357
|
-
this.accent = false;
|
|
14358
|
-
this.customColor = false;
|
|
14359
|
-
this.customSvg = false;
|
|
14360
|
-
this.disabled = false;
|
|
14361
|
-
this.emphasis = false;
|
|
14362
|
-
this.error = false;
|
|
14363
|
-
this.info = false;
|
|
14364
|
-
this.label = false;
|
|
14365
|
-
this.primary = false;
|
|
14366
|
-
this.secondary = false;
|
|
14367
|
-
this.subtle = false;
|
|
14368
|
-
this.success = false;
|
|
14369
|
-
this.tertiary = false;
|
|
14370
|
-
this.warning = false;
|
|
14371
13716
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
14372
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
13717
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
14373
13718
|
}
|
|
14374
13719
|
|
|
14375
13720
|
// function to define props used within the scope of this component
|
|
@@ -14377,14 +13722,6 @@ class AuroIcon extends BaseIcon {
|
|
|
14377
13722
|
return {
|
|
14378
13723
|
...super.properties,
|
|
14379
13724
|
|
|
14380
|
-
/**
|
|
14381
|
-
* Sets the icon to use the accent style.
|
|
14382
|
-
*/
|
|
14383
|
-
accent: {
|
|
14384
|
-
type: Boolean,
|
|
14385
|
-
reflect: true
|
|
14386
|
-
},
|
|
14387
|
-
|
|
14388
13725
|
/**
|
|
14389
13726
|
* Set aria-hidden value. Default is `true`. Option is `false`.
|
|
14390
13727
|
*/
|
|
@@ -14415,38 +13752,6 @@ class AuroIcon extends BaseIcon {
|
|
|
14415
13752
|
type: Boolean
|
|
14416
13753
|
},
|
|
14417
13754
|
|
|
14418
|
-
/**
|
|
14419
|
-
* Sets the icon to use the disabled style.
|
|
14420
|
-
*/
|
|
14421
|
-
disabled: {
|
|
14422
|
-
type: Boolean,
|
|
14423
|
-
reflect: true
|
|
14424
|
-
},
|
|
14425
|
-
|
|
14426
|
-
/**
|
|
14427
|
-
* Sets the icon to use the emphasis style.
|
|
14428
|
-
*/
|
|
14429
|
-
emphasis: {
|
|
14430
|
-
type: Boolean,
|
|
14431
|
-
reflect: true
|
|
14432
|
-
},
|
|
14433
|
-
|
|
14434
|
-
/**
|
|
14435
|
-
* Sets the icon to use the error style.
|
|
14436
|
-
*/
|
|
14437
|
-
error: {
|
|
14438
|
-
type: Boolean,
|
|
14439
|
-
reflect: true
|
|
14440
|
-
},
|
|
14441
|
-
|
|
14442
|
-
/**
|
|
14443
|
-
* Sets the icon to use the info style.
|
|
14444
|
-
*/
|
|
14445
|
-
info: {
|
|
14446
|
-
type: Boolean,
|
|
14447
|
-
reflect: true
|
|
14448
|
-
},
|
|
14449
|
-
|
|
14450
13755
|
/**
|
|
14451
13756
|
* Exposes content in slot as icon label.
|
|
14452
13757
|
*/
|
|
@@ -14464,50 +13769,10 @@ class AuroIcon extends BaseIcon {
|
|
|
14464
13769
|
},
|
|
14465
13770
|
|
|
14466
13771
|
/**
|
|
14467
|
-
*
|
|
14468
|
-
*/
|
|
14469
|
-
primary: {
|
|
14470
|
-
type: Boolean,
|
|
14471
|
-
reflect: true
|
|
14472
|
-
},
|
|
14473
|
-
|
|
14474
|
-
/**
|
|
14475
|
-
* Sets the icon to use the secondary style.
|
|
14476
|
-
*/
|
|
14477
|
-
secondary: {
|
|
14478
|
-
type: Boolean,
|
|
14479
|
-
reflect: true
|
|
14480
|
-
},
|
|
14481
|
-
|
|
14482
|
-
/**
|
|
14483
|
-
* Sets the icon to use the subtle style.
|
|
14484
|
-
*/
|
|
14485
|
-
subtle: {
|
|
14486
|
-
type: Boolean,
|
|
14487
|
-
reflect: true
|
|
14488
|
-
},
|
|
14489
|
-
|
|
14490
|
-
/**
|
|
14491
|
-
* Sets the icon to use the success style.
|
|
13772
|
+
* The style of the icon. The accepted variants are `accent1`, `disabled`, `muted`, `statusDefault`, `statusInfo`, `statusSuccess`, `statusWarning`, `statusError`, `statusInfoSubtle`, `statusSuccessSubtle`, `statusWarningSubtle`, `statusErrorSubtle`, `fareBasicEconomy`, `fareBusiness`, `fareEconomy`, `fareFirst`, `farePremiumEconomy`, `fareOneWorldEmerald`, `fareOneWorldSapphire`, `fareOneWorldRuby`.
|
|
14492
13773
|
*/
|
|
14493
|
-
|
|
14494
|
-
type:
|
|
14495
|
-
reflect: true
|
|
14496
|
-
},
|
|
14497
|
-
|
|
14498
|
-
/**
|
|
14499
|
-
* Sets the icon to use the tertiary style.
|
|
14500
|
-
*/
|
|
14501
|
-
tertiary: {
|
|
14502
|
-
type: Boolean,
|
|
14503
|
-
reflect: true
|
|
14504
|
-
},
|
|
14505
|
-
|
|
14506
|
-
/**
|
|
14507
|
-
* Sets the icon to use the warning style.
|
|
14508
|
-
*/
|
|
14509
|
-
warning: {
|
|
14510
|
-
type: Boolean,
|
|
13774
|
+
variant: {
|
|
13775
|
+
type: String,
|
|
14511
13776
|
reflect: true
|
|
14512
13777
|
}
|
|
14513
13778
|
};
|
|
@@ -14531,7 +13796,7 @@ class AuroIcon extends BaseIcon {
|
|
|
14531
13796
|
*
|
|
14532
13797
|
*/
|
|
14533
13798
|
static register(name = "auro-icon") {
|
|
14534
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
13799
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroIcon);
|
|
14535
13800
|
}
|
|
14536
13801
|
|
|
14537
13802
|
connectedCallback() {
|
|
@@ -14597,7 +13862,7 @@ class AuroIcon extends BaseIcon {
|
|
|
14597
13862
|
}
|
|
14598
13863
|
}
|
|
14599
13864
|
|
|
14600
|
-
var iconVersion = '
|
|
13865
|
+
var iconVersion = '8.0.1';
|
|
14601
13866
|
|
|
14602
13867
|
var checkmarkIcon = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"checkmark-sm__desc\" class=\"ico_squareLarge\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"checkmark-sm__desc\">a small check mark.</desc><path d=\"M8.461 11.84a.625.625 0 1 0-.922.844l2.504 2.738c.247.27.674.27.922 0l5.496-6a.625.625 0 1 0-.922-.844l-5.035 5.496z\"/></svg>"};
|
|
14603
13868
|
|
|
@@ -14622,7 +13887,7 @@ class AuroMenuOption extends r$1 {
|
|
|
14622
13887
|
/**
|
|
14623
13888
|
* Generate unique names for dependency components.
|
|
14624
13889
|
*/
|
|
14625
|
-
const versioning = new AuroDependencyVersioning$
|
|
13890
|
+
const versioning = new AuroDependencyVersioning$3();
|
|
14626
13891
|
this.iconTag = versioning.generateTag('auro-formkit-menuoption-icon', iconVersion, AuroIcon);
|
|
14627
13892
|
|
|
14628
13893
|
this.selected = false;
|
|
@@ -14637,7 +13902,7 @@ class AuroMenuOption extends r$1 {
|
|
|
14637
13902
|
/**
|
|
14638
13903
|
* @private
|
|
14639
13904
|
*/
|
|
14640
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
13905
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
14641
13906
|
}
|
|
14642
13907
|
|
|
14643
13908
|
static get properties() {
|
|
@@ -14681,7 +13946,7 @@ class AuroMenuOption extends r$1 {
|
|
|
14681
13946
|
*
|
|
14682
13947
|
*/
|
|
14683
13948
|
static register(name = "auro-menuoption") {
|
|
14684
|
-
AuroLibraryRuntimeUtils$
|
|
13949
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroMenuOption);
|
|
14685
13950
|
}
|
|
14686
13951
|
|
|
14687
13952
|
firstUpdated() {
|