@macroui/macroui-vue 2.7.6 → 2.7.7
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/index.cjs.js +1 -1
- package/dist/index.es.js +13 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -439,7 +439,9 @@ const Rn = (a, r) => {
|
|
|
439
439
|
},
|
|
440
440
|
size: {
|
|
441
441
|
type: String,
|
|
442
|
-
|
|
442
|
+
// Element Plus 标准: large / default / small
|
|
443
|
+
// daisyUI 扩展: xs / sm / md / lg / xl
|
|
444
|
+
values: ["large", "default", "small", "xs", "sm", "md", "lg", "xl"],
|
|
443
445
|
default: "default"
|
|
444
446
|
},
|
|
445
447
|
disabled: {
|
|
@@ -535,13 +537,18 @@ const Rn = (a, r) => {
|
|
|
535
537
|
default: "btn-neutral"
|
|
536
538
|
}[t.type || "default"] || "btn-neutral", f = {
|
|
537
539
|
large: "btn-lg",
|
|
538
|
-
small: "btn-sm"
|
|
539
|
-
|
|
540
|
-
|
|
540
|
+
small: "btn-sm"
|
|
541
|
+
}, c = {
|
|
542
|
+
xs: "btn-xs",
|
|
543
|
+
sm: "btn-sm",
|
|
544
|
+
md: "btn-md",
|
|
545
|
+
lg: "btn-lg",
|
|
546
|
+
xl: "btn-xl"
|
|
547
|
+
}, o = t.size && t.size !== "default" && (f[t.size] || c[t.size]) || "";
|
|
541
548
|
return [
|
|
542
549
|
"btn",
|
|
543
550
|
s,
|
|
544
|
-
|
|
551
|
+
o,
|
|
545
552
|
{
|
|
546
553
|
"btn-outline": t.plain,
|
|
547
554
|
"btn-active": t.loading,
|
|
@@ -576,7 +583,7 @@ const Rn = (a, r) => {
|
|
|
576
583
|
for (const [e, l] of r)
|
|
577
584
|
t[e] = l;
|
|
578
585
|
return t;
|
|
579
|
-
}, Wn = /* @__PURE__ */ ge(Hn, [["__scopeId", "data-v-
|
|
586
|
+
}, Wn = /* @__PURE__ */ ge(Hn, [["__scopeId", "data-v-8fc15d1c"]]), Dl = ve(Wn), Kn = he({
|
|
580
587
|
width: {
|
|
581
588
|
type: String,
|
|
582
589
|
default: "1px"
|