ui-mathilde-web 0.2.1 → 0.2.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.
- package/dist/style.css +1 -1
- package/dist/ui-mathilde-web.js +15 -14
- package/dist/ui-mathilde-web.umd.cjs +5 -5
- package/package.json +1 -1
package/dist/ui-mathilde-web.js
CHANGED
|
@@ -24,20 +24,21 @@ const Ny = "button-module__mth-btn-gray__l3gnX", Iy = "button-module__mth-btn-bl
|
|
|
24
24
|
type: i,
|
|
25
25
|
leftIcon: s,
|
|
26
26
|
rightIcon: o,
|
|
27
|
-
iconSize: l = 20
|
|
27
|
+
iconSize: l = 20,
|
|
28
|
+
className: c
|
|
28
29
|
}) => {
|
|
29
|
-
const
|
|
30
|
+
const d = (u) => u ? typeof u == "string" ? /* @__PURE__ */ b("img", { src: u, alt: "icon", width: l, height: l }) : /* @__PURE__ */ b(u, { size: l }) : null;
|
|
30
31
|
return /* @__PURE__ */ b("div", { className: `${r ? Ii["mth-btn-full"] : ""}`, children: /* @__PURE__ */ G(
|
|
31
32
|
"button",
|
|
32
33
|
{
|
|
33
34
|
type: i,
|
|
34
|
-
className: `${Ii["mth-btn"]} ${Ii[`mth-btn-${e}`]} ${r ? Ii["mth-btn-full"] : ""} flex items-center justify-center gap-2`,
|
|
35
|
+
className: `${Ii["mth-btn"]} ${Ii[`mth-btn-${e}`]} ${r ? Ii["mth-btn-full"] : ""} flex items-center justify-center gap-2 ${c}`,
|
|
35
36
|
onClick: n,
|
|
36
37
|
disabled: a,
|
|
37
38
|
children: [
|
|
38
|
-
|
|
39
|
+
d(s),
|
|
39
40
|
t,
|
|
40
|
-
|
|
41
|
+
d(o)
|
|
41
42
|
]
|
|
42
43
|
}
|
|
43
44
|
) });
|
|
@@ -10071,7 +10072,7 @@ const uk = Oe(
|
|
|
10071
10072
|
onChange: o,
|
|
10072
10073
|
...l
|
|
10073
10074
|
}, c) => /* @__PURE__ */ G("div", { className: "mb-5", children: [
|
|
10074
|
-
r && /* @__PURE__ */ b("label", { className: "
|
|
10075
|
+
r && /* @__PURE__ */ b("label", { className: "mb-1 block font-semibold", children: r }),
|
|
10075
10076
|
t === !0 ? /* @__PURE__ */ b(
|
|
10076
10077
|
ri,
|
|
10077
10078
|
{
|
|
@@ -20282,13 +20283,13 @@ const V2 = ({
|
|
|
20282
20283
|
onPageChange: r,
|
|
20283
20284
|
value: n
|
|
20284
20285
|
}) => /* @__PURE__ */ G("div", { className: "flex items-center justify-center gap-4", children: [
|
|
20285
|
-
/* @__PURE__ */ G("span", { className: "text-
|
|
20286
|
+
/* @__PURE__ */ G("span", { className: "text-xs text-gray-700", children: [
|
|
20286
20287
|
"Ver ",
|
|
20287
20288
|
/* @__PURE__ */ b(
|
|
20288
20289
|
"input",
|
|
20289
20290
|
{
|
|
20290
20291
|
type: "number",
|
|
20291
|
-
className: `w-
|
|
20292
|
+
className: `w-8 h-8 text-xs ${ml["mth-input-number"]}`,
|
|
20292
20293
|
id: "itemsPerPage",
|
|
20293
20294
|
defaultValue: n || 15,
|
|
20294
20295
|
maxLength: 3
|
|
@@ -20304,12 +20305,12 @@ const V2 = ({
|
|
|
20304
20305
|
children: /* @__PURE__ */ b(
|
|
20305
20306
|
H2,
|
|
20306
20307
|
{
|
|
20307
|
-
className: `
|
|
20308
|
+
className: `w-6 h-6 ${ml["mth-color-primary"]}`
|
|
20308
20309
|
}
|
|
20309
20310
|
)
|
|
20310
20311
|
}
|
|
20311
20312
|
),
|
|
20312
|
-
/* @__PURE__ */ G("span", { className: "text-
|
|
20313
|
+
/* @__PURE__ */ G("span", { className: "text-xs text-gray-700", children: [
|
|
20313
20314
|
t,
|
|
20314
20315
|
" DE ",
|
|
20315
20316
|
e
|
|
@@ -20323,7 +20324,7 @@ const V2 = ({
|
|
|
20323
20324
|
children: /* @__PURE__ */ b(
|
|
20324
20325
|
Y2,
|
|
20325
20326
|
{
|
|
20326
|
-
className: `
|
|
20327
|
+
className: `w-6 h-6 ${ml["mth-color-primary"]}`
|
|
20327
20328
|
}
|
|
20328
20329
|
)
|
|
20329
20330
|
}
|
|
@@ -20456,7 +20457,7 @@ const NI = ({
|
|
|
20456
20457
|
return E ?? "";
|
|
20457
20458
|
};
|
|
20458
20459
|
return /* @__PURE__ */ G("div", { className: "w-full", children: [
|
|
20459
|
-
/* @__PURE__ */ b("div", { className: "mb-
|
|
20460
|
+
/* @__PURE__ */ b("div", { className: "mb-2 flex items-center justify-between", children: a && /* @__PURE__ */ b("h2", { className: "text-base font-bold", children: a }) }),
|
|
20460
20461
|
/* @__PURE__ */ b("div", { className: "flex", children: r && /* @__PURE__ */ b("div", { className: "w-1/2", children: /* @__PURE__ */ b(
|
|
20461
20462
|
ri,
|
|
20462
20463
|
{
|
|
@@ -29522,8 +29523,8 @@ const jN = {
|
|
|
29522
29523
|
return /* @__PURE__ */ b("ol", { className: "relative border-s-2 border-[#191960] text-gray-500 dark:border-gray-700 dark:text-gray-400", children: t.map((e, r) => {
|
|
29523
29524
|
const n = r === t.length - 1, a = e.status === "completed";
|
|
29524
29525
|
return /* @__PURE__ */ G("li", { className: `ms-4 ${n ? "" : "mb-8"}`, children: [
|
|
29525
|
-
/* @__PURE__ */ b("span", { className: `absolute -start-
|
|
29526
|
-
/* @__PURE__ */ b("h3", { className: `mt-0 p-0 font-medium leading-tight
|
|
29526
|
+
/* @__PURE__ */ b("span", { className: `absolute -start-1.5 mt-1 flex size-2.5 items-center justify-center rounded-full ring-1 ${a ? "bg-[#191960] ring-[#191960]" : "bg-[#C0D4FF] ring-[#C0D4FF]"}` }),
|
|
29527
|
+
/* @__PURE__ */ b("h3", { className: `mt-0 p-0 text-sm font-medium leading-tight
|
|
29527
29528
|
${a ? "text-black" : "text-gray-600"}`, children: e.title })
|
|
29528
29529
|
] }, e.title);
|
|
29529
29530
|
}) });
|