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.
@@ -1,75 +1,75 @@
1
- import { jsxs as i, jsx as n } from "react/jsx-runtime";
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", x = "_progressContainer_1m98h_30", t = {
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: x
10
- }, w = ({
11
- progress: r,
12
- handleBack: a,
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
- ...p
19
+ ...m
20
20
  }) => {
21
- const m = () => {
22
- if (a) {
23
- a();
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: `${t.containerNavbar} ${s || ""}`,
30
+ className: `${n.containerNavbar} ${s || ""}`,
31
31
  style: d,
32
- ...p,
32
+ ...m,
33
33
  children: [
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 }) }),
36
- /* @__PURE__ */ n("div", { children: e ? /* @__PURE__ */ n(
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: "15px",
41
- fontSize: "22px",
41
+ marginTop: "20px",
42
42
  color: "#2054A5"
43
43
  },
44
44
  children: e
45
45
  }
46
- ) : h && /* @__PURE__ */ n("div", { style: { marginTop: "15px", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ n(o, { name: "LogoBMIHorizontal", width: 135, height: 28 }) }) })
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
- r && /* @__PURE__ */ i(
48
+ a && /* @__PURE__ */ i(
49
49
  "div",
50
50
  {
51
- className: t.progressContainer,
51
+ className: n.progressContainer,
52
52
  style: { width: l ? "100%" : "93%", margin: "0 auto" },
53
53
  children: [
54
- /* @__PURE__ */ n(
54
+ /* @__PURE__ */ t(
55
55
  "div",
56
56
  {
57
57
  style: {
58
58
  height: "5px",
59
59
  backgroundColor: "#45c2d6",
60
- width: `${r}%`,
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__ */ n(
66
+ /* @__PURE__ */ t(
67
67
  "div",
68
68
  {
69
69
  style: {
70
70
  height: "5px",
71
71
  backgroundColor: "#c9f3f7",
72
- width: `${100 - r}%`,
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
- w as Navbar
86
+ f as Navbar
87
87
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bmi-next",
3
3
  "description": "Componentes de UI para proyecto BMI Next",
4
- "version": "1.0.39",
4
+ "version": "1.0.40",
5
5
  "author": "David Fernández Bolaños <david@bmiahorro.com>",
6
6
  "contributors": [
7
7
  "Jorge Martín <jorge@bmiahorro.com>",