@aurodesignsystem-dev/auro-formkit 0.0.0-pr1096.1 → 0.0.0-pr1097.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/combobox/demo/api.min.js +56 -76
- package/components/combobox/demo/index.min.js +56 -76
- package/components/combobox/dist/index.js +2 -17
- package/components/combobox/dist/registered.js +2 -17
- package/components/counter/demo/api.min.js +66 -98
- package/components/counter/demo/index.min.js +66 -98
- package/components/counter/dist/index.js +2 -17
- package/components/counter/dist/registered.js +2 -17
- package/components/datepicker/demo/api.min.js +170 -196
- package/components/datepicker/demo/index.min.js +170 -196
- package/components/datepicker/dist/index.js +2 -17
- package/components/datepicker/dist/registered.js +2 -17
- package/components/dropdown/demo/api.min.js +15 -47
- package/components/dropdown/demo/index.min.js +15 -47
- package/components/dropdown/dist/auro-dropdown.d.ts +0 -2
- package/components/dropdown/dist/index.js +2 -17
- package/components/dropdown/dist/registered.js +2 -17
- package/components/menu/demo/api.min.js +7 -1
- package/components/menu/demo/index.min.js +7 -1
- package/components/menu/dist/index.js +7 -1
- package/components/menu/dist/registered.js +7 -1
- package/components/select/demo/api.min.js +47 -73
- package/components/select/demo/index.min.js +47 -73
- package/components/select/dist/index.js +2 -17
- package/components/select/dist/registered.js +2 -17
- package/package.json +1 -1
|
@@ -3,39 +3,39 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const t$2=globalThis,e$
|
|
6
|
+
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$3=Symbol(),o$5=new WeakMap;let n$3 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$3)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$4&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$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$2=t=>new n$3("string"==typeof t?t:t+"",void 0,s$3),i$5=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$3(o,t,s$3)},S$1=(s,o)=>{if(e$4)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$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$2(e)})(t):t;
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
10
10
|
* Copyright 2017 Google LLC
|
|
11
11
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
|
-
*/const{is:i$4,defineProperty:e$
|
|
12
|
+
*/const{is:i$4,defineProperty:e$3,getOwnPropertyDescriptor:h$1,getOwnPropertyNames:r$1,getOwnPropertySymbols:o$4,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),b={attribute:true,type:String,converter:u$2,reflect:false,useDefault:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$2.litPropertyMetadata??=new WeakMap;let y$1 = class y 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=b){if(s.state&&(s.attribute=false),this._$Ei(),this.prototype.hasOwnProperty(t)&&((s=Object.create(s)).wrapped=true),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),h=this.getPropertyDescriptor(t,i,s);void 0!==h&&e$3(this.prototype,t,h);}}static getPropertyDescriptor(t,s,i){const{get:e,set:r}=h$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get:e,set(s){const h=e?.call(this);r?.call(this,s),this.requestUpdate(t,h,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}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=[...r$1(t),...o$4(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);}_$ET(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const h=(void 0!==i.converter?.toAttribute?i.converter:u$2).toAttribute(s,i.type);this._$Em=t,null==h?this.removeAttribute(e):this.setAttribute(e,h),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),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$2;this._$Em=e;const r=h.fromAttribute(s,t.type);this[e]=r??this._$Ej?.get(e)??r,this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){const e=this.constructor,h=this[t];if(i??=e.getPropertyOptions(t),!((i.hasChanged??f$1)(h,s)||i.useDefault&&i.reflect&&h===this._$Ej?.get(t)&&!this.hasAttribute(e._$Eu(t,i))))return;this.C(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$EP());}C(t,s,{useDefault:i,reflect:e,wrapped:h},r){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??s??this[t]),true!==h||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||i||(s=void 0),this._$AL.set(t,s)),true===e&&this._$Em!==t&&(this._$Eq??=new Set).add(t));}async _$EP(){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){const{wrapped:t}=i,e=this[s];true!==t||this._$AL.has(s)||void 0===e||this.C(s,void 0,i,e);}}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._$EM();}catch(s){throw t=false,this._$EM(),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);}_$EM(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM();}updated(t){}firstUpdated(t){}};y$1.elementStyles=[],y$1.shadowRootOptions={mode:"open"},y$1[d$1("elementProperties")]=new Map,y$1[d$1("finalized")]=new Map,p$1?.({ReactiveElement:y$1}),(a$2.reactiveElementVersions??=[]).push("2.1.1");
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
16
16
|
* Copyright 2017 Google LLC
|
|
17
17
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
18
18
|
*/
|
|
19
|
-
const t$1=globalThis,i$3=t$1.trustedTypes,s$
|
|
19
|
+
const t$1=globalThis,i$3=t$1.trustedTypes,s$2=i$3?i$3.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$2="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o$3="?"+h,n$1=`<${o$3}>`,r=document,l$1=()=>r.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.createTreeWalker(r,129);function P(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$2?s$2.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v: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$3)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.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).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,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.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!==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.3.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};
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/const s$
|
|
25
|
+
*/const s$1=globalThis;let i$2 = class i extends y$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 r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(r,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}};i$2._$litElement$=true,i$2["finalized"]=true,s$1.litElementHydrateSupport?.({LitElement:i$2});const o$2=s$1.litElementPolyfillSupport;o$2?.({LitElement:i$2});(s$1.litElementVersions??=[]).push("4.2.1");
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* @license
|
|
29
29
|
* Copyright 2020 Google LLC
|
|
30
30
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
31
31
|
*/
|
|
32
|
-
const a=Symbol.for(""),o$
|
|
32
|
+
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);
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* @license
|
|
36
36
|
* Copyright 2018 Google LLC
|
|
37
37
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
38
|
-
*/const o
|
|
38
|
+
*/const o=o=>o??E;
|
|
39
39
|
|
|
40
40
|
var tokens = i$5`:host(:not([ondark])){--ds-auro-counter-border-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-counter-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-counter-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-counter-placeholder-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-counter-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-counter-error-icon-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-counter-outline-color: transparent;--ds-auro-counter-control-background-color: var(--ds-advanced-color-button-tertiary-background, rgba(0, 0, 0, 0.05));--ds-auro-counter-control-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-counter-description-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-counter-icon-color: var(--ds-advanced-color-button-tertiary-text, #01426a);--ds-auro-counter-quantity-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-counter-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15))}:host([ondark]){--ds-auro-counter-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-counter-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-counter-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-counter-placeholder-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-counter-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-counter-error-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-counter-outline-color: transparent;--ds-auro-counter-control-background-color: var(--ds-advanced-color-button-tertiary-background-inverse, rgba(255, 255, 255, 0.05));--ds-auro-counter-control-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-counter-description-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-counter-icon-color: var(--ds-advanced-color-button-tertiary-text-inverse, #ffffff);--ds-auro-counter-quantity-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-counter-divider-color: var(--ds-basic-color-border-divider-inverse, rgba(255, 255, 255, 0.4))}`;
|
|
41
41
|
|
|
@@ -513,13 +513,13 @@ let AuroElement$5 = class AuroElement extends i$2 {
|
|
|
513
513
|
* Copyright 2017 Google LLC
|
|
514
514
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
515
515
|
*/
|
|
516
|
-
const t={ATTRIBUTE:1
|
|
516
|
+
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)}}
|
|
517
517
|
|
|
518
518
|
/**
|
|
519
519
|
* @license
|
|
520
520
|
* Copyright 2018 Google LLC
|
|
521
521
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
522
|
-
*/const e
|
|
522
|
+
*/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}});
|
|
523
523
|
|
|
524
524
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
525
525
|
// See LICENSE in the project root for license information.
|
|
@@ -551,7 +551,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
551
551
|
*/
|
|
552
552
|
generateTag(baseName, version, tagClass) {
|
|
553
553
|
const elementName = this.generateElementName(baseName, version);
|
|
554
|
-
const tag = i$1`${s
|
|
554
|
+
const tag = i$1`${s(elementName)}`;
|
|
555
555
|
|
|
556
556
|
if (!customElements.get(elementName)) {
|
|
557
557
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -1231,26 +1231,26 @@ let AuroButton$1 = class AuroButton extends AuroElement$5 {
|
|
|
1231
1231
|
return u`
|
|
1232
1232
|
<${tag}
|
|
1233
1233
|
part="${part}"
|
|
1234
|
-
aria-label="${o
|
|
1235
|
-
aria-labelledby="${o
|
|
1236
|
-
tabindex="${o
|
|
1234
|
+
aria-label="${o(this.loading ? this.loadingText : this.currentAriaLabel || undefined)}"
|
|
1235
|
+
aria-labelledby="${o(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
|
|
1236
|
+
tabindex="${o(this.tIndex || this.tabindex)}"
|
|
1237
1237
|
?autofocus="${this.autofocus}"
|
|
1238
|
-
class=${e
|
|
1238
|
+
class=${e(classes)}
|
|
1239
1239
|
?disabled="${this.disabled || this.loading}"
|
|
1240
1240
|
?onDark="${this.onDark}"
|
|
1241
|
-
title="${o
|
|
1242
|
-
name="${o
|
|
1243
|
-
type="${o
|
|
1244
|
-
variant="${o
|
|
1245
|
-
.value="${o
|
|
1241
|
+
title="${o(this.title ? this.title : undefined)}"
|
|
1242
|
+
name="${o(this.name ? this.name : undefined)}"
|
|
1243
|
+
type="${o(this.type ? this.type : undefined)}"
|
|
1244
|
+
variant="${o(this.variant ? this.variant : undefined)}"
|
|
1245
|
+
.value="${o(this.value ? this.value : undefined)}"
|
|
1246
1246
|
@click="${this.type === 'submit' ? this.surfaceSubmitEvent : undefined}"
|
|
1247
|
-
href="${o
|
|
1248
|
-
target="${o
|
|
1249
|
-
rel="${o
|
|
1247
|
+
href="${o(this.buttonHref || undefined)}"
|
|
1248
|
+
target="${o(this.buttonTarget || undefined)}"
|
|
1249
|
+
rel="${o(this.buttonRel || undefined)}"
|
|
1250
1250
|
>
|
|
1251
|
-
${o
|
|
1251
|
+
${o(this.loading ? u`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
1252
1252
|
|
|
1253
|
-
<span class="${e
|
|
1253
|
+
<span class="${e(contentClasses)}">
|
|
1254
1254
|
<span class="textSlot" part="text">
|
|
1255
1255
|
<slot></slot>
|
|
1256
1256
|
</span>
|
|
@@ -1691,9 +1691,9 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
1691
1691
|
return x`
|
|
1692
1692
|
<div class="componentWrapper">
|
|
1693
1693
|
<div
|
|
1694
|
-
class="${e
|
|
1695
|
-
title="${o
|
|
1696
|
-
<span aria-hidden="${o
|
|
1694
|
+
class="${e(svgClasses)}"
|
|
1695
|
+
title="${o(this.title || undefined)}">
|
|
1696
|
+
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
1697
1697
|
${this.customSvg ? x`
|
|
1698
1698
|
<slot name="svg"></slot>
|
|
1699
1699
|
` : x`
|
|
@@ -1703,7 +1703,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
1703
1703
|
</span>
|
|
1704
1704
|
</div>
|
|
1705
1705
|
|
|
1706
|
-
<div class="${e
|
|
1706
|
+
<div class="${e(labelClasses)}">
|
|
1707
1707
|
<slot></slot>
|
|
1708
1708
|
</div>
|
|
1709
1709
|
</div>
|
|
@@ -3099,7 +3099,7 @@ class AuroCounter extends i$2 {
|
|
|
3099
3099
|
<div
|
|
3100
3100
|
part="counterControl"
|
|
3101
3101
|
aria-describedby="counter-description"
|
|
3102
|
-
aria-disabled="${o
|
|
3102
|
+
aria-disabled="${o(this.disabled ? 'true' : undefined)}"
|
|
3103
3103
|
aria-labelledby="counter-label"
|
|
3104
3104
|
aria-valuemax="${this.max}"
|
|
3105
3105
|
aria-valuemin="${this.min}"
|
|
@@ -3145,24 +3145,6 @@ var counterGroupStyles = i$5`.body-default{font-size:var(--wcss-body-default-fon
|
|
|
3145
3145
|
|
|
3146
3146
|
var shapeSizeCss$1 = i$5`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:56px;max-height:56px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:58px;max-height:58px;background-color:unset;box-shadow:none}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:56px;max-height:56px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;box-shadow:unset;min-height:54px;max-height:54px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-box-lg{min-height:52px;max-height:52px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-box-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-box-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-box-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-box-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-box-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-box-sm{min-height:32px;max-height:32px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-sm.simple{border-width:0px;min-height:36px;max-height:36px;background-color:unset;box-shadow:none}.shape-box-sm.thin{border-width:1px;min-height:34px;max-height:34px;background-color:unset}.shape-box-sm.parentBorder{border:0;box-shadow:unset;min-height:32px;max-height:32px}.shape-box-xs{min-height:20px;max-height:20px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xs.simple{border-width:0px;min-height:24px;max-height:24px;background-color:unset;box-shadow:none}.shape-box-xs.thin{border-width:1px;min-height:22px;max-height:22px;background-color:unset}.shape-box-xs.parentBorder{border:0;box-shadow:unset;min-height:20px;max-height:20px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}`;
|
|
3147
3147
|
|
|
3148
|
-
/**
|
|
3149
|
-
* @license
|
|
3150
|
-
* Copyright 2020 Google LLC
|
|
3151
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3152
|
-
*/const f$1=o=>void 0===o.strings;
|
|
3153
|
-
|
|
3154
|
-
/**
|
|
3155
|
-
* @license
|
|
3156
|
-
* Copyright 2017 Google LLC
|
|
3157
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3158
|
-
*/const s=(i,t)=>{const e=i._$AN;if(void 0===e)return false;for(const i of e)i._$AO?.(t,false),s(i,t);return true},o$1=i=>{let t,e;do{if(void 0===(t=i._$AM))break;e=t._$AN,e.delete(i),i=t;}while(0===e?.size)},r=i=>{for(let t;t=i._$AM;i=t){let e=t._$AN;if(void 0===e)t._$AN=e=new Set;else if(e.has(i))break;e.add(i),c(t);}};function h$1(i){ void 0!==this._$AN?(o$1(this),this._$AM=i,r(this)):this._$AM=i;}function n$1(i,t=false,e=0){const r=this._$AH,h=this._$AN;if(void 0!==h&&0!==h.size)if(t)if(Array.isArray(r))for(let i=e;i<r.length;i++)s(r[i],false),o$1(r[i]);else null!=r&&(s(r,false),o$1(r));else s(this,i);}const c=i=>{i.type==t.CHILD&&(i._$AP??=n$1,i._$AQ??=h$1);};class f extends i{constructor(){super(...arguments),this._$AN=void 0;}_$AT(i,t,e){super._$AT(i,t,e),r(this),this.isConnected=i._$AU;}_$AO(i,t=true){i!==this.isConnected&&(this.isConnected=i,i?this.reconnected?.():this.disconnected?.()),t&&(s(this,i),o$1(this));}setValue(t){if(f$1(this._$Ct))this._$Ct._$AI(t,this);else {const i=[...this._$Ct._$AH];i[this._$Ci]=t,this._$Ct._$AI(i,this,0);}}disconnected(){}reconnected(){}}
|
|
3159
|
-
|
|
3160
|
-
/**
|
|
3161
|
-
* @license
|
|
3162
|
-
* Copyright 2020 Google LLC
|
|
3163
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3164
|
-
*/const e=()=>new h;class h{}const o=new WeakMap,n=e$2(class extends f{render(i){return E}update(i,[s]){const e=s!==this.G;return e&&void 0!==this.G&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=s,this.ht=i.options?.host,this.rt(this.ct=i.element)),E}rt(t){if(this.isConnected||(t=void 0),"function"==typeof this.G){const i=this.ht??globalThis;let s=o.get(i);void 0===s&&(s=new WeakMap,o.set(i,s)),void 0!==s.get(this.G)&&this.G.call(this.ht,void 0),s.set(this.G,t),void 0!==t&&this.G.call(this.ht,t);}else this.G.value=t;}get lt(){return "function"==typeof this.G?o.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0);}reconnected(){this.rt(this.ct);}});
|
|
3165
|
-
|
|
3166
3148
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
3167
3149
|
// See LICENSE in the project root for license information.
|
|
3168
3150
|
|
|
@@ -5700,7 +5682,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
5700
5682
|
*/
|
|
5701
5683
|
generateTag(baseName, version, tagClass) {
|
|
5702
5684
|
const elementName = this.generateElementName(baseName, version);
|
|
5703
|
-
const tag = i$1`${s
|
|
5685
|
+
const tag = i$1`${s(elementName)}`;
|
|
5704
5686
|
|
|
5705
5687
|
if (!customElements.get(elementName)) {
|
|
5706
5688
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -6091,9 +6073,9 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
6091
6073
|
return x`
|
|
6092
6074
|
<div class="componentWrapper">
|
|
6093
6075
|
<div
|
|
6094
|
-
class="${e
|
|
6095
|
-
title="${o
|
|
6096
|
-
<span aria-hidden="${o
|
|
6076
|
+
class="${e(svgClasses)}"
|
|
6077
|
+
title="${o(this.title || undefined)}">
|
|
6078
|
+
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
6097
6079
|
${this.customSvg ? x`
|
|
6098
6080
|
<slot name="svg"></slot>
|
|
6099
6081
|
` : x`
|
|
@@ -6103,7 +6085,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
6103
6085
|
</span>
|
|
6104
6086
|
</div>
|
|
6105
6087
|
|
|
6106
|
-
<div class="${e
|
|
6088
|
+
<div class="${e(labelClasses)}">
|
|
6107
6089
|
<slot></slot>
|
|
6108
6090
|
</div>
|
|
6109
6091
|
</div>
|
|
@@ -6303,7 +6285,7 @@ class AuroDropdownBib extends i$2 {
|
|
|
6303
6285
|
classes[`shape-${this.shape}`] = true;
|
|
6304
6286
|
|
|
6305
6287
|
return u`
|
|
6306
|
-
<div class="${e
|
|
6288
|
+
<div class="${e(classes)}" part="bibContainer">
|
|
6307
6289
|
<slot></slot>
|
|
6308
6290
|
</div>
|
|
6309
6291
|
`;
|
|
@@ -6316,7 +6298,7 @@ var shapeSizeCss = i$5`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic
|
|
|
6316
6298
|
|
|
6317
6299
|
var colorCss$1$1 = i$5`:host(:not([layout*=classic])){--ds-auro-dropdown-trigger-border-color: transparent}:host(:not([ondark])) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host(:not([ondark])) .wrapper:focus-within,:host(:not([ondark])) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host(:not([ondark])) .wrapper:hover{--ds-auro-dropdown-trigger-background-color: var(--ds-auro-dropdown-trigger-hover-background-color)}:host(:not([onDark])[disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([ondark])[error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]) .label,:host([onDark]) .helpText{color:var(--ds-auro-dropdown-label-text-color)}:host([onDark]) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host([onDark]) .wrapper:focus-within,:host([onDark]) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([onDark]) .wrapper:hover{--ds-auro-dropdown-trigger-background-color: var(--ds-auro-dropdown-trigger-hover-background-color)}:host([onDark][disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}:host([ondark][error]){--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
|
|
6318
6300
|
|
|
6319
|
-
var styleCss$1$1 = i$5`:host{position:relative;display:block;text-align:left;transform:translateZ(0)}
|
|
6301
|
+
var styleCss$1$1 = i$5`:host{position:relative;display:block;text-align:left;transform:translateZ(0)}:host([open]){z-index:var(--depth-tooltip, 400)}:host([open][isbibfullscreen]){position:fixed;top:0;left:0}.wrapper{display:flex;flex:1;flex-direction:row;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([matchwidth]) #bibSizer{width:100%}`;
|
|
6320
6302
|
|
|
6321
6303
|
var classicColorCss = i$5``;
|
|
6322
6304
|
|
|
@@ -6674,9 +6656,6 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
6674
6656
|
/** @private */
|
|
6675
6657
|
this.handleDropdownToggle = this.handleDropdownToggle.bind(this);
|
|
6676
6658
|
|
|
6677
|
-
/** @private */
|
|
6678
|
-
this.bibElement = e();
|
|
6679
|
-
|
|
6680
6659
|
this.privateDefaults();
|
|
6681
6660
|
}
|
|
6682
6661
|
|
|
@@ -7113,14 +7092,6 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
7113
7092
|
if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
|
|
7114
7093
|
this.handleTriggerContentSlotChange();
|
|
7115
7094
|
}
|
|
7116
|
-
|
|
7117
|
-
if (changedProperties.has('isPopoverVisible') && this.bibElement.value) {
|
|
7118
|
-
if (this.isPopoverVisible) {
|
|
7119
|
-
this.bibElement.value.showPopover();
|
|
7120
|
-
} else {
|
|
7121
|
-
this.bibElement.value.hidePopover();
|
|
7122
|
-
}
|
|
7123
|
-
}
|
|
7124
7095
|
}
|
|
7125
7096
|
|
|
7126
7097
|
/**
|
|
@@ -7425,12 +7396,12 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
7425
7396
|
<div>
|
|
7426
7397
|
<div
|
|
7427
7398
|
id="trigger"
|
|
7428
|
-
class="${e
|
|
7429
|
-
tabindex="${o
|
|
7430
|
-
role="${o
|
|
7431
|
-
aria-expanded="${o
|
|
7432
|
-
aria-controls="${o
|
|
7433
|
-
aria-labelledby="${o
|
|
7399
|
+
class="${e(this.commonWrapperClasses)}" part="wrapper"
|
|
7400
|
+
tabindex="${o(this.triggerContentFocusable ? undefined : this.tabIndex)}"
|
|
7401
|
+
role="${o(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
7402
|
+
aria-expanded="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
7403
|
+
aria-controls="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
7404
|
+
aria-labelledby="${o(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
7434
7405
|
@focusin="${this.handleFocusin}"
|
|
7435
7406
|
@blur="${this.handleFocusOut}">
|
|
7436
7407
|
<div class="triggerContentWrapper" id="triggerLabel">
|
|
@@ -7453,7 +7424,7 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
7453
7424
|
</div>
|
|
7454
7425
|
` : undefined }
|
|
7455
7426
|
</div>
|
|
7456
|
-
<div class="${e
|
|
7427
|
+
<div class="${e(helpTextClasses)}">
|
|
7457
7428
|
<slot name="helpText"></slot>
|
|
7458
7429
|
</div>
|
|
7459
7430
|
<div id="bibSizer" part="size"></div>
|
|
@@ -7461,10 +7432,7 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
7461
7432
|
id="bib"
|
|
7462
7433
|
shape="${this.shape}"
|
|
7463
7434
|
?data-show="${this.isPopoverVisible}"
|
|
7464
|
-
?isfullscreen="${this.isBibFullscreen}"
|
|
7465
|
-
${n(this.bibElement)}
|
|
7466
|
-
popover="manual"
|
|
7467
|
-
>
|
|
7435
|
+
?isfullscreen="${this.isBibFullscreen}">
|
|
7468
7436
|
<div class="slotContent">
|
|
7469
7437
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
7470
7438
|
</div>
|
|
@@ -7659,7 +7627,7 @@ class AuroDependencyVersioning {
|
|
|
7659
7627
|
*/
|
|
7660
7628
|
generateTag(baseName, version, tagClass) {
|
|
7661
7629
|
const elementName = this.generateElementName(baseName, version);
|
|
7662
|
-
const tag = i$1`${s
|
|
7630
|
+
const tag = i$1`${s(elementName)}`;
|
|
7663
7631
|
|
|
7664
7632
|
if (!customElements.get(elementName)) {
|
|
7665
7633
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -8734,26 +8702,26 @@ class AuroButton extends AuroElement$1 {
|
|
|
8734
8702
|
return u`
|
|
8735
8703
|
<${tag}
|
|
8736
8704
|
part="${part}"
|
|
8737
|
-
aria-label="${o
|
|
8738
|
-
aria-labelledby="${o
|
|
8739
|
-
tabindex="${o
|
|
8705
|
+
aria-label="${o(this.loading ? this.loadingText : this.currentAriaLabel || undefined)}"
|
|
8706
|
+
aria-labelledby="${o(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
|
|
8707
|
+
tabindex="${o(this.tIndex || this.tabindex)}"
|
|
8740
8708
|
?autofocus="${this.autofocus}"
|
|
8741
|
-
class=${e
|
|
8709
|
+
class=${e(classes)}
|
|
8742
8710
|
?disabled="${this.disabled || this.loading}"
|
|
8743
8711
|
?onDark="${this.onDark}"
|
|
8744
|
-
title="${o
|
|
8745
|
-
name="${o
|
|
8746
|
-
type="${o
|
|
8747
|
-
variant="${o
|
|
8748
|
-
.value="${o
|
|
8712
|
+
title="${o(this.title ? this.title : undefined)}"
|
|
8713
|
+
name="${o(this.name ? this.name : undefined)}"
|
|
8714
|
+
type="${o(this.type ? this.type : undefined)}"
|
|
8715
|
+
variant="${o(this.variant ? this.variant : undefined)}"
|
|
8716
|
+
.value="${o(this.value ? this.value : undefined)}"
|
|
8749
8717
|
@click="${this.type === 'submit' ? this.surfaceSubmitEvent : undefined}"
|
|
8750
|
-
href="${o
|
|
8751
|
-
target="${o
|
|
8752
|
-
rel="${o
|
|
8718
|
+
href="${o(this.buttonHref || undefined)}"
|
|
8719
|
+
target="${o(this.buttonTarget || undefined)}"
|
|
8720
|
+
rel="${o(this.buttonRel || undefined)}"
|
|
8753
8721
|
>
|
|
8754
|
-
${o
|
|
8722
|
+
${o(this.loading ? u`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
8755
8723
|
|
|
8756
|
-
<span class="${e
|
|
8724
|
+
<span class="${e(contentClasses)}">
|
|
8757
8725
|
<span class="textSlot" part="text">
|
|
8758
8726
|
<slot></slot>
|
|
8759
8727
|
</span>
|
|
@@ -9155,9 +9123,9 @@ class AuroIcon extends BaseIcon {
|
|
|
9155
9123
|
return x`
|
|
9156
9124
|
<div class="componentWrapper">
|
|
9157
9125
|
<div
|
|
9158
|
-
class="${e
|
|
9159
|
-
title="${o
|
|
9160
|
-
<span aria-hidden="${o
|
|
9126
|
+
class="${e(svgClasses)}"
|
|
9127
|
+
title="${o(this.title || undefined)}">
|
|
9128
|
+
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
9161
9129
|
${this.customSvg ? x`
|
|
9162
9130
|
<slot name="svg"></slot>
|
|
9163
9131
|
` : x`
|
|
@@ -9167,7 +9135,7 @@ class AuroIcon extends BaseIcon {
|
|
|
9167
9135
|
</span>
|
|
9168
9136
|
</div>
|
|
9169
9137
|
|
|
9170
|
-
<div class="${e
|
|
9138
|
+
<div class="${e(labelClasses)}">
|
|
9171
9139
|
<slot></slot>
|
|
9172
9140
|
</div>
|
|
9173
9141
|
</div>
|
|
@@ -9340,11 +9308,11 @@ class AuroHeader extends i$2 {
|
|
|
9340
9308
|
});
|
|
9341
9309
|
}
|
|
9342
9310
|
|
|
9343
|
-
const headerClasses = e
|
|
9311
|
+
const headerClasses = e(classObject);
|
|
9344
9312
|
|
|
9345
9313
|
// unsafeStatic dynamically creates tag names at runtime
|
|
9346
|
-
const tag = s
|
|
9347
|
-
return u`<${tag} class="${headerClasses}" style="color: ${o
|
|
9314
|
+
const tag = s(`h${headingLevel}`);
|
|
9315
|
+
return u`<${tag} class="${headerClasses}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
|
|
9348
9316
|
}
|
|
9349
9317
|
|
|
9350
9318
|
// function that renders the HTML and CSS into the scope of the component
|
|
@@ -10349,7 +10317,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
10349
10317
|
<slot name="typeIcon"></slot>
|
|
10350
10318
|
</div>
|
|
10351
10319
|
<div class="mainContent">
|
|
10352
|
-
<label class="${e
|
|
10320
|
+
<label class="${e(labelClasses)}">
|
|
10353
10321
|
<slot name="label"></slot>
|
|
10354
10322
|
</label>
|
|
10355
10323
|
<div class="value">
|
|
@@ -2,7 +2,6 @@ import { css, LitElement, html } from 'lit';
|
|
|
2
2
|
import { unsafeStatic, literal, html as html$1 } from 'lit/static-html.js';
|
|
3
3
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
4
4
|
import { classMap } from 'lit/directives/class-map.js';
|
|
5
|
-
import { createRef, ref } from 'lit/directives/ref.js';
|
|
6
5
|
|
|
7
6
|
var tokens = css`:host(:not([ondark])){--ds-auro-counter-border-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-counter-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-counter-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-counter-placeholder-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-counter-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-counter-error-icon-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-counter-outline-color: transparent;--ds-auro-counter-control-background-color: var(--ds-advanced-color-button-tertiary-background, rgba(0, 0, 0, 0.05));--ds-auro-counter-control-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-counter-description-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-counter-icon-color: var(--ds-advanced-color-button-tertiary-text, #01426a);--ds-auro-counter-quantity-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-counter-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15))}:host([ondark]){--ds-auro-counter-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-counter-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-counter-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-counter-placeholder-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-counter-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-counter-error-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-counter-outline-color: transparent;--ds-auro-counter-control-background-color: var(--ds-advanced-color-button-tertiary-background-inverse, rgba(255, 255, 255, 0.05));--ds-auro-counter-control-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-counter-description-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-counter-icon-color: var(--ds-advanced-color-button-tertiary-text-inverse, #ffffff);--ds-auro-counter-quantity-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-counter-divider-color: var(--ds-basic-color-border-divider-inverse, rgba(255, 255, 255, 0.4))}`;
|
|
8
7
|
|
|
@@ -6252,7 +6251,7 @@ var shapeSizeCss = css`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic
|
|
|
6252
6251
|
|
|
6253
6252
|
var colorCss$1$1 = css`:host(:not([layout*=classic])){--ds-auro-dropdown-trigger-border-color: transparent}:host(:not([ondark])) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host(:not([ondark])) .wrapper:focus-within,:host(:not([ondark])) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host(:not([ondark])) .wrapper:hover{--ds-auro-dropdown-trigger-background-color: var(--ds-auro-dropdown-trigger-hover-background-color)}:host(:not([onDark])[disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([ondark])[error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]) .label,:host([onDark]) .helpText{color:var(--ds-auro-dropdown-label-text-color)}:host([onDark]) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host([onDark]) .wrapper:focus-within,:host([onDark]) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([onDark]) .wrapper:hover{--ds-auro-dropdown-trigger-background-color: var(--ds-auro-dropdown-trigger-hover-background-color)}:host([onDark][disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}:host([ondark][error]){--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
|
|
6254
6253
|
|
|
6255
|
-
var styleCss$1$1 = css`:host{position:relative;display:block;text-align:left;transform:translateZ(0)}
|
|
6254
|
+
var styleCss$1$1 = css`:host{position:relative;display:block;text-align:left;transform:translateZ(0)}:host([open]){z-index:var(--depth-tooltip, 400)}:host([open][isbibfullscreen]){position:fixed;top:0;left:0}.wrapper{display:flex;flex:1;flex-direction:row;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([matchwidth]) #bibSizer{width:100%}`;
|
|
6256
6255
|
|
|
6257
6256
|
var classicColorCss = css``;
|
|
6258
6257
|
|
|
@@ -6610,9 +6609,6 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
6610
6609
|
/** @private */
|
|
6611
6610
|
this.handleDropdownToggle = this.handleDropdownToggle.bind(this);
|
|
6612
6611
|
|
|
6613
|
-
/** @private */
|
|
6614
|
-
this.bibElement = createRef();
|
|
6615
|
-
|
|
6616
6612
|
this.privateDefaults();
|
|
6617
6613
|
}
|
|
6618
6614
|
|
|
@@ -7049,14 +7045,6 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
7049
7045
|
if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
|
|
7050
7046
|
this.handleTriggerContentSlotChange();
|
|
7051
7047
|
}
|
|
7052
|
-
|
|
7053
|
-
if (changedProperties.has('isPopoverVisible') && this.bibElement.value) {
|
|
7054
|
-
if (this.isPopoverVisible) {
|
|
7055
|
-
this.bibElement.value.showPopover();
|
|
7056
|
-
} else {
|
|
7057
|
-
this.bibElement.value.hidePopover();
|
|
7058
|
-
}
|
|
7059
|
-
}
|
|
7060
7048
|
}
|
|
7061
7049
|
|
|
7062
7050
|
/**
|
|
@@ -7397,10 +7385,7 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
7397
7385
|
id="bib"
|
|
7398
7386
|
shape="${this.shape}"
|
|
7399
7387
|
?data-show="${this.isPopoverVisible}"
|
|
7400
|
-
?isfullscreen="${this.isBibFullscreen}"
|
|
7401
|
-
${ref(this.bibElement)}
|
|
7402
|
-
popover="manual"
|
|
7403
|
-
>
|
|
7388
|
+
?isfullscreen="${this.isBibFullscreen}">
|
|
7404
7389
|
<div class="slotContent">
|
|
7405
7390
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
7406
7391
|
</div>
|
|
@@ -2,7 +2,6 @@ import { css, LitElement, html } from 'lit';
|
|
|
2
2
|
import { unsafeStatic, literal, html as html$1 } from 'lit/static-html.js';
|
|
3
3
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
4
4
|
import { classMap } from 'lit/directives/class-map.js';
|
|
5
|
-
import { createRef, ref } from 'lit/directives/ref.js';
|
|
6
5
|
|
|
7
6
|
var tokens = css`:host(:not([ondark])){--ds-auro-counter-border-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-counter-background-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-counter-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-counter-placeholder-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-counter-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-counter-error-icon-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-counter-outline-color: transparent;--ds-auro-counter-control-background-color: var(--ds-advanced-color-button-tertiary-background, rgba(0, 0, 0, 0.05));--ds-auro-counter-control-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-counter-description-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-counter-icon-color: var(--ds-advanced-color-button-tertiary-text, #01426a);--ds-auro-counter-quantity-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-counter-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15))}:host([ondark]){--ds-auro-counter-border-color: var(--ds-basic-color-border-inverse, #ffffff);--ds-auro-counter-background-color: var(--ds-advanced-color-shared-background-inverse, rgba(255, 255, 255, 0.15));--ds-auro-counter-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-counter-placeholder-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-counter-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-counter-error-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-counter-outline-color: transparent;--ds-auro-counter-control-background-color: var(--ds-advanced-color-button-tertiary-background-inverse, rgba(255, 255, 255, 0.05));--ds-auro-counter-control-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-counter-description-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-counter-icon-color: var(--ds-advanced-color-button-tertiary-text-inverse, #ffffff);--ds-auro-counter-quantity-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-counter-divider-color: var(--ds-basic-color-border-divider-inverse, rgba(255, 255, 255, 0.4))}`;
|
|
8
7
|
|
|
@@ -6252,7 +6251,7 @@ var shapeSizeCss = css`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic
|
|
|
6252
6251
|
|
|
6253
6252
|
var colorCss$1$1 = css`:host(:not([layout*=classic])){--ds-auro-dropdown-trigger-border-color: transparent}:host(:not([ondark])) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host(:not([ondark])) .wrapper:focus-within,:host(:not([ondark])) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host(:not([ondark])) .wrapper:hover{--ds-auro-dropdown-trigger-background-color: var(--ds-auro-dropdown-trigger-hover-background-color)}:host(:not([onDark])[disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([ondark])[error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]) .label,:host([onDark]) .helpText{color:var(--ds-auro-dropdown-label-text-color)}:host([onDark]) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host([onDark]) .wrapper:focus-within,:host([onDark]) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([onDark]) .wrapper:hover{--ds-auro-dropdown-trigger-background-color: var(--ds-auro-dropdown-trigger-hover-background-color)}:host([onDark][disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}:host([ondark][error]){--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
|
|
6254
6253
|
|
|
6255
|
-
var styleCss$1$1 = css`:host{position:relative;display:block;text-align:left;transform:translateZ(0)}
|
|
6254
|
+
var styleCss$1$1 = css`:host{position:relative;display:block;text-align:left;transform:translateZ(0)}:host([open]){z-index:var(--depth-tooltip, 400)}:host([open][isbibfullscreen]){position:fixed;top:0;left:0}.wrapper{display:flex;flex:1;flex-direction:row;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([matchwidth]) #bibSizer{width:100%}`;
|
|
6256
6255
|
|
|
6257
6256
|
var classicColorCss = css``;
|
|
6258
6257
|
|
|
@@ -6610,9 +6609,6 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
6610
6609
|
/** @private */
|
|
6611
6610
|
this.handleDropdownToggle = this.handleDropdownToggle.bind(this);
|
|
6612
6611
|
|
|
6613
|
-
/** @private */
|
|
6614
|
-
this.bibElement = createRef();
|
|
6615
|
-
|
|
6616
6612
|
this.privateDefaults();
|
|
6617
6613
|
}
|
|
6618
6614
|
|
|
@@ -7049,14 +7045,6 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
7049
7045
|
if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
|
|
7050
7046
|
this.handleTriggerContentSlotChange();
|
|
7051
7047
|
}
|
|
7052
|
-
|
|
7053
|
-
if (changedProperties.has('isPopoverVisible') && this.bibElement.value) {
|
|
7054
|
-
if (this.isPopoverVisible) {
|
|
7055
|
-
this.bibElement.value.showPopover();
|
|
7056
|
-
} else {
|
|
7057
|
-
this.bibElement.value.hidePopover();
|
|
7058
|
-
}
|
|
7059
|
-
}
|
|
7060
7048
|
}
|
|
7061
7049
|
|
|
7062
7050
|
/**
|
|
@@ -7397,10 +7385,7 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
7397
7385
|
id="bib"
|
|
7398
7386
|
shape="${this.shape}"
|
|
7399
7387
|
?data-show="${this.isPopoverVisible}"
|
|
7400
|
-
?isfullscreen="${this.isBibFullscreen}"
|
|
7401
|
-
${ref(this.bibElement)}
|
|
7402
|
-
popover="manual"
|
|
7403
|
-
>
|
|
7388
|
+
?isfullscreen="${this.isBibFullscreen}">
|
|
7404
7389
|
<div class="slotContent">
|
|
7405
7390
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
7406
7391
|
</div>
|