bmi-next 1.0.39 → 1.0.40
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/components/Navbar/index.js +25 -25
- package/package.json +1 -1
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
import { jsxs as i, jsx as
|
|
1
|
+
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import "../../index-Cp_B-Y3h.js";
|
|
3
3
|
import { Icon as o } from "../../icons/icons.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import '../../assets/index4.css';const b = "_containerNavbar_1m98h_1", u = "_navbar_1m98h_12", v = "_backButton_1m98h_22",
|
|
5
|
+
import '../../assets/index4.css';const b = "_containerNavbar_1m98h_1", u = "_navbar_1m98h_12", v = "_backButton_1m98h_22", g = "_progressContainer_1m98h_30", n = {
|
|
6
6
|
containerNavbar: b,
|
|
7
7
|
navbar: u,
|
|
8
8
|
backButton: v,
|
|
9
|
-
progressContainer:
|
|
10
|
-
},
|
|
11
|
-
progress:
|
|
12
|
-
handleBack:
|
|
9
|
+
progressContainer: g
|
|
10
|
+
}, f = ({
|
|
11
|
+
progress: a,
|
|
12
|
+
handleBack: r,
|
|
13
13
|
first: c,
|
|
14
14
|
title: e,
|
|
15
15
|
style: d,
|
|
16
16
|
className: s,
|
|
17
17
|
logo: h = !0,
|
|
18
18
|
desktop: l = !1,
|
|
19
|
-
...
|
|
19
|
+
...m
|
|
20
20
|
}) => {
|
|
21
|
-
const
|
|
22
|
-
if (
|
|
23
|
-
|
|
21
|
+
const p = () => {
|
|
22
|
+
if (r) {
|
|
23
|
+
r();
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
return /* @__PURE__ */ i(
|
|
28
28
|
"nav",
|
|
29
29
|
{
|
|
30
|
-
className: `${
|
|
30
|
+
className: `${n.containerNavbar} ${s || ""}`,
|
|
31
31
|
style: d,
|
|
32
|
-
...
|
|
32
|
+
...m,
|
|
33
33
|
children: [
|
|
34
|
-
/* @__PURE__ */ i("div", { className:
|
|
35
|
-
c ? /* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */
|
|
34
|
+
/* @__PURE__ */ i("div", { className: n.navbar, children: [
|
|
35
|
+
c ? /* @__PURE__ */ t("span", { onClick: p, className: n.backButton, children: /* @__PURE__ */ t(o, { name: "Close", width: 33, height: 33 }) }) : /* @__PURE__ */ t("span", { onClick: r, className: n.backButton, children: /* @__PURE__ */ t(o, { name: "ArrowLeft", width: 27, height: 27 }) }),
|
|
36
|
+
/* @__PURE__ */ t("div", { children: e ? /* @__PURE__ */ t(
|
|
37
37
|
"p",
|
|
38
38
|
{
|
|
39
|
+
className: "title5Bold",
|
|
39
40
|
style: {
|
|
40
|
-
marginTop: "
|
|
41
|
-
fontSize: "22px",
|
|
41
|
+
marginTop: "20px",
|
|
42
42
|
color: "#2054A5"
|
|
43
43
|
},
|
|
44
44
|
children: e
|
|
45
45
|
}
|
|
46
|
-
) : h && /* @__PURE__ */
|
|
46
|
+
) : h && /* @__PURE__ */ t("div", { style: { marginTop: "15px", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(o, { name: "LogoBMIHorizontal", width: 135, height: 28 }) }) })
|
|
47
47
|
] }),
|
|
48
|
-
|
|
48
|
+
a && /* @__PURE__ */ i(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
|
-
className:
|
|
51
|
+
className: n.progressContainer,
|
|
52
52
|
style: { width: l ? "100%" : "93%", margin: "0 auto" },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ t(
|
|
55
55
|
"div",
|
|
56
56
|
{
|
|
57
57
|
style: {
|
|
58
58
|
height: "5px",
|
|
59
59
|
backgroundColor: "#45c2d6",
|
|
60
|
-
width: `${
|
|
60
|
+
width: `${a}%`,
|
|
61
61
|
transition: "width 0.3s ease-in-out",
|
|
62
62
|
borderRadius: "9px 0 0 9px"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
),
|
|
66
|
-
/* @__PURE__ */
|
|
66
|
+
/* @__PURE__ */ t(
|
|
67
67
|
"div",
|
|
68
68
|
{
|
|
69
69
|
style: {
|
|
70
70
|
height: "5px",
|
|
71
71
|
backgroundColor: "#c9f3f7",
|
|
72
|
-
width: `${100 -
|
|
72
|
+
width: `${100 - a}%`,
|
|
73
73
|
transition: "width 0.3s ease-in-out",
|
|
74
74
|
borderRadius: "0 9px 9px 0"
|
|
75
75
|
}
|
|
@@ -83,5 +83,5 @@ import '../../assets/index4.css';const b = "_containerNavbar_1m98h_1", u = "_nav
|
|
|
83
83
|
);
|
|
84
84
|
};
|
|
85
85
|
export {
|
|
86
|
-
|
|
86
|
+
f as Navbar
|
|
87
87
|
};
|
package/package.json
CHANGED