@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.
Files changed (73) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
  3. package/components/bibtemplate/dist/index.js +281 -135
  4. package/components/bibtemplate/dist/registered.js +281 -135
  5. package/components/checkbox/README.md +1 -1
  6. package/components/checkbox/demo/api.min.js +30 -56
  7. package/components/checkbox/demo/index.min.js +30 -56
  8. package/components/checkbox/demo/readme.md +1 -1
  9. package/components/checkbox/dist/index.js +28 -101
  10. package/components/checkbox/dist/registered.js +28 -101
  11. package/components/combobox/README.md +1 -1
  12. package/components/combobox/demo/api.min.js +1289 -734
  13. package/components/combobox/demo/index.min.js +1289 -734
  14. package/components/combobox/demo/readme.md +1 -1
  15. package/components/combobox/dist/index.js +1024 -632
  16. package/components/combobox/dist/registered.js +1024 -632
  17. package/components/counter/README.md +1 -1
  18. package/components/counter/demo/api.min.js +971 -435
  19. package/components/counter/demo/index.js +1 -0
  20. package/components/counter/demo/index.min.js +972 -435
  21. package/components/counter/demo/readme.md +1 -1
  22. package/components/counter/dist/iconVersion.d.ts +1 -1
  23. package/components/counter/dist/index.js +972 -483
  24. package/components/counter/dist/registered.js +972 -483
  25. package/components/datepicker/README.md +1 -1
  26. package/components/datepicker/demo/api.md +30 -0
  27. package/components/datepicker/demo/api.min.js +1818 -735
  28. package/components/datepicker/demo/index.min.js +1818 -735
  29. package/components/datepicker/demo/readme.md +1 -1
  30. package/components/datepicker/dist/auro-calendar.d.ts +5 -1
  31. package/components/datepicker/dist/auro-datepicker.d.ts +7 -0
  32. package/components/datepicker/dist/buttonVersion.d.ts +2 -0
  33. package/components/datepicker/dist/index.js +1830 -817
  34. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  35. package/components/datepicker/dist/registered.js +1830 -817
  36. package/components/dropdown/README.md +1 -1
  37. package/components/dropdown/demo/api.min.js +231 -117
  38. package/components/dropdown/demo/index.min.js +231 -117
  39. package/components/dropdown/demo/readme.md +1 -1
  40. package/components/dropdown/dist/index.js +232 -165
  41. package/components/dropdown/dist/registered.js +232 -165
  42. package/components/form/README.md +1 -1
  43. package/components/form/demo/readme.md +1 -1
  44. package/components/form/dist/index.js +4 -28
  45. package/components/form/dist/registered.js +4 -28
  46. package/components/helptext/dist/index.js +6 -30
  47. package/components/helptext/dist/registered.js +6 -30
  48. package/components/input/README.md +1 -1
  49. package/components/input/demo/api.min.js +471 -164
  50. package/components/input/demo/index.min.js +471 -164
  51. package/components/input/demo/readme.md +1 -1
  52. package/components/input/dist/index.js +468 -220
  53. package/components/input/dist/registered.js +468 -220
  54. package/components/menu/README.md +1 -1
  55. package/components/menu/demo/api.min.js +183 -60
  56. package/components/menu/demo/index.min.js +183 -60
  57. package/components/menu/demo/readme.md +1 -1
  58. package/components/menu/dist/iconVersion.d.ts +1 -1
  59. package/components/menu/dist/index.js +205 -129
  60. package/components/menu/dist/registered.js +205 -129
  61. package/components/radio/README.md +1 -1
  62. package/components/radio/demo/api.min.js +30 -56
  63. package/components/radio/demo/index.min.js +30 -56
  64. package/components/radio/demo/readme.md +1 -1
  65. package/components/radio/dist/index.js +28 -101
  66. package/components/radio/dist/registered.js +28 -101
  67. package/components/select/README.md +1 -1
  68. package/components/select/demo/api.min.js +736 -436
  69. package/components/select/demo/index.min.js +736 -436
  70. package/components/select/demo/readme.md +1 -1
  71. package/components/select/dist/index.js +538 -402
  72. package/components/select/dist/registered.js +538 -402
  73. package/package.json +4 -2
