@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
|
@@ -95,46 +95,46 @@ function auroMenuLoadingExample() {
|
|
|
95
95
|
* Copyright 2019 Google LLC
|
|
96
96
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
97
97
|
*/
|
|
98
|
-
const t$2=globalThis,e$
|
|
98
|
+
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;
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
101
|
* @license
|
|
102
102
|
* Copyright 2017 Google LLC
|
|
103
103
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
104
|
-
*/const{is:i$4,defineProperty:e$
|
|
104
|
+
*/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");
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
107
|
* @license
|
|
108
108
|
* Copyright 2017 Google LLC
|
|
109
109
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
110
110
|
*/
|
|
111
|
-
const t$1=globalThis,i$3=t$1.trustedTypes,s$
|
|
111
|
+
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};
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
114
|
* @license
|
|
115
115
|
* Copyright 2017 Google LLC
|
|
116
116
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
117
|
-
*/const s$
|
|
117
|
+
*/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");
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
120
|
* @license
|
|
121
121
|
* Copyright 2017 Google LLC
|
|
122
122
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
123
123
|
*/
|
|
124
|
-
const t={ATTRIBUTE:1
|
|
124
|
+
const t={ATTRIBUTE:1},e$1=t=>(...e)=>({_$litDirective$:t,values:e});let i$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)}};
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* @license
|
|
128
128
|
* Copyright 2018 Google LLC
|
|
129
129
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
130
|
-
*/const e
|
|
130
|
+
*/const e=e$1(class extends i$1{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}});
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
133
|
* @license
|
|
134
134
|
* Copyright 2020 Google LLC
|
|
135
135
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
136
136
|
*/
|
|
137
|
-
const a=Symbol.for(""),o$
|
|
137
|
+
const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s=t=>({_$litStatic$:t,r:a}),i=(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);
|
|
138
138
|
|
|
139
139
|
let AuroElement$4 = class AuroElement extends i$2 {
|
|
140
140
|
static get properties() {
|
|
@@ -1132,7 +1132,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
1132
1132
|
*/
|
|
1133
1133
|
generateTag(baseName, version, tagClass) {
|
|
1134
1134
|
const elementName = this.generateElementName(baseName, version);
|
|
1135
|
-
const tag = i`${s
|
|
1135
|
+
const tag = i`${s(elementName)}`;
|
|
1136
1136
|
|
|
1137
1137
|
if (!customElements.get(elementName)) {
|
|
1138
1138
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -1142,24 +1142,6 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
1142
1142
|
}
|
|
1143
1143
|
};
|
|
1144
1144
|
|
|
1145
|
-
/**
|
|
1146
|
-
* @license
|
|
1147
|
-
* Copyright 2020 Google LLC
|
|
1148
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1149
|
-
*/const f$1=o=>void 0===o.strings;
|
|
1150
|
-
|
|
1151
|
-
/**
|
|
1152
|
-
* @license
|
|
1153
|
-
* Copyright 2017 Google LLC
|
|
1154
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1155
|
-
*/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$2=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$2(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$2(r[i]);else null!=r&&(s(r,false),o$2(r));else s(this,i);}const c=i=>{i.type==t.CHILD&&(i._$AP??=n$1,i._$AQ??=h$1);};class f extends i$1{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$2(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(){}}
|
|
1156
|
-
|
|
1157
|
-
/**
|
|
1158
|
-
* @license
|
|
1159
|
-
* Copyright 2020 Google LLC
|
|
1160
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1161
|
-
*/const e=()=>new h;class h{}const o$1=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$1.get(i);void 0===s&&(s=new WeakMap,o$1.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$1.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0);}reconnected(){this.rt(this.ct);}});
|
|
1162
|
-
|
|
1163
1145
|
/**
|
|
1164
1146
|
* @license
|
|
1165
1147
|
* Copyright 2018 Google LLC
|
|
@@ -3703,7 +3685,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
3703
3685
|
*/
|
|
3704
3686
|
generateTag(baseName, version, tagClass) {
|
|
3705
3687
|
const elementName = this.generateElementName(baseName, version);
|
|
3706
|
-
const tag = i`${s
|
|
3688
|
+
const tag = i`${s(elementName)}`;
|
|
3707
3689
|
|
|
3708
3690
|
if (!customElements.get(elementName)) {
|
|
3709
3691
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -4094,7 +4076,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
4094
4076
|
return x`
|
|
4095
4077
|
<div class="componentWrapper">
|
|
4096
4078
|
<div
|
|
4097
|
-
class="${e
|
|
4079
|
+
class="${e(svgClasses)}"
|
|
4098
4080
|
title="${o(this.title || undefined)}">
|
|
4099
4081
|
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
4100
4082
|
${this.customSvg ? x`
|
|
@@ -4106,7 +4088,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
4106
4088
|
</span>
|
|
4107
4089
|
</div>
|
|
4108
4090
|
|
|
4109
|
-
<div class="${e
|
|
4091
|
+
<div class="${e(labelClasses)}">
|
|
4110
4092
|
<slot></slot>
|
|
4111
4093
|
</div>
|
|
4112
4094
|
</div>
|
|
@@ -4306,7 +4288,7 @@ class AuroDropdownBib extends i$2 {
|
|
|
4306
4288
|
classes[`shape-${this.shape}`] = true;
|
|
4307
4289
|
|
|
4308
4290
|
return u`
|
|
4309
|
-
<div class="${e
|
|
4291
|
+
<div class="${e(classes)}" part="bibContainer">
|
|
4310
4292
|
<slot></slot>
|
|
4311
4293
|
</div>
|
|
4312
4294
|
`;
|
|
@@ -4319,7 +4301,7 @@ var shapeSizeCss = i$5`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic
|
|
|
4319
4301
|
|
|
4320
4302
|
var colorCss$1$2 = 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)}`;
|
|
4321
4303
|
|
|
4322
|
-
var styleCss$1$2 = i$5`:host{position:relative;display:block;text-align:left;transform:translateZ(0)}
|
|
4304
|
+
var styleCss$1$2 = 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%}`;
|
|
4323
4305
|
|
|
4324
4306
|
var classicColorCss = i$5``;
|
|
4325
4307
|
|
|
@@ -4677,9 +4659,6 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
4677
4659
|
/** @private */
|
|
4678
4660
|
this.handleDropdownToggle = this.handleDropdownToggle.bind(this);
|
|
4679
4661
|
|
|
4680
|
-
/** @private */
|
|
4681
|
-
this.bibElement = e();
|
|
4682
|
-
|
|
4683
4662
|
this.privateDefaults();
|
|
4684
4663
|
}
|
|
4685
4664
|
|
|
@@ -5116,14 +5095,6 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
5116
5095
|
if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
|
|
5117
5096
|
this.handleTriggerContentSlotChange();
|
|
5118
5097
|
}
|
|
5119
|
-
|
|
5120
|
-
if (changedProperties.has('isPopoverVisible') && this.bibElement.value) {
|
|
5121
|
-
if (this.isPopoverVisible) {
|
|
5122
|
-
this.bibElement.value.showPopover();
|
|
5123
|
-
} else {
|
|
5124
|
-
this.bibElement.value.hidePopover();
|
|
5125
|
-
}
|
|
5126
|
-
}
|
|
5127
5098
|
}
|
|
5128
5099
|
|
|
5129
5100
|
/**
|
|
@@ -5428,7 +5399,7 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
5428
5399
|
<div>
|
|
5429
5400
|
<div
|
|
5430
5401
|
id="trigger"
|
|
5431
|
-
class="${e
|
|
5402
|
+
class="${e(this.commonWrapperClasses)}" part="wrapper"
|
|
5432
5403
|
tabindex="${o(this.triggerContentFocusable ? undefined : this.tabIndex)}"
|
|
5433
5404
|
role="${o(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
5434
5405
|
aria-expanded="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
@@ -5456,7 +5427,7 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
5456
5427
|
</div>
|
|
5457
5428
|
` : undefined }
|
|
5458
5429
|
</div>
|
|
5459
|
-
<div class="${e
|
|
5430
|
+
<div class="${e(helpTextClasses)}">
|
|
5460
5431
|
<slot name="helpText"></slot>
|
|
5461
5432
|
</div>
|
|
5462
5433
|
<div id="bibSizer" part="size"></div>
|
|
@@ -5464,10 +5435,7 @@ class AuroDropdown extends AuroElement$3 {
|
|
|
5464
5435
|
id="bib"
|
|
5465
5436
|
shape="${this.shape}"
|
|
5466
5437
|
?data-show="${this.isPopoverVisible}"
|
|
5467
|
-
?isfullscreen="${this.isBibFullscreen}"
|
|
5468
|
-
${n(this.bibElement)}
|
|
5469
|
-
popover="manual"
|
|
5470
|
-
>
|
|
5438
|
+
?isfullscreen="${this.isBibFullscreen}">
|
|
5471
5439
|
<div class="slotContent">
|
|
5472
5440
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
5473
5441
|
</div>
|
|
@@ -5662,7 +5630,7 @@ class AuroDependencyVersioning {
|
|
|
5662
5630
|
*/
|
|
5663
5631
|
generateTag(baseName, version, tagClass) {
|
|
5664
5632
|
const elementName = this.generateElementName(baseName, version);
|
|
5665
|
-
const tag = i`${s
|
|
5633
|
+
const tag = i`${s(elementName)}`;
|
|
5666
5634
|
|
|
5667
5635
|
if (!customElements.get(elementName)) {
|
|
5668
5636
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -6741,7 +6709,7 @@ class AuroButton extends AuroElement$1 {
|
|
|
6741
6709
|
aria-labelledby="${o(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
|
|
6742
6710
|
tabindex="${o(this.tIndex || this.tabindex)}"
|
|
6743
6711
|
?autofocus="${this.autofocus}"
|
|
6744
|
-
class=${e
|
|
6712
|
+
class=${e(classes)}
|
|
6745
6713
|
?disabled="${this.disabled || this.loading}"
|
|
6746
6714
|
?onDark="${this.onDark}"
|
|
6747
6715
|
title="${o(this.title ? this.title : undefined)}"
|
|
@@ -6756,7 +6724,7 @@ class AuroButton extends AuroElement$1 {
|
|
|
6756
6724
|
>
|
|
6757
6725
|
${o(this.loading ? u`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
6758
6726
|
|
|
6759
|
-
<span class="${e
|
|
6727
|
+
<span class="${e(contentClasses)}">
|
|
6760
6728
|
<span class="textSlot" part="text">
|
|
6761
6729
|
<slot></slot>
|
|
6762
6730
|
</span>
|
|
@@ -7158,7 +7126,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
7158
7126
|
return x`
|
|
7159
7127
|
<div class="componentWrapper">
|
|
7160
7128
|
<div
|
|
7161
|
-
class="${e
|
|
7129
|
+
class="${e(svgClasses)}"
|
|
7162
7130
|
title="${o(this.title || undefined)}">
|
|
7163
7131
|
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
7164
7132
|
${this.customSvg ? x`
|
|
@@ -7170,7 +7138,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
7170
7138
|
</span>
|
|
7171
7139
|
</div>
|
|
7172
7140
|
|
|
7173
|
-
<div class="${e
|
|
7141
|
+
<div class="${e(labelClasses)}">
|
|
7174
7142
|
<slot></slot>
|
|
7175
7143
|
</div>
|
|
7176
7144
|
</div>
|
|
@@ -7343,10 +7311,10 @@ class AuroHeader extends i$2 {
|
|
|
7343
7311
|
});
|
|
7344
7312
|
}
|
|
7345
7313
|
|
|
7346
|
-
const headerClasses = e
|
|
7314
|
+
const headerClasses = e(classObject);
|
|
7347
7315
|
|
|
7348
7316
|
// unsafeStatic dynamically creates tag names at runtime
|
|
7349
|
-
const tag = s
|
|
7317
|
+
const tag = s(`h${headingLevel}`);
|
|
7350
7318
|
return u`<${tag} class="${headerClasses}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
|
|
7351
7319
|
}
|
|
7352
7320
|
|
|
@@ -8901,17 +8869,17 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8901
8869
|
<slot name="typeIcon"></slot>
|
|
8902
8870
|
</div>
|
|
8903
8871
|
<div class="mainContent">
|
|
8904
|
-
<div class="${e
|
|
8905
|
-
<label class="${e
|
|
8872
|
+
<div class="${e(valueContainerClasses)}">
|
|
8873
|
+
<label class="${e(this.commonLabelClasses)}">
|
|
8906
8874
|
<slot name="label"></slot>
|
|
8907
8875
|
${this.required ? undefined : u`<slot name="optionalLabel"> (optional)</slot>`}
|
|
8908
8876
|
</label>
|
|
8909
8877
|
<div class="value" id="value"></div>
|
|
8910
|
-
<div id="placeholder" class="${e
|
|
8878
|
+
<div id="placeholder" class="${e(placeholderClass)}">
|
|
8911
8879
|
${this.placeholder}
|
|
8912
8880
|
</div>
|
|
8913
8881
|
</div>
|
|
8914
|
-
<div class="${e
|
|
8882
|
+
<div class="${e(displayValueClasses)}" aria-hidden="true" part="displayValue">
|
|
8915
8883
|
<slot name="displayValue"></slot>
|
|
8916
8884
|
</div>
|
|
8917
8885
|
</div>
|
|
@@ -8979,17 +8947,17 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8979
8947
|
<slot name="typeIcon"></slot>
|
|
8980
8948
|
</div>
|
|
8981
8949
|
<div class="mainContent">
|
|
8982
|
-
<div class="${e
|
|
8983
|
-
<label class="${e
|
|
8950
|
+
<div class="${e(valueContainerClasses)}">
|
|
8951
|
+
<label class="${e(this.commonLabelClasses)}">
|
|
8984
8952
|
<slot name="label"></slot>
|
|
8985
8953
|
${this.required ? undefined : u`<slot name="optionalLabel"> (optional)</slot>`}
|
|
8986
8954
|
</label>
|
|
8987
8955
|
<div class="value body-default" id="value"></div>
|
|
8988
|
-
<div id="placeholder" class="${e
|
|
8956
|
+
<div id="placeholder" class="${e(placeholderClass)}">
|
|
8989
8957
|
${this.placeholder}
|
|
8990
8958
|
</div>
|
|
8991
8959
|
</div>
|
|
8992
|
-
<div class="${e
|
|
8960
|
+
<div class="${e(displayValueClasses)}" aria-hidden="true" part="displayValue">
|
|
8993
8961
|
<slot name="displayValue"></slot>
|
|
8994
8962
|
</div>
|
|
8995
8963
|
</div>
|
|
@@ -9063,17 +9031,17 @@ class AuroSelect extends AuroElement$4 {
|
|
|
9063
9031
|
<slot name="typeIcon"></slot>
|
|
9064
9032
|
</div>
|
|
9065
9033
|
<div class="mainContent">
|
|
9066
|
-
<div class="${e
|
|
9067
|
-
<label class="${e
|
|
9034
|
+
<div class="${e(valueContainerClasses)}">
|
|
9035
|
+
<label class="${e(this.commonLabelClasses)}">
|
|
9068
9036
|
<slot name="label"></slot>
|
|
9069
9037
|
${this.required ? undefined : u`<slot name="optionalLabel"> (optional)</slot>`}
|
|
9070
9038
|
</label>
|
|
9071
|
-
<div class="${e
|
|
9072
|
-
<div id="placeholder" class="${e
|
|
9039
|
+
<div class="${e(valueClasses)}" id="value"></div>
|
|
9040
|
+
<div id="placeholder" class="${e(placeholderClass)}">
|
|
9073
9041
|
${this.placeholder}
|
|
9074
9042
|
</div>
|
|
9075
9043
|
</div>
|
|
9076
|
-
<div class="${e
|
|
9044
|
+
<div class="${e(displayValueClasses)}" aria-hidden="true" part="displayValue">
|
|
9077
9045
|
<slot name="displayValue"></slot>
|
|
9078
9046
|
</div>
|
|
9079
9047
|
</div>
|
|
@@ -9400,11 +9368,17 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9400
9368
|
}
|
|
9401
9369
|
}
|
|
9402
9370
|
|
|
9371
|
+
// eslint-disable-next-line complexity
|
|
9403
9372
|
updated(changedProperties) {
|
|
9404
9373
|
super.updated(changedProperties);
|
|
9405
9374
|
|
|
9406
9375
|
if (changedProperties.has('optionSelected')) {
|
|
9407
|
-
|
|
9376
|
+
const old = changedProperties.get('optionSelected');
|
|
9377
|
+
if ((old && this.optionSelected && old.value !== this.optionSelected.value) ||
|
|
9378
|
+
(!old && this.optionSelected) ||
|
|
9379
|
+
(old && !this.optionSelected)) {
|
|
9380
|
+
this.notifySelectionChange();
|
|
9381
|
+
}
|
|
9408
9382
|
}
|
|
9409
9383
|
|
|
9410
9384
|
if (changedProperties.has('multiSelect') && !changedProperties.has("value")) {
|
|
@@ -9971,7 +9945,7 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9971
9945
|
* @private
|
|
9972
9946
|
*/
|
|
9973
9947
|
get wrapperClasses() {
|
|
9974
|
-
return e
|
|
9948
|
+
return e({
|
|
9975
9949
|
'menuWrapper': true,
|
|
9976
9950
|
[this.size]: true,
|
|
9977
9951
|
});
|
|
@@ -10393,7 +10367,7 @@ class AuroIcon extends BaseIcon {
|
|
|
10393
10367
|
return x`
|
|
10394
10368
|
<div class="componentWrapper">
|
|
10395
10369
|
<div
|
|
10396
|
-
class="${e
|
|
10370
|
+
class="${e(svgClasses)}"
|
|
10397
10371
|
title="${o(this.title || undefined)}">
|
|
10398
10372
|
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
10399
10373
|
${this.customSvg ? x`
|
|
@@ -10405,7 +10379,7 @@ class AuroIcon extends BaseIcon {
|
|
|
10405
10379
|
</span>
|
|
10406
10380
|
</div>
|
|
10407
10381
|
|
|
10408
|
-
<div class="${e
|
|
10382
|
+
<div class="${e(labelClasses)}">
|
|
10409
10383
|
<slot></slot>
|
|
10410
10384
|
</div>
|
|
10411
10385
|
</div>
|
|
@@ -10576,7 +10550,7 @@ class AuroMenuOption extends AuroElement$4 {
|
|
|
10576
10550
|
xl: 'body-lg'
|
|
10577
10551
|
};
|
|
10578
10552
|
|
|
10579
|
-
const classes = e
|
|
10553
|
+
const classes = e({
|
|
10580
10554
|
'wrapper': true,
|
|
10581
10555
|
[this.size ? fontClassMap[this.size] : 'body-sm']: true,
|
|
10582
10556
|
});
|