@aurodesignsystem/auro-formkit 2.0.2 → 2.1.0-beta.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 +19 -0
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +281 -135
- package/components/bibtemplate/dist/registered.js +281 -135
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.min.js +30 -56
- package/components/checkbox/demo/index.min.js +30 -56
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/index.js +28 -101
- package/components/checkbox/dist/registered.js +28 -101
- package/components/combobox/README.md +1 -1
- package/components/combobox/demo/api.min.js +1289 -734
- package/components/combobox/demo/index.min.js +1289 -734
- package/components/combobox/demo/readme.md +1 -1
- package/components/combobox/dist/index.js +1024 -632
- package/components/combobox/dist/registered.js +1024 -632
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.min.js +971 -435
- package/components/counter/demo/index.js +1 -0
- package/components/counter/demo/index.min.js +972 -435
- package/components/counter/demo/readme.md +1 -1
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +972 -483
- package/components/counter/dist/registered.js +972 -483
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.md +30 -0
- package/components/datepicker/demo/api.min.js +1818 -735
- package/components/datepicker/demo/index.min.js +1818 -735
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/auro-calendar.d.ts +5 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +7 -0
- package/components/datepicker/dist/buttonVersion.d.ts +2 -0
- package/components/datepicker/dist/index.js +1830 -817
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +1830 -817
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.min.js +231 -117
- package/components/dropdown/demo/index.min.js +231 -117
- package/components/dropdown/demo/readme.md +1 -1
- package/components/dropdown/dist/index.js +232 -165
- package/components/dropdown/dist/registered.js +232 -165
- package/components/form/README.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/form/dist/index.js +4 -28
- package/components/form/dist/registered.js +4 -28
- package/components/helptext/dist/index.js +6 -30
- package/components/helptext/dist/registered.js +6 -30
- package/components/input/README.md +1 -1
- package/components/input/demo/api.min.js +471 -164
- package/components/input/demo/index.min.js +471 -164
- package/components/input/demo/readme.md +1 -1
- package/components/input/dist/index.js +468 -220
- package/components/input/dist/registered.js +468 -220
- package/components/menu/README.md +1 -1
- package/components/menu/demo/api.min.js +183 -60
- package/components/menu/demo/index.min.js +183 -60
- package/components/menu/demo/readme.md +1 -1
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +205 -129
- package/components/menu/dist/registered.js +205 -129
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.min.js +30 -56
- package/components/radio/demo/index.min.js +30 -56
- package/components/radio/demo/readme.md +1 -1
- package/components/radio/dist/index.js +28 -101
- package/components/radio/dist/registered.js +28 -101
- package/components/select/README.md +1 -1
- package/components/select/demo/api.min.js +736 -436
- package/components/select/demo/index.min.js +736 -436
- package/components/select/demo/readme.md +1 -1
- package/components/select/dist/index.js +538 -402
- package/components/select/dist/registered.js +538 -402
- package/package.json +4 -2
|
@@ -26,39 +26,39 @@ function swapValueExample() {
|
|
|
26
26
|
* Copyright 2019 Google LLC
|
|
27
27
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
28
28
|
*/
|
|
29
|
-
const t$
|
|
29
|
+
const t$3=globalThis,e$4=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$3=Symbol(),o$4=new WeakMap;let n$3 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$3)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$4&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$4.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$4.set(s,t));}return t}toString(){return this.cssText}};const r$4=t=>new n$3("string"==typeof t?t:t+"",void 0,s$3),i$5=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$3(o,t,s$3)},S$1=(s,o)=>{if(e$4)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$3.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$3=e$4?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$4(e)})(t):t;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright 2017 Google LLC
|
|
34
34
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
-
*/const{is:i$
|
|
35
|
+
*/const{is:i$4,defineProperty:e$3,getOwnPropertyDescriptor:r$3,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$3,getPrototypeOf:n$2}=Object,a$2=globalThis,c$2=a$2.trustedTypes,l$2=c$2?c$2.emptyScript:"",p$2=a$2.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$4={toAttribute(t,s){switch(s){case Boolean:t=t?l$2:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$4(t,s),y$1={attribute:true,type:String,converter:u$4,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$2.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$3(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$3(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$2(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$3(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$3(s));}else void 0!==s&&i.push(c$3(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$4).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$4;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$2?.({ReactiveElement:b}),(a$2.reactiveElementVersions??=[]).push("2.0.4");
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
41
|
*/
|
|
42
|
-
const t$
|
|
42
|
+
const t$2=globalThis,i$3=t$2.trustedTypes,s$2=i$3?i$3.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$2="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o$2="?"+h,n$1=`<${o$2}>`,r$2=document,l$1=()=>r$2.createComment(""),c$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u$3=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_=/>/g,m$1=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$2.createTreeWalker(r$2,129);function P(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$2?s$2.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g:p$1):c===g||c===p$1?c=m$1:c===v$1||c===_?c=f:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n$1:d>=0?(o.push(a),s.slice(0,d)+e$2+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$2)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$3?i$3.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$1()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$1());}}}else if(8===r.nodeType)if(r.data===o$2)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$2.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$1(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}let M$1 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$2).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$2,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c$1(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$3(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c$1(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$2.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$1()),this.O(l$1()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S(this,t,i,0),o=!c$1(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c$1(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const Z={I:R},j=t$2.litHtmlPolyfillSupport;j?.(N,R),(t$2.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l$1(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* @license
|
|
46
46
|
* Copyright 2017 Google LLC
|
|
47
47
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
48
|
-
*/let r$
|
|
48
|
+
*/let r$1 = class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}};r$1._$litElement$=true,r$1["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$1});const i$2=globalThis.litElementPolyfillSupport;i$2?.({LitElement:r$1});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* @license
|
|
52
52
|
* Copyright 2020 Google LLC
|
|
53
53
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
54
54
|
*/
|
|
55
|
-
const a
|
|
55
|
+
const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s$1=t=>({_$litStatic$:t,r:a}),i$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a}),l=new Map,n=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$1(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l.get(t))&&(n.raw=n,l.set(t,r=n)),e=u;}return t(r,...e)},u$2=n(x);
|
|
56
56
|
|
|
57
57
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
58
58
|
// See LICENSE in the project root for license information.
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
let AuroDependencyVersioning$
|
|
61
|
+
let AuroDependencyVersioning$4 = class AuroDependencyVersioning {
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -84,7 +84,7 @@ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
|
84
84
|
*/
|
|
85
85
|
generateTag(baseName, version, tagClass) {
|
|
86
86
|
const elementName = this.generateElementName(baseName, version);
|
|
87
|
-
const tag = i$
|
|
87
|
+
const tag = i$1`${s$1(elementName)}`;
|
|
88
88
|
|
|
89
89
|
if (!customElements.get(elementName)) {
|
|
90
90
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -101,7 +101,7 @@ let AuroDependencyVersioning$3 = 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$7 = class AuroLibraryRuntimeUtils {
|
|
105
105
|
|
|
106
106
|
/* eslint-disable jsdoc/require-param */
|
|
107
107
|
|
|
@@ -170,7 +170,7 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
|
170
170
|
|
|
171
171
|
let AuroFormValidation$1 = class AuroFormValidation {
|
|
172
172
|
constructor() {
|
|
173
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
173
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
/**
|
|
@@ -480,33 +480,19 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
480
480
|
* Copyright 2017 Google LLC
|
|
481
481
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
482
482
|
*/
|
|
483
|
-
const t$
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
* @license
|
|
487
|
-
* Copyright 2020 Google LLC
|
|
488
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
489
|
-
*/
|
|
490
|
-
const a$3$1=Symbol.for(""),o$6$1=t=>{if(t?.r===a$3$1)return t?._$litStatic$},s$3$1=t=>({_$litStatic$:t,r:a$3$1}),i$8$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$3$1}),l$3$1=new Map,n$5$1=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$6$1(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$3$1.get(t))&&(n.raw=n,l$3$1.set(t,r=n)),e=u;}return t(r,...e)},u$3$1=n$5$1(x$1$1);
|
|
491
|
-
|
|
492
|
-
/**
|
|
493
|
-
* @license
|
|
494
|
-
* Copyright 2019 Google LLC
|
|
495
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
496
|
-
*/
|
|
497
|
-
const t$3$2=globalThis,e$6$1=t$3$2.ShadowRoot&&(void 0===t$3$2.ShadyCSS||t$3$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$3=Symbol(),o$5$2=new WeakMap;let n$4$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2$3)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$6$1&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$5$2.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$5$2.set(s,t));}return t}toString(){return this.cssText}};const r$6$1=t=>new n$4$1("string"==typeof t?t:t+"",void 0,s$2$3),i$7$1=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$4$1(o,t,s$2$3)},S$2$2=(s,o)=>{if(e$6$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$3$2.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4$1=e$6$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6$1(e)})(t):t;
|
|
483
|
+
const t$1={ATTRIBUTE:1,CHILD:2},e$1=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
|
|
498
484
|
|
|
499
485
|
/**
|
|
500
486
|
* @license
|
|
501
|
-
* Copyright
|
|
487
|
+
* Copyright 2018 Google LLC
|
|
502
488
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
503
|
-
*/const
|
|
489
|
+
*/const e=e$1(class extends i{constructor(t){if(super(t),t.type!==t$1.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T}});
|
|
504
490
|
|
|
505
491
|
/**
|
|
506
492
|
* @license
|
|
507
|
-
* Copyright
|
|
493
|
+
* Copyright 2018 Google LLC
|
|
508
494
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
509
|
-
*/
|
|
495
|
+
*/const o=o=>o??E;
|
|
510
496
|
|
|
511
497
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
512
498
|
// See LICENSE in the project root for license information.
|
|
@@ -515,7 +501,7 @@ const t$3$2=globalThis,e$6$1=t$3$2.ShadowRoot&&(void 0===t$3$2.ShadyCSS||t$3$2.S
|
|
|
515
501
|
|
|
516
502
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
517
503
|
|
|
518
|
-
let AuroLibraryRuntimeUtils$
|
|
504
|
+
let AuroLibraryRuntimeUtils$2$2 = class AuroLibraryRuntimeUtils {
|
|
519
505
|
|
|
520
506
|
/* eslint-disable jsdoc/require-param */
|
|
521
507
|
|
|
@@ -1307,7 +1293,8 @@ function isContainingBlock(elementOrCss) {
|
|
|
1307
1293
|
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
1308
1294
|
|
|
1309
1295
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1310
|
-
|
|
1296
|
+
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
1297
|
+
return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
1311
1298
|
}
|
|
1312
1299
|
function getContainingBlock(element) {
|
|
1313
1300
|
let currentNode = getParentNode(element);
|
|
@@ -1865,6 +1852,10 @@ const platform = {
|
|
|
1865
1852
|
isRTL
|
|
1866
1853
|
};
|
|
1867
1854
|
|
|
1855
|
+
function rectsAreEqual(a, b) {
|
|
1856
|
+
return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1868
1859
|
// https://samthor.au/2021/observing-dom/
|
|
1869
1860
|
function observeMove(element, onMove) {
|
|
1870
1861
|
let io = null;
|
|
@@ -1884,12 +1875,13 @@ function observeMove(element, onMove) {
|
|
|
1884
1875
|
threshold = 1;
|
|
1885
1876
|
}
|
|
1886
1877
|
cleanup();
|
|
1878
|
+
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
1887
1879
|
const {
|
|
1888
1880
|
left,
|
|
1889
1881
|
top,
|
|
1890
1882
|
width,
|
|
1891
1883
|
height
|
|
1892
|
-
} =
|
|
1884
|
+
} = elementRectForRootMargin;
|
|
1893
1885
|
if (!skip) {
|
|
1894
1886
|
onMove();
|
|
1895
1887
|
}
|
|
@@ -1922,6 +1914,16 @@ function observeMove(element, onMove) {
|
|
|
1922
1914
|
refresh(false, ratio);
|
|
1923
1915
|
}
|
|
1924
1916
|
}
|
|
1917
|
+
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
1918
|
+
// It's possible that even though the ratio is reported as 1, the
|
|
1919
|
+
// element is not actually fully within the IntersectionObserver's root
|
|
1920
|
+
// area anymore. This can happen under performance constraints. This may
|
|
1921
|
+
// be a bug in the browser's IntersectionObserver implementation. To
|
|
1922
|
+
// work around this, we compare the element's bounding rect now with
|
|
1923
|
+
// what it was at the time we created the IntersectionObserver. If they
|
|
1924
|
+
// are not equal then the element moved, so we refresh.
|
|
1925
|
+
refresh();
|
|
1926
|
+
}
|
|
1925
1927
|
isFirstUpdate = false;
|
|
1926
1928
|
}
|
|
1927
1929
|
|
|
@@ -1999,7 +2001,7 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1999
2001
|
}
|
|
2000
2002
|
function frameLoop() {
|
|
2001
2003
|
const nextRefRect = getBoundingClientRect(reference);
|
|
2002
|
-
if (prevRefRect && (
|
|
2004
|
+
if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
|
|
2003
2005
|
update();
|
|
2004
2006
|
}
|
|
2005
2007
|
prevRefRect = nextRefRect;
|
|
@@ -2312,11 +2314,11 @@ class AuroFloatingUI {
|
|
|
2312
2314
|
|
|
2313
2315
|
updateCurrentExpandedDropdown() {
|
|
2314
2316
|
// Close any other dropdown that is already open
|
|
2315
|
-
if (document.
|
|
2316
|
-
|
|
2317
|
+
if (document.expandedAuroFormkitDropdown) {
|
|
2318
|
+
document.expandedAuroFormkitDropdown.hide;
|
|
2317
2319
|
}
|
|
2318
2320
|
|
|
2319
|
-
document.
|
|
2321
|
+
document.expandedAuroFormkitDropdown = this;
|
|
2320
2322
|
}
|
|
2321
2323
|
|
|
2322
2324
|
showBib() {
|
|
@@ -2504,7 +2506,7 @@ class AuroFloatingUI {
|
|
|
2504
2506
|
// See LICENSE in the project root for license information.
|
|
2505
2507
|
|
|
2506
2508
|
|
|
2507
|
-
let AuroDependencyVersioning$
|
|
2509
|
+
let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
2508
2510
|
|
|
2509
2511
|
/**
|
|
2510
2512
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -2530,7 +2532,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
2530
2532
|
*/
|
|
2531
2533
|
generateTag(baseName, version, tagClass) {
|
|
2532
2534
|
const elementName = this.generateElementName(baseName, version);
|
|
2533
|
-
const tag = i$
|
|
2535
|
+
const tag = i$1`${s$1(elementName)}`;
|
|
2534
2536
|
|
|
2535
2537
|
if (!customElements.get(elementName)) {
|
|
2536
2538
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -2540,25 +2542,6 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
2540
2542
|
}
|
|
2541
2543
|
};
|
|
2542
2544
|
|
|
2543
|
-
/**
|
|
2544
|
-
* @license
|
|
2545
|
-
* Copyright 2017 Google LLC
|
|
2546
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2547
|
-
*/
|
|
2548
|
-
const t$2$3={ATTRIBUTE:1},e$4$3=t=>(...e)=>({_$litDirective$:t,values:e});let i$4$3 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
2549
|
-
|
|
2550
|
-
/**
|
|
2551
|
-
* @license
|
|
2552
|
-
* Copyright 2018 Google LLC
|
|
2553
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2554
|
-
*/const e$3$3=e$4$3(class extends i$4$3{constructor(t){if(super(t),t.type!==t$2$3.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1$2}});
|
|
2555
|
-
|
|
2556
|
-
/**
|
|
2557
|
-
* @license
|
|
2558
|
-
* Copyright 2018 Google LLC
|
|
2559
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2560
|
-
*/const o$3$3=o=>o??E$1$2;
|
|
2561
|
-
|
|
2562
2545
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2563
2546
|
// See LICENSE in the project root for license information.
|
|
2564
2547
|
|
|
@@ -2569,7 +2552,7 @@ const t$2$3={ATTRIBUTE:1},e$4$3=t=>(...e)=>({_$litDirective$:t,values:e});let i$
|
|
|
2569
2552
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
2570
2553
|
*/
|
|
2571
2554
|
|
|
2572
|
-
let AuroElement$3 = class AuroElement extends r$
|
|
2555
|
+
let AuroElement$3 = class AuroElement extends r$1 {
|
|
2573
2556
|
|
|
2574
2557
|
// function to define props used within the scope of this component
|
|
2575
2558
|
static get properties() {
|
|
@@ -2625,7 +2608,7 @@ const cacheFetch$3 = (uri, options = {}) => {
|
|
|
2625
2608
|
return _fetchMap$3.get(uri);
|
|
2626
2609
|
};
|
|
2627
2610
|
|
|
2628
|
-
var styleCss$3$2 = i$
|
|
2611
|
+
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}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}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}`;
|
|
2629
2612
|
|
|
2630
2613
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2631
2614
|
// See LICENSE in the project root for license information.
|
|
@@ -2664,7 +2647,7 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
|
2664
2647
|
}
|
|
2665
2648
|
|
|
2666
2649
|
static get styles() {
|
|
2667
|
-
return i$
|
|
2650
|
+
return i$5`
|
|
2668
2651
|
${styleCss$3$2}
|
|
2669
2652
|
`;
|
|
2670
2653
|
}
|
|
@@ -2706,47 +2689,88 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$3 {
|
|
|
2706
2689
|
}
|
|
2707
2690
|
};
|
|
2708
2691
|
|
|
2709
|
-
var tokensCss$2$2 = i$
|
|
2692
|
+
var tokensCss$2$2 = i$5`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
2710
2693
|
|
|
2711
|
-
var colorCss$3$2 = i$
|
|
2694
|
+
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)}`;
|
|
2712
2695
|
|
|
2713
|
-
// Copyright (c)
|
|
2696
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
2714
2697
|
// See LICENSE in the project root for license information.
|
|
2715
2698
|
|
|
2699
|
+
// ---------------------------------------------------------------------
|
|
2700
|
+
|
|
2701
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
2702
|
+
|
|
2703
|
+
let AuroLibraryRuntimeUtils$1$2 = class AuroLibraryRuntimeUtils {
|
|
2704
|
+
|
|
2705
|
+
/* eslint-disable jsdoc/require-param */
|
|
2706
|
+
|
|
2707
|
+
/**
|
|
2708
|
+
* This will register a new custom element with the browser.
|
|
2709
|
+
* @param {String} name - The name of the custom element.
|
|
2710
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
2711
|
+
* @returns {void}
|
|
2712
|
+
*/
|
|
2713
|
+
registerComponent(name, componentClass) {
|
|
2714
|
+
if (!customElements.get(name)) {
|
|
2715
|
+
customElements.define(name, class extends componentClass {});
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
|
|
2719
|
+
/**
|
|
2720
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
2721
|
+
* @returns {void}
|
|
2722
|
+
*/
|
|
2723
|
+
closestElement(
|
|
2724
|
+
selector, // selector like in .closest()
|
|
2725
|
+
base = this, // extra functionality to skip a parent
|
|
2726
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
2727
|
+
!el || el === document || el === window
|
|
2728
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
2729
|
+
: found
|
|
2730
|
+
? found // found a selector INside this element
|
|
2731
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
2732
|
+
) {
|
|
2733
|
+
return __Closest(base);
|
|
2734
|
+
}
|
|
2735
|
+
/* eslint-enable jsdoc/require-param */
|
|
2736
|
+
|
|
2737
|
+
/**
|
|
2738
|
+
* 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.
|
|
2739
|
+
* @param {Object} elem - The element to check.
|
|
2740
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
2741
|
+
* @returns {void}
|
|
2742
|
+
*/
|
|
2743
|
+
handleComponentTagRename(elem, tagName) {
|
|
2744
|
+
const tag = tagName.toLowerCase();
|
|
2745
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
2746
|
+
|
|
2747
|
+
if (elemTag !== tag) {
|
|
2748
|
+
elem.setAttribute(tag, true);
|
|
2749
|
+
}
|
|
2750
|
+
}
|
|
2751
|
+
|
|
2752
|
+
/**
|
|
2753
|
+
* Validates if an element is a specific Auro component.
|
|
2754
|
+
* @param {Object} elem - The element to validate.
|
|
2755
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
2756
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
2757
|
+
*/
|
|
2758
|
+
elementMatch(elem, tagName) {
|
|
2759
|
+
const tag = tagName.toLowerCase();
|
|
2760
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
2761
|
+
|
|
2762
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
2763
|
+
}
|
|
2764
|
+
};
|
|
2765
|
+
|
|
2766
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2767
|
+
// See LICENSE in the project root for license information.
|
|
2716
2768
|
|
|
2717
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
2718
|
-
/**
|
|
2719
|
-
* auro-icon provides users a way to use the Auro Icons by simply passing in the category and name.
|
|
2720
|
-
*
|
|
2721
|
-
* @attr {String} category - The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
|
|
2722
|
-
* @attr {String} name - The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage
|
|
2723
|
-
* @attr {Boolean} customColor - Removes primary selector.
|
|
2724
|
-
* @attr {Boolean} customSvg - When true, auro-icon will render a custom SVG inside the default slot.
|
|
2725
|
-
* @attr {Boolean} label - Exposes content in slot as icon label.
|
|
2726
|
-
* @attr {Boolean} primary - DEPRECATED: Sets the icon to use the baseline primary icon style.
|
|
2727
|
-
* @attr {Boolean} accent - Sets the icon to use the accent style.
|
|
2728
|
-
* @attr {Boolean} emphasis - Sets the icon to use the emphasis style.
|
|
2729
|
-
* @attr {Boolean} disabled - Sets the icon to use the disabled style.
|
|
2730
|
-
* @attr {Boolean} error - Sets the icon to use the error style.
|
|
2731
|
-
* @attr {Boolean} info - Sets the icon to use the info style.
|
|
2732
|
-
* @attr {Boolean} secondary - Sets the icon to use the secondary style.
|
|
2733
|
-
* @attr {Boolean} tertiary - Sets the icon to use the tertiary style.
|
|
2734
|
-
* @attr {Boolean} subtle - Sets the icon to use the subtle style.
|
|
2735
|
-
* @attr {Boolean} success - Sets the icon to use the success style.
|
|
2736
|
-
* @attr {Boolean} warning - Sets the icon to use the warning style.
|
|
2737
|
-
* @attr {String} ariaHidden - Set aria-hidden value. Default is `true`. Option is `false`.
|
|
2738
|
-
* @attr {String} uri - Set the uri for CDN used when fetching icons
|
|
2739
|
-
* @slot - Hidden from visibility, used for a11y if icon description is needed.
|
|
2740
|
-
* @slot svg - Used for custom SVG content.
|
|
2741
|
-
*/
|
|
2742
2769
|
|
|
2743
|
-
// build the component class
|
|
2744
2770
|
let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
2745
2771
|
constructor() {
|
|
2746
2772
|
super();
|
|
2747
2773
|
|
|
2748
|
-
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
2749
|
-
|
|
2750
2774
|
this.privateDefaults();
|
|
2751
2775
|
}
|
|
2752
2776
|
|
|
@@ -2770,78 +2794,144 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
2770
2794
|
this.success = false;
|
|
2771
2795
|
this.tertiary = false;
|
|
2772
2796
|
this.warning = false;
|
|
2773
|
-
this.
|
|
2797
|
+
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
2798
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$2();
|
|
2774
2799
|
}
|
|
2775
2800
|
|
|
2776
2801
|
// function to define props used within the scope of this component
|
|
2777
2802
|
static get properties() {
|
|
2778
2803
|
return {
|
|
2779
2804
|
...super.properties,
|
|
2805
|
+
|
|
2806
|
+
/**
|
|
2807
|
+
* Sets the icon to use the accent style.
|
|
2808
|
+
*/
|
|
2780
2809
|
accent: {
|
|
2781
2810
|
type: Boolean,
|
|
2782
2811
|
reflect: true
|
|
2783
2812
|
},
|
|
2813
|
+
|
|
2814
|
+
/**
|
|
2815
|
+
* Set aria-hidden value. Default is `true`. Option is `false`.
|
|
2816
|
+
*/
|
|
2784
2817
|
ariaHidden: {
|
|
2785
2818
|
type: String,
|
|
2786
2819
|
reflect: true
|
|
2787
2820
|
},
|
|
2821
|
+
|
|
2822
|
+
/**
|
|
2823
|
+
* The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
|
|
2824
|
+
*/
|
|
2788
2825
|
category: {
|
|
2789
2826
|
type: String,
|
|
2790
2827
|
reflect: true
|
|
2791
2828
|
},
|
|
2829
|
+
|
|
2830
|
+
/**
|
|
2831
|
+
* Allows custom color to be set.
|
|
2832
|
+
*/
|
|
2792
2833
|
customColor: {
|
|
2793
2834
|
type: Boolean
|
|
2794
2835
|
},
|
|
2836
|
+
|
|
2837
|
+
/**
|
|
2838
|
+
* When true, auro-icon will render a custom SVG inside the default slot.
|
|
2839
|
+
*/
|
|
2795
2840
|
customSvg: {
|
|
2796
2841
|
type: Boolean
|
|
2797
2842
|
},
|
|
2843
|
+
|
|
2844
|
+
/**
|
|
2845
|
+
* Sets the icon to use the disabled style.
|
|
2846
|
+
*/
|
|
2798
2847
|
disabled: {
|
|
2799
2848
|
type: Boolean,
|
|
2800
2849
|
reflect: true
|
|
2801
2850
|
},
|
|
2851
|
+
|
|
2852
|
+
/**
|
|
2853
|
+
* Sets the icon to use the emphasis style.
|
|
2854
|
+
*/
|
|
2802
2855
|
emphasis: {
|
|
2803
2856
|
type: Boolean,
|
|
2804
2857
|
reflect: true
|
|
2805
2858
|
},
|
|
2859
|
+
|
|
2860
|
+
/**
|
|
2861
|
+
* Sets the icon to use the error style.
|
|
2862
|
+
*/
|
|
2806
2863
|
error: {
|
|
2807
2864
|
type: Boolean,
|
|
2808
2865
|
reflect: true
|
|
2809
2866
|
},
|
|
2867
|
+
|
|
2868
|
+
/**
|
|
2869
|
+
* Sets the icon to use the info style.
|
|
2870
|
+
*/
|
|
2810
2871
|
info: {
|
|
2811
2872
|
type: Boolean,
|
|
2812
2873
|
reflect: true
|
|
2813
2874
|
},
|
|
2875
|
+
|
|
2876
|
+
/**
|
|
2877
|
+
* Exposes content in slot as icon label.
|
|
2878
|
+
*/
|
|
2814
2879
|
label: {
|
|
2815
2880
|
type: Boolean,
|
|
2816
2881
|
reflect: true
|
|
2817
2882
|
},
|
|
2883
|
+
|
|
2884
|
+
/**
|
|
2885
|
+
* The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage.
|
|
2886
|
+
*/
|
|
2818
2887
|
name: {
|
|
2819
2888
|
type: String,
|
|
2820
2889
|
reflect: true
|
|
2821
2890
|
},
|
|
2891
|
+
|
|
2892
|
+
/**
|
|
2893
|
+
* DEPRECATED: Sets the icon to use the baseline primary icon style.
|
|
2894
|
+
*/
|
|
2822
2895
|
primary: {
|
|
2823
2896
|
type: Boolean,
|
|
2824
2897
|
reflect: true
|
|
2825
2898
|
},
|
|
2899
|
+
|
|
2900
|
+
/**
|
|
2901
|
+
* Sets the icon to use the secondary style.
|
|
2902
|
+
*/
|
|
2826
2903
|
secondary: {
|
|
2827
2904
|
type: Boolean,
|
|
2828
2905
|
reflect: true
|
|
2829
2906
|
},
|
|
2907
|
+
|
|
2908
|
+
/**
|
|
2909
|
+
* Sets the icon to use the subtle style.
|
|
2910
|
+
*/
|
|
2830
2911
|
subtle: {
|
|
2831
2912
|
type: Boolean,
|
|
2832
2913
|
reflect: true
|
|
2833
2914
|
},
|
|
2915
|
+
|
|
2916
|
+
/**
|
|
2917
|
+
* Sets the icon to use the success style.
|
|
2918
|
+
*/
|
|
2834
2919
|
success: {
|
|
2835
2920
|
type: Boolean,
|
|
2836
2921
|
reflect: true
|
|
2837
2922
|
},
|
|
2923
|
+
|
|
2924
|
+
/**
|
|
2925
|
+
* Sets the icon to use the tertiary style.
|
|
2926
|
+
*/
|
|
2838
2927
|
tertiary: {
|
|
2839
2928
|
type: Boolean,
|
|
2840
2929
|
reflect: true
|
|
2841
2930
|
},
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2931
|
+
|
|
2932
|
+
/**
|
|
2933
|
+
* Sets the icon to use the warning style.
|
|
2934
|
+
*/
|
|
2845
2935
|
warning: {
|
|
2846
2936
|
type: Boolean,
|
|
2847
2937
|
reflect: true
|
|
@@ -2852,9 +2942,9 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
2852
2942
|
static get styles() {
|
|
2853
2943
|
return [
|
|
2854
2944
|
super.styles,
|
|
2855
|
-
i$
|
|
2856
|
-
i$
|
|
2857
|
-
i$
|
|
2945
|
+
i$5`${tokensCss$2$2}`,
|
|
2946
|
+
i$5`${styleCss$3$2}`,
|
|
2947
|
+
i$5`${colorCss$3$2}`
|
|
2858
2948
|
];
|
|
2859
2949
|
}
|
|
2860
2950
|
|
|
@@ -2867,7 +2957,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
2867
2957
|
*
|
|
2868
2958
|
*/
|
|
2869
2959
|
static register(name = "auro-icon") {
|
|
2870
|
-
AuroLibraryRuntimeUtils$1$
|
|
2960
|
+
AuroLibraryRuntimeUtils$1$2.prototype.registerComponent(name, AuroIcon);
|
|
2871
2961
|
}
|
|
2872
2962
|
|
|
2873
2963
|
connectedCallback() {
|
|
@@ -2878,38 +2968,54 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
2878
2968
|
}
|
|
2879
2969
|
|
|
2880
2970
|
/**
|
|
2971
|
+
* @private
|
|
2881
2972
|
* @returns {void} Exposes CSS parts for styling from parent components.
|
|
2882
2973
|
*/
|
|
2883
2974
|
exposeCssParts() {
|
|
2884
2975
|
this.setAttribute('exportparts', 'svg:iconSvg');
|
|
2885
2976
|
}
|
|
2886
2977
|
|
|
2978
|
+
async firstUpdated() {
|
|
2979
|
+
await super.firstUpdated();
|
|
2980
|
+
|
|
2981
|
+
// Removes the SVG description for screenreader if ariaHidden is set to true
|
|
2982
|
+
if (!this.hasAttribute('ariaHidden') && this.svg) {
|
|
2983
|
+
const svgDesc = this.svg.querySelector('desc');
|
|
2984
|
+
|
|
2985
|
+
if (svgDesc) {
|
|
2986
|
+
svgDesc.remove();
|
|
2987
|
+
this.svg.removeAttribute('aria-labelledby');
|
|
2988
|
+
}
|
|
2989
|
+
}
|
|
2990
|
+
}
|
|
2991
|
+
|
|
2887
2992
|
// function that renders the HTML and CSS into the scope of the component
|
|
2888
2993
|
render() {
|
|
2889
|
-
const
|
|
2890
|
-
'
|
|
2994
|
+
const labelClasses = {
|
|
2995
|
+
'labelWrapper': true,
|
|
2891
2996
|
'util_displayHiddenVisually': !this.label
|
|
2892
2997
|
};
|
|
2893
2998
|
|
|
2894
|
-
const
|
|
2895
|
-
'
|
|
2896
|
-
'wrapper': true,
|
|
2999
|
+
const svgClasses = {
|
|
3000
|
+
'svgWrapper': true,
|
|
2897
3001
|
};
|
|
2898
3002
|
|
|
2899
|
-
return x
|
|
2900
|
-
<div
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
${this.
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
3003
|
+
return x`
|
|
3004
|
+
<div class="componentWrapper">
|
|
3005
|
+
<div
|
|
3006
|
+
class="${e(svgClasses)}"
|
|
3007
|
+
title="${o(this.title || undefined)}">
|
|
3008
|
+
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
3009
|
+
${this.customSvg ? x`
|
|
3010
|
+
<slot name="svg"></slot>
|
|
3011
|
+
` : x`
|
|
3012
|
+
${this.svg}
|
|
3013
|
+
`
|
|
3014
|
+
}
|
|
3015
|
+
</span>
|
|
3016
|
+
</div>
|
|
2911
3017
|
|
|
2912
|
-
<div class="${e
|
|
3018
|
+
<div class="${e(labelClasses)}">
|
|
2913
3019
|
<slot></slot>
|
|
2914
3020
|
</div>
|
|
2915
3021
|
</div>
|
|
@@ -2919,11 +3025,11 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
2919
3025
|
|
|
2920
3026
|
var iconVersion$3 = '6.1.2';
|
|
2921
3027
|
|
|
2922
|
-
var styleCss$2$3 = i$
|
|
3028
|
+
var styleCss$2$3 = i$5`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
|
|
2923
3029
|
|
|
2924
|
-
var colorCss$2$2 = i$
|
|
3030
|
+
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)}`;
|
|
2925
3031
|
|
|
2926
|
-
var tokensCss$1$2 = i$
|
|
3032
|
+
var tokensCss$1$2 = i$5`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-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-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
2927
3033
|
|
|
2928
3034
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2929
3035
|
// See LICENSE in the project root for license information.
|
|
@@ -2943,7 +3049,7 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
|
2943
3049
|
* @csspart bibContainer - Apply css to the bib container.
|
|
2944
3050
|
*/
|
|
2945
3051
|
|
|
2946
|
-
class AuroDropdownBib extends r$
|
|
3052
|
+
class AuroDropdownBib extends r$1 {
|
|
2947
3053
|
|
|
2948
3054
|
constructor() {
|
|
2949
3055
|
super();
|
|
@@ -2953,7 +3059,7 @@ class AuroDropdownBib extends r$4$2 {
|
|
|
2953
3059
|
*/
|
|
2954
3060
|
this._mobileBreakpointValue = undefined;
|
|
2955
3061
|
|
|
2956
|
-
AuroLibraryRuntimeUtils$
|
|
3062
|
+
AuroLibraryRuntimeUtils$2$2.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
2957
3063
|
}
|
|
2958
3064
|
|
|
2959
3065
|
static get styles() {
|
|
@@ -3034,7 +3140,7 @@ class AuroDropdownBib extends r$4$2 {
|
|
|
3034
3140
|
|
|
3035
3141
|
// function that renders the HTML and CSS into the scope of the component
|
|
3036
3142
|
render() {
|
|
3037
|
-
return u$
|
|
3143
|
+
return u$2`
|
|
3038
3144
|
<div class="container" part="bibContainer">
|
|
3039
3145
|
<slot></slot>
|
|
3040
3146
|
</div>
|
|
@@ -3044,41 +3150,15 @@ class AuroDropdownBib extends r$4$2 {
|
|
|
3044
3150
|
|
|
3045
3151
|
var dropdownVersion$1 = '3.0.0';
|
|
3046
3152
|
|
|
3047
|
-
var styleCss$1$3 = i$
|
|
3048
|
-
|
|
3049
|
-
var colorCss$1$3 = i$7$1`.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-border-active-default, #0074c8);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #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-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}: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-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
|
|
3153
|
+
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([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
3050
3154
|
|
|
3051
|
-
|
|
3052
|
-
* @license
|
|
3053
|
-
* Copyright 2019 Google LLC
|
|
3054
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3055
|
-
*/
|
|
3056
|
-
const t$1$3=globalThis,e$2$3=t$1$3.ShadowRoot&&(void 0===t$1$3.ShadyCSS||t$1$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1$3=Symbol(),o$2$3=new WeakMap;let n$2$3 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1$3)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2$3&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2$3.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2$3.set(s,t));}return t}toString(){return this.cssText}};const r$3$3=t=>new n$2$3("string"==typeof t?t:t+"",void 0,s$1$3),i$3$3=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2$3(o,t,s$1$3)},S$1$3=(s,o)=>{if(e$2$3)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1$3.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2$3=e$2$3?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3$3(e)})(t):t;
|
|
3057
|
-
|
|
3058
|
-
/**
|
|
3059
|
-
* @license
|
|
3060
|
-
* Copyright 2017 Google LLC
|
|
3061
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3062
|
-
*/const{is:i$2$3,defineProperty:e$1$3,getOwnPropertyDescriptor:r$2$3,getOwnPropertyNames:h$1$3,getOwnPropertySymbols:o$1$2,getPrototypeOf:n$1$3}=Object,a$1$3=globalThis,c$1$3=a$1$3.trustedTypes,l$1$3=c$1$3?c$1$3.emptyScript:"",p$1$3=a$1$3.reactiveElementPolyfillSupport,d$1$3=(t,s)=>t,u$1$3={toAttribute(t,s){switch(s){case Boolean:t=t?l$1$3:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1$3=(t,s)=>!i$2$3(t,s),y$1$3={attribute:true,type:String,converter:u$1$3,reflect:false,hasChanged:f$1$3};Symbol.metadata??=Symbol("metadata"),a$1$3.litPropertyMetadata??=new WeakMap;let b$3 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1$3){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$1$3(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2$3(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1$3}static _$Ei(){if(this.hasOwnProperty(d$1$3("elementProperties")))return;const t=n$1$3(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1$3("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1$3("properties"))){const t=this.properties,s=[...h$1$3(t),...o$1$2(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2$3(s));}else void 0!==s&&i.push(c$2$3(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1$3(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$1$3).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$1$3;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1$3)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$3.elementStyles=[],b$3.shadowRootOptions={mode:"open"},b$3[d$1$3("elementProperties")]=new Map,b$3[d$1$3("finalized")]=new Map,p$1$3?.({ReactiveElement:b$3}),(a$1$3.reactiveElementVersions??=[]).push("2.0.4");
|
|
3063
|
-
|
|
3064
|
-
/**
|
|
3065
|
-
* @license
|
|
3066
|
-
* Copyright 2017 Google LLC
|
|
3067
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3068
|
-
*/
|
|
3069
|
-
const t$7=globalThis,i$1$2=t$7.trustedTypes,s$7=i$1$2?i$1$2.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$9="$lit$",h$5=`lit$${Math.random().toFixed(9).slice(2)}$`,o$9="?"+h$5,n$8=`<${o$9}>`,r$1$3=document,l$6=()=>r$1$3.createComment(""),c$8=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$6=Array.isArray,u$8=t=>a$6(t)||"function"==typeof t?.[Symbol.iterator],d$5="[ \t\n\f\r]",f$5=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$4=/-->/g,_$3=/>/g,m$4=RegExp(`>|${d$5}(?:([^\\s"'>=/]+)(${d$5}*=${d$5}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$6=/'/g,g$3=/"/g,$$3=/^(?:script|style|textarea|title)$/i,y$5=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$3=y$5(1),T$3=Symbol.for("lit-noChange"),E$3=Symbol.for("lit-nothing"),A$3=new WeakMap,C$3=r$1$3.createTreeWalker(r$1$3,129);function P$3(t,i){if(!a$6(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$7?s$7.createHTML(i):i}const V$3=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$5;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$5?"!--"===u[1]?c=v$4:void 0!==u[1]?c=_$3:void 0!==u[2]?($$3.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$4):void 0!==u[3]&&(c=m$4):c===m$4?">"===u[0]?(c=r??f$5,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$4:'"'===u[3]?g$3:p$6):c===g$3||c===p$6?c=m$4:c===v$4||c===_$3?c=f$5:(c=m$4,r=void 0);const x=c===m$4&&t[i+1].startsWith("/>")?" ":"";l+=c===f$5?s+n$8:d>=0?(o.push(a),s.slice(0,d)+e$9+s.slice(d)+h$5+x):s+h$5+(-2===d?i:x);}return [P$3(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$3 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$3(t,s);if(this.el=N.createElement(f,n),C$3.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$3.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$9)){const i=v[a++],s=r.getAttribute(t).split(h$5),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$3:"?"===e[1]?I$3:"@"===e[1]?L$3:k$3}),r.removeAttribute(t);}else t.startsWith(h$5)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$3.test(r.tagName)){const t=r.textContent.split(h$5),s=t.length-1;if(s>0){r.textContent=i$1$2?i$1$2.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$6()),C$3.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$6());}}}else if(8===r.nodeType)if(r.data===o$9)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$5,t+1));)d.push({type:7,index:c}),t+=h$5.length-1;}c++;}}static createElement(t,i){const s=r$1$3.createElement("template");return s.innerHTML=t,s}};function S$5(t,i,s=t,e){if(i===T$3)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$8(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$5(t,h._$AS(t,i.values),h,e)),i}let M$4 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1$3).importNode(i,true);C$3.currentNode=e;let h=C$3.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$3(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$3(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$3.nextNode(),o++);}return C$3.currentNode=r$1$3,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$3 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$3,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$5(this,t,i),c$8(t)?t===E$3||null==t||""===t?(this._$AH!==E$3&&this._$AR(),this._$AH=E$3):t!==this._$AH&&t!==T$3&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$8(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$3&&c$8(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1$3.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$3.createElement(P$3(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$4(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$3.get(t.strings);return void 0===i&&A$3.set(t.strings,i=new N$3(t)),i}k(t){a$6(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$6()),this.O(l$6()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$3 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$3,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$3;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$5(this,t,i,0),o=!c$8(t)||t!==this._$AH&&t!==T$3,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$5(this,e[s+n],i,n),r===T$3&&(r=this._$AH[n]),o||=!c$8(r)||r!==this._$AH[n],r===E$3?t=E$3:t!==E$3&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$3?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$3 = class H extends k$3{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$3?void 0:t;}};let I$3 = class I extends k$3{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$3);}};let L$3 = class L extends k$3{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$5(this,t,i,0)??E$3)===T$3)return;const s=this._$AH,e=t===E$3&&s!==E$3||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$3&&(s===E$3||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$3 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$5(this,t);}};const j$3=t$7.litHtmlPolyfillSupport;j$3?.(N$3,R$3),(t$7.litHtmlVersions??=[]).push("3.2.1");const B$3=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$3(i.insertBefore(l$6(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
3155
|
+
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-border-active-default, #0074c8);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #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-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}: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-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
|
|
3070
3156
|
|
|
3071
|
-
|
|
3072
|
-
* @license
|
|
3073
|
-
* Copyright 2017 Google LLC
|
|
3074
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3075
|
-
*/let r$a = class r extends b$3{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$3(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$3}};r$a._$litElement$=true,r$a["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$a});const i$b=globalThis.litElementPolyfillSupport;i$b?.({LitElement:r$a});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
3157
|
+
var colorCss$6 = i$5`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
3076
3158
|
|
|
3077
|
-
var
|
|
3159
|
+
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}`;
|
|
3078
3160
|
|
|
3079
|
-
var
|
|
3080
|
-
|
|
3081
|
-
var tokensCss$6 = i$3$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
3161
|
+
var tokensCss$6 = i$5`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
3082
3162
|
|
|
3083
3163
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
3084
3164
|
// See LICENSE in the project root for license information.
|
|
@@ -3087,7 +3167,7 @@ var tokensCss$6 = i$3$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tert
|
|
|
3087
3167
|
|
|
3088
3168
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
3089
3169
|
|
|
3090
|
-
let AuroLibraryRuntimeUtils$
|
|
3170
|
+
let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
|
|
3091
3171
|
|
|
3092
3172
|
/* eslint-disable jsdoc/require-param */
|
|
3093
3173
|
|
|
@@ -3159,7 +3239,7 @@ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
|
3159
3239
|
*
|
|
3160
3240
|
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
3161
3241
|
*/
|
|
3162
|
-
let AuroHelpText$1 = class AuroHelpText extends r$
|
|
3242
|
+
let AuroHelpText$1 = class AuroHelpText extends r$1 {
|
|
3163
3243
|
|
|
3164
3244
|
constructor() {
|
|
3165
3245
|
super();
|
|
@@ -3167,7 +3247,7 @@ let AuroHelpText$1 = class AuroHelpText extends r$a {
|
|
|
3167
3247
|
this.error = false;
|
|
3168
3248
|
this.hasTextContent = false;
|
|
3169
3249
|
|
|
3170
|
-
AuroLibraryRuntimeUtils$
|
|
3250
|
+
AuroLibraryRuntimeUtils$6.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
3171
3251
|
}
|
|
3172
3252
|
|
|
3173
3253
|
static get styles() {
|
|
@@ -3215,7 +3295,7 @@ let AuroHelpText$1 = class AuroHelpText extends r$a {
|
|
|
3215
3295
|
*
|
|
3216
3296
|
*/
|
|
3217
3297
|
static register(name = "auro-helptext") {
|
|
3218
|
-
AuroLibraryRuntimeUtils$
|
|
3298
|
+
AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroHelpText);
|
|
3219
3299
|
}
|
|
3220
3300
|
|
|
3221
3301
|
updated() {
|
|
@@ -3263,7 +3343,7 @@ let AuroHelpText$1 = class AuroHelpText extends r$a {
|
|
|
3263
3343
|
|
|
3264
3344
|
// function that renders the HTML and CSS into the scope of the component
|
|
3265
3345
|
render() {
|
|
3266
|
-
return x
|
|
3346
|
+
return x`
|
|
3267
3347
|
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
3268
3348
|
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
3269
3349
|
</div>
|
|
@@ -3289,7 +3369,7 @@ var helpTextVersion$1 = '1.0.0';
|
|
|
3289
3369
|
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
3290
3370
|
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
3291
3371
|
*/
|
|
3292
|
-
class AuroDropdown extends r$
|
|
3372
|
+
class AuroDropdown extends r$1 {
|
|
3293
3373
|
constructor() {
|
|
3294
3374
|
super();
|
|
3295
3375
|
|
|
@@ -3305,7 +3385,7 @@ class AuroDropdown extends r$4$2 {
|
|
|
3305
3385
|
* @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
|
|
3306
3386
|
*/
|
|
3307
3387
|
this.constructor.shadowRootOptions = {
|
|
3308
|
-
...r$
|
|
3388
|
+
...r$1.shadowRootOptions,
|
|
3309
3389
|
delegatesFocus: true,
|
|
3310
3390
|
};
|
|
3311
3391
|
|
|
@@ -3348,7 +3428,7 @@ class AuroDropdown extends r$4$2 {
|
|
|
3348
3428
|
/**
|
|
3349
3429
|
* @private
|
|
3350
3430
|
*/
|
|
3351
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
3431
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$2$2();
|
|
3352
3432
|
|
|
3353
3433
|
/**
|
|
3354
3434
|
* @private
|
|
@@ -3368,22 +3448,22 @@ class AuroDropdown extends r$4$2 {
|
|
|
3368
3448
|
/**
|
|
3369
3449
|
* Generate unique names for dependency components.
|
|
3370
3450
|
*/
|
|
3371
|
-
const versioning = new AuroDependencyVersioning$
|
|
3451
|
+
const versioning = new AuroDependencyVersioning$3();
|
|
3372
3452
|
|
|
3373
3453
|
/**
|
|
3374
3454
|
* @private
|
|
3375
3455
|
*/
|
|
3376
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion$3, AuroIcon$3);
|
|
3456
|
+
this.iconTag = versioning.generateTag('auro-formkit-dropdown-icon', iconVersion$3, AuroIcon$3);
|
|
3377
3457
|
|
|
3378
3458
|
/**
|
|
3379
3459
|
* @private
|
|
3380
3460
|
*/
|
|
3381
|
-
this.dropdownBibTag = versioning.generateTag('auro-dropdownbib', dropdownVersion$1, AuroDropdownBib);
|
|
3461
|
+
this.dropdownBibTag = versioning.generateTag('auro-formkit-dropdown-dropdownbib', dropdownVersion$1, AuroDropdownBib);
|
|
3382
3462
|
|
|
3383
3463
|
/**
|
|
3384
3464
|
* @private
|
|
3385
3465
|
*/
|
|
3386
|
-
this.helpTextTag = versioning.generateTag('auro-helptext', helpTextVersion$1, AuroHelpText$1);
|
|
3466
|
+
this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion$1, AuroHelpText$1);
|
|
3387
3467
|
}
|
|
3388
3468
|
|
|
3389
3469
|
/**
|
|
@@ -3586,7 +3666,7 @@ class AuroDropdown extends r$4$2 {
|
|
|
3586
3666
|
*
|
|
3587
3667
|
*/
|
|
3588
3668
|
static register(name = "auro-dropdown") {
|
|
3589
|
-
AuroLibraryRuntimeUtils$
|
|
3669
|
+
AuroLibraryRuntimeUtils$2$2.prototype.registerComponent(name, AuroDropdown);
|
|
3590
3670
|
}
|
|
3591
3671
|
|
|
3592
3672
|
connectedCallback() {
|
|
@@ -3609,6 +3689,7 @@ class AuroDropdown extends r$4$2 {
|
|
|
3609
3689
|
if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
|
|
3610
3690
|
this.handleTriggerContentSlotChange();
|
|
3611
3691
|
}
|
|
3692
|
+
|
|
3612
3693
|
}
|
|
3613
3694
|
|
|
3614
3695
|
firstUpdated() {
|
|
@@ -3785,7 +3866,7 @@ class AuroDropdown extends r$4$2 {
|
|
|
3785
3866
|
|
|
3786
3867
|
// function that renders the HTML and CSS into the scope of the component
|
|
3787
3868
|
render() {
|
|
3788
|
-
return u$
|
|
3869
|
+
return u$2`
|
|
3789
3870
|
<div>
|
|
3790
3871
|
<div
|
|
3791
3872
|
id="trigger"
|
|
@@ -3805,7 +3886,7 @@ class AuroDropdown extends r$4$2 {
|
|
|
3805
3886
|
@slotchange="${this.handleTriggerContentSlotChange}"></slot>
|
|
3806
3887
|
</div>
|
|
3807
3888
|
</div>
|
|
3808
|
-
${this.chevron || this.common ? u$
|
|
3889
|
+
${this.chevron || this.common ? u$2`
|
|
3809
3890
|
<div
|
|
3810
3891
|
id="showStateIcon"
|
|
3811
3892
|
part="chevron">
|
|
@@ -3841,51 +3922,18 @@ class AuroDropdown extends r$4$2 {
|
|
|
3841
3922
|
|
|
3842
3923
|
var dropdownVersion = '3.0.0';
|
|
3843
3924
|
|
|
3844
|
-
/**
|
|
3845
|
-
* @license
|
|
3846
|
-
* Copyright 2017 Google LLC
|
|
3847
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3848
|
-
*/
|
|
3849
|
-
const t$5=globalThis,i$9=t$5.trustedTypes,s$5=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$7="$lit$",h$3=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7="?"+h$3,n$6=`<${o$7}>`,r$8=document,l$4=()=>r$8.createComment(""),c$6=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$6=t=>a$4(t)||"function"==typeof t?.[Symbol.iterator],d$3="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$1$1=/>/g,m$2=RegExp(`>|${d$3}(?:([^\\s"'>=/]+)(${d$3}*=${d$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$4=/'/g,g$1$1=/"/g,$$1$1=/^(?:script|style|textarea|title)$/i,y$3=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$3(1),T$1$1=Symbol.for("lit-noChange"),E$1$1=Symbol.for("lit-nothing"),A$1$1=new WeakMap,C$1$1=r$8.createTreeWalker(r$8,129);function P$1$1(t,i){if(!a$4(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$5?s$5.createHTML(i):i}const V$1$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$3;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$3?"!--"===u[1]?c=v$2:void 0!==u[1]?c=_$1$1:void 0!==u[2]?($$1$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$2):void 0!==u[3]&&(c=m$2):c===m$2?">"===u[0]?(c=r??f$3,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$2:'"'===u[3]?g$1$1:p$4):c===g$1$1||c===p$4?c=m$2:c===v$2||c===_$1$1?c=f$3:(c=m$2,r=void 0);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3?s+n$6:d>=0?(o.push(a),s.slice(0,d)+e$7+s.slice(d)+h$3+x):s+h$3+(-2===d?i:x);}return [P$1$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1$1(t,s);if(this.el=N.createElement(f,n),C$1$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$7)){const i=v[a++],s=r.getAttribute(t).split(h$3),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1$1:"?"===e[1]?I$1$1:"@"===e[1]?L$1$1:k$1$1}),r.removeAttribute(t);}else t.startsWith(h$3)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1$1.test(r.tagName)){const t=r.textContent.split(h$3),s=t.length-1;if(s>0){r.textContent=i$9?i$9.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$4()),C$1$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$4());}}}else if(8===r.nodeType)if(r.data===o$7)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$3,t+1));)d.push({type:7,index:c}),t+=h$3.length-1;}c++;}}static createElement(t,i){const s=r$8.createElement("template");return s.innerHTML=t,s}};function S$3(t,i,s=t,e){if(i===T$1$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$6(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$3(t,h._$AS(t,i.values),h,e)),i}let M$2 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$8).importNode(i,true);C$1$1.currentNode=e;let h=C$1$1.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1$1.nextNode(),o++);}return C$1$1.currentNode=r$8,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$3(this,t,i),c$6(t)?t===E$1$1||null==t||""===t?(this._$AH!==E$1$1&&this._$AR(),this._$AH=E$1$1):t!==this._$AH&&t!==T$1$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$6(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1$1&&c$6(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$8.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1$1.createElement(P$1$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$2(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1$1.get(t.strings);return void 0===i&&A$1$1.set(t.strings,i=new N$1$1(t)),i}k(t){a$4(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$4()),this.O(l$4()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$3(this,t,i,0),o=!c$6(t)||t!==this._$AH&&t!==T$1$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$3(this,e[s+n],i,n),r===T$1$1&&(r=this._$AH[n]),o||=!c$6(r)||r!==this._$AH[n],r===E$1$1?t=E$1$1:t!==E$1$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1$1 = class H extends k$1$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1$1?void 0:t;}};let I$1$1 = class I extends k$1$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1$1);}};let L$1$1 = class L extends k$1$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$3(this,t,i,0)??E$1$1)===T$1$1)return;const s=this._$AH,e=t===E$1$1&&s!==E$1$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1$1&&(s===E$1$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3(this,t);}};const Z={I:R$1$1},j$1$1=t$5.litHtmlPolyfillSupport;j$1$1?.(N$1$1,R$1$1),(t$5.litHtmlVersions??=[]).push("3.2.1");const B$1$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1$1(i.insertBefore(l$4(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
3850
|
-
|
|
3851
|
-
/**
|
|
3852
|
-
* @license
|
|
3853
|
-
* Copyright 2020 Google LLC
|
|
3854
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3855
|
-
*/
|
|
3856
|
-
const a$3=Symbol.for(""),o$6=t=>{if(t?.r===a$3)return t?._$litStatic$},s$4=t=>({_$litStatic$:t,r:a$3}),i$8=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$3}),l$3=new Map,n$5=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$6(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$3.get(t))&&(n.raw=n,l$3.set(t,r=n)),e=u;}return t(r,...e)},u$5=n$5(x$1);
|
|
3857
|
-
|
|
3858
|
-
/**
|
|
3859
|
-
* @license
|
|
3860
|
-
* Copyright 2017 Google LLC
|
|
3861
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3862
|
-
*/
|
|
3863
|
-
const t$4={ATTRIBUTE:1,CHILD:2},e$6=t=>(...e)=>({_$litDirective$:t,values:e});let i$7 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
3864
|
-
|
|
3865
3925
|
/**
|
|
3866
3926
|
* @license
|
|
3867
3927
|
* Copyright 2020 Google LLC
|
|
3868
3928
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3869
|
-
*/const {I:t
|
|
3929
|
+
*/const {I:t}=Z,s=()=>document.createComment(""),r=(o,i,n)=>{const e=o._$AA.parentNode,l=void 0===i?o._$AB:i._$AA;if(void 0===n){const i=e.insertBefore(s(),l),c=e.insertBefore(s(),l);n=new t(i,c,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,c=i!==o;if(c){let t;n._$AQ?.(o),n._$AM=o,void 0!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||c){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v=(o,t,i=o)=>(o._$AI(t,i),o),u$1={},m=(o,t=u$1)=>o._$AH=t,p=o=>o._$AH,M=o=>{o._$AP?.(false,true);let t=o._$AA;const i=o._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o;}};
|
|
3870
3930
|
|
|
3871
3931
|
/**
|
|
3872
3932
|
* @license
|
|
3873
3933
|
* Copyright 2017 Google LLC
|
|
3874
3934
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3875
3935
|
*/
|
|
3876
|
-
const u
|
|
3877
|
-
|
|
3878
|
-
/**
|
|
3879
|
-
* @license
|
|
3880
|
-
* Copyright 2018 Google LLC
|
|
3881
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3882
|
-
*/const e$5$1=e$6(class extends i$7{constructor(t){if(super(t),t.type!==t$4.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1$1}});
|
|
3883
|
-
|
|
3884
|
-
/**
|
|
3885
|
-
* @license
|
|
3886
|
-
* Copyright 2018 Google LLC
|
|
3887
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3888
|
-
*/const o$5$1=o=>o??E$1$1;
|
|
3936
|
+
const u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c=e$1(class extends i{constructor(e){if(super(e),e.type!==t$1.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;void 0===t?t=s:void 0!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s,[t,r$1,c]){const d=p(s),{values:p$1,keys:a}=this.dt(t,r$1,c);if(!Array.isArray(d))return this.ut=a,p$1;const h=this.ut??=[],v$1=[];let m$1,y,x=0,j=d.length-1,k=0,w=p$1.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v$1[k]=v(d[x],p$1[k]),x++,k++;else if(h[j]===a[w])v$1[w]=v(d[j],p$1[w]),j--,w--;else if(h[x]===a[w])v$1[w]=v(d[x],p$1[w]),r(s,v$1[w+1],d[x]),x++,w--;else if(h[j]===a[k])v$1[k]=v(d[j],p$1[k]),r(s,d[x],d[j]),j--,k++;else if(void 0===m$1&&(m$1=u(a,k,w),y=u(h,x,j)),m$1.has(h[x]))if(m$1.has(h[j])){const e=y.get(a[k]),t=void 0!==e?d[e]:null;if(null===t){const e=r(s,d[x]);v(e,p$1[k]),v$1[k]=e;}else v$1[k]=v(t,p$1[k]),r(s,d[x],t),d[e]=null;k++;}else M(d[j]),j--;else M(d[x]),x++;for(;k<=w;){const e=r(s,v$1[w+1]);v(e,p$1[k]),v$1[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M(e);}return this.ut=a,m(s,v$1),T}});
|
|
3889
3937
|
|
|
3890
3938
|
const watchedItems = new Set();
|
|
3891
3939
|
|
|
@@ -4008,30 +4056,11 @@ function stopNotifyingOnLangChange(element) {
|
|
|
4008
4056
|
watchedItems.delete(element);
|
|
4009
4057
|
}
|
|
4010
4058
|
|
|
4011
|
-
|
|
4012
|
-
* @license
|
|
4013
|
-
* Copyright 2019 Google LLC
|
|
4014
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4015
|
-
*/
|
|
4016
|
-
const t$2$2=globalThis,e$4$2=t$2$2.ShadowRoot&&(void 0===t$2$2.ShadyCSS||t$2$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$2=Symbol(),o$4$2=new WeakMap;let n$4 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2$2)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$4$2&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$4$2.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$4$2.set(s,t));}return t}toString(){return this.cssText}};const r$6=t=>new n$4("string"==typeof t?t:t+"",void 0,s$2$2),i$6$1=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$4(o,t,s$2$2)},S$2$1=(s,o)=>{if(e$4$2)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$2$2.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4=e$4$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6(e)})(t):t;
|
|
4059
|
+
var styleCss$4$1 = i$5`*,*: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}.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-700, 3.5rem);max-height:var(--ds-size-700, 3.5rem);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)}`;
|
|
4017
4060
|
|
|
4018
|
-
|
|
4019
|
-
* @license
|
|
4020
|
-
* Copyright 2017 Google LLC
|
|
4021
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4022
|
-
*/const{is:i$5$2,defineProperty:e$3$2,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2$1,getOwnPropertySymbols:o$3$2,getPrototypeOf:n$3$2}=Object,a$2$2=globalThis,c$3$1=a$2$2.trustedTypes,l$2$2=c$3$1?c$3$1.emptyScript:"",p$2$1=a$2$2.reactiveElementPolyfillSupport,d$2$1=(t,s)=>t,u$2$2={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$2:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2$1=(t,s)=>!i$5$2(t,s),y$2={attribute:true,type:String,converter:u$2$2,reflect:false,hasChanged:f$2$1};Symbol.metadata??=Symbol("metadata"),a$2$2.litPropertyMetadata??=new WeakMap;let b$1$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$2){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$3$2(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$5(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$2}static _$Ei(){if(this.hasOwnProperty(d$2$1("elementProperties")))return;const t=n$3$2(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$2$1("properties"))){const t=this.properties,s=[...h$2$1(t),...o$3$2(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$4(s));}else void 0!==s&&i.push(c$4(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$2$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$2$2).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$2$2;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$2$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1$1.elementStyles=[],b$1$1.shadowRootOptions={mode:"open"},b$1$1[d$2$1("elementProperties")]=new Map,b$1$1[d$2$1("finalized")]=new Map,p$2$1?.({ReactiveElement:b$1$1}),(a$2$2.reactiveElementVersions??=[]).push("2.0.4");
|
|
4061
|
+
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-input-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}label{color:var(--ds-auro-input-label-text-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-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host(:not([borderless])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host(:not([borderless])) .wrapper:focus-within:before{border-bottom-color:transparent}:host([validity]:not([validity=valid])){--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816)}:host([validity]:not([validity=valid])[bordered]) .wrapper{--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([disabled]){--ds-auro-input-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-input-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
|
|
4023
4062
|
|
|
4024
|
-
|
|
4025
|
-
* @license
|
|
4026
|
-
* Copyright 2017 Google LLC
|
|
4027
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4028
|
-
*/let r$4$1 = class r extends b$1$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1$1}};r$4$1._$litElement$=true,r$4$1["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4$1});const i$4$2=globalThis.litElementPolyfillSupport;i$4$2?.({LitElement:r$4$1});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
4029
|
-
|
|
4030
|
-
var styleCss$4$1 = i$6$1`*,*: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}.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-700, 3.5rem);max-height:var(--ds-size-700, 3.5rem);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)}`;
|
|
4031
|
-
|
|
4032
|
-
var colorCss$4 = i$6$1`.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-input-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}label{color:var(--ds-auro-input-label-text-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-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host(:not([borderless])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host(:not([borderless])) .wrapper:focus-within:before{border-bottom-color:transparent}:host([validity]:not([validity=valid])){--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816)}:host([validity]:not([validity=valid])[bordered]) .wrapper{--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([disabled]){--ds-auro-input-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-input-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
|
|
4033
|
-
|
|
4034
|
-
var tokensCss$4 = i$6$1`:host{--ds-auro-input-border-color: var(--ds-color-border-secondary-default, #939fad);--ds-auro-input-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-input-caret-color: var(--ds-color-text-ui-focus-default, #2c67b5);--ds-auro-input-label-text-color: var(--ds-color-text-tertiary-default, #6a717c);--ds-auro-input-placeholder-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-input-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
4063
|
+
var tokensCss$4 = i$5`:host{--ds-auro-input-border-color: var(--ds-color-border-secondary-default, #939fad);--ds-auro-input-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-input-caret-color: var(--ds-color-text-ui-focus-default, #2c67b5);--ds-auro-input-label-text-color: var(--ds-color-text-tertiary-default, #6a717c);--ds-auro-input-placeholder-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-input-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
4035
4064
|
|
|
4036
4065
|
/** Checks if value is string */
|
|
4037
4066
|
function isString(str) {
|
|
@@ -7882,7 +7911,7 @@ class AuroInputUtilities {
|
|
|
7882
7911
|
|
|
7883
7912
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
7884
7913
|
|
|
7885
|
-
let AuroLibraryRuntimeUtils$
|
|
7914
|
+
let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
7886
7915
|
|
|
7887
7916
|
/* eslint-disable jsdoc/require-param */
|
|
7888
7917
|
|
|
@@ -7951,7 +7980,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
7951
7980
|
|
|
7952
7981
|
class AuroFormValidation {
|
|
7953
7982
|
constructor() {
|
|
7954
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
7983
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
|
|
7955
7984
|
}
|
|
7956
7985
|
|
|
7957
7986
|
/**
|
|
@@ -8278,7 +8307,7 @@ class AuroFormValidation {
|
|
|
8278
8307
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
|
|
8279
8308
|
*/
|
|
8280
8309
|
|
|
8281
|
-
class BaseInput extends r$
|
|
8310
|
+
class BaseInput extends r$1 {
|
|
8282
8311
|
|
|
8283
8312
|
constructor() {
|
|
8284
8313
|
super();
|
|
@@ -8629,9 +8658,9 @@ class BaseInput extends r$4$1 {
|
|
|
8629
8658
|
|
|
8630
8659
|
static get styles() {
|
|
8631
8660
|
return [
|
|
8632
|
-
i$
|
|
8633
|
-
i$
|
|
8634
|
-
i$
|
|
8661
|
+
i$5`${colorCss$4}`,
|
|
8662
|
+
i$5`${styleCss$4$1}`,
|
|
8663
|
+
i$5`${tokensCss$4}`
|
|
8635
8664
|
];
|
|
8636
8665
|
}
|
|
8637
8666
|
|
|
@@ -9241,7 +9270,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
9241
9270
|
*/
|
|
9242
9271
|
generateTag(baseName, version, tagClass) {
|
|
9243
9272
|
const elementName = this.generateElementName(baseName, version);
|
|
9244
|
-
const tag = i$
|
|
9273
|
+
const tag = i$1`${s$1(elementName)}`;
|
|
9245
9274
|
|
|
9246
9275
|
if (!customElements.get(elementName)) {
|
|
9247
9276
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -9261,7 +9290,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
9261
9290
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
9262
9291
|
*/
|
|
9263
9292
|
|
|
9264
|
-
let AuroElement$2 = class AuroElement extends r$
|
|
9293
|
+
let AuroElement$2 = class AuroElement extends r$1 {
|
|
9265
9294
|
|
|
9266
9295
|
// function to define props used within the scope of this component
|
|
9267
9296
|
static get properties() {
|
|
@@ -9317,7 +9346,7 @@ const cacheFetch$2 = (uri, options = {}) => {
|
|
|
9317
9346
|
return _fetchMap$2.get(uri);
|
|
9318
9347
|
};
|
|
9319
9348
|
|
|
9320
|
-
var styleCss$3$1 = i$
|
|
9349
|
+
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}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}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}`;
|
|
9321
9350
|
|
|
9322
9351
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9323
9352
|
// See LICENSE in the project root for license information.
|
|
@@ -9356,7 +9385,7 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
9356
9385
|
}
|
|
9357
9386
|
|
|
9358
9387
|
static get styles() {
|
|
9359
|
-
return i$
|
|
9388
|
+
return i$5`
|
|
9360
9389
|
${styleCss$3$1}
|
|
9361
9390
|
`;
|
|
9362
9391
|
}
|
|
@@ -9398,47 +9427,88 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
|
|
|
9398
9427
|
}
|
|
9399
9428
|
};
|
|
9400
9429
|
|
|
9401
|
-
var tokensCss$3 = i$
|
|
9430
|
+
var tokensCss$3 = i$5`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
9402
9431
|
|
|
9403
|
-
var colorCss$3$1 = i$
|
|
9432
|
+
var colorCss$3$1 = 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)}`;
|
|
9404
9433
|
|
|
9405
|
-
// Copyright (c)
|
|
9434
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
9406
9435
|
// See LICENSE in the project root for license information.
|
|
9407
9436
|
|
|
9437
|
+
// ---------------------------------------------------------------------
|
|
9438
|
+
|
|
9439
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
9440
|
+
|
|
9441
|
+
let AuroLibraryRuntimeUtils$3$1 = class AuroLibraryRuntimeUtils {
|
|
9442
|
+
|
|
9443
|
+
/* eslint-disable jsdoc/require-param */
|
|
9444
|
+
|
|
9445
|
+
/**
|
|
9446
|
+
* This will register a new custom element with the browser.
|
|
9447
|
+
* @param {String} name - The name of the custom element.
|
|
9448
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
9449
|
+
* @returns {void}
|
|
9450
|
+
*/
|
|
9451
|
+
registerComponent(name, componentClass) {
|
|
9452
|
+
if (!customElements.get(name)) {
|
|
9453
|
+
customElements.define(name, class extends componentClass {});
|
|
9454
|
+
}
|
|
9455
|
+
}
|
|
9456
|
+
|
|
9457
|
+
/**
|
|
9458
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
9459
|
+
* @returns {void}
|
|
9460
|
+
*/
|
|
9461
|
+
closestElement(
|
|
9462
|
+
selector, // selector like in .closest()
|
|
9463
|
+
base = this, // extra functionality to skip a parent
|
|
9464
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
9465
|
+
!el || el === document || el === window
|
|
9466
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
9467
|
+
: found
|
|
9468
|
+
? found // found a selector INside this element
|
|
9469
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
9470
|
+
) {
|
|
9471
|
+
return __Closest(base);
|
|
9472
|
+
}
|
|
9473
|
+
/* eslint-enable jsdoc/require-param */
|
|
9474
|
+
|
|
9475
|
+
/**
|
|
9476
|
+
* 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.
|
|
9477
|
+
* @param {Object} elem - The element to check.
|
|
9478
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
9479
|
+
* @returns {void}
|
|
9480
|
+
*/
|
|
9481
|
+
handleComponentTagRename(elem, tagName) {
|
|
9482
|
+
const tag = tagName.toLowerCase();
|
|
9483
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
9484
|
+
|
|
9485
|
+
if (elemTag !== tag) {
|
|
9486
|
+
elem.setAttribute(tag, true);
|
|
9487
|
+
}
|
|
9488
|
+
}
|
|
9489
|
+
|
|
9490
|
+
/**
|
|
9491
|
+
* Validates if an element is a specific Auro component.
|
|
9492
|
+
* @param {Object} elem - The element to validate.
|
|
9493
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
9494
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
9495
|
+
*/
|
|
9496
|
+
elementMatch(elem, tagName) {
|
|
9497
|
+
const tag = tagName.toLowerCase();
|
|
9498
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
9499
|
+
|
|
9500
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
9501
|
+
}
|
|
9502
|
+
};
|
|
9503
|
+
|
|
9504
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9505
|
+
// See LICENSE in the project root for license information.
|
|
9408
9506
|
|
|
9409
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
9410
|
-
/**
|
|
9411
|
-
* auro-icon provides users a way to use the Auro Icons by simply passing in the category and name.
|
|
9412
|
-
*
|
|
9413
|
-
* @attr {String} category - The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
|
|
9414
|
-
* @attr {String} name - The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage
|
|
9415
|
-
* @attr {Boolean} customColor - Removes primary selector.
|
|
9416
|
-
* @attr {Boolean} customSvg - When true, auro-icon will render a custom SVG inside the default slot.
|
|
9417
|
-
* @attr {Boolean} label - Exposes content in slot as icon label.
|
|
9418
|
-
* @attr {Boolean} primary - DEPRECATED: Sets the icon to use the baseline primary icon style.
|
|
9419
|
-
* @attr {Boolean} accent - Sets the icon to use the accent style.
|
|
9420
|
-
* @attr {Boolean} emphasis - Sets the icon to use the emphasis style.
|
|
9421
|
-
* @attr {Boolean} disabled - Sets the icon to use the disabled style.
|
|
9422
|
-
* @attr {Boolean} error - Sets the icon to use the error style.
|
|
9423
|
-
* @attr {Boolean} info - Sets the icon to use the info style.
|
|
9424
|
-
* @attr {Boolean} secondary - Sets the icon to use the secondary style.
|
|
9425
|
-
* @attr {Boolean} tertiary - Sets the icon to use the tertiary style.
|
|
9426
|
-
* @attr {Boolean} subtle - Sets the icon to use the subtle style.
|
|
9427
|
-
* @attr {Boolean} success - Sets the icon to use the success style.
|
|
9428
|
-
* @attr {Boolean} warning - Sets the icon to use the warning style.
|
|
9429
|
-
* @attr {String} ariaHidden - Set aria-hidden value. Default is `true`. Option is `false`.
|
|
9430
|
-
* @attr {String} uri - Set the uri for CDN used when fetching icons
|
|
9431
|
-
* @slot - Hidden from visibility, used for a11y if icon description is needed.
|
|
9432
|
-
* @slot svg - Used for custom SVG content.
|
|
9433
|
-
*/
|
|
9434
9507
|
|
|
9435
|
-
// build the component class
|
|
9436
9508
|
let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
9437
9509
|
constructor() {
|
|
9438
9510
|
super();
|
|
9439
9511
|
|
|
9440
|
-
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
9441
|
-
|
|
9442
9512
|
this.privateDefaults();
|
|
9443
9513
|
}
|
|
9444
9514
|
|
|
@@ -9462,78 +9532,144 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
9462
9532
|
this.success = false;
|
|
9463
9533
|
this.tertiary = false;
|
|
9464
9534
|
this.warning = false;
|
|
9465
|
-
this.
|
|
9535
|
+
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
9536
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3$1();
|
|
9466
9537
|
}
|
|
9467
9538
|
|
|
9468
9539
|
// function to define props used within the scope of this component
|
|
9469
9540
|
static get properties() {
|
|
9470
9541
|
return {
|
|
9471
9542
|
...super.properties,
|
|
9543
|
+
|
|
9544
|
+
/**
|
|
9545
|
+
* Sets the icon to use the accent style.
|
|
9546
|
+
*/
|
|
9472
9547
|
accent: {
|
|
9473
9548
|
type: Boolean,
|
|
9474
9549
|
reflect: true
|
|
9475
9550
|
},
|
|
9551
|
+
|
|
9552
|
+
/**
|
|
9553
|
+
* Set aria-hidden value. Default is `true`. Option is `false`.
|
|
9554
|
+
*/
|
|
9476
9555
|
ariaHidden: {
|
|
9477
9556
|
type: String,
|
|
9478
9557
|
reflect: true
|
|
9479
9558
|
},
|
|
9559
|
+
|
|
9560
|
+
/**
|
|
9561
|
+
* The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
|
|
9562
|
+
*/
|
|
9480
9563
|
category: {
|
|
9481
9564
|
type: String,
|
|
9482
9565
|
reflect: true
|
|
9483
9566
|
},
|
|
9567
|
+
|
|
9568
|
+
/**
|
|
9569
|
+
* Allows custom color to be set.
|
|
9570
|
+
*/
|
|
9484
9571
|
customColor: {
|
|
9485
9572
|
type: Boolean
|
|
9486
9573
|
},
|
|
9574
|
+
|
|
9575
|
+
/**
|
|
9576
|
+
* When true, auro-icon will render a custom SVG inside the default slot.
|
|
9577
|
+
*/
|
|
9487
9578
|
customSvg: {
|
|
9488
9579
|
type: Boolean
|
|
9489
9580
|
},
|
|
9581
|
+
|
|
9582
|
+
/**
|
|
9583
|
+
* Sets the icon to use the disabled style.
|
|
9584
|
+
*/
|
|
9490
9585
|
disabled: {
|
|
9491
9586
|
type: Boolean,
|
|
9492
9587
|
reflect: true
|
|
9493
9588
|
},
|
|
9589
|
+
|
|
9590
|
+
/**
|
|
9591
|
+
* Sets the icon to use the emphasis style.
|
|
9592
|
+
*/
|
|
9494
9593
|
emphasis: {
|
|
9495
9594
|
type: Boolean,
|
|
9496
9595
|
reflect: true
|
|
9497
9596
|
},
|
|
9597
|
+
|
|
9598
|
+
/**
|
|
9599
|
+
* Sets the icon to use the error style.
|
|
9600
|
+
*/
|
|
9498
9601
|
error: {
|
|
9499
9602
|
type: Boolean,
|
|
9500
9603
|
reflect: true
|
|
9501
9604
|
},
|
|
9605
|
+
|
|
9606
|
+
/**
|
|
9607
|
+
* Sets the icon to use the info style.
|
|
9608
|
+
*/
|
|
9502
9609
|
info: {
|
|
9503
9610
|
type: Boolean,
|
|
9504
9611
|
reflect: true
|
|
9505
9612
|
},
|
|
9613
|
+
|
|
9614
|
+
/**
|
|
9615
|
+
* Exposes content in slot as icon label.
|
|
9616
|
+
*/
|
|
9506
9617
|
label: {
|
|
9507
9618
|
type: Boolean,
|
|
9508
9619
|
reflect: true
|
|
9509
9620
|
},
|
|
9621
|
+
|
|
9622
|
+
/**
|
|
9623
|
+
* The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage.
|
|
9624
|
+
*/
|
|
9510
9625
|
name: {
|
|
9511
9626
|
type: String,
|
|
9512
9627
|
reflect: true
|
|
9513
9628
|
},
|
|
9629
|
+
|
|
9630
|
+
/**
|
|
9631
|
+
* DEPRECATED: Sets the icon to use the baseline primary icon style.
|
|
9632
|
+
*/
|
|
9514
9633
|
primary: {
|
|
9515
9634
|
type: Boolean,
|
|
9516
9635
|
reflect: true
|
|
9517
9636
|
},
|
|
9637
|
+
|
|
9638
|
+
/**
|
|
9639
|
+
* Sets the icon to use the secondary style.
|
|
9640
|
+
*/
|
|
9518
9641
|
secondary: {
|
|
9519
9642
|
type: Boolean,
|
|
9520
9643
|
reflect: true
|
|
9521
9644
|
},
|
|
9645
|
+
|
|
9646
|
+
/**
|
|
9647
|
+
* Sets the icon to use the subtle style.
|
|
9648
|
+
*/
|
|
9522
9649
|
subtle: {
|
|
9523
9650
|
type: Boolean,
|
|
9524
9651
|
reflect: true
|
|
9525
9652
|
},
|
|
9653
|
+
|
|
9654
|
+
/**
|
|
9655
|
+
* Sets the icon to use the success style.
|
|
9656
|
+
*/
|
|
9526
9657
|
success: {
|
|
9527
9658
|
type: Boolean,
|
|
9528
9659
|
reflect: true
|
|
9529
9660
|
},
|
|
9661
|
+
|
|
9662
|
+
/**
|
|
9663
|
+
* Sets the icon to use the tertiary style.
|
|
9664
|
+
*/
|
|
9530
9665
|
tertiary: {
|
|
9531
9666
|
type: Boolean,
|
|
9532
9667
|
reflect: true
|
|
9533
9668
|
},
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9669
|
+
|
|
9670
|
+
/**
|
|
9671
|
+
* Sets the icon to use the warning style.
|
|
9672
|
+
*/
|
|
9537
9673
|
warning: {
|
|
9538
9674
|
type: Boolean,
|
|
9539
9675
|
reflect: true
|
|
@@ -9544,9 +9680,9 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
9544
9680
|
static get styles() {
|
|
9545
9681
|
return [
|
|
9546
9682
|
super.styles,
|
|
9547
|
-
i$
|
|
9548
|
-
i$
|
|
9549
|
-
i$
|
|
9683
|
+
i$5`${tokensCss$3}`,
|
|
9684
|
+
i$5`${styleCss$3$1}`,
|
|
9685
|
+
i$5`${colorCss$3$1}`
|
|
9550
9686
|
];
|
|
9551
9687
|
}
|
|
9552
9688
|
|
|
@@ -9559,7 +9695,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
9559
9695
|
*
|
|
9560
9696
|
*/
|
|
9561
9697
|
static register(name = "auro-icon") {
|
|
9562
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
9698
|
+
AuroLibraryRuntimeUtils$3$1.prototype.registerComponent(name, AuroIcon);
|
|
9563
9699
|
}
|
|
9564
9700
|
|
|
9565
9701
|
connectedCallback() {
|
|
@@ -9570,38 +9706,54 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
9570
9706
|
}
|
|
9571
9707
|
|
|
9572
9708
|
/**
|
|
9709
|
+
* @private
|
|
9573
9710
|
* @returns {void} Exposes CSS parts for styling from parent components.
|
|
9574
9711
|
*/
|
|
9575
9712
|
exposeCssParts() {
|
|
9576
9713
|
this.setAttribute('exportparts', 'svg:iconSvg');
|
|
9577
9714
|
}
|
|
9578
9715
|
|
|
9716
|
+
async firstUpdated() {
|
|
9717
|
+
await super.firstUpdated();
|
|
9718
|
+
|
|
9719
|
+
// Removes the SVG description for screenreader if ariaHidden is set to true
|
|
9720
|
+
if (!this.hasAttribute('ariaHidden') && this.svg) {
|
|
9721
|
+
const svgDesc = this.svg.querySelector('desc');
|
|
9722
|
+
|
|
9723
|
+
if (svgDesc) {
|
|
9724
|
+
svgDesc.remove();
|
|
9725
|
+
this.svg.removeAttribute('aria-labelledby');
|
|
9726
|
+
}
|
|
9727
|
+
}
|
|
9728
|
+
}
|
|
9729
|
+
|
|
9579
9730
|
// function that renders the HTML and CSS into the scope of the component
|
|
9580
9731
|
render() {
|
|
9581
|
-
const
|
|
9582
|
-
'
|
|
9732
|
+
const labelClasses = {
|
|
9733
|
+
'labelWrapper': true,
|
|
9583
9734
|
'util_displayHiddenVisually': !this.label
|
|
9584
9735
|
};
|
|
9585
9736
|
|
|
9586
|
-
const
|
|
9587
|
-
'
|
|
9588
|
-
'wrapper': true,
|
|
9737
|
+
const svgClasses = {
|
|
9738
|
+
'svgWrapper': true,
|
|
9589
9739
|
};
|
|
9590
9740
|
|
|
9591
|
-
return x
|
|
9592
|
-
<div
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
${this.
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
|
|
9741
|
+
return x`
|
|
9742
|
+
<div class="componentWrapper">
|
|
9743
|
+
<div
|
|
9744
|
+
class="${e(svgClasses)}"
|
|
9745
|
+
title="${o(this.title || undefined)}">
|
|
9746
|
+
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
9747
|
+
${this.customSvg ? x`
|
|
9748
|
+
<slot name="svg"></slot>
|
|
9749
|
+
` : x`
|
|
9750
|
+
${this.svg}
|
|
9751
|
+
`
|
|
9752
|
+
}
|
|
9753
|
+
</span>
|
|
9754
|
+
</div>
|
|
9603
9755
|
|
|
9604
|
-
<div class="${e
|
|
9756
|
+
<div class="${e(labelClasses)}">
|
|
9605
9757
|
<slot></slot>
|
|
9606
9758
|
</div>
|
|
9607
9759
|
</div>
|
|
@@ -9611,78 +9763,258 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
9611
9763
|
|
|
9612
9764
|
var iconVersion$2 = '6.1.2';
|
|
9613
9765
|
|
|
9614
|
-
|
|
9766
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
9767
|
+
// See LICENSE in the project root for license information.
|
|
9615
9768
|
|
|
9616
|
-
var colorCss$2$1 = i$6$1`[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}`;
|
|
9617
9769
|
|
|
9618
|
-
|
|
9770
|
+
let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
9619
9771
|
|
|
9620
|
-
|
|
9772
|
+
/**
|
|
9773
|
+
* Generates a unique string to be used for child auro element naming.
|
|
9774
|
+
* @private
|
|
9775
|
+
* @param {string} baseName - Defines the first part of the unique element name.
|
|
9776
|
+
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
9777
|
+
* @returns {string} - Unique string to be used for naming.
|
|
9778
|
+
*/
|
|
9779
|
+
generateElementName(baseName, version) {
|
|
9780
|
+
let result = baseName;
|
|
9621
9781
|
|
|
9622
|
-
|
|
9782
|
+
result += '-';
|
|
9783
|
+
result += version.replace(/[.]/g, '_');
|
|
9623
9784
|
|
|
9624
|
-
|
|
9785
|
+
return result;
|
|
9786
|
+
}
|
|
9625
9787
|
|
|
9626
|
-
|
|
9627
|
-
|
|
9788
|
+
/**
|
|
9789
|
+
* Generates a unique string to be used for child auro element naming.
|
|
9790
|
+
* @param {string} baseName - Defines the first part of the unique element name.
|
|
9791
|
+
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
9792
|
+
* @returns {string} - Unique string to be used for naming.
|
|
9793
|
+
*/
|
|
9794
|
+
generateTag(baseName, version, tagClass) {
|
|
9795
|
+
const elementName = this.generateElementName(baseName, version);
|
|
9796
|
+
const tag = i$1`${s$1(elementName)}`;
|
|
9628
9797
|
|
|
9798
|
+
if (!customElements.get(elementName)) {
|
|
9799
|
+
customElements.define(elementName, class extends tagClass {});
|
|
9800
|
+
}
|
|
9629
9801
|
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
*
|
|
9634
|
-
* @attr {Boolean} pulse - sets loader type
|
|
9635
|
-
* @attr {Boolean} ringworm - sets loader type
|
|
9636
|
-
* @attr {Boolean} laser - sets loader type
|
|
9637
|
-
* @attr {Boolean} orbit - sets loader type
|
|
9638
|
-
* @attr {Boolean} white - sets color of loader to white
|
|
9639
|
-
* @attr {Boolean} ondark - sets color of loader to auro-color-ui-default-on-dark
|
|
9640
|
-
* @attr {Boolean} onlight - sets color of loader to auro-color-ui-default-on-light
|
|
9641
|
-
* @attr {Boolean} xs - sets size to extra small
|
|
9642
|
-
* @attr {Boolean} sm - sets size to small
|
|
9643
|
-
* @attr {Boolean} md - sets size to medium
|
|
9644
|
-
* @attr {Boolean} lg - sets size to large
|
|
9645
|
-
* @csspart element - apply style to adjust speed of animation
|
|
9646
|
-
*/
|
|
9802
|
+
return tag;
|
|
9803
|
+
}
|
|
9804
|
+
};
|
|
9647
9805
|
|
|
9648
|
-
//
|
|
9649
|
-
|
|
9650
|
-
constructor() {
|
|
9651
|
-
super();
|
|
9806
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
9807
|
+
// See LICENSE in the project root for license information.
|
|
9652
9808
|
|
|
9653
|
-
|
|
9654
|
-
* @private
|
|
9655
|
-
*/
|
|
9656
|
-
this.keys = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
|
|
9809
|
+
// ---------------------------------------------------------------------
|
|
9657
9810
|
|
|
9658
|
-
|
|
9659
|
-
* @private
|
|
9660
|
-
*/
|
|
9661
|
-
this.mdCount = 3;
|
|
9811
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
9662
9812
|
|
|
9663
|
-
|
|
9664
|
-
* @private
|
|
9665
|
-
*/
|
|
9666
|
-
this.smCount = 2;
|
|
9813
|
+
let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
|
|
9667
9814
|
|
|
9668
|
-
|
|
9669
|
-
* @private
|
|
9670
|
-
*/
|
|
9671
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
9815
|
+
/* eslint-disable jsdoc/require-param */
|
|
9672
9816
|
|
|
9673
|
-
|
|
9674
|
-
|
|
9675
|
-
|
|
9676
|
-
|
|
9817
|
+
/**
|
|
9818
|
+
* This will register a new custom element with the browser.
|
|
9819
|
+
* @param {String} name - The name of the custom element.
|
|
9820
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
9821
|
+
* @returns {void}
|
|
9822
|
+
*/
|
|
9823
|
+
registerComponent(name, componentClass) {
|
|
9824
|
+
if (!customElements.get(name)) {
|
|
9825
|
+
customElements.define(name, class extends componentClass {});
|
|
9826
|
+
}
|
|
9677
9827
|
}
|
|
9678
9828
|
|
|
9679
|
-
|
|
9680
|
-
|
|
9681
|
-
|
|
9682
|
-
|
|
9683
|
-
|
|
9684
|
-
|
|
9685
|
-
|
|
9829
|
+
/**
|
|
9830
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
9831
|
+
* @returns {void}
|
|
9832
|
+
*/
|
|
9833
|
+
closestElement(
|
|
9834
|
+
selector, // selector like in .closest()
|
|
9835
|
+
base = this, // extra functionality to skip a parent
|
|
9836
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
9837
|
+
!el || el === document || el === window
|
|
9838
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
9839
|
+
: found
|
|
9840
|
+
? found // found a selector INside this element
|
|
9841
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
9842
|
+
) {
|
|
9843
|
+
return __Closest(base);
|
|
9844
|
+
}
|
|
9845
|
+
/* eslint-enable jsdoc/require-param */
|
|
9846
|
+
|
|
9847
|
+
/**
|
|
9848
|
+
* 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.
|
|
9849
|
+
* @param {Object} elem - The element to check.
|
|
9850
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
9851
|
+
* @returns {void}
|
|
9852
|
+
*/
|
|
9853
|
+
handleComponentTagRename(elem, tagName) {
|
|
9854
|
+
const tag = tagName.toLowerCase();
|
|
9855
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
9856
|
+
|
|
9857
|
+
if (elemTag !== tag) {
|
|
9858
|
+
elem.setAttribute(tag, true);
|
|
9859
|
+
}
|
|
9860
|
+
}
|
|
9861
|
+
|
|
9862
|
+
/**
|
|
9863
|
+
* Validates if an element is a specific Auro component.
|
|
9864
|
+
* @param {Object} elem - The element to validate.
|
|
9865
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
9866
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
9867
|
+
*/
|
|
9868
|
+
elementMatch(elem, tagName) {
|
|
9869
|
+
const tag = tagName.toLowerCase();
|
|
9870
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
9871
|
+
|
|
9872
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
9873
|
+
}
|
|
9874
|
+
};
|
|
9875
|
+
|
|
9876
|
+
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}`;
|
|
9877
|
+
|
|
9878
|
+
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}`;
|
|
9879
|
+
|
|
9880
|
+
var tokensCss$2$1 = i$5`:host{--ds-auro-button-border-color:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-border-inset-color:var(--ds-color-border-emphasis-inverse, #f2f7fb);--ds-auro-button-container-color:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-container-image:var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-button-loader-color:var(--ds-color-utility-navy-default, #265688);--ds-auro-button-text-color:var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-button-tap-color:transparent}`;
|
|
9881
|
+
|
|
9882
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
9883
|
+
// See LICENSE in the project root for license information.
|
|
9884
|
+
|
|
9885
|
+
// ---------------------------------------------------------------------
|
|
9886
|
+
|
|
9887
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
9888
|
+
|
|
9889
|
+
let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
|
|
9890
|
+
|
|
9891
|
+
/* eslint-disable jsdoc/require-param */
|
|
9892
|
+
|
|
9893
|
+
/**
|
|
9894
|
+
* This will register a new custom element with the browser.
|
|
9895
|
+
* @param {String} name - The name of the custom element.
|
|
9896
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
9897
|
+
* @returns {void}
|
|
9898
|
+
*/
|
|
9899
|
+
registerComponent(name, componentClass) {
|
|
9900
|
+
if (!customElements.get(name)) {
|
|
9901
|
+
customElements.define(name, class extends componentClass {});
|
|
9902
|
+
}
|
|
9903
|
+
}
|
|
9904
|
+
|
|
9905
|
+
/**
|
|
9906
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
9907
|
+
* @returns {void}
|
|
9908
|
+
*/
|
|
9909
|
+
closestElement(
|
|
9910
|
+
selector, // selector like in .closest()
|
|
9911
|
+
base = this, // extra functionality to skip a parent
|
|
9912
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
9913
|
+
!el || el === document || el === window
|
|
9914
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
9915
|
+
: found
|
|
9916
|
+
? found // found a selector INside this element
|
|
9917
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
9918
|
+
) {
|
|
9919
|
+
return __Closest(base);
|
|
9920
|
+
}
|
|
9921
|
+
/* eslint-enable jsdoc/require-param */
|
|
9922
|
+
|
|
9923
|
+
/**
|
|
9924
|
+
* 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.
|
|
9925
|
+
* @param {Object} elem - The element to check.
|
|
9926
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
9927
|
+
* @returns {void}
|
|
9928
|
+
*/
|
|
9929
|
+
handleComponentTagRename(elem, tagName) {
|
|
9930
|
+
const tag = tagName.toLowerCase();
|
|
9931
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
9932
|
+
|
|
9933
|
+
if (elemTag !== tag) {
|
|
9934
|
+
elem.setAttribute(tag, true);
|
|
9935
|
+
}
|
|
9936
|
+
}
|
|
9937
|
+
|
|
9938
|
+
/**
|
|
9939
|
+
* Validates if an element is a specific Auro component.
|
|
9940
|
+
* @param {Object} elem - The element to validate.
|
|
9941
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
9942
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
9943
|
+
*/
|
|
9944
|
+
elementMatch(elem, tagName) {
|
|
9945
|
+
const tag = tagName.toLowerCase();
|
|
9946
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
9947
|
+
|
|
9948
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
9949
|
+
}
|
|
9950
|
+
};
|
|
9951
|
+
|
|
9952
|
+
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}}`;
|
|
9953
|
+
|
|
9954
|
+
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-utility-navy-default, #265688)}:host([ondark]){--ds-auro-loader-color:var(--ds-color-utility-cyan-inverse, #a8e9f7)}:host([white]){--ds-auro-loader-color:var(--ds-color-utility-neutral-inverse, #ccd2db)}:host([orbit])>span{--ds-auro-loader-background-color:transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color:currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color:currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}`;
|
|
9955
|
+
|
|
9956
|
+
var tokensCss$1$1 = i$5`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
|
|
9957
|
+
|
|
9958
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9959
|
+
// See LICENSE in the project root for license information.
|
|
9960
|
+
|
|
9961
|
+
|
|
9962
|
+
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
9963
|
+
/**
|
|
9964
|
+
* The auro-loader element is an easy to use animated loader component.
|
|
9965
|
+
*
|
|
9966
|
+
* @attr {Boolean} pulse - sets loader type
|
|
9967
|
+
* @attr {Boolean} ringworm - sets loader type
|
|
9968
|
+
* @attr {Boolean} laser - sets loader type
|
|
9969
|
+
* @attr {Boolean} orbit - sets loader type
|
|
9970
|
+
* @attr {Boolean} white - sets color of loader to white
|
|
9971
|
+
* @attr {Boolean} ondark - sets color of loader to auro-color-ui-default-on-dark
|
|
9972
|
+
* @attr {Boolean} onlight - sets color of loader to auro-color-ui-default-on-light
|
|
9973
|
+
* @attr {Boolean} xs - sets size to extra small
|
|
9974
|
+
* @attr {Boolean} sm - sets size to small
|
|
9975
|
+
* @attr {Boolean} md - sets size to medium
|
|
9976
|
+
* @attr {Boolean} lg - sets size to large
|
|
9977
|
+
* @csspart element - apply style to adjust speed of animation
|
|
9978
|
+
*/
|
|
9979
|
+
|
|
9980
|
+
// build the component class
|
|
9981
|
+
class AuroLoader extends r$1 {
|
|
9982
|
+
constructor() {
|
|
9983
|
+
super();
|
|
9984
|
+
|
|
9985
|
+
/**
|
|
9986
|
+
* @private
|
|
9987
|
+
*/
|
|
9988
|
+
this.keys = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
|
|
9989
|
+
|
|
9990
|
+
/**
|
|
9991
|
+
* @private
|
|
9992
|
+
*/
|
|
9993
|
+
this.mdCount = 3;
|
|
9994
|
+
|
|
9995
|
+
/**
|
|
9996
|
+
* @private
|
|
9997
|
+
*/
|
|
9998
|
+
this.smCount = 2;
|
|
9999
|
+
|
|
10000
|
+
/**
|
|
10001
|
+
* @private
|
|
10002
|
+
*/
|
|
10003
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
|
|
10004
|
+
|
|
10005
|
+
this.orbit = false;
|
|
10006
|
+
this.ringworm = false;
|
|
10007
|
+
this.laser = false;
|
|
10008
|
+
this.pulse = false;
|
|
10009
|
+
}
|
|
10010
|
+
|
|
10011
|
+
// function to define props used within the scope of this component
|
|
10012
|
+
static get properties() {
|
|
10013
|
+
return {
|
|
10014
|
+
pulse: {
|
|
10015
|
+
type: Boolean,
|
|
10016
|
+
reflect: true
|
|
10017
|
+
},
|
|
9686
10018
|
orbit: {
|
|
9687
10019
|
type: Boolean,
|
|
9688
10020
|
reflect: true
|
|
@@ -9700,9 +10032,9 @@ class AuroLoader extends r$4$1 {
|
|
|
9700
10032
|
|
|
9701
10033
|
static get styles() {
|
|
9702
10034
|
return [
|
|
9703
|
-
i$
|
|
9704
|
-
i$
|
|
9705
|
-
i$
|
|
10035
|
+
i$5`${styleCss$1$2}`,
|
|
10036
|
+
i$5`${colorCss$1$2}`,
|
|
10037
|
+
i$5`${tokensCss$1$1}`
|
|
9706
10038
|
];
|
|
9707
10039
|
}
|
|
9708
10040
|
|
|
@@ -9715,7 +10047,7 @@ class AuroLoader extends r$4$1 {
|
|
|
9715
10047
|
*
|
|
9716
10048
|
*/
|
|
9717
10049
|
static register(name = "auro-loader") {
|
|
9718
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroLoader);
|
|
10050
|
+
AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroLoader);
|
|
9719
10051
|
}
|
|
9720
10052
|
|
|
9721
10053
|
firstUpdated() {
|
|
@@ -9748,14 +10080,14 @@ class AuroLoader extends r$4$1 {
|
|
|
9748
10080
|
|
|
9749
10081
|
// function that renders the HTML and CSS into the scope of the component
|
|
9750
10082
|
render() {
|
|
9751
|
-
return x
|
|
9752
|
-
${this.defineTemplate().map((idx) => x
|
|
10083
|
+
return x`
|
|
10084
|
+
${this.defineTemplate().map((idx) => x`
|
|
9753
10085
|
<span part="element" class="loader node-${idx}"></span>
|
|
9754
10086
|
`)}
|
|
9755
10087
|
|
|
9756
10088
|
<div class="no-animation">Loading...</div>
|
|
9757
10089
|
|
|
9758
|
-
${this.ringworm ? x
|
|
10090
|
+
${this.ringworm ? x`
|
|
9759
10091
|
<svg part="element" class="circular" viewBox="25 25 50 50">
|
|
9760
10092
|
<circle class="path" cx="50" cy="50" r="20" fill="none"/>
|
|
9761
10093
|
</svg>`
|
|
@@ -9765,7 +10097,7 @@ class AuroLoader extends r$4$1 {
|
|
|
9765
10097
|
}
|
|
9766
10098
|
}
|
|
9767
10099
|
|
|
9768
|
-
var loaderVersion = '
|
|
10100
|
+
var loaderVersion = '4.0.0';
|
|
9769
10101
|
|
|
9770
10102
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
9771
10103
|
// See LICENSE in the project root for license information.
|
|
@@ -9801,10 +10133,20 @@ var loaderVersion = '3.1.1';
|
|
|
9801
10133
|
|
|
9802
10134
|
/* eslint-disable lit/no-invalid-html, lit/binding-positions */
|
|
9803
10135
|
|
|
9804
|
-
class AuroButton extends r$
|
|
10136
|
+
class AuroButton extends r$1 {
|
|
10137
|
+
|
|
10138
|
+
/**
|
|
10139
|
+
* Enables form association for this element.
|
|
10140
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals
|
|
10141
|
+
* @returns {boolean} - Returns true to enable form association.
|
|
10142
|
+
*/
|
|
10143
|
+
static get formAssociated() {
|
|
10144
|
+
return true;
|
|
10145
|
+
}
|
|
9805
10146
|
|
|
9806
10147
|
constructor() {
|
|
9807
10148
|
super();
|
|
10149
|
+
|
|
9808
10150
|
this.autofocus = false;
|
|
9809
10151
|
this.disabled = false;
|
|
9810
10152
|
this.iconOnly = false;
|
|
@@ -9817,10 +10159,20 @@ class AuroButton extends r$4$1 {
|
|
|
9817
10159
|
this.slim = false;
|
|
9818
10160
|
this.fluid = false;
|
|
9819
10161
|
|
|
10162
|
+
// Support for HTML5 forms
|
|
10163
|
+
if (typeof this.attachInternals === 'function') {
|
|
10164
|
+
this.internals = this.attachInternals();
|
|
10165
|
+
} else {
|
|
10166
|
+
this.internals = null;
|
|
10167
|
+
|
|
10168
|
+
// eslint-disable-next-line no-console
|
|
10169
|
+
console.warn('This browser does not support form association features. Some form-related functionality may not work as expected. Consider using a polyfill or handling click events manually.');
|
|
10170
|
+
}
|
|
10171
|
+
|
|
9820
10172
|
/**
|
|
9821
10173
|
* Generate unique names for dependency components.
|
|
9822
10174
|
*/
|
|
9823
|
-
const versioning = new AuroDependencyVersioning$
|
|
10175
|
+
const versioning = new AuroDependencyVersioning$2();
|
|
9824
10176
|
|
|
9825
10177
|
/**
|
|
9826
10178
|
* @private
|
|
@@ -9915,7 +10267,7 @@ class AuroButton extends r$4$1 {
|
|
|
9915
10267
|
*
|
|
9916
10268
|
*/
|
|
9917
10269
|
static register(name = "auro-button") {
|
|
9918
|
-
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroButton);
|
|
10270
|
+
AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroButton);
|
|
9919
10271
|
}
|
|
9920
10272
|
|
|
9921
10273
|
/**
|
|
@@ -9957,6 +10309,16 @@ class AuroButton extends r$4$1 {
|
|
|
9957
10309
|
this.notifyReady();
|
|
9958
10310
|
}
|
|
9959
10311
|
|
|
10312
|
+
surfaceSubmitEvent() {
|
|
10313
|
+
if (this.form) {
|
|
10314
|
+
this.form.requestSubmit();
|
|
10315
|
+
}
|
|
10316
|
+
}
|
|
10317
|
+
|
|
10318
|
+
get form() {
|
|
10319
|
+
return this.internals ? this.internals.form : null;
|
|
10320
|
+
}
|
|
10321
|
+
|
|
9960
10322
|
render() {
|
|
9961
10323
|
const classes = {
|
|
9962
10324
|
'util_insetLg--squish': true,
|
|
@@ -9969,27 +10331,27 @@ class AuroButton extends r$4$1 {
|
|
|
9969
10331
|
'loading': this.loading
|
|
9970
10332
|
};
|
|
9971
10333
|
|
|
9972
|
-
return u$
|
|
10334
|
+
return u$2`
|
|
9973
10335
|
<button
|
|
9974
10336
|
part="button"
|
|
9975
|
-
aria-label="${o
|
|
9976
|
-
aria-labelledby="${o
|
|
10337
|
+
aria-label="${o(this.arialabel ? this.arialabel : undefined)}"
|
|
10338
|
+
aria-labelledby="${o(this.arialabelledby ? this.arialabelledby : undefined)}"
|
|
9977
10339
|
?autofocus="${this.autofocus}"
|
|
9978
|
-
class="${e
|
|
10340
|
+
class="${e(classes)}"
|
|
9979
10341
|
?disabled="${this.disabled || this.loading}"
|
|
9980
10342
|
?onDark="${this.onDark}"
|
|
9981
|
-
title="${o
|
|
9982
|
-
name="${o
|
|
9983
|
-
type="${o
|
|
9984
|
-
variant="${o
|
|
9985
|
-
.value="${o
|
|
9986
|
-
@click="${
|
|
10343
|
+
title="${o(this.title ? this.title : undefined)}"
|
|
10344
|
+
name="${o(this.name ? this.name : undefined)}"
|
|
10345
|
+
type="${o(this.type ? this.type : undefined)}"
|
|
10346
|
+
variant="${o(this.variant ? this.variant : undefined)}"
|
|
10347
|
+
.value="${o(this.value ? this.value : undefined)}"
|
|
10348
|
+
@click="${this.type === 'submit' ? this.surfaceSubmitEvent : undefined}"
|
|
9987
10349
|
>
|
|
9988
|
-
${o
|
|
10350
|
+
${o(this.loading ? u$2`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
9989
10351
|
|
|
9990
10352
|
<span class="contentWrapper">
|
|
9991
10353
|
<span class="textSlot" part="text">
|
|
9992
|
-
${this.iconOnly ? undefined : u$
|
|
10354
|
+
${this.iconOnly ? undefined : u$2`<slot></slot>`}
|
|
9993
10355
|
</span>
|
|
9994
10356
|
|
|
9995
10357
|
<span part="icon">
|
|
@@ -10003,37 +10365,11 @@ class AuroButton extends r$4$1 {
|
|
|
10003
10365
|
|
|
10004
10366
|
var buttonVersion = '8.2.2';
|
|
10005
10367
|
|
|
10006
|
-
|
|
10007
|
-
* @license
|
|
10008
|
-
* Copyright 2019 Google LLC
|
|
10009
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10010
|
-
*/
|
|
10011
|
-
const t$1$2=globalThis,e$2$2=t$1$2.ShadowRoot&&(void 0===t$1$2.ShadyCSS||t$1$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1$2=Symbol(),o$2$2=new WeakMap;let n$2$2 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1$2)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2$2&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2$2.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2$2.set(s,t));}return t}toString(){return this.cssText}};const r$3$2=t=>new n$2$2("string"==typeof t?t:t+"",void 0,s$1$2),i$3$2=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2$2(o,t,s$1$2)},S$1$2=(s,o)=>{if(e$2$2)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1$2.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2$2=e$2$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3$2(e)})(t):t;
|
|
10012
|
-
|
|
10013
|
-
/**
|
|
10014
|
-
* @license
|
|
10015
|
-
* Copyright 2017 Google LLC
|
|
10016
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10017
|
-
*/const{is:i$2$2,defineProperty:e$1$2,getOwnPropertyDescriptor:r$2$2,getOwnPropertyNames:h$1$2,getOwnPropertySymbols:o$1$1,getPrototypeOf:n$1$2}=Object,a$1$2=globalThis,c$1$2=a$1$2.trustedTypes,l$1$2=c$1$2?c$1$2.emptyScript:"",p$1$2=a$1$2.reactiveElementPolyfillSupport,d$1$2=(t,s)=>t,u$1$2={toAttribute(t,s){switch(s){case Boolean:t=t?l$1$2:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1$2=(t,s)=>!i$2$2(t,s),y$1$2={attribute:true,type:String,converter:u$1$2,reflect:false,hasChanged:f$1$2};Symbol.metadata??=Symbol("metadata"),a$1$2.litPropertyMetadata??=new WeakMap;let b$2 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1$2){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$1$2(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2$2(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1$2}static _$Ei(){if(this.hasOwnProperty(d$1$2("elementProperties")))return;const t=n$1$2(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1$2("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1$2("properties"))){const t=this.properties,s=[...h$1$2(t),...o$1$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2$2(s));}else void 0!==s&&i.push(c$2$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1$2(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$1$2).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$1$2;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1$2)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$2.elementStyles=[],b$2.shadowRootOptions={mode:"open"},b$2[d$1$2("elementProperties")]=new Map,b$2[d$1$2("finalized")]=new Map,p$1$2?.({ReactiveElement:b$2}),(a$1$2.reactiveElementVersions??=[]).push("2.0.4");
|
|
10018
|
-
|
|
10019
|
-
/**
|
|
10020
|
-
* @license
|
|
10021
|
-
* Copyright 2017 Google LLC
|
|
10022
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10023
|
-
*/
|
|
10024
|
-
const t$6=globalThis,i$1$1=t$6.trustedTypes,s$6=i$1$1?i$1$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$8="$lit$",h$4=`lit$${Math.random().toFixed(9).slice(2)}$`,o$8="?"+h$4,n$7=`<${o$8}>`,r$1$2=document,l$5=()=>r$1$2.createComment(""),c$7=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$5=Array.isArray,u$7=t=>a$5(t)||"function"==typeof t?.[Symbol.iterator],d$4="[ \t\n\f\r]",f$4=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$3=/-->/g,_$2=/>/g,m$3=RegExp(`>|${d$4}(?:([^\\s"'>=/]+)(${d$4}*=${d$4}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$5=/'/g,g$2=/"/g,$$2=/^(?:script|style|textarea|title)$/i,y$4=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$2=y$4(1),T$2=Symbol.for("lit-noChange"),E$2=Symbol.for("lit-nothing"),A$2=new WeakMap,C$2=r$1$2.createTreeWalker(r$1$2,129);function P$2(t,i){if(!a$5(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$6?s$6.createHTML(i):i}const V$2=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$4;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$4?"!--"===u[1]?c=v$3:void 0!==u[1]?c=_$2:void 0!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$3):void 0!==u[3]&&(c=m$3):c===m$3?">"===u[0]?(c=r??f$4,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$3:'"'===u[3]?g$2:p$5):c===g$2||c===p$5?c=m$3:c===v$3||c===_$2?c=f$4:(c=m$3,r=void 0);const x=c===m$3&&t[i+1].startsWith("/>")?" ":"";l+=c===f$4?s+n$7:d>=0?(o.push(a),s.slice(0,d)+e$8+s.slice(d)+h$4+x):s+h$4+(-2===d?i:x);}return [P$2(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$2 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$2(t,s);if(this.el=N.createElement(f,n),C$2.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$2.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$8)){const i=v[a++],s=r.getAttribute(t).split(h$4),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$2:"@"===e[1]?L$2:k$2}),r.removeAttribute(t);}else t.startsWith(h$4)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$4),s=t.length-1;if(s>0){r.textContent=i$1$1?i$1$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$5()),C$2.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$5());}}}else if(8===r.nodeType)if(r.data===o$8)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$4,t+1));)d.push({type:7,index:c}),t+=h$4.length-1;}c++;}}static createElement(t,i){const s=r$1$2.createElement("template");return s.innerHTML=t,s}};function S$4(t,i,s=t,e){if(i===T$2)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$7(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$4(t,h._$AS(t,i.values),h,e)),i}let M$3 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1$2).importNode(i,true);C$2.currentNode=e;let h=C$2.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$2(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$2(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$2.nextNode(),o++);}return C$2.currentNode=r$1$2,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$2 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$2,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$4(this,t,i),c$7(t)?t===E$2||null==t||""===t?(this._$AH!==E$2&&this._$AR(),this._$AH=E$2):t!==this._$AH&&t!==T$2&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$7(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$2&&c$7(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1$2.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$2.createElement(P$2(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$3(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$2.get(t.strings);return void 0===i&&A$2.set(t.strings,i=new N$2(t)),i}k(t){a$5(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$5()),this.O(l$5()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$2 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$2,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$2;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$4(this,t,i,0),o=!c$7(t)||t!==this._$AH&&t!==T$2,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$4(this,e[s+n],i,n),r===T$2&&(r=this._$AH[n]),o||=!c$7(r)||r!==this._$AH[n],r===E$2?t=E$2:t!==E$2&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$2 = class H extends k$2{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$2?void 0:t;}};let I$2 = class I extends k$2{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$2);}};let L$2 = class L extends k$2{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$4(this,t,i,0)??E$2)===T$2)return;const s=this._$AH,e=t===E$2&&s!==E$2||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$2&&(s===E$2||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$2 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$4(this,t);}};const j$2=t$6.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t$6.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$2(i.insertBefore(l$5(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
10025
|
-
|
|
10026
|
-
/**
|
|
10027
|
-
* @license
|
|
10028
|
-
* Copyright 2017 Google LLC
|
|
10029
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10030
|
-
*/let r$9 = class r extends b$2{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$2(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$2}};r$9._$litElement$=true,r$9["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$9});const i$a=globalThis.litElementPolyfillSupport;i$a?.({LitElement:r$9});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
10031
|
-
|
|
10032
|
-
var colorCss$5 = i$3$2`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
10368
|
+
var colorCss$5 = i$5`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
10033
10369
|
|
|
10034
|
-
var styleCss$5 = i$
|
|
10370
|
+
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}`;
|
|
10035
10371
|
|
|
10036
|
-
var tokensCss$5 = i$
|
|
10372
|
+
var tokensCss$5 = i$5`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
10037
10373
|
|
|
10038
10374
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10039
10375
|
// See LICENSE in the project root for license information.
|
|
@@ -10042,7 +10378,7 @@ var tokensCss$5 = i$3$2`:host{--ds-auro-helptext-color: var(--ds-color-text-tert
|
|
|
10042
10378
|
|
|
10043
10379
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10044
10380
|
|
|
10045
|
-
let AuroLibraryRuntimeUtils$
|
|
10381
|
+
let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
10046
10382
|
|
|
10047
10383
|
/* eslint-disable jsdoc/require-param */
|
|
10048
10384
|
|
|
@@ -10114,7 +10450,7 @@ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
|
10114
10450
|
*
|
|
10115
10451
|
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
10116
10452
|
*/
|
|
10117
|
-
class AuroHelpText extends r$
|
|
10453
|
+
class AuroHelpText extends r$1 {
|
|
10118
10454
|
|
|
10119
10455
|
constructor() {
|
|
10120
10456
|
super();
|
|
@@ -10122,7 +10458,7 @@ class AuroHelpText extends r$9 {
|
|
|
10122
10458
|
this.error = false;
|
|
10123
10459
|
this.hasTextContent = false;
|
|
10124
10460
|
|
|
10125
|
-
AuroLibraryRuntimeUtils$
|
|
10461
|
+
AuroLibraryRuntimeUtils$5.prototype.handleComponentTagRename(this, 'auro-helptext');
|
|
10126
10462
|
}
|
|
10127
10463
|
|
|
10128
10464
|
static get styles() {
|
|
@@ -10170,7 +10506,7 @@ class AuroHelpText extends r$9 {
|
|
|
10170
10506
|
*
|
|
10171
10507
|
*/
|
|
10172
10508
|
static register(name = "auro-helptext") {
|
|
10173
|
-
AuroLibraryRuntimeUtils$
|
|
10509
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroHelpText);
|
|
10174
10510
|
}
|
|
10175
10511
|
|
|
10176
10512
|
updated() {
|
|
@@ -10218,7 +10554,7 @@ class AuroHelpText extends r$9 {
|
|
|
10218
10554
|
|
|
10219
10555
|
// function that renders the HTML and CSS into the scope of the component
|
|
10220
10556
|
render() {
|
|
10221
|
-
return x
|
|
10557
|
+
return x`
|
|
10222
10558
|
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
10223
10559
|
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
10224
10560
|
</div>
|
|
@@ -10245,17 +10581,17 @@ class AuroInput extends BaseInput {
|
|
|
10245
10581
|
/**
|
|
10246
10582
|
* @private
|
|
10247
10583
|
*/
|
|
10248
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion$2, AuroIcon$2);
|
|
10584
|
+
this.iconTag = versioning.generateTag('auro-formkit-input-icon', iconVersion$2, AuroIcon$2);
|
|
10249
10585
|
|
|
10250
10586
|
/**
|
|
10251
10587
|
* @private
|
|
10252
10588
|
*/
|
|
10253
|
-
this.buttonTag = versioning.generateTag('auro-button', buttonVersion, AuroButton);
|
|
10589
|
+
this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion, AuroButton);
|
|
10254
10590
|
|
|
10255
10591
|
/**
|
|
10256
10592
|
* @private
|
|
10257
10593
|
*/
|
|
10258
|
-
this.helpTextTag = versioning.generateTag('auro-helptext', helpTextVersion, AuroHelpText);
|
|
10594
|
+
this.helpTextTag = versioning.generateTag('auro-formkit-input-helptext', helpTextVersion, AuroHelpText);
|
|
10259
10595
|
}
|
|
10260
10596
|
|
|
10261
10597
|
/**
|
|
@@ -10267,7 +10603,7 @@ class AuroInput extends BaseInput {
|
|
|
10267
10603
|
*
|
|
10268
10604
|
*/
|
|
10269
10605
|
static register(name = "auro-input") {
|
|
10270
|
-
AuroLibraryRuntimeUtils$
|
|
10606
|
+
AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroInput);
|
|
10271
10607
|
}
|
|
10272
10608
|
|
|
10273
10609
|
/**
|
|
@@ -10292,7 +10628,7 @@ class AuroInput extends BaseInput {
|
|
|
10292
10628
|
'withValue': this.value && this.value.length > 0
|
|
10293
10629
|
};
|
|
10294
10630
|
|
|
10295
|
-
return u$
|
|
10631
|
+
return u$2`
|
|
10296
10632
|
<div class="wrapper" part="wrapper">
|
|
10297
10633
|
<div class="main">
|
|
10298
10634
|
<div class="typeIcon">
|
|
@@ -10301,7 +10637,7 @@ class AuroInput extends BaseInput {
|
|
|
10301
10637
|
<!-- The repeat() method is used below in order to force auro-icon to re-render when the name value is updated.
|
|
10302
10638
|
This should be cleaned up when auro-icon issue #31 is resolved. -->
|
|
10303
10639
|
${this.inputIconName
|
|
10304
|
-
? c
|
|
10640
|
+
? c([this.inputIconName], (val) => val, (name) => u$2`
|
|
10305
10641
|
<${this.iconTag}
|
|
10306
10642
|
class="accentIcon"
|
|
10307
10643
|
category="payment"
|
|
@@ -10313,7 +10649,7 @@ class AuroInput extends BaseInput {
|
|
|
10313
10649
|
}
|
|
10314
10650
|
|
|
10315
10651
|
${this.type === 'date'
|
|
10316
|
-
? u$
|
|
10652
|
+
? u$2`
|
|
10317
10653
|
<${this.iconTag}
|
|
10318
10654
|
class="accentIcon"
|
|
10319
10655
|
category="interface"
|
|
@@ -10324,7 +10660,7 @@ class AuroInput extends BaseInput {
|
|
|
10324
10660
|
: undefined
|
|
10325
10661
|
}
|
|
10326
10662
|
</div>
|
|
10327
|
-
<label for=${this.id} class="${e
|
|
10663
|
+
<label for=${this.id} class="${e(labelClasses)}" part="label">
|
|
10328
10664
|
<slot name="label">
|
|
10329
10665
|
${this.label}
|
|
10330
10666
|
</slot>
|
|
@@ -10335,23 +10671,23 @@ class AuroInput extends BaseInput {
|
|
|
10335
10671
|
@focusin="${this.handleFocusin}"
|
|
10336
10672
|
@blur="${this.handleBlur}"
|
|
10337
10673
|
id="${this.id}"
|
|
10338
|
-
name="${o
|
|
10674
|
+
name="${o(this.name)}"
|
|
10339
10675
|
type="${this.type === 'password' && this.showPassword ? 'text' : this.getInputType(this.type)}"
|
|
10340
|
-
pattern="${o
|
|
10341
|
-
maxlength="${o
|
|
10342
|
-
minlength="${o
|
|
10343
|
-
inputMode="${o
|
|
10676
|
+
pattern="${o(this.definePattern())}"
|
|
10677
|
+
maxlength="${o(this.maxLength ? this.maxLength : undefined)}"
|
|
10678
|
+
minlength="${o(this.minLength ? this.minLength : undefined)}"
|
|
10679
|
+
inputMode="${o(this.inputMode ? this.inputMode : undefined)}"
|
|
10344
10680
|
?required="${this.required}"
|
|
10345
10681
|
?disabled="${this.disabled}"
|
|
10346
10682
|
aria-describedby="${this.uniqueId}"
|
|
10347
10683
|
aria-invalid="${this.validity !== 'valid'}"
|
|
10348
10684
|
placeholder=${this.getPlaceholder()}
|
|
10349
|
-
lang="${o
|
|
10685
|
+
lang="${o(this.lang)}"
|
|
10350
10686
|
?activeLabel="${this.activeLabel}"
|
|
10351
|
-
spellcheck="${o
|
|
10352
|
-
autocorrect="${o
|
|
10353
|
-
autocapitalize="${o
|
|
10354
|
-
autocomplete="${o
|
|
10687
|
+
spellcheck="${o(this.spellcheck ? this.spellcheck : undefined)}"
|
|
10688
|
+
autocorrect="${o(this.autocorrect ? this.autocorrect : undefined)}"
|
|
10689
|
+
autocapitalize="${o(this.autocapitalize ? this.autocapitalize : undefined)}"
|
|
10690
|
+
autocomplete="${o(this.autocomplete ? this.autocomplete : undefined)}"
|
|
10355
10691
|
part="input"
|
|
10356
10692
|
/>
|
|
10357
10693
|
</div>
|
|
@@ -10359,7 +10695,7 @@ class AuroInput extends BaseInput {
|
|
|
10359
10695
|
class="notificationIcons"
|
|
10360
10696
|
part="notificationIcons"
|
|
10361
10697
|
?hasValue="${this.hasValue}">
|
|
10362
|
-
${this.validity && this.validity !== 'valid' ? u$
|
|
10698
|
+
${this.validity && this.validity !== 'valid' ? u$2`
|
|
10363
10699
|
<div class="notification alertNotification">
|
|
10364
10700
|
<${this.iconTag}
|
|
10365
10701
|
category="alert"
|
|
@@ -10368,8 +10704,8 @@ class AuroInput extends BaseInput {
|
|
|
10368
10704
|
</${this.iconTag}>
|
|
10369
10705
|
</div>
|
|
10370
10706
|
` : undefined}
|
|
10371
|
-
${this.hasValue ? u$
|
|
10372
|
-
${this.type === 'password' ? u$
|
|
10707
|
+
${this.hasValue ? u$2`
|
|
10708
|
+
${this.type === 'password' ? u$2`
|
|
10373
10709
|
<div class="notification">
|
|
10374
10710
|
<${this.buttonTag}
|
|
10375
10711
|
variant="flat"
|
|
@@ -10392,7 +10728,7 @@ class AuroInput extends BaseInput {
|
|
|
10392
10728
|
</${this.buttonTag}>
|
|
10393
10729
|
</div>
|
|
10394
10730
|
` : undefined}
|
|
10395
|
-
${!this.disabled && !this.readonly ? u$
|
|
10731
|
+
${!this.disabled && !this.readonly ? u$2`
|
|
10396
10732
|
<div class="notification">
|
|
10397
10733
|
<${this.buttonTag}
|
|
10398
10734
|
variant="flat"
|
|
@@ -10413,14 +10749,14 @@ class AuroInput extends BaseInput {
|
|
|
10413
10749
|
</div>
|
|
10414
10750
|
<!-- Help text and error message template -->
|
|
10415
10751
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
10416
|
-
? u$
|
|
10752
|
+
? u$2`
|
|
10417
10753
|
<${this.helpTextTag}>
|
|
10418
10754
|
<p id="${this.uniqueId}" part="helpText">
|
|
10419
10755
|
<slot name="helptext">${this.getHelpText()}</slot>
|
|
10420
10756
|
</p>
|
|
10421
10757
|
</${this.helpTextTag}>
|
|
10422
10758
|
`
|
|
10423
|
-
: u$
|
|
10759
|
+
: u$2`
|
|
10424
10760
|
<${this.helpTextTag} error>
|
|
10425
10761
|
<p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
10426
10762
|
${this.errorMessage}
|
|
@@ -10434,44 +10770,11 @@ class AuroInput extends BaseInput {
|
|
|
10434
10770
|
|
|
10435
10771
|
var inputVersion = '4.2.0';
|
|
10436
10772
|
|
|
10437
|
-
|
|
10438
|
-
* @license
|
|
10439
|
-
* Copyright 2019 Google LLC
|
|
10440
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10441
|
-
*/
|
|
10442
|
-
const t$2$1=globalThis,e$4$1=t$2$1.ShadowRoot&&(void 0===t$2$1.ShadyCSS||t$2$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$1=Symbol(),o$4$1=new WeakMap;let n$3$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$4$1&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$4$1.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$4$1.set(s,t));}return t}toString(){return this.cssText}};const r$3$1=t=>new n$3$1("string"==typeof t?t:t+"",void 0,s$2$1),i$5$1=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$3$1(o,t,s$2$1)},S$1$1=(s,o)=>{if(e$4$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$2$1.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2$1=e$4$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3$1(e)})(t):t;
|
|
10773
|
+
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)}`;
|
|
10443
10774
|
|
|
10444
|
-
|
|
10445
|
-
* @license
|
|
10446
|
-
* Copyright 2017 Google LLC
|
|
10447
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10448
|
-
*/const{is:i$4$1,defineProperty:e$3$1,getOwnPropertyDescriptor:r$2$1,getOwnPropertyNames:h$1$1,getOwnPropertySymbols:o$3$1,getPrototypeOf:n$2$1}=Object,a$2$1=globalThis,c$1$1=a$2$1.trustedTypes,l$2$1=c$1$1?c$1$1.emptyScript:"",p$1$1=a$2$1.reactiveElementPolyfillSupport,d$1$1=(t,s)=>t,u$2$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1$1=(t,s)=>!i$4$1(t,s),y$1$1={attribute:true,type:String,converter:u$2$1,reflect:false,hasChanged:f$1$1};Symbol.metadata??=Symbol("metadata"),a$2$1.litPropertyMetadata??=new WeakMap;let b$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$3$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1$1}static _$Ei(){if(this.hasOwnProperty(d$1$1("elementProperties")))return;const t=n$2$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1$1("properties"))){const t=this.properties,s=[...h$1$1(t),...o$3$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2$1(s));}else void 0!==s&&i.push(c$2$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$2$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$2$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1.elementStyles=[],b$1.shadowRootOptions={mode:"open"},b$1[d$1$1("elementProperties")]=new Map,b$1[d$1$1("finalized")]=new Map,p$1$1?.({ReactiveElement:b$1}),(a$2$1.reactiveElementVersions??=[]).push("2.0.4");
|
|
10775
|
+
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, $ds-size-500)}#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)}`;
|
|
10449
10776
|
|
|
10450
|
-
|
|
10451
|
-
* @license
|
|
10452
|
-
* Copyright 2017 Google LLC
|
|
10453
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10454
|
-
*/
|
|
10455
|
-
const t$1$1=globalThis,i$3$1=t$1$1.trustedTypes,s$1$1=i$3$1?i$3$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$2$1="$lit$",h$2=`lit$${Math.random().toFixed(9).slice(2)}$`,o$2$1="?"+h$2,n$1$1=`<${o$2$1}>`,r$1$1=document,l$1$1=()=>r$1$1.createComment(""),c$3=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1$1=Array.isArray,u$1$1=t=>a$1$1(t)||"function"==typeof t?.[Symbol.iterator],d$2="[ \t\n\f\r]",f$2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$2}(?:([^\\s"'>=/]+)(${d$2}*=${d$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$1$1.createTreeWalker(r$1$1,129);function P$1(t,i){if(!a$1$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$1$1?s$1$1.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$2;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$2?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f$2,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$2):c===g$1||c===p$2?c=m$1:c===v$1||c===_$1?c=f$2:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$2?s+n$1$1:d>=0?(o.push(a),s.slice(0,d)+e$2$1+s.slice(d)+h$2+x):s+h$2+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N.createElement(f,n),C$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$2$1)){const i=v[a++],s=r.getAttribute(t).split(h$2),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$2)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$2),s=t.length-1;if(s>0){r.textContent=i$3$1?i$3$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$1$1()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$1$1());}}}else if(8===r.nodeType)if(r.data===o$2$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$2,t+1));)d.push({type:7,index:c}),t+=h$2.length-1;}c++;}}static createElement(t,i){const s=r$1$1.createElement("template");return s.innerHTML=t,s}};function S$2(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$3(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$2(t,h._$AS(t,i.values),h,e)),i}let M$1 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1$1).importNode(i,true);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1.nextNode(),o++);}return C$1.currentNode=r$1$1,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$2(this,t,i),c$3(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$1$1(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c$3(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1.get(t.strings);return void 0===i&&A$1.set(t.strings,i=new N$1(t)),i}k(t){a$1$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$1$1()),this.O(l$1$1()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$2(this,t,i,0),o=!c$3(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$2(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$3(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1 = class H extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}};let I$1 = class I extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}};let L$1 = class L extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$2(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$2(this,t);}};const j$1=t$1$1.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$1$1.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$1$1(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
10456
|
-
|
|
10457
|
-
/**
|
|
10458
|
-
* @license
|
|
10459
|
-
* Copyright 2017 Google LLC
|
|
10460
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10461
|
-
*/let r$4 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1}};r$4._$litElement$=true,r$4["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4});const i$2$1=globalThis.litElementPolyfillSupport;i$2$1?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
10462
|
-
|
|
10463
|
-
/**
|
|
10464
|
-
* @license
|
|
10465
|
-
* Copyright 2020 Google LLC
|
|
10466
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10467
|
-
*/
|
|
10468
|
-
const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s=t=>({_$litStatic$:t,r:a}),i$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a}),l=new Map,n=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$1(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l.get(t))&&(n.raw=n,l.set(t,r=n)),e=u;}return t(r,...e)},u=n(x);
|
|
10469
|
-
|
|
10470
|
-
var colorCss$1$1 = i$5$1`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
10471
|
-
|
|
10472
|
-
var styleCss$2$1 = i$5$1`#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, $ds-size-500)}#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)}`;
|
|
10473
|
-
|
|
10474
|
-
var tokenCss = i$5$1`: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-container-primary-default, #ffffff)}`;
|
|
10777
|
+
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-container-primary-default, #ffffff)}`;
|
|
10475
10778
|
|
|
10476
10779
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10477
10780
|
// See LICENSE in the project root for license information.
|
|
@@ -10480,7 +10783,7 @@ var tokenCss = i$5$1`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--d
|
|
|
10480
10783
|
|
|
10481
10784
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
10482
10785
|
|
|
10483
|
-
class AuroLibraryRuntimeUtils {
|
|
10786
|
+
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
10484
10787
|
|
|
10485
10788
|
/* eslint-disable jsdoc/require-param */
|
|
10486
10789
|
|
|
@@ -10541,7 +10844,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
10541
10844
|
|
|
10542
10845
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
10543
10846
|
}
|
|
10544
|
-
}
|
|
10847
|
+
};
|
|
10545
10848
|
|
|
10546
10849
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10547
10850
|
// See LICENSE in the project root for license information.
|
|
@@ -10573,7 +10876,7 @@ class AuroDependencyVersioning {
|
|
|
10573
10876
|
*/
|
|
10574
10877
|
generateTag(baseName, version, tagClass) {
|
|
10575
10878
|
const elementName = this.generateElementName(baseName, version);
|
|
10576
|
-
const tag = i$1`${s(elementName)}`;
|
|
10879
|
+
const tag = i$1`${s$1(elementName)}`;
|
|
10577
10880
|
|
|
10578
10881
|
if (!customElements.get(elementName)) {
|
|
10579
10882
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -10583,25 +10886,6 @@ class AuroDependencyVersioning {
|
|
|
10583
10886
|
}
|
|
10584
10887
|
}
|
|
10585
10888
|
|
|
10586
|
-
/**
|
|
10587
|
-
* @license
|
|
10588
|
-
* Copyright 2017 Google LLC
|
|
10589
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10590
|
-
*/
|
|
10591
|
-
const t$3={ATTRIBUTE:1},e$1$1=t=>(...e)=>({_$litDirective$:t,values:e});let i$6 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
10592
|
-
|
|
10593
|
-
/**
|
|
10594
|
-
* @license
|
|
10595
|
-
* Copyright 2018 Google LLC
|
|
10596
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10597
|
-
*/const e$5=e$1$1(class extends i$6{constructor(t$1){if(super(t$1),t$1.type!==t$3.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1}});
|
|
10598
|
-
|
|
10599
|
-
/**
|
|
10600
|
-
* @license
|
|
10601
|
-
* Copyright 2018 Google LLC
|
|
10602
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
10603
|
-
*/const o$5=o=>o??E$1;
|
|
10604
|
-
|
|
10605
10889
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
10606
10890
|
// See LICENSE in the project root for license information.
|
|
10607
10891
|
|
|
@@ -10612,7 +10896,7 @@ const t$3={ATTRIBUTE:1},e$1$1=t=>(...e)=>({_$litDirective$:t,values:e});let i$6
|
|
|
10612
10896
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
10613
10897
|
*/
|
|
10614
10898
|
|
|
10615
|
-
let AuroElement$1 = class AuroElement extends r$
|
|
10899
|
+
let AuroElement$1 = class AuroElement extends r$1 {
|
|
10616
10900
|
|
|
10617
10901
|
// function to define props used within the scope of this component
|
|
10618
10902
|
static get properties() {
|
|
@@ -10668,7 +10952,7 @@ const cacheFetch$1 = (uri, options = {}) => {
|
|
|
10668
10952
|
return _fetchMap$1.get(uri);
|
|
10669
10953
|
};
|
|
10670
10954
|
|
|
10671
|
-
var styleCss$1$1 = i$5
|
|
10955
|
+
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}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}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}`;
|
|
10672
10956
|
|
|
10673
10957
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
10674
10958
|
// See LICENSE in the project root for license information.
|
|
@@ -10707,7 +10991,7 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
10707
10991
|
}
|
|
10708
10992
|
|
|
10709
10993
|
static get styles() {
|
|
10710
|
-
return i$5
|
|
10994
|
+
return i$5`
|
|
10711
10995
|
${styleCss$1$1}
|
|
10712
10996
|
`;
|
|
10713
10997
|
}
|
|
@@ -10749,47 +11033,88 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
10749
11033
|
}
|
|
10750
11034
|
};
|
|
10751
11035
|
|
|
10752
|
-
var tokensCss$2 = i$5
|
|
11036
|
+
var tokensCss$2 = i$5`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
10753
11037
|
|
|
10754
|
-
var colorCss$3 = i$5
|
|
11038
|
+
var colorCss$3 = 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)}`;
|
|
10755
11039
|
|
|
10756
|
-
// Copyright (c)
|
|
11040
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
10757
11041
|
// See LICENSE in the project root for license information.
|
|
10758
11042
|
|
|
11043
|
+
// ---------------------------------------------------------------------
|
|
11044
|
+
|
|
11045
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11046
|
+
|
|
11047
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
11048
|
+
|
|
11049
|
+
/* eslint-disable jsdoc/require-param */
|
|
11050
|
+
|
|
11051
|
+
/**
|
|
11052
|
+
* This will register a new custom element with the browser.
|
|
11053
|
+
* @param {String} name - The name of the custom element.
|
|
11054
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
11055
|
+
* @returns {void}
|
|
11056
|
+
*/
|
|
11057
|
+
registerComponent(name, componentClass) {
|
|
11058
|
+
if (!customElements.get(name)) {
|
|
11059
|
+
customElements.define(name, class extends componentClass {});
|
|
11060
|
+
}
|
|
11061
|
+
}
|
|
11062
|
+
|
|
11063
|
+
/**
|
|
11064
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
11065
|
+
* @returns {void}
|
|
11066
|
+
*/
|
|
11067
|
+
closestElement(
|
|
11068
|
+
selector, // selector like in .closest()
|
|
11069
|
+
base = this, // extra functionality to skip a parent
|
|
11070
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
11071
|
+
!el || el === document || el === window
|
|
11072
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
11073
|
+
: found
|
|
11074
|
+
? found // found a selector INside this element
|
|
11075
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
11076
|
+
) {
|
|
11077
|
+
return __Closest(base);
|
|
11078
|
+
}
|
|
11079
|
+
/* eslint-enable jsdoc/require-param */
|
|
11080
|
+
|
|
11081
|
+
/**
|
|
11082
|
+
* 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.
|
|
11083
|
+
* @param {Object} elem - The element to check.
|
|
11084
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
11085
|
+
* @returns {void}
|
|
11086
|
+
*/
|
|
11087
|
+
handleComponentTagRename(elem, tagName) {
|
|
11088
|
+
const tag = tagName.toLowerCase();
|
|
11089
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
11090
|
+
|
|
11091
|
+
if (elemTag !== tag) {
|
|
11092
|
+
elem.setAttribute(tag, true);
|
|
11093
|
+
}
|
|
11094
|
+
}
|
|
11095
|
+
|
|
11096
|
+
/**
|
|
11097
|
+
* Validates if an element is a specific Auro component.
|
|
11098
|
+
* @param {Object} elem - The element to validate.
|
|
11099
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
11100
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
11101
|
+
*/
|
|
11102
|
+
elementMatch(elem, tagName) {
|
|
11103
|
+
const tag = tagName.toLowerCase();
|
|
11104
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
11105
|
+
|
|
11106
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
11107
|
+
}
|
|
11108
|
+
};
|
|
11109
|
+
|
|
11110
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11111
|
+
// See LICENSE in the project root for license information.
|
|
10759
11112
|
|
|
10760
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
10761
|
-
/**
|
|
10762
|
-
* auro-icon provides users a way to use the Auro Icons by simply passing in the category and name.
|
|
10763
|
-
*
|
|
10764
|
-
* @attr {String} category - The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
|
|
10765
|
-
* @attr {String} name - The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage
|
|
10766
|
-
* @attr {Boolean} customColor - Removes primary selector.
|
|
10767
|
-
* @attr {Boolean} customSvg - When true, auro-icon will render a custom SVG inside the default slot.
|
|
10768
|
-
* @attr {Boolean} label - Exposes content in slot as icon label.
|
|
10769
|
-
* @attr {Boolean} primary - DEPRECATED: Sets the icon to use the baseline primary icon style.
|
|
10770
|
-
* @attr {Boolean} accent - Sets the icon to use the accent style.
|
|
10771
|
-
* @attr {Boolean} emphasis - Sets the icon to use the emphasis style.
|
|
10772
|
-
* @attr {Boolean} disabled - Sets the icon to use the disabled style.
|
|
10773
|
-
* @attr {Boolean} error - Sets the icon to use the error style.
|
|
10774
|
-
* @attr {Boolean} info - Sets the icon to use the info style.
|
|
10775
|
-
* @attr {Boolean} secondary - Sets the icon to use the secondary style.
|
|
10776
|
-
* @attr {Boolean} tertiary - Sets the icon to use the tertiary style.
|
|
10777
|
-
* @attr {Boolean} subtle - Sets the icon to use the subtle style.
|
|
10778
|
-
* @attr {Boolean} success - Sets the icon to use the success style.
|
|
10779
|
-
* @attr {Boolean} warning - Sets the icon to use the warning style.
|
|
10780
|
-
* @attr {String} ariaHidden - Set aria-hidden value. Default is `true`. Option is `false`.
|
|
10781
|
-
* @attr {String} uri - Set the uri for CDN used when fetching icons
|
|
10782
|
-
* @slot - Hidden from visibility, used for a11y if icon description is needed.
|
|
10783
|
-
* @slot svg - Used for custom SVG content.
|
|
10784
|
-
*/
|
|
10785
11113
|
|
|
10786
|
-
// build the component class
|
|
10787
11114
|
let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
10788
11115
|
constructor() {
|
|
10789
11116
|
super();
|
|
10790
11117
|
|
|
10791
|
-
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
10792
|
-
|
|
10793
11118
|
this.privateDefaults();
|
|
10794
11119
|
}
|
|
10795
11120
|
|
|
@@ -10813,78 +11138,144 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
10813
11138
|
this.success = false;
|
|
10814
11139
|
this.tertiary = false;
|
|
10815
11140
|
this.warning = false;
|
|
10816
|
-
this.
|
|
11141
|
+
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
11142
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
10817
11143
|
}
|
|
10818
11144
|
|
|
10819
11145
|
// function to define props used within the scope of this component
|
|
10820
11146
|
static get properties() {
|
|
10821
11147
|
return {
|
|
10822
11148
|
...super.properties,
|
|
11149
|
+
|
|
11150
|
+
/**
|
|
11151
|
+
* Sets the icon to use the accent style.
|
|
11152
|
+
*/
|
|
10823
11153
|
accent: {
|
|
10824
11154
|
type: Boolean,
|
|
10825
11155
|
reflect: true
|
|
10826
11156
|
},
|
|
11157
|
+
|
|
11158
|
+
/**
|
|
11159
|
+
* Set aria-hidden value. Default is `true`. Option is `false`.
|
|
11160
|
+
*/
|
|
10827
11161
|
ariaHidden: {
|
|
10828
11162
|
type: String,
|
|
10829
11163
|
reflect: true
|
|
10830
11164
|
},
|
|
11165
|
+
|
|
11166
|
+
/**
|
|
11167
|
+
* The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
|
|
11168
|
+
*/
|
|
10831
11169
|
category: {
|
|
10832
11170
|
type: String,
|
|
10833
11171
|
reflect: true
|
|
10834
11172
|
},
|
|
11173
|
+
|
|
11174
|
+
/**
|
|
11175
|
+
* Allows custom color to be set.
|
|
11176
|
+
*/
|
|
10835
11177
|
customColor: {
|
|
10836
11178
|
type: Boolean
|
|
10837
11179
|
},
|
|
11180
|
+
|
|
11181
|
+
/**
|
|
11182
|
+
* When true, auro-icon will render a custom SVG inside the default slot.
|
|
11183
|
+
*/
|
|
10838
11184
|
customSvg: {
|
|
10839
11185
|
type: Boolean
|
|
10840
11186
|
},
|
|
11187
|
+
|
|
11188
|
+
/**
|
|
11189
|
+
* Sets the icon to use the disabled style.
|
|
11190
|
+
*/
|
|
10841
11191
|
disabled: {
|
|
10842
11192
|
type: Boolean,
|
|
10843
11193
|
reflect: true
|
|
10844
11194
|
},
|
|
11195
|
+
|
|
11196
|
+
/**
|
|
11197
|
+
* Sets the icon to use the emphasis style.
|
|
11198
|
+
*/
|
|
10845
11199
|
emphasis: {
|
|
10846
11200
|
type: Boolean,
|
|
10847
11201
|
reflect: true
|
|
10848
11202
|
},
|
|
11203
|
+
|
|
11204
|
+
/**
|
|
11205
|
+
* Sets the icon to use the error style.
|
|
11206
|
+
*/
|
|
10849
11207
|
error: {
|
|
10850
11208
|
type: Boolean,
|
|
10851
11209
|
reflect: true
|
|
10852
11210
|
},
|
|
11211
|
+
|
|
11212
|
+
/**
|
|
11213
|
+
* Sets the icon to use the info style.
|
|
11214
|
+
*/
|
|
10853
11215
|
info: {
|
|
10854
11216
|
type: Boolean,
|
|
10855
11217
|
reflect: true
|
|
10856
11218
|
},
|
|
11219
|
+
|
|
11220
|
+
/**
|
|
11221
|
+
* Exposes content in slot as icon label.
|
|
11222
|
+
*/
|
|
10857
11223
|
label: {
|
|
10858
11224
|
type: Boolean,
|
|
10859
11225
|
reflect: true
|
|
10860
11226
|
},
|
|
11227
|
+
|
|
11228
|
+
/**
|
|
11229
|
+
* The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage.
|
|
11230
|
+
*/
|
|
10861
11231
|
name: {
|
|
10862
11232
|
type: String,
|
|
10863
11233
|
reflect: true
|
|
10864
11234
|
},
|
|
11235
|
+
|
|
11236
|
+
/**
|
|
11237
|
+
* DEPRECATED: Sets the icon to use the baseline primary icon style.
|
|
11238
|
+
*/
|
|
10865
11239
|
primary: {
|
|
10866
11240
|
type: Boolean,
|
|
10867
11241
|
reflect: true
|
|
10868
11242
|
},
|
|
11243
|
+
|
|
11244
|
+
/**
|
|
11245
|
+
* Sets the icon to use the secondary style.
|
|
11246
|
+
*/
|
|
10869
11247
|
secondary: {
|
|
10870
11248
|
type: Boolean,
|
|
10871
11249
|
reflect: true
|
|
10872
11250
|
},
|
|
11251
|
+
|
|
11252
|
+
/**
|
|
11253
|
+
* Sets the icon to use the subtle style.
|
|
11254
|
+
*/
|
|
10873
11255
|
subtle: {
|
|
10874
11256
|
type: Boolean,
|
|
10875
11257
|
reflect: true
|
|
10876
11258
|
},
|
|
11259
|
+
|
|
11260
|
+
/**
|
|
11261
|
+
* Sets the icon to use the success style.
|
|
11262
|
+
*/
|
|
10877
11263
|
success: {
|
|
10878
11264
|
type: Boolean,
|
|
10879
11265
|
reflect: true
|
|
10880
11266
|
},
|
|
11267
|
+
|
|
11268
|
+
/**
|
|
11269
|
+
* Sets the icon to use the tertiary style.
|
|
11270
|
+
*/
|
|
10881
11271
|
tertiary: {
|
|
10882
11272
|
type: Boolean,
|
|
10883
11273
|
reflect: true
|
|
10884
11274
|
},
|
|
10885
|
-
|
|
10886
|
-
|
|
10887
|
-
|
|
11275
|
+
|
|
11276
|
+
/**
|
|
11277
|
+
* Sets the icon to use the warning style.
|
|
11278
|
+
*/
|
|
10888
11279
|
warning: {
|
|
10889
11280
|
type: Boolean,
|
|
10890
11281
|
reflect: true
|
|
@@ -10895,74 +11286,160 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
10895
11286
|
static get styles() {
|
|
10896
11287
|
return [
|
|
10897
11288
|
super.styles,
|
|
10898
|
-
i$5
|
|
10899
|
-
i$5
|
|
10900
|
-
i$5
|
|
11289
|
+
i$5`${tokensCss$2}`,
|
|
11290
|
+
i$5`${styleCss$1$1}`,
|
|
11291
|
+
i$5`${colorCss$3}`
|
|
10901
11292
|
];
|
|
10902
11293
|
}
|
|
10903
11294
|
|
|
10904
11295
|
/**
|
|
10905
|
-
* This will register this element with the browser.
|
|
10906
|
-
* @param {string} [name="auro-icon"] - The name of element that you want to register to.
|
|
10907
|
-
*
|
|
10908
|
-
* @example
|
|
10909
|
-
* AuroIcon.register("custom-icon") // this will register this element to <custom-icon/>
|
|
10910
|
-
*
|
|
11296
|
+
* This will register this element with the browser.
|
|
11297
|
+
* @param {string} [name="auro-icon"] - The name of element that you want to register to.
|
|
11298
|
+
*
|
|
11299
|
+
* @example
|
|
11300
|
+
* AuroIcon.register("custom-icon") // this will register this element to <custom-icon/>
|
|
11301
|
+
*
|
|
11302
|
+
*/
|
|
11303
|
+
static register(name = "auro-icon") {
|
|
11304
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
11305
|
+
}
|
|
11306
|
+
|
|
11307
|
+
connectedCallback() {
|
|
11308
|
+
super.connectedCallback();
|
|
11309
|
+
|
|
11310
|
+
// Add the tag name as an attribute if it is different than the component name
|
|
11311
|
+
this.runtimeUtils.handleComponentTagRename(this, 'auro-icon');
|
|
11312
|
+
}
|
|
11313
|
+
|
|
11314
|
+
/**
|
|
11315
|
+
* @private
|
|
11316
|
+
* @returns {void} Exposes CSS parts for styling from parent components.
|
|
11317
|
+
*/
|
|
11318
|
+
exposeCssParts() {
|
|
11319
|
+
this.setAttribute('exportparts', 'svg:iconSvg');
|
|
11320
|
+
}
|
|
11321
|
+
|
|
11322
|
+
async firstUpdated() {
|
|
11323
|
+
await super.firstUpdated();
|
|
11324
|
+
|
|
11325
|
+
// Removes the SVG description for screenreader if ariaHidden is set to true
|
|
11326
|
+
if (!this.hasAttribute('ariaHidden') && this.svg) {
|
|
11327
|
+
const svgDesc = this.svg.querySelector('desc');
|
|
11328
|
+
|
|
11329
|
+
if (svgDesc) {
|
|
11330
|
+
svgDesc.remove();
|
|
11331
|
+
this.svg.removeAttribute('aria-labelledby');
|
|
11332
|
+
}
|
|
11333
|
+
}
|
|
11334
|
+
}
|
|
11335
|
+
|
|
11336
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
11337
|
+
render() {
|
|
11338
|
+
const labelClasses = {
|
|
11339
|
+
'labelWrapper': true,
|
|
11340
|
+
'util_displayHiddenVisually': !this.label
|
|
11341
|
+
};
|
|
11342
|
+
|
|
11343
|
+
const svgClasses = {
|
|
11344
|
+
'svgWrapper': true,
|
|
11345
|
+
};
|
|
11346
|
+
|
|
11347
|
+
return x`
|
|
11348
|
+
<div class="componentWrapper">
|
|
11349
|
+
<div
|
|
11350
|
+
class="${e(svgClasses)}"
|
|
11351
|
+
title="${o(this.title || undefined)}">
|
|
11352
|
+
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
11353
|
+
${this.customSvg ? x`
|
|
11354
|
+
<slot name="svg"></slot>
|
|
11355
|
+
` : x`
|
|
11356
|
+
${this.svg}
|
|
11357
|
+
`
|
|
11358
|
+
}
|
|
11359
|
+
</span>
|
|
11360
|
+
</div>
|
|
11361
|
+
|
|
11362
|
+
<div class="${e(labelClasses)}">
|
|
11363
|
+
<slot></slot>
|
|
11364
|
+
</div>
|
|
11365
|
+
</div>
|
|
11366
|
+
`;
|
|
11367
|
+
}
|
|
11368
|
+
};
|
|
11369
|
+
|
|
11370
|
+
var iconVersion$1 = '7.0.1';
|
|
11371
|
+
|
|
11372
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
11373
|
+
// See LICENSE in the project root for license information.
|
|
11374
|
+
|
|
11375
|
+
// ---------------------------------------------------------------------
|
|
11376
|
+
|
|
11377
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
11378
|
+
|
|
11379
|
+
let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
11380
|
+
|
|
11381
|
+
/* eslint-disable jsdoc/require-param */
|
|
11382
|
+
|
|
11383
|
+
/**
|
|
11384
|
+
* This will register a new custom element with the browser.
|
|
11385
|
+
* @param {String} name - The name of the custom element.
|
|
11386
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
11387
|
+
* @returns {void}
|
|
11388
|
+
*/
|
|
11389
|
+
registerComponent(name, componentClass) {
|
|
11390
|
+
if (!customElements.get(name)) {
|
|
11391
|
+
customElements.define(name, class extends componentClass {});
|
|
11392
|
+
}
|
|
11393
|
+
}
|
|
11394
|
+
|
|
11395
|
+
/**
|
|
11396
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
11397
|
+
* @returns {void}
|
|
11398
|
+
*/
|
|
11399
|
+
closestElement(
|
|
11400
|
+
selector, // selector like in .closest()
|
|
11401
|
+
base = this, // extra functionality to skip a parent
|
|
11402
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
11403
|
+
!el || el === document || el === window
|
|
11404
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
11405
|
+
: found
|
|
11406
|
+
? found // found a selector INside this element
|
|
11407
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
11408
|
+
) {
|
|
11409
|
+
return __Closest(base);
|
|
11410
|
+
}
|
|
11411
|
+
/* eslint-enable jsdoc/require-param */
|
|
11412
|
+
|
|
11413
|
+
/**
|
|
11414
|
+
* 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.
|
|
11415
|
+
* @param {Object} elem - The element to check.
|
|
11416
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
11417
|
+
* @returns {void}
|
|
10911
11418
|
*/
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
connectedCallback() {
|
|
10917
|
-
super.connectedCallback();
|
|
11419
|
+
handleComponentTagRename(elem, tagName) {
|
|
11420
|
+
const tag = tagName.toLowerCase();
|
|
11421
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
10918
11422
|
|
|
10919
|
-
|
|
10920
|
-
|
|
11423
|
+
if (elemTag !== tag) {
|
|
11424
|
+
elem.setAttribute(tag, true);
|
|
11425
|
+
}
|
|
10921
11426
|
}
|
|
10922
11427
|
|
|
10923
11428
|
/**
|
|
10924
|
-
*
|
|
11429
|
+
* Validates if an element is a specific Auro component.
|
|
11430
|
+
* @param {Object} elem - The element to validate.
|
|
11431
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
11432
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
10925
11433
|
*/
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
// function that renders the HTML and CSS into the scope of the component
|
|
10931
|
-
render() {
|
|
10932
|
-
const a11y = {
|
|
10933
|
-
'labelContainer': true,
|
|
10934
|
-
'util_displayHiddenVisually': !this.label
|
|
10935
|
-
};
|
|
10936
|
-
|
|
10937
|
-
const classes = {
|
|
10938
|
-
'label': this.label,
|
|
10939
|
-
'wrapper': true,
|
|
10940
|
-
};
|
|
10941
|
-
|
|
10942
|
-
return x`
|
|
10943
|
-
<div
|
|
10944
|
-
class="${e$5(classes)}"
|
|
10945
|
-
title="${o$5(this.title || undefined)}">
|
|
10946
|
-
<span aria-hidden="${o$5(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
10947
|
-
${this.customSvg ? x`
|
|
10948
|
-
<slot name="svg"></slot>
|
|
10949
|
-
` : x`
|
|
10950
|
-
${this.svg}
|
|
10951
|
-
`
|
|
10952
|
-
}
|
|
10953
|
-
</span>
|
|
11434
|
+
elementMatch(elem, tagName) {
|
|
11435
|
+
const tag = tagName.toLowerCase();
|
|
11436
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
10954
11437
|
|
|
10955
|
-
|
|
10956
|
-
<slot></slot>
|
|
10957
|
-
</div>
|
|
10958
|
-
</div>
|
|
10959
|
-
`;
|
|
11438
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
10960
11439
|
}
|
|
10961
11440
|
};
|
|
10962
11441
|
|
|
10963
|
-
var
|
|
10964
|
-
|
|
10965
|
-
var styleCss$4 = i$5$1`.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)}`;
|
|
11442
|
+
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)}`;
|
|
10966
11443
|
|
|
10967
11444
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
10968
11445
|
// See LICENSE in the project root for license information.
|
|
@@ -10982,7 +11459,7 @@ var styleCss$4 = i$5$1`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-he
|
|
|
10982
11459
|
/* eslint complexity: ["error", 21] */
|
|
10983
11460
|
|
|
10984
11461
|
// build the component class
|
|
10985
|
-
class AuroHeader extends r$
|
|
11462
|
+
class AuroHeader extends r$1 {
|
|
10986
11463
|
constructor() {
|
|
10987
11464
|
super();
|
|
10988
11465
|
|
|
@@ -10991,7 +11468,7 @@ class AuroHeader extends r$4 {
|
|
|
10991
11468
|
/**
|
|
10992
11469
|
* @private
|
|
10993
11470
|
*/
|
|
10994
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
11471
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
10995
11472
|
}
|
|
10996
11473
|
|
|
10997
11474
|
// function to define props used within the scope of this component
|
|
@@ -11021,7 +11498,7 @@ class AuroHeader extends r$4 {
|
|
|
11021
11498
|
*
|
|
11022
11499
|
*/
|
|
11023
11500
|
static register(name = "auro-header") {
|
|
11024
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
|
|
11501
|
+
AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHeader);
|
|
11025
11502
|
}
|
|
11026
11503
|
|
|
11027
11504
|
firstUpdated() {
|
|
@@ -11089,12 +11566,12 @@ class AuroHeader extends r$4 {
|
|
|
11089
11566
|
}
|
|
11090
11567
|
|
|
11091
11568
|
switch (level) {
|
|
11092
|
-
case '2': return x`<h2 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o
|
|
11093
|
-
case '3': return x`<h3 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o
|
|
11094
|
-
case '4': return x`<h4 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o
|
|
11095
|
-
case '5': return x`<h5 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o
|
|
11096
|
-
case '6': return x`<h6 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o
|
|
11097
|
-
default: return x`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o
|
|
11569
|
+
case '2': return x`<h2 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h2>`;
|
|
11570
|
+
case '3': return x`<h3 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h3>`;
|
|
11571
|
+
case '4': return x`<h4 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h4>`;
|
|
11572
|
+
case '5': return x`<h5 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h5>`;
|
|
11573
|
+
case '6': return x`<h6 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h6>`;
|
|
11574
|
+
default: return x`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h1>`;
|
|
11098
11575
|
}
|
|
11099
11576
|
}
|
|
11100
11577
|
// function that renders the HTML and CSS into the scope of the component
|
|
@@ -11110,16 +11587,16 @@ var headerVersion = '4.0.0';
|
|
|
11110
11587
|
// See LICENSE in the project root for license information.
|
|
11111
11588
|
|
|
11112
11589
|
|
|
11113
|
-
class AuroBibtemplate extends r$
|
|
11590
|
+
class AuroBibtemplate extends r$1 {
|
|
11114
11591
|
|
|
11115
11592
|
constructor() {
|
|
11116
11593
|
super();
|
|
11117
11594
|
|
|
11118
|
-
AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
11595
|
+
AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
|
|
11119
11596
|
|
|
11120
11597
|
const versioning = new AuroDependencyVersioning();
|
|
11121
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion$1, AuroIcon$1);
|
|
11122
|
-
this.headerTag = versioning.generateTag('auro-header', headerVersion, AuroHeader);
|
|
11598
|
+
this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion$1, AuroIcon$1);
|
|
11599
|
+
this.headerTag = versioning.generateTag('auro-formkit-bibtemplate-header', headerVersion, AuroHeader);
|
|
11123
11600
|
}
|
|
11124
11601
|
|
|
11125
11602
|
static get styles() {
|
|
@@ -11154,7 +11631,7 @@ class AuroBibtemplate extends r$4 {
|
|
|
11154
11631
|
*
|
|
11155
11632
|
*/
|
|
11156
11633
|
static register(name = "auro-bibtemplate") {
|
|
11157
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroBibtemplate);
|
|
11634
|
+
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
|
|
11158
11635
|
}
|
|
11159
11636
|
|
|
11160
11637
|
/**
|
|
@@ -11196,9 +11673,9 @@ class AuroBibtemplate extends r$4 {
|
|
|
11196
11673
|
|
|
11197
11674
|
// function that renders the HTML and CSS into the scope of the component
|
|
11198
11675
|
render() {
|
|
11199
|
-
return u`
|
|
11676
|
+
return u$2`
|
|
11200
11677
|
<div id="bibTemplate" part="bibtemplate">
|
|
11201
|
-
${this.isFullscreen ? u`
|
|
11678
|
+
${this.isFullscreen ? u$2`
|
|
11202
11679
|
<div id="headerContainer">
|
|
11203
11680
|
<button id="closeButton" @click="${this.onCloseButtonClick}">
|
|
11204
11681
|
<${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
|
|
@@ -11215,7 +11692,7 @@ class AuroBibtemplate extends r$4 {
|
|
|
11215
11692
|
<slot></slot>
|
|
11216
11693
|
</div>
|
|
11217
11694
|
|
|
11218
|
-
${this.isFullscreen ? u`
|
|
11695
|
+
${this.isFullscreen ? u$2`
|
|
11219
11696
|
<div id="footerContainer">
|
|
11220
11697
|
<slot name="footer"></slot>
|
|
11221
11698
|
</div>` : null}
|
|
@@ -11226,32 +11703,6 @@ class AuroBibtemplate extends r$4 {
|
|
|
11226
11703
|
|
|
11227
11704
|
var bibTemplateVersion = '1.0.0';
|
|
11228
11705
|
|
|
11229
|
-
/**
|
|
11230
|
-
* @license
|
|
11231
|
-
* Copyright 2019 Google LLC
|
|
11232
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
11233
|
-
*/
|
|
11234
|
-
const t$2=globalThis,e$4=t$2.ShadowRoot&&(void 0===t$2.ShadyCSS||t$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2=Symbol(),o$4=new WeakMap;let n$3 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$4&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$4.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$4.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$3("string"==typeof t?t:t+"",void 0,s$2),i$5=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$3(o,t,s$2)},S$1=(s,o)=>{if(e$4)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$2.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$4?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
|
|
11235
|
-
|
|
11236
|
-
/**
|
|
11237
|
-
* @license
|
|
11238
|
-
* Copyright 2017 Google LLC
|
|
11239
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
11240
|
-
*/const{is:i$4,defineProperty:e$3,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$3,getPrototypeOf:n$2}=Object,a$2=globalThis,c$1=a$2.trustedTypes,l$2=c$1?c$1.emptyScript:"",p$1=a$2.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$2={toAttribute(t,s){switch(s){case Boolean:t=t?l$2:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$4(t,s),y$1={attribute:true,type:String,converter:u$2,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$2.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$3(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$2(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$3(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else void 0!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$2).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$2;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$1?.({ReactiveElement:b}),(a$2.reactiveElementVersions??=[]).push("2.0.4");
|
|
11241
|
-
|
|
11242
|
-
/**
|
|
11243
|
-
* @license
|
|
11244
|
-
* Copyright 2017 Google LLC
|
|
11245
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
11246
|
-
*/
|
|
11247
|
-
const t$1=globalThis,i$3=t$1.trustedTypes,s$1=i$3?i$3.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$2="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o$2="?"+h,n$1=`<${o$2}>`,r$1=document,l$1=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u$1=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$1?s$1.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n$1:d>=0?(o.push(a),s.slice(0,d)+e$2+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$2)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$3?i$3.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$1()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$1());}}}else if(8===r.nodeType)if(r.data===o$2)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$1.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$1,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$1(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$1()),this.O(l$1()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t$1.litHtmlPolyfillSupport;j?.(N,R),(t$1.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l$1(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
11248
|
-
|
|
11249
|
-
/**
|
|
11250
|
-
* @license
|
|
11251
|
-
* Copyright 2017 Google LLC
|
|
11252
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
11253
|
-
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}}r._$litElement$=true,r["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r});const i$2=globalThis.litElementPolyfillSupport;i$2?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
11254
|
-
|
|
11255
11706
|
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)}`;
|
|
11256
11707
|
|
|
11257
11708
|
i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color) !important}`;
|
|
@@ -11362,13 +11813,13 @@ i$5`:host{display:flex;align-items:center;padding:var(--ds-size-50, 0.25rem) var
|
|
|
11362
11813
|
|
|
11363
11814
|
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) !important}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-menuoption-text-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-active-default, #225296)}`;
|
|
11364
11815
|
|
|
11365
|
-
i$5
|
|
11816
|
+
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}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}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}`;
|
|
11366
11817
|
|
|
11367
|
-
i$5`:host{--ds-auro-icon-color:
|
|
11818
|
+
i$5`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
11368
11819
|
|
|
11369
|
-
i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color:
|
|
11820
|
+
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)}`;
|
|
11370
11821
|
|
|
11371
|
-
var styleCss$3 = i$
|
|
11822
|
+
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){border-width:0 !important;box-shadow:unset !important;outline:unset !important;--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}#slotHolder{display:none}`;
|
|
11372
11823
|
|
|
11373
11824
|
// Copyright (c) 2022 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11374
11825
|
// See LICENSE in the project root for license information.
|
|
@@ -11385,7 +11836,7 @@ var styleCss$3 = i$g`.util_displayInline{display:inline}.util_displayInlineBlock
|
|
|
11385
11836
|
*/
|
|
11386
11837
|
|
|
11387
11838
|
// build the component class
|
|
11388
|
-
class AuroCombobox extends r$
|
|
11839
|
+
class AuroCombobox extends r$1 {
|
|
11389
11840
|
constructor() {
|
|
11390
11841
|
super();
|
|
11391
11842
|
|
|
@@ -11410,15 +11861,15 @@ class AuroCombobox extends r$b {
|
|
|
11410
11861
|
|
|
11411
11862
|
this.validation = new AuroFormValidation$1();
|
|
11412
11863
|
|
|
11413
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
11864
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
|
|
11414
11865
|
|
|
11415
11866
|
this.isHiddenWhileLoading = false;
|
|
11416
11867
|
|
|
11417
|
-
const versioning = new AuroDependencyVersioning$
|
|
11868
|
+
const versioning = new AuroDependencyVersioning$4();
|
|
11418
11869
|
|
|
11419
|
-
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
11420
|
-
this.bibtemplateTag = versioning.generateTag('auro-bibtemplate', bibTemplateVersion, AuroBibtemplate);
|
|
11421
|
-
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
11870
|
+
this.dropdownTag = versioning.generateTag('auro-formkit-checkbox-dropdown', dropdownVersion, AuroDropdown);
|
|
11871
|
+
this.bibtemplateTag = versioning.generateTag('auro-formkit-checkbox-bibtemplate', bibTemplateVersion, AuroBibtemplate);
|
|
11872
|
+
this.inputTag = versioning.generateTag('auro-formkit-checkbox-input', inputVersion, AuroInput);
|
|
11422
11873
|
}
|
|
11423
11874
|
|
|
11424
11875
|
// This function is to define props used within the scope of this component
|
|
@@ -11587,7 +12038,7 @@ class AuroCombobox extends r$b {
|
|
|
11587
12038
|
*
|
|
11588
12039
|
*/
|
|
11589
12040
|
static register(name = 'auro-combobox') {
|
|
11590
|
-
AuroLibraryRuntimeUtils$
|
|
12041
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroCombobox);
|
|
11591
12042
|
}
|
|
11592
12043
|
|
|
11593
12044
|
/**
|
|
@@ -12227,11 +12678,11 @@ class AuroCombobox extends r$b {
|
|
|
12227
12678
|
|
|
12228
12679
|
// function that renders the HTML and CSS into the scope of the component
|
|
12229
12680
|
render() {
|
|
12230
|
-
return u$
|
|
12681
|
+
return u$2`
|
|
12231
12682
|
<div>
|
|
12232
12683
|
<div aria-live="polite" class="util_displayHiddenVisually">
|
|
12233
12684
|
${this.optionActive && this.availableOptions.length > 0
|
|
12234
|
-
? u$
|
|
12685
|
+
? u$2`
|
|
12235
12686
|
${`${this.optionActive.textContent}, selected, ${this.availableOptions.indexOf(this.optionActive) + 1} of ${this.availableOptions.length}`}
|
|
12236
12687
|
`
|
|
12237
12688
|
: undefined
|
|
@@ -12275,9 +12726,9 @@ class AuroCombobox extends r$b {
|
|
|
12275
12726
|
<p slot="helpText">
|
|
12276
12727
|
<!-- Help text and error message template -->
|
|
12277
12728
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
12278
|
-
? u$
|
|
12729
|
+
? u$2`
|
|
12279
12730
|
<slot name="helpText"></slot>
|
|
12280
|
-
` : u$
|
|
12731
|
+
` : u$2`
|
|
12281
12732
|
<span role="alert" aria-live="assertive" part="helpText">
|
|
12282
12733
|
${this.errorMessage}
|
|
12283
12734
|
</span>`
|
|
@@ -12289,11 +12740,11 @@ class AuroCombobox extends r$b {
|
|
|
12289
12740
|
}
|
|
12290
12741
|
}
|
|
12291
12742
|
|
|
12292
|
-
var styleCss$2 = i$g`: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)}`;
|
|
12743
|
+
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)}`;
|
|
12293
12744
|
|
|
12294
|
-
var colorCss$2 = i$
|
|
12745
|
+
var colorCss$2 = i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color) !important}`;
|
|
12295
12746
|
|
|
12296
|
-
var tokensCss$1 = i$
|
|
12747
|
+
var tokensCss$1 = i$5`:host{--ds-auro-menu-divider-color: var(--ds-color-border-divider-default, $ds-color-border-divider-default);--ds-auro-menuoption-container-color: transparent;--ds-auro-menuoption-icon-color: transparent;--ds-auro-menuoption-text-color: var(--ds-color-text-primary-default, $ds-color-text-primary-default)}`;
|
|
12297
12748
|
|
|
12298
12749
|
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12299
12750
|
// See LICENSE in the project root for license information.
|
|
@@ -12457,7 +12908,7 @@ function dispatchMenuEvent(element, eventName, detail = null) {
|
|
|
12457
12908
|
|
|
12458
12909
|
/* eslint-disable no-magic-numbers, max-lines */
|
|
12459
12910
|
|
|
12460
|
-
class AuroMenu extends r$
|
|
12911
|
+
class AuroMenu extends r$1 {
|
|
12461
12912
|
constructor() {
|
|
12462
12913
|
super();
|
|
12463
12914
|
|
|
@@ -12578,7 +13029,7 @@ class AuroMenu extends r$b {
|
|
|
12578
13029
|
*
|
|
12579
13030
|
*/
|
|
12580
13031
|
static register(name = "auro-menu") {
|
|
12581
|
-
AuroLibraryRuntimeUtils$
|
|
13032
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroMenu);
|
|
12582
13033
|
}
|
|
12583
13034
|
|
|
12584
13035
|
// Lifecycle Methods
|
|
@@ -12602,7 +13053,7 @@ class AuroMenu extends r$b {
|
|
|
12602
13053
|
}
|
|
12603
13054
|
|
|
12604
13055
|
firstUpdated() {
|
|
12605
|
-
AuroLibraryRuntimeUtils$
|
|
13056
|
+
AuroLibraryRuntimeUtils$7.prototype.handleComponentTagRename(this, 'auro-menu');
|
|
12606
13057
|
|
|
12607
13058
|
this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
|
|
12608
13059
|
this.initializeMenu();
|
|
@@ -13124,7 +13575,7 @@ class AuroMenu extends r$b {
|
|
|
13124
13575
|
*/
|
|
13125
13576
|
render() {
|
|
13126
13577
|
if (this.loading) {
|
|
13127
|
-
return x
|
|
13578
|
+
return x`
|
|
13128
13579
|
<auro-menuoption disabled loadingplaceholder class="${this.hasLoadingPlaceholder ? '' : 'empty'}">
|
|
13129
13580
|
<div>
|
|
13130
13581
|
<slot name="loadingIcon"></slot>
|
|
@@ -13134,32 +13585,13 @@ class AuroMenu extends r$b {
|
|
|
13134
13585
|
`;
|
|
13135
13586
|
}
|
|
13136
13587
|
|
|
13137
|
-
return x
|
|
13588
|
+
return x`<slot @slotchange=${this.handleSlotChange}></slot>`;
|
|
13138
13589
|
}
|
|
13139
13590
|
}
|
|
13140
13591
|
|
|
13141
|
-
var styleCss$1 = i$
|
|
13142
|
-
|
|
13143
|
-
var colorCss$1 = i$g`: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) !important}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-menuoption-text-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-active-default, #225296)}`;
|
|
13144
|
-
|
|
13145
|
-
/**
|
|
13146
|
-
* @license
|
|
13147
|
-
* Copyright 2017 Google LLC
|
|
13148
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
13149
|
-
*/
|
|
13150
|
-
const t={ATTRIBUTE:1},e$1=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
|
|
13151
|
-
|
|
13152
|
-
/**
|
|
13153
|
-
* @license
|
|
13154
|
-
* Copyright 2018 Google LLC
|
|
13155
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
13156
|
-
*/const e=e$1(class extends i{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$4}});
|
|
13592
|
+
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}`;
|
|
13157
13593
|
|
|
13158
|
-
|
|
13159
|
-
* @license
|
|
13160
|
-
* Copyright 2018 Google LLC
|
|
13161
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
13162
|
-
*/const o=o=>o??E$4;
|
|
13594
|
+
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) !important}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-menuoption-text-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-active-default, #225296)}`;
|
|
13163
13595
|
|
|
13164
13596
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13165
13597
|
// See LICENSE in the project root for license information.
|
|
@@ -13171,7 +13603,7 @@ const t={ATTRIBUTE:1},e$1=t=>(...e)=>({_$litDirective$:t,values:e});class i{cons
|
|
|
13171
13603
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
13172
13604
|
*/
|
|
13173
13605
|
|
|
13174
|
-
class AuroElement extends r$
|
|
13606
|
+
class AuroElement extends r$1 {
|
|
13175
13607
|
|
|
13176
13608
|
// function to define props used within the scope of this component
|
|
13177
13609
|
static get properties() {
|
|
@@ -13227,7 +13659,7 @@ const cacheFetch = (uri, options = {}) => {
|
|
|
13227
13659
|
return _fetchMap.get(uri);
|
|
13228
13660
|
};
|
|
13229
13661
|
|
|
13230
|
-
var styleCss = i$
|
|
13662
|
+
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}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}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}`;
|
|
13231
13663
|
|
|
13232
13664
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13233
13665
|
// See LICENSE in the project root for license information.
|
|
@@ -13266,7 +13698,7 @@ class BaseIcon extends AuroElement {
|
|
|
13266
13698
|
}
|
|
13267
13699
|
|
|
13268
13700
|
static get styles() {
|
|
13269
|
-
return i$
|
|
13701
|
+
return i$5`
|
|
13270
13702
|
${styleCss}
|
|
13271
13703
|
`;
|
|
13272
13704
|
}
|
|
@@ -13308,47 +13740,88 @@ class BaseIcon extends AuroElement {
|
|
|
13308
13740
|
}
|
|
13309
13741
|
}
|
|
13310
13742
|
|
|
13311
|
-
var tokensCss = i$
|
|
13743
|
+
var tokensCss = i$5`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
|
|
13312
13744
|
|
|
13313
|
-
var colorCss = i$
|
|
13745
|
+
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)}`;
|
|
13314
13746
|
|
|
13315
|
-
// Copyright (c)
|
|
13747
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
13316
13748
|
// See LICENSE in the project root for license information.
|
|
13317
13749
|
|
|
13750
|
+
// ---------------------------------------------------------------------
|
|
13751
|
+
|
|
13752
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
13753
|
+
|
|
13754
|
+
class AuroLibraryRuntimeUtils {
|
|
13755
|
+
|
|
13756
|
+
/* eslint-disable jsdoc/require-param */
|
|
13757
|
+
|
|
13758
|
+
/**
|
|
13759
|
+
* This will register a new custom element with the browser.
|
|
13760
|
+
* @param {String} name - The name of the custom element.
|
|
13761
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
13762
|
+
* @returns {void}
|
|
13763
|
+
*/
|
|
13764
|
+
registerComponent(name, componentClass) {
|
|
13765
|
+
if (!customElements.get(name)) {
|
|
13766
|
+
customElements.define(name, class extends componentClass {});
|
|
13767
|
+
}
|
|
13768
|
+
}
|
|
13769
|
+
|
|
13770
|
+
/**
|
|
13771
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
13772
|
+
* @returns {void}
|
|
13773
|
+
*/
|
|
13774
|
+
closestElement(
|
|
13775
|
+
selector, // selector like in .closest()
|
|
13776
|
+
base = this, // extra functionality to skip a parent
|
|
13777
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
13778
|
+
!el || el === document || el === window
|
|
13779
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
13780
|
+
: found
|
|
13781
|
+
? found // found a selector INside this element
|
|
13782
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
13783
|
+
) {
|
|
13784
|
+
return __Closest(base);
|
|
13785
|
+
}
|
|
13786
|
+
/* eslint-enable jsdoc/require-param */
|
|
13787
|
+
|
|
13788
|
+
/**
|
|
13789
|
+
* 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.
|
|
13790
|
+
* @param {Object} elem - The element to check.
|
|
13791
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
13792
|
+
* @returns {void}
|
|
13793
|
+
*/
|
|
13794
|
+
handleComponentTagRename(elem, tagName) {
|
|
13795
|
+
const tag = tagName.toLowerCase();
|
|
13796
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
13797
|
+
|
|
13798
|
+
if (elemTag !== tag) {
|
|
13799
|
+
elem.setAttribute(tag, true);
|
|
13800
|
+
}
|
|
13801
|
+
}
|
|
13802
|
+
|
|
13803
|
+
/**
|
|
13804
|
+
* Validates if an element is a specific Auro component.
|
|
13805
|
+
* @param {Object} elem - The element to validate.
|
|
13806
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
13807
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
13808
|
+
*/
|
|
13809
|
+
elementMatch(elem, tagName) {
|
|
13810
|
+
const tag = tagName.toLowerCase();
|
|
13811
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
13812
|
+
|
|
13813
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
13814
|
+
}
|
|
13815
|
+
}
|
|
13816
|
+
|
|
13817
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
13818
|
+
// See LICENSE in the project root for license information.
|
|
13318
13819
|
|
|
13319
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
13320
|
-
/**
|
|
13321
|
-
* auro-icon provides users a way to use the Auro Icons by simply passing in the category and name.
|
|
13322
|
-
*
|
|
13323
|
-
* @attr {String} category - The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
|
|
13324
|
-
* @attr {String} name - The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage
|
|
13325
|
-
* @attr {Boolean} customColor - Removes primary selector.
|
|
13326
|
-
* @attr {Boolean} customSvg - When true, auro-icon will render a custom SVG inside the default slot.
|
|
13327
|
-
* @attr {Boolean} label - Exposes content in slot as icon label.
|
|
13328
|
-
* @attr {Boolean} primary - DEPRECATED: Sets the icon to use the baseline primary icon style.
|
|
13329
|
-
* @attr {Boolean} accent - Sets the icon to use the accent style.
|
|
13330
|
-
* @attr {Boolean} emphasis - Sets the icon to use the emphasis style.
|
|
13331
|
-
* @attr {Boolean} disabled - Sets the icon to use the disabled style.
|
|
13332
|
-
* @attr {Boolean} error - Sets the icon to use the error style.
|
|
13333
|
-
* @attr {Boolean} info - Sets the icon to use the info style.
|
|
13334
|
-
* @attr {Boolean} secondary - Sets the icon to use the secondary style.
|
|
13335
|
-
* @attr {Boolean} tertiary - Sets the icon to use the tertiary style.
|
|
13336
|
-
* @attr {Boolean} subtle - Sets the icon to use the subtle style.
|
|
13337
|
-
* @attr {Boolean} success - Sets the icon to use the success style.
|
|
13338
|
-
* @attr {Boolean} warning - Sets the icon to use the warning style.
|
|
13339
|
-
* @attr {String} ariaHidden - Set aria-hidden value. Default is `true`. Option is `false`.
|
|
13340
|
-
* @attr {String} uri - Set the uri for CDN used when fetching icons
|
|
13341
|
-
* @slot - Hidden from visibility, used for a11y if icon description is needed.
|
|
13342
|
-
* @slot svg - Used for custom SVG content.
|
|
13343
|
-
*/
|
|
13344
13820
|
|
|
13345
|
-
// build the component class
|
|
13346
13821
|
class AuroIcon extends BaseIcon {
|
|
13347
13822
|
constructor() {
|
|
13348
13823
|
super();
|
|
13349
13824
|
|
|
13350
|
-
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
13351
|
-
|
|
13352
13825
|
this.privateDefaults();
|
|
13353
13826
|
}
|
|
13354
13827
|
|
|
@@ -13372,78 +13845,144 @@ class AuroIcon extends BaseIcon {
|
|
|
13372
13845
|
this.success = false;
|
|
13373
13846
|
this.tertiary = false;
|
|
13374
13847
|
this.warning = false;
|
|
13375
|
-
this.
|
|
13848
|
+
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
13849
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
13376
13850
|
}
|
|
13377
13851
|
|
|
13378
13852
|
// function to define props used within the scope of this component
|
|
13379
13853
|
static get properties() {
|
|
13380
13854
|
return {
|
|
13381
13855
|
...super.properties,
|
|
13856
|
+
|
|
13857
|
+
/**
|
|
13858
|
+
* Sets the icon to use the accent style.
|
|
13859
|
+
*/
|
|
13382
13860
|
accent: {
|
|
13383
13861
|
type: Boolean,
|
|
13384
13862
|
reflect: true
|
|
13385
13863
|
},
|
|
13864
|
+
|
|
13865
|
+
/**
|
|
13866
|
+
* Set aria-hidden value. Default is `true`. Option is `false`.
|
|
13867
|
+
*/
|
|
13386
13868
|
ariaHidden: {
|
|
13387
13869
|
type: String,
|
|
13388
13870
|
reflect: true
|
|
13389
13871
|
},
|
|
13872
|
+
|
|
13873
|
+
/**
|
|
13874
|
+
* The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
|
|
13875
|
+
*/
|
|
13390
13876
|
category: {
|
|
13391
13877
|
type: String,
|
|
13392
13878
|
reflect: true
|
|
13393
13879
|
},
|
|
13880
|
+
|
|
13881
|
+
/**
|
|
13882
|
+
* Allows custom color to be set.
|
|
13883
|
+
*/
|
|
13394
13884
|
customColor: {
|
|
13395
13885
|
type: Boolean
|
|
13396
13886
|
},
|
|
13887
|
+
|
|
13888
|
+
/**
|
|
13889
|
+
* When true, auro-icon will render a custom SVG inside the default slot.
|
|
13890
|
+
*/
|
|
13397
13891
|
customSvg: {
|
|
13398
13892
|
type: Boolean
|
|
13399
13893
|
},
|
|
13894
|
+
|
|
13895
|
+
/**
|
|
13896
|
+
* Sets the icon to use the disabled style.
|
|
13897
|
+
*/
|
|
13400
13898
|
disabled: {
|
|
13401
13899
|
type: Boolean,
|
|
13402
13900
|
reflect: true
|
|
13403
13901
|
},
|
|
13902
|
+
|
|
13903
|
+
/**
|
|
13904
|
+
* Sets the icon to use the emphasis style.
|
|
13905
|
+
*/
|
|
13404
13906
|
emphasis: {
|
|
13405
13907
|
type: Boolean,
|
|
13406
13908
|
reflect: true
|
|
13407
13909
|
},
|
|
13910
|
+
|
|
13911
|
+
/**
|
|
13912
|
+
* Sets the icon to use the error style.
|
|
13913
|
+
*/
|
|
13408
13914
|
error: {
|
|
13409
13915
|
type: Boolean,
|
|
13410
13916
|
reflect: true
|
|
13411
13917
|
},
|
|
13918
|
+
|
|
13919
|
+
/**
|
|
13920
|
+
* Sets the icon to use the info style.
|
|
13921
|
+
*/
|
|
13412
13922
|
info: {
|
|
13413
13923
|
type: Boolean,
|
|
13414
13924
|
reflect: true
|
|
13415
13925
|
},
|
|
13926
|
+
|
|
13927
|
+
/**
|
|
13928
|
+
* Exposes content in slot as icon label.
|
|
13929
|
+
*/
|
|
13416
13930
|
label: {
|
|
13417
13931
|
type: Boolean,
|
|
13418
13932
|
reflect: true
|
|
13419
13933
|
},
|
|
13934
|
+
|
|
13935
|
+
/**
|
|
13936
|
+
* The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage.
|
|
13937
|
+
*/
|
|
13420
13938
|
name: {
|
|
13421
13939
|
type: String,
|
|
13422
13940
|
reflect: true
|
|
13423
13941
|
},
|
|
13942
|
+
|
|
13943
|
+
/**
|
|
13944
|
+
* DEPRECATED: Sets the icon to use the baseline primary icon style.
|
|
13945
|
+
*/
|
|
13424
13946
|
primary: {
|
|
13425
13947
|
type: Boolean,
|
|
13426
13948
|
reflect: true
|
|
13427
13949
|
},
|
|
13950
|
+
|
|
13951
|
+
/**
|
|
13952
|
+
* Sets the icon to use the secondary style.
|
|
13953
|
+
*/
|
|
13428
13954
|
secondary: {
|
|
13429
13955
|
type: Boolean,
|
|
13430
13956
|
reflect: true
|
|
13431
13957
|
},
|
|
13958
|
+
|
|
13959
|
+
/**
|
|
13960
|
+
* Sets the icon to use the subtle style.
|
|
13961
|
+
*/
|
|
13432
13962
|
subtle: {
|
|
13433
13963
|
type: Boolean,
|
|
13434
13964
|
reflect: true
|
|
13435
13965
|
},
|
|
13966
|
+
|
|
13967
|
+
/**
|
|
13968
|
+
* Sets the icon to use the success style.
|
|
13969
|
+
*/
|
|
13436
13970
|
success: {
|
|
13437
13971
|
type: Boolean,
|
|
13438
13972
|
reflect: true
|
|
13439
13973
|
},
|
|
13974
|
+
|
|
13975
|
+
/**
|
|
13976
|
+
* Sets the icon to use the tertiary style.
|
|
13977
|
+
*/
|
|
13440
13978
|
tertiary: {
|
|
13441
13979
|
type: Boolean,
|
|
13442
13980
|
reflect: true
|
|
13443
13981
|
},
|
|
13444
|
-
|
|
13445
|
-
|
|
13446
|
-
|
|
13982
|
+
|
|
13983
|
+
/**
|
|
13984
|
+
* Sets the icon to use the warning style.
|
|
13985
|
+
*/
|
|
13447
13986
|
warning: {
|
|
13448
13987
|
type: Boolean,
|
|
13449
13988
|
reflect: true
|
|
@@ -13454,9 +13993,9 @@ class AuroIcon extends BaseIcon {
|
|
|
13454
13993
|
static get styles() {
|
|
13455
13994
|
return [
|
|
13456
13995
|
super.styles,
|
|
13457
|
-
i$
|
|
13458
|
-
i$
|
|
13459
|
-
i$
|
|
13996
|
+
i$5`${tokensCss}`,
|
|
13997
|
+
i$5`${styleCss}`,
|
|
13998
|
+
i$5`${colorCss}`
|
|
13460
13999
|
];
|
|
13461
14000
|
}
|
|
13462
14001
|
|
|
@@ -13469,7 +14008,7 @@ class AuroIcon extends BaseIcon {
|
|
|
13469
14008
|
*
|
|
13470
14009
|
*/
|
|
13471
14010
|
static register(name = "auro-icon") {
|
|
13472
|
-
AuroLibraryRuntimeUtils
|
|
14011
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
13473
14012
|
}
|
|
13474
14013
|
|
|
13475
14014
|
connectedCallback() {
|
|
@@ -13480,38 +14019,54 @@ class AuroIcon extends BaseIcon {
|
|
|
13480
14019
|
}
|
|
13481
14020
|
|
|
13482
14021
|
/**
|
|
14022
|
+
* @private
|
|
13483
14023
|
* @returns {void} Exposes CSS parts for styling from parent components.
|
|
13484
14024
|
*/
|
|
13485
14025
|
exposeCssParts() {
|
|
13486
14026
|
this.setAttribute('exportparts', 'svg:iconSvg');
|
|
13487
14027
|
}
|
|
13488
14028
|
|
|
14029
|
+
async firstUpdated() {
|
|
14030
|
+
await super.firstUpdated();
|
|
14031
|
+
|
|
14032
|
+
// Removes the SVG description for screenreader if ariaHidden is set to true
|
|
14033
|
+
if (!this.hasAttribute('ariaHidden') && this.svg) {
|
|
14034
|
+
const svgDesc = this.svg.querySelector('desc');
|
|
14035
|
+
|
|
14036
|
+
if (svgDesc) {
|
|
14037
|
+
svgDesc.remove();
|
|
14038
|
+
this.svg.removeAttribute('aria-labelledby');
|
|
14039
|
+
}
|
|
14040
|
+
}
|
|
14041
|
+
}
|
|
14042
|
+
|
|
13489
14043
|
// function that renders the HTML and CSS into the scope of the component
|
|
13490
14044
|
render() {
|
|
13491
|
-
const
|
|
13492
|
-
'
|
|
14045
|
+
const labelClasses = {
|
|
14046
|
+
'labelWrapper': true,
|
|
13493
14047
|
'util_displayHiddenVisually': !this.label
|
|
13494
14048
|
};
|
|
13495
14049
|
|
|
13496
|
-
const
|
|
13497
|
-
'
|
|
13498
|
-
'wrapper': true,
|
|
14050
|
+
const svgClasses = {
|
|
14051
|
+
'svgWrapper': true,
|
|
13499
14052
|
};
|
|
13500
14053
|
|
|
13501
|
-
return x
|
|
13502
|
-
<div
|
|
13503
|
-
|
|
13504
|
-
|
|
13505
|
-
|
|
13506
|
-
${this.
|
|
13507
|
-
|
|
13508
|
-
|
|
13509
|
-
|
|
13510
|
-
|
|
13511
|
-
|
|
13512
|
-
|
|
14054
|
+
return x`
|
|
14055
|
+
<div class="componentWrapper">
|
|
14056
|
+
<div
|
|
14057
|
+
class="${e(svgClasses)}"
|
|
14058
|
+
title="${o(this.title || undefined)}">
|
|
14059
|
+
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
14060
|
+
${this.customSvg ? x`
|
|
14061
|
+
<slot name="svg"></slot>
|
|
14062
|
+
` : x`
|
|
14063
|
+
${this.svg}
|
|
14064
|
+
`
|
|
14065
|
+
}
|
|
14066
|
+
</span>
|
|
14067
|
+
</div>
|
|
13513
14068
|
|
|
13514
|
-
<div class="${e(
|
|
14069
|
+
<div class="${e(labelClasses)}">
|
|
13515
14070
|
<slot></slot>
|
|
13516
14071
|
</div>
|
|
13517
14072
|
</div>
|
|
@@ -13519,7 +14074,7 @@ class AuroIcon extends BaseIcon {
|
|
|
13519
14074
|
}
|
|
13520
14075
|
}
|
|
13521
14076
|
|
|
13522
|
-
var iconVersion = '
|
|
14077
|
+
var iconVersion = '7.0.1';
|
|
13523
14078
|
|
|
13524
14079
|
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>"};
|
|
13525
14080
|
|
|
@@ -13537,15 +14092,15 @@ var checkmarkIcon = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlin
|
|
|
13537
14092
|
* @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
|
|
13538
14093
|
* @slot - Specifies text for an option, but is not the value.
|
|
13539
14094
|
*/
|
|
13540
|
-
class AuroMenuOption extends r$
|
|
14095
|
+
class AuroMenuOption extends r$1 {
|
|
13541
14096
|
constructor() {
|
|
13542
14097
|
super();
|
|
13543
14098
|
|
|
13544
14099
|
/**
|
|
13545
14100
|
* Generate unique names for dependency components.
|
|
13546
14101
|
*/
|
|
13547
|
-
const versioning = new AuroDependencyVersioning$
|
|
13548
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
|
|
14102
|
+
const versioning = new AuroDependencyVersioning$4();
|
|
14103
|
+
this.iconTag = versioning.generateTag('auro-formkit-menuoption-icon', iconVersion, AuroIcon);
|
|
13549
14104
|
|
|
13550
14105
|
this.selected = false;
|
|
13551
14106
|
this.nocheckmark = false;
|
|
@@ -13559,7 +14114,7 @@ class AuroMenuOption extends r$b {
|
|
|
13559
14114
|
/**
|
|
13560
14115
|
* @private
|
|
13561
14116
|
*/
|
|
13562
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
14117
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$7();
|
|
13563
14118
|
}
|
|
13564
14119
|
|
|
13565
14120
|
static get properties() {
|
|
@@ -13603,7 +14158,7 @@ class AuroMenuOption extends r$b {
|
|
|
13603
14158
|
*
|
|
13604
14159
|
*/
|
|
13605
14160
|
static register(name = "auro-menuoption") {
|
|
13606
|
-
AuroLibraryRuntimeUtils$
|
|
14161
|
+
AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroMenuOption);
|
|
13607
14162
|
}
|
|
13608
14163
|
|
|
13609
14164
|
firstUpdated() {
|
|
@@ -13643,11 +14198,11 @@ class AuroMenuOption extends r$b {
|
|
|
13643
14198
|
|
|
13644
14199
|
svg.setAttribute('slot', 'svg');
|
|
13645
14200
|
|
|
13646
|
-
return u$
|
|
14201
|
+
return u$2`<${this.iconTag} customColor customSvg slot="icon">${svg}</${this.iconTag}>`;
|
|
13647
14202
|
}
|
|
13648
14203
|
|
|
13649
14204
|
render() {
|
|
13650
|
-
return u$
|
|
14205
|
+
return u$2`
|
|
13651
14206
|
${this.selected && !this.nocheckmark ? this.generateIconHtml(checkmarkIcon.svg) : undefined}
|
|
13652
14207
|
<slot></slot>
|
|
13653
14208
|
`;
|