bmi-next 1.0.37 → 1.0.39
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,37 +1,38 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as i, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import "../../index-Cp_B-Y3h.js";
|
|
3
|
-
import { Icon as
|
|
3
|
+
import { Icon as o } from "../../icons/icons.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import '../../assets/index4.css';const
|
|
6
|
-
containerNavbar:
|
|
7
|
-
navbar:
|
|
8
|
-
backButton:
|
|
9
|
-
progressContainer:
|
|
10
|
-
},
|
|
5
|
+
import '../../assets/index4.css';const b = "_containerNavbar_1m98h_1", u = "_navbar_1m98h_12", v = "_backButton_1m98h_22", x = "_progressContainer_1m98h_30", t = {
|
|
6
|
+
containerNavbar: b,
|
|
7
|
+
navbar: u,
|
|
8
|
+
backButton: v,
|
|
9
|
+
progressContainer: x
|
|
10
|
+
}, w = ({
|
|
11
11
|
progress: r,
|
|
12
|
-
handleBack:
|
|
12
|
+
handleBack: a,
|
|
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
|
+
...p
|
|
19
20
|
}) => {
|
|
20
|
-
const
|
|
21
|
-
if (
|
|
22
|
-
|
|
21
|
+
const m = () => {
|
|
22
|
+
if (a) {
|
|
23
|
+
a();
|
|
23
24
|
return;
|
|
24
25
|
}
|
|
25
26
|
};
|
|
26
|
-
return /* @__PURE__ */
|
|
27
|
+
return /* @__PURE__ */ i(
|
|
27
28
|
"nav",
|
|
28
29
|
{
|
|
29
30
|
className: `${t.containerNavbar} ${s || ""}`,
|
|
30
31
|
style: d,
|
|
31
|
-
...
|
|
32
|
+
...p,
|
|
32
33
|
children: [
|
|
33
|
-
/* @__PURE__ */
|
|
34
|
-
c ? /* @__PURE__ */ n("span", { onClick:
|
|
34
|
+
/* @__PURE__ */ i("div", { className: t.navbar, children: [
|
|
35
|
+
c ? /* @__PURE__ */ n("span", { onClick: m, className: t.backButton, children: /* @__PURE__ */ n(o, { name: "Close", width: 33, height: 33 }) }) : /* @__PURE__ */ n("span", { onClick: a, className: t.backButton, children: /* @__PURE__ */ n(o, { name: "ArrowLeft", width: 27, height: 27 }) }),
|
|
35
36
|
/* @__PURE__ */ n("div", { children: e ? /* @__PURE__ */ n(
|
|
36
37
|
"p",
|
|
37
38
|
{
|
|
@@ -42,13 +43,13 @@ import '../../assets/index4.css';const m = "_containerNavbar_1m98h_1", b = "_nav
|
|
|
42
43
|
},
|
|
43
44
|
children: e
|
|
44
45
|
}
|
|
45
|
-
) : h && /* @__PURE__ */ n("div", { style: { marginTop: "15px", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ n(
|
|
46
|
+
) : h && /* @__PURE__ */ n("div", { style: { marginTop: "15px", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ n(o, { name: "LogoBMIHorizontal", width: 135, height: 28 }) }) })
|
|
46
47
|
] }),
|
|
47
|
-
r && /* @__PURE__ */
|
|
48
|
+
r && /* @__PURE__ */ i(
|
|
48
49
|
"div",
|
|
49
50
|
{
|
|
50
51
|
className: t.progressContainer,
|
|
51
|
-
style: { width: "93%", margin: "0 auto" },
|
|
52
|
+
style: { width: l ? "100%" : "93%", margin: "0 auto" },
|
|
52
53
|
children: [
|
|
53
54
|
/* @__PURE__ */ n(
|
|
54
55
|
"div",
|
|
@@ -82,5 +83,5 @@ import '../../assets/index4.css';const m = "_containerNavbar_1m98h_1", b = "_nav
|
|
|
82
83
|
);
|
|
83
84
|
};
|
|
84
85
|
export {
|
|
85
|
-
|
|
86
|
+
w as Navbar
|
|
86
87
|
};
|
|
@@ -77,7 +77,7 @@ function Q({
|
|
|
77
77
|
] }),
|
|
78
78
|
/* @__PURE__ */ n("div", { style: { marginLeft: "auto" }, children: /* @__PURE__ */ n(D, { name: "ArrowDown" }) })
|
|
79
79
|
] }),
|
|
80
|
-
c && /* @__PURE__ */ n("div", { className: a.desktopDropdown, children: i.map((e) => /* @__PURE__ */ t(
|
|
80
|
+
c && /* @__PURE__ */ n("div", { className: a.desktopDropdown, children: i.filter((e) => !e.hidden).map((e) => /* @__PURE__ */ t(
|
|
81
81
|
"div",
|
|
82
82
|
{
|
|
83
83
|
className: a.desktopOption,
|
package/package.json
CHANGED