@@ -1,66 +1,19 @@
1
- /**
2
- * @license
3
- * Copyright 2019 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
- const t$8=globalThis,e$d=t$8.ShadowRoot&&(void 0===t$8.ShadyCSS||t$8.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$8=Symbol(),o$d=new WeakMap;let n$b = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$8)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$d&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$d.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$d.set(s,t));}return t}toString(){return this.cssText}};const r$c=t=>new n$b("string"==typeof t?t:t+"",void 0,s$8),i$g=(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$b(o,t,s$8)},S$6=(s,o)=>{if(e$d)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$8.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$9=e$d?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$c(e)})(t):t;
7
-
8
- /**
9
- * @license
10
- * Copyright 2017 Google LLC
11
- * SPDX-License-Identifier: BSD-3-Clause
12
- */const{is:i$f,defineProperty:e$c,getOwnPropertyDescriptor:r$b,getOwnPropertyNames:h$6,getOwnPropertySymbols:o$c,getPrototypeOf:n$a}=Object,a$8=globalThis,c$8=a$8.trustedTypes,l$8=c$8?c$8.emptyScript:"",p$6=a$8.reactiveElementPolyfillSupport,d$6=(t,s)=>t,u$8={toAttribute(t,s){switch(s){case Boolean:t=t?l$8: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$6=(t,s)=>!i$f(t,s),y$6={attribute:true,type:String,converter:u$8,reflect:false,hasChanged:f$6};Symbol.metadata??=Symbol("metadata"),a$8.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$6){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$c(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$b(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$6}static _$Ei(){if(this.hasOwnProperty(d$6("elementProperties")))return;const t=n$a(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$6("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$6("properties"))){const t=this.properties,s=[...h$6(t),...o$c(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$9(s));}else void 0!==s&&i.push(c$9(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$6(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$8).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$8;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$6)(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$6("elementProperties")]=new Map,b$3[d$6("finalized")]=new Map,p$6?.({ReactiveElement:b$3}),(a$8.reactiveElementVersions??=[]).push("2.0.4");
13
-
14
- /**
15
- * @license
16
- * Copyright 2017 Google LLC
17
- * SPDX-License-Identifier: BSD-3-Clause
18
- */
19
- const t$7=globalThis,i$e=t$7.trustedTypes,s$7=i$e?i$e.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$b="$lit$",h$5=`lit$${Math.random().toFixed(9).slice(2)}$`,o$b="?"+h$5,n$9=`<${o$b}>`,r$a=document,l$7=()=>r$a.createComment(""),c$7=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$7=Array.isArray,u$7=t=>a$7(t)||"function"==typeof t?.[Symbol.iterator],d$5="[ \t\n\f\r]",f$5=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$3=/-->/g,_$3=/>/g,m$3=RegExp(`>|${d$5}(?:([^\\s"'>=/]+)(${d$5}*=${d$5}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$5=/'/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$a.createTreeWalker(r$a,129);function P$3(t,i){if(!a$7(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$3:void 0!==u[1]?c=_$3:void 0!==u[2]?($$3.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$5,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$3:p$5):c===g$3||c===p$5?c=m$3:c===v$3||c===_$3?c=f$5:(c=m$3,r=void 0);const x=c===m$3&&t[i+1].startsWith("/>")?" ":"";l+=c===f$5?s+n$9:d>=0?(o.push(a),s.slice(0,d)+e$b+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$b)){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$e?i$e.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$7()),C$3.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$7());}}}else if(8===r.nodeType)if(r.data===o$b)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$a.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$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$5(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$a).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$a,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$7(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$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$3&&c$7(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$a.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$3(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$7(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$7()),this.O(l$7()),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$7(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$7(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$7(),t),t,void 0,s??{});}return h._$AI(t),h};
20
-
21
- /**
22
- * @license
23
- * Copyright 2017 Google LLC
24
- * SPDX-License-Identifier: BSD-3-Clause
25
- */let r$9 = 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$9._$litElement$=true,r$9["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$9});const i$d=globalThis.litElementPolyfillSupport;i$d?.({LitElement:r$9});(globalThis.litElementVersions??=[]).push("4.1.1");
1
+ import { css, LitElement, html } from 'lit';
2
+ import { unsafeStatic, literal, html as html$1 } from 'lit/static-html.js';
3
+ import { classMap } from 'lit/directives/class-map.js';
4
+ import { ifDefined } from 'lit/directives/if-defined.js';
26
5
 
27
- /**
28
- * @license
29
- * Copyright 2020 Google LLC
30
- * SPDX-License-Identifier: BSD-3-Clause
31
- */
32
- const a$6=Symbol.for(""),o$a=t=>{if(t?.r===a$6)return t?._$litStatic$},s$6=t=>({_$litStatic$:t,r:a$6}),i$c=(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$6}),l$6=new Map,n$8=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$a(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$6.get(t))&&(n.raw=n,l$6.set(t,r=n)),e=u;}return t(r,...e)},u$6=n$8(x$3);
33
-
34
- var styleButtonTokenCss = i$g`:host{--ds-auro-counter-control-ui-hover: var(--ds-color-ui-bkg-hover-default, rgba(0, 0, 0, 0.06));--ds-auro-counter-control-ui-active: var(--ds-color-ui-active-default, #054687);--ds-auro-counter-control-border-hover: var(--ds-color-ui-bkg-hover-default, rgba(0, 0, 0, 0.06));--ds-auro-counter-control-ui-bkg: var(--ds-color-ui-bkg-default-default, rgba(0, 0, 0, 0.03))}`;
35
-
36
- var styleButtonColorCss = i$g`.auroButton{border-color:unset;background-color:var(--ds-auro-counter-control-ui-bkg);color:var(--ds-auro-button-text-color);-webkit-tap-highlight-color:var(--ds-auro-button-tap-color)}@media(hover: hover){.auroButton:active:not(:disabled),.auroButton:hover:not(:disabled){background-color:var(--ds-auro-counter-control-ui-hover)}}`;
37
-
38
- var styleButtonCss = i$g`*,*: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_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.contentWrapper{display:flex;align-items:center}.contentWrapper span{display:block;height:var(--ds-size-300, 1.5rem)}.auroButton{position:relative;display:inline-flex;overflow:visible;width:calc(var(--ds-size-50, 0.25rem) + var(--ds-size-400, 2rem));height:calc(var(--ds-size-25, 0.125rem) + var(--ds-size-400, 2rem));flex-direction:row;align-items:center;justify-content:center;padding:var(--ds-auro-counter-control-padding);border:none;border-radius:var(--ds-auro-counter-control-border-radius);margin:0;cursor:pointer;gap:var(--ds-size-100, 0.5rem);line-height:unset;touch-action:manipulation;-webkit-touch-callout:none;user-select:none;white-space:nowrap}.auroButton:active .contentWrapper{transform:scale(0.95)}.auroButton:disabled{cursor:not-allowed;transform:unset}.auroButton:focus-visible:not(.auroButton:focus-visible:disabled){outline:none;transform:unset}`;
6
+ var styleButtonTokenCss = css`:host{--ds-auro-counter-control-ui-hover: var(--ds-color-ui-bkg-hover-default, rgba(0, 0, 0, 0.06));--ds-auro-counter-control-ui-active: var(--ds-color-ui-active-default, #054687);--ds-auro-counter-control-border-hover: var(--ds-color-ui-bkg-hover-default, rgba(0, 0, 0, 0.06));--ds-auro-counter-control-ui-bkg: var(--ds-color-ui-bkg-default-default, rgba(0, 0, 0, 0.03))}`;
39
7
 
40
- /**
41
- * @license
42
- * Copyright 2017 Google LLC
43
- * SPDX-License-Identifier: BSD-3-Clause
44
- */
45
- const t$6={ATTRIBUTE:1},e$a=t=>(...e)=>({_$litDirective$:t,values:e});let i$b = 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)}};
46
-
47
- /**
48
- * @license
49
- * Copyright 2018 Google LLC
50
- * SPDX-License-Identifier: BSD-3-Clause
51
- */const e$9=e$a(class extends i$b{constructor(t){if(super(t),t.type!==t$6.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$3}});
8
+ var styleButtonColorCss = css`.auroButton{border-color:unset;background-color:var(--ds-auro-counter-control-ui-bkg);color:var(--ds-auro-button-text-color);-webkit-tap-highlight-color:var(--ds-auro-button-tap-color)}@media(hover: hover){.auroButton:active:not(:disabled),.auroButton:hover:not(:disabled){background-color:var(--ds-auro-counter-control-ui-hover)}}`;
52
9
 
53
- /**
54
- * @license
55
- * Copyright 2018 Google LLC
56
- * SPDX-License-Identifier: BSD-3-Clause
57
- */const o$9=o=>o??E$3;
10
+ var styleButtonCss = css`*,*: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_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.contentWrapper{display:flex;align-items:center}.contentWrapper span{display:block;height:var(--ds-size-300, 1.5rem)}.auroButton{position:relative;display:inline-flex;overflow:visible;width:calc(var(--ds-size-50, 0.25rem) + var(--ds-size-400, 2rem));height:calc(var(--ds-size-25, 0.125rem) + var(--ds-size-400, 2rem));flex-direction:row;align-items:center;justify-content:center;padding:var(--ds-auro-counter-control-padding);border:none;border-radius:var(--ds-auro-counter-control-border-radius);margin:0;cursor:pointer;gap:var(--ds-size-100, 0.5rem);line-height:unset;touch-action:manipulation;-webkit-touch-callout:none;user-select:none;white-space:nowrap}.auroButton:active .contentWrapper{transform:scale(0.95)}.auroButton:disabled{cursor:not-allowed;transform:unset}.auroButton:focus-visible:not(.auroButton:focus-visible:disabled){outline:none;transform:unset}`;
58
11
 
59
12
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
60
13
  // See LICENSE in the project root for license information.
61
14
 
62
15
 
63
- let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
16
+ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
64
17
 
65
18
  /**
66
19
  * Generates a unique string to be used for child auro element naming.
@@ -86,7 +39,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
86
39
  */
87
40
  generateTag(baseName, version, tagClass) {
88
41
  const elementName = this.generateElementName(baseName, version);
89
- const tag = i$c`${s$6(elementName)}`;
42
+ const tag = literal`${unsafeStatic(elementName)}`;
90
43
 
91
44
  if (!customElements.get(elementName)) {
92
45
  customElements.define(elementName, class extends tagClass {});
@@ -103,7 +56,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
103
56
 
104
57
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
105
58
 
106
- let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
59
+ let AuroLibraryRuntimeUtils$7 = class AuroLibraryRuntimeUtils {
107
60
 
108
61
  /* eslint-disable jsdoc/require-param */
109
62
 
@@ -166,17 +119,87 @@ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
166
119
  }
167
120
  };
168
121
 
169
- var styleCss$9 = i$g`*,*: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_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}`;
122
+ var styleCss$9 = css`: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}`;
123
+
124
+ var colorCss$8 = css`[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}`;
125
+
126
+ var tokensCss$7 = css`: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}`;
127
+
128
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
129
+ // See LICENSE in the project root for license information.
130
+
131
+ // ---------------------------------------------------------------------
170
132
 
171
- var colorCss$8 = i$g`[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}`;
133
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
172
134
 
173
- var tokensCss$7 = i$g`: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}`;
135
+ let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
174
136
 
175
- var styleCss$8 = i$g`*,*: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,: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}}`;
137
+ /* eslint-disable jsdoc/require-param */
138
+
139
+ /**
140
+ * This will register a new custom element with the browser.
141
+ * @param {String} name - The name of the custom element.
142
+ * @param {Object} componentClass - The class to register as a custom element.
143
+ * @returns {void}
144
+ */
145
+ registerComponent(name, componentClass) {
146
+ if (!customElements.get(name)) {
147
+ customElements.define(name, class extends componentClass {});
148
+ }
149
+ }
176
150
 
177
- var colorCss$7 = i$g`: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}`;
151
+ /**
152
+ * Finds and returns the closest HTML Element based on a selector.
153
+ * @returns {void}
154
+ */
155
+ closestElement(
156
+ selector, // selector like in .closest()
157
+ base = this, // extra functionality to skip a parent
158
+ __Closest = (el, found = el && el.closest(selector)) =>
159
+ !el || el === document || el === window
160
+ ? null // standard .closest() returns null for non-found selectors also
161
+ : found
162
+ ? found // found a selector INside this element
163
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
164
+ ) {
165
+ return __Closest(base);
166
+ }
167
+ /* eslint-enable jsdoc/require-param */
178
168
 
179
- var tokensCss$6 = i$g`:host{--ds-auro-loader-background-color: currentcolor;--ds-auro-loader-border-color: currentcolor;--ds-auro-loader-color: currentcolor}`;
169
+ /**
170
+ * 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.
171
+ * @param {Object} elem - The element to check.
172
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
173
+ * @returns {void}
174
+ */
175
+ handleComponentTagRename(elem, tagName) {
176
+ const tag = tagName.toLowerCase();
177
+ const elemTag = elem.tagName.toLowerCase();
178
+
179
+ if (elemTag !== tag) {
180
+ elem.setAttribute(tag, true);
181
+ }
182
+ }
183
+
184
+ /**
185
+ * Validates if an element is a specific Auro component.
186
+ * @param {Object} elem - The element to validate.
187
+ * @param {String} tagName - The name of the Auro component to check against.
188
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
189
+ */
190
+ elementMatch(elem, tagName) {
191
+ const tag = tagName.toLowerCase();
192
+ const elemTag = elem.tagName.toLowerCase();
193
+
194
+ return elemTag === tag || elem.hasAttribute(tag);
195
+ }
196
+ };
197
+
198
+ var styleCss$8 = css`: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}}`;
199
+
200
+ var colorCss$7 = css`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--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}`;
201
+
202
+ var tokensCss$6 = css`:host{--ds-auro-loader-background-color:currentcolor;--ds-auro-loader-border-color:currentcolor;--ds-auro-loader-color:currentcolor}`;
180
203
 
181
204
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
182
205
  // See LICENSE in the project root for license information.
@@ -201,7 +224,7 @@ var tokensCss$6 = i$g`:host{--ds-auro-loader-background-color: currentcolor;--ds
201
224
  */
202
225
 
203
226
  // build the component class
204
- class AuroLoader extends r$9 {
227
+ class AuroLoader extends LitElement {
205
228
  constructor() {
206
229
  super();
207
230
 
@@ -223,7 +246,7 @@ class AuroLoader extends r$9 {
223
246
  /**
224
247
  * @private
225
248
  */
226
- this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
249
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
227
250
 
228
251
  this.orbit = false;
229
252
  this.ringworm = false;
@@ -255,9 +278,9 @@ class AuroLoader extends r$9 {
255
278
 
256
279
  static get styles() {
257
280
  return [
258
- i$g`${styleCss$8}`,
259
- i$g`${colorCss$7}`,
260
- i$g`${tokensCss$6}`
281
+ css`${styleCss$8}`,
282
+ css`${colorCss$7}`,
283
+ css`${tokensCss$6}`
261
284
  ];
262
285
  }
263
286
 
@@ -270,7 +293,7 @@ class AuroLoader extends r$9 {
270
293
  *
271
294
  */
272
295
  static register(name = "auro-loader") {
273
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroLoader);
296
+ AuroLibraryRuntimeUtils$6.prototype.registerComponent(name, AuroLoader);
274
297
  }
275
298
 
276
299
  firstUpdated() {
@@ -303,14 +326,14 @@ class AuroLoader extends r$9 {
303
326
 
304
327
  // function that renders the HTML and CSS into the scope of the component
305
328
  render() {
306
- return x$3`
307
- ${this.defineTemplate().map((idx) => x$3`
329
+ return html`
330
+ ${this.defineTemplate().map((idx) => html`
308
331
  <span part="element" class="loader node-${idx}"></span>
309
332
  `)}
310
333
 
311
334
  <div class="no-animation">Loading...</div>
312
335
 
313
- ${this.ringworm ? x$3`
336
+ ${this.ringworm ? html`
314
337
  <svg part="element" class="circular" viewBox="25 25 50 50">
315
338
  <circle class="path" cx="50" cy="50" r="20" fill="none"/>
316
339
  </svg>`
@@ -320,7 +343,7 @@ class AuroLoader extends r$9 {
320
343
  }
321
344
  }
322
345
 
323
- var loaderVersion = '3.1.1';
346
+ var loaderVersion = '4.0.0';
324
347
 
325
348
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
326
349
  // See LICENSE in the project root for license information.
@@ -356,10 +379,20 @@ var loaderVersion = '3.1.1';
356
379
 
357
380
  /* eslint-disable lit/no-invalid-html, lit/binding-positions */
358
381
 
359
- class AuroButton extends r$9 {
382
+ class AuroButton extends LitElement {
383
+
384
+ /**
385
+ * Enables form association for this element.
386
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals
387
+ * @returns {boolean} - Returns true to enable form association.
388
+ */
389
+ static get formAssociated() {
390
+ return true;
391
+ }
360
392
 
361
393
  constructor() {
362
394
  super();
395
+
363
396
  this.autofocus = false;
364
397
  this.disabled = false;
365
398
  this.iconOnly = false;
@@ -372,10 +405,20 @@ class AuroButton extends r$9 {
372
405
  this.slim = false;
373
406
  this.fluid = false;
374
407
 
408
+ // Support for HTML5 forms
409
+ if (typeof this.attachInternals === 'function') {
410
+ this.internals = this.attachInternals();
411
+ } else {
412
+ this.internals = null;
413
+
414
+ // eslint-disable-next-line no-console
415
+ 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.');
416
+ }
417
+
375
418
  /**
376
419
  * Generate unique names for dependency components.
377
420
  */
378
- const versioning = new AuroDependencyVersioning$2();
421
+ const versioning = new AuroDependencyVersioning$3();
379
422
 
380
423
  /**
381
424
  * @private
@@ -470,7 +513,7 @@ class AuroButton extends r$9 {
470
513
  *
471
514
  */
472
515
  static register(name = "auro-button") {
473
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroButton);
516
+ AuroLibraryRuntimeUtils$7.prototype.registerComponent(name, AuroButton);
474
517
  }
475
518
 
476
519
  /**
@@ -512,6 +555,16 @@ class AuroButton extends r$9 {
512
555
  this.notifyReady();
513
556
  }
514
557
 
558
+ surfaceSubmitEvent() {
559
+ if (this.form) {
560
+ this.form.requestSubmit();
561
+ }
562
+ }
563
+
564
+ get form() {
565
+ return this.internals ? this.internals.form : null;
566
+ }
567
+
515
568
  render() {
516
569
  const classes = {
517
570
  'util_insetLg--squish': true,
@@ -524,27 +577,27 @@ class AuroButton extends r$9 {
524
577
  'loading': this.loading
525
578
  };
526
579
 
527
- return u$6`
580
+ return html$1`
528
581
  <button
529
582
  part="button"
530
- aria-label="${o$9(this.arialabel ? this.arialabel : undefined)}"
531
- aria-labelledby="${o$9(this.arialabelledby ? this.arialabelledby : undefined)}"
583
+ aria-label="${ifDefined(this.arialabel ? this.arialabel : undefined)}"
584
+ aria-labelledby="${ifDefined(this.arialabelledby ? this.arialabelledby : undefined)}"
532
585
  ?autofocus="${this.autofocus}"
533
- class="${e$9(classes)}"
586
+ class="${classMap(classes)}"
534
587
  ?disabled="${this.disabled || this.loading}"
535
588
  ?onDark="${this.onDark}"
536
- title="${o$9(this.title ? this.title : undefined)}"
537
- name="${o$9(this.name ? this.name : undefined)}"
538
- type="${o$9(this.type ? this.type : undefined)}"
539
- variant="${o$9(this.variant ? this.variant : undefined)}"
540
- .value="${o$9(this.value ? this.value : undefined)}"
541
- @click="${() => {}}"
589
+ title="${ifDefined(this.title ? this.title : undefined)}"
590
+ name="${ifDefined(this.name ? this.name : undefined)}"
591
+ type="${ifDefined(this.type ? this.type : undefined)}"
592
+ variant="${ifDefined(this.variant ? this.variant : undefined)}"
593
+ .value="${ifDefined(this.value ? this.value : undefined)}"
594
+ @click="${this.type === 'submit' ? this.surfaceSubmitEvent : undefined}"
542
595
  >
543
- ${o$9(this.loading ? u$6`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
596
+ ${ifDefined(this.loading ? html$1`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
544
597
 
545
598
  <span class="contentWrapper">
546
599
  <span class="textSlot" part="text">
547
- ${this.iconOnly ? undefined : u$6`<slot></slot>`}
600
+ ${this.iconOnly ? undefined : html$1`<slot></slot>`}
548
601
  </span>
549
602
 
550
603
  <span part="icon">
@@ -556,6 +609,76 @@ class AuroButton extends r$9 {
556
609
  }
557
610
  }
558
611
 
612
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
613
+ // See LICENSE in the project root for license information.
614
+
615
+ // ---------------------------------------------------------------------
616
+
617
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
618
+
619
+ let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
620
+
621
+ /* eslint-disable jsdoc/require-param */
622
+
623
+ /**
624
+ * This will register a new custom element with the browser.
625
+ * @param {String} name - The name of the custom element.
626
+ * @param {Object} componentClass - The class to register as a custom element.
627
+ * @returns {void}
628
+ */
629
+ registerComponent(name, componentClass) {
630
+ if (!customElements.get(name)) {
631
+ customElements.define(name, class extends componentClass {});
632
+ }
633
+ }
634
+
635
+ /**
636
+ * Finds and returns the closest HTML Element based on a selector.
637
+ * @returns {void}
638
+ */
639
+ closestElement(
640
+ selector, // selector like in .closest()
641
+ base = this, // extra functionality to skip a parent
642
+ __Closest = (el, found = el && el.closest(selector)) =>
643
+ !el || el === document || el === window
644
+ ? null // standard .closest() returns null for non-found selectors also
645
+ : found
646
+ ? found // found a selector INside this element
647
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
648
+ ) {
649
+ return __Closest(base);
650
+ }
651
+ /* eslint-enable jsdoc/require-param */
652
+
653
+ /**
654
+ * 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.
655
+ * @param {Object} elem - The element to check.
656
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
657
+ * @returns {void}
658
+ */
659
+ handleComponentTagRename(elem, tagName) {
660
+ const tag = tagName.toLowerCase();
661
+ const elemTag = elem.tagName.toLowerCase();
662
+
663
+ if (elemTag !== tag) {
664
+ elem.setAttribute(tag, true);
665
+ }
666
+ }
667
+
668
+ /**
669
+ * Validates if an element is a specific Auro component.
670
+ * @param {Object} elem - The element to validate.
671
+ * @param {String} tagName - The name of the Auro component to check against.
672
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
673
+ */
674
+ elementMatch(elem, tagName) {
675
+ const tag = tagName.toLowerCase();
676
+ const elemTag = elem.tagName.toLowerCase();
677
+
678
+ return elemTag === tag || elem.hasAttribute(tag);
679
+ }
680
+ };
681
+
559
682
  // Copyright (c) 2022 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
560
683
  // See LICENSE in the project root for license information.
561
684
 
@@ -580,7 +703,7 @@ class AuroCounterButton extends AuroButton {
580
703
  *
581
704
  */
582
705
  static register(name = "auro-counter-button") {
583
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroCounterButton);
706
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroCounterButton);
584
707
  }
585
708
  }
586
709
 
@@ -590,6 +713,46 @@ if (!customElements.get("auro-counter-button")) {
590
713
  customElements.define("auro-counter-button", AuroCounterButton);
591
714
  }
592
715
 
716
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
717
+ // See LICENSE in the project root for license information.
718
+
719
+
720
+ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
721
+
722
+ /**
723
+ * Generates a unique string to be used for child auro element naming.
724
+ * @private
725
+ * @param {string} baseName - Defines the first part of the unique element name.
726
+ * @param {string} version - Version of the component that will be appended to the baseName.
727
+ * @returns {string} - Unique string to be used for naming.
728
+ */
729
+ generateElementName(baseName, version) {
730
+ let result = baseName;
731
+
732
+ result += '-';
733
+ result += version.replace(/[.]/g, '_');
734
+
735
+ return result;
736
+ }
737
+
738
+ /**
739
+ * Generates a unique string to be used for child auro element naming.
740
+ * @param {string} baseName - Defines the first part of the unique element name.
741
+ * @param {string} version - Version of the component that will be appended to the baseName.
742
+ * @returns {string} - Unique string to be used for naming.
743
+ */
744
+ generateTag(baseName, version, tagClass) {
745
+ const elementName = this.generateElementName(baseName, version);
746
+ const tag = literal`${unsafeStatic(elementName)}`;
747
+
748
+ if (!customElements.get(elementName)) {
749
+ customElements.define(elementName, class extends tagClass {});
750
+ }
751
+
752
+ return tag;
753
+ }
754
+ };
755
+
593
756
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
594
757
  // See LICENSE in the project root for license information.
595
758
 
@@ -600,7 +763,7 @@ if (!customElements.get("auro-counter-button")) {
600
763
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
601
764
  */
602
765
 
603
- let AuroElement$2 = class AuroElement extends r$9 {
766
+ let AuroElement$2 = class AuroElement extends LitElement {
604
767
 
605
768
  // function to define props used within the scope of this component
606
769
  static get properties() {
@@ -656,7 +819,7 @@ const cacheFetch$2 = (uri, options = {}) => {
656
819
  return _fetchMap$2.get(uri);
657
820
  };
658
821
 
659
- var styleCss$7 = i$g`*,*: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}.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}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
822
+ var styleCss$7 = css`: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}`;
660
823
 
661
824
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
662
825
  // See LICENSE in the project root for license information.
@@ -695,7 +858,7 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
695
858
  }
696
859
 
697
860
  static get styles() {
698
- return i$g`
861
+ return css`
699
862
  ${styleCss$7}
700
863
  `;
701
864
  }
@@ -737,47 +900,88 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$2 {
737
900
  }
738
901
  };
739
902
 
740
- var tokensCss$5 = i$g`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
903
+ var tokensCss$5 = css`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
741
904
 
742
- var colorCss$6 = i$g`: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)}`;
905
+ var colorCss$6 = css`: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)}`;
743
906
 
744
- // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
907
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
745
908
  // See LICENSE in the project root for license information.
746
909
 
910
+ // ---------------------------------------------------------------------
911
+
912
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
913
+
914
+ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
915
+
916
+ /* eslint-disable jsdoc/require-param */
917
+
918
+ /**
919
+ * This will register a new custom element with the browser.
920
+ * @param {String} name - The name of the custom element.
921
+ * @param {Object} componentClass - The class to register as a custom element.
922
+ * @returns {void}
923
+ */
924
+ registerComponent(name, componentClass) {
925
+ if (!customElements.get(name)) {
926
+ customElements.define(name, class extends componentClass {});
927
+ }
928
+ }
929
+
930
+ /**
931
+ * Finds and returns the closest HTML Element based on a selector.
932
+ * @returns {void}
933
+ */
934
+ closestElement(
935
+ selector, // selector like in .closest()
936
+ base = this, // extra functionality to skip a parent
937
+ __Closest = (el, found = el && el.closest(selector)) =>
938
+ !el || el === document || el === window
939
+ ? null // standard .closest() returns null for non-found selectors also
940
+ : found
941
+ ? found // found a selector INside this element
942
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
943
+ ) {
944
+ return __Closest(base);
945
+ }
946
+ /* eslint-enable jsdoc/require-param */
947
+
948
+ /**
949
+ * 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.
950
+ * @param {Object} elem - The element to check.
951
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
952
+ * @returns {void}
953
+ */
954
+ handleComponentTagRename(elem, tagName) {
955
+ const tag = tagName.toLowerCase();
956
+ const elemTag = elem.tagName.toLowerCase();
957
+
958
+ if (elemTag !== tag) {
959
+ elem.setAttribute(tag, true);
960
+ }
961
+ }
962
+
963
+ /**
964
+ * Validates if an element is a specific Auro component.
965
+ * @param {Object} elem - The element to validate.
966
+ * @param {String} tagName - The name of the Auro component to check against.
967
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
968
+ */
969
+ elementMatch(elem, tagName) {
970
+ const tag = tagName.toLowerCase();
971
+ const elemTag = elem.tagName.toLowerCase();
972
+
973
+ return elemTag === tag || elem.hasAttribute(tag);
974
+ }
975
+ };
976
+
977
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
978
+ // See LICENSE in the project root for license information.
747
979
 
748
- // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
749
- /**
750
- * auro-icon provides users a way to use the Auro Icons by simply passing in the category and name.
751
- *
752
- * @attr {String} category - The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
753
- * @attr {String} name - The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage
754
- * @attr {Boolean} customColor - Removes primary selector.
755
- * @attr {Boolean} customSvg - When true, auro-icon will render a custom SVG inside the default slot.
756
- * @attr {Boolean} label - Exposes content in slot as icon label.
757
- * @attr {Boolean} primary - DEPRECATED: Sets the icon to use the baseline primary icon style.
758
- * @attr {Boolean} accent - Sets the icon to use the accent style.
759
- * @attr {Boolean} emphasis - Sets the icon to use the emphasis style.
760
- * @attr {Boolean} disabled - Sets the icon to use the disabled style.
761
- * @attr {Boolean} error - Sets the icon to use the error style.
762
- * @attr {Boolean} info - Sets the icon to use the info style.
763
- * @attr {Boolean} secondary - Sets the icon to use the secondary style.
764
- * @attr {Boolean} tertiary - Sets the icon to use the tertiary style.
765
- * @attr {Boolean} subtle - Sets the icon to use the subtle style.
766
- * @attr {Boolean} success - Sets the icon to use the success style.
767
- * @attr {Boolean} warning - Sets the icon to use the warning style.
768
- * @attr {String} ariaHidden - Set aria-hidden value. Default is `true`. Option is `false`.
769
- * @attr {String} uri - Set the uri for CDN used when fetching icons
770
- * @slot - Hidden from visibility, used for a11y if icon description is needed.
771
- * @slot svg - Used for custom SVG content.
772
- */
773
980
 
774
- // build the component class
775
981
  let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
776
982
  constructor() {
777
983
  super();
778
984
 
779
- this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
780
-
781
985
  this.privateDefaults();
782
986
  }
783
987
 
@@ -801,78 +1005,144 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
801
1005
  this.success = false;
802
1006
  this.tertiary = false;
803
1007
  this.warning = false;
804
- this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
1008
+ this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
1009
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$4();
805
1010
  }
806
1011
 
807
1012
  // function to define props used within the scope of this component
808
1013
  static get properties() {
809
1014
  return {
810
1015
  ...super.properties,
1016
+
1017
+ /**
1018
+ * Sets the icon to use the accent style.
1019
+ */
811
1020
  accent: {
812
1021
  type: Boolean,
813
1022
  reflect: true
814
1023
  },
1024
+
1025
+ /**
1026
+ * Set aria-hidden value. Default is `true`. Option is `false`.
1027
+ */
815
1028
  ariaHidden: {
816
1029
  type: String,
817
1030
  reflect: true
818
1031
  },
1032
+
1033
+ /**
1034
+ * The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
1035
+ */
819
1036
  category: {
820
1037
  type: String,
821
1038
  reflect: true
822
1039
  },
1040
+
1041
+ /**
1042
+ * Allows custom color to be set.
1043
+ */
823
1044
  customColor: {
824
1045
  type: Boolean
825
1046
  },
1047
+
1048
+ /**
1049
+ * When true, auro-icon will render a custom SVG inside the default slot.
1050
+ */
826
1051
  customSvg: {
827
1052
  type: Boolean
828
1053
  },
1054
+
1055
+ /**
1056
+ * Sets the icon to use the disabled style.
1057
+ */
829
1058
  disabled: {
830
1059
  type: Boolean,
831
1060
  reflect: true
832
1061
  },
1062
+
1063
+ /**
1064
+ * Sets the icon to use the emphasis style.
1065
+ */
833
1066
  emphasis: {
834
1067
  type: Boolean,
835
1068
  reflect: true
836
1069
  },
1070
+
1071
+ /**
1072
+ * Sets the icon to use the error style.
1073
+ */
837
1074
  error: {
838
1075
  type: Boolean,
839
1076
  reflect: true
840
1077
  },
1078
+
1079
+ /**
1080
+ * Sets the icon to use the info style.
1081
+ */
841
1082
  info: {
842
1083
  type: Boolean,
843
1084
  reflect: true
844
1085
  },
1086
+
1087
+ /**
1088
+ * Exposes content in slot as icon label.
1089
+ */
845
1090
  label: {
846
1091
  type: Boolean,
847
1092
  reflect: true
848
1093
  },
1094
+
1095
+ /**
1096
+ * The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage.
1097
+ */
849
1098
  name: {
850
1099
  type: String,
851
1100
  reflect: true
852
1101
  },
1102
+
1103
+ /**
1104
+ * DEPRECATED: Sets the icon to use the baseline primary icon style.
1105
+ */
853
1106
  primary: {
854
1107
  type: Boolean,
855
1108
  reflect: true
856
1109
  },
1110
+
1111
+ /**
1112
+ * Sets the icon to use the secondary style.
1113
+ */
857
1114
  secondary: {
858
1115
  type: Boolean,
859
1116
  reflect: true
860
1117
  },
1118
+
1119
+ /**
1120
+ * Sets the icon to use the subtle style.
1121
+ */
861
1122
  subtle: {
862
1123
  type: Boolean,
863
1124
  reflect: true
864
1125
  },
1126
+
1127
+ /**
1128
+ * Sets the icon to use the success style.
1129
+ */
865
1130
  success: {
866
1131
  type: Boolean,
867
1132
  reflect: true
868
1133
  },
1134
+
1135
+ /**
1136
+ * Sets the icon to use the tertiary style.
1137
+ */
869
1138
  tertiary: {
870
1139
  type: Boolean,
871
1140
  reflect: true
872
1141
  },
873
- uri: {
874
- type: String
875
- },
1142
+
1143
+ /**
1144
+ * Sets the icon to use the warning style.
1145
+ */
876
1146
  warning: {
877
1147
  type: Boolean,
878
1148
  reflect: true
@@ -883,9 +1153,9 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
883
1153
  static get styles() {
884
1154
  return [
885
1155
  super.styles,
886
- i$g`${tokensCss$5}`,
887
- i$g`${styleCss$7}`,
888
- i$g`${colorCss$6}`
1156
+ css`${tokensCss$5}`,
1157
+ css`${styleCss$7}`,
1158
+ css`${colorCss$6}`
889
1159
  ];
890
1160
  }
891
1161
 
@@ -898,7 +1168,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
898
1168
  *
899
1169
  */
900
1170
  static register(name = "auro-icon") {
901
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroIcon);
1171
+ AuroLibraryRuntimeUtils$4.prototype.registerComponent(name, AuroIcon);
902
1172
  }
903
1173
 
904
1174
  connectedCallback() {
@@ -909,38 +1179,54 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
909
1179
  }
910
1180
 
911
1181
  /**
1182
+ * @private
912
1183
  * @returns {void} Exposes CSS parts for styling from parent components.
913
1184
  */
914
1185
  exposeCssParts() {
915
1186
  this.setAttribute('exportparts', 'svg:iconSvg');
916
1187
  }
917
1188
 
1189
+ async firstUpdated() {
1190
+ await super.firstUpdated();
1191
+
1192
+ // Removes the SVG description for screenreader if ariaHidden is set to true
1193
+ if (!this.hasAttribute('ariaHidden') && this.svg) {
1194
+ const svgDesc = this.svg.querySelector('desc');
1195
+
1196
+ if (svgDesc) {
1197
+ svgDesc.remove();
1198
+ this.svg.removeAttribute('aria-labelledby');
1199
+ }
1200
+ }
1201
+ }
1202
+
918
1203
  // function that renders the HTML and CSS into the scope of the component
919
1204
  render() {
920
- const a11y = {
921
- 'labelContainer': true,
1205
+ const labelClasses = {
1206
+ 'labelWrapper': true,
922
1207
  'util_displayHiddenVisually': !this.label
923
1208
  };
924
1209
 
925
- const classes = {
926
- 'label': this.label,
927
- 'wrapper': true,
1210
+ const svgClasses = {
1211
+ 'svgWrapper': true,
928
1212
  };
929
1213
 
930
- return x$3`
931
- <div
932
- class="${e$9(classes)}"
933
- title="${o$9(this.title || undefined)}">
934
- <span aria-hidden="${o$9(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
935
- ${this.customSvg ? x$3`
936
- <slot name="svg"></slot>
937
- ` : x$3`
938
- ${this.svg}
939
- `
940
- }
941
- </span>
1214
+ return html`
1215
+ <div class="componentWrapper">
1216
+ <div
1217
+ class="${classMap(svgClasses)}"
1218
+ title="${ifDefined(this.title || undefined)}">
1219
+ <span aria-hidden="${ifDefined(this.ariaHidden || true)}" part="svg">
1220
+ ${this.customSvg ? html`
1221
+ <slot name="svg"></slot>
1222
+ ` : html`
1223
+ ${this.svg}
1224
+ `
1225
+ }
1226
+ </span>
1227
+ </div>
942
1228
 
943
- <div class="${e$9(a11y)}">
1229
+ <div class="${classMap(labelClasses)}">
944
1230
  <slot></slot>
945
1231
  </div>
946
1232
  </div>
@@ -948,7 +1234,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
948
1234
  }
949
1235
  };
950
1236
 
951
- var iconVersion$2 = '6.1.2';
1237
+ var iconVersion$2 = '7.0.1';
952
1238
 
953
1239
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
954
1240
  // See LICENSE in the project root for license information.
@@ -956,7 +1242,7 @@ var iconVersion$2 = '6.1.2';
956
1242
 
957
1243
  class AuroFormValidation {
958
1244
  constructor() {
959
- this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
1245
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
960
1246
  }
961
1247
 
962
1248
  /**
@@ -1280,7 +1566,7 @@ class IconUtil {
1280
1566
 
1281
1567
  svg.setAttribute('slot', 'svg');
1282
1568
 
1283
- return u$6`${svg}`;
1569
+ return html$1`${svg}`;
1284
1570
  }
1285
1571
  }
1286
1572
 
@@ -1288,11 +1574,11 @@ var plusIcon = {"role":"img","color":"currentColor","title":"","desc":"","width"
1288
1574
 
1289
1575
  var minusIcon = {"role":"img","color":"currentColor","title":"","desc":"","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"minus-lg","category":"interface","deprecated":true,"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-hidden=\"true\" class=\"ico_squareLarge\" data-deprecated=\"true\" 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/><path d=\"M5.75 12.75h12.5a.75.75 0 1 0 0-1.5H5.75a.75.75 0 1 0 0 1.5\"/></svg>"};
1290
1576
 
1291
- var tokensCss$4 = i$g`:host{--ds-auro-counter-text-default: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-counter-text-secondary: var(--ds-color-text-secondary-default, #525252);--ds-auro-counter-text-disabled: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-counter-control-ui-active: var(--ds-color-ui-active-default, #054687);--ds-auro-counter-control-ui-hover: var(--ds-color-ui-hover-default, #054687);--ds-auro-counter-control-ui-disabled: var(--ds-color-ui-disabled-default, rgba(0, 116, 200, 0.2));--ds-auro-counter-control-ui-bkg: var(--ds-color-ui-bkg-default-default, rgba(0, 0, 0, 0.03));--ds-auro-counter-control-line-height: var(--ds-text-body-size-sm, 0.875rem);--ds-auro-counter-icon-color-default: var(--ds-color-ui-default-default, #0074c8);--ds-auro-counter-control-border-active: var(--ds-color-border-active-default, #0074c8)}`;
1577
+ var tokensCss$4 = css`:host{--ds-auro-counter-text-default: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-counter-text-secondary: var(--ds-color-text-secondary-default, #525252);--ds-auro-counter-text-disabled: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-counter-control-ui-active: var(--ds-color-ui-active-default, #054687);--ds-auro-counter-control-ui-hover: var(--ds-color-ui-hover-default, #054687);--ds-auro-counter-control-ui-disabled: var(--ds-color-ui-disabled-default, rgba(0, 116, 200, 0.2));--ds-auro-counter-control-ui-bkg: var(--ds-color-ui-bkg-default-default, rgba(0, 0, 0, 0.03));--ds-auro-counter-control-line-height: var(--ds-text-body-size-sm, 0.875rem);--ds-auro-counter-icon-color-default: var(--ds-color-ui-default-default, #0074c8);--ds-auro-counter-control-border-active: var(--ds-color-border-active-default, #0074c8)}`;
1292
1578
 
1293
- var colorCss$5 = i$g`.counter{color:var(--ds-auro-counter-text-default)}[name=description]::slotted(*){color:var(--ds-auro-counter-text-secondary)}.controlIcon{color:var(--ds-auro-counter-icon-color-default)}.quantityWrapper{background-color:var(--ds-auro-counter-control-ui-bkg)}:host::part(counterControl):focus-visible{outline-color:var(--ds-auro-counter-control-border-active)}[disabled] .controlIcon,:host([disabled]) .controlIcon{color:var(--ds-auro-counter-control-ui-disabled)}[disabled] label,[disabled] [name=description]::slotted(*),[disabled]::part(counterControl),:host([disabled]) label,:host([disabled]) [name=description]::slotted(*),:host([disabled])::part(counterControl){color:var(--ds-auro-counter-text-disabled)}`;
1579
+ var colorCss$5 = css`.counter{color:var(--ds-auro-counter-text-default)}[name=description]::slotted(*){color:var(--ds-auro-counter-text-secondary)}.controlIcon{color:var(--ds-auro-counter-icon-color-default)}.quantityWrapper{background-color:var(--ds-auro-counter-control-ui-bkg)}:host::part(counterControl):focus-visible{outline-color:var(--ds-auro-counter-control-border-active)}[disabled] .controlIcon,:host([disabled]) .controlIcon{color:var(--ds-auro-counter-control-ui-disabled)}[disabled] label,[disabled] [name=description]::slotted(*),[disabled]::part(counterControl),:host([disabled]) label,:host([disabled]) [name=description]::slotted(*),:host([disabled])::part(counterControl){color:var(--ds-auro-counter-text-disabled)}`;
1294
1580
 
1295
- var styleCss$6 = i$g`.counter{display:flex;align-items:center;justify-content:space-between;column-gap:var(--ds-size-150, 0.75rem)}.content{display:flex;flex-flow:column}[name=description]::slotted(*){display:block;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}.quantityWrapper{width:var(--ds-size-400, 2rem);height:calc(var(--ds-size-25, 0.125rem) + var(--ds-size-400, 2rem));align-content:center;cursor:default;font-size:var(--ds-size-250, 1.25rem);text-align:center}:host{position:relative}:host::part(counterControl){display:flex;border-radius:var(--ds-size-500, 2.5rem);line-height:0;touch-action:manipulation}:host::part(counterControl):focus-visible{outline-offset:0;outline-style:solid;outline-width:var(--ds-size-25, 0.125rem)}:host::part(controlMinus){--ds-auro-counter-control-border-radius: var(--ds-size-500, 2.5rem) 0 0 var(--ds-size-500, 2.5rem);--ds-auro-counter-control-padding: var(--ds-size-50, 0.25rem) var(--ds-size-50, 0.25rem) var(--ds-size-50, 0.25rem) var(--ds-size-100, 0.5rem)}:host::part(controlPlus){--ds-auro-counter-control-border-radius: 0 var(--ds-size-500, 2.5rem) var(--ds-size-500, 2.5rem) 0;--ds-auro-counter-control-padding: var(--ds-size-50, 0.25rem) var(--ds-size-100, 0.5rem) var(--ds-size-50, 0.25rem) var(--ds-size-50, 0.25rem)}auro-counter-button{display:flex}`;
1581
+ var styleCss$6 = css`.counter{display:flex;align-items:center;justify-content:space-between;column-gap:var(--ds-size-150, 0.75rem)}.content{display:flex;flex-flow:column}[name=description]::slotted(*){display:block;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}.quantityWrapper{width:var(--ds-size-400, 2rem);height:calc(var(--ds-size-25, 0.125rem) + var(--ds-size-400, 2rem));align-content:center;cursor:default;font-size:var(--ds-size-250, 1.25rem);text-align:center}:host{position:relative}:host::part(counterControl){display:flex;border-radius:var(--ds-size-500, 2.5rem);line-height:0;touch-action:manipulation}:host::part(counterControl):focus-visible{outline-offset:0;outline-style:solid;outline-width:var(--ds-size-25, 0.125rem)}:host::part(controlMinus){--ds-auro-counter-control-border-radius: var(--ds-size-500, 2.5rem) 0 0 var(--ds-size-500, 2.5rem);--ds-auro-counter-control-padding: var(--ds-size-50, 0.25rem) var(--ds-size-50, 0.25rem) var(--ds-size-50, 0.25rem) var(--ds-size-100, 0.5rem)}:host::part(controlPlus){--ds-auro-counter-control-border-radius: 0 var(--ds-size-500, 2.5rem) var(--ds-size-500, 2.5rem) 0;--ds-auro-counter-control-padding: var(--ds-size-50, 0.25rem) var(--ds-size-100, 0.5rem) var(--ds-size-50, 0.25rem) var(--ds-size-50, 0.25rem)}auro-counter-button{display:flex}`;
1296
1582
 
1297
1583
  /* eslint-disable lit/binding-positions, lit/no-invalid-html, max-lines */
1298
1584
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
@@ -1310,7 +1596,7 @@ var styleCss$6 = i$g`.counter{display:flex;align-items:center;justify-content:sp
1310
1596
  * @slot default - Main label content for the counter.
1311
1597
  * @slot description - Descriptive content for the counter.
1312
1598
  */
1313
- class AuroCounter extends r$9 {
1599
+ class AuroCounter extends LitElement {
1314
1600
  constructor() {
1315
1601
  super();
1316
1602
 
@@ -1339,14 +1625,14 @@ class AuroCounter extends r$9 {
1339
1625
  * @private
1340
1626
  * @type {string}
1341
1627
  */
1342
- this.iconTag = versioning.generateTag("auro-icon", iconVersion$2, AuroIcon$2);
1628
+ this.iconTag = versioning.generateTag("auro-formkit-counter-icon", iconVersion$2, AuroIcon$2);
1343
1629
 
1344
1630
  /**
1345
1631
  * @private
1346
1632
  * @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
1347
1633
  */
1348
1634
  this.constructor.shadowRootOptions = {
1349
- ...r$9.shadowRootOptions,
1635
+ ...LitElement.shadowRootOptions,
1350
1636
  delegatesFocus: true,
1351
1637
  };
1352
1638
  }
@@ -1441,7 +1727,7 @@ class AuroCounter extends r$9 {
1441
1727
  * AuroCounter.register("custom-counter") // registers <custom-counter/>
1442
1728
  */
1443
1729
  static register(name = "auro-counter") {
1444
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroCounter);
1730
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroCounter);
1445
1731
  }
1446
1732
 
1447
1733
  static get styles() {
@@ -1578,7 +1864,7 @@ class AuroCounter extends r$9 {
1578
1864
  }
1579
1865
 
1580
1866
  render() {
1581
- return u$6`
1867
+ return html$1`
1582
1868
  <div class="counter">
1583
1869
  <div class="content" >
1584
1870
  <label id="counter-label" class="label"><slot @slotchange="${this.onDefaultSlotChange}" ></slot></label>
@@ -1616,40 +1902,7 @@ class AuroCounter extends r$9 {
1616
1902
  }
1617
1903
  }
1618
1904
 
1619
- var styleCss$5 = i$g`:host{position:relative;display:block}[slot=trigger],::slotted([slot=valueText]){display:block;overflow:hidden;text-overflow:ellipsis}[auro-dropdown]{display:block}[auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}#slotHolder{display:none}`;
1620
-
1621
- /**
1622
- * @license
1623
- * Copyright 2017 Google LLC
1624
- * SPDX-License-Identifier: BSD-3-Clause
1625
- */
1626
- const t$4=globalThis,i$9=t$4.trustedTypes,s$4=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$7=document,l$4=()=>r$7.createComment(""),c$5=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$4=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$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$3}(?:([^\\s"'>=/]+)(${d$3}*=${d$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$3=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$3=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$3(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$7.createTreeWalker(r$7,129);function P$1(t,i){if(!a$4(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$4?s$4.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$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$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$3,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$3):c===g$1||c===p$3?c=m$1:c===v$1||c===_$1?c=f$3:(c=m$1,r=void 0);const x=c===m$1&&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(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$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:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$3)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$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.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$7.createElement("template");return s.innerHTML=t,s}};function S$3(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$5(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$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$7).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$7,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$3(this,t,i),c$5(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$4(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$5(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$7.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$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 = 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$3(this,t,i,0),o=!c$5(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$3(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$5(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$3(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$3(this,t);}};const j$1=t$4.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$4.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$4(),t),t,void 0,s??{});}return h._$AI(t),h};
1627
-
1628
- /**
1629
- * @license
1630
- * Copyright 2020 Google LLC
1631
- * SPDX-License-Identifier: BSD-3-Clause
1632
- */
1633
- const a$3=Symbol.for(""),o$6=t=>{if(t?.r===a$3)return t?._$litStatic$},s$3=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$3=n$5(x$1);
1634
-
1635
- /**
1636
- * @license
1637
- * Copyright 2019 Google LLC
1638
- * SPDX-License-Identifier: BSD-3-Clause
1639
- */
1640
- const t$3=globalThis,e$6=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$1=Symbol(),o$5=new WeakMap;let n$4 = 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$6&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$5.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$5.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$1),i$7=(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$1)},S$2=(s,o)=>{if(e$6)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$4=e$6?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6(e)})(t):t;
1641
-
1642
- /**
1643
- * @license
1644
- * Copyright 2017 Google LLC
1645
- * SPDX-License-Identifier: BSD-3-Clause
1646
- */const{is:i$6,defineProperty:e$5,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$4$1,getPrototypeOf:n$3$1}=Object,a$2$1=globalThis,c$3=a$2$1.trustedTypes,l$2$1=c$3?c$3.emptyScript:"",p$2=a$2$1.reactiveElementPolyfillSupport,d$2=(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$2=(t,s)=>!i$6(t,s),y$2={attribute:true,type:String,converter:u$2$1,reflect:false,hasChanged:f$2};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$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$5(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("elementProperties")))return;const t=n$3$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$2("properties"))){const t=this.properties,s=[...h$2(t),...o$4$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$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(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$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$1.elementStyles=[],b$1.shadowRootOptions={mode:"open"},b$1[d$2("elementProperties")]=new Map,b$1[d$2("finalized")]=new Map,p$2?.({ReactiveElement:b$1}),(a$2$1.reactiveElementVersions??=[]).push("2.0.4");
1647
-
1648
- /**
1649
- * @license
1650
- * Copyright 2017 Google LLC
1651
- * SPDX-License-Identifier: BSD-3-Clause
1652
- */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$5$1=globalThis.litElementPolyfillSupport;i$5$1?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
1905
+ var styleCss$5 = css`:host{position:relative;display:block}[slot=trigger],::slotted([slot=valueText]){display:block;overflow:hidden;text-overflow:ellipsis}[auro-dropdown]{display:block}[auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}#slotHolder{display:none}`;
1653
1906
 
1654
1907
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1655
1908
  // See LICENSE in the project root for license information.
@@ -1658,7 +1911,7 @@ const t$3=globalThis,e$6=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.na
1658
1911
 
1659
1912
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
1660
1913
 
1661
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
1914
+ let AuroLibraryRuntimeUtils$2$1 = class AuroLibraryRuntimeUtils {
1662
1915
 
1663
1916
  /* eslint-disable jsdoc/require-param */
1664
1917
 
@@ -2450,7 +2703,8 @@ function isContainingBlock(elementOrCss) {
2450
2703
  const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
2451
2704
 
2452
2705
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
2453
- return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
2706
+ // https://drafts.csswg.org/css-transforms-2/#individual-transforms
2707
+ 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));
2454
2708
  }
2455
2709
  function getContainingBlock(element) {
2456
2710
  let currentNode = getParentNode(element);
@@ -3008,6 +3262,10 @@ const platform = {
3008
3262
  isRTL
3009
3263
  };
3010
3264
 
3265
+ function rectsAreEqual(a, b) {
3266
+ return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
3267
+ }
3268
+
3011
3269
  // https://samthor.au/2021/observing-dom/
3012
3270
  function observeMove(element, onMove) {
3013
3271
  let io = null;
@@ -3027,12 +3285,13 @@ function observeMove(element, onMove) {
3027
3285
  threshold = 1;
3028
3286
  }
3029
3287
  cleanup();
3288
+ const elementRectForRootMargin = element.getBoundingClientRect();
3030
3289
  const {
3031
3290
  left,
3032
3291
  top,
3033
3292
  width,
3034
3293
  height
3035
- } = element.getBoundingClientRect();
3294
+ } = elementRectForRootMargin;
3036
3295
  if (!skip) {
3037
3296
  onMove();
3038
3297
  }
@@ -3065,6 +3324,16 @@ function observeMove(element, onMove) {
3065
3324
  refresh(false, ratio);
3066
3325
  }
3067
3326
  }
3327
+ if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
3328
+ // It's possible that even though the ratio is reported as 1, the
3329
+ // element is not actually fully within the IntersectionObserver's root
3330
+ // area anymore. This can happen under performance constraints. This may
3331
+ // be a bug in the browser's IntersectionObserver implementation. To
3332
+ // work around this, we compare the element's bounding rect now with
3333
+ // what it was at the time we created the IntersectionObserver. If they
3334
+ // are not equal then the element moved, so we refresh.
3335
+ refresh();
3336
+ }
3068
3337
  isFirstUpdate = false;
3069
3338
  }
3070
3339
 
@@ -3142,7 +3411,7 @@ function autoUpdate(reference, floating, update, options) {
3142
3411
  }
3143
3412
  function frameLoop() {
3144
3413
  const nextRefRect = getBoundingClientRect(reference);
3145
- if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
3414
+ if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
3146
3415
  update();
3147
3416
  }
3148
3417
  prevRefRect = nextRefRect;
@@ -3455,11 +3724,11 @@ class AuroFloatingUI {
3455
3724
 
3456
3725
  updateCurrentExpandedDropdown() {
3457
3726
  // Close any other dropdown that is already open
3458
- if (document.expandedAuroDropdown) {
3459
- this.hideBib(document.expandedAuroDropdown);
3727
+ if (document.expandedAuroFormkitDropdown) {
3728
+ document.expandedAuroFormkitDropdown.hide;
3460
3729
  }
3461
3730
 
3462
- document.expandedAuroDropdown = this;
3731
+ document.expandedAuroFormkitDropdown = this;
3463
3732
  }
3464
3733
 
3465
3734
  showBib() {
@@ -3673,7 +3942,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
3673
3942
  */
3674
3943
  generateTag(baseName, version, tagClass) {
3675
3944
  const elementName = this.generateElementName(baseName, version);
3676
- const tag = i$8`${s$3(elementName)}`;
3945
+ const tag = literal`${unsafeStatic(elementName)}`;
3677
3946
 
3678
3947
  if (!customElements.get(elementName)) {
3679
3948
  customElements.define(elementName, class extends tagClass {});
@@ -3683,25 +3952,6 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
3683
3952
  }
3684
3953
  };
3685
3954
 
3686
- /**
3687
- * @license
3688
- * Copyright 2017 Google LLC
3689
- * SPDX-License-Identifier: BSD-3-Clause
3690
- */
3691
- const t$2$1={ATTRIBUTE:1},e$4$1=t=>(...e)=>({_$litDirective$:t,values:e});let i$4$1 = 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)}};
3692
-
3693
- /**
3694
- * @license
3695
- * Copyright 2018 Google LLC
3696
- * SPDX-License-Identifier: BSD-3-Clause
3697
- */const e$3$1=e$4$1(class extends i$4$1{constructor(t){if(super(t),t.type!==t$2$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$1}});
3698
-
3699
- /**
3700
- * @license
3701
- * Copyright 2018 Google LLC
3702
- * SPDX-License-Identifier: BSD-3-Clause
3703
- */const o$3$1=o=>o??E$1;
3704
-
3705
3955
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3706
3956
  // See LICENSE in the project root for license information.
3707
3957
 
@@ -3712,7 +3962,7 @@ const t$2$1={ATTRIBUTE:1},e$4$1=t=>(...e)=>({_$litDirective$:t,values:e});let i$
3712
3962
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
3713
3963
  */
3714
3964
 
3715
- let AuroElement$1 = class AuroElement extends r$4 {
3965
+ let AuroElement$1 = class AuroElement extends LitElement {
3716
3966
 
3717
3967
  // function to define props used within the scope of this component
3718
3968
  static get properties() {
@@ -3768,7 +4018,7 @@ const cacheFetch$1 = (uri, options = {}) => {
3768
4018
  return _fetchMap$1.get(uri);
3769
4019
  };
3770
4020
 
3771
- var styleCss$3$1 = i$7`*,*: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}.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}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
4021
+ var styleCss$3$1 = css`: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}`;
3772
4022
 
3773
4023
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3774
4024
  // See LICENSE in the project root for license information.
@@ -3807,7 +4057,7 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
3807
4057
  }
3808
4058
 
3809
4059
  static get styles() {
3810
- return i$7`
4060
+ return css`
3811
4061
  ${styleCss$3$1}
3812
4062
  `;
3813
4063
  }
@@ -3849,47 +4099,88 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
3849
4099
  }
3850
4100
  };
3851
4101
 
3852
- var tokensCss$2 = i$7`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
4102
+ var tokensCss$2 = css`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
3853
4103
 
3854
- var colorCss$3 = i$7`: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)}`;
4104
+ var colorCss$3 = css`: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)}`;
3855
4105
 
3856
- // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4106
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
3857
4107
  // See LICENSE in the project root for license information.
3858
4108
 
4109
+ // ---------------------------------------------------------------------
4110
+
4111
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
4112
+
4113
+ let AuroLibraryRuntimeUtils$1$1 = class AuroLibraryRuntimeUtils {
4114
+
4115
+ /* eslint-disable jsdoc/require-param */
4116
+
4117
+ /**
4118
+ * This will register a new custom element with the browser.
4119
+ * @param {String} name - The name of the custom element.
4120
+ * @param {Object} componentClass - The class to register as a custom element.
4121
+ * @returns {void}
4122
+ */
4123
+ registerComponent(name, componentClass) {
4124
+ if (!customElements.get(name)) {
4125
+ customElements.define(name, class extends componentClass {});
4126
+ }
4127
+ }
4128
+
4129
+ /**
4130
+ * Finds and returns the closest HTML Element based on a selector.
4131
+ * @returns {void}
4132
+ */
4133
+ closestElement(
4134
+ selector, // selector like in .closest()
4135
+ base = this, // extra functionality to skip a parent
4136
+ __Closest = (el, found = el && el.closest(selector)) =>
4137
+ !el || el === document || el === window
4138
+ ? null // standard .closest() returns null for non-found selectors also
4139
+ : found
4140
+ ? found // found a selector INside this element
4141
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
4142
+ ) {
4143
+ return __Closest(base);
4144
+ }
4145
+ /* eslint-enable jsdoc/require-param */
4146
+
4147
+ /**
4148
+ * 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.
4149
+ * @param {Object} elem - The element to check.
4150
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
4151
+ * @returns {void}
4152
+ */
4153
+ handleComponentTagRename(elem, tagName) {
4154
+ const tag = tagName.toLowerCase();
4155
+ const elemTag = elem.tagName.toLowerCase();
4156
+
4157
+ if (elemTag !== tag) {
4158
+ elem.setAttribute(tag, true);
4159
+ }
4160
+ }
4161
+
4162
+ /**
4163
+ * Validates if an element is a specific Auro component.
4164
+ * @param {Object} elem - The element to validate.
4165
+ * @param {String} tagName - The name of the Auro component to check against.
4166
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
4167
+ */
4168
+ elementMatch(elem, tagName) {
4169
+ const tag = tagName.toLowerCase();
4170
+ const elemTag = elem.tagName.toLowerCase();
4171
+
4172
+ return elemTag === tag || elem.hasAttribute(tag);
4173
+ }
4174
+ };
4175
+
4176
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4177
+ // See LICENSE in the project root for license information.
3859
4178
 
3860
- // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
3861
- /**
3862
- * auro-icon provides users a way to use the Auro Icons by simply passing in the category and name.
3863
- *
3864
- * @attr {String} category - The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
3865
- * @attr {String} name - The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage
3866
- * @attr {Boolean} customColor - Removes primary selector.
3867
- * @attr {Boolean} customSvg - When true, auro-icon will render a custom SVG inside the default slot.
3868
- * @attr {Boolean} label - Exposes content in slot as icon label.
3869
- * @attr {Boolean} primary - DEPRECATED: Sets the icon to use the baseline primary icon style.
3870
- * @attr {Boolean} accent - Sets the icon to use the accent style.
3871
- * @attr {Boolean} emphasis - Sets the icon to use the emphasis style.
3872
- * @attr {Boolean} disabled - Sets the icon to use the disabled style.
3873
- * @attr {Boolean} error - Sets the icon to use the error style.
3874
- * @attr {Boolean} info - Sets the icon to use the info style.
3875
- * @attr {Boolean} secondary - Sets the icon to use the secondary style.
3876
- * @attr {Boolean} tertiary - Sets the icon to use the tertiary style.
3877
- * @attr {Boolean} subtle - Sets the icon to use the subtle style.
3878
- * @attr {Boolean} success - Sets the icon to use the success style.
3879
- * @attr {Boolean} warning - Sets the icon to use the warning style.
3880
- * @attr {String} ariaHidden - Set aria-hidden value. Default is `true`. Option is `false`.
3881
- * @attr {String} uri - Set the uri for CDN used when fetching icons
3882
- * @slot - Hidden from visibility, used for a11y if icon description is needed.
3883
- * @slot svg - Used for custom SVG content.
3884
- */
3885
4179
 
3886
- // build the component class
3887
4180
  let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
3888
4181
  constructor() {
3889
4182
  super();
3890
4183
 
3891
- this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
3892
-
3893
4184
  this.privateDefaults();
3894
4185
  }
3895
4186
 
@@ -3913,78 +4204,144 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
3913
4204
  this.success = false;
3914
4205
  this.tertiary = false;
3915
4206
  this.warning = false;
3916
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
4207
+ this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
4208
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1$1();
3917
4209
  }
3918
4210
 
3919
4211
  // function to define props used within the scope of this component
3920
4212
  static get properties() {
3921
4213
  return {
3922
4214
  ...super.properties,
4215
+
4216
+ /**
4217
+ * Sets the icon to use the accent style.
4218
+ */
3923
4219
  accent: {
3924
4220
  type: Boolean,
3925
4221
  reflect: true
3926
4222
  },
4223
+
4224
+ /**
4225
+ * Set aria-hidden value. Default is `true`. Option is `false`.
4226
+ */
3927
4227
  ariaHidden: {
3928
4228
  type: String,
3929
4229
  reflect: true
3930
4230
  },
4231
+
4232
+ /**
4233
+ * The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
4234
+ */
3931
4235
  category: {
3932
4236
  type: String,
3933
4237
  reflect: true
3934
4238
  },
4239
+
4240
+ /**
4241
+ * Allows custom color to be set.
4242
+ */
3935
4243
  customColor: {
3936
4244
  type: Boolean
3937
4245
  },
4246
+
4247
+ /**
4248
+ * When true, auro-icon will render a custom SVG inside the default slot.
4249
+ */
3938
4250
  customSvg: {
3939
4251
  type: Boolean
3940
4252
  },
4253
+
4254
+ /**
4255
+ * Sets the icon to use the disabled style.
4256
+ */
3941
4257
  disabled: {
3942
4258
  type: Boolean,
3943
4259
  reflect: true
3944
4260
  },
4261
+
4262
+ /**
4263
+ * Sets the icon to use the emphasis style.
4264
+ */
3945
4265
  emphasis: {
3946
4266
  type: Boolean,
3947
4267
  reflect: true
3948
4268
  },
4269
+
4270
+ /**
4271
+ * Sets the icon to use the error style.
4272
+ */
3949
4273
  error: {
3950
4274
  type: Boolean,
3951
4275
  reflect: true
3952
4276
  },
4277
+
4278
+ /**
4279
+ * Sets the icon to use the info style.
4280
+ */
3953
4281
  info: {
3954
4282
  type: Boolean,
3955
4283
  reflect: true
3956
4284
  },
4285
+
4286
+ /**
4287
+ * Exposes content in slot as icon label.
4288
+ */
3957
4289
  label: {
3958
4290
  type: Boolean,
3959
4291
  reflect: true
3960
4292
  },
4293
+
4294
+ /**
4295
+ * The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage.
4296
+ */
3961
4297
  name: {
3962
4298
  type: String,
3963
4299
  reflect: true
3964
4300
  },
4301
+
4302
+ /**
4303
+ * DEPRECATED: Sets the icon to use the baseline primary icon style.
4304
+ */
3965
4305
  primary: {
3966
4306
  type: Boolean,
3967
4307
  reflect: true
3968
4308
  },
4309
+
4310
+ /**
4311
+ * Sets the icon to use the secondary style.
4312
+ */
3969
4313
  secondary: {
3970
4314
  type: Boolean,
3971
4315
  reflect: true
3972
4316
  },
4317
+
4318
+ /**
4319
+ * Sets the icon to use the subtle style.
4320
+ */
3973
4321
  subtle: {
3974
4322
  type: Boolean,
3975
4323
  reflect: true
3976
4324
  },
4325
+
4326
+ /**
4327
+ * Sets the icon to use the success style.
4328
+ */
3977
4329
  success: {
3978
4330
  type: Boolean,
3979
4331
  reflect: true
3980
4332
  },
4333
+
4334
+ /**
4335
+ * Sets the icon to use the tertiary style.
4336
+ */
3981
4337
  tertiary: {
3982
4338
  type: Boolean,
3983
4339
  reflect: true
3984
4340
  },
3985
- uri: {
3986
- type: String
3987
- },
4341
+
4342
+ /**
4343
+ * Sets the icon to use the warning style.
4344
+ */
3988
4345
  warning: {
3989
4346
  type: Boolean,
3990
4347
  reflect: true
@@ -3995,9 +4352,9 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
3995
4352
  static get styles() {
3996
4353
  return [
3997
4354
  super.styles,
3998
- i$7`${tokensCss$2}`,
3999
- i$7`${styleCss$3$1}`,
4000
- i$7`${colorCss$3}`
4355
+ css`${tokensCss$2}`,
4356
+ css`${styleCss$3$1}`,
4357
+ css`${colorCss$3}`
4001
4358
  ];
4002
4359
  }
4003
4360
 
@@ -4010,7 +4367,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
4010
4367
  *
4011
4368
  */
4012
4369
  static register(name = "auro-icon") {
4013
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
4370
+ AuroLibraryRuntimeUtils$1$1.prototype.registerComponent(name, AuroIcon);
4014
4371
  }
4015
4372
 
4016
4373
  connectedCallback() {
@@ -4021,38 +4378,54 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
4021
4378
  }
4022
4379
 
4023
4380
  /**
4381
+ * @private
4024
4382
  * @returns {void} Exposes CSS parts for styling from parent components.
4025
4383
  */
4026
4384
  exposeCssParts() {
4027
4385
  this.setAttribute('exportparts', 'svg:iconSvg');
4028
4386
  }
4029
4387
 
4388
+ async firstUpdated() {
4389
+ await super.firstUpdated();
4390
+
4391
+ // Removes the SVG description for screenreader if ariaHidden is set to true
4392
+ if (!this.hasAttribute('ariaHidden') && this.svg) {
4393
+ const svgDesc = this.svg.querySelector('desc');
4394
+
4395
+ if (svgDesc) {
4396
+ svgDesc.remove();
4397
+ this.svg.removeAttribute('aria-labelledby');
4398
+ }
4399
+ }
4400
+ }
4401
+
4030
4402
  // function that renders the HTML and CSS into the scope of the component
4031
4403
  render() {
4032
- const a11y = {
4033
- 'labelContainer': true,
4404
+ const labelClasses = {
4405
+ 'labelWrapper': true,
4034
4406
  'util_displayHiddenVisually': !this.label
4035
4407
  };
4036
4408
 
4037
- const classes = {
4038
- 'label': this.label,
4039
- 'wrapper': true,
4409
+ const svgClasses = {
4410
+ 'svgWrapper': true,
4040
4411
  };
4041
4412
 
4042
- return x$1`
4043
- <div
4044
- class="${e$3$1(classes)}"
4045
- title="${o$3$1(this.title || undefined)}">
4046
- <span aria-hidden="${o$3$1(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
4047
- ${this.customSvg ? x$1`
4048
- <slot name="svg"></slot>
4049
- ` : x$1`
4050
- ${this.svg}
4051
- `
4052
- }
4053
- </span>
4413
+ return html`
4414
+ <div class="componentWrapper">
4415
+ <div
4416
+ class="${classMap(svgClasses)}"
4417
+ title="${ifDefined(this.title || undefined)}">
4418
+ <span aria-hidden="${ifDefined(this.ariaHidden || true)}" part="svg">
4419
+ ${this.customSvg ? html`
4420
+ <slot name="svg"></slot>
4421
+ ` : html`
4422
+ ${this.svg}
4423
+ `
4424
+ }
4425
+ </span>
4426
+ </div>
4054
4427
 
4055
- <div class="${e$3$1(a11y)}">
4428
+ <div class="${classMap(labelClasses)}">
4056
4429
  <slot></slot>
4057
4430
  </div>
4058
4431
  </div>
@@ -4062,11 +4435,11 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
4062
4435
 
4063
4436
  var iconVersion$1 = '6.1.2';
4064
4437
 
4065
- var styleCss$2$1 = i$7`: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}`;
4438
+ var styleCss$2$1 = css`: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}`;
4066
4439
 
4067
- var colorCss$2$1 = i$7`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
4440
+ var colorCss$2$1 = css`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
4068
4441
 
4069
- var tokensCss$1 = i$7`: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)}`;
4442
+ var tokensCss$1 = css`: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)}`;
4070
4443
 
4071
4444
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4072
4445
  // See LICENSE in the project root for license information.
@@ -4086,7 +4459,7 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
4086
4459
  * @csspart bibContainer - Apply css to the bib container.
4087
4460
  */
4088
4461
 
4089
- class AuroDropdownBib extends r$4 {
4462
+ class AuroDropdownBib extends LitElement {
4090
4463
 
4091
4464
  constructor() {
4092
4465
  super();
@@ -4096,7 +4469,7 @@ class AuroDropdownBib extends r$4 {
4096
4469
  */
4097
4470
  this._mobileBreakpointValue = undefined;
4098
4471
 
4099
- AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
4472
+ AuroLibraryRuntimeUtils$2$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
4100
4473
  }
4101
4474
 
4102
4475
  static get styles() {
@@ -4177,51 +4550,25 @@ class AuroDropdownBib extends r$4 {
4177
4550
 
4178
4551
  // function that renders the HTML and CSS into the scope of the component
4179
4552
  render() {
4180
- return u$3`
4553
+ return html$1`
4181
4554
  <div class="container" part="bibContainer">
4182
4555
  <slot></slot>
4183
4556
  </div>
4184
- `;
4185
- }
4186
- }
4187
-
4188
- var dropdownVersion$1 = '3.0.0';
4189
-
4190
- var styleCss$1$1 = i$7`: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)}`;
4191
-
4192
- var colorCss$1$1 = i$7`.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)}`;
4193
-
4194
- /**
4195
- * @license
4196
- * Copyright 2019 Google LLC
4197
- * SPDX-License-Identifier: BSD-3-Clause
4198
- */
4199
- const t$1$1=globalThis,e$2$1=t$1$1.ShadowRoot&&(void 0===t$1$1.ShadyCSS||t$1$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1$1=Symbol(),o$2$1=new WeakMap;let n$2$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1$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$2$1&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2$1.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2$1.set(s,t));}return t}toString(){return this.cssText}};const r$3$1=t=>new n$2$1("string"==typeof t?t:t+"",void 0,s$1$1),i$3$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$2$1(o,t,s$1$1)},S$1$1=(s,o)=>{if(e$2$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$1$1.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2$1=e$2$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;
4557
+ `;
4558
+ }
4559
+ }
4200
4560
 
4201
- /**
4202
- * @license
4203
- * Copyright 2017 Google LLC
4204
- * SPDX-License-Identifier: BSD-3-Clause
4205
- */const{is:i$2$1,defineProperty:e$1$1,getOwnPropertyDescriptor:r$2$1,getOwnPropertyNames:h$1$1,getOwnPropertySymbols:o$1$1,getPrototypeOf:n$1$1}=Object,a$1$1=globalThis,c$1$1=a$1$1.trustedTypes,l$1$1=c$1$1?c$1$1.emptyScript:"",p$1$1=a$1$1.reactiveElementPolyfillSupport,d$1$1=(t,s)=>t,u$1$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1$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$2$1(t,s),y$1$1={attribute:true,type:String,converter:u$1$1,reflect:false,hasChanged:f$1$1};Symbol.metadata??=Symbol("metadata"),a$1$1.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$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$1$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$1$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$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$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$1$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$1$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$2.elementStyles=[],b$2.shadowRootOptions={mode:"open"},b$2[d$1$1("elementProperties")]=new Map,b$2[d$1$1("finalized")]=new Map,p$1$1?.({ReactiveElement:b$2}),(a$1$1.reactiveElementVersions??=[]).push("2.0.4");
4561
+ var dropdownVersion$1 = '3.0.0';
4206
4562
 
4207
- /**
4208
- * @license
4209
- * Copyright 2017 Google LLC
4210
- * SPDX-License-Identifier: BSD-3-Clause
4211
- */
4212
- const t$5=globalThis,i$1$1=t$5.trustedTypes,s$5=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$1=document,l$5=()=>r$1$1.createComment(""),c$6=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$5=Array.isArray,u$5=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$2=/-->/g,_$2=/>/g,m$2=RegExp(`>|${d$4}(?:([^\\s"'>=/]+)(${d$4}*=${d$4}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$4=/'/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$1.createTreeWalker(r$1$1,129);function P$2(t,i){if(!a$5(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$5?s$5.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$2:void 0!==u[1]?c=_$2:void 0!==u[2]?($$2.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$4,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$2:p$4):c===g$2||c===p$4?c=m$2:c===v$2||c===_$2?c=f$4:(c=m$2,r=void 0);const x=c===m$2&&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$1.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$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$4(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$1$1).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$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$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$6(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$5(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$6(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$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$2(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$6(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$6(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$5.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t$5.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};
4563
+ var styleCss$1$1 = css`: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)}`;
4213
4564
 
4214
- /**
4215
- * @license
4216
- * Copyright 2017 Google LLC
4217
- * SPDX-License-Identifier: BSD-3-Clause
4218
- */let r$8 = 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$8._$litElement$=true,r$8["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$8});const i$a=globalThis.litElementPolyfillSupport;i$a?.({LitElement:r$8});(globalThis.litElementVersions??=[]).push("4.1.1");
4565
+ var colorCss$1$1 = css`.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)}`;
4219
4566
 
4220
- var colorCss$4 = i$3$1`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
4567
+ var colorCss$4 = css`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
4221
4568
 
4222
- var styleCss$4 = i$3$1`.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}`;
4569
+ var styleCss$4 = css`.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}`;
4223
4570
 
4224
- var tokensCss$3 = i$3$1`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
4571
+ var tokensCss$3 = css`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
4225
4572
 
4226
4573
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
4227
4574
  // See LICENSE in the project root for license information.
@@ -4230,7 +4577,7 @@ var tokensCss$3 = i$3$1`:host{--ds-auro-helptext-color: var(--ds-color-text-tert
4230
4577
 
4231
4578
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
4232
4579
 
4233
- let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
4580
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
4234
4581
 
4235
4582
  /* eslint-disable jsdoc/require-param */
4236
4583
 
@@ -4302,7 +4649,7 @@ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
4302
4649
  *
4303
4650
  * @attr { Boolean } large - If declared, make font-size to 1rem(16px).
4304
4651
  */
4305
- class AuroHelpText extends r$8 {
4652
+ class AuroHelpText extends LitElement {
4306
4653
 
4307
4654
  constructor() {
4308
4655
  super();
@@ -4310,7 +4657,7 @@ class AuroHelpText extends r$8 {
4310
4657
  this.error = false;
4311
4658
  this.hasTextContent = false;
4312
4659
 
4313
- AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-helptext');
4660
+ AuroLibraryRuntimeUtils$3.prototype.handleComponentTagRename(this, 'auro-helptext');
4314
4661
  }
4315
4662
 
4316
4663
  static get styles() {
@@ -4358,7 +4705,7 @@ class AuroHelpText extends r$8 {
4358
4705
  *
4359
4706
  */
4360
4707
  static register(name = "auro-helptext") {
4361
- AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
4708
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroHelpText);
4362
4709
  }
4363
4710
 
4364
4711
  updated() {
@@ -4406,7 +4753,7 @@ class AuroHelpText extends r$8 {
4406
4753
 
4407
4754
  // function that renders the HTML and CSS into the scope of the component
4408
4755
  render() {
4409
- return x$2`
4756
+ return html`
4410
4757
  <div class="helptext-wrapper" ?visible="${this.hasTextContent}">
4411
4758
  <slot @slotchange=${this.handleSlotChange}></slot>
4412
4759
  </div>
@@ -4432,7 +4779,7 @@ var helpTextVersion = '1.0.0';
4432
4779
  * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
4433
4780
  * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
4434
4781
  */
4435
- class AuroDropdown extends r$4 {
4782
+ class AuroDropdown extends LitElement {
4436
4783
  constructor() {
4437
4784
  super();
4438
4785
 
@@ -4448,7 +4795,7 @@ class AuroDropdown extends r$4 {
4448
4795
  * @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
4449
4796
  */
4450
4797
  this.constructor.shadowRootOptions = {
4451
- ...r$4.shadowRootOptions,
4798
+ ...LitElement.shadowRootOptions,
4452
4799
  delegatesFocus: true,
4453
4800
  };
4454
4801
 
@@ -4491,7 +4838,7 @@ class AuroDropdown extends r$4 {
4491
4838
  /**
4492
4839
  * @private
4493
4840
  */
4494
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
4841
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2$1();
4495
4842
 
4496
4843
  /**
4497
4844
  * @private
@@ -4516,17 +4863,17 @@ class AuroDropdown extends r$4 {
4516
4863
  /**
4517
4864
  * @private
4518
4865
  */
4519
- this.iconTag = versioning.generateTag('auro-icon', iconVersion$1, AuroIcon$1);
4866
+ this.iconTag = versioning.generateTag('auro-formkit-dropdown-icon', iconVersion$1, AuroIcon$1);
4520
4867
 
4521
4868
  /**
4522
4869
  * @private
4523
4870
  */
4524
- this.dropdownBibTag = versioning.generateTag('auro-dropdownbib', dropdownVersion$1, AuroDropdownBib);
4871
+ this.dropdownBibTag = versioning.generateTag('auro-formkit-dropdown-dropdownbib', dropdownVersion$1, AuroDropdownBib);
4525
4872
 
4526
4873
  /**
4527
4874
  * @private
4528
4875
  */
4529
- this.helpTextTag = versioning.generateTag('auro-helptext', helpTextVersion, AuroHelpText);
4876
+ this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion, AuroHelpText);
4530
4877
  }
4531
4878
 
4532
4879
  /**
@@ -4729,7 +5076,7 @@ class AuroDropdown extends r$4 {
4729
5076
  *
4730
5077
  */
4731
5078
  static register(name = "auro-dropdown") {
4732
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
5079
+ AuroLibraryRuntimeUtils$2$1.prototype.registerComponent(name, AuroDropdown);
4733
5080
  }
4734
5081
 
4735
5082
  connectedCallback() {
@@ -4752,6 +5099,7 @@ class AuroDropdown extends r$4 {
4752
5099
  if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
4753
5100
  this.handleTriggerContentSlotChange();
4754
5101
  }
5102
+
4755
5103
  }
4756
5104
 
4757
5105
  firstUpdated() {
@@ -4928,7 +5276,7 @@ class AuroDropdown extends r$4 {
4928
5276
 
4929
5277
  // function that renders the HTML and CSS into the scope of the component
4930
5278
  render() {
4931
- return u$3`
5279
+ return html$1`
4932
5280
  <div>
4933
5281
  <div
4934
5282
  id="trigger"
@@ -4948,7 +5296,7 @@ class AuroDropdown extends r$4 {
4948
5296
  @slotchange="${this.handleTriggerContentSlotChange}"></slot>
4949
5297
  </div>
4950
5298
  </div>
4951
- ${this.chevron || this.common ? u$3`
5299
+ ${this.chevron || this.common ? html$1`
4952
5300
  <div
4953
5301
  id="showStateIcon"
4954
5302
  part="chevron">
@@ -4984,44 +5332,11 @@ class AuroDropdown extends r$4 {
4984
5332
 
4985
5333
  var dropdownVersion = '3.0.0';
4986
5334
 
4987
- /**
4988
- * @license
4989
- * Copyright 2019 Google LLC
4990
- * SPDX-License-Identifier: BSD-3-Clause
4991
- */
4992
- 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;
4993
-
4994
- /**
4995
- * @license
4996
- * Copyright 2017 Google LLC
4997
- * SPDX-License-Identifier: BSD-3-Clause
4998
- */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");
4999
-
5000
- /**
5001
- * @license
5002
- * Copyright 2017 Google LLC
5003
- * SPDX-License-Identifier: BSD-3-Clause
5004
- */
5005
- 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,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$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};
5006
-
5007
- /**
5008
- * @license
5009
- * Copyright 2017 Google LLC
5010
- * SPDX-License-Identifier: BSD-3-Clause
5011
- */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");
5012
-
5013
- /**
5014
- * @license
5015
- * Copyright 2020 Google LLC
5016
- * SPDX-License-Identifier: BSD-3-Clause
5017
- */
5018
- 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);
5019
-
5020
- var colorCss$1 = i$5`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
5335
+ var colorCss$1 = css`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
5021
5336
 
5022
- var styleCss$2 = 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)}`;
5337
+ var styleCss$2 = css`#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)}`;
5023
5338
 
5024
- 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)}`;
5339
+ var tokenCss = css`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-color-container-primary-default, #ffffff)}`;
5025
5340
 
5026
5341
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
5027
5342
  // See LICENSE in the project root for license information.
@@ -5030,7 +5345,7 @@ var tokenCss = i$5`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-
5030
5345
 
5031
5346
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
5032
5347
 
5033
- class AuroLibraryRuntimeUtils {
5348
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
5034
5349
 
5035
5350
  /* eslint-disable jsdoc/require-param */
5036
5351
 
@@ -5091,7 +5406,7 @@ class AuroLibraryRuntimeUtils {
5091
5406
 
5092
5407
  return elemTag === tag || elem.hasAttribute(tag);
5093
5408
  }
5094
- }
5409
+ };
5095
5410
 
5096
5411
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
5097
5412
  // See LICENSE in the project root for license information.
@@ -5123,7 +5438,7 @@ class AuroDependencyVersioning {
5123
5438
  */
5124
5439
  generateTag(baseName, version, tagClass) {
5125
5440
  const elementName = this.generateElementName(baseName, version);
5126
- const tag = i$1`${s(elementName)}`;
5441
+ const tag = literal`${unsafeStatic(elementName)}`;
5127
5442
 
5128
5443
  if (!customElements.get(elementName)) {
5129
5444
  customElements.define(elementName, class extends tagClass {});
@@ -5133,25 +5448,6 @@ class AuroDependencyVersioning {
5133
5448
  }
5134
5449
  }
5135
5450
 
5136
- /**
5137
- * @license
5138
- * Copyright 2017 Google LLC
5139
- * SPDX-License-Identifier: BSD-3-Clause
5140
- */
5141
- 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)}}
5142
-
5143
- /**
5144
- * @license
5145
- * Copyright 2018 Google LLC
5146
- * SPDX-License-Identifier: BSD-3-Clause
5147
- */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}});
5148
-
5149
- /**
5150
- * @license
5151
- * Copyright 2018 Google LLC
5152
- * SPDX-License-Identifier: BSD-3-Clause
5153
- */const o=o=>o??E;
5154
-
5155
5451
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5156
5452
  // See LICENSE in the project root for license information.
5157
5453
 
@@ -5162,7 +5458,7 @@ const t={ATTRIBUTE:1},e$1=t=>(...e)=>({_$litDirective$:t,values:e});class i{cons
5162
5458
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
5163
5459
  */
5164
5460
 
5165
- class AuroElement extends r {
5461
+ class AuroElement extends LitElement {
5166
5462
 
5167
5463
  // function to define props used within the scope of this component
5168
5464
  static get properties() {
@@ -5218,7 +5514,7 @@ const cacheFetch = (uri, options = {}) => {
5218
5514
  return _fetchMap.get(uri);
5219
5515
  };
5220
5516
 
5221
- var styleCss$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}.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}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
5517
+ var styleCss$1 = css`: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}`;
5222
5518
 
5223
5519
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5224
5520
  // See LICENSE in the project root for license information.
@@ -5257,7 +5553,7 @@ class BaseIcon extends AuroElement {
5257
5553
  }
5258
5554
 
5259
5555
  static get styles() {
5260
- return i$5`
5556
+ return css`
5261
5557
  ${styleCss$1}
5262
5558
  `;
5263
5559
  }
@@ -5299,47 +5595,88 @@ class BaseIcon extends AuroElement {
5299
5595
  }
5300
5596
  }
5301
5597
 
5302
- var tokensCss = i$5`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
5598
+ var tokensCss = css`:host{--ds-auro-icon-color:var(--ds-color-icon-primary-default, #676767);--ds-auro-icon-size:var(--ds-size-300, 1.5rem)}`;
5303
5599
 
5304
- var colorCss$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)}`;
5600
+ var colorCss$2 = css`: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)}`;
5305
5601
 
5306
- // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5602
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
5307
5603
  // See LICENSE in the project root for license information.
5308
5604
 
5605
+ // ---------------------------------------------------------------------
5606
+
5607
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
5608
+
5609
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
5610
+
5611
+ /* eslint-disable jsdoc/require-param */
5612
+
5613
+ /**
5614
+ * This will register a new custom element with the browser.
5615
+ * @param {String} name - The name of the custom element.
5616
+ * @param {Object} componentClass - The class to register as a custom element.
5617
+ * @returns {void}
5618
+ */
5619
+ registerComponent(name, componentClass) {
5620
+ if (!customElements.get(name)) {
5621
+ customElements.define(name, class extends componentClass {});
5622
+ }
5623
+ }
5624
+
5625
+ /**
5626
+ * Finds and returns the closest HTML Element based on a selector.
5627
+ * @returns {void}
5628
+ */
5629
+ closestElement(
5630
+ selector, // selector like in .closest()
5631
+ base = this, // extra functionality to skip a parent
5632
+ __Closest = (el, found = el && el.closest(selector)) =>
5633
+ !el || el === document || el === window
5634
+ ? null // standard .closest() returns null for non-found selectors also
5635
+ : found
5636
+ ? found // found a selector INside this element
5637
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
5638
+ ) {
5639
+ return __Closest(base);
5640
+ }
5641
+ /* eslint-enable jsdoc/require-param */
5642
+
5643
+ /**
5644
+ * 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.
5645
+ * @param {Object} elem - The element to check.
5646
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
5647
+ * @returns {void}
5648
+ */
5649
+ handleComponentTagRename(elem, tagName) {
5650
+ const tag = tagName.toLowerCase();
5651
+ const elemTag = elem.tagName.toLowerCase();
5652
+
5653
+ if (elemTag !== tag) {
5654
+ elem.setAttribute(tag, true);
5655
+ }
5656
+ }
5657
+
5658
+ /**
5659
+ * Validates if an element is a specific Auro component.
5660
+ * @param {Object} elem - The element to validate.
5661
+ * @param {String} tagName - The name of the Auro component to check against.
5662
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
5663
+ */
5664
+ elementMatch(elem, tagName) {
5665
+ const tag = tagName.toLowerCase();
5666
+ const elemTag = elem.tagName.toLowerCase();
5667
+
5668
+ return elemTag === tag || elem.hasAttribute(tag);
5669
+ }
5670
+ };
5671
+
5672
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5673
+ // See LICENSE in the project root for license information.
5309
5674
 
5310
- // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
5311
- /**
5312
- * auro-icon provides users a way to use the Auro Icons by simply passing in the category and name.
5313
- *
5314
- * @attr {String} category - The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
5315
- * @attr {String} name - The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage
5316
- * @attr {Boolean} customColor - Removes primary selector.
5317
- * @attr {Boolean} customSvg - When true, auro-icon will render a custom SVG inside the default slot.
5318
- * @attr {Boolean} label - Exposes content in slot as icon label.
5319
- * @attr {Boolean} primary - DEPRECATED: Sets the icon to use the baseline primary icon style.
5320
- * @attr {Boolean} accent - Sets the icon to use the accent style.
5321
- * @attr {Boolean} emphasis - Sets the icon to use the emphasis style.
5322
- * @attr {Boolean} disabled - Sets the icon to use the disabled style.
5323
- * @attr {Boolean} error - Sets the icon to use the error style.
5324
- * @attr {Boolean} info - Sets the icon to use the info style.
5325
- * @attr {Boolean} secondary - Sets the icon to use the secondary style.
5326
- * @attr {Boolean} tertiary - Sets the icon to use the tertiary style.
5327
- * @attr {Boolean} subtle - Sets the icon to use the subtle style.
5328
- * @attr {Boolean} success - Sets the icon to use the success style.
5329
- * @attr {Boolean} warning - Sets the icon to use the warning style.
5330
- * @attr {String} ariaHidden - Set aria-hidden value. Default is `true`. Option is `false`.
5331
- * @attr {String} uri - Set the uri for CDN used when fetching icons
5332
- * @slot - Hidden from visibility, used for a11y if icon description is needed.
5333
- * @slot svg - Used for custom SVG content.
5334
- */
5335
5675
 
5336
- // build the component class
5337
5676
  class AuroIcon extends BaseIcon {
5338
5677
  constructor() {
5339
5678
  super();
5340
5679
 
5341
- this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
5342
-
5343
5680
  this.privateDefaults();
5344
5681
  }
5345
5682
 
@@ -5363,78 +5700,144 @@ class AuroIcon extends BaseIcon {
5363
5700
  this.success = false;
5364
5701
  this.tertiary = false;
5365
5702
  this.warning = false;
5366
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
5703
+ this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
5704
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
5367
5705
  }
5368
5706
 
5369
5707
  // function to define props used within the scope of this component
5370
5708
  static get properties() {
5371
5709
  return {
5372
5710
  ...super.properties,
5711
+
5712
+ /**
5713
+ * Sets the icon to use the accent style.
5714
+ */
5373
5715
  accent: {
5374
5716
  type: Boolean,
5375
5717
  reflect: true
5376
5718
  },
5719
+
5720
+ /**
5721
+ * Set aria-hidden value. Default is `true`. Option is `false`.
5722
+ */
5377
5723
  ariaHidden: {
5378
5724
  type: String,
5379
5725
  reflect: true
5380
5726
  },
5727
+
5728
+ /**
5729
+ * The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
5730
+ */
5381
5731
  category: {
5382
5732
  type: String,
5383
5733
  reflect: true
5384
5734
  },
5735
+
5736
+ /**
5737
+ * Allows custom color to be set.
5738
+ */
5385
5739
  customColor: {
5386
5740
  type: Boolean
5387
5741
  },
5742
+
5743
+ /**
5744
+ * When true, auro-icon will render a custom SVG inside the default slot.
5745
+ */
5388
5746
  customSvg: {
5389
5747
  type: Boolean
5390
5748
  },
5749
+
5750
+ /**
5751
+ * Sets the icon to use the disabled style.
5752
+ */
5391
5753
  disabled: {
5392
5754
  type: Boolean,
5393
5755
  reflect: true
5394
5756
  },
5757
+
5758
+ /**
5759
+ * Sets the icon to use the emphasis style.
5760
+ */
5395
5761
  emphasis: {
5396
5762
  type: Boolean,
5397
5763
  reflect: true
5398
5764
  },
5765
+
5766
+ /**
5767
+ * Sets the icon to use the error style.
5768
+ */
5399
5769
  error: {
5400
5770
  type: Boolean,
5401
5771
  reflect: true
5402
5772
  },
5773
+
5774
+ /**
5775
+ * Sets the icon to use the info style.
5776
+ */
5403
5777
  info: {
5404
5778
  type: Boolean,
5405
5779
  reflect: true
5406
5780
  },
5781
+
5782
+ /**
5783
+ * Exposes content in slot as icon label.
5784
+ */
5407
5785
  label: {
5408
5786
  type: Boolean,
5409
5787
  reflect: true
5410
5788
  },
5789
+
5790
+ /**
5791
+ * The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage.
5792
+ */
5411
5793
  name: {
5412
5794
  type: String,
5413
5795
  reflect: true
5414
5796
  },
5797
+
5798
+ /**
5799
+ * DEPRECATED: Sets the icon to use the baseline primary icon style.
5800
+ */
5415
5801
  primary: {
5416
5802
  type: Boolean,
5417
5803
  reflect: true
5418
5804
  },
5805
+
5806
+ /**
5807
+ * Sets the icon to use the secondary style.
5808
+ */
5419
5809
  secondary: {
5420
5810
  type: Boolean,
5421
5811
  reflect: true
5422
5812
  },
5813
+
5814
+ /**
5815
+ * Sets the icon to use the subtle style.
5816
+ */
5423
5817
  subtle: {
5424
5818
  type: Boolean,
5425
5819
  reflect: true
5426
5820
  },
5821
+
5822
+ /**
5823
+ * Sets the icon to use the success style.
5824
+ */
5427
5825
  success: {
5428
5826
  type: Boolean,
5429
5827
  reflect: true
5430
5828
  },
5829
+
5830
+ /**
5831
+ * Sets the icon to use the tertiary style.
5832
+ */
5431
5833
  tertiary: {
5432
5834
  type: Boolean,
5433
5835
  reflect: true
5434
5836
  },
5435
- uri: {
5436
- type: String
5437
- },
5837
+
5838
+ /**
5839
+ * Sets the icon to use the warning style.
5840
+ */
5438
5841
  warning: {
5439
5842
  type: Boolean,
5440
5843
  reflect: true
@@ -5445,9 +5848,9 @@ class AuroIcon extends BaseIcon {
5445
5848
  static get styles() {
5446
5849
  return [
5447
5850
  super.styles,
5448
- i$5`${tokensCss}`,
5449
- i$5`${styleCss$1}`,
5450
- i$5`${colorCss$2}`
5851
+ css`${tokensCss}`,
5852
+ css`${styleCss$1}`,
5853
+ css`${colorCss$2}`
5451
5854
  ];
5452
5855
  }
5453
5856
 
@@ -5460,7 +5863,7 @@ class AuroIcon extends BaseIcon {
5460
5863
  *
5461
5864
  */
5462
5865
  static register(name = "auro-icon") {
5463
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
5866
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
5464
5867
  }
5465
5868
 
5466
5869
  connectedCallback() {
@@ -5471,38 +5874,54 @@ class AuroIcon extends BaseIcon {
5471
5874
  }
5472
5875
 
5473
5876
  /**
5877
+ * @private
5474
5878
  * @returns {void} Exposes CSS parts for styling from parent components.
5475
5879
  */
5476
5880
  exposeCssParts() {
5477
5881
  this.setAttribute('exportparts', 'svg:iconSvg');
5478
5882
  }
5479
5883
 
5884
+ async firstUpdated() {
5885
+ await super.firstUpdated();
5886
+
5887
+ // Removes the SVG description for screenreader if ariaHidden is set to true
5888
+ if (!this.hasAttribute('ariaHidden') && this.svg) {
5889
+ const svgDesc = this.svg.querySelector('desc');
5890
+
5891
+ if (svgDesc) {
5892
+ svgDesc.remove();
5893
+ this.svg.removeAttribute('aria-labelledby');
5894
+ }
5895
+ }
5896
+ }
5897
+
5480
5898
  // function that renders the HTML and CSS into the scope of the component
5481
5899
  render() {
5482
- const a11y = {
5483
- 'labelContainer': true,
5900
+ const labelClasses = {
5901
+ 'labelWrapper': true,
5484
5902
  'util_displayHiddenVisually': !this.label
5485
5903
  };
5486
5904
 
5487
- const classes = {
5488
- 'label': this.label,
5489
- 'wrapper': true,
5905
+ const svgClasses = {
5906
+ 'svgWrapper': true,
5490
5907
  };
5491
5908
 
5492
- return x`
5493
- <div
5494
- class="${e(classes)}"
5495
- title="${o(this.title || undefined)}">
5496
- <span aria-hidden="${o(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
5497
- ${this.customSvg ? x`
5498
- <slot name="svg"></slot>
5499
- ` : x`
5500
- ${this.svg}
5501
- `
5502
- }
5503
- </span>
5909
+ return html`
5910
+ <div class="componentWrapper">
5911
+ <div
5912
+ class="${classMap(svgClasses)}"
5913
+ title="${ifDefined(this.title || undefined)}">
5914
+ <span aria-hidden="${ifDefined(this.ariaHidden || true)}" part="svg">
5915
+ ${this.customSvg ? html`
5916
+ <slot name="svg"></slot>
5917
+ ` : html`
5918
+ ${this.svg}
5919
+ `
5920
+ }
5921
+ </span>
5922
+ </div>
5504
5923
 
5505
- <div class="${e(a11y)}">
5924
+ <div class="${classMap(labelClasses)}">
5506
5925
  <slot></slot>
5507
5926
  </div>
5508
5927
  </div>
@@ -5510,9 +5929,79 @@ class AuroIcon extends BaseIcon {
5510
5929
  }
5511
5930
  }
5512
5931
 
5513
- var iconVersion = '6.1.2';
5932
+ var iconVersion = '7.0.1';
5933
+
5934
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
5935
+ // See LICENSE in the project root for license information.
5936
+
5937
+ // ---------------------------------------------------------------------
5938
+
5939
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
5940
+
5941
+ class AuroLibraryRuntimeUtils {
5942
+
5943
+ /* eslint-disable jsdoc/require-param */
5944
+
5945
+ /**
5946
+ * This will register a new custom element with the browser.
5947
+ * @param {String} name - The name of the custom element.
5948
+ * @param {Object} componentClass - The class to register as a custom element.
5949
+ * @returns {void}
5950
+ */
5951
+ registerComponent(name, componentClass) {
5952
+ if (!customElements.get(name)) {
5953
+ customElements.define(name, class extends componentClass {});
5954
+ }
5955
+ }
5956
+
5957
+ /**
5958
+ * Finds and returns the closest HTML Element based on a selector.
5959
+ * @returns {void}
5960
+ */
5961
+ closestElement(
5962
+ selector, // selector like in .closest()
5963
+ base = this, // extra functionality to skip a parent
5964
+ __Closest = (el, found = el && el.closest(selector)) =>
5965
+ !el || el === document || el === window
5966
+ ? null // standard .closest() returns null for non-found selectors also
5967
+ : found
5968
+ ? found // found a selector INside this element
5969
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
5970
+ ) {
5971
+ return __Closest(base);
5972
+ }
5973
+ /* eslint-enable jsdoc/require-param */
5974
+
5975
+ /**
5976
+ * 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.
5977
+ * @param {Object} elem - The element to check.
5978
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
5979
+ * @returns {void}
5980
+ */
5981
+ handleComponentTagRename(elem, tagName) {
5982
+ const tag = tagName.toLowerCase();
5983
+ const elemTag = elem.tagName.toLowerCase();
5984
+
5985
+ if (elemTag !== tag) {
5986
+ elem.setAttribute(tag, true);
5987
+ }
5988
+ }
5989
+
5990
+ /**
5991
+ * Validates if an element is a specific Auro component.
5992
+ * @param {Object} elem - The element to validate.
5993
+ * @param {String} tagName - The name of the Auro component to check against.
5994
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
5995
+ */
5996
+ elementMatch(elem, tagName) {
5997
+ const tag = tagName.toLowerCase();
5998
+ const elemTag = elem.tagName.toLowerCase();
5999
+
6000
+ return elemTag === tag || elem.hasAttribute(tag);
6001
+ }
6002
+ }
5514
6003
 
5515
- var styleCss$3 = 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)}`;
6004
+ var styleCss$3 = css`.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)}`;
5516
6005
 
5517
6006
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5518
6007
  // See LICENSE in the project root for license information.
@@ -5532,7 +6021,7 @@ var styleCss$3 = i$5`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-head
5532
6021
  /* eslint complexity: ["error", 21] */
5533
6022
 
5534
6023
  // build the component class
5535
- class AuroHeader extends r {
6024
+ class AuroHeader extends LitElement {
5536
6025
  constructor() {
5537
6026
  super();
5538
6027
 
@@ -5639,12 +6128,12 @@ class AuroHeader extends r {
5639
6128
  }
5640
6129
 
5641
6130
  switch (level) {
5642
- 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>`;
5643
- 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>`;
5644
- 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>`;
5645
- 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>`;
5646
- 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>`;
5647
- default: return x`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h1>`;
6131
+ case '2': return html`<h2 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h2>`;
6132
+ case '3': return html`<h3 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h3>`;
6133
+ case '4': return html`<h4 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h4>`;
6134
+ case '5': return html`<h5 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h5>`;
6135
+ case '6': return html`<h6 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h6>`;
6136
+ default: return html`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${ifDefined(this.color ? this.color : undefined)}"><slot></slot></h1>`;
5648
6137
  }
5649
6138
  }
5650
6139
  // function that renders the HTML and CSS into the scope of the component
@@ -5660,16 +6149,16 @@ var headerVersion = '4.0.0';
5660
6149
  // See LICENSE in the project root for license information.
5661
6150
 
5662
6151
 
5663
- class AuroBibtemplate extends r {
6152
+ class AuroBibtemplate extends LitElement {
5664
6153
 
5665
6154
  constructor() {
5666
6155
  super();
5667
6156
 
5668
- AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
6157
+ AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
5669
6158
 
5670
6159
  const versioning = new AuroDependencyVersioning();
5671
- this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
5672
- this.headerTag = versioning.generateTag('auro-header', headerVersion, AuroHeader);
6160
+ this.iconTag = versioning.generateTag('auro-formkit-bibtemplate-icon', iconVersion, AuroIcon);
6161
+ this.headerTag = versioning.generateTag('auro-formkit-bibtemplate-header', headerVersion, AuroHeader);
5673
6162
  }
5674
6163
 
5675
6164
  static get styles() {
@@ -5704,7 +6193,7 @@ class AuroBibtemplate extends r {
5704
6193
  *
5705
6194
  */
5706
6195
  static register(name = "auro-bibtemplate") {
5707
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroBibtemplate);
6196
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroBibtemplate);
5708
6197
  }
5709
6198
 
5710
6199
  /**
@@ -5746,9 +6235,9 @@ class AuroBibtemplate extends r {
5746
6235
 
5747
6236
  // function that renders the HTML and CSS into the scope of the component
5748
6237
  render() {
5749
- return u`
6238
+ return html$1`
5750
6239
  <div id="bibTemplate" part="bibtemplate">
5751
- ${this.isFullscreen ? u`
6240
+ ${this.isFullscreen ? html$1`
5752
6241
  <div id="headerContainer">
5753
6242
  <button id="closeButton" @click="${this.onCloseButtonClick}">
5754
6243
  <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
@@ -5765,7 +6254,7 @@ class AuroBibtemplate extends r {
5765
6254
  <slot></slot>
5766
6255
  </div>
5767
6256
 
5768
- ${this.isFullscreen ? u`
6257
+ ${this.isFullscreen ? html$1`
5769
6258
  <div id="footerContainer">
5770
6259
  <slot name="footer"></slot>
5771
6260
  </div>` : null}
@@ -5776,9 +6265,9 @@ class AuroBibtemplate extends r {
5776
6265
 
5777
6266
  var bibTemplateVersion = '1.0.0';
5778
6267
 
5779
- var styleCss = i$g`:host{display:flex;flex-direction:column;gap:var(--ds-size-300, 1.5rem)}:host ::slotted(*:not(:first-child)){padding-top:var(--ds-size-300, 1.5rem);border-top-width:1px;border-top-style:solid}:host([isindropdown]){padding:var(--ds-size-300, 1.5rem)}`;
6268
+ var styleCss = css`:host{display:flex;flex-direction:column;gap:var(--ds-size-300, 1.5rem)}:host ::slotted(*:not(:first-child)){padding-top:var(--ds-size-300, 1.5rem);border-top-width:1px;border-top-style:solid}:host([isindropdown]){padding:var(--ds-size-300, 1.5rem)}`;
5780
6269
 
5781
- var colorCss = i$g`:host ::slotted(*:not(:first-child)){border-color:var(--ds-color-border-divider-default, rgba(0, 0, 0, 0.12))}`;
6270
+ var colorCss = css`:host ::slotted(*:not(:first-child)){border-color:var(--ds-color-border-divider-default, rgba(0, 0, 0, 0.12))}`;
5782
6271
 
5783
6272
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
5784
6273
  // See LICENSE in the project root for license information.
@@ -5794,7 +6283,7 @@ var colorCss = i$g`:host ::slotted(*:not(:first-child)){border-color:var(--ds-co
5794
6283
  * @extends LitElement
5795
6284
  * @slot Default - Slot for counter elements.
5796
6285
  */
5797
- class AuroCounterWrapper extends r$9 {
6286
+ class AuroCounterWrapper extends LitElement {
5798
6287
 
5799
6288
  static get styles() {
5800
6289
  return [
@@ -5810,12 +6299,12 @@ class AuroCounterWrapper extends r$9 {
5810
6299
  * AuroCounterWrapper.register("custom-counter-wrapper") // registers <custom-counter-wrapper/>
5811
6300
  */
5812
6301
  static register(name = "auro-counter-wrapper") {
5813
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroCounterWrapper);
6302
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroCounterWrapper);
5814
6303
  }
5815
6304
 
5816
6305
  // function that renders the HTML and CSS into the scope of the component
5817
6306
  render() {
5818
- return u$6`<slot></slot>`;
6307
+ return html$1`<slot></slot>`;
5819
6308
  }
5820
6309
  }
5821
6310
 
@@ -5843,7 +6332,7 @@ if (!customElements.get("auro-counter-wrapper")) {
5843
6332
  * @slot valueText - Dropdown value text display. Only used when `isDropdown` is true.
5844
6333
  * @slot helpText - Dropdown help text content. Only used when `isDropdown` is true.
5845
6334
  */
5846
- class AuroCounterGroup extends r$9 {
6335
+ class AuroCounterGroup extends LitElement {
5847
6336
  constructor() {
5848
6337
  super();
5849
6338
 
@@ -5886,14 +6375,14 @@ class AuroCounterGroup extends r$9 {
5886
6375
  * @private
5887
6376
  * @type {string}
5888
6377
  */
5889
- this.dropdownTag = versioning.generateTag("auro-dropdown", dropdownVersion, AuroDropdown);
6378
+ this.dropdownTag = versioning.generateTag("auro-formkit-counter-dropdown", dropdownVersion, AuroDropdown);
5890
6379
 
5891
6380
  /**
5892
6381
  * Dynamically generated bibtempalate tag.
5893
6382
  * @private
5894
6383
  * @type {string}
5895
6384
  */
5896
- this.bibtemplateTag = versioning.generateTag('auro-bibtemplate', bibTemplateVersion, AuroBibtemplate);
6385
+ this.bibtemplateTag = versioning.generateTag('auro-formkit-counter-bibtemplate', bibTemplateVersion, AuroBibtemplate);
5897
6386
  }
5898
6387
 
5899
6388
  static get styles() {
@@ -6201,14 +6690,14 @@ class AuroCounterGroup extends r$9 {
6201
6690
  * AuroCounterGroup.register("custom-counter-group") // registers <custom-counter-group/>
6202
6691
  */
6203
6692
  static register(name = "auro-counter-group") {
6204
- AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroCounterGroup);
6693
+ AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroCounterGroup);
6205
6694
  }
6206
6695
 
6207
6696
  // function that renders the HTML and CSS into the scope of the component
6208
6697
  render() {
6209
- return u$6`
6698
+ return html$1`
6210
6699
  ${this.isDropdown
6211
- ? u$6`<${this.dropdownTag} common chevron fullscreenBreakpoint="${this.fullscreenBreakpoint}">
6700
+ ? html$1`<${this.dropdownTag} common chevron fullscreenBreakpoint="${this.fullscreenBreakpoint}">
6212
6701
  <div slot="trigger"><slot name="valueText">
6213
6702
  ${this.counters && Array.from(this.counters).map((counter, index) => `${counter.value} ${counter.defaultSlot}${index !== this.counters.length - 1 ? ', ' : ''}`)}
6214
6703
  </slot></div>
@@ -6226,7 +6715,7 @@ class AuroCounterGroup extends r$9 {
6226
6715
  <slot name="bib.fullscreen.footer" @slotchange="${this.handleSlotChange}"></slot>
6227
6716
  </div>
6228
6717
  `
6229
- : u$6`<auro-counter-wrapper><slot @slotchange=${() => this.configureCounters()}></slot></auro-counter-wrapper>`
6718
+ : html$1`<auro-counter-wrapper><slot @slotchange=${() => this.configureCounters()}></slot></auro-counter-wrapper>`
6230
6719
  }`;
6231
6720
  }
6232
6721
  }