@loadsmart/miranda-wc 1.31.0 → 1.31.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-button.styles.d.ts","sourceRoot":"","sources":["../../../src/components/button/base-button.styles.ts"],"names":[],"mappings":"AAMA,iBAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"base-button.styles.d.ts","sourceRoot":"","sources":["../../../src/components/button/base-button.styles.ts"],"names":[],"mappings":"AAMA,iBAAS,MAAM,4BA4Gd;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.styles.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.styles.ts"],"names":[],"mappings":"AAOA,iBAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"button.styles.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.styles.ts"],"names":[],"mappings":"AAOA,iBAAS,MAAM,8BA4Pd;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-field.styles.d.ts","sourceRoot":"","sources":["../../../src/components/text-field/text-field.styles.ts"],"names":[],"mappings":"AAMA,iBAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"text-field.styles.d.ts","sourceRoot":"","sources":["../../../src/components/text-field/text-field.styles.ts"],"names":[],"mappings":"AAMA,iBAAS,MAAM,4BAwHd;AAED,eAAe,MAAM,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -52,6 +52,28 @@ const ct=t=>null!=t?t:x
|
|
|
52
52
|
--m-button-font-size: ${Wt("font-size-3")};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
:host([size='small']) {
|
|
56
|
+
--m-button-base-size: ${Wt("global-height-small")};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:host([size='large']) {
|
|
60
|
+
--m-button-base-size: ${Wt("global-height-large")};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:host([variant|='icon']) {
|
|
64
|
+
--m-button-border-radius: ${Wt("border-radius-circle")};
|
|
65
|
+
|
|
66
|
+
min-inline-size: var(--m-button-base-size);
|
|
67
|
+
inline-size: var(--m-button-base-size);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:host {
|
|
71
|
+
display: inline-block;
|
|
72
|
+
min-block-size: var(--m-button-base-size);
|
|
73
|
+
block-size: var(--m-button-base-size);
|
|
74
|
+
border-radius: var(--m-button-border-radius);
|
|
75
|
+
}
|
|
76
|
+
|
|
55
77
|
.button {
|
|
56
78
|
${Rt([{property:"color"},{property:"background-color"},{property:"border-color"}])};
|
|
57
79
|
|
|
@@ -61,12 +83,13 @@ const ct=t=>null!=t?t:x
|
|
|
61
83
|
cursor: pointer;
|
|
62
84
|
position: relative;
|
|
63
85
|
|
|
64
|
-
display:
|
|
86
|
+
display: flex;
|
|
65
87
|
align-items: center;
|
|
66
88
|
justify-content: center;
|
|
67
89
|
overflow: hidden;
|
|
68
90
|
|
|
69
|
-
block-size:
|
|
91
|
+
block-size: 100%;
|
|
92
|
+
inline-size: 100%;
|
|
70
93
|
box-sizing: border-box;
|
|
71
94
|
|
|
72
95
|
text-decoration: none;
|
|
@@ -291,15 +314,9 @@ const ct=t=>null!=t?t:x
|
|
|
291
314
|
|
|
292
315
|
.button.-icon,
|
|
293
316
|
.button.-icon-secondary {
|
|
294
|
-
--m-button-border-radius: ${Wt("border-radius-circle")};
|
|
295
317
|
--m-button-color: ${Mt("color-neutral-90")};
|
|
296
318
|
--m-button-padding-x: ${Wt("spacing-1")};
|
|
297
319
|
--m-button-padding-y: ${Wt("spacing-1")};
|
|
298
|
-
|
|
299
|
-
min-block-size: var(--m-button-base-size);
|
|
300
|
-
max-block-size: var(--m-button-base-size);
|
|
301
|
-
min-inline-size: var(--m-button-base-size);
|
|
302
|
-
max-inline-size: var(--m-button-base-size);
|
|
303
320
|
}
|
|
304
321
|
|
|
305
322
|
.button.-icon {
|
|
@@ -365,14 +382,12 @@ const ct=t=>null!=t?t:x
|
|
|
365
382
|
|
|
366
383
|
.button.-small {
|
|
367
384
|
--m-button-padding-y: ${Wt("spacing-2")};
|
|
368
|
-
--m-button-base-size: ${Wt("global-height-small")};
|
|
369
385
|
|
|
370
386
|
${Pt("button-sm")};
|
|
371
387
|
}
|
|
372
388
|
|
|
373
389
|
.button.-large {
|
|
374
390
|
--m-button-padding-y: ${Wt("spacing-4")};
|
|
375
|
-
--m-button-base-size: ${Wt("global-height-large")};
|
|
376
391
|
|
|
377
392
|
${Pt("button-lg")};
|
|
378
393
|
}
|
|
@@ -1725,6 +1740,7 @@ let Be=class{constructor(t,e,o,i=!1){this.host=t,this.context=e,this.callback=o,
|
|
|
1725
1740
|
border: none;
|
|
1726
1741
|
outline: none;
|
|
1727
1742
|
flex: 1;
|
|
1743
|
+
min-width: 0;
|
|
1728
1744
|
|
|
1729
1745
|
${Tt(0)};
|
|
1730
1746
|
padding-block: var(--m-text-field-padding-y);
|