@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
|
@@ -58,7 +58,7 @@ const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s$1=t=>({_$li
|
|
|
58
58
|
// See LICENSE in the project root for license information.
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
let AuroDependencyVersioning$
|
|
61
|
+
let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -101,7 +101,7 @@ let AuroDependencyVersioning$4 = class AuroDependencyVersioning {
|
|
|
101
101
|
|
|
102
102
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
103
103
|
|
|
104
|
-
let AuroLibraryRuntimeUtils$
|
|
104
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
105
105
|
|
|
106
106
|
/* eslint-disable jsdoc/require-param */
|
|
107
107
|
|
|
@@ -170,7 +170,7 @@ let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
|
|
|
170
170
|
|
|
171
171
|
let AuroFormValidation$1 = class AuroFormValidation {
|
|
172
172
|
constructor() {
|
|
173
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
173
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
/**
|
|
@@ -501,7 +501,7 @@ const t$1={ATTRIBUTE:1,CHILD:2},e$1=t=>(...e)=>({_$litDirective$:t,values:e});cl
|
|
|
501
501
|
|
|
502
502
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
503
503
|
|
|
504
|
-
let AuroLibraryRuntimeUtils$
|
|
504
|
+
let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
|
|
505
505
|
|
|
506
506
|
/* eslint-disable jsdoc/require-param */
|
|
507
507
|
|
|
@@ -2700,7 +2700,7 @@ class AuroFloatingUI {
|
|
|
2700
2700
|
// See LICENSE in the project root for license information.
|
|
2701
2701
|
|
|
2702
2702
|
|
|
2703
|
-
let AuroDependencyVersioning$
|
|
2703
|
+
let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
2704
2704
|
|
|
2705
2705
|
/**
|
|
2706
2706
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -2802,7 +2802,7 @@ const cacheFetch$3 = (uri, options = {}) => {
|
|
|
2802
2802
|
return _fetchMap$3.get(uri);
|
|
2803
2803
|
};
|
|
2804
2804
|
|
|
2805
|
-
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}
|
|
2805
|
+
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}`;
|
|
2806
2806
|
|
|
2807
2807
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2808
2808
|
// See LICENSE in the project root for license information.
|
|
@@ -2810,7 +2810,6 @@ var styleCss$3$2 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}
|
|
|
2810
2810
|
|
|
2811
2811
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
2812
2812
|
/**
|
|
2813
|
-
* @attr {Boolean} onDark - Set value for on-dark version of auro-icon
|
|
2814
2813
|
* @slot - Hidden from visibility, used for a11y if icon description is needed
|
|
2815
2814
|
*/
|
|
2816
2815
|
|
|
@@ -2825,6 +2824,10 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
|
2825
2824
|
static get properties() {
|
|
2826
2825
|
return {
|
|
2827
2826
|
...super.properties,
|
|
2827
|
+
|
|
2828
|
+
/**
|
|
2829
|
+
* Set value for on-dark version of auro-icon.
|
|
2830
|
+
*/
|
|
2828
2831
|
onDark: {
|
|
2829
2832
|
type: Boolean,
|
|
2830
2833
|
reflect: true
|
|
@@ -2883,81 +2886,11 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
|
2883
2886
|
}
|
|
2884
2887
|
};
|
|
2885
2888
|
|
|
2886
|
-
var tokensCss$2$2 = i$5`:host{--ds-auro-icon-color:var(--ds-color-
|
|
2887
|
-
|
|
2888
|
-
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)}`;
|
|
2889
|
-
|
|
2890
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
2891
|
-
// See LICENSE in the project root for license information.
|
|
2892
|
-
|
|
2893
|
-
// ---------------------------------------------------------------------
|
|
2894
|
-
|
|
2895
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
2896
|
-
|
|
2897
|
-
let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
|
|
2898
|
-
|
|
2899
|
-
/* eslint-disable jsdoc/require-param */
|
|
2900
|
-
|
|
2901
|
-
/**
|
|
2902
|
-
* This will register a new custom element with the browser.
|
|
2903
|
-
* @param {String} name - The name of the custom element.
|
|
2904
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
2905
|
-
* @returns {void}
|
|
2906
|
-
*/
|
|
2907
|
-
registerComponent(name, componentClass) {
|
|
2908
|
-
if (!customElements.get(name)) {
|
|
2909
|
-
customElements.define(name, class extends componentClass {});
|
|
2910
|
-
}
|
|
2911
|
-
}
|
|
2912
|
-
|
|
2913
|
-
/**
|
|
2914
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
2915
|
-
* @returns {void}
|
|
2916
|
-
*/
|
|
2917
|
-
closestElement(
|
|
2918
|
-
selector, // selector like in .closest()
|
|
2919
|
-
base = this, // extra functionality to skip a parent
|
|
2920
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
2921
|
-
!el || el === document || el === window
|
|
2922
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
2923
|
-
: found
|
|
2924
|
-
? found // found a selector INside this element
|
|
2925
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
2926
|
-
) {
|
|
2927
|
-
return __Closest(base);
|
|
2928
|
-
}
|
|
2929
|
-
/* eslint-enable jsdoc/require-param */
|
|
2930
|
-
|
|
2931
|
-
/**
|
|
2932
|
-
* 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.
|
|
2933
|
-
* @param {Object} elem - The element to check.
|
|
2934
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
2935
|
-
* @returns {void}
|
|
2936
|
-
*/
|
|
2937
|
-
handleComponentTagRename(elem, tagName) {
|
|
2938
|
-
const tag = tagName.toLowerCase();
|
|
2939
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
2940
|
-
|
|
2941
|
-
if (elemTag !== tag) {
|
|
2942
|
-
elem.setAttribute(tag, true);
|
|
2943
|
-
}
|
|
2944
|
-
}
|
|
2945
|
-
|
|
2946
|
-
/**
|
|
2947
|
-
* Validates if an element is a specific Auro component.
|
|
2948
|
-
* @param {Object} elem - The element to validate.
|
|
2949
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
2950
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
2951
|
-
*/
|
|
2952
|
-
elementMatch(elem, tagName) {
|
|
2953
|
-
const tag = tagName.toLowerCase();
|
|
2954
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
2889
|
+
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)}`;
|
|
2955
2890
|
|
|
2956
|
-
|
|
2957
|
-
}
|
|
2958
|
-
};
|
|
2891
|
+
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)}`;
|
|
2959
2892
|
|
|
2960
|
-
// Copyright (c)
|
|
2893
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2961
2894
|
// See LICENSE in the project root for license information.
|
|
2962
2895
|
|
|
2963
2896
|
|
|
@@ -2965,6 +2898,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
2965
2898
|
constructor() {
|
|
2966
2899
|
super();
|
|
2967
2900
|
|
|
2901
|
+
this.variant = undefined;
|
|
2968
2902
|
this.privateDefaults();
|
|
2969
2903
|
}
|
|
2970
2904
|
|
|
@@ -2974,20 +2908,6 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
2974
2908
|
* @returns {void}
|
|
2975
2909
|
*/
|
|
2976
2910
|
privateDefaults() {
|
|
2977
|
-
this.accent = false;
|
|
2978
|
-
this.customColor = false;
|
|
2979
|
-
this.customSvg = false;
|
|
2980
|
-
this.disabled = false;
|
|
2981
|
-
this.emphasis = false;
|
|
2982
|
-
this.error = false;
|
|
2983
|
-
this.info = false;
|
|
2984
|
-
this.label = false;
|
|
2985
|
-
this.primary = false;
|
|
2986
|
-
this.secondary = false;
|
|
2987
|
-
this.subtle = false;
|
|
2988
|
-
this.success = false;
|
|
2989
|
-
this.tertiary = false;
|
|
2990
|
-
this.warning = false;
|
|
2991
2911
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
2992
2912
|
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
|
|
2993
2913
|
}
|
|
@@ -2997,14 +2917,6 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
2997
2917
|
return {
|
|
2998
2918
|
...super.properties,
|
|
2999
2919
|
|
|
3000
|
-
/**
|
|
3001
|
-
* Sets the icon to use the accent style.
|
|
3002
|
-
*/
|
|
3003
|
-
accent: {
|
|
3004
|
-
type: Boolean,
|
|
3005
|
-
reflect: true
|
|
3006
|
-
},
|
|
3007
|
-
|
|
3008
2920
|
/**
|
|
3009
2921
|
* Set aria-hidden value. Default is `true`. Option is `false`.
|
|
3010
2922
|
*/
|
|
@@ -3035,38 +2947,6 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
3035
2947
|
type: Boolean
|
|
3036
2948
|
},
|
|
3037
2949
|
|
|
3038
|
-
/**
|
|
3039
|
-
* Sets the icon to use the disabled style.
|
|
3040
|
-
*/
|
|
3041
|
-
disabled: {
|
|
3042
|
-
type: Boolean,
|
|
3043
|
-
reflect: true
|
|
3044
|
-
},
|
|
3045
|
-
|
|
3046
|
-
/**
|
|
3047
|
-
* Sets the icon to use the emphasis style.
|
|
3048
|
-
*/
|
|
3049
|
-
emphasis: {
|
|
3050
|
-
type: Boolean,
|
|
3051
|
-
reflect: true
|
|
3052
|
-
},
|
|
3053
|
-
|
|
3054
|
-
/**
|
|
3055
|
-
* Sets the icon to use the error style.
|
|
3056
|
-
*/
|
|
3057
|
-
error: {
|
|
3058
|
-
type: Boolean,
|
|
3059
|
-
reflect: true
|
|
3060
|
-
},
|
|
3061
|
-
|
|
3062
|
-
/**
|
|
3063
|
-
* Sets the icon to use the info style.
|
|
3064
|
-
*/
|
|
3065
|
-
info: {
|
|
3066
|
-
type: Boolean,
|
|
3067
|
-
reflect: true
|
|
3068
|
-
},
|
|
3069
|
-
|
|
3070
2950
|
/**
|
|
3071
2951
|
* Exposes content in slot as icon label.
|
|
3072
2952
|
*/
|
|
@@ -3084,50 +2964,10 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
3084
2964
|
},
|
|
3085
2965
|
|
|
3086
2966
|
/**
|
|
3087
|
-
*
|
|
3088
|
-
*/
|
|
3089
|
-
primary: {
|
|
3090
|
-
type: Boolean,
|
|
3091
|
-
reflect: true
|
|
3092
|
-
},
|
|
3093
|
-
|
|
3094
|
-
/**
|
|
3095
|
-
* Sets the icon to use the secondary style.
|
|
3096
|
-
*/
|
|
3097
|
-
secondary: {
|
|
3098
|
-
type: Boolean,
|
|
3099
|
-
reflect: true
|
|
3100
|
-
},
|
|
3101
|
-
|
|
3102
|
-
/**
|
|
3103
|
-
* Sets the icon to use the subtle style.
|
|
3104
|
-
*/
|
|
3105
|
-
subtle: {
|
|
3106
|
-
type: Boolean,
|
|
3107
|
-
reflect: true
|
|
3108
|
-
},
|
|
3109
|
-
|
|
3110
|
-
/**
|
|
3111
|
-
* Sets the icon to use the success style.
|
|
3112
|
-
*/
|
|
3113
|
-
success: {
|
|
3114
|
-
type: Boolean,
|
|
3115
|
-
reflect: true
|
|
3116
|
-
},
|
|
3117
|
-
|
|
3118
|
-
/**
|
|
3119
|
-
* Sets the icon to use the tertiary style.
|
|
3120
|
-
*/
|
|
3121
|
-
tertiary: {
|
|
3122
|
-
type: Boolean,
|
|
3123
|
-
reflect: true
|
|
3124
|
-
},
|
|
3125
|
-
|
|
3126
|
-
/**
|
|
3127
|
-
* Sets the icon to use the warning style.
|
|
2967
|
+
* 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`.
|
|
3128
2968
|
*/
|
|
3129
|
-
|
|
3130
|
-
type:
|
|
2969
|
+
variant: {
|
|
2970
|
+
type: String,
|
|
3131
2971
|
reflect: true
|
|
3132
2972
|
}
|
|
3133
2973
|
};
|
|
@@ -3223,7 +3063,7 @@ var styleCss$2$3 = i$5`:host{position:absolute;z-index:var(--depth-tooltip, 400)
|
|
|
3223
3063
|
|
|
3224
3064
|
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)}`;
|
|
3225
3065
|
|
|
3226
|
-
var tokensCss$1$2 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-
|
|
3066
|
+
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)}`;
|
|
3227
3067
|
|
|
3228
3068
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3229
3069
|
// See LICENSE in the project root for license information.
|
|
@@ -3253,7 +3093,7 @@ class AuroDropdownBib extends r$1 {
|
|
|
3253
3093
|
*/
|
|
3254
3094
|
this._mobileBreakpointValue = undefined;
|
|
3255
3095
|
|
|
3256
|
-
AuroLibraryRuntimeUtils$
|
|
3096
|
+
AuroLibraryRuntimeUtils$1$2.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
3257
3097
|
}
|
|
3258
3098
|
|
|
3259
3099
|
static get styles() {
|
|
@@ -3346,13 +3186,13 @@ var dropdownVersion$1 = '3.0.0';
|
|
|
3346
3186
|
|
|
3347
3187
|
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)}`;
|
|
3348
3188
|
|
|
3349
|
-
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-
|
|
3189
|
+
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))}`;
|
|
3350
3190
|
|
|
3351
|
-
var colorCss$6 = i$5`:host([error]){--ds-auro-helptext-color: var(--ds-color-
|
|
3191
|
+
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)}`;
|
|
3352
3192
|
|
|
3353
3193
|
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}`;
|
|
3354
3194
|
|
|
3355
|
-
var tokensCss$6 = i$5`:host{--ds-auro-helptext-color: var(--ds-color-
|
|
3195
|
+
var tokensCss$6 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
3356
3196
|
|
|
3357
3197
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
3358
3198
|
// See LICENSE in the project root for license information.
|
|
@@ -3361,7 +3201,7 @@ var tokensCss$6 = i$5`:host{--ds-auro-helptext-color: var(--ds-color-text-tertia
|
|
|
3361
3201
|
|
|
3362
3202
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
3363
3203
|
|
|
3364
|
-
let AuroLibraryRuntimeUtils$
|
|
3204
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
3365
3205
|
|
|
3366
3206
|
/* eslint-disable jsdoc/require-param */
|
|
3367
3207
|
|
|
@@ -3439,9 +3279,10 @@ let AuroHelpText$1 = class AuroHelpText extends r$1 {
|
|
|
3439
3279
|
super();
|
|
3440
3280
|
|
|
3441
3281
|
this.error = false;
|
|
3282
|
+
this.onDark = false;
|
|
3442
3283
|
this.hasTextContent = false;
|
|
3443
3284
|
|
|
3444
|
-
AuroLibraryRuntimeUtils$
|
|
3285
|
+
AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
3445
3286
|
}
|
|
3446
3287
|
|
|
3447
3288
|
static get styles() {
|
|
@@ -3477,6 +3318,14 @@ let AuroHelpText$1 = class AuroHelpText extends r$1 {
|
|
|
3477
3318
|
type: Boolean,
|
|
3478
3319
|
reflect: true,
|
|
3479
3320
|
},
|
|
3321
|
+
|
|
3322
|
+
/**
|
|
3323
|
+
* If declared, will apply onDark styles.
|
|
3324
|
+
*/
|
|
3325
|
+
onDark: {
|
|
3326
|
+
type: Boolean,
|
|
3327
|
+
reflect: true
|
|
3328
|
+
}
|
|
3480
3329
|
};
|
|
3481
3330
|
}
|
|
3482
3331
|
|
|
@@ -3489,7 +3338,7 @@ let AuroHelpText$1 = class AuroHelpText extends r$1 {
|
|
|
3489
3338
|
*
|
|
3490
3339
|
*/
|
|
3491
3340
|
static register(name = "auro-helptext") {
|
|
3492
|
-
AuroLibraryRuntimeUtils$
|
|
3341
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHelpText);
|
|
3493
3342
|
}
|
|
3494
3343
|
|
|
3495
3344
|
updated() {
|
|
@@ -3608,6 +3457,7 @@ class AuroDropdown extends r$1 {
|
|
|
3608
3457
|
this.tabIndex = 0;
|
|
3609
3458
|
this.noToggle = false;
|
|
3610
3459
|
this.labeled = true;
|
|
3460
|
+
this.onDark = false;
|
|
3611
3461
|
|
|
3612
3462
|
// floaterConfig
|
|
3613
3463
|
this.placement = 'bottom-start';
|
|
@@ -3628,7 +3478,7 @@ class AuroDropdown extends r$1 {
|
|
|
3628
3478
|
/**
|
|
3629
3479
|
* @private
|
|
3630
3480
|
*/
|
|
3631
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
3481
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
|
|
3632
3482
|
|
|
3633
3483
|
/**
|
|
3634
3484
|
* @private
|
|
@@ -3638,7 +3488,7 @@ class AuroDropdown extends r$1 {
|
|
|
3638
3488
|
/**
|
|
3639
3489
|
* Generate unique names for dependency components.
|
|
3640
3490
|
*/
|
|
3641
|
-
const versioning = new AuroDependencyVersioning$
|
|
3491
|
+
const versioning = new AuroDependencyVersioning$2();
|
|
3642
3492
|
|
|
3643
3493
|
/**
|
|
3644
3494
|
* @private
|
|
@@ -3864,6 +3714,14 @@ class AuroDropdown extends r$1 {
|
|
|
3864
3714
|
reflect: true
|
|
3865
3715
|
},
|
|
3866
3716
|
|
|
3717
|
+
/**
|
|
3718
|
+
* If declared, onDark styles will be applied.
|
|
3719
|
+
*/
|
|
3720
|
+
onDark: {
|
|
3721
|
+
type: Boolean,
|
|
3722
|
+
reflect: true
|
|
3723
|
+
},
|
|
3724
|
+
|
|
3867
3725
|
onSlotChange: {
|
|
3868
3726
|
type: Function,
|
|
3869
3727
|
reflect: false
|
|
@@ -3917,7 +3775,7 @@ class AuroDropdown extends r$1 {
|
|
|
3917
3775
|
*
|
|
3918
3776
|
*/
|
|
3919
3777
|
static register(name = "auro-dropdown") {
|
|
3920
|
-
AuroLibraryRuntimeUtils$
|
|
3778
|
+
AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroDropdown);
|
|
3921
3779
|
}
|
|
3922
3780
|
|
|
3923
3781
|
connectedCallback() {
|
|
@@ -4234,14 +4092,14 @@ class AuroDropdown extends r$1 {
|
|
|
4234
4092
|
<${this.iconTag}
|
|
4235
4093
|
category="interface"
|
|
4236
4094
|
name="chevron-down"
|
|
4237
|
-
|
|
4238
|
-
|
|
4095
|
+
?onDark="${this.onDark}"
|
|
4096
|
+
variant="${this.disabled ? 'disabled' : 'muted'}">
|
|
4239
4097
|
>
|
|
4240
4098
|
</${this.iconTag}>
|
|
4241
4099
|
</div>
|
|
4242
4100
|
` : undefined }
|
|
4243
4101
|
</div>
|
|
4244
|
-
<${this.helpTextTag} part="helpText" ?error="${this.error}">
|
|
4102
|
+
<${this.helpTextTag} part="helpText" ?onDark=${this.onDark} ?error="${this.error}">
|
|
4245
4103
|
<slot name="helpText"></slot>
|
|
4246
4104
|
</${this.helpTextTag}>
|
|
4247
4105
|
<div class="slotContent">
|
|
@@ -4398,11 +4256,11 @@ function stopNotifyingOnLangChange(element) {
|
|
|
4398
4256
|
watchedItems.delete(element);
|
|
4399
4257
|
}
|
|
4400
4258
|
|
|
4401
|
-
var styleCss$4$1 = i$5
|
|
4259
|
+
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)}`;
|
|
4402
4260
|
|
|
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-
|
|
4261
|
+
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))}`;
|
|
4404
4262
|
|
|
4405
|
-
var tokensCss$4 = i$5`:host{--ds-auro-input-border-color: var(--ds-color-border-
|
|
4263
|
+
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)}`;
|
|
4406
4264
|
|
|
4407
4265
|
/** Checks if value is string */
|
|
4408
4266
|
function isString(str) {
|
|
@@ -8253,7 +8111,7 @@ class AuroInputUtilities {
|
|
|
8253
8111
|
|
|
8254
8112
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
8255
8113
|
|
|
8256
|
-
let AuroLibraryRuntimeUtils$
|
|
8114
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
8257
8115
|
|
|
8258
8116
|
/* eslint-disable jsdoc/require-param */
|
|
8259
8117
|
|
|
@@ -8322,7 +8180,7 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
|
8322
8180
|
|
|
8323
8181
|
class AuroFormValidation {
|
|
8324
8182
|
constructor() {
|
|
8325
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
8183
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
8326
8184
|
}
|
|
8327
8185
|
|
|
8328
8186
|
/**
|
|
@@ -8662,6 +8520,7 @@ class BaseInput extends r$1 {
|
|
|
8662
8520
|
this.min = undefined;
|
|
8663
8521
|
this.maxLength = undefined;
|
|
8664
8522
|
this.minLength = undefined;
|
|
8523
|
+
this.onDark = false;
|
|
8665
8524
|
this.activeLabel = false;
|
|
8666
8525
|
this.setCustomValidityForType = undefined;
|
|
8667
8526
|
}
|
|
@@ -8763,7 +8622,8 @@ class BaseInput extends r$1 {
|
|
|
8763
8622
|
* If set, disables the input.
|
|
8764
8623
|
*/
|
|
8765
8624
|
disabled: {
|
|
8766
|
-
type: Boolean
|
|
8625
|
+
type: Boolean,
|
|
8626
|
+
reflect: true
|
|
8767
8627
|
},
|
|
8768
8628
|
|
|
8769
8629
|
/**
|
|
@@ -8793,7 +8653,8 @@ class BaseInput extends r$1 {
|
|
|
8793
8653
|
* 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.
|
|
8794
8654
|
*/
|
|
8795
8655
|
icon: {
|
|
8796
|
-
type: Boolean
|
|
8656
|
+
type: Boolean,
|
|
8657
|
+
reflect: true
|
|
8797
8658
|
},
|
|
8798
8659
|
|
|
8799
8660
|
/**
|
|
@@ -8849,7 +8710,16 @@ class BaseInput extends r$1 {
|
|
|
8849
8710
|
* If set, disables auto-validation on blur.
|
|
8850
8711
|
*/
|
|
8851
8712
|
noValidate: {
|
|
8852
|
-
type: Boolean
|
|
8713
|
+
type: Boolean,
|
|
8714
|
+
reflect: true
|
|
8715
|
+
},
|
|
8716
|
+
|
|
8717
|
+
/**
|
|
8718
|
+
* Sets onDark styles on input.
|
|
8719
|
+
*/
|
|
8720
|
+
onDark: {
|
|
8721
|
+
type: Boolean,
|
|
8722
|
+
reflect: true
|
|
8853
8723
|
},
|
|
8854
8724
|
|
|
8855
8725
|
/**
|
|
@@ -8871,14 +8741,16 @@ class BaseInput extends r$1 {
|
|
|
8871
8741
|
* Makes the input read-only, but can be set programmatically.
|
|
8872
8742
|
*/
|
|
8873
8743
|
readonly: {
|
|
8874
|
-
type: Boolean
|
|
8744
|
+
type: Boolean,
|
|
8745
|
+
reflect: true
|
|
8875
8746
|
},
|
|
8876
8747
|
|
|
8877
8748
|
/**
|
|
8878
8749
|
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
8879
8750
|
*/
|
|
8880
8751
|
required: {
|
|
8881
|
-
type: Boolean
|
|
8752
|
+
type: Boolean,
|
|
8753
|
+
reflect: true
|
|
8882
8754
|
},
|
|
8883
8755
|
|
|
8884
8756
|
/**
|
|
@@ -9688,7 +9560,7 @@ const cacheFetch$2 = (uri, options = {}) => {
|
|
|
9688
9560
|
return _fetchMap$2.get(uri);
|
|
9689
9561
|
};
|
|
9690
9562
|
|
|
9691
|
-
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}
|
|
9563
|
+
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}`;
|
|
9692
9564
|
|
|
9693
9565
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9694
9566
|
// See LICENSE in the project root for license information.
|
|
@@ -9696,7 +9568,6 @@ var styleCss$3$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}
|
|
|
9696
9568
|
|
|
9697
9569
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
9698
9570
|
/**
|
|
9699
|
-
* @attr {Boolean} onDark - Set value for on-dark version of auro-icon
|
|
9700
9571
|
* @slot - Hidden from visibility, used for a11y if icon description is needed
|
|
9701
9572
|
*/
|
|
9702
9573
|
|
|
@@ -9711,6 +9582,10 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
9711
9582
|
static get properties() {
|
|
9712
9583
|
return {
|
|
9713
9584
|
...super.properties,
|
|
9585
|
+
|
|
9586
|
+
/**
|
|
9587
|
+
* Set value for on-dark version of auro-icon.
|
|
9588
|
+
*/
|
|
9714
9589
|
onDark: {
|
|
9715
9590
|
type: Boolean,
|
|
9716
9591
|
reflect: true
|
|
@@ -9769,127 +9644,36 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
9769
9644
|
}
|
|
9770
9645
|
};
|
|
9771
9646
|
|
|
9772
|
-
var tokensCss$3 = i$5`:host{--ds-auro-icon-color:var(--ds-color-
|
|
9647
|
+
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)}`;
|
|
9773
9648
|
|
|
9774
|
-
var colorCss$3$1 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[
|
|
9649
|
+
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)}`;
|
|
9775
9650
|
|
|
9776
|
-
// Copyright (c) Alaska
|
|
9651
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9777
9652
|
// See LICENSE in the project root for license information.
|
|
9778
9653
|
|
|
9779
|
-
// ---------------------------------------------------------------------
|
|
9780
|
-
|
|
9781
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
9782
|
-
|
|
9783
|
-
let AuroLibraryRuntimeUtils$3$1 = class AuroLibraryRuntimeUtils {
|
|
9784
9654
|
|
|
9785
|
-
|
|
9655
|
+
let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
9656
|
+
constructor() {
|
|
9657
|
+
super();
|
|
9786
9658
|
|
|
9787
|
-
|
|
9788
|
-
|
|
9789
|
-
* @param {String} name - The name of the custom element.
|
|
9790
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
9791
|
-
* @returns {void}
|
|
9792
|
-
*/
|
|
9793
|
-
registerComponent(name, componentClass) {
|
|
9794
|
-
if (!customElements.get(name)) {
|
|
9795
|
-
customElements.define(name, class extends componentClass {});
|
|
9796
|
-
}
|
|
9659
|
+
this.variant = undefined;
|
|
9660
|
+
this.privateDefaults();
|
|
9797
9661
|
}
|
|
9798
9662
|
|
|
9799
9663
|
/**
|
|
9800
|
-
*
|
|
9664
|
+
* Internal Defaults.
|
|
9665
|
+
* @private
|
|
9801
9666
|
* @returns {void}
|
|
9802
9667
|
*/
|
|
9803
|
-
|
|
9804
|
-
|
|
9805
|
-
|
|
9806
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
9807
|
-
!el || el === document || el === window
|
|
9808
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
9809
|
-
: found
|
|
9810
|
-
? found // found a selector INside this element
|
|
9811
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
9812
|
-
) {
|
|
9813
|
-
return __Closest(base);
|
|
9668
|
+
privateDefaults() {
|
|
9669
|
+
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
9670
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
9814
9671
|
}
|
|
9815
|
-
/* eslint-enable jsdoc/require-param */
|
|
9816
|
-
|
|
9817
|
-
/**
|
|
9818
|
-
* 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.
|
|
9819
|
-
* @param {Object} elem - The element to check.
|
|
9820
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
9821
|
-
* @returns {void}
|
|
9822
|
-
*/
|
|
9823
|
-
handleComponentTagRename(elem, tagName) {
|
|
9824
|
-
const tag = tagName.toLowerCase();
|
|
9825
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
9826
9672
|
|
|
9827
|
-
|
|
9828
|
-
|
|
9829
|
-
|
|
9830
|
-
|
|
9831
|
-
|
|
9832
|
-
/**
|
|
9833
|
-
* Validates if an element is a specific Auro component.
|
|
9834
|
-
* @param {Object} elem - The element to validate.
|
|
9835
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
9836
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
9837
|
-
*/
|
|
9838
|
-
elementMatch(elem, tagName) {
|
|
9839
|
-
const tag = tagName.toLowerCase();
|
|
9840
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
9841
|
-
|
|
9842
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
9843
|
-
}
|
|
9844
|
-
};
|
|
9845
|
-
|
|
9846
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9847
|
-
// See LICENSE in the project root for license information.
|
|
9848
|
-
|
|
9849
|
-
|
|
9850
|
-
let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
9851
|
-
constructor() {
|
|
9852
|
-
super();
|
|
9853
|
-
|
|
9854
|
-
this.privateDefaults();
|
|
9855
|
-
}
|
|
9856
|
-
|
|
9857
|
-
/**
|
|
9858
|
-
* Internal Defaults.
|
|
9859
|
-
* @private
|
|
9860
|
-
* @returns {void}
|
|
9861
|
-
*/
|
|
9862
|
-
privateDefaults() {
|
|
9863
|
-
this.accent = false;
|
|
9864
|
-
this.customColor = false;
|
|
9865
|
-
this.customSvg = false;
|
|
9866
|
-
this.disabled = false;
|
|
9867
|
-
this.emphasis = false;
|
|
9868
|
-
this.error = false;
|
|
9869
|
-
this.info = false;
|
|
9870
|
-
this.label = false;
|
|
9871
|
-
this.primary = false;
|
|
9872
|
-
this.secondary = false;
|
|
9873
|
-
this.subtle = false;
|
|
9874
|
-
this.success = false;
|
|
9875
|
-
this.tertiary = false;
|
|
9876
|
-
this.warning = false;
|
|
9877
|
-
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
9878
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$3$1();
|
|
9879
|
-
}
|
|
9880
|
-
|
|
9881
|
-
// function to define props used within the scope of this component
|
|
9882
|
-
static get properties() {
|
|
9883
|
-
return {
|
|
9884
|
-
...super.properties,
|
|
9885
|
-
|
|
9886
|
-
/**
|
|
9887
|
-
* Sets the icon to use the accent style.
|
|
9888
|
-
*/
|
|
9889
|
-
accent: {
|
|
9890
|
-
type: Boolean,
|
|
9891
|
-
reflect: true
|
|
9892
|
-
},
|
|
9673
|
+
// function to define props used within the scope of this component
|
|
9674
|
+
static get properties() {
|
|
9675
|
+
return {
|
|
9676
|
+
...super.properties,
|
|
9893
9677
|
|
|
9894
9678
|
/**
|
|
9895
9679
|
* Set aria-hidden value. Default is `true`. Option is `false`.
|
|
@@ -9921,38 +9705,6 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
9921
9705
|
type: Boolean
|
|
9922
9706
|
},
|
|
9923
9707
|
|
|
9924
|
-
/**
|
|
9925
|
-
* Sets the icon to use the disabled style.
|
|
9926
|
-
*/
|
|
9927
|
-
disabled: {
|
|
9928
|
-
type: Boolean,
|
|
9929
|
-
reflect: true
|
|
9930
|
-
},
|
|
9931
|
-
|
|
9932
|
-
/**
|
|
9933
|
-
* Sets the icon to use the emphasis style.
|
|
9934
|
-
*/
|
|
9935
|
-
emphasis: {
|
|
9936
|
-
type: Boolean,
|
|
9937
|
-
reflect: true
|
|
9938
|
-
},
|
|
9939
|
-
|
|
9940
|
-
/**
|
|
9941
|
-
* Sets the icon to use the error style.
|
|
9942
|
-
*/
|
|
9943
|
-
error: {
|
|
9944
|
-
type: Boolean,
|
|
9945
|
-
reflect: true
|
|
9946
|
-
},
|
|
9947
|
-
|
|
9948
|
-
/**
|
|
9949
|
-
* Sets the icon to use the info style.
|
|
9950
|
-
*/
|
|
9951
|
-
info: {
|
|
9952
|
-
type: Boolean,
|
|
9953
|
-
reflect: true
|
|
9954
|
-
},
|
|
9955
|
-
|
|
9956
9708
|
/**
|
|
9957
9709
|
* Exposes content in slot as icon label.
|
|
9958
9710
|
*/
|
|
@@ -9970,50 +9722,10 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
9970
9722
|
},
|
|
9971
9723
|
|
|
9972
9724
|
/**
|
|
9973
|
-
*
|
|
9725
|
+
* 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`.
|
|
9974
9726
|
*/
|
|
9975
|
-
|
|
9976
|
-
type:
|
|
9977
|
-
reflect: true
|
|
9978
|
-
},
|
|
9979
|
-
|
|
9980
|
-
/**
|
|
9981
|
-
* Sets the icon to use the secondary style.
|
|
9982
|
-
*/
|
|
9983
|
-
secondary: {
|
|
9984
|
-
type: Boolean,
|
|
9985
|
-
reflect: true
|
|
9986
|
-
},
|
|
9987
|
-
|
|
9988
|
-
/**
|
|
9989
|
-
* Sets the icon to use the subtle style.
|
|
9990
|
-
*/
|
|
9991
|
-
subtle: {
|
|
9992
|
-
type: Boolean,
|
|
9993
|
-
reflect: true
|
|
9994
|
-
},
|
|
9995
|
-
|
|
9996
|
-
/**
|
|
9997
|
-
* Sets the icon to use the success style.
|
|
9998
|
-
*/
|
|
9999
|
-
success: {
|
|
10000
|
-
type: Boolean,
|
|
10001
|
-
reflect: true
|
|
10002
|
-
},
|
|
10003
|
-
|
|
10004
|
-
/**
|
|
10005
|
-
* Sets the icon to use the tertiary style.
|
|
10006
|
-
*/
|
|
10007
|
-
tertiary: {
|
|
10008
|
-
type: Boolean,
|
|
10009
|
-
reflect: true
|
|
10010
|
-
},
|
|
10011
|
-
|
|
10012
|
-
/**
|
|
10013
|
-
* Sets the icon to use the warning style.
|
|
10014
|
-
*/
|
|
10015
|
-
warning: {
|
|
10016
|
-
type: Boolean,
|
|
9727
|
+
variant: {
|
|
9728
|
+
type: String,
|
|
10017
9729
|
reflect: true
|
|
10018
9730
|
}
|
|
10019
9731
|
};
|
|
@@ -10037,7 +9749,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
10037
9749
|
*
|
|
10038
9750
|
*/
|
|
10039
9751
|
static register(name = "auro-icon") {
|
|
10040
|
-
AuroLibraryRuntimeUtils$
|
|
9752
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
|
|
10041
9753
|
}
|
|
10042
9754
|
|
|
10043
9755
|
connectedCallback() {
|
|
@@ -10103,197 +9815,17 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
10103
9815
|
}
|
|
10104
9816
|
};
|
|
10105
9817
|
|
|
10106
|
-
var iconVersion$2 = '
|
|
10107
|
-
|
|
10108
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10109
|
-
// See LICENSE in the project root for license information.
|
|
10110
|
-
|
|
10111
|
-
|
|
10112
|
-
let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
10113
|
-
|
|
10114
|
-
/**
|
|
10115
|
-
* Generates a unique string to be used for child auro element naming.
|
|
10116
|
-
* @private
|
|
10117
|
-
* @param {string} baseName - Defines the first part of the unique element name.
|
|
10118
|
-
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
10119
|
-
* @returns {string} - Unique string to be used for naming.
|
|
10120
|
-
*/
|
|
10121
|
-
generateElementName(baseName, version) {
|
|
10122
|
-
let result = baseName;
|
|
10123
|
-
|
|
10124
|
-
result += '-';
|
|
10125
|
-
result += version.replace(/[.]/g, '_');
|
|
10126
|
-
|
|
10127
|
-
return result;
|
|
10128
|
-
}
|
|
10129
|
-
|
|
10130
|
-
/**
|
|
10131
|
-
* Generates a unique string to be used for child auro element naming.
|
|
10132
|
-
* @param {string} baseName - Defines the first part of the unique element name.
|
|
10133
|
-
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
10134
|
-
* @returns {string} - Unique string to be used for naming.
|
|
10135
|
-
*/
|
|
10136
|
-
generateTag(baseName, version, tagClass) {
|
|
10137
|
-
const elementName = this.generateElementName(baseName, version);
|
|
10138
|
-
const tag = i$1`${s$1(elementName)}`;
|
|
10139
|
-
|
|
10140
|
-
if (!customElements.get(elementName)) {
|
|
10141
|
-
customElements.define(elementName, class extends tagClass {});
|
|
10142
|
-
}
|
|
10143
|
-
|
|
10144
|
-
return tag;
|
|
10145
|
-
}
|
|
10146
|
-
};
|
|
10147
|
-
|
|
10148
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10149
|
-
// See LICENSE in the project root for license information.
|
|
10150
|
-
|
|
10151
|
-
// ---------------------------------------------------------------------
|
|
10152
|
-
|
|
10153
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10154
|
-
|
|
10155
|
-
let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
|
|
10156
|
-
|
|
10157
|
-
/* eslint-disable jsdoc/require-param */
|
|
10158
|
-
|
|
10159
|
-
/**
|
|
10160
|
-
* This will register a new custom element with the browser.
|
|
10161
|
-
* @param {String} name - The name of the custom element.
|
|
10162
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
10163
|
-
* @returns {void}
|
|
10164
|
-
*/
|
|
10165
|
-
registerComponent(name, componentClass) {
|
|
10166
|
-
if (!customElements.get(name)) {
|
|
10167
|
-
customElements.define(name, class extends componentClass {});
|
|
10168
|
-
}
|
|
10169
|
-
}
|
|
10170
|
-
|
|
10171
|
-
/**
|
|
10172
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
10173
|
-
* @returns {void}
|
|
10174
|
-
*/
|
|
10175
|
-
closestElement(
|
|
10176
|
-
selector, // selector like in .closest()
|
|
10177
|
-
base = this, // extra functionality to skip a parent
|
|
10178
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
10179
|
-
!el || el === document || el === window
|
|
10180
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
10181
|
-
: found
|
|
10182
|
-
? found // found a selector INside this element
|
|
10183
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
10184
|
-
) {
|
|
10185
|
-
return __Closest(base);
|
|
10186
|
-
}
|
|
10187
|
-
/* eslint-enable jsdoc/require-param */
|
|
10188
|
-
|
|
10189
|
-
/**
|
|
10190
|
-
* 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.
|
|
10191
|
-
* @param {Object} elem - The element to check.
|
|
10192
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
10193
|
-
* @returns {void}
|
|
10194
|
-
*/
|
|
10195
|
-
handleComponentTagRename(elem, tagName) {
|
|
10196
|
-
const tag = tagName.toLowerCase();
|
|
10197
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
10198
|
-
|
|
10199
|
-
if (elemTag !== tag) {
|
|
10200
|
-
elem.setAttribute(tag, true);
|
|
10201
|
-
}
|
|
10202
|
-
}
|
|
10203
|
-
|
|
10204
|
-
/**
|
|
10205
|
-
* Validates if an element is a specific Auro component.
|
|
10206
|
-
* @param {Object} elem - The element to validate.
|
|
10207
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
10208
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
10209
|
-
*/
|
|
10210
|
-
elementMatch(elem, tagName) {
|
|
10211
|
-
const tag = tagName.toLowerCase();
|
|
10212
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
10213
|
-
|
|
10214
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
10215
|
-
}
|
|
10216
|
-
};
|
|
10217
|
-
|
|
10218
|
-
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}`;
|
|
10219
|
-
|
|
10220
|
-
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}`;
|
|
9818
|
+
var iconVersion$2 = '8.0.1';
|
|
10221
9819
|
|
|
10222
|
-
var
|
|
9820
|
+
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}`;
|
|
10223
9821
|
|
|
10224
|
-
|
|
10225
|
-
// See LICENSE in the project root for license information.
|
|
10226
|
-
|
|
10227
|
-
// ---------------------------------------------------------------------
|
|
10228
|
-
|
|
10229
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10230
|
-
|
|
10231
|
-
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
10232
|
-
|
|
10233
|
-
/* eslint-disable jsdoc/require-param */
|
|
10234
|
-
|
|
10235
|
-
/**
|
|
10236
|
-
* This will register a new custom element with the browser.
|
|
10237
|
-
* @param {String} name - The name of the custom element.
|
|
10238
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
10239
|
-
* @returns {void}
|
|
10240
|
-
*/
|
|
10241
|
-
registerComponent(name, componentClass) {
|
|
10242
|
-
if (!customElements.get(name)) {
|
|
10243
|
-
customElements.define(name, class extends componentClass {});
|
|
10244
|
-
}
|
|
10245
|
-
}
|
|
9822
|
+
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}`;
|
|
10246
9823
|
|
|
10247
|
-
|
|
10248
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
10249
|
-
* @returns {void}
|
|
10250
|
-
*/
|
|
10251
|
-
closestElement(
|
|
10252
|
-
selector, // selector like in .closest()
|
|
10253
|
-
base = this, // extra functionality to skip a parent
|
|
10254
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
10255
|
-
!el || el === document || el === window
|
|
10256
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
10257
|
-
: found
|
|
10258
|
-
? found // found a selector INside this element
|
|
10259
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
10260
|
-
) {
|
|
10261
|
-
return __Closest(base);
|
|
10262
|
-
}
|
|
10263
|
-
/* eslint-enable jsdoc/require-param */
|
|
10264
|
-
|
|
10265
|
-
/**
|
|
10266
|
-
* 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.
|
|
10267
|
-
* @param {Object} elem - The element to check.
|
|
10268
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
10269
|
-
* @returns {void}
|
|
10270
|
-
*/
|
|
10271
|
-
handleComponentTagRename(elem, tagName) {
|
|
10272
|
-
const tag = tagName.toLowerCase();
|
|
10273
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
10274
|
-
|
|
10275
|
-
if (elemTag !== tag) {
|
|
10276
|
-
elem.setAttribute(tag, true);
|
|
10277
|
-
}
|
|
10278
|
-
}
|
|
10279
|
-
|
|
10280
|
-
/**
|
|
10281
|
-
* Validates if an element is a specific Auro component.
|
|
10282
|
-
* @param {Object} elem - The element to validate.
|
|
10283
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
10284
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
10285
|
-
*/
|
|
10286
|
-
elementMatch(elem, tagName) {
|
|
10287
|
-
const tag = tagName.toLowerCase();
|
|
10288
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
10289
|
-
|
|
10290
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
10291
|
-
}
|
|
10292
|
-
};
|
|
9824
|
+
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}`;
|
|
10293
9825
|
|
|
10294
9826
|
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}}`;
|
|
10295
9827
|
|
|
10296
|
-
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-
|
|
9828
|
+
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}`;
|
|
10297
9829
|
|
|
10298
9830
|
var tokensCss$1$1 = i$5`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
|
|
10299
9831
|
|
|
@@ -10301,25 +9833,6 @@ var tokensCss$1$1 = i$5`:host{--ds-auro-loader-background-color:currentcolor;--d
|
|
|
10301
9833
|
// See LICENSE in the project root for license information.
|
|
10302
9834
|
|
|
10303
9835
|
|
|
10304
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
10305
|
-
/**
|
|
10306
|
-
* The auro-loader element is an easy to use animated loader component.
|
|
10307
|
-
*
|
|
10308
|
-
* @attr {Boolean} pulse - sets loader type
|
|
10309
|
-
* @attr {Boolean} ringworm - sets loader type
|
|
10310
|
-
* @attr {Boolean} laser - sets loader type
|
|
10311
|
-
* @attr {Boolean} orbit - sets loader type
|
|
10312
|
-
* @attr {Boolean} white - sets color of loader to white
|
|
10313
|
-
* @attr {Boolean} ondark - sets color of loader to auro-color-ui-default-on-dark
|
|
10314
|
-
* @attr {Boolean} onlight - sets color of loader to auro-color-ui-default-on-light
|
|
10315
|
-
* @attr {Boolean} xs - sets size to extra small
|
|
10316
|
-
* @attr {Boolean} sm - sets size to small
|
|
10317
|
-
* @attr {Boolean} md - sets size to medium
|
|
10318
|
-
* @attr {Boolean} lg - sets size to large
|
|
10319
|
-
* @csspart element - apply style to adjust speed of animation
|
|
10320
|
-
*/
|
|
10321
|
-
|
|
10322
|
-
// build the component class
|
|
10323
9836
|
class AuroLoader extends r$1 {
|
|
10324
9837
|
constructor() {
|
|
10325
9838
|
super();
|
|
@@ -10353,19 +9866,35 @@ class AuroLoader extends r$1 {
|
|
|
10353
9866
|
// function to define props used within the scope of this component
|
|
10354
9867
|
static get properties() {
|
|
10355
9868
|
return {
|
|
10356
|
-
|
|
9869
|
+
|
|
9870
|
+
/**
|
|
9871
|
+
* Sets loader to laser type.
|
|
9872
|
+
*/
|
|
9873
|
+
laser: {
|
|
10357
9874
|
type: Boolean,
|
|
10358
9875
|
reflect: true
|
|
10359
9876
|
},
|
|
9877
|
+
|
|
9878
|
+
/**
|
|
9879
|
+
* Sets loader to orbit type.
|
|
9880
|
+
*/
|
|
10360
9881
|
orbit: {
|
|
10361
9882
|
type: Boolean,
|
|
10362
9883
|
reflect: true
|
|
10363
9884
|
},
|
|
10364
|
-
|
|
9885
|
+
|
|
9886
|
+
/**
|
|
9887
|
+
* Sets loader to pulse type.
|
|
9888
|
+
*/
|
|
9889
|
+
pulse: {
|
|
10365
9890
|
type: Boolean,
|
|
10366
9891
|
reflect: true
|
|
10367
9892
|
},
|
|
10368
|
-
|
|
9893
|
+
|
|
9894
|
+
/**
|
|
9895
|
+
* Sets loader to ringworm type.
|
|
9896
|
+
*/
|
|
9897
|
+
ringworm: {
|
|
10369
9898
|
type: Boolean,
|
|
10370
9899
|
reflect: true
|
|
10371
9900
|
}
|
|
@@ -10439,23 +9968,26 @@ class AuroLoader extends r$1 {
|
|
|
10439
9968
|
}
|
|
10440
9969
|
}
|
|
10441
9970
|
|
|
10442
|
-
var loaderVersion = '
|
|
9971
|
+
var loaderVersion = '5.0.0';
|
|
10443
9972
|
|
|
9973
|
+
/* eslint-disable max-lines */
|
|
10444
9974
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10445
9975
|
// See LICENSE in the project root for license information.
|
|
10446
9976
|
|
|
10447
9977
|
|
|
10448
9978
|
/**
|
|
10449
9979
|
* @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
|
|
10450
|
-
* @attr {Boolean} disabled - If set to true button will become disabled and not allow for interactions
|
|
9980
|
+
* @attr {Boolean} disabled - If set to true, button will become disabled and not allow for interactions
|
|
10451
9981
|
* @attr {Boolean} iconOnly - If set to true, the button will contain an icon with no additional content
|
|
10452
9982
|
* @attr {Boolean} loading - If set to true button text will be replaced with `auro-loader` and become disabled
|
|
9983
|
+
* @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.
|
|
10453
9984
|
* @attr {Boolean} onDark - Set value for on-dark version of auro-button
|
|
10454
9985
|
* @attr {Boolean} rounded - If set to true, the button will have a rounded shape
|
|
10455
9986
|
* @attr {Boolean} slim - Set value for slim version of auro-button
|
|
10456
9987
|
* @attr {Boolean} fluid - Alters the shape of the button to be full width of its parent container
|
|
10457
9988
|
* @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.
|
|
10458
9989
|
* @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.
|
|
9990
|
+
* @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.
|
|
10459
9991
|
* @attr {String} id - Set the unique ID of an element.
|
|
10460
9992
|
* @attr {String} title - Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.
|
|
10461
9993
|
* @attr {String} type - The type of the button. Possible values are: `submit`, `reset`, `button`
|
|
@@ -10500,6 +10032,7 @@ class AuroButton extends r$1 {
|
|
|
10500
10032
|
this.rounded = false;
|
|
10501
10033
|
this.slim = false;
|
|
10502
10034
|
this.fluid = false;
|
|
10035
|
+
this.loadingText = this.loadingText || 'Loading...';
|
|
10503
10036
|
|
|
10504
10037
|
// Support for HTML5 forms
|
|
10505
10038
|
if (typeof this.attachInternals === 'function') {
|
|
@@ -10514,7 +10047,7 @@ class AuroButton extends r$1 {
|
|
|
10514
10047
|
/**
|
|
10515
10048
|
* Generate unique names for dependency components.
|
|
10516
10049
|
*/
|
|
10517
|
-
const versioning = new AuroDependencyVersioning$
|
|
10050
|
+
const versioning = new AuroDependencyVersioning$1();
|
|
10518
10051
|
|
|
10519
10052
|
/**
|
|
10520
10053
|
* @private
|
|
@@ -10560,6 +10093,9 @@ class AuroButton extends r$1 {
|
|
|
10560
10093
|
type: Boolean,
|
|
10561
10094
|
reflect: true
|
|
10562
10095
|
},
|
|
10096
|
+
loadingText: {
|
|
10097
|
+
type: String
|
|
10098
|
+
},
|
|
10563
10099
|
onDark: {
|
|
10564
10100
|
type: Boolean,
|
|
10565
10101
|
reflect: true
|
|
@@ -10580,6 +10116,10 @@ class AuroButton extends r$1 {
|
|
|
10580
10116
|
type: String,
|
|
10581
10117
|
reflect: true
|
|
10582
10118
|
},
|
|
10119
|
+
ariaexpanded: {
|
|
10120
|
+
type: Boolean,
|
|
10121
|
+
reflect: true
|
|
10122
|
+
},
|
|
10583
10123
|
title: {
|
|
10584
10124
|
type: String,
|
|
10585
10125
|
reflect: true
|
|
@@ -10609,7 +10149,7 @@ class AuroButton extends r$1 {
|
|
|
10609
10149
|
*
|
|
10610
10150
|
*/
|
|
10611
10151
|
static register(name = "auro-button") {
|
|
10612
|
-
AuroLibraryRuntimeUtils$
|
|
10152
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroButton);
|
|
10613
10153
|
}
|
|
10614
10154
|
|
|
10615
10155
|
/**
|
|
@@ -10651,12 +10191,22 @@ class AuroButton extends r$1 {
|
|
|
10651
10191
|
this.notifyReady();
|
|
10652
10192
|
}
|
|
10653
10193
|
|
|
10194
|
+
/**
|
|
10195
|
+
* Submits the form that this button is associated with.
|
|
10196
|
+
* @private
|
|
10197
|
+
* @returns {void}
|
|
10198
|
+
*/
|
|
10654
10199
|
surfaceSubmitEvent() {
|
|
10655
10200
|
if (this.form) {
|
|
10656
10201
|
this.form.requestSubmit();
|
|
10657
10202
|
}
|
|
10658
10203
|
}
|
|
10659
10204
|
|
|
10205
|
+
/**
|
|
10206
|
+
* Returns the form element that this button is associated with.
|
|
10207
|
+
* @private
|
|
10208
|
+
* @returns {HTMLFormElement|null}
|
|
10209
|
+
*/
|
|
10660
10210
|
get form() {
|
|
10661
10211
|
return this.internals ? this.internals.form : null;
|
|
10662
10212
|
}
|
|
@@ -10676,8 +10226,9 @@ class AuroButton extends r$1 {
|
|
|
10676
10226
|
return u$2`
|
|
10677
10227
|
<button
|
|
10678
10228
|
part="button"
|
|
10679
|
-
aria-label="${o(this.
|
|
10229
|
+
aria-label="${o(this.loading ? this.loadingText : this.arialabel || undefined)}"
|
|
10680
10230
|
aria-labelledby="${o(this.arialabelledby ? this.arialabelledby : undefined)}"
|
|
10231
|
+
aria-expanded="${o(this.ariaexpanded)}"
|
|
10681
10232
|
?autofocus="${this.autofocus}"
|
|
10682
10233
|
class="${e(classes)}"
|
|
10683
10234
|
?disabled="${this.disabled || this.loading}"
|
|
@@ -10705,13 +10256,13 @@ class AuroButton extends r$1 {
|
|
|
10705
10256
|
}
|
|
10706
10257
|
}
|
|
10707
10258
|
|
|
10708
|
-
var buttonVersion = '
|
|
10259
|
+
var buttonVersion = '9.3.0';
|
|
10709
10260
|
|
|
10710
|
-
var colorCss$5 = i$5`:host([error]){--ds-auro-helptext-color: var(--ds-color-
|
|
10261
|
+
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)}`;
|
|
10711
10262
|
|
|
10712
10263
|
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}`;
|
|
10713
10264
|
|
|
10714
|
-
var tokensCss$5 = i$5`:host{--ds-auro-helptext-color: var(--ds-color-
|
|
10265
|
+
var tokensCss$5 = i$5`:host{--ds-auro-helptext-color: var(--ds-basic-color-texticon-muted, #676767)}`;
|
|
10715
10266
|
|
|
10716
10267
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10717
10268
|
// See LICENSE in the project root for license information.
|
|
@@ -10720,7 +10271,7 @@ var tokensCss$5 = i$5`:host{--ds-auro-helptext-color: var(--ds-color-text-tertia
|
|
|
10720
10271
|
|
|
10721
10272
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10722
10273
|
|
|
10723
|
-
let AuroLibraryRuntimeUtils$
|
|
10274
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
10724
10275
|
|
|
10725
10276
|
/* eslint-disable jsdoc/require-param */
|
|
10726
10277
|
|
|
@@ -10798,9 +10349,10 @@ class AuroHelpText extends r$1 {
|
|
|
10798
10349
|
super();
|
|
10799
10350
|
|
|
10800
10351
|
this.error = false;
|
|
10352
|
+
this.onDark = false;
|
|
10801
10353
|
this.hasTextContent = false;
|
|
10802
10354
|
|
|
10803
|
-
AuroLibraryRuntimeUtils$
|
|
10355
|
+
AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
10804
10356
|
}
|
|
10805
10357
|
|
|
10806
10358
|
static get styles() {
|
|
@@ -10836,6 +10388,14 @@ class AuroHelpText extends r$1 {
|
|
|
10836
10388
|
type: Boolean,
|
|
10837
10389
|
reflect: true,
|
|
10838
10390
|
},
|
|
10391
|
+
|
|
10392
|
+
/**
|
|
10393
|
+
* If declared, will apply onDark styles.
|
|
10394
|
+
*/
|
|
10395
|
+
onDark: {
|
|
10396
|
+
type: Boolean,
|
|
10397
|
+
reflect: true
|
|
10398
|
+
}
|
|
10839
10399
|
};
|
|
10840
10400
|
}
|
|
10841
10401
|
|
|
@@ -10848,7 +10408,7 @@ class AuroHelpText extends r$1 {
|
|
|
10848
10408
|
*
|
|
10849
10409
|
*/
|
|
10850
10410
|
static register(name = "auro-helptext") {
|
|
10851
|
-
AuroLibraryRuntimeUtils$
|
|
10411
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
|
|
10852
10412
|
}
|
|
10853
10413
|
|
|
10854
10414
|
updated() {
|
|
@@ -10945,7 +10505,7 @@ class AuroInput extends BaseInput {
|
|
|
10945
10505
|
*
|
|
10946
10506
|
*/
|
|
10947
10507
|
static register(name = "auro-input") {
|
|
10948
|
-
AuroLibraryRuntimeUtils$
|
|
10508
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroInput);
|
|
10949
10509
|
}
|
|
10950
10510
|
|
|
10951
10511
|
/**
|
|
@@ -10985,7 +10545,8 @@ class AuroInput extends BaseInput {
|
|
|
10985
10545
|
category="payment"
|
|
10986
10546
|
name="${name}"
|
|
10987
10547
|
part="accentIcon"
|
|
10988
|
-
?
|
|
10548
|
+
?onDark="${this.onDark}"
|
|
10549
|
+
variant="${this.disabled ? 'disabled' : 'muted'}">
|
|
10989
10550
|
</${this.iconTag}>
|
|
10990
10551
|
`) : undefined
|
|
10991
10552
|
}
|
|
@@ -10997,7 +10558,8 @@ class AuroInput extends BaseInput {
|
|
|
10997
10558
|
category="interface"
|
|
10998
10559
|
name="calendar"
|
|
10999
10560
|
part="accentIcon"
|
|
11000
|
-
?
|
|
10561
|
+
?onDark="${this.onDark}"
|
|
10562
|
+
variant="${this.disabled ? 'disabled' : 'muted'}">
|
|
11001
10563
|
</${this.iconTag}>`
|
|
11002
10564
|
: undefined
|
|
11003
10565
|
}
|
|
@@ -11042,7 +10604,7 @@ class AuroInput extends BaseInput {
|
|
|
11042
10604
|
<${this.iconTag}
|
|
11043
10605
|
category="alert"
|
|
11044
10606
|
name="error-stroke"
|
|
11045
|
-
|
|
10607
|
+
customColor
|
|
11046
10608
|
</${this.iconTag}>
|
|
11047
10609
|
</div>
|
|
11048
10610
|
` : undefined}
|
|
@@ -11051,6 +10613,7 @@ class AuroInput extends BaseInput {
|
|
|
11051
10613
|
<div class="notification">
|
|
11052
10614
|
<${this.buttonTag}
|
|
11053
10615
|
variant="flat"
|
|
10616
|
+
?onDark="${this.onDark}"
|
|
11054
10617
|
aria-hidden="true"
|
|
11055
10618
|
tabindex="-1"
|
|
11056
10619
|
@click="${this.handleClickShowPassword}"
|
|
@@ -11074,6 +10637,7 @@ class AuroInput extends BaseInput {
|
|
|
11074
10637
|
<div class="notification">
|
|
11075
10638
|
<${this.buttonTag}
|
|
11076
10639
|
variant="flat"
|
|
10640
|
+
?onDark="${this.onDark}"
|
|
11077
10641
|
class="notificationBtn clearBtn"
|
|
11078
10642
|
aria-label="${i18n(this.lang, 'clearInput')}"
|
|
11079
10643
|
@click="${this.handleClickClear}">
|
|
@@ -11092,14 +10656,14 @@ class AuroInput extends BaseInput {
|
|
|
11092
10656
|
<!-- Help text and error message template -->
|
|
11093
10657
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
11094
10658
|
? u$2`
|
|
11095
|
-
<${this.helpTextTag}>
|
|
10659
|
+
<${this.helpTextTag} ?onDark="${this.onDark}">
|
|
11096
10660
|
<p id="${this.uniqueId}" part="helpText">
|
|
11097
10661
|
<slot name="helptext">${this.getHelpText()}</slot>
|
|
11098
10662
|
</p>
|
|
11099
10663
|
</${this.helpTextTag}>
|
|
11100
10664
|
`
|
|
11101
10665
|
: u$2`
|
|
11102
|
-
<${this.helpTextTag} error>
|
|
10666
|
+
<${this.helpTextTag} error ?onDark="${this.onDark}">
|
|
11103
10667
|
<p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
11104
10668
|
${this.errorMessage}
|
|
11105
10669
|
</p>
|
|
@@ -11114,9 +10678,9 @@ var inputVersion = '4.2.0';
|
|
|
11114
10678
|
|
|
11115
10679
|
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)}`;
|
|
11116
10680
|
|
|
11117
|
-
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,
|
|
10681
|
+
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)}`;
|
|
11118
10682
|
|
|
11119
|
-
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-
|
|
10683
|
+
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)}`;
|
|
11120
10684
|
|
|
11121
10685
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
11122
10686
|
// See LICENSE in the project root for license information.
|
|
@@ -11125,7 +10689,7 @@ var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
|
|
|
11125
10689
|
|
|
11126
10690
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11127
10691
|
|
|
11128
|
-
let AuroLibraryRuntimeUtils$
|
|
10692
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
11129
10693
|
|
|
11130
10694
|
/* eslint-disable jsdoc/require-param */
|
|
11131
10695
|
|
|
@@ -11294,7 +10858,7 @@ const cacheFetch$1 = (uri, options = {}) => {
|
|
|
11294
10858
|
return _fetchMap$1.get(uri);
|
|
11295
10859
|
};
|
|
11296
10860
|
|
|
11297
|
-
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}
|
|
10861
|
+
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}`;
|
|
11298
10862
|
|
|
11299
10863
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11300
10864
|
// See LICENSE in the project root for license information.
|
|
@@ -11302,7 +10866,6 @@ var styleCss$1$1 = i$5`:focus:not(:focus-visible){outline:3px solid transparent}
|
|
|
11302
10866
|
|
|
11303
10867
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
11304
10868
|
/**
|
|
11305
|
-
* @attr {Boolean} onDark - Set value for on-dark version of auro-icon
|
|
11306
10869
|
* @slot - Hidden from visibility, used for a11y if icon description is needed
|
|
11307
10870
|
*/
|
|
11308
10871
|
|
|
@@ -11317,6 +10880,10 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
11317
10880
|
static get properties() {
|
|
11318
10881
|
return {
|
|
11319
10882
|
...super.properties,
|
|
10883
|
+
|
|
10884
|
+
/**
|
|
10885
|
+
* Set value for on-dark version of auro-icon.
|
|
10886
|
+
*/
|
|
11320
10887
|
onDark: {
|
|
11321
10888
|
type: Boolean,
|
|
11322
10889
|
reflect: true
|
|
@@ -11375,81 +10942,11 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
11375
10942
|
}
|
|
11376
10943
|
};
|
|
11377
10944
|
|
|
11378
|
-
var tokensCss$2 = i$5`:host{--ds-auro-icon-color:var(--ds-color-
|
|
11379
|
-
|
|
11380
|
-
var colorCss$3 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[
|
|
11381
|
-
|
|
11382
|
-
// Copyright (c) Alaska
|
|
11383
|
-
// See LICENSE in the project root for license information.
|
|
11384
|
-
|
|
11385
|
-
// ---------------------------------------------------------------------
|
|
11386
|
-
|
|
11387
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11388
|
-
|
|
11389
|
-
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
11390
|
-
|
|
11391
|
-
/* eslint-disable jsdoc/require-param */
|
|
11392
|
-
|
|
11393
|
-
/**
|
|
11394
|
-
* This will register a new custom element with the browser.
|
|
11395
|
-
* @param {String} name - The name of the custom element.
|
|
11396
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
11397
|
-
* @returns {void}
|
|
11398
|
-
*/
|
|
11399
|
-
registerComponent(name, componentClass) {
|
|
11400
|
-
if (!customElements.get(name)) {
|
|
11401
|
-
customElements.define(name, class extends componentClass {});
|
|
11402
|
-
}
|
|
11403
|
-
}
|
|
11404
|
-
|
|
11405
|
-
/**
|
|
11406
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
11407
|
-
* @returns {void}
|
|
11408
|
-
*/
|
|
11409
|
-
closestElement(
|
|
11410
|
-
selector, // selector like in .closest()
|
|
11411
|
-
base = this, // extra functionality to skip a parent
|
|
11412
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
11413
|
-
!el || el === document || el === window
|
|
11414
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
11415
|
-
: found
|
|
11416
|
-
? found // found a selector INside this element
|
|
11417
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
11418
|
-
) {
|
|
11419
|
-
return __Closest(base);
|
|
11420
|
-
}
|
|
11421
|
-
/* eslint-enable jsdoc/require-param */
|
|
11422
|
-
|
|
11423
|
-
/**
|
|
11424
|
-
* 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.
|
|
11425
|
-
* @param {Object} elem - The element to check.
|
|
11426
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
11427
|
-
* @returns {void}
|
|
11428
|
-
*/
|
|
11429
|
-
handleComponentTagRename(elem, tagName) {
|
|
11430
|
-
const tag = tagName.toLowerCase();
|
|
11431
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
11432
|
-
|
|
11433
|
-
if (elemTag !== tag) {
|
|
11434
|
-
elem.setAttribute(tag, true);
|
|
11435
|
-
}
|
|
11436
|
-
}
|
|
11437
|
-
|
|
11438
|
-
/**
|
|
11439
|
-
* Validates if an element is a specific Auro component.
|
|
11440
|
-
* @param {Object} elem - The element to validate.
|
|
11441
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
11442
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
11443
|
-
*/
|
|
11444
|
-
elementMatch(elem, tagName) {
|
|
11445
|
-
const tag = tagName.toLowerCase();
|
|
11446
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
11447
|
-
|
|
11448
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
11449
|
-
}
|
|
11450
|
-
};
|
|
11451
|
-
|
|
11452
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
10945
|
+
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)}`;
|
|
10946
|
+
|
|
10947
|
+
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)}`;
|
|
10948
|
+
|
|
10949
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11453
10950
|
// See LICENSE in the project root for license information.
|
|
11454
10951
|
|
|
11455
10952
|
|
|
@@ -11457,6 +10954,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
11457
10954
|
constructor() {
|
|
11458
10955
|
super();
|
|
11459
10956
|
|
|
10957
|
+
this.variant = undefined;
|
|
11460
10958
|
this.privateDefaults();
|
|
11461
10959
|
}
|
|
11462
10960
|
|
|
@@ -11466,20 +10964,6 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
11466
10964
|
* @returns {void}
|
|
11467
10965
|
*/
|
|
11468
10966
|
privateDefaults() {
|
|
11469
|
-
this.accent = false;
|
|
11470
|
-
this.customColor = false;
|
|
11471
|
-
this.customSvg = false;
|
|
11472
|
-
this.disabled = false;
|
|
11473
|
-
this.emphasis = false;
|
|
11474
|
-
this.error = false;
|
|
11475
|
-
this.info = false;
|
|
11476
|
-
this.label = false;
|
|
11477
|
-
this.primary = false;
|
|
11478
|
-
this.secondary = false;
|
|
11479
|
-
this.subtle = false;
|
|
11480
|
-
this.success = false;
|
|
11481
|
-
this.tertiary = false;
|
|
11482
|
-
this.warning = false;
|
|
11483
10967
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
11484
10968
|
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
11485
10969
|
}
|
|
@@ -11489,14 +10973,6 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
11489
10973
|
return {
|
|
11490
10974
|
...super.properties,
|
|
11491
10975
|
|
|
11492
|
-
/**
|
|
11493
|
-
* Sets the icon to use the accent style.
|
|
11494
|
-
*/
|
|
11495
|
-
accent: {
|
|
11496
|
-
type: Boolean,
|
|
11497
|
-
reflect: true
|
|
11498
|
-
},
|
|
11499
|
-
|
|
11500
10976
|
/**
|
|
11501
10977
|
* Set aria-hidden value. Default is `true`. Option is `false`.
|
|
11502
10978
|
*/
|
|
@@ -11527,38 +11003,6 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
11527
11003
|
type: Boolean
|
|
11528
11004
|
},
|
|
11529
11005
|
|
|
11530
|
-
/**
|
|
11531
|
-
* Sets the icon to use the disabled style.
|
|
11532
|
-
*/
|
|
11533
|
-
disabled: {
|
|
11534
|
-
type: Boolean,
|
|
11535
|
-
reflect: true
|
|
11536
|
-
},
|
|
11537
|
-
|
|
11538
|
-
/**
|
|
11539
|
-
* Sets the icon to use the emphasis style.
|
|
11540
|
-
*/
|
|
11541
|
-
emphasis: {
|
|
11542
|
-
type: Boolean,
|
|
11543
|
-
reflect: true
|
|
11544
|
-
},
|
|
11545
|
-
|
|
11546
|
-
/**
|
|
11547
|
-
* Sets the icon to use the error style.
|
|
11548
|
-
*/
|
|
11549
|
-
error: {
|
|
11550
|
-
type: Boolean,
|
|
11551
|
-
reflect: true
|
|
11552
|
-
},
|
|
11553
|
-
|
|
11554
|
-
/**
|
|
11555
|
-
* Sets the icon to use the info style.
|
|
11556
|
-
*/
|
|
11557
|
-
info: {
|
|
11558
|
-
type: Boolean,
|
|
11559
|
-
reflect: true
|
|
11560
|
-
},
|
|
11561
|
-
|
|
11562
11006
|
/**
|
|
11563
11007
|
* Exposes content in slot as icon label.
|
|
11564
11008
|
*/
|
|
@@ -11576,50 +11020,10 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
11576
11020
|
},
|
|
11577
11021
|
|
|
11578
11022
|
/**
|
|
11579
|
-
*
|
|
11580
|
-
*/
|
|
11581
|
-
primary: {
|
|
11582
|
-
type: Boolean,
|
|
11583
|
-
reflect: true
|
|
11584
|
-
},
|
|
11585
|
-
|
|
11586
|
-
/**
|
|
11587
|
-
* Sets the icon to use the secondary style.
|
|
11588
|
-
*/
|
|
11589
|
-
secondary: {
|
|
11590
|
-
type: Boolean,
|
|
11591
|
-
reflect: true
|
|
11592
|
-
},
|
|
11593
|
-
|
|
11594
|
-
/**
|
|
11595
|
-
* Sets the icon to use the subtle style.
|
|
11596
|
-
*/
|
|
11597
|
-
subtle: {
|
|
11598
|
-
type: Boolean,
|
|
11599
|
-
reflect: true
|
|
11600
|
-
},
|
|
11601
|
-
|
|
11602
|
-
/**
|
|
11603
|
-
* Sets the icon to use the success style.
|
|
11604
|
-
*/
|
|
11605
|
-
success: {
|
|
11606
|
-
type: Boolean,
|
|
11607
|
-
reflect: true
|
|
11608
|
-
},
|
|
11609
|
-
|
|
11610
|
-
/**
|
|
11611
|
-
* Sets the icon to use the tertiary style.
|
|
11023
|
+
* 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`.
|
|
11612
11024
|
*/
|
|
11613
|
-
|
|
11614
|
-
type:
|
|
11615
|
-
reflect: true
|
|
11616
|
-
},
|
|
11617
|
-
|
|
11618
|
-
/**
|
|
11619
|
-
* Sets the icon to use the warning style.
|
|
11620
|
-
*/
|
|
11621
|
-
warning: {
|
|
11622
|
-
type: Boolean,
|
|
11025
|
+
variant: {
|
|
11026
|
+
type: String,
|
|
11623
11027
|
reflect: true
|
|
11624
11028
|
}
|
|
11625
11029
|
};
|
|
@@ -11709,7 +11113,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
11709
11113
|
}
|
|
11710
11114
|
};
|
|
11711
11115
|
|
|
11712
|
-
var iconVersion$1 = '
|
|
11116
|
+
var iconVersion$1 = '8.0.1';
|
|
11713
11117
|
|
|
11714
11118
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
11715
11119
|
// See LICENSE in the project root for license information.
|
|
@@ -11718,7 +11122,7 @@ var iconVersion$1 = '7.0.1';
|
|
|
11718
11122
|
|
|
11719
11123
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11720
11124
|
|
|
11721
|
-
|
|
11125
|
+
class AuroLibraryRuntimeUtils {
|
|
11722
11126
|
|
|
11723
11127
|
/* eslint-disable jsdoc/require-param */
|
|
11724
11128
|
|
|
@@ -11779,7 +11183,7 @@ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
|
11779
11183
|
|
|
11780
11184
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
11781
11185
|
}
|
|
11782
|
-
}
|
|
11186
|
+
}
|
|
11783
11187
|
|
|
11784
11188
|
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)}`;
|
|
11785
11189
|
|
|
@@ -11810,7 +11214,7 @@ class AuroHeader extends r$1 {
|
|
|
11810
11214
|
/**
|
|
11811
11215
|
* @private
|
|
11812
11216
|
*/
|
|
11813
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils
|
|
11217
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
11814
11218
|
}
|
|
11815
11219
|
|
|
11816
11220
|
// function to define props used within the scope of this component
|
|
@@ -11840,7 +11244,7 @@ class AuroHeader extends r$1 {
|
|
|
11840
11244
|
*
|
|
11841
11245
|
*/
|
|
11842
11246
|
static register(name = "auro-header") {
|
|
11843
|
-
AuroLibraryRuntimeUtils
|
|
11247
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
|
|
11844
11248
|
}
|
|
11845
11249
|
|
|
11846
11250
|
firstUpdated() {
|
|
@@ -11934,7 +11338,9 @@ class AuroBibtemplate extends r$1 {
|
|
|
11934
11338
|
constructor() {
|
|
11935
11339
|
super();
|
|
11936
11340
|
|
|
11937
|
-
|
|
11341
|
+
this.large = false;
|
|
11342
|
+
|
|
11343
|
+
AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
11938
11344
|
|
|
11939
11345
|
const versioning = new AuroDependencyVersioning();
|
|
11940
11346
|
this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion$1, AuroIcon$1);
|
|
@@ -11973,7 +11379,7 @@ class AuroBibtemplate extends r$1 {
|
|
|
11973
11379
|
*
|
|
11974
11380
|
*/
|
|
11975
11381
|
static register(name = "auro-bibtemplate") {
|
|
11976
|
-
AuroLibraryRuntimeUtils$
|
|
11382
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroBibtemplate);
|
|
11977
11383
|
}
|
|
11978
11384
|
|
|
11979
11385
|
/**
|
|
@@ -12045,11 +11451,11 @@ class AuroBibtemplate extends r$1 {
|
|
|
12045
11451
|
|
|
12046
11452
|
var bibTemplateVersion = '1.0.0';
|
|
12047
11453
|
|
|
12048
|
-
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)}`;
|
|
11454
|
+
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)}`;
|
|
12049
11455
|
|
|
12050
|
-
i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color)
|
|
11456
|
+
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)}`;
|
|
12051
11457
|
|
|
12052
|
-
i$5`:host{--ds-auro-menu-divider-color: var(--ds-color-border-divider-
|
|
11458
|
+
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)}`;
|
|
12053
11459
|
|
|
12054
11460
|
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12055
11461
|
// See LICENSE in the project root for license information.
|
|
@@ -12153,15 +11559,15 @@ function arrayOrUndefinedHasChanged$1(newVal, oldVal) {
|
|
|
12153
11559
|
|
|
12154
11560
|
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}`;
|
|
12155
11561
|
|
|
12156
|
-
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)
|
|
11562
|
+
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)}`;
|
|
12157
11563
|
|
|
12158
|
-
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}
|
|
11564
|
+
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}`;
|
|
12159
11565
|
|
|
12160
|
-
i$5`:host{--ds-auro-icon-color:var(--ds-color-
|
|
11566
|
+
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)}`;
|
|
12161
11567
|
|
|
12162
|
-
i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[
|
|
11568
|
+
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)}`;
|
|
12163
11569
|
|
|
12164
|
-
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){
|
|
11570
|
+
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}`;
|
|
12165
11571
|
|
|
12166
11572
|
// Copyright (c) 2022 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12167
11573
|
// See LICENSE in the project root for license information.
|
|
@@ -12182,11 +11588,6 @@ class AuroCombobox extends r$1 {
|
|
|
12182
11588
|
constructor() {
|
|
12183
11589
|
super();
|
|
12184
11590
|
|
|
12185
|
-
this.noFilter = false;
|
|
12186
|
-
this.validity = undefined;
|
|
12187
|
-
this.value = undefined;
|
|
12188
|
-
this.optionSelected = undefined;
|
|
12189
|
-
|
|
12190
11591
|
this.privateDefaults();
|
|
12191
11592
|
}
|
|
12192
11593
|
|
|
@@ -12195,15 +11596,29 @@ class AuroCombobox extends r$1 {
|
|
|
12195
11596
|
* @returns {void} Internal defaults.
|
|
12196
11597
|
*/
|
|
12197
11598
|
privateDefaults() {
|
|
11599
|
+
this.onDark = false;
|
|
11600
|
+
|
|
11601
|
+
this.noFilter = false;
|
|
11602
|
+
this.validity = undefined;
|
|
11603
|
+
this.value = undefined;
|
|
11604
|
+
this.optionSelected = undefined;
|
|
11605
|
+
|
|
11606
|
+
this.checkmark = false;
|
|
11607
|
+
this.disabled = false;
|
|
11608
|
+
this.noValidate = false;
|
|
11609
|
+
this.required = false;
|
|
11610
|
+
this.triggerIcon = false;
|
|
11611
|
+
|
|
12198
11612
|
this.availableOptions = [];
|
|
12199
11613
|
this.optionActive = null;
|
|
12200
11614
|
this.msgSelectionMissing = 'Please select an option.';
|
|
12201
11615
|
|
|
12202
11616
|
this.fullscreenBreakpoint = 'sm';
|
|
11617
|
+
this.largeFullscreenHeadline = false;
|
|
12203
11618
|
|
|
12204
11619
|
this.validation = new AuroFormValidation$1();
|
|
12205
11620
|
|
|
12206
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
11621
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
12207
11622
|
|
|
12208
11623
|
this.isHiddenWhileLoading = false;
|
|
12209
11624
|
|
|
@@ -12213,11 +11628,11 @@ class AuroCombobox extends r$1 {
|
|
|
12213
11628
|
this.noFlip = false;
|
|
12214
11629
|
this.autoPlacement = false;
|
|
12215
11630
|
|
|
12216
|
-
const versioning = new AuroDependencyVersioning$
|
|
11631
|
+
const versioning = new AuroDependencyVersioning$3();
|
|
12217
11632
|
|
|
12218
|
-
this.dropdownTag = versioning.generateTag('auro-formkit-
|
|
12219
|
-
this.bibtemplateTag = versioning.generateTag('auro-formkit-
|
|
12220
|
-
this.inputTag = versioning.generateTag('auro-formkit-
|
|
11633
|
+
this.dropdownTag = versioning.generateTag('auro-formkit-combobox-dropdown', dropdownVersion, AuroDropdown);
|
|
11634
|
+
this.bibtemplateTag = versioning.generateTag('auro-formkit-combobox-bibtemplate', bibTemplateVersion, AuroBibtemplate);
|
|
11635
|
+
this.inputTag = versioning.generateTag('auro-formkit-combobox-input', inputVersion, AuroInput);
|
|
12221
11636
|
}
|
|
12222
11637
|
|
|
12223
11638
|
// This function is to define props used within the scope of this component
|
|
@@ -12290,7 +11705,8 @@ class AuroCombobox extends r$1 {
|
|
|
12290
11705
|
* If set, disables auto-validation on blur.
|
|
12291
11706
|
*/
|
|
12292
11707
|
noValidate: {
|
|
12293
|
-
type: Boolean
|
|
11708
|
+
type: Boolean,
|
|
11709
|
+
reflect: true
|
|
12294
11710
|
},
|
|
12295
11711
|
|
|
12296
11712
|
/**
|
|
@@ -12302,6 +11718,14 @@ class AuroCombobox extends r$1 {
|
|
|
12302
11718
|
reflect: true
|
|
12303
11719
|
},
|
|
12304
11720
|
|
|
11721
|
+
/**
|
|
11722
|
+
* If declared, onDark styles will be applied to the trigger.
|
|
11723
|
+
*/
|
|
11724
|
+
onDark: {
|
|
11725
|
+
type: Boolean,
|
|
11726
|
+
reflect: true
|
|
11727
|
+
},
|
|
11728
|
+
|
|
12305
11729
|
/**
|
|
12306
11730
|
* Specifies the current selected option.
|
|
12307
11731
|
*/
|
|
@@ -12409,8 +11833,7 @@ class AuroCombobox extends r$1 {
|
|
|
12409
11833
|
* @private
|
|
12410
11834
|
*/
|
|
12411
11835
|
isDropdownFullscreen: {
|
|
12412
|
-
type: Boolean
|
|
12413
|
-
reflect: false
|
|
11836
|
+
type: Boolean
|
|
12414
11837
|
}
|
|
12415
11838
|
};
|
|
12416
11839
|
}
|
|
@@ -12428,7 +11851,7 @@ class AuroCombobox extends r$1 {
|
|
|
12428
11851
|
*
|
|
12429
11852
|
*/
|
|
12430
11853
|
static register(name = 'auro-combobox') {
|
|
12431
|
-
AuroLibraryRuntimeUtils$
|
|
11854
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroCombobox);
|
|
12432
11855
|
}
|
|
12433
11856
|
|
|
12434
11857
|
/**
|
|
@@ -13071,6 +12494,7 @@ class AuroCombobox extends r$1 {
|
|
|
13071
12494
|
</div>
|
|
13072
12495
|
<${this.dropdownTag}
|
|
13073
12496
|
for="dropdownMenu"
|
|
12497
|
+
?onDark="${this.onDark}"
|
|
13074
12498
|
fluid
|
|
13075
12499
|
bordered
|
|
13076
12500
|
rounded
|
|
@@ -13087,6 +12511,7 @@ class AuroCombobox extends r$1 {
|
|
|
13087
12511
|
<${this.inputTag}
|
|
13088
12512
|
slot="trigger"
|
|
13089
12513
|
bordered
|
|
12514
|
+
?onDark="${this.onDark}"
|
|
13090
12515
|
?required="${this.required}"
|
|
13091
12516
|
?noValidate="${this.noValidate}"
|
|
13092
12517
|
?disabled="${this.disabled}"
|
|
@@ -13121,11 +12546,11 @@ class AuroCombobox extends r$1 {
|
|
|
13121
12546
|
}
|
|
13122
12547
|
}
|
|
13123
12548
|
|
|
13124
|
-
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)}`;
|
|
12549
|
+
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)}`;
|
|
13125
12550
|
|
|
13126
|
-
var colorCss$2 = i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color)
|
|
12551
|
+
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)}`;
|
|
13127
12552
|
|
|
13128
|
-
var tokensCss$1 = i$5`:host{--ds-auro-menu-divider-color: var(--ds-color-border-divider-
|
|
12553
|
+
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)}`;
|
|
13129
12554
|
|
|
13130
12555
|
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13131
12556
|
// See LICENSE in the project root for license information.
|
|
@@ -13410,7 +12835,7 @@ class AuroMenu extends r$1 {
|
|
|
13410
12835
|
*
|
|
13411
12836
|
*/
|
|
13412
12837
|
static register(name = "auro-menu") {
|
|
13413
|
-
AuroLibraryRuntimeUtils$
|
|
12838
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroMenu);
|
|
13414
12839
|
}
|
|
13415
12840
|
|
|
13416
12841
|
// Lifecycle Methods
|
|
@@ -13434,7 +12859,7 @@ class AuroMenu extends r$1 {
|
|
|
13434
12859
|
}
|
|
13435
12860
|
|
|
13436
12861
|
firstUpdated() {
|
|
13437
|
-
AuroLibraryRuntimeUtils$
|
|
12862
|
+
AuroLibraryRuntimeUtils$4.prototype.handleComponentTagRename(this, 'auro-menu');
|
|
13438
12863
|
|
|
13439
12864
|
this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
|
|
13440
12865
|
this.initializeMenu();
|
|
@@ -13972,7 +13397,7 @@ class AuroMenu extends r$1 {
|
|
|
13972
13397
|
|
|
13973
13398
|
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}`;
|
|
13974
13399
|
|
|
13975
|
-
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)
|
|
13400
|
+
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)}`;
|
|
13976
13401
|
|
|
13977
13402
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13978
13403
|
// See LICENSE in the project root for license information.
|
|
@@ -14040,7 +13465,7 @@ const cacheFetch = (uri, options = {}) => {
|
|
|
14040
13465
|
return _fetchMap.get(uri);
|
|
14041
13466
|
};
|
|
14042
13467
|
|
|
14043
|
-
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}
|
|
13468
|
+
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}`;
|
|
14044
13469
|
|
|
14045
13470
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
14046
13471
|
// See LICENSE in the project root for license information.
|
|
@@ -14048,7 +13473,6 @@ var styleCss = i$5`:focus:not(:focus-visible){outline:3px solid transparent}.uti
|
|
|
14048
13473
|
|
|
14049
13474
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
14050
13475
|
/**
|
|
14051
|
-
* @attr {Boolean} onDark - Set value for on-dark version of auro-icon
|
|
14052
13476
|
* @slot - Hidden from visibility, used for a11y if icon description is needed
|
|
14053
13477
|
*/
|
|
14054
13478
|
|
|
@@ -14063,6 +13487,10 @@ class BaseIcon extends AuroElement {
|
|
|
14063
13487
|
static get properties() {
|
|
14064
13488
|
return {
|
|
14065
13489
|
...super.properties,
|
|
13490
|
+
|
|
13491
|
+
/**
|
|
13492
|
+
* Set value for on-dark version of auro-icon.
|
|
13493
|
+
*/
|
|
14066
13494
|
onDark: {
|
|
14067
13495
|
type: Boolean,
|
|
14068
13496
|
reflect: true
|
|
@@ -14121,81 +13549,11 @@ class BaseIcon extends AuroElement {
|
|
|
14121
13549
|
}
|
|
14122
13550
|
}
|
|
14123
13551
|
|
|
14124
|
-
var tokensCss = i$5`:host{--ds-auro-icon-color:var(--ds-color-
|
|
14125
|
-
|
|
14126
|
-
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)}`;
|
|
14127
|
-
|
|
14128
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
14129
|
-
// See LICENSE in the project root for license information.
|
|
14130
|
-
|
|
14131
|
-
// ---------------------------------------------------------------------
|
|
14132
|
-
|
|
14133
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
14134
|
-
|
|
14135
|
-
class AuroLibraryRuntimeUtils {
|
|
14136
|
-
|
|
14137
|
-
/* eslint-disable jsdoc/require-param */
|
|
14138
|
-
|
|
14139
|
-
/**
|
|
14140
|
-
* This will register a new custom element with the browser.
|
|
14141
|
-
* @param {String} name - The name of the custom element.
|
|
14142
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
14143
|
-
* @returns {void}
|
|
14144
|
-
*/
|
|
14145
|
-
registerComponent(name, componentClass) {
|
|
14146
|
-
if (!customElements.get(name)) {
|
|
14147
|
-
customElements.define(name, class extends componentClass {});
|
|
14148
|
-
}
|
|
14149
|
-
}
|
|
14150
|
-
|
|
14151
|
-
/**
|
|
14152
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
14153
|
-
* @returns {void}
|
|
14154
|
-
*/
|
|
14155
|
-
closestElement(
|
|
14156
|
-
selector, // selector like in .closest()
|
|
14157
|
-
base = this, // extra functionality to skip a parent
|
|
14158
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
14159
|
-
!el || el === document || el === window
|
|
14160
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
14161
|
-
: found
|
|
14162
|
-
? found // found a selector INside this element
|
|
14163
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
14164
|
-
) {
|
|
14165
|
-
return __Closest(base);
|
|
14166
|
-
}
|
|
14167
|
-
/* eslint-enable jsdoc/require-param */
|
|
14168
|
-
|
|
14169
|
-
/**
|
|
14170
|
-
* 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.
|
|
14171
|
-
* @param {Object} elem - The element to check.
|
|
14172
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
14173
|
-
* @returns {void}
|
|
14174
|
-
*/
|
|
14175
|
-
handleComponentTagRename(elem, tagName) {
|
|
14176
|
-
const tag = tagName.toLowerCase();
|
|
14177
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
14178
|
-
|
|
14179
|
-
if (elemTag !== tag) {
|
|
14180
|
-
elem.setAttribute(tag, true);
|
|
14181
|
-
}
|
|
14182
|
-
}
|
|
14183
|
-
|
|
14184
|
-
/**
|
|
14185
|
-
* Validates if an element is a specific Auro component.
|
|
14186
|
-
* @param {Object} elem - The element to validate.
|
|
14187
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
14188
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
14189
|
-
*/
|
|
14190
|
-
elementMatch(elem, tagName) {
|
|
14191
|
-
const tag = tagName.toLowerCase();
|
|
14192
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
13552
|
+
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)}`;
|
|
14193
13553
|
|
|
14194
|
-
|
|
14195
|
-
}
|
|
14196
|
-
}
|
|
13554
|
+
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)}`;
|
|
14197
13555
|
|
|
14198
|
-
// Copyright (c)
|
|
13556
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
14199
13557
|
// See LICENSE in the project root for license information.
|
|
14200
13558
|
|
|
14201
13559
|
|
|
@@ -14203,6 +13561,7 @@ class AuroIcon extends BaseIcon {
|
|
|
14203
13561
|
constructor() {
|
|
14204
13562
|
super();
|
|
14205
13563
|
|
|
13564
|
+
this.variant = undefined;
|
|
14206
13565
|
this.privateDefaults();
|
|
14207
13566
|
}
|
|
14208
13567
|
|
|
@@ -14212,22 +13571,8 @@ class AuroIcon extends BaseIcon {
|
|
|
14212
13571
|
* @returns {void}
|
|
14213
13572
|
*/
|
|
14214
13573
|
privateDefaults() {
|
|
14215
|
-
this.accent = false;
|
|
14216
|
-
this.customColor = false;
|
|
14217
|
-
this.customSvg = false;
|
|
14218
|
-
this.disabled = false;
|
|
14219
|
-
this.emphasis = false;
|
|
14220
|
-
this.error = false;
|
|
14221
|
-
this.info = false;
|
|
14222
|
-
this.label = false;
|
|
14223
|
-
this.primary = false;
|
|
14224
|
-
this.secondary = false;
|
|
14225
|
-
this.subtle = false;
|
|
14226
|
-
this.success = false;
|
|
14227
|
-
this.tertiary = false;
|
|
14228
|
-
this.warning = false;
|
|
14229
13574
|
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
14230
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
13575
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
14231
13576
|
}
|
|
14232
13577
|
|
|
14233
13578
|
// function to define props used within the scope of this component
|
|
@@ -14235,14 +13580,6 @@ class AuroIcon extends BaseIcon {
|
|
|
14235
13580
|
return {
|
|
14236
13581
|
...super.properties,
|
|
14237
13582
|
|
|
14238
|
-
/**
|
|
14239
|
-
* Sets the icon to use the accent style.
|
|
14240
|
-
*/
|
|
14241
|
-
accent: {
|
|
14242
|
-
type: Boolean,
|
|
14243
|
-
reflect: true
|
|
14244
|
-
},
|
|
14245
|
-
|
|
14246
13583
|
/**
|
|
14247
13584
|
* Set aria-hidden value. Default is `true`. Option is `false`.
|
|
14248
13585
|
*/
|
|
@@ -14273,38 +13610,6 @@ class AuroIcon extends BaseIcon {
|
|
|
14273
13610
|
type: Boolean
|
|
14274
13611
|
},
|
|
14275
13612
|
|
|
14276
|
-
/**
|
|
14277
|
-
* Sets the icon to use the disabled style.
|
|
14278
|
-
*/
|
|
14279
|
-
disabled: {
|
|
14280
|
-
type: Boolean,
|
|
14281
|
-
reflect: true
|
|
14282
|
-
},
|
|
14283
|
-
|
|
14284
|
-
/**
|
|
14285
|
-
* Sets the icon to use the emphasis style.
|
|
14286
|
-
*/
|
|
14287
|
-
emphasis: {
|
|
14288
|
-
type: Boolean,
|
|
14289
|
-
reflect: true
|
|
14290
|
-
},
|
|
14291
|
-
|
|
14292
|
-
/**
|
|
14293
|
-
* Sets the icon to use the error style.
|
|
14294
|
-
*/
|
|
14295
|
-
error: {
|
|
14296
|
-
type: Boolean,
|
|
14297
|
-
reflect: true
|
|
14298
|
-
},
|
|
14299
|
-
|
|
14300
|
-
/**
|
|
14301
|
-
* Sets the icon to use the info style.
|
|
14302
|
-
*/
|
|
14303
|
-
info: {
|
|
14304
|
-
type: Boolean,
|
|
14305
|
-
reflect: true
|
|
14306
|
-
},
|
|
14307
|
-
|
|
14308
13613
|
/**
|
|
14309
13614
|
* Exposes content in slot as icon label.
|
|
14310
13615
|
*/
|
|
@@ -14322,50 +13627,10 @@ class AuroIcon extends BaseIcon {
|
|
|
14322
13627
|
},
|
|
14323
13628
|
|
|
14324
13629
|
/**
|
|
14325
|
-
*
|
|
14326
|
-
*/
|
|
14327
|
-
primary: {
|
|
14328
|
-
type: Boolean,
|
|
14329
|
-
reflect: true
|
|
14330
|
-
},
|
|
14331
|
-
|
|
14332
|
-
/**
|
|
14333
|
-
* Sets the icon to use the secondary style.
|
|
14334
|
-
*/
|
|
14335
|
-
secondary: {
|
|
14336
|
-
type: Boolean,
|
|
14337
|
-
reflect: true
|
|
14338
|
-
},
|
|
14339
|
-
|
|
14340
|
-
/**
|
|
14341
|
-
* Sets the icon to use the subtle style.
|
|
14342
|
-
*/
|
|
14343
|
-
subtle: {
|
|
14344
|
-
type: Boolean,
|
|
14345
|
-
reflect: true
|
|
14346
|
-
},
|
|
14347
|
-
|
|
14348
|
-
/**
|
|
14349
|
-
* Sets the icon to use the success style.
|
|
13630
|
+
* 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`.
|
|
14350
13631
|
*/
|
|
14351
|
-
|
|
14352
|
-
type:
|
|
14353
|
-
reflect: true
|
|
14354
|
-
},
|
|
14355
|
-
|
|
14356
|
-
/**
|
|
14357
|
-
* Sets the icon to use the tertiary style.
|
|
14358
|
-
*/
|
|
14359
|
-
tertiary: {
|
|
14360
|
-
type: Boolean,
|
|
14361
|
-
reflect: true
|
|
14362
|
-
},
|
|
14363
|
-
|
|
14364
|
-
/**
|
|
14365
|
-
* Sets the icon to use the warning style.
|
|
14366
|
-
*/
|
|
14367
|
-
warning: {
|
|
14368
|
-
type: Boolean,
|
|
13632
|
+
variant: {
|
|
13633
|
+
type: String,
|
|
14369
13634
|
reflect: true
|
|
14370
13635
|
}
|
|
14371
13636
|
};
|
|
@@ -14389,7 +13654,7 @@ class AuroIcon extends BaseIcon {
|
|
|
14389
13654
|
*
|
|
14390
13655
|
*/
|
|
14391
13656
|
static register(name = "auro-icon") {
|
|
14392
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
13657
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroIcon);
|
|
14393
13658
|
}
|
|
14394
13659
|
|
|
14395
13660
|
connectedCallback() {
|
|
@@ -14455,7 +13720,7 @@ class AuroIcon extends BaseIcon {
|
|
|
14455
13720
|
}
|
|
14456
13721
|
}
|
|
14457
13722
|
|
|
14458
|
-
var iconVersion = '
|
|
13723
|
+
var iconVersion = '8.0.1';
|
|
14459
13724
|
|
|
14460
13725
|
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>"};
|
|
14461
13726
|
|
|
@@ -14480,7 +13745,7 @@ class AuroMenuOption extends r$1 {
|
|
|
14480
13745
|
/**
|
|
14481
13746
|
* Generate unique names for dependency components.
|
|
14482
13747
|
*/
|
|
14483
|
-
const versioning = new AuroDependencyVersioning$
|
|
13748
|
+
const versioning = new AuroDependencyVersioning$3();
|
|
14484
13749
|
this.iconTag = versioning.generateTag('auro-formkit-menuoption-icon', iconVersion, AuroIcon);
|
|
14485
13750
|
|
|
14486
13751
|
this.selected = false;
|
|
@@ -14495,7 +13760,7 @@ class AuroMenuOption extends r$1 {
|
|
|
14495
13760
|
/**
|
|
14496
13761
|
* @private
|
|
14497
13762
|
*/
|
|
14498
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
13763
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
14499
13764
|
}
|
|
14500
13765
|
|
|
14501
13766
|
static get properties() {
|
|
@@ -14539,7 +13804,7 @@ class AuroMenuOption extends r$1 {
|
|
|
14539
13804
|
*
|
|
14540
13805
|
*/
|
|
14541
13806
|
static register(name = "auro-menuoption") {
|
|
14542
|
-
AuroLibraryRuntimeUtils$
|
|
13807
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroMenuOption);
|
|
14543
13808
|
}
|
|
14544
13809
|
|
|
14545
13810
|
firstUpdated() {
|