@loadsmart/miranda-wc 1.39.0 → 1.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{attention-6df31efc.js → attention-738831d2.js} +2 -2
- package/dist/{attention-6df31efc.js.map → attention-738831d2.js.map} +1 -1
- package/dist/{bell-8517678b.js → bell-c7493d8c.js} +2 -2
- package/dist/{bell-8517678b.js.map → bell-c7493d8c.js.map} +1 -1
- package/dist/{check-8578b0df.js → check-bbac788c.js} +2 -2
- package/dist/{check-8578b0df.js.map → check-bbac788c.js.map} +1 -1
- package/dist/{close-d6a650eb.js → close-18b002ef.js} +2 -2
- package/dist/{close-d6a650eb.js.map → close-18b002ef.js.map} +1 -1
- package/dist/components/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/field/field.d.ts +9 -0
- package/dist/components/field/field.d.ts.map +1 -1
- package/dist/{indeterminate-e1dad34d.js → indeterminate-821133a2.js} +2 -2
- package/dist/{indeterminate-e1dad34d.js.map → indeterminate-821133a2.js.map} +1 -1
- package/dist/{index-e8e0a3cc.js → index-9b3645b4.js} +6 -3
- package/dist/index-9b3645b4.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{info-circle-2a027ac6.js → info-circle-06de27ec.js} +2 -2
- package/dist/{info-circle-2a027ac6.js.map → info-circle-06de27ec.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-e8e0a3cc.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as a}from"./index-
|
|
2
|
-
//# sourceMappingURL=attention-
|
|
1
|
+
import{b as a}from"./index-9b3645b4.js";var s=a`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M6.732 42.889h34.537c2.06 0 3.376-2.192 2.406-4.005l-17.27-32.33c-1.026-1.924-3.785-1.924-4.813 0L4.324 38.883c-.968 1.813.349 4.005 2.408 4.005zm14.542-24.504h5.452v10.89h-5.452zM24 31.998a2.726 2.726 0 0 1 2.726 2.723A2.726 2.726 0 0 1 24 37.444a2.726 2.726 0 0 1-2.726-2.723A2.726 2.726 0 0 1 24 31.998z"/></svg>`;export{s as default};
|
|
2
|
+
//# sourceMappingURL=attention-738831d2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attention-
|
|
1
|
+
{"version":3,"file":"attention-738831d2.js","sources":["../src/components/icon/icons/attention.ts"],"sourcesContent":["import { svg } from 'lit';\n\nexport default svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 48 48\"><path d=\"M6.732 42.889h34.537c2.06 0 3.376-2.192 2.406-4.005l-17.27-32.33c-1.026-1.924-3.785-1.924-4.813 0L4.324 38.883c-.968 1.813.349 4.005 2.408 4.005zm14.542-24.504h5.452v10.89h-5.452zM24 31.998a2.726 2.726 0 0 1 2.726 2.723A2.726 2.726 0 0 1 24 37.444a2.726 2.726 0 0 1-2.726-2.723A2.726 2.726 0 0 1 24 31.998z\"/></svg>`;\n"],"names":["attention","svg"],"mappings":"wCAEA,IAAAA,EAAeC,CAAG"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as v}from"./index-
|
|
2
|
-
//# sourceMappingURL=bell-
|
|
1
|
+
import{b as v}from"./index-9b3645b4.js";var s=v`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M34.417 21.526v9.133l3.632 3.654v1.826H9v-1.827l3.631-3.653v-9.133c0-5.626 2.96-10.302 8.17-11.544V8.74A2.728 2.728 0 0123.524 6a2.728 2.728 0 012.724 2.74v1.242c5.192 1.242 8.17 5.937 8.17 11.544zm-7.262 16.44c0 2.01-1.634 3.653-3.63 3.653-2.016 0-3.632-1.644-3.632-3.653h7.262z"/></svg>`;export{s as default};
|
|
2
|
+
//# sourceMappingURL=bell-c7493d8c.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bell-
|
|
1
|
+
{"version":3,"file":"bell-c7493d8c.js","sources":["../src/components/icon/icons/bell.ts"],"sourcesContent":["import { svg } from 'lit';\n\nexport default svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 48 48\"><path d=\"M34.417 21.526v9.133l3.632 3.654v1.826H9v-1.827l3.631-3.653v-9.133c0-5.626 2.96-10.302 8.17-11.544V8.74A2.728 2.728 0 0123.524 6a2.728 2.728 0 012.724 2.74v1.242c5.192 1.242 8.17 5.937 8.17 11.544zm-7.262 16.44c0 2.01-1.634 3.653-3.63 3.653-2.016 0-3.632-1.644-3.632-3.653h7.262z\"/></svg>`;\n"],"names":["bell","svg"],"mappings":"wCAEA,IAAAA,EAAeC,CAAG"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as L}from"./index-
|
|
2
|
-
//# sourceMappingURL=check-
|
|
1
|
+
import{b as L}from"./index-9b3645b4.js";var s=L`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M44.4205 13.3433L40.1778 9.10067L18.9646 30.3139L9.06512 20.4144L4.82248 24.657L14.722 34.5565L18.9646 38.7992L23.2073 34.5565L44.4205 13.3433Z"/></svg>`;export{s as default};
|
|
2
|
+
//# sourceMappingURL=check-bbac788c.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-
|
|
1
|
+
{"version":3,"file":"check-bbac788c.js","sources":["../src/components/icon/icons/check.ts"],"sourcesContent":["import { svg } from 'lit';\n\nexport default svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 48 48\"><path d=\"M44.4205 13.3433L40.1778 9.10067L18.9646 30.3139L9.06512 20.4144L4.82248 24.657L14.722 34.5565L18.9646 38.7992L23.2073 34.5565L44.4205 13.3433Z\"/></svg>`;\n"],"names":["check","svg"],"mappings":"wCAEA,IAAAA,EAAeC,CAAG"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as L}from"./index-
|
|
2
|
-
//# sourceMappingURL=close-
|
|
1
|
+
import{b as L}from"./index-9b3645b4.js";var s=L`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M40.9706 11.2721L36.7279 7.02944L24 19.7574L11.2721 7.02944L7.02944 11.2721L19.7574 24L7.02944 36.7279L11.2721 40.9706L24 28.2426L36.7279 40.9706L40.9706 36.7279L28.2426 24L40.9706 11.2721Z"/></svg>`;export{s as default};
|
|
2
|
+
//# sourceMappingURL=close-18b002ef.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"close-
|
|
1
|
+
{"version":3,"file":"close-18b002ef.js","sources":["../src/components/icon/icons/close.ts"],"sourcesContent":["import { svg } from 'lit';\n\nexport default svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 48 48\"><path d=\"M40.9706 11.2721L36.7279 7.02944L24 19.7574L11.2721 7.02944L7.02944 11.2721L19.7574 24L7.02944 36.7279L11.2721 40.9706L24 28.2426L36.7279 40.9706L40.9706 36.7279L28.2426 24L40.9706 11.2721Z\"/></svg>`;\n"],"names":["close","svg"],"mappings":"wCAEA,IAAAA,EAAeC,CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.styles.ts"],"names":[],"mappings":"AAYA,iBAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"checkbox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.styles.ts"],"names":[],"mappings":"AAYA,iBAAS,MAAM,4BAuGd;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PropertyValues } from 'lit';
|
|
2
2
|
import { Component } from '../component';
|
|
3
3
|
import type { FieldStatus, FieldSize } from './field.types';
|
|
4
|
+
import type { StackProps } from '../layout/stack';
|
|
4
5
|
import '../layout/group';
|
|
5
6
|
import '../layout/stack';
|
|
6
7
|
import '../close-button';
|
|
@@ -12,6 +13,7 @@ export interface FieldProps {
|
|
|
12
13
|
size?: FieldSize;
|
|
13
14
|
status?: FieldStatus;
|
|
14
15
|
required?: boolean;
|
|
16
|
+
align?: StackProps['align'];
|
|
15
17
|
}
|
|
16
18
|
export declare class Field extends Component {
|
|
17
19
|
static get properties(): {
|
|
@@ -30,6 +32,9 @@ export declare class Field extends Component {
|
|
|
30
32
|
size: {
|
|
31
33
|
type: StringConstructor;
|
|
32
34
|
};
|
|
35
|
+
align: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
};
|
|
33
38
|
};
|
|
34
39
|
/**
|
|
35
40
|
* Label that describes what this field is about.
|
|
@@ -51,6 +56,10 @@ export declare class Field extends Component {
|
|
|
51
56
|
* Field size.
|
|
52
57
|
*/
|
|
53
58
|
size: FieldProps['size'];
|
|
59
|
+
/**
|
|
60
|
+
* Value for the m-stack `align` attribute.
|
|
61
|
+
*/
|
|
62
|
+
align: FieldProps['align'];
|
|
54
63
|
private provider;
|
|
55
64
|
constructor();
|
|
56
65
|
update(changedProperties: PropertyValues): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/components/field/field.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAI1C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE5D,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AAEzB,OAAO,cAAc,CAAC;AACtB,OAAO,eAAe,CAAC;AAEvB,MAAM,WAAW,UAAU;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,QAAQ,CAAC,EAA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AAc;IAgBxC,MAAM;CAaf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,SAAS,EAAE,KAAK,CAAC;KACjB;CACD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as v}from"./index-
|
|
2
|
-
//# sourceMappingURL=indeterminate-
|
|
1
|
+
import{b as v}from"./index-9b3645b4.js";var t=v`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0z" fill="none" /><path d="M19 13H5v-2h14v2z" /></svg>`;export{t as default};
|
|
2
|
+
//# sourceMappingURL=indeterminate-821133a2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indeterminate-
|
|
1
|
+
{"version":3,"file":"indeterminate-821133a2.js","sources":["../src/components/icon/icons/indeterminate.ts"],"sourcesContent":["import { svg } from 'lit';\n\nexport default svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M0 0h24v24H0V0z\" fill=\"none\" /><path d=\"M19 13H5v-2h14v2z\" /></svg>`;\n"],"names":["indeterminate","svg"],"mappings":"wCAEA,IAAAA,EAAeC,CAAG"}
|
|
@@ -422,7 +422,7 @@ const ut=t=>null!=t?t:C
|
|
|
422
422
|
${It("body-md-bold")};
|
|
423
423
|
color: ${Et("color-text-secondary")};
|
|
424
424
|
}
|
|
425
|
-
`],window.customElements.define("m-banner-title",ae);class le extends dt{constructor(){super(...arguments),this.emit=(t,e)=>{const o=new CustomEvent(t,{bubbles:!0,cancelable:!0,composed:!0,...e});this.dispatchEvent(o)},this.reemit=t=>{!function(t,e){!e.bubbles||t.shadowRoot&&!e.composed||e.stopPropagation();const o=Reflect.construct(e.constructor,[e.type,e]),i=t.dispatchEvent(o);i||e.preventDefault()}(this,t)}}}var ce={BASE_PIXELS:16,toRem:function(t,e=16){return parseInt(String(t),10)/e+"rem"}},de=wt(ce.toRem);function he(t,e){return X(de(t,e))}const ue=new Map([["alert-circle",()=>import("./attention-
|
|
425
|
+
`],window.customElements.define("m-banner-title",ae);class le extends dt{constructor(){super(...arguments),this.emit=(t,e)=>{const o=new CustomEvent(t,{bubbles:!0,cancelable:!0,composed:!0,...e});this.dispatchEvent(o)},this.reemit=t=>{!function(t,e){!e.bubbles||t.shadowRoot&&!e.composed||e.stopPropagation();const o=Reflect.construct(e.constructor,[e.type,e]),i=t.dispatchEvent(o);i||e.preventDefault()}(this,t)}}}var ce={BASE_PIXELS:16,toRem:function(t,e=16){return parseInt(String(t),10)/e+"rem"}},de=wt(ce.toRem);function he(t,e){return X(de(t,e))}const ue=new Map([["alert-circle",()=>import("./attention-738831d2.js")],["attention",()=>import("./attention-738831d2.js")],["bell",()=>import("./bell-c7493d8c.js")],["check",()=>import("./check-bbac788c.js")],["close",()=>import("./close-18b002ef.js")],["indeterminate",()=>import("./indeterminate-821133a2.js")],["info-circle",()=>import("./info-circle-06de27ec.js")]]);var pe,be,ge,me;ue.keys();class fe extends le{static get properties(){return{name:{type:String},size:{type:String},color:{type:String},loading:{state:!0}}}constructor(){super(),this.icon=null,pe.set(this,(async()=>{ue.has(this.name);try{this.icon=null;const{default:t}=await ue.get(this.name)();this.icon=t}catch{}finally{this.requestUpdate()}})),this.icon=null}connectedCallback(){super.connectedCallback(),t(this,pe,"f").call(this)}update(e){super.update(e),e.has("name")&&t(this,pe,"f").call(this)}updated(t){super.updated(t),t.has("size")&&null!=this.size&&this.style.setProperty("--m-icon-size",`${parseInt(String(this.size),10)||16}px`),t.has("color")&&null!=this.color&&this.style.setProperty("--m-icon-color",xt(this.color))}render(){return null!=this.name&&ue.has(this.name)&&null!=this.icon?this.icon:C}}pe=new WeakMap,fe.styles=[[Y`
|
|
426
426
|
:host {
|
|
427
427
|
--m-icon-size: 16px;
|
|
428
428
|
--m-icon-color: ${Et("color-text-primary")};
|
|
@@ -949,6 +949,9 @@ const ve="important",$e=" !"+ve,we=bt(class extends gt{constructor(t){var e;if(s
|
|
|
949
949
|
border-color: ${Et("color-border")};
|
|
950
950
|
border-width: ${Bt("border-thin")};
|
|
951
951
|
margin: 0;
|
|
952
|
+
flex-grow: 0;
|
|
953
|
+
flex-shrink: 0;
|
|
954
|
+
flex-basis: var(--checkbox-input-size);
|
|
952
955
|
${Ft([{property:"border",...je},{property:"background",...je}])};
|
|
953
956
|
}
|
|
954
957
|
|
|
@@ -1382,7 +1385,7 @@ let _e=class{constructor(t,e,o,i){var r;if(this.subscribe=!1,this.provided=!1,th
|
|
|
1382
1385
|
.label.-size-small .required {
|
|
1383
1386
|
${It("body-sm")};
|
|
1384
1387
|
}
|
|
1385
|
-
`]],window.customElements.define("m-field-label",Lo),Le();class No extends le{static get properties(){return{label:{type:String},hint:{type:String},required:{type:Boolean},status:{type:String},size:{type:String}}}constructor(){super(),this.provider=new Ue(this,Ro,{required:!1,size:"default",status:"default"}),this.required=!1,this.status="default",this.size="default"}update(t){super.update(t),(t.has("required")||t.has("status")||t.has("size"))&&this.provider.setValue({required:this.required,status:this.status,size:this.size})}render(){return k`<m-stack gap="spacing-1">
|
|
1388
|
+
`]],window.customElements.define("m-field-label",Lo),Le();class No extends le{static get properties(){return{label:{type:String},hint:{type:String},required:{type:Boolean},status:{type:String},size:{type:String},align:{type:String}}}constructor(){super(),this.provider=new Ue(this,Ro,{required:!1,size:"default",status:"default"}),this.required=!1,this.status="default",this.size="default",this.align="stretch"}update(t){super.update(t),(t.has("required")||t.has("status")||t.has("size"))&&this.provider.setValue({required:this.required,status:this.status,size:this.size})}render(){return k`<m-stack gap="spacing-1" align="${this.align}">
|
|
1386
1389
|
${this.label?k`<m-field-label>${this.label}</m-field-label>`:k`<slot name="label"></slot>`}
|
|
1387
1390
|
|
|
1388
1391
|
<slot></slot>
|
|
@@ -2108,4 +2111,4 @@ let _e=class{constructor(t,e,o,i){var r;if(this.subscribe=!1,this.provided=!1,th
|
|
|
2108
2111
|
display: inline-block;
|
|
2109
2112
|
}
|
|
2110
2113
|
`]],window.customElements.define("m-tooltip",Cn);const Mn=["top","left","right","bottom","top-start","top-end","bottom-start","bottom-end"];export{xe as $,Fo as A,oe as B,Ce as C,Ke as D,mo as E,No as F,vo as G,yo as H,ho as I,fo as J,co as K,$o as L,ko as M,xo as N,Co as O,zo as P,Wo as Q,Mo as R,wo as S,Ho as T,Jo as U,ei as V,$i as W,Fi as X,Ii as Y,Gi as Z,Vi as _,ie as a,Hi as a0,sr as a1,ar as a2,Cn as a3,Mn as a4,z as b,re as c,ne as d,se as e,ae as f,Se as g,ee as h,Me as i,We as j,Ae as k,Re as l,ye as m,Qe as n,to as o,io as p,ro as q,no as r,uo as s,po as t,bo as u,go as v,Eo as w,To as x,qo as y,Lo as z};
|
|
2111
|
-
//# sourceMappingURL=index-
|
|
2114
|
+
//# sourceMappingURL=index-9b3645b4.js.map
|