@mudakit/ui 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/MudaButton-DJffOm2u.js +42 -0
- package/dist/{MudaCalendar-C1PMSA6X.js → MudaCalendar-DzOlAhVw.js} +32 -62
- package/dist/{MudaCard-C9geam4O.js → MudaCard-D9GQzC7B.js} +1 -1
- package/dist/{MudaColorPicker-D9JCnuHA.js → MudaColorPicker-DJ7dbzzb.js} +3 -3
- package/dist/{MudaDialog-BYH1sqFg.js → MudaDialog-voCW-SpB.js} +1 -2
- package/dist/{MudaDropdown-DwNvdtqh.js → MudaDropdown-BCue994w.js} +8 -8
- package/dist/{MudaErrorBox-C0DvbAfU.js → MudaErrorBox-BvlBaVk_.js} +2 -3
- package/dist/{MudaFormCheckbox-CDY-INi6.js → MudaFormCheckbox-90HcY4_2.js} +6 -6
- package/dist/{MudaFormCombobox-BFOvOqGX.js → MudaFormCombobox-Tm_AejmV.js} +6 -6
- package/dist/{MudaFormField-Bt5W7NC1.js → MudaFormField-CFLLQiTa.js} +5 -5
- package/dist/{MudaFormInput-CI_xfpTj.js → MudaFormInput-BYoht_A0.js} +7 -7
- package/dist/{MudaFormRadio-DOXXv3mT.js → MudaFormRadio-B-1viZTW.js} +1 -1
- package/dist/{MudaFormRadioGroup-45qiNrzt.js → MudaFormRadioGroup-D_sW4A2-.js} +9 -9
- package/dist/{MudaFormSelect-Bt6EW1N-.js → MudaFormSelect-ScHiVKOB.js} +5 -5
- package/dist/{MudaFormSwitch-CtdB9qIP.js → MudaFormSwitch-CUN0-oyY.js} +7 -7
- package/dist/{MudaFormText-s-Y3QoDX.js → MudaFormText-D3jIuX5V.js} +3 -3
- package/dist/{MudaIconPicker-zfcw1uy_.js → MudaIconPicker-BUsNMKFC.js} +10 -11
- package/dist/{MudaPagination-BbXaUuPU.js → MudaPagination-BdNHAYCm.js} +19 -21
- package/dist/{MudaPopover-BgwkVjjX.js → MudaPopover-BU9CWFeP.js} +1 -1
- package/dist/MudaSpinner-yYYZ5c8j.js +16 -0
- package/dist/{MudaTable-DWwTyMmj.js → MudaTable-BEmSrWWE.js} +3 -3
- package/dist/MudaTag-LTFVT3ty.js +27 -0
- package/dist/components/MudaButton/index.js +1 -1
- package/dist/components/MudaCalendar/index.js +1 -1
- package/dist/components/MudaCard/index.js +1 -1
- package/dist/components/MudaColorPicker/index.js +1 -1
- package/dist/components/MudaDialog/index.js +1 -1
- package/dist/components/MudaDropdown/index.js +1 -1
- package/dist/components/MudaErrorBox/index.js +1 -1
- package/dist/components/MudaFormCheckbox/index.js +1 -1
- package/dist/components/MudaFormCombobox/index.js +1 -1
- package/dist/components/MudaFormField/index.js +1 -1
- package/dist/components/MudaFormInput/index.js +1 -1
- package/dist/components/MudaFormRadio/index.js +1 -1
- package/dist/components/MudaFormRadioGroup/index.js +1 -1
- package/dist/components/MudaFormSelect/index.js +1 -1
- package/dist/components/MudaFormSwitch/index.js +1 -1
- package/dist/components/MudaFormText/index.js +1 -1
- package/dist/components/MudaIconPicker/index.js +1 -1
- package/dist/components/MudaPagination/index.js +1 -1
- package/dist/components/MudaPopover/index.js +1 -1
- package/dist/components/MudaSpinner/MudaSpinner.vue.d.ts +0 -2
- package/dist/components/MudaSpinner/index.js +1 -1
- package/dist/components/MudaTable/index.js +1 -1
- package/dist/components/MudaTag/index.js +1 -1
- package/dist/index.js +22 -22
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/MudaButton-Bw6Fw2-Y.js +0 -42
- package/dist/MudaSpinner-BDVO7tdO.js +0 -26
- package/dist/MudaTag-DLqit790.js +0 -27
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e, l as t, n, r } from "./MudaIcon-D_siyzw0.js";
|
|
2
|
-
import { t as i } from "./MudaPopover-
|
|
3
|
-
import { t as a } from "./MudaFormRadioGroup-
|
|
2
|
+
import { t as i } from "./MudaPopover-BU9CWFeP.js";
|
|
3
|
+
import { t as a } from "./MudaFormRadioGroup-D_sW4A2-.js";
|
|
4
4
|
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, mergeModels as m, mergeProps as h, normalizeClass as g, openBlock as _, ref as v, renderList as y, resolveDynamicComponent as b, toRef as x, unref as S, useModel as C, watch as w, withCtx as T, withModifiers as E } from "vue";
|
|
5
5
|
//#region src/components/MudaIconPicker/useMudaIconPickerList.ts
|
|
6
6
|
var D = /* @__PURE__ */ new Set(/* @__PURE__ */ "account_balance.analytics.apartment.bathtub.bed.bento.checkroom.coffee.credit_card.directions_bike.directions_boat.emergency.family_restroom.fitness_center.flight.hiking.home.hotel.image.key.language.local_convenience_store.local_florist.local_mall.local_shipping.local_taxi.medical_services.museum.nightlife.paid.palette.payments.pedal_bike.phone_iphone.restaurant.sailing.school.shopping_cart.sports_bar.sports_basketball.sports_esports.sports_mma.store.storefront.table_rows.train.travel_explore.tv.vaccines.videogame_asset".split(".")), O = (e) => {
|
|
@@ -23,23 +23,23 @@ var D = /* @__PURE__ */ new Set(/* @__PURE__ */ "account_balance.analytics.apart
|
|
|
23
23
|
type: "button",
|
|
24
24
|
disabled: t.disabled,
|
|
25
25
|
class: g(["muda-button-reset flex size-min min-h-10 w-full items-center justify-center rounded-md", {
|
|
26
|
-
"fill-secondary-light/30": t.disabled,
|
|
27
|
-
"fill-secondary-dark hover:bg-primary-light hover:fill-white": !t.disabled,
|
|
28
|
-
"bg-primary fill-white!": e === n.value
|
|
26
|
+
"fill-muda-secondary-light/30": t.disabled,
|
|
27
|
+
"fill-muda-secondary-dark hover:bg-muda-primary-light hover:fill-white": !t.disabled,
|
|
28
|
+
"bg-muda-primary fill-white!": e === n.value
|
|
29
29
|
}]),
|
|
30
30
|
onClick: (t) => n.value = e
|
|
31
31
|
}, [(_(), c(b(r), { class: "size-6" }))], 10, A))), 128)), d("button", {
|
|
32
32
|
type: "button",
|
|
33
33
|
disabled: t.disabled,
|
|
34
34
|
class: g(["muda-button-reset flex size-min min-h-10 w-full items-center justify-center rounded-md", {
|
|
35
|
-
"fill-secondary-light/30": t.disabled,
|
|
36
|
-
"fill-secondary-dark hover:bg-primary-light hover:fill-white": !t.disabled,
|
|
37
|
-
"bg-primary fill-white": n.value == null
|
|
35
|
+
"fill-muda-secondary-light/30": t.disabled,
|
|
36
|
+
"fill-muda-secondary-dark hover:bg-muda-primary-light hover:fill-white": !t.disabled,
|
|
37
|
+
"bg-muda-primary fill-white": n.value == null
|
|
38
38
|
}]),
|
|
39
39
|
onClick: i[0] ||= E((e) => n.value = void 0, ["prevent"])
|
|
40
40
|
}, [...i[1] ||= [d("span", { class: "block size-6" }, null, -1)]], 10, j)]));
|
|
41
41
|
}
|
|
42
|
-
}), N = ["disabled"
|
|
42
|
+
}), N = ["disabled"], P = { class: "flex w-76 flex-col gap-2" }, F = { class: "relative max-h-60 muda-scroll-container-v-form-background" }, I = /* @__PURE__ */ p({
|
|
43
43
|
inheritAttrs: !1,
|
|
44
44
|
__name: "MudaIconPicker",
|
|
45
45
|
props: /*@__PURE__*/ m({
|
|
@@ -98,8 +98,7 @@ var D = /* @__PURE__ */ new Set(/* @__PURE__ */ "account_balance.analytics.apart
|
|
|
98
98
|
default: T(() => [d("button", h(e.$attrs, {
|
|
99
99
|
type: "button",
|
|
100
100
|
disabled: u.disabled,
|
|
101
|
-
"
|
|
102
|
-
class: ["muda-button-reset relative flex size-10 items-center justify-center rounded-md border border-primary fill-secondary-dark focus:ring-2 focus:ring-primary-light focus:outline-hidden disabled:border-secondary-dark/20 disabled:text-secondary-light", { "border-danger focus:ring-danger-light": u.isInvalid }],
|
|
101
|
+
class: ["muda-button-reset relative flex size-10 items-center justify-center rounded-md border border-muda-primary fill-muda-secondary-dark focus:ring-2 focus:ring-muda-primary-light focus:outline-hidden disabled:border-muda-secondary-dark/20 disabled:text-muda-secondary-light", { "border-muda-danger focus:ring-muda-danger-light": u.isInvalid }],
|
|
103
102
|
onClick: t[0] ||= (e) => y.value = !y.value
|
|
104
103
|
}), [D.value == null ? l("", !0) : (_(), c(b(D.value), { key: 0 }))], 16, N)]),
|
|
105
104
|
_: 1
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./MudaIcon-D_siyzw0.js";
|
|
2
2
|
import { Fragment as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createTextVNode as o, createVNode as s, defineComponent as c, mergeModels as l, mergeProps as u, openBlock as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, useModel as g, useSlots as _, withCtx as v } from "vue";
|
|
3
3
|
//#region src/common/range.ts
|
|
4
|
-
var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b =
|
|
4
|
+
var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b = /* @__PURE__ */ c({
|
|
5
5
|
__name: "MudaPaginationItem",
|
|
6
6
|
props: {
|
|
7
7
|
isSelected: { type: Boolean },
|
|
@@ -11,25 +11,23 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
11
11
|
let t = e;
|
|
12
12
|
return (e, n) => (d(), a("button", u(e.$attrs, {
|
|
13
13
|
type: "button",
|
|
14
|
-
"aria-current": t.isSelected ? "page" : void 0,
|
|
15
14
|
class: [
|
|
16
15
|
"muda-button-reset relative inline-flex items-center rounded-md py-2 focus:z-20",
|
|
17
16
|
"text-sm font-semibold",
|
|
18
|
-
"hover:bg-primary-light hover:fill-white hover:text-white",
|
|
19
|
-
"disabled:fill-secondary-light disabled:hover:bg-inherit disabled:hover:fill-secondary-light",
|
|
20
|
-
!t.isSelected && "text-secondary-dark disabled:text-secondary-light disabled:hover:text-secondary-light",
|
|
21
|
-
t.isSelected && "z-10 bg-primary text-white disabled:bg-secondary-light disabled:hover:bg-secondary-light",
|
|
17
|
+
"hover:bg-muda-primary-light hover:fill-white hover:text-white",
|
|
18
|
+
"disabled:fill-muda-secondary-light disabled:hover:bg-inherit disabled:hover:fill-muda-secondary-light",
|
|
19
|
+
!t.isSelected && "text-muda-secondary-dark disabled:text-muda-secondary-light disabled:hover:text-muda-secondary-light",
|
|
20
|
+
t.isSelected && "z-10 bg-muda-primary text-white disabled:bg-muda-secondary-light disabled:hover:bg-muda-secondary-light",
|
|
22
21
|
t.type === "page" && "px-4",
|
|
23
22
|
t.type === "more" && "px-3",
|
|
24
23
|
t.type === "arrow" && "px-2"
|
|
25
24
|
]
|
|
26
|
-
}), [p(e.$slots, "default")], 16
|
|
25
|
+
}), [p(e.$slots, "default")], 16));
|
|
27
26
|
}
|
|
28
|
-
}),
|
|
27
|
+
}), x = {
|
|
29
28
|
key: 0,
|
|
30
|
-
"aria-label": "Pagination",
|
|
31
29
|
class: "isolate inline-flex gap-0.5"
|
|
32
|
-
},
|
|
30
|
+
}, S = 2, C = /* @__PURE__ */ c({
|
|
33
31
|
__name: "MudaPagination",
|
|
34
32
|
props: /*@__PURE__*/ l({
|
|
35
33
|
pages: {},
|
|
@@ -44,9 +42,9 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
44
42
|
}),
|
|
45
43
|
emits: ["update:modelValue"],
|
|
46
44
|
setup(c) {
|
|
47
|
-
let l = c, u = g(c, "modelValue"),
|
|
48
|
-
return (n, c) => l.pages > 1 ? (d(), a("nav",
|
|
49
|
-
s(
|
|
45
|
+
let l = c, u = g(c, "modelValue"), C = _(), w = n(() => Math.max(3, Math.floor(l.siblingCount))), T = n(() => w.value >= l.pages ? l.pages : Math.floor((w.value - 1) / 2)), E = n(() => l.pages <= w.value ? y(S, l.pages) : u.value < w.value - T.value ? y(S, w.value) : u.value + T.value >= l.pages ? y(l.pages - w.value + S, l.pages) : y(u.value - T.value + 1, u.value + T.value)), D = n(() => w.value - 1 < l.pages), O = n(() => u.value >= l.pages), k = n(() => u.value <= 1), A = n(() => D.value ? u.value > T.value + 1 : !1), j = n(() => D.value ? u.value < l.pages - T.value : !1);
|
|
46
|
+
return (n, c) => l.pages > 1 ? (d(), a("nav", x, [
|
|
47
|
+
s(b, {
|
|
50
48
|
type: "arrow",
|
|
51
49
|
disabled: l.disabled || k.value,
|
|
52
50
|
onClick: c[0] ||= (e) => --u.value
|
|
@@ -54,7 +52,7 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
54
52
|
default: v(() => [s(h(e), { icon: "chevron_left:outlined" })]),
|
|
55
53
|
_: 1
|
|
56
54
|
}, 8, ["disabled"]),
|
|
57
|
-
s(
|
|
55
|
+
s(b, {
|
|
58
56
|
type: "page",
|
|
59
57
|
disabled: l.disabled,
|
|
60
58
|
"is-selected": u.value === 1,
|
|
@@ -63,7 +61,7 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
63
61
|
default: v(() => [...c[6] ||= [o(" 1 ", -1)]]),
|
|
64
62
|
_: 1
|
|
65
63
|
}, 8, ["disabled", "is-selected"]),
|
|
66
|
-
A.value ? (d(), r(
|
|
64
|
+
A.value ? (d(), r(b, {
|
|
67
65
|
key: 0,
|
|
68
66
|
type: "more",
|
|
69
67
|
disabled: l.disabled,
|
|
@@ -72,7 +70,7 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
72
70
|
default: v(() => [s(h(e), { icon: "more_horiz:outlined" })]),
|
|
73
71
|
_: 1
|
|
74
72
|
}, 8, ["disabled"])) : i("", !0),
|
|
75
|
-
(d(!0), a(t, null, f(E.value, (e) => (d(), r(
|
|
73
|
+
(d(!0), a(t, null, f(E.value, (e) => (d(), r(b, {
|
|
76
74
|
key: e,
|
|
77
75
|
type: "page",
|
|
78
76
|
disabled: l.disabled,
|
|
@@ -86,7 +84,7 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
86
84
|
"is-selected",
|
|
87
85
|
"onClick"
|
|
88
86
|
]))), 128)),
|
|
89
|
-
j.value ? (d(), r(
|
|
87
|
+
j.value ? (d(), r(b, {
|
|
90
88
|
key: 1,
|
|
91
89
|
type: "more",
|
|
92
90
|
disabled: l.disabled,
|
|
@@ -95,7 +93,7 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
95
93
|
default: v(() => [s(h(e), { icon: "more_horiz:outlined" })]),
|
|
96
94
|
_: 1
|
|
97
95
|
}, 8, ["disabled"])) : i("", !0),
|
|
98
|
-
s(
|
|
96
|
+
s(b, {
|
|
99
97
|
type: "page",
|
|
100
98
|
disabled: l.disabled,
|
|
101
99
|
"is-selected": u.value === l.pages,
|
|
@@ -104,7 +102,7 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
104
102
|
default: v(() => [o(m(l.pages), 1)]),
|
|
105
103
|
_: 1
|
|
106
104
|
}, 8, ["disabled", "is-selected"]),
|
|
107
|
-
s(
|
|
105
|
+
s(b, {
|
|
108
106
|
type: "arrow",
|
|
109
107
|
disabled: l.disabled || O.value,
|
|
110
108
|
onClick: c[5] ||= (e) => u.value += 1
|
|
@@ -112,8 +110,8 @@ var y = (e, t) => Array.from({ length: Math.max(0, t - e) }, (t, n) => e + n), b
|
|
|
112
110
|
default: v(() => [s(h(e), { icon: "chevron_right:outlined" })]),
|
|
113
111
|
_: 1
|
|
114
112
|
}, 8, ["disabled"])
|
|
115
|
-
])) :
|
|
113
|
+
])) : C.empty == null ? i("", !0) : p(n.$slots, "empty", {}, void 0, void 0, 1);
|
|
116
114
|
}
|
|
117
115
|
});
|
|
118
116
|
//#endregion
|
|
119
|
-
export {
|
|
117
|
+
export { C as t };
|
|
@@ -53,7 +53,7 @@ var C = /* @__PURE__ */ c({
|
|
|
53
53
|
}, {
|
|
54
54
|
default: _(() => [w.value ? (d(), o("div", u({ key: 0 }, e.$attrs, {
|
|
55
55
|
ref: "popover",
|
|
56
|
-
class: "inline-flex h-max w-max rounded-md border border-secondary-light bg-foreground p-2 shadow-lg",
|
|
56
|
+
class: "inline-flex h-max w-max rounded-md border border-muda-secondary-light bg-muda-foreground p-2 shadow-lg",
|
|
57
57
|
style: {
|
|
58
58
|
...m(k),
|
|
59
59
|
zIndex: m(O)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createElementBlock as e, createElementVNode as t, defineComponent as n, normalizeClass as r, openBlock as i } from "vue";
|
|
2
|
+
//#region src/components/MudaSpinner/MudaSpinner.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var a = { class: "flex items-center justify-center" }, o = /* @__PURE__ */ n({
|
|
4
|
+
__name: "MudaSpinner",
|
|
5
|
+
props: { size: { default: "medium" } },
|
|
6
|
+
setup(n) {
|
|
7
|
+
let o = n;
|
|
8
|
+
return (n, s) => (i(), e("div", a, [t("div", { class: r(["animate-spin rounded-full border-b-2 border-muda-primary", {
|
|
9
|
+
"size-6": o.size === "small",
|
|
10
|
+
"size-14": o.size === "medium",
|
|
11
|
+
"size-24": o.size === "large"
|
|
12
|
+
}]) }, null, 2)]));
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
export { o as t };
|
|
@@ -9,7 +9,7 @@ var c = { class: "relative w-full border-collapse" }, l = { key: 1 }, u = { key:
|
|
|
9
9
|
return (e, s) => (a(), n("table", c, [
|
|
10
10
|
d.head == null ? t("", !0) : (a(), n("thead", {
|
|
11
11
|
key: 0,
|
|
12
|
-
class: i(["bg-foreground", { "sticky top-0 z-10": r.stickyHeader }])
|
|
12
|
+
class: i(["bg-muda-foreground", { "sticky top-0 z-10": r.stickyHeader }])
|
|
13
13
|
}, [o(e.$slots, "head")], 2)),
|
|
14
14
|
d.body == null ? t("", !0) : (a(), n("tbody", l, [o(e.$slots, "body")])),
|
|
15
15
|
d.foot == null ? t("", !0) : (a(), n("tfoot", u, [o(e.$slots, "foot")])),
|
|
@@ -20,11 +20,11 @@ var c = { class: "relative w-full border-collapse" }, l = { key: 1 }, u = { key:
|
|
|
20
20
|
function m(e, t) {
|
|
21
21
|
return a(), n("td", p, [o(e.$slots, "default")]);
|
|
22
22
|
}
|
|
23
|
-
var h = /*#__PURE__*/ e(f, [["render", m]]), g = {}, _ = { class: "border-b-2 border-b-secondary-light p-2 text-sm text-secondary first:pl-0 last:pr-0" };
|
|
23
|
+
var h = /*#__PURE__*/ e(f, [["render", m]]), g = {}, _ = { class: "border-b-2 border-b-muda-secondary-light p-2 text-sm text-muda-secondary first:pl-0 last:pr-0" };
|
|
24
24
|
function v(e, t) {
|
|
25
25
|
return a(), n("th", _, [o(e.$slots, "default")]);
|
|
26
26
|
}
|
|
27
|
-
var y = /*#__PURE__*/ e(g, [["render", v]]), b = {}, x = { class: "border-b border-b-secondary-light last:border-0" };
|
|
27
|
+
var y = /*#__PURE__*/ e(g, [["render", v]]), b = {}, x = { class: "border-b border-b-muda-secondary-light last:border-0" };
|
|
28
28
|
function S(e, t) {
|
|
29
29
|
return a(), n("tr", x, [o(e.$slots, "default")]);
|
|
30
30
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, mergeProps as n, openBlock as r, renderSlot as i } from "vue";
|
|
2
|
+
//#endregion
|
|
3
|
+
//#region src/components/MudaTag/MudaTag.vue
|
|
4
|
+
var a = /* @__PURE__ */ t({
|
|
5
|
+
__name: "MudaTag",
|
|
6
|
+
props: {
|
|
7
|
+
variant: { default: "default" },
|
|
8
|
+
size: { default: "medium" }
|
|
9
|
+
},
|
|
10
|
+
setup(t) {
|
|
11
|
+
let a = t;
|
|
12
|
+
return (t, o) => (r(), e("div", n(t.$attrs, { class: ["inline-flex rounded-md font-medium ring-1 ring-inset", {
|
|
13
|
+
"px-2 text-[0.7rem]": a.size === "small",
|
|
14
|
+
"px-2 py-1 text-xs": a.size === "medium",
|
|
15
|
+
"px-3 py-2 text-sm": a.size === "large",
|
|
16
|
+
"bg-muda-form-background": a.variant === "default",
|
|
17
|
+
"bg-muda-primary-light text-muda-primary-dark ring-muda-primary-dark/20": a.variant === "primary",
|
|
18
|
+
"bg-muda-secondary-light text-muda-secondary-dark ring-muda-secondary-dark/20": a.variant === "secondary",
|
|
19
|
+
"bg-muda-success-light text-muda-success-dark ring-muda-success-dark/20": a.variant === "success",
|
|
20
|
+
"bg-muda-danger-light text-muda-danger-dark ring-muda-danger-dark/20": a.variant === "danger",
|
|
21
|
+
"bg-muda-warning-light text-muda-warning-dark ring-muda-warning-dark/20": a.variant === "warning",
|
|
22
|
+
"bg-muda-info-light text-muda-info-dark ring-muda-info-dark/20": a.variant === "info"
|
|
23
|
+
}] }), [i(t.$slots, "default")], 16));
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { a as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaButton-
|
|
1
|
+
import { t as e } from "../../MudaButton-DJffOm2u.js";
|
|
2
2
|
export { e as MudaButton };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "../../MudaCalendar-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "../../MudaCalendar-DzOlAhVw.js";
|
|
2
2
|
export { n as CALENDAR_DAY_FORMAT, e as CALENDAR_MONTH_FORMAT, a as CALENDAR_VALUE_FORMAT, s as CALENDAR_YEAR_FORMAT, t as MONTH_RANGE_SIZE, i as MudaCalendar, o as MudaCalendarDatePicker, c as MudaCalendarInput, r as YEAR_RANGE_SIZE };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaCard-
|
|
1
|
+
import { t as e } from "../../MudaCard-D9GQzC7B.js";
|
|
2
2
|
export { e as MudaCard };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../MudaColorPicker-
|
|
1
|
+
import { n as e, t } from "../../MudaColorPicker-DJ7dbzzb.js";
|
|
2
2
|
export { t as MudaColorPicker, e as MudaColorPickerControl };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaDialog-
|
|
1
|
+
import { t as e } from "../../MudaDialog-voCW-SpB.js";
|
|
2
2
|
export { e as MudaDialog };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaDropdown-
|
|
1
|
+
import { t as e } from "../../MudaDropdown-BCue994w.js";
|
|
2
2
|
export { e as MudaDropdown };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaErrorBox-
|
|
1
|
+
import { t as e } from "../../MudaErrorBox-BvlBaVk_.js";
|
|
2
2
|
export { e as MudaErrorBox };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaFormCheckbox-
|
|
1
|
+
import { t as e } from "../../MudaFormCheckbox-90HcY4_2.js";
|
|
2
2
|
export { e as MudaFormCheckbox };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../MudaFormCombobox-
|
|
1
|
+
import { n as e, t } from "../../MudaFormCombobox-Tm_AejmV.js";
|
|
2
2
|
export { e as MudaFormComboboxMultiple, t as MudaFormComboboxSingle };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../MudaFormField-
|
|
1
|
+
import { n as e, t } from "../../MudaFormField-CFLLQiTa.js";
|
|
2
2
|
export { t as MudaFormField, e as MudaFormFieldErrors };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaFormInput-
|
|
1
|
+
import { t as e } from "../../MudaFormInput-BYoht_A0.js";
|
|
2
2
|
export { e as MudaFormInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaFormRadio-
|
|
1
|
+
import { t as e } from "../../MudaFormRadio-B-1viZTW.js";
|
|
2
2
|
export { e as MudaFormRadio };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaFormRadioGroup-
|
|
1
|
+
import { t as e } from "../../MudaFormRadioGroup-D_sW4A2-.js";
|
|
2
2
|
export { e as MudaFormRadioGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaFormSelect-
|
|
1
|
+
import { t as e } from "../../MudaFormSelect-ScHiVKOB.js";
|
|
2
2
|
export { e as MudaFormSelect };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaFormSwitch-
|
|
1
|
+
import { t as e } from "../../MudaFormSwitch-CUN0-oyY.js";
|
|
2
2
|
export { e as MudaFormSwitch };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaFormText-
|
|
1
|
+
import { t as e } from "../../MudaFormText-D3jIuX5V.js";
|
|
2
2
|
export { e as MudaFormText };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaIconPicker-
|
|
1
|
+
import { t as e } from "../../MudaIconPicker-BUsNMKFC.js";
|
|
2
2
|
export { e as MudaIconPicker };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaPagination-
|
|
1
|
+
import { t as e } from "../../MudaPagination-BdNHAYCm.js";
|
|
2
2
|
export { e as MudaPagination };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaPopover-
|
|
1
|
+
import { t as e } from "../../MudaPopover-BU9CWFeP.js";
|
|
2
2
|
export { e as MudaPopover };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import type { MudaComponentSize } from "../../common/components";
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
size?: MudaComponentSize;
|
|
4
|
-
label?: string;
|
|
5
4
|
};
|
|
6
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
6
|
size: MudaComponentSize;
|
|
8
|
-
label: string;
|
|
9
7
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
8
|
declare const _default: typeof __VLS_export;
|
|
11
9
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaSpinner-
|
|
1
|
+
import { t as e } from "../../MudaSpinner-yYYZ5c8j.js";
|
|
2
2
|
export { e as MudaSpinner };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../../MudaTable-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../../MudaTable-BEmSrWWE.js";
|
|
2
2
|
export { e as MudaTable, n as MudaTableCell, t as MudaTableHead, r as MudaTableRow };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaTag-
|
|
1
|
+
import { t as e } from "../../MudaTag-LTFVT3ty.js";
|
|
2
2
|
export { e as MudaTag };
|
package/dist/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { t as e } from "./MudaButton-
|
|
1
|
+
import { t as e } from "./MudaButton-DJffOm2u.js";
|
|
2
2
|
import { t } from "./MudaButtonStack-xCMVwXHf.js";
|
|
3
|
-
import { a as n, c as r, i, l as a, n as o, o as s, r as c, s as l, t as u } from "./MudaCalendar-
|
|
3
|
+
import { a as n, c as r, i, l as a, n as o, o as s, r as c, s as l, t as u } from "./MudaCalendar-DzOlAhVw.js";
|
|
4
4
|
import { a as d, c as f, i as p, l as m, n as h, o as g, r as _, s as v, t as y, u as b } from "./MudaIcon-D_siyzw0.js";
|
|
5
|
-
import { t as x } from "./MudaFormInput-
|
|
6
|
-
import { t as S } from "./MudaPopover-
|
|
7
|
-
import { t as C } from "./MudaCard-
|
|
8
|
-
import { n as w, t as T } from "./MudaColorPicker-
|
|
9
|
-
import { t as E } from "./MudaDialog-
|
|
5
|
+
import { t as x } from "./MudaFormInput-BYoht_A0.js";
|
|
6
|
+
import { t as S } from "./MudaPopover-BU9CWFeP.js";
|
|
7
|
+
import { t as C } from "./MudaCard-D9GQzC7B.js";
|
|
8
|
+
import { n as w, t as T } from "./MudaColorPicker-DJ7dbzzb.js";
|
|
9
|
+
import { t as E } from "./MudaDialog-voCW-SpB.js";
|
|
10
10
|
import { t as D } from "./MudaFocusTrap-CGlvV_MC.js";
|
|
11
|
-
import { t as O } from "./MudaDropdown-
|
|
12
|
-
import { t as k } from "./MudaErrorBox-
|
|
13
|
-
import { t as A } from "./MudaFormCheckbox-
|
|
14
|
-
import { n as j, t as M } from "./MudaFormCombobox-
|
|
15
|
-
import { n as N, t as P } from "./MudaFormField-
|
|
16
|
-
import { t as F } from "./MudaFormRadio-
|
|
17
|
-
import { t as I } from "./MudaFormRadioGroup-
|
|
18
|
-
import { t as L } from "./MudaFormSelect-
|
|
19
|
-
import { t as R } from "./MudaFormSwitch-
|
|
20
|
-
import { t as z } from "./MudaFormText-
|
|
21
|
-
import { t as B } from "./MudaIconPicker-
|
|
11
|
+
import { t as O } from "./MudaDropdown-BCue994w.js";
|
|
12
|
+
import { t as k } from "./MudaErrorBox-BvlBaVk_.js";
|
|
13
|
+
import { t as A } from "./MudaFormCheckbox-90HcY4_2.js";
|
|
14
|
+
import { n as j, t as M } from "./MudaFormCombobox-Tm_AejmV.js";
|
|
15
|
+
import { n as N, t as P } from "./MudaFormField-CFLLQiTa.js";
|
|
16
|
+
import { t as F } from "./MudaFormRadio-B-1viZTW.js";
|
|
17
|
+
import { t as I } from "./MudaFormRadioGroup-D_sW4A2-.js";
|
|
18
|
+
import { t as L } from "./MudaFormSelect-ScHiVKOB.js";
|
|
19
|
+
import { t as R } from "./MudaFormSwitch-CUN0-oyY.js";
|
|
20
|
+
import { t as z } from "./MudaFormText-D3jIuX5V.js";
|
|
21
|
+
import { t as B } from "./MudaIconPicker-BUsNMKFC.js";
|
|
22
22
|
import { t as V } from "./MudaMarker-1xxDZJgb.js";
|
|
23
|
-
import { t as H } from "./MudaPagination-
|
|
24
|
-
import { t as U } from "./MudaSpinner-
|
|
25
|
-
import { i as W, n as G, r as K, t as q } from "./MudaTable-
|
|
26
|
-
import { t as J } from "./MudaTag-
|
|
23
|
+
import { t as H } from "./MudaPagination-BdNHAYCm.js";
|
|
24
|
+
import { t as U } from "./MudaSpinner-yYYZ5c8j.js";
|
|
25
|
+
import { i as W, n as G, r as K, t as q } from "./MudaTable-BEmSrWWE.js";
|
|
26
|
+
import { t as J } from "./MudaTag-LTFVT3ty.js";
|
|
27
27
|
export { i as CALENDAR_DAY_FORMAT, n as CALENDAR_MONTH_FORMAT, s as CALENDAR_VALUE_FORMAT, l as CALENDAR_YEAR_FORMAT, r as MONTH_RANGE_SIZE, b as MUDA_ICON_DELIMITER, e as MudaButton, t as MudaButtonStack, o as MudaCalendar, c as MudaCalendarDatePicker, u as MudaCalendarInput, C as MudaCard, T as MudaColorPicker, w as MudaColorPickerControl, E as MudaDialog, O as MudaDropdown, k as MudaErrorBox, D as MudaFocusTrap, A as MudaFormCheckbox, j as MudaFormComboboxMultiple, M as MudaFormComboboxSingle, P as MudaFormField, N as MudaFormFieldErrors, x as MudaFormInput, F as MudaFormRadio, I as MudaFormRadioGroup, L as MudaFormSelect, R as MudaFormSwitch, z as MudaFormText, y as MudaIcon, B as MudaIconPicker, V as MudaMarker, H as MudaPagination, S as MudaPopover, U as MudaSpinner, W as MudaTable, K as MudaTableCell, G as MudaTableHead, q as MudaTableRow, J as MudaTag, a as YEAR_RANGE_SIZE, h as composeIcon, _ as extractIconName, p as extractIconVariant, d as isIconName, g as isIconVariant, v as useMudaIcon, f as useMudaIconNames, m as useMudaIcons };
|