@loadsmart/miranda-wc
Advanced tools
Comparing version 1.6.0 to 1.7.0
export * from './box'; | ||
export * from './group'; | ||
export * from './stack'; | ||
export * from './grid'; | ||
export type { JustifyContentValue, AlignItemsValue } from './layout.types'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
const t=window,o=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap;class i{constructor(t,o,r){if(this._$cssResult$=!0,r!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const n=this.t;if(o&&void 0===t){const o=void 0!==n&&1===n.length;o&&(t=r.get(n)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&r.set(n,t))}return t}toString(){return this.cssText}}const e=t=>new i("string"==typeof t?t:t+"",void 0,n),s=(t,...o)=>{const r=1===t.length?t[0]:o.reduce(((o,n,r)=>o+(t=>{if(!0===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.")})(n)+t[r+1]),t[0]);return new i(r,t,n)},l=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const n of t.cssRules)o+=n.cssText;return e(o)})(t):t | ||
const t=window,o=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap;class i{constructor(t,o,r){if(this._$cssResult$=!0,r!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const n=this.t;if(o&&void 0===t){const o=void 0!==n&&1===n.length;o&&(t=r.get(n)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&r.set(n,t))}return t}toString(){return this.cssText}}const e=t=>new i("string"==typeof t?t:t+"",void 0,n),s=(t,...o)=>{const r=1===t.length?t[0]:o.reduce(((o,n,r)=>o+(t=>{if(!0===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.")})(n)+t[r+1]),t[0]);return new i(r,t,n)},a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const n of t.cssRules)o+=n.cssText;return e(o)})(t):t | ||
/** | ||
@@ -12,3 +12,3 @@ * @license | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/;var a;const d=window,c=d.trustedTypes,u=c?c.emptyScript:"",h=d.reactiveElementPolyfillSupport,b={toAttribute(t,o){switch(o){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let n=t;switch(o){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},m=(t,o)=>o!==t&&(o==o||t==t),g={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:m};class p extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;null!==(o=this.h)&&void 0!==o||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,n)=>{const r=this._$Ep(n,o);void 0!==r&&(this._$Ev.set(r,n),t.push(r))})),t}static createProperty(t,o=g){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const n="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,n,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,n){return{get(){return this[o]},set(r){const i=this[t];this[o]=r,this.requestUpdate(t,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||g}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const n of o)this.createProperty(n,t[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const t of n)o.unshift(l(t))}else void 0!==t&&o.push(l(t));return o}static _$Ep(t,o){const n=o.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,n;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(n=t.hostConnected)||void 0===n||n.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var n;const r=null!==(n=this.shadowRoot)&&void 0!==n?n:this.attachShadow(this.constructor.shadowRootOptions);return((n,r)=>{o?n.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):r.forEach((o=>{const r=document.createElement("style"),i=t.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=o.cssText,n.appendChild(r)}))})(r,this.constructor.elementStyles),r}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o,n=g){var r;const i=this.constructor._$Ep(t,n);if(void 0!==i&&!0===n.reflect){const e=(void 0!==(null===(r=n.converter)||void 0===r?void 0:r.toAttribute)?n.converter:b).toAttribute(o,n.type);this._$El=t,null==e?this.removeAttribute(i):this.setAttribute(i,e),this._$El=null}}_$AK(t,o){var n;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),e="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(n=t.converter)||void 0===n?void 0:n.fromAttribute)?t.converter:b;this._$El=i,this[i]=e.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,n){let r=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===n.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,n))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const n=this._$AL;try{o=this.shouldUpdate(n),o?(this.willUpdate(n),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(n)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(n)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}} | ||
*/;var l;const d=window,c=d.trustedTypes,u=c?c.emptyScript:"",h=d.reactiveElementPolyfillSupport,b={toAttribute(t,o){switch(o){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let n=t;switch(o){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},m=(t,o)=>o!==t&&(o==o||t==t),g={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:m};class p extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;null!==(o=this.h)&&void 0!==o||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,n)=>{const r=this._$Ep(n,o);void 0!==r&&(this._$Ev.set(r,n),t.push(r))})),t}static createProperty(t,o=g){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const n="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,n,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,n){return{get(){return this[o]},set(r){const i=this[t];this[o]=r,this.requestUpdate(t,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||g}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const n of o)this.createProperty(n,t[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const t of n)o.unshift(a(t))}else void 0!==t&&o.push(a(t));return o}static _$Ep(t,o){const n=o.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,n;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(n=t.hostConnected)||void 0===n||n.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var n;const r=null!==(n=this.shadowRoot)&&void 0!==n?n:this.attachShadow(this.constructor.shadowRootOptions);return((n,r)=>{o?n.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):r.forEach((o=>{const r=document.createElement("style"),i=t.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=o.cssText,n.appendChild(r)}))})(r,this.constructor.elementStyles),r}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o,n=g){var r;const i=this.constructor._$Ep(t,n);if(void 0!==i&&!0===n.reflect){const e=(void 0!==(null===(r=n.converter)||void 0===r?void 0:r.toAttribute)?n.converter:b).toAttribute(o,n.type);this._$El=t,null==e?this.removeAttribute(i):this.setAttribute(i,e),this._$El=null}}_$AK(t,o){var n;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),e="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(n=t.converter)||void 0===n?void 0:n.fromAttribute)?t.converter:b;this._$El=i,this[i]=e.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,n){let r=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===n.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,n))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const n=this._$AL;try{o=this.shouldUpdate(n),o?(this.willUpdate(n),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(n)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(n)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}} | ||
/** | ||
@@ -19,3 +19,3 @@ * @license | ||
*/ | ||
var f;p.finalized=!0,p.elementProperties=new Map,p.elementStyles=[],p.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:p}),(null!==(a=d.reactiveElementVersions)&&void 0!==a?a:d.reactiveElementVersions=[]).push("1.4.1");const $=window,y=$.trustedTypes,v=y?y.createPolicy("lit-html",{createHTML:t=>t}):void 0,x=`lit$${(Math.random()+"").slice(9)}$`,w="?"+x,k=`<${w}>`,z=document,S=(t="")=>z.createComment(t),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,M=/>/g,E=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),O=/'/g,T=/"/g,U=/^(?:script|style|textarea|title)$/i,R=(t=>(o,...n)=>({_$litType$:t,strings:o,values:n}))(1),N=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),D=new WeakMap,I=z.createTreeWalker(z,129,null,!1),B=(t,o)=>{const n=t.length-1,r=[];let i,e=2===o?"<svg>":"",s=_;for(let o=0;o<n;o++){const n=t[o];let l,a,d=-1,c=0;for(;c<n.length&&(s.lastIndex=c,a=s.exec(n),null!==a);)c=s.lastIndex,s===_?"!--"===a[1]?s=C:void 0!==a[1]?s=M:void 0!==a[2]?(U.test(a[2])&&(i=RegExp("</"+a[2],"g")),s=E):void 0!==a[3]&&(s=E):s===E?">"===a[0]?(s=null!=i?i:_,d=-1):void 0===a[1]?d=-2:(d=s.lastIndex-a[2].length,l=a[1],s=void 0===a[3]?E:'"'===a[3]?T:O):s===T||s===O?s=E:s===C||s===M?s=_:(s=E,i=void 0);const u=s===E&&t[o+1].startsWith("/>")?" ":"";e+=s===_?n+k:d>=0?(r.push(l),n.slice(0,d)+"$lit$"+n.slice(d)+x+u):n+x+(-2===d?(r.push(void 0),o):u)}const l=e+(t[n]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==v?v.createHTML(l):l,r]};class L{constructor({strings:t,_$litType$:o},n){let r;this.parts=[];let i=0,e=0;const s=t.length-1,l=this.parts,[a,d]=B(t,o);if(this.el=L.createElement(a,n),I.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=I.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith("$lit$")||o.startsWith(x)){const n=d[e++];if(t.push(o),void 0!==n){const t=r.getAttribute(n.toLowerCase()+"$lit$").split(x),o=/([.?@])?(.*)/.exec(n);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?q:"?"===o[1]?V:"@"===o[1]?F:H})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(U.test(r.tagName)){const t=r.textContent.split(x),o=t.length-1;if(o>0){r.textContent=y?y.emptyScript:"";for(let n=0;n<o;n++)r.append(t[n],S()),I.nextNode(),l.push({type:2,index:++i});r.append(t[o],S())}}}else if(8===r.nodeType)if(r.data===w)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(x,t+1));)l.push({type:7,index:i}),t+=x.length-1}i++}}static createElement(t,o){const n=z.createElement("template");return n.innerHTML=t,n}}function W(t,o,n=t,r){var i,e,s,l;if(o===N)return o;let a=void 0!==r?null===(i=n._$Cl)||void 0===i?void 0:i[r]:n._$Cu;const d=A(o)?void 0:o._$litDirective$;return(null==a?void 0:a.constructor)!==d&&(null===(e=null==a?void 0:a._$AO)||void 0===e||e.call(a,!1),void 0===d?a=void 0:(a=new d(t),a._$AT(t,n,r)),void 0!==r?(null!==(s=(l=n)._$Cl)&&void 0!==s?s:l._$Cl=[])[r]=a:n._$Cu=a),void 0!==a&&(o=W(t,a._$AS(t,o.values),a,r)),o}class J{constructor(t,o){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var o;const{el:{content:n},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:z).importNode(n,!0);I.currentNode=i;let e=I.nextNode(),s=0,l=0,a=r[0];for(;void 0!==a;){if(s===a.index){let o;2===a.type?o=new Z(e,e.nextSibling,this,t):1===a.type?o=new a.ctor(e,a.name,a.strings,this,t):6===a.type&&(o=new G(e,this,t)),this.v.push(o),a=r[++l]}s!==(null==a?void 0:a.index)&&(e=I.nextNode(),s++)}return i}m(t){let o=0;for(const n of this.v)void 0!==n&&(void 0!==n.strings?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}}class Z{constructor(t,o,n,r){var i;this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=r,this._$C_=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$C_}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=W(this,t,o),A(t)?t===P||null==t||""===t?(this._$AH!==P&&this._$AR(),this._$AH=P):t!==this._$AH&&t!==N&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>j(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.O(t):this.$(t)}S(t,o=this._$AB){return this._$AA.parentNode.insertBefore(t,o)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}$(t){this._$AH!==P&&A(this._$AH)?this._$AA.nextSibling.data=t:this.k(z.createTextNode(t)),this._$AH=t}T(t){var o;const{values:n,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=L.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.m(n);else{const t=new J(i,this),o=t.p(this.options);t.m(n),this.k(o),this._$AH=t}}_$AC(t){let o=D.get(t.strings);return void 0===o&&D.set(t.strings,o=new L(t)),o}O(t){j(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let n,r=0;for(const i of t)r===o.length?o.push(n=new Z(this.S(S()),this.S(S()),this,this.options)):n=o[r],n._$AI(i),r++;r<o.length&&(this._$AR(n&&n._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$C_=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class H{constructor(t,o,n,r,i){this.type=1,this._$AH=P,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=P}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,n,r){const i=this.strings;let e=!1;if(void 0===i)t=W(this,t,o,0),e=!A(t)||t!==this._$AH&&t!==N,e&&(this._$AH=t);else{const r=t;let s,l;for(t=i[0],s=0;s<i.length-1;s++)l=W(this,r[n+s],o,s),l===N&&(l=this._$AH[s]),e||(e=!A(l)||l!==this._$AH[s]),l===P?t=P:t!==P&&(t+=(null!=l?l:"")+i[s+1]),this._$AH[s]=l}e&&!r&&this.P(t)}P(t){t===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class q extends H{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===P?void 0:t}}const K=y?y.emptyScript:"";class V extends H{constructor(){super(...arguments),this.type=4}P(t){t&&t!==P?this.element.setAttribute(this.name,K):this.element.removeAttribute(this.name)}}class F extends H{constructor(t,o,n,r,i){super(t,o,n,r,i),this.type=5}_$AI(t,o=this){var n;if((t=null!==(n=W(this,t,o,0))&&void 0!==n?n:P)===N)return;const r=this._$AH,i=t===P&&r!==P||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,e=t!==P&&(r===P||i);i&&this.element.removeEventListener(this.name,this,r),e&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==n?n:this.element,t):this._$AH.handleEvent(t)}}class G{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){W(this,t)}}const Q=$.litHtmlPolyfillSupport; | ||
var f;p.finalized=!0,p.elementProperties=new Map,p.elementStyles=[],p.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:p}),(null!==(l=d.reactiveElementVersions)&&void 0!==l?l:d.reactiveElementVersions=[]).push("1.4.1");const $=window,y=$.trustedTypes,v=y?y.createPolicy("lit-html",{createHTML:t=>t}):void 0,x=`lit$${(Math.random()+"").slice(9)}$`,w="?"+x,k=`<${w}>`,z=document,S=(t="")=>z.createComment(t),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,M=/>/g,E=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),O=/'/g,T=/"/g,U=/^(?:script|style|textarea|title)$/i,R=(t=>(o,...n)=>({_$litType$:t,strings:o,values:n}))(1),N=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),W=new WeakMap,D=z.createTreeWalker(z,129,null,!1),I=(t,o)=>{const n=t.length-1,r=[];let i,e=2===o?"<svg>":"",s=C;for(let o=0;o<n;o++){const n=t[o];let a,l,d=-1,c=0;for(;c<n.length&&(s.lastIndex=c,l=s.exec(n),null!==l);)c=s.lastIndex,s===C?"!--"===l[1]?s=_:void 0!==l[1]?s=M:void 0!==l[2]?(U.test(l[2])&&(i=RegExp("</"+l[2],"g")),s=E):void 0!==l[3]&&(s=E):s===E?">"===l[0]?(s=null!=i?i:C,d=-1):void 0===l[1]?d=-2:(d=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?E:'"'===l[3]?T:O):s===T||s===O?s=E:s===_||s===M?s=C:(s=E,i=void 0);const u=s===E&&t[o+1].startsWith("/>")?" ":"";e+=s===C?n+k:d>=0?(r.push(a),n.slice(0,d)+"$lit$"+n.slice(d)+x+u):n+x+(-2===d?(r.push(void 0),o):u)}const a=e+(t[n]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==v?v.createHTML(a):a,r]};class B{constructor({strings:t,_$litType$:o},n){let r;this.parts=[];let i=0,e=0;const s=t.length-1,a=this.parts,[l,d]=I(t,o);if(this.el=B.createElement(l,n),D.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=D.nextNode())&&a.length<s;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith("$lit$")||o.startsWith(x)){const n=d[e++];if(t.push(o),void 0!==n){const t=r.getAttribute(n.toLowerCase()+"$lit$").split(x),o=/([.?@])?(.*)/.exec(n);a.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?H:"?"===o[1]?K:"@"===o[1]?V:Z})}else a.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(U.test(r.tagName)){const t=r.textContent.split(x),o=t.length-1;if(o>0){r.textContent=y?y.emptyScript:"";for(let n=0;n<o;n++)r.append(t[n],S()),D.nextNode(),a.push({type:2,index:++i});r.append(t[o],S())}}}else if(8===r.nodeType)if(r.data===w)a.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(x,t+1));)a.push({type:7,index:i}),t+=x.length-1}i++}}static createElement(t,o){const n=z.createElement("template");return n.innerHTML=t,n}}function L(t,o,n=t,r){var i,e,s,a;if(o===N)return o;let l=void 0!==r?null===(i=n._$Cl)||void 0===i?void 0:i[r]:n._$Cu;const d=A(o)?void 0:o._$litDirective$;return(null==l?void 0:l.constructor)!==d&&(null===(e=null==l?void 0:l._$AO)||void 0===e||e.call(l,!1),void 0===d?l=void 0:(l=new d(t),l._$AT(t,n,r)),void 0!==r?(null!==(s=(a=n)._$Cl)&&void 0!==s?s:a._$Cl=[])[r]=l:n._$Cu=l),void 0!==l&&(o=L(t,l._$AS(t,o.values),l,r)),o}class G{constructor(t,o){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var o;const{el:{content:n},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:z).importNode(n,!0);D.currentNode=i;let e=D.nextNode(),s=0,a=0,l=r[0];for(;void 0!==l;){if(s===l.index){let o;2===l.type?o=new J(e,e.nextSibling,this,t):1===l.type?o=new l.ctor(e,l.name,l.strings,this,t):6===l.type&&(o=new F(e,this,t)),this.v.push(o),l=r[++a]}s!==(null==l?void 0:l.index)&&(e=D.nextNode(),s++)}return i}m(t){let o=0;for(const n of this.v)void 0!==n&&(void 0!==n.strings?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}}class J{constructor(t,o,n,r){var i;this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=r,this._$C_=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$C_}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=L(this,t,o),A(t)?t===P||null==t||""===t?(this._$AH!==P&&this._$AR(),this._$AH=P):t!==this._$AH&&t!==N&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>j(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.O(t):this.$(t)}S(t,o=this._$AB){return this._$AA.parentNode.insertBefore(t,o)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}$(t){this._$AH!==P&&A(this._$AH)?this._$AA.nextSibling.data=t:this.k(z.createTextNode(t)),this._$AH=t}T(t){var o;const{values:n,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=B.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.m(n);else{const t=new G(i,this),o=t.p(this.options);t.m(n),this.k(o),this._$AH=t}}_$AC(t){let o=W.get(t.strings);return void 0===o&&W.set(t.strings,o=new B(t)),o}O(t){j(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let n,r=0;for(const i of t)r===o.length?o.push(n=new J(this.S(S()),this.S(S()),this,this.options)):n=o[r],n._$AI(i),r++;r<o.length&&(this._$AR(n&&n._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$C_=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class Z{constructor(t,o,n,r,i){this.type=1,this._$AH=P,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=P}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,n,r){const i=this.strings;let e=!1;if(void 0===i)t=L(this,t,o,0),e=!A(t)||t!==this._$AH&&t!==N,e&&(this._$AH=t);else{const r=t;let s,a;for(t=i[0],s=0;s<i.length-1;s++)a=L(this,r[n+s],o,s),a===N&&(a=this._$AH[s]),e||(e=!A(a)||a!==this._$AH[s]),a===P?t=P:t!==P&&(t+=(null!=a?a:"")+i[s+1]),this._$AH[s]=a}e&&!r&&this.P(t)}P(t){t===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class H extends Z{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===P?void 0:t}}const q=y?y.emptyScript:"";class K extends Z{constructor(){super(...arguments),this.type=4}P(t){t&&t!==P?this.element.setAttribute(this.name,q):this.element.removeAttribute(this.name)}}class V extends Z{constructor(t,o,n,r,i){super(t,o,n,r,i),this.type=5}_$AI(t,o=this){var n;if((t=null!==(n=L(this,t,o,0))&&void 0!==n?n:P)===N)return;const r=this._$AH,i=t===P&&r!==P||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,e=t!==P&&(r===P||i);i&&this.element.removeEventListener(this.name,this,r),e&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==n?n:this.element,t):this._$AH.handleEvent(t)}}class F{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){L(this,t)}}const Q=$.litHtmlPolyfillSupport; | ||
/** | ||
@@ -26,3 +26,3 @@ * @license | ||
*/ | ||
var X,Y;null==Q||Q(L,Z),(null!==(f=$.litHtmlVersions)&&void 0!==f?f:$.litHtmlVersions=[]).push("2.3.1");class tt extends p{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const n=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=n.firstChild),n}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,n)=>{var r,i;const e=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:o;let s=e._$litPart$;if(void 0===s){const t=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:null;e._$litPart$=s=new Z(o.insertBefore(S(),t),t,void 0,null!=n?n:{})}return s._$AI(t),s})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return N}}tt.finalized=!0,tt._$litElement$=!0,null===(X=globalThis.litElementHydrateSupport)||void 0===X||X.call(globalThis,{LitElement:tt});const ot=globalThis.litElementPolyfillSupport;null==ot||ot({LitElement:tt}),(null!==(Y=globalThis.litElementVersions)&&void 0!==Y?Y:globalThis.litElementVersions=[]).push("3.2.2"); | ||
var X,Y;null==Q||Q(B,J),(null!==(f=$.litHtmlVersions)&&void 0!==f?f:$.litHtmlVersions=[]).push("2.3.1");class tt extends p{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const n=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=n.firstChild),n}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,n)=>{var r,i;const e=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:o;let s=e._$litPart$;if(void 0===s){const t=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:null;e._$litPart$=s=new J(o.insertBefore(S(),t),t,void 0,null!=n?n:{})}return s._$AI(t),s})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return N}}tt.finalized=!0,tt._$litElement$=!0,null===(X=globalThis.litElementHydrateSupport)||void 0===X||X.call(globalThis,{LitElement:tt});const ot=globalThis.litElementPolyfillSupport;null==ot||ot({LitElement:tt}),(null!==(Y=globalThis.litElementVersions)&&void 0!==Y?Y:globalThis.litElementVersions=[]).push("3.2.2"); | ||
/** | ||
@@ -43,6 +43,6 @@ * @license | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/var lt,at={},dt={};dt.LoadsmartTheme={"brand-color-brand":"20, 214, 77","brand-color-brand-accent-1":"0, 215, 215","brand-color-brand-accent-2":"132, 241, 30","border-radius-none":"0px","border-radius-s":"4px","border-radius-m":"8px","border-radius-l":"16px","border-radius-circle":"50%","border-none":0,"border-thin":"1px","border-medium":"2px","border-thick":"4px","color-background-primary":"252, 252, 255","color-background-secondary":"248, 249, 251","color-background-tertiary":"230, 237, 242","color-background-highlight":"202, 219, 221","color-background-inverted":"32, 41, 49","color-background-secondary-inverted":"61, 74, 85","color-border":"193, 206, 217","color-divider":"230, 237, 242","color-brand":"20, 214, 77","color-brand-accent-1":"0, 215, 215","color-brand-accent-2":"132, 241, 30","color-primary-20":"202, 219, 221","color-primary-60":"0, 84, 84","color-primary-100":"0, 51, 51","color-accent-20":"229, 245, 255","color-accent-60":"0, 98, 159","color-accent-100":"15, 66, 97","color-neutral-0":"252, 252, 255","color-neutral-10":"248, 249, 251","color-neutral-20":"230, 237, 242","color-neutral-40":"193, 206, 217","color-neutral-60":"94, 118, 138","color-neutral-80":"92, 106, 118","color-neutral-90":"61, 74, 85","color-neutral-100":"32, 41, 49","color-success-20":"227, 247, 239","color-success-60":"3, 124, 94","color-success-100":"0, 94, 71","color-danger-20":"255, 233, 230","color-danger-60":"186, 27, 27","color-danger-100":"104, 0, 3","color-warning-20":"255, 243, 214","color-warning-60":"248, 182, 14","color-warning-100":"102, 63, 25","color-text-primary":"32, 41, 49","color-text-secondary":"61, 74, 85","color-text-tertiary":"92, 106, 118","color-text-placeholder":"94, 118, 138","color-text-disabled":"193, 206, 217","color-text-inverted":"252, 252, 255","color-text-secondary-inverted":"193, 206, 217","color-text-error":"186, 27, 27","color-text-highlight":"0, 98, 159","color-text-link":"0, 98, 159","font-family-default":"'Manrope', sans-serif","font-family-title":"'PlusJakartaSans', 'Manrope', sans-serif","font-size-1":"1.625rem","font-size-2":"1.25rem","font-size-3":"1rem","font-size-4":"0.875rem","font-size-5":"0.75rem","font-size-6":"0.625rem","font-weight-regular":500,"font-weight-medium":600,"font-weight-bold":700,"line-height-1":"100%","line-height-2":"125%","line-height-3":"130%","line-height-4":"140%","line-height-5":"150%","opacity-0":"0%","opacity-20":"20%","opacity-40":"40%","opacity-60":"60%","opacity-100":"100%","elevation-1":"0px 0px 2px rgba(94, 118, 138, 0.1), 0px 1px 6px 2px rgba(61, 74, 85, 0.15)","elevation-2":"0px 1px 3px rgba(94, 118, 138, 0.2), 0px 4px 8px 3px rgba(61, 74, 85, 0.15)","elevation-3":"0px 0px 4px rgba(94, 118, 138, 0.2), 0px 6px 12px 6px rgba(61, 74, 85, 0.15)","elevation-4":"0px 5px 6px 4px rgba(94, 118, 138, 0.2), 0px 8px 10px rgba(61, 74, 85, 0.1)","glow-primary":"0.0px 0.0px 4.0px 0px rgb(3, 124, 94, .5)","glow-warning":"0.0px 0.0px 4.0px 0px rgba(255, 206, 79, 1.0)","spacing-1":"4px","spacing-2":"8px","spacing-3":"12px","spacing-4":"16px","spacing-5":"20px","spacing-6":"24px","spacing-8":"32px","spacing-10":"40px","spacing-12":"48px","spacing-14":"56px","spacing-16":"64px","spacing-20":"80px","spacing-30":"120px","spacing-0-5":"2px","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'PlusJakartaSans', 'Manrope', sans-serif"},Object.defineProperty(at,"i",{value:!0});var ct=dt;function ut(t){return ct.LoadsmartTheme[t]}function ht(t){var o=ut(t);return null==o?o:"--m-".concat(t)}var bt=Object.keys(ct.LoadsmartTheme).filter((function(t){return!t.startsWith("brand-")&&!t.startsWith("platform-")}));function mt(t){return bt.filter((function(o){return o.startsWith(t)}))}var gt=mt("color-"),pt=mt("color-background-"),ft=mt("spacing-"),$t=mt("font-family-"),yt=mt("font-size-"),vt=mt("font-weight-"),xt=mt("line-height-"),wt=mt("border-"),kt=mt("border-radius-"),zt=mt("opacity-"),St=mt("elevation-"),At=mt("glow-");function jt(t){return e(`\n\t\t${function(t){return e(`\n\t\tmargin-inline-end: ${t}\n\t`)}(t)};\n\t\t${function(t){return e(`\n\t\tmargin-inline-start: ${t}\n\t`)}(t)}\n\t`)}function _t(t){return e(`\n\t\t${function(t){return e(`\n\t\tmargin-block-start: ${t}\n\t`)}(t)};\n\t\t${function(t){return e(`\n\t\tmargin-block-end: ${t}\n\t`)}(t)}\n\t`)}function Ct(t){return e(`\n\t\t${function(t){return e(`\n\t\tpadding-inline-end: ${t}\n\t`)}(t)};\n\t\t${function(t){return e(`\n\t\tpadding-inline-start: ${t}\n\t`)}(t)}\n\t`)}function Mt(t){return e(`\n\t\t${function(t){return e(`\n\t\tpadding-block-start: ${t}\n\t`)}(t)};\n\t\t${function(t){return e(`\n\t\tpadding-block-end: ${t}\n\t`)}(t)}\n\t`)}at.BACKGROUND_COLOR_TOKENS=pt,at.BORDER_RADIUS_TOKENS=kt,at.BORDER_TOKENS=wt,at.BORDER_WIDTH_TOKENS=["border-none","border-thin","border-medium","border-thick"],at.COLOR_TOKENS=gt,at.ELEVATION_TOKENS=St,at.FONT_FAMILY_TOKENS=$t,at.FONT_SIZE_TOKENS=yt,at.FONT_WEIGHT_TOKENS=vt,at.GLOW_TOKENS=At,at.LINE_HEIGHT_TOKENS=xt,at.OPACITY_TOKENS=zt,at.SPACING_TOKENS=ft,at.TOKENS=bt,at.getToken=ut,lt=at.toCSSValue=function(t,o){var n=ut(t);return null==n?"":t.startsWith("color-")?"rgba(var(".concat(ht(t),", ").concat(n,"), ").concat(null!=o?o:1,")"):"var(".concat(ht(t),", ").concat(n,")")},at.toCSSVariable=ht;var Et=function(t){return null==t?[]:Array.isArray(t)?t:[t]};const Ot={property:"all",delay:"0s",duration:"0.35s",easing:"ease-in-out"};function Tt(t){const o=Et(t).map((t=>function(t){const o={...Ot,...t};return e(`${o.property} ${o.duration} ${o.easing} ${o.delay}`)}(t))).join(", ");return e(`\n\t\ttransition: ${o}\n\t`)}function Ut(t){return e(lt(t))}function Rt(t){const o=e("\n\t\tfont-style: normal;\n\t\tfont-stretch: normal;\n\t\tletter-spacing: normal;\n\n\t\tfont-synthesis: none;\n\t\ttext-rendering: optimizeLegibility;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\t-webkit-text-size-adjust: 100%;\n\t");return e(`${o}\n${function(t){switch(t){case"heading-lg":return`\n\t\t\t\tfont-family: ${Ut("font-family-title")};\n\t\t\t\tline-height: ${Ut("line-height-2")};\n\t\t\t\tfont-size: ${Ut("font-size-1")};\n\t\t\t\tfont-weight: ${Ut("font-weight-bold")}\n\t\t\t`;case"heading-md-bold":return`\n\t\t\t\tfont-family: ${Ut("font-family-title")};\n\t\t\t\tline-height: ${Ut("line-height-2")};\n\t\t\t\tfont-size: ${Ut("font-size-2")};\n\t\t\t\tfont-weight: ${Ut("font-weight-bold")}\n\t\t\t`;case"heading-md":return`\n\t\t\t\tfont-family: ${Ut("font-family-title")};\n\t\t\t\tline-height: ${Ut("line-height-2")};\n\t\t\t\tfont-size: ${Ut("font-size-2")};\n\t\t\t\tfont-weight: ${Ut("font-weight-regular")}\n\t\t\t`;case"heading-sm-bold":return`\n\t\t\t\tfont-family: ${Ut("font-family-title")};\n\t\t\t\tline-height: ${Ut("line-height-3")};\n\t\t\t\tfont-size: ${Ut("font-size-3")};\n\t\t\t\tfont-weight: ${Ut("font-weight-bold")}\n\t\t\t`;case"heading-sm":return`\n\t\t\t\tfont-family: ${Ut("font-family-title")};\n\t\t\t\tline-height: ${Ut("line-height-3")};\n\t\t\t\tfont-size: ${Ut("font-size-3")};\n\t\t\t\tfont-weight: ${Ut("font-weight-regular")}\n\t\t\t`;case"body-md":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-5")};\n\t\t\t\tfont-size: ${Ut("font-size-4")};\n\t\t\t\tfont-weight: ${Ut("font-weight-regular")}\n\t\t\t`;case"body-md-underline":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-5")};\n\t\t\t\tfont-size: ${Ut("font-size-4")};\n\t\t\t\tfont-weight: ${Ut("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-md-bold":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-5")};\n\t\t\t\tfont-size: ${Ut("font-size-4")};\n\t\t\t\tfont-weight: ${Ut("font-weight-bold")}\n\t\t\t`;case"body-md-bold-underline":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-5")};\n\t\t\t\tfont-size: ${Ut("font-size-4")};\n\t\t\t\tfont-weight: ${Ut("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-5")};\n\t\t\t\tfont-size: ${Ut("font-size-5")};\n\t\t\t\tfont-weight: ${Ut("font-weight-regular")}\n\t\t\t`;case"body-sm-underline":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-5")};\n\t\t\t\tfont-size: ${Ut("font-size-5")};\n\t\t\t\tfont-weight: ${Ut("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm-bold":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-5")};\n\t\t\t\tfont-size: ${Ut("font-size-5")};\n\t\t\t\tfont-weight: ${Ut("font-weight-bold")}\n\t\t\t`;case"body-sm-bold-underline":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-5")};\n\t\t\t\tfont-size: ${Ut("font-size-5")};\n\t\t\t\tfont-weight: ${Ut("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"number-md":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-2")};\n\t\t\t\tfont-size: ${Ut("font-size-4")};\n\t\t\t\tfont-weight: ${Ut("font-weight-regular")}\n\t\t\t`;case"number-sm":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-2")};\n\t\t\t\tfont-size: ${Ut("font-size-5")};\n\t\t\t\tfont-weight: ${Ut("font-weight-regular")}\n\t\t\t`;case"button-lg":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-1")};\n\t\t\t\tfont-size: ${Ut("font-size-3")};\n\t\t\t\tfont-weight: ${Ut("font-weight-bold")}\n\t\t\t`;case"button-md":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-1")};\n\t\t\t\tfont-size: ${Ut("font-size-4")};\n\t\t\t\tfont-weight: ${Ut("font-weight-bold")}\n\t\t\t`;case"button-sm":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-1")};\n\t\t\t\tfont-size: ${Ut("font-size-5")};\n\t\t\t\tfont-weight: ${Ut("font-weight-bold")}\n\t\t\t`;case"table-header-md":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-1")};\n\t\t\t\tfont-size: ${Ut("font-size-4")};\n\t\t\t\tfont-weight: ${Ut("font-weight-medium")};\n\t\t\t\ttext-transform: uppercase\n\t\t\t`;case"table-header-sm":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-1")};\n\t\t\t\tfont-size: ${Ut("font-size-5")};\n\t\t\t\tfont-weight: ${Ut("font-weight-medium")}\n\t\t\t`;case"chips-sm":return`\n\t\t\t\tfont-family: ${Ut("font-family-default")};\n\t\t\t\tline-height: ${Ut("line-height-1")};\n\t\t\t\tfont-size: ${Ut("font-size-6")};\n\t\t\t\tfont-weight: ${Ut("font-weight-bold")}\n\t\t\t`;default:return""}}(t)}`)}function Nt(t,o=""){return e(Et(t).map((t=>[`${t}.is-disabled`,`${t}:disabled`].map((t=>[t,o].join(" "))).join(", "))).join(", "))}const Pt={active:function(t){return e(Et(t).map((t=>`${t}:not(.is-disabled, :disabled):active`)).join(", "))},focus:function(t){return e(Et(t).map((t=>`${t}:not(.is-disabled, :disabled):focus,\n\t\t\t\t${t}:not(.is-disabled, :disabled):focus-within,\n\t\t\t\t${t}:not(.is-disabled, :disabled).is-focused`)).join(", "))},hover:function(t){return e(Et(t).map((t=>`${t}:not(.is-disabled, :disabled):hover`)).join(", "))}};function Dt(t,o=1){return e(lt(t,o))}class It extends tt{constructor(){super(),this.variant="body-md",this.color="color-text-primary"}static get properties(){return{variant:{type:String,reflect:!0},color:{type:String}}}render(){return R` | ||
*/var at,lt,dt={},ct={};ct.LoadsmartTheme={"brand-color-brand":"20, 214, 77","brand-color-brand-accent-1":"0, 215, 215","brand-color-brand-accent-2":"132, 241, 30","border-radius-none":"0px","border-radius-s":"4px","border-radius-m":"8px","border-radius-l":"16px","border-radius-circle":"50%","border-none":0,"border-thin":"1px","border-medium":"2px","border-thick":"4px","color-background-primary":"252, 252, 255","color-background-secondary":"248, 249, 251","color-background-tertiary":"230, 237, 242","color-background-highlight":"202, 219, 221","color-background-inverted":"32, 41, 49","color-background-secondary-inverted":"61, 74, 85","color-border":"193, 206, 217","color-divider":"230, 237, 242","color-brand":"20, 214, 77","color-brand-accent-1":"0, 215, 215","color-brand-accent-2":"132, 241, 30","color-primary-20":"202, 219, 221","color-primary-60":"0, 84, 84","color-primary-100":"0, 51, 51","color-accent-20":"229, 245, 255","color-accent-60":"0, 98, 159","color-accent-100":"15, 66, 97","color-neutral-0":"252, 252, 255","color-neutral-10":"248, 249, 251","color-neutral-20":"230, 237, 242","color-neutral-40":"193, 206, 217","color-neutral-60":"94, 118, 138","color-neutral-80":"92, 106, 118","color-neutral-90":"61, 74, 85","color-neutral-100":"32, 41, 49","color-success-20":"227, 247, 239","color-success-60":"3, 124, 94","color-success-100":"0, 94, 71","color-danger-20":"255, 233, 230","color-danger-60":"186, 27, 27","color-danger-100":"104, 0, 3","color-warning-20":"255, 243, 214","color-warning-60":"248, 182, 14","color-warning-100":"102, 63, 25","color-text-primary":"32, 41, 49","color-text-secondary":"61, 74, 85","color-text-tertiary":"92, 106, 118","color-text-placeholder":"94, 118, 138","color-text-disabled":"193, 206, 217","color-text-inverted":"252, 252, 255","color-text-secondary-inverted":"193, 206, 217","color-text-error":"186, 27, 27","color-text-highlight":"0, 98, 159","color-text-link":"0, 98, 159","font-family-default":"'Manrope', sans-serif","font-family-title":"'PlusJakartaSans', 'Manrope', sans-serif","font-size-1":"1.625rem","font-size-2":"1.25rem","font-size-3":"1rem","font-size-4":"0.875rem","font-size-5":"0.75rem","font-size-6":"0.625rem","font-weight-regular":500,"font-weight-medium":600,"font-weight-bold":700,"line-height-1":"100%","line-height-2":"125%","line-height-3":"130%","line-height-4":"140%","line-height-5":"150%","opacity-0":"0%","opacity-20":"20%","opacity-40":"40%","opacity-60":"60%","opacity-100":"100%","elevation-1":"0px 0px 2px rgba(94, 118, 138, 0.1), 0px 1px 6px 2px rgba(61, 74, 85, 0.15)","elevation-2":"0px 1px 3px rgba(94, 118, 138, 0.2), 0px 4px 8px 3px rgba(61, 74, 85, 0.15)","elevation-3":"0px 0px 4px rgba(94, 118, 138, 0.2), 0px 6px 12px 6px rgba(61, 74, 85, 0.15)","elevation-4":"0px 5px 6px 4px rgba(94, 118, 138, 0.2), 0px 8px 10px rgba(61, 74, 85, 0.1)","glow-primary":"0.0px 0.0px 4.0px 0px rgb(3, 124, 94, .5)","glow-warning":"0.0px 0.0px 4.0px 0px rgba(255, 206, 79, 1.0)","spacing-1":"4px","spacing-2":"8px","spacing-3":"12px","spacing-4":"16px","spacing-5":"20px","spacing-6":"24px","spacing-8":"32px","spacing-10":"40px","spacing-12":"48px","spacing-14":"56px","spacing-16":"64px","spacing-20":"80px","spacing-30":"120px","spacing-0-5":"2px","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'PlusJakartaSans', 'Manrope', sans-serif"},Object.defineProperty(dt,"i",{value:!0});var ut=ct;function ht(t){return ut.LoadsmartTheme[t]}function bt(t){var o=ht(t);return null==o?o:"--m-".concat(t)}var mt=Object.keys(ut.LoadsmartTheme).filter((function(t){return!t.startsWith("brand-")&&!t.startsWith("platform-")}));function gt(t){return mt.filter((function(o){return o.startsWith(t)}))}var pt=gt("color-"),ft=gt("color-background-"),$t=gt("spacing-"),yt=gt("font-family-"),vt=gt("font-size-"),xt=gt("font-weight-"),wt=gt("line-height-"),kt=gt("border-"),zt=gt("border-radius-"),St=gt("opacity-"),At=gt("elevation-"),jt=gt("glow-");function Ct(t){return e(`\n\t\t${function(t){return e(`\n\t\tmargin-inline-end: ${t}\n\t`)}(t)};\n\t\t${function(t){return e(`\n\t\tmargin-inline-start: ${t}\n\t`)}(t)}\n\t`)}function _t(t){return e(`\n\t\t${function(t){return e(`\n\t\tmargin-block-start: ${t}\n\t`)}(t)};\n\t\t${function(t){return e(`\n\t\tmargin-block-end: ${t}\n\t`)}(t)}\n\t`)}function Mt(t){return e(`\n\t\t${function(t){return e(`\n\t\tpadding-inline-end: ${t}\n\t`)}(t)};\n\t\t${function(t){return e(`\n\t\tpadding-inline-start: ${t}\n\t`)}(t)}\n\t`)}function Et(t){return e(`\n\t\t${function(t){return e(`\n\t\tpadding-block-start: ${t}\n\t`)}(t)};\n\t\t${function(t){return e(`\n\t\tpadding-block-end: ${t}\n\t`)}(t)}\n\t`)}dt.BACKGROUND_COLOR_TOKENS=ft,dt.BORDER_RADIUS_TOKENS=zt,dt.BORDER_TOKENS=kt,dt.BORDER_WIDTH_TOKENS=["border-none","border-thin","border-medium","border-thick"],dt.COLOR_TOKENS=pt,dt.ELEVATION_TOKENS=At,dt.FONT_FAMILY_TOKENS=yt,dt.FONT_SIZE_TOKENS=vt,dt.FONT_WEIGHT_TOKENS=xt,dt.GLOW_TOKENS=jt,dt.LINE_HEIGHT_TOKENS=wt,dt.OPACITY_TOKENS=St,dt.SPACING_TOKENS=$t,dt.TOKENS=mt,lt=dt.getToken=ht,at=dt.toCSSValue=function(t,o){var n=ht(t);return null==n?"":t.startsWith("color-")?"rgba(var(".concat(bt(t),", ").concat(n,"), ").concat(null!=o?o:1,")"):"var(".concat(bt(t),", ").concat(n,")")},dt.toCSSVariable=bt;var Ot=function(t){return null==t?[]:Array.isArray(t)?t:[t]};const Tt={property:"all",delay:"0s",duration:"0.35s",easing:"ease-in-out"};function Ut(t){const o=Ot(t).map((t=>function(t){const o={...Tt,...t};return e(`${o.property} ${o.duration} ${o.easing} ${o.delay}`)}(t))).join(", ");return e(`\n\t\ttransition: ${o}\n\t`)}function Rt(t){return e(at(t))}function Nt(t){const o=e("\n\t\tfont-style: normal;\n\t\tfont-stretch: normal;\n\t\tletter-spacing: normal;\n\n\t\tfont-synthesis: none;\n\t\ttext-rendering: optimizeLegibility;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\t-webkit-text-size-adjust: 100%;\n\t");return e(`${o}\n${function(t){switch(t){case"heading-lg":return`\n\t\t\t\tfont-family: ${Rt("font-family-title")};\n\t\t\t\tline-height: ${Rt("line-height-2")};\n\t\t\t\tfont-size: ${Rt("font-size-1")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"heading-md-bold":return`\n\t\t\t\tfont-family: ${Rt("font-family-title")};\n\t\t\t\tline-height: ${Rt("line-height-2")};\n\t\t\t\tfont-size: ${Rt("font-size-2")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"heading-md":return`\n\t\t\t\tfont-family: ${Rt("font-family-title")};\n\t\t\t\tline-height: ${Rt("line-height-2")};\n\t\t\t\tfont-size: ${Rt("font-size-2")};\n\t\t\t\tfont-weight: ${Rt("font-weight-regular")}\n\t\t\t`;case"heading-sm-bold":return`\n\t\t\t\tfont-family: ${Rt("font-family-title")};\n\t\t\t\tline-height: ${Rt("line-height-3")};\n\t\t\t\tfont-size: ${Rt("font-size-3")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"heading-sm":return`\n\t\t\t\tfont-family: ${Rt("font-family-title")};\n\t\t\t\tline-height: ${Rt("line-height-3")};\n\t\t\t\tfont-size: ${Rt("font-size-3")};\n\t\t\t\tfont-weight: ${Rt("font-weight-regular")}\n\t\t\t`;case"body-md":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-4")};\n\t\t\t\tfont-weight: ${Rt("font-weight-regular")}\n\t\t\t`;case"body-md-underline":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-4")};\n\t\t\t\tfont-weight: ${Rt("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-md-bold":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-4")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"body-md-bold-underline":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-4")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-5")};\n\t\t\t\tfont-weight: ${Rt("font-weight-regular")}\n\t\t\t`;case"body-sm-underline":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-5")};\n\t\t\t\tfont-weight: ${Rt("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm-bold":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-5")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"body-sm-bold-underline":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-5")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"number-md":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-2")};\n\t\t\t\tfont-size: ${Rt("font-size-4")};\n\t\t\t\tfont-weight: ${Rt("font-weight-regular")}\n\t\t\t`;case"number-sm":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-2")};\n\t\t\t\tfont-size: ${Rt("font-size-5")};\n\t\t\t\tfont-weight: ${Rt("font-weight-regular")}\n\t\t\t`;case"button-lg":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-1")};\n\t\t\t\tfont-size: ${Rt("font-size-3")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"button-md":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-1")};\n\t\t\t\tfont-size: ${Rt("font-size-4")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"button-sm":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-1")};\n\t\t\t\tfont-size: ${Rt("font-size-5")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"table-header-md":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-1")};\n\t\t\t\tfont-size: ${Rt("font-size-4")};\n\t\t\t\tfont-weight: ${Rt("font-weight-medium")};\n\t\t\t\ttext-transform: uppercase\n\t\t\t`;case"table-header-sm":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-1")};\n\t\t\t\tfont-size: ${Rt("font-size-5")};\n\t\t\t\tfont-weight: ${Rt("font-weight-medium")}\n\t\t\t`;case"chips-sm":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-1")};\n\t\t\t\tfont-size: ${Rt("font-size-6")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;default:return""}}(t)}`)}function Pt(t,o=""){return e(Ot(t).map((t=>[`${t}.is-disabled`,`${t}:disabled`].map((t=>[t,o].join(" "))).join(", "))).join(", "))}const Wt={active:function(t){return e(Ot(t).map((t=>`${t}:not(.is-disabled, :disabled):active`)).join(", "))},focus:function(t){return e(Ot(t).map((t=>`${t}:not(.is-disabled, :disabled):focus,\n\t\t\t\t${t}:not(.is-disabled, :disabled):focus-within,\n\t\t\t\t${t}:not(.is-disabled, :disabled).is-focused`)).join(", "))},hover:function(t){return e(Ot(t).map((t=>`${t}:not(.is-disabled, :disabled):hover`)).join(", "))}};function Dt(t,o=1){return e(at(t,o))}class It extends tt{constructor(){super(),this.variant="body-md",this.color="color-text-primary"}static get properties(){return{variant:{type:String,reflect:!0},color:{type:String}}}render(){return R` | ||
<span | ||
class=${et({"m-text":!0,"-body-md-bold-underline":"body-md-bold-underline"==this.variant,"-body-md-bold":"body-md-bold"==this.variant,"-body-md-underline":"body-md-underline"==this.variant,"-body-md":"body-md"==this.variant,"-body-sm-bold-underline":"body-sm-bold-underline"==this.variant,"-body-sm-bold":"body-sm-bold"==this.variant,"-body-sm-underline":"body-sm-underline"==this.variant,"-body-sm":"body-sm"==this.variant,"-button-lg":"button-lg"==this.variant,"-button-md":"button-md"==this.variant,"-button-sm":"button-sm"==this.variant,"-chips-sm":"chips-sm"==this.variant,"-heading-lg":"heading-lg"==this.variant,"-heading-md-bold":"heading-md-bold"==this.variant,"-heading-md":"heading-md"==this.variant,"-heading-sm-bold":"heading-sm-bold"==this.variant,"-heading-sm":"heading-sm"==this.variant,"-number-md":"number-md"==this.variant,"-number-sm":"number-sm"==this.variant,"-table-header-md":"table-header-md"==this.variant,"-table-header-sm":"table-header-sm"==this.variant})} | ||
style=${st({"--m-text-color":lt(this.color)})} | ||
style=${st({"--m-text-color":at(this.color)})} | ||
> | ||
@@ -57,5 +57,5 @@ <slot></slot> | ||
.m-text { | ||
${Tt([{property:"color"}])}; | ||
${Ut([{property:"color"}])}; | ||
${Rt()}; | ||
${Nt()}; | ||
@@ -68,83 +68,83 @@ display: inline-flex; | ||
.-body-md-bold-underline { | ||
${Rt("body-md-bold-underline")}; | ||
${Nt("body-md-bold-underline")}; | ||
} | ||
.-body-md-bold { | ||
${Rt("body-md-bold")}; | ||
${Nt("body-md-bold")}; | ||
} | ||
.-body-md-underline { | ||
${Rt("body-md-underline")}; | ||
${Nt("body-md-underline")}; | ||
} | ||
.-body-md { | ||
${Rt("body-md")}; | ||
${Nt("body-md")}; | ||
} | ||
.-body-sm-bold-underline { | ||
${Rt("body-sm-bold-underline")}; | ||
${Nt("body-sm-bold-underline")}; | ||
} | ||
.-body-sm-bold { | ||
${Rt("body-sm-bold")}; | ||
${Nt("body-sm-bold")}; | ||
} | ||
.-body-sm-underline { | ||
${Rt("body-sm-underline")}; | ||
${Nt("body-sm-underline")}; | ||
} | ||
.-body-sm { | ||
${Rt("body-sm")}; | ||
${Nt("body-sm")}; | ||
} | ||
.-button-lg { | ||
${Rt("button-lg")}; | ||
${Nt("button-lg")}; | ||
} | ||
.-button-md { | ||
${Rt("button-md")}; | ||
${Nt("button-md")}; | ||
} | ||
.-button-sm { | ||
${Rt("button-sm")}; | ||
${Nt("button-sm")}; | ||
} | ||
.-chips-sm { | ||
${Rt("chips-sm")}; | ||
${Nt("chips-sm")}; | ||
} | ||
.-heading-lg { | ||
${Rt("heading-lg")}; | ||
${Nt("heading-lg")}; | ||
} | ||
.-heading-md-bold { | ||
${Rt("heading-md-bold")}; | ||
${Nt("heading-md-bold")}; | ||
} | ||
.-heading-md { | ||
${Rt("heading-md")}; | ||
${Nt("heading-md")}; | ||
} | ||
.-heading-sm-bold { | ||
${Rt("heading-sm-bold")}; | ||
${Nt("heading-sm-bold")}; | ||
} | ||
.-heading-sm { | ||
${Rt("heading-sm")}; | ||
${Nt("heading-sm")}; | ||
} | ||
.-number-md { | ||
${Rt("number-md")}; | ||
${Nt("number-md")}; | ||
} | ||
.-number-sm { | ||
${Rt("number-sm")}; | ||
${Nt("number-sm")}; | ||
} | ||
.-table-header-md { | ||
${Rt("table-header-md")}; | ||
${Nt("table-header-md")}; | ||
} | ||
.-table-header-sm { | ||
${Rt("table-header-sm")}; | ||
${Nt("table-header-sm")}; | ||
} | ||
@@ -154,3 +154,3 @@ `],window.customElements.define("m-text",It);class Bt extends tt{constructor(){super(),this.flagged=!1,this.flagColor="color-background-inverted"}static get properties(){return{flagged:{type:Boolean},flagColor:{type:String,attribute:"flag-color"}}}render(){return R` | ||
class="m-card" | ||
style="${st({"--m-card-flag-color":lt(this.flagColor)})}" | ||
style="${st({"--m-card-flag-color":at(this.flagColor)})}" | ||
> | ||
@@ -176,3 +176,3 @@ ${this.flagged?R`<span class="m-card-flag"></span>`:P} | ||
background-color: var( --m-card-background-color ); | ||
border-radius: ${Ut("border-radius-s")}; | ||
border-radius: ${Rt("border-radius-s")}; | ||
border: solid 1px ${Dt("color-divider")}; | ||
@@ -191,7 +191,7 @@ } | ||
background-color: var( --m-card-flag-color ); | ||
width: ${Ut("border-thick")}; | ||
border-top-left-radius: ${Ut("border-radius-s")}; | ||
width: ${Rt("border-thick")}; | ||
border-top-left-radius: ${Rt("border-radius-s")}; | ||
border-top-right-radius: 0; | ||
border-bottom-right-radius: 0; | ||
border-bottom-left-radius: ${Ut("border-radius-s")}; | ||
border-bottom-left-radius: ${Rt("border-radius-s")}; | ||
} | ||
@@ -206,3 +206,3 @@ | ||
::slotted( m-divider ) { | ||
--m-divider-margin-top: ${Ut("spacing-4")}; | ||
--m-divider-margin-top: ${Rt("spacing-4")}; | ||
} | ||
@@ -215,4 +215,4 @@ `],window.customElements.define("m-card",Bt);class Lt extends tt{constructor(){super(),this.slot="body"}render(){return R` | ||
:host { | ||
--m-card-body-padding-x: ${Ut("spacing-4")}; | ||
--m-card-body-padding-y: ${Ut("spacing-4")}; | ||
--m-card-body-padding-x: ${Rt("spacing-4")}; | ||
--m-card-body-padding-y: ${Rt("spacing-4")}; | ||
} | ||
@@ -223,10 +223,10 @@ | ||
} | ||
`],window.customElements.define("m-card-body",Lt);class Wt extends tt{constructor(){super(),this.slot="subtitle"}render(){return R` | ||
`],window.customElements.define("m-card-body",Lt);class Gt extends tt{constructor(){super(),this.slot="subtitle"}render(){return R` | ||
<div class="m-card-subtitle"> | ||
<slot></slot> | ||
</div> | ||
`}}Wt.styles=[s` | ||
`}}Gt.styles=[s` | ||
:host { | ||
--m-card-subtitle-margin-top: ${Ut("spacing-2")}; | ||
--m-card-subtitle-padding-x: ${Ut("spacing-4")}; | ||
--m-card-subtitle-margin-top: ${Rt("spacing-2")}; | ||
--m-card-subtitle-padding-x: ${Rt("spacing-4")}; | ||
--m-card-subtitle-padding-y: 0; | ||
@@ -236,3 +236,3 @@ } | ||
.m-card-subtitle { | ||
${Rt("body-md")}; | ||
${Nt("body-md")}; | ||
@@ -245,3 +245,3 @@ margin-block-start: var( --m-card-subtitle-margin-top ); | ||
} | ||
`],window.customElements.define("m-card-subtitle",Wt);class Jt extends tt{constructor(){super(),this.slot="title"}render(){return R` | ||
`],window.customElements.define("m-card-subtitle",Gt);class Jt extends tt{constructor(){super(),this.slot="title"}render(){return R` | ||
<div class="m-card-title"> | ||
@@ -253,4 +253,4 @@ <slot name="leading"></slot> | ||
:host { | ||
--m-card-title-padding-x: ${Ut("spacing-4")}; | ||
--m-card-title-padding-top: ${Ut("spacing-4")}; | ||
--m-card-title-padding-x: ${Rt("spacing-4")}; | ||
--m-card-title-padding-top: ${Rt("spacing-4")}; | ||
} | ||
@@ -262,3 +262,3 @@ | ||
${Rt("heading-sm-bold")}; | ||
${Nt("heading-sm-bold")}; | ||
color: ${Dt("color-text-primary")}; | ||
@@ -273,3 +273,3 @@ } | ||
pointer-events: none; | ||
margin-inline-end: ${Ut("spacing-1")}; | ||
margin-inline-end: ${Rt("spacing-1")}; | ||
} | ||
@@ -318,3 +318,3 @@ `],window.customElements.define("m-card-title",Jt);class Zt extends tt{render(){return R` <hr class="m-divider" /> `}}function Ht(t,o,n){return Math.min(Math.max(o,t),n)}Zt.styles=[s` | ||
border-radius: ${Ut("border-radius-s")}; | ||
border-radius: ${Rt("border-radius-s")}; | ||
@@ -329,16 +329,16 @@ background-color: ${Dt("color-background-tertiary")}; | ||
${Tt([{property:"width"}])}; | ||
${Ut([{property:"width"}])}; | ||
height: ${qt("8px")}; | ||
border-radius: ${Ut("border-radius-s")}; | ||
border-radius: ${Rt("border-radius-s")}; | ||
background: var( --m-progress-bar-progress-background ); | ||
} | ||
`],window.customElements.define("m-progress-bar",Kt);const Vt={padding:"spacing-4",borderRadius:"border-radius-s",borderWidth:"border-none",borderColor:"color-background-highlight",textAlign:"left"};class Ft extends tt{constructor(){super(),this.padding=Vt.padding,this.borderRadius=Vt.borderRadius,this.borderWidth=Vt.borderWidth,this.borderColor=Vt.borderColor,this.textAlign=Vt.textAlign}static get properties(){return{padding:{type:String},backgroundColor:{type:String,attribute:"background-color"},borderRadius:{type:String,attribute:"border-radius"},borderWidth:{type:String,attribute:"border-width"},borderColor:{type:String,attribute:"border-color"},textAlign:{type:String,attribute:"text-align"}}}update(t){this.style.setProperty("--m-box-padding",lt(this.padding)||lt(Vt.padding)),this.style.setProperty("--m-box-background-color",lt(this.backgroundColor)||"transparent"),this.style.setProperty("--m-box-border-radius",lt(this.borderRadius)||lt(Vt.borderRadius)),this.style.setProperty("--m-box-border-width",lt(this.borderWidth)||lt(Vt.borderWidth)),this.style.setProperty("--m-box-border-color",lt(this.borderColor)||lt(Vt.borderColor)),this.style.setProperty("--m-box-text-align",this.textAlign||Vt.textAlign),super.update(t)}render(){return R`<slot></slot>`}}Ft.styles=[s` | ||
`],window.customElements.define("m-progress-bar",Kt);const Vt={padding:"spacing-4",borderRadius:"border-radius-s",borderWidth:"border-none",borderColor:"color-background-highlight",textAlign:"left"};class Ft extends tt{constructor(){super(),this.padding=Vt.padding,this.borderRadius=Vt.borderRadius,this.borderWidth=Vt.borderWidth,this.borderColor=Vt.borderColor,this.textAlign=Vt.textAlign}static get properties(){return{padding:{type:String},backgroundColor:{type:String,attribute:"background-color"},borderRadius:{type:String,attribute:"border-radius"},borderWidth:{type:String,attribute:"border-width"},borderColor:{type:String,attribute:"border-color"},textAlign:{type:String,attribute:"text-align"}}}update(t){this.style.setProperty("--m-box-padding",at(this.padding)||at(Vt.padding)),this.style.setProperty("--m-box-background-color",at(this.backgroundColor)||"transparent"),this.style.setProperty("--m-box-border-radius",at(this.borderRadius)||at(Vt.borderRadius)),this.style.setProperty("--m-box-border-width",at(this.borderWidth)||at(Vt.borderWidth)),this.style.setProperty("--m-box-border-color",at(this.borderColor)||at(Vt.borderColor)),this.style.setProperty("--m-box-text-align",this.textAlign||Vt.textAlign),super.update(t)}render(){return R`<slot></slot>`}}Ft.styles=[s` | ||
:host { | ||
--m-box-padding: ${Ut(Vt.padding)}; | ||
--m-box-padding: ${Rt(Vt.padding)}; | ||
--m-box-background-color: transparent; | ||
--m-box-border-radius: ${Ut(Vt.borderRadius)}; | ||
--m-box-border-width: ${Ut(Vt.borderWidth)}; | ||
--m-box-border-radius: ${Rt(Vt.borderRadius)}; | ||
--m-box-border-width: ${Rt(Vt.borderWidth)}; | ||
--m-box-border-color: ${Dt(Vt.borderColor)}; | ||
@@ -357,7 +357,7 @@ --m-box-text-align: ${e(Vt.textAlign)}; | ||
} | ||
`],window.customElements.define("m-box",Ft);const Gt={gap:"spacing-4",align:"stretch",justify:"flex-start"};class Qt extends tt{constructor(){super(),this.gap=Gt.gap,this.align=Gt.align,this.justify=Gt.justify}static get properties(){return{gap:{type:String},align:{type:String},justify:{type:String}}}update(t){this.style.setProperty("--m-group-gap",lt(this.gap)||lt(Gt.gap)),this.style.setProperty("--m-group-align",this.align||Gt.align),this.style.setProperty("--m-group-justify",this.justify||Gt.justify),super.update(t)}render(){return R`<slot></slot>`}}Qt.styles=[s` | ||
`],window.customElements.define("m-box",Ft);const Qt={gap:"spacing-4",align:"stretch",justify:"flex-start"};class Xt extends tt{constructor(){super(),this.gap=Qt.gap,this.align=Qt.align,this.justify=Qt.justify}static get properties(){return{gap:{type:String},align:{type:String},justify:{type:String}}}update(t){this.style.setProperty("--m-group-gap",at(this.gap)||at(Qt.gap)),this.style.setProperty("--m-group-align",this.align||Qt.align),this.style.setProperty("--m-group-justify",this.justify||Qt.justify),super.update(t)}render(){return R`<slot></slot>`}}Xt.styles=[s` | ||
:host { | ||
--m-group-gap: ${Ut(Gt.gap)}; | ||
--m-group-align: ${e(Gt.align)}; | ||
--m-group-justify: ${e(Gt.justify)}; | ||
--m-group-gap: ${Rt(Qt.gap)}; | ||
--m-group-align: ${e(Qt.align)}; | ||
--m-group-justify: ${e(Qt.justify)}; | ||
@@ -370,7 +370,7 @@ display: flex; | ||
} | ||
`],window.customElements.define("m-group",Qt);const Xt={gap:"spacing-4",align:"stretch",justify:"flex-start"};class Yt extends tt{constructor(){super(),this.gap=Xt.gap,this.align=Xt.align,this.justify=Xt.justify}static get properties(){return{gap:{type:String},align:{type:String},justify:{type:String}}}update(t){this.style.setProperty("--m-stack-gap",lt(this.gap)||lt(Xt.gap)),this.style.setProperty("--m-stack-align",this.align||Xt.align),this.style.setProperty("--m-stack-justify",this.justify||Xt.justify),super.update(t)}render(){return R`<slot></slot>`}}Yt.styles=[s` | ||
`],window.customElements.define("m-group",Xt);const Yt={gap:"spacing-4",align:"stretch",justify:"flex-start"};class to extends tt{constructor(){super(),this.gap=Yt.gap,this.align=Yt.align,this.justify=Yt.justify}static get properties(){return{gap:{type:String},align:{type:String},justify:{type:String}}}update(t){this.style.setProperty("--m-stack-gap",at(this.gap)||at(Yt.gap)),this.style.setProperty("--m-stack-align",this.align||Yt.align),this.style.setProperty("--m-stack-justify",this.justify||Yt.justify),super.update(t)}render(){return R`<slot></slot>`}}to.styles=[s` | ||
:host { | ||
--m-stack-gap: ${Ut(Xt.gap)}; | ||
--m-stack-align: ${e(Xt.align)}; | ||
--m-stack-justify: ${e(Xt.justify)}; | ||
--m-stack-gap: ${Rt(Yt.gap)}; | ||
--m-stack-align: ${e(Yt.align)}; | ||
--m-stack-justify: ${e(Yt.justify)}; | ||
@@ -384,3 +384,18 @@ display: flex; | ||
} | ||
`],window.customElements.define("m-stack",Yt);class to extends tt{constructor(){super(),this.variant="secondary",this.size="default",this.type="button",this.disabled=!1,this.loading=!1}static get properties(){return{loading:{type:Boolean},disabled:{type:Boolean,reflect:!0},variant:{type:String},size:{type:String},type:{type:String}}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button")}render(){return R` | ||
`],window.customElements.define("m-stack",to);const oo={gap:"spacing-4",minColumnWidth:lt("spacing-30")};class no extends tt{constructor(){super(),this.gap=oo.gap,this.minColumnWidth=oo.minColumnWidth}static get properties(){return{gap:{type:String},rowGap:{type:String,attribute:"row-gap"},columnGap:{type:String,attribute:"column-gap"},minColumnWidth:{type:String,attribute:"min-column-width"}}}update(t){t.has("gap")&&this.style.setProperty("--m-grid-gap",at(this.gap)||at(oo.gap)),t.has("rowGap")&&(this.rowGap?this.style.setProperty("--m-grid-row-gap",at(this.rowGap)):this.style.removeProperty("--m-grid-row-gap")),t.has("columnGap")&&(this.columnGap?this.style.setProperty("--m-grid-column-gap",at(this.columnGap)):this.style.removeProperty("--m-grid-column-gap")),t.has("minColumnWidth")&&this.style.setProperty("--m-grid-min-column-width",this.minColumnWidth||oo.minColumnWidth),super.update(t)}render(){return R`<slot></slot>`}}no.styles=[s` | ||
:host { | ||
--m-grid-gap: ${Rt(oo.gap)}; | ||
--m-grid-min-column-width: ${e(oo.minColumnWidth)}; | ||
display: grid; | ||
row-gap: var( --m-grid-row-gap, var( --m-grid-gap ) ); | ||
column-gap: var( --m-grid-column-gap, var( --m-grid-gap ) ); | ||
grid-template-columns: repeat( | ||
auto-fit, | ||
minmax( min( var( --m-grid-min-column-width ), 100% ), 1fr ) | ||
); | ||
} | ||
`],window.customElements.define("m-grid",no);class ro extends tt{constructor(){super(),this.variant="secondary",this.size="default",this.type="button",this.disabled=!1,this.loading=!1}static get properties(){return{loading:{type:Boolean},disabled:{type:Boolean,reflect:!0},variant:{type:String},size:{type:String},type:{type:String}}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button")}render(){return R` | ||
<button | ||
@@ -398,3 +413,3 @@ class=${et({"m-button":!0,"-primary":"primary"==this.variant,"-secondary":"secondary"==this.variant,"-tertiary":"tertiary"==this.variant,"-warning":"warning"==this.variant,"-danger":"danger"==this.variant,"-icon":"icon"==this.variant,"-icon-secondary":"icon-secondary"==this.variant,"-small":"small"==this.size,"-default":"default"==this.size,"-large":"large"==this.size,"is-loading":this.loading})} | ||
</button> | ||
`}_isDisabled(){return this.disabled||this.loading}}var oo,no;to.styles=[s` | ||
`}_isDisabled(){return this.disabled||this.loading}}var io,eo;ro.styles=[s` | ||
:host { | ||
@@ -404,14 +419,14 @@ --m-button-background-color: transparent; | ||
--m-button-border-color: ${Dt("color-neutral-90")}; | ||
--m-button-border-radius: ${Ut("border-radius-s")}; | ||
--m-button-border-radius: ${Rt("border-radius-s")}; | ||
--m-button-color: ${Dt("color-text-secondary")}; | ||
--m-button-outline-color: ${Dt("color-primary-100")}; | ||
--m-button-outline-offset: 2px; | ||
--m-button-padding-x: ${Ut("spacing-4")}; | ||
--m-button-padding-y: ${Ut("spacing-3")}; | ||
--m-button-padding-x: ${Rt("spacing-4")}; | ||
--m-button-padding-y: ${Rt("spacing-3")}; | ||
} | ||
.m-button { | ||
${Tt([{property:"color"},{property:"background-color"},{property:"border-color"}])}; | ||
${Ut([{property:"color"},{property:"background-color"},{property:"border-color"}])}; | ||
${Rt("button-md")}; | ||
${Nt("button-md")}; | ||
@@ -430,3 +445,3 @@ cursor: pointer; | ||
gap: ${Ut("spacing-1")}; | ||
gap: ${Rt("spacing-1")}; | ||
@@ -443,11 +458,11 @@ padding-inline: var( --m-button-padding-x ); | ||
${Nt(".m-button")} { | ||
${Pt(".m-button")} { | ||
cursor: not-allowed; | ||
} | ||
${Nt(".m-button","*")} { | ||
${Pt(".m-button","*")} { | ||
pointer-events: none; | ||
} | ||
${Pt.focus(".m-button")} { | ||
${Wt.focus(".m-button")} { | ||
outline: 1px solid var( --m-button-outline-color ); | ||
@@ -457,3 +472,3 @@ outline-offset: var( --m-button-outline-offset ); | ||
${Pt.hover(".m-button")} { | ||
${Wt.hover(".m-button")} { | ||
--m-button-background-color: ${Dt("color-background-inverted")}; | ||
@@ -469,4 +484,4 @@ --m-button-border-color: ${Dt("color-background-inverted")}; | ||
${no=0,e(`\n\t\t${Ct(no)};\n\t\t${Mt(no)}\n\t`)}; | ||
${oo=0,e(`\n\t\t${jt(oo)};\n\t\t${_t(oo)}\n\t`)}; | ||
${eo=0,e(`\n\t\t${Mt(eo)};\n\t\t${Et(eo)}\n\t`)}; | ||
${io=0,e(`\n\t\t${Ct(io)};\n\t\t${_t(io)}\n\t`)}; | ||
} | ||
@@ -489,3 +504,3 @@ | ||
${Nt(".m-button.-primary")} { | ||
${Pt(".m-button.-primary")} { | ||
--m-button-background-color: ${Dt("color-primary-20")}; | ||
@@ -495,3 +510,3 @@ --m-button-border-color: ${Dt("color-primary-20")}; | ||
${Pt.focus(".m-button.-primary")} { | ||
${Wt.focus(".m-button.-primary")} { | ||
--m-button-border-color: ${Dt("color-primary-60")}; | ||
@@ -501,4 +516,4 @@ --m-button-outline-color: ${Dt("color-primary-60")}; | ||
${Pt.hover(".m-button.-primary")}, | ||
${Pt.active(".m-button.-primary")} { | ||
${Wt.hover(".m-button.-primary")}, | ||
${Wt.active(".m-button.-primary")} { | ||
--m-button-background-color: ${Dt("color-primary-100")}; | ||
@@ -520,3 +535,3 @@ --m-button-border-color: ${Dt("color-primary-100")}; | ||
${Nt(".m-button.-secondary")} { | ||
${Pt(".m-button.-secondary")} { | ||
--m-button-border-color: ${Dt("color-text-disabled")}; | ||
@@ -526,3 +541,3 @@ --m-button-color: ${Dt("color-text-disabled")}; | ||
${Pt.focus(".m-button.-secondary")} { | ||
${Wt.focus(".m-button.-secondary")} { | ||
--m-button-border-color: ${Dt("color-primary-100")}; | ||
@@ -534,3 +549,3 @@ --m-button-color: ${Dt("color-primary-100")}; | ||
${Pt.hover(".m-button.-secondary")},${Pt.active(".m-button.-secondary")} { | ||
${Wt.hover(".m-button.-secondary")},${Wt.active(".m-button.-secondary")} { | ||
--m-button-background-color: ${Dt("color-background-tertiary")}; | ||
@@ -554,7 +569,7 @@ --m-button-border-color: ${Dt("color-primary-60")}; | ||
${Nt(".m-button.-tertiary")} { | ||
${Pt(".m-button.-tertiary")} { | ||
--m-button-color: ${Dt("color-text-disabled")}; | ||
} | ||
${Pt.focus(".m-button.-tertiary")} { | ||
${Wt.focus(".m-button.-tertiary")} { | ||
--m-button-color: ${Dt("color-primary-100")}; | ||
@@ -564,3 +579,3 @@ --m-button-outline-color: ${Dt("color-primary-60")}; | ||
${Pt.hover(".m-button.-tertiary")} { | ||
${Wt.hover(".m-button.-tertiary")} { | ||
--m-button-background-color: ${Dt("color-background-tertiary")}; | ||
@@ -571,3 +586,3 @@ --m-button-border-color: ${Dt("color-background-tertiary")}; | ||
${Pt.active(".m-button.-tertiary")} { | ||
${Wt.active(".m-button.-tertiary")} { | ||
--m-button-background-color: ${Dt("color-neutral-20")}; | ||
@@ -590,3 +605,3 @@ --m-button-border-color: ${Dt("color-neutral-20")}; | ||
${Nt(".m-button.-warning")} { | ||
${Pt(".m-button.-warning")} { | ||
--m-button-background-color: ${Dt("color-warning-20")}; | ||
@@ -597,3 +612,3 @@ --m-button-border-color: ${Dt("color-warning-20")}; | ||
${Pt.focus(".m-button.-warning")} { | ||
${Wt.focus(".m-button.-warning")} { | ||
--m-button-background-color: ${Dt("color-warning-60")}; | ||
@@ -603,3 +618,3 @@ --m-button-outline-color: ${Dt("color-warning-60")}; | ||
${Pt.hover(".m-button.-warning")}, ${Pt.active(".m-button.-warning")} { | ||
${Wt.hover(".m-button.-warning")}, ${Wt.active(".m-button.-warning")} { | ||
--m-button-background-color: ${Dt("color-warning-100")}; | ||
@@ -622,3 +637,3 @@ --m-button-border-color: ${Dt("color-warning-100")}; | ||
${Nt(".m-button.-danger")} { | ||
${Pt(".m-button.-danger")} { | ||
--m-button-background-color: ${Dt("color-danger-20")}; | ||
@@ -628,3 +643,3 @@ --m-button-border-color: ${Dt("color-danger-20")}; | ||
${Pt.focus(".m-button.-danger")} { | ||
${Wt.focus(".m-button.-danger")} { | ||
--m-button-background-color: ${Dt("color-danger-60")}; | ||
@@ -634,3 +649,3 @@ --m-button-outline-color: ${Dt("color-danger-60")}; | ||
${Pt.hover(".m-button.-danger")}, ${Pt.active(".m-button.-danger")} { | ||
${Wt.hover(".m-button.-danger")}, ${Wt.active(".m-button.-danger")} { | ||
--m-button-background-color: ${Dt("color-danger-100")}; | ||
@@ -648,6 +663,6 @@ --m-button-border-color: ${Dt("color-danger-100")}; | ||
.m-button.-icon-secondary { | ||
--m-button-border-radius: ${Ut("border-radius-circle")}; | ||
--m-button-border-radius: ${Rt("border-radius-circle")}; | ||
--m-button-color: ${Dt("color-neutral-90")}; | ||
--m-button-padding-x: ${Ut("spacing-1")}; | ||
--m-button-padding-y: ${Ut("spacing-1")}; | ||
--m-button-padding-x: ${Rt("spacing-1")}; | ||
--m-button-padding-y: ${Rt("spacing-1")}; | ||
@@ -677,7 +692,7 @@ min-block-size: var( --m-button-base-size ); | ||
${Nt([".m-button.-icon",".m-button.-icon-secondary"])} { | ||
${Pt([".m-button.-icon",".m-button.-icon-secondary"])} { | ||
--m-button-color: ${Dt("color-neutral-40")}; | ||
} | ||
${Nt(".m-button.-icon")} { | ||
${Pt(".m-button.-icon")} { | ||
--m-button-background-color: ${Dt("color-neutral-20")}; | ||
@@ -687,3 +702,3 @@ --m-button-border-color: ${Dt("color-neutral-20")}; | ||
${Nt(".m-button.-icon-secondary")} { | ||
${Pt(".m-button.-icon-secondary")} { | ||
--m-button-background-color: transparent; | ||
@@ -693,3 +708,3 @@ --m-button-border-color: transparent; | ||
${Pt.focus([".m-button.-icon",".m-button.-icon-secondary"])} { | ||
${Wt.focus([".m-button.-icon",".m-button.-icon-secondary"])} { | ||
--m-button-color: ${Dt("color-primary-60")}; | ||
@@ -699,16 +714,16 @@ --m-button-outline-color: ${Dt("color-primary-60")}; | ||
${Pt.focus(".m-button.-icon")} { | ||
${Wt.focus(".m-button.-icon")} { | ||
--m-button-background-color: ${Dt("color-neutral-20")}; | ||
} | ||
${Pt.focus(".m-button.-icon-secondary")} { | ||
${Wt.focus(".m-button.-icon-secondary")} { | ||
--m-button-background-color: transparent; | ||
} | ||
${Pt.hover([".m-button.-icon",".m-button.-icon-secondary"])}, | ||
${Pt.active([".m-button.-icon",".m-button.-icon-secondary"])} { | ||
${Wt.hover([".m-button.-icon",".m-button.-icon-secondary"])}, | ||
${Wt.active([".m-button.-icon",".m-button.-icon-secondary"])} { | ||
--m-button-color: ${Dt("color-primary-60")}; | ||
} | ||
${Pt.hover(".m-button.-icon")}, ${Pt.active(".m-button.-icon")} { | ||
${Wt.hover(".m-button.-icon")}, ${Wt.active(".m-button.-icon")} { | ||
--m-button-background-color: ${Dt("color-background-highlight")}; | ||
@@ -718,3 +733,3 @@ --m-button-border-color: ${Dt("color-background-highlight")}; | ||
${Pt.hover(".m-button.-icon-secondary")}, ${Pt.active(".m-button.-icon-secondary")} { | ||
${Wt.hover(".m-button.-icon-secondary")}, ${Wt.active(".m-button.-icon-secondary")} { | ||
--m-button-background-color: transparent; | ||
@@ -725,13 +740,13 @@ --m-button-border-color: transparent; | ||
.m-button.-small { | ||
--m-button-padding-y: ${Ut("spacing-2")}; | ||
--m-button-padding-y: ${Rt("spacing-2")}; | ||
--m-button-base-size: 28px; | ||
${Rt("button-sm")}; | ||
${Nt("button-sm")}; | ||
} | ||
.m-button.-large { | ||
--m-button-padding-y: ${Ut("spacing-4")}; | ||
--m-button-padding-y: ${Rt("spacing-4")}; | ||
--m-button-base-size: 48px; | ||
${Rt("button-lg")}; | ||
${Nt("button-lg")}; | ||
} | ||
@@ -750,3 +765,3 @@ | ||
} | ||
`],window.customElements.define("m-button",to);export{Ft as Box,to as Button,Bt as Card,Lt as CardBody,Wt as CardSubtitle,Jt as CardTitle,Zt as Divider,Qt as Group,Kt as ProgressBar,Yt as Stack,It as Text,Vt as defaultBoxProps,Gt as defaultGroupProps,Xt as defaultStackProps}; | ||
`],window.customElements.define("m-button",ro);export{Ft as Box,ro as Button,Bt as Card,Lt as CardBody,Gt as CardSubtitle,Jt as CardTitle,Zt as Divider,no as Grid,Xt as Group,Kt as ProgressBar,to as Stack,It as Text,Vt as defaultBoxProps,oo as defaultGridProps,Qt as defaultGroupProps,Yt as defaultStackProps}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@loadsmart/miranda-wc", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "Miranda Web Components component library", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
229816
134
1434