bmi-next 1.0.23 → 1.0.24
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/Button/index.js +1 -1
- package/dist/components/Drawer/DrawerPortalBase/index.js +1 -1
- package/dist/components/Drawer/index.js +9 -9
- package/dist/components/Navbar/index.js +1 -1
- package/dist/components/Select/DrawerPortal/index.js +1 -1
- package/dist/icons/icons.d.ts +2 -1
- package/dist/icons/icons.js +30 -10
- package/dist/{index-BTmWXehE.js → index-Cp_B-Y3h.js} +440 -440
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as u, Fragment as f, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as w } from "react";
|
|
3
|
-
import { r as g } from "../../../index-
|
|
3
|
+
import { r as g } from "../../../index-Cp_B-Y3h.js";
|
|
4
4
|
import { Icon as p } from "../../../icons/icons.js";
|
|
5
5
|
import '../../../assets/index6.css';const y = "_overlay_1b37u_1", D = "_closing_1b37u_12", Y = "_bottomDrawer_1b37u_36", L = "_drawerHeader_1b37u_76", B = "_drawerIndicator_1b37u_89", I = "_drawerContent_1b37u_100", N = "_closeButton_1b37u_116", t = {
|
|
6
6
|
overlay: y,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { useState as r, useEffect as a } from "react";
|
|
3
|
-
import { DrawerPortalBase as
|
|
4
|
-
function g({ isOpen:
|
|
5
|
-
const [i,
|
|
6
|
-
return a(() => (
|
|
3
|
+
import { DrawerPortalBase as m } from "./DrawerPortalBase/index.js";
|
|
4
|
+
function g({ isOpen: o, onClose: s, title: l, children: n }) {
|
|
5
|
+
const [i, e] = r(!1), [d, t] = r(0);
|
|
6
|
+
return a(() => (o ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
7
7
|
document.body.style.overflow = "";
|
|
8
|
-
}), [
|
|
9
|
-
|
|
8
|
+
}), [o]), /* @__PURE__ */ f(
|
|
9
|
+
m,
|
|
10
10
|
{
|
|
11
|
-
isOpen:
|
|
11
|
+
isOpen: o,
|
|
12
12
|
handleClose: () => {
|
|
13
|
-
|
|
14
|
-
s(),
|
|
13
|
+
e(!0), setTimeout(() => {
|
|
14
|
+
s(), e(!1), t(0);
|
|
15
15
|
}, 350);
|
|
16
16
|
},
|
|
17
17
|
dragPosition: d,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as o, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-Cp_B-Y3h.js";
|
|
3
3
|
import { Icon as i } from "../../icons/icons.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import '../../assets/index4.css';const m = "_containerNavbar_1m98h_1", b = "_navbar_1m98h_12", v = "_backButton_1m98h_22", u = "_progressContainer_1m98h_30", t = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as D, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as E, Fragment as A } from "react";
|
|
3
|
-
import { r as I } from "../../../index-
|
|
3
|
+
import { r as I } from "../../../index-Cp_B-Y3h.js";
|
|
4
4
|
import { Icon as j } from "../../../icons/icons.js";
|
|
5
5
|
import { Image as H } from "../../images/index.js";
|
|
6
6
|
import '../../../assets/index3.css';const B = "_overlay_f1ngj_1", Y = "_closing_f1ngj_11", L = "_bottomDrawer_f1ngj_35", S = "_drawerHeader_f1ngj_73", C = "_drawerIndicator_f1ngj_87", X = "_drawerContent_f1ngj_98", $ = "_optionCountry_f1ngj_106", b = "_optionNormal_f1ngj_107", R = "_options_f1ngj_125", M = "_closeButton_f1ngj_137", x = "_separator_f1ngj_150", t = {
|
package/dist/icons/icons.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type IconName = "Exclamation" | "Email" | "Password" | "ShowEye" | "HideEye" | "ArrowDown" | "Search" | "Masculino" | "Femenino" | "Height" | "Weight" | "Smoke" | "SmokeOff" | "Upload" | "Telefono" | "EmailFill" | "Whatsapp" | "Close" | "Lock" | "Envelope" | "CollapseMenu" | "ExpandMenu" | "Notification" | "Users" | "Pagos" | "Impagos" | "Configuracion" | "LockPassword" | "Logout" | "AddCard" | "Add" | "Help" | "Unsubscribe" | "CheckCircle" | "Disable" | "Edit" | "Delete" | "Save" | "Eye" | "Mail" | "Resend" | "Reset" | "SwapVertical" | "Clip" | "Send" | "Trash" | "ReInit" | "CircleDolar" | "Sort" | "Pencil" | "Check" | "LogoBMI+" | "ArrowLeft" | "ArrowRight" | "AddDocument" | "Family" | "User" | "Carnet" | "Savings" | "History" | "Docs" | "Filters" | "DownloadDoc" | "Biometric" | "Aetna" | "BMI" | "CircleDenied" | "ArrowForwardBtn";
|
|
1
|
+
export type IconName = "Exclamation" | "Email" | "Password" | "ShowEye" | "HideEye" | "ArrowDown" | "Search" | "Masculino" | "Femenino" | "Height" | "Weight" | "Smoke" | "SmokeOff" | "Upload" | "Telefono" | "EmailFill" | "Whatsapp" | "Close" | "Lock" | "Envelope" | "CollapseMenu" | "ExpandMenu" | "Notification" | "Users" | "Pagos" | "Impagos" | "Configuracion" | "LockPassword" | "Logout" | "AddCard" | "Add" | "Help" | "Unsubscribe" | "CheckCircle" | "Disable" | "Edit" | "Delete" | "Save" | "Eye" | "Mail" | "Resend" | "Reset" | "SwapVertical" | "Clip" | "Send" | "Trash" | "ReInit" | "CircleDolar" | "Sort" | "Pencil" | "Check" | "LogoBMI+" | "ArrowLeft" | "ArrowRight" | "AddDocument" | "Family" | "User" | "Carnet" | "Savings" | "History" | "Docs" | "Filters" | "DownloadDoc" | "Biometric" | "Aetna" | "BMI" | "CircleDenied" | "ArrowForwardBtn" | "Share";
|
|
2
2
|
interface IconProps {
|
|
3
3
|
width?: number;
|
|
4
4
|
height?: number;
|
|
@@ -76,4 +76,5 @@ export declare const Aetna: React.FC<IconProps>;
|
|
|
76
76
|
export declare const BMI: React.FC<IconProps>;
|
|
77
77
|
export declare const CircleDenied: React.FC<IconProps>;
|
|
78
78
|
export declare const ArrowForwardBtn: React.FC<IconProps>;
|
|
79
|
+
export declare const Share: React.FC<IconProps>;
|
|
79
80
|
export {};
|
package/dist/icons/icons.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
const
|
|
2
|
+
const M1 = ({
|
|
3
3
|
name: s,
|
|
4
4
|
width: e,
|
|
5
5
|
height: c,
|
|
@@ -45,9 +45,9 @@ const x1 = ({
|
|
|
45
45
|
case "Lock":
|
|
46
46
|
return /* @__PURE__ */ a(C, { width: e, height: c });
|
|
47
47
|
case "Envelope":
|
|
48
|
-
return /* @__PURE__ */ a(A, { width: e, height: c });
|
|
49
|
-
case "CollapseMenu":
|
|
50
48
|
return /* @__PURE__ */ a(D, { width: e, height: c });
|
|
49
|
+
case "CollapseMenu":
|
|
50
|
+
return /* @__PURE__ */ a(A, { width: e, height: c });
|
|
51
51
|
case "ExpandMenu":
|
|
52
52
|
return /* @__PURE__ */ a(f, { width: e, height: c });
|
|
53
53
|
case "Notification":
|
|
@@ -140,6 +140,8 @@ const x1 = ({
|
|
|
140
140
|
return /* @__PURE__ */ a(u1, { width: e, height: c, fill: n });
|
|
141
141
|
case "ArrowForwardBtn":
|
|
142
142
|
return /* @__PURE__ */ a(g1, { width: e, height: c, fill: n });
|
|
143
|
+
case "Share":
|
|
144
|
+
return /* @__PURE__ */ a(k1, { width: e, height: c, fill: n });
|
|
143
145
|
default:
|
|
144
146
|
return null;
|
|
145
147
|
}
|
|
@@ -679,7 +681,7 @@ const x1 = ({
|
|
|
679
681
|
] })
|
|
680
682
|
]
|
|
681
683
|
}
|
|
682
|
-
),
|
|
684
|
+
), D = ({ width: s = 97, height: e = 86 }) => /* @__PURE__ */ r(
|
|
683
685
|
"svg",
|
|
684
686
|
{
|
|
685
687
|
width: s,
|
|
@@ -758,7 +760,7 @@ const x1 = ({
|
|
|
758
760
|
) }) })
|
|
759
761
|
]
|
|
760
762
|
}
|
|
761
|
-
),
|
|
763
|
+
), A = ({
|
|
762
764
|
width: s = 25,
|
|
763
765
|
height: e = 25
|
|
764
766
|
}) => /* @__PURE__ */ r(
|
|
@@ -1486,7 +1488,7 @@ const x1 = ({
|
|
|
1486
1488
|
) })
|
|
1487
1489
|
]
|
|
1488
1490
|
}
|
|
1489
|
-
),
|
|
1491
|
+
), y1 = ({
|
|
1490
1492
|
width: s = 20,
|
|
1491
1493
|
height: e = 20,
|
|
1492
1494
|
fill: c = "#749CFF"
|
|
@@ -2440,6 +2442,23 @@ const x1 = ({
|
|
|
2440
2442
|
) })
|
|
2441
2443
|
]
|
|
2442
2444
|
}
|
|
2445
|
+
), k1 = ({
|
|
2446
|
+
width: s = 20,
|
|
2447
|
+
height: e = 20,
|
|
2448
|
+
fill: c = "#2054A5"
|
|
2449
|
+
}) => /* @__PURE__ */ r(
|
|
2450
|
+
"svg",
|
|
2451
|
+
{
|
|
2452
|
+
width: s,
|
|
2453
|
+
height: e,
|
|
2454
|
+
viewBox: "0 0 20 20",
|
|
2455
|
+
fill: "none",
|
|
2456
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2457
|
+
children: [
|
|
2458
|
+
/* @__PURE__ */ a("mask", { id: "ho0knet1va", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20", children: /* @__PURE__ */ a("path", { fill: "#D9D9D9", d: "M0 0h20v20H0z" }) }),
|
|
2459
|
+
/* @__PURE__ */ a("g", { mask: "url(#ho0knet1va)", children: /* @__PURE__ */ a("path", { d: "M13.519 18.17a2.562 2.562 0 0 1-1.88-.773 2.552 2.552 0 0 1-.774-1.877c0-.122.026-.308.078-.56l-4.768-2.916a2.78 2.78 0 0 1-.775.451 2.53 2.53 0 0 1-.916.164 2.558 2.558 0 0 1-1.88-.775 2.566 2.566 0 0 1-.774-1.883c0-.738.258-1.366.774-1.884a2.556 2.556 0 0 1 1.88-.776c.327 0 .634.055.921.166.288.111.55.264.785.459l4.748-2.907a2.083 2.083 0 0 1-.073-.574c0-.737.258-1.364.774-1.88a2.56 2.56 0 0 1 1.88-.774c.738 0 1.365.258 1.88.774a2.56 2.56 0 0 1 .775 1.88 2.56 2.56 0 0 1-.774 1.88 2.56 2.56 0 0 1-1.88.775c-.335 0-.647-.058-.937-.172a2.772 2.772 0 0 1-.79-.473L7.067 9.38a2.313 2.313 0 0 1 .06.95 2.634 2.634 0 0 1-.066.303l4.724 2.886c.235-.204.5-.365.793-.483.293-.118.607-.177.943-.177.737 0 1.364.259 1.88.776.516.517.774 1.144.774 1.883 0 .738-.258 1.365-.774 1.879a2.565 2.565 0 0 1-1.881.771zm-.003-1.68a.95.95 0 0 0 .696-.28.94.94 0 0 0 .283-.696.94.94 0 0 0-.282-.694.952.952 0 0 0-.698-.28.933.933 0 0 0-.692.282.948.948 0 0 0-.279.693c0 .273.093.504.28.692a.935.935 0 0 0 .692.283zm-9.031-5.51c.276 0 .51-.094.7-.282a.941.941 0 0 0 .285-.697.944.944 0 0 0-.286-.699.955.955 0 0 0-.7-.282.942.942 0 0 0-.694.281.95.95 0 0 0-.28.698c0 .277.093.51.28.698a.94.94 0 0 0 .695.283zm9.035-5.52a.938.938 0 0 0 .69-.28.94.94 0 0 0 .28-.692.951.951 0 0 0-.28-.696.936.936 0 0 0-.693-.282.947.947 0 0 0-.695.282.947.947 0 0 0-.283.698c0 .275.095.505.285.691.19.186.422.28.696.28z", fill: c }) })
|
|
2460
|
+
]
|
|
2461
|
+
}
|
|
2443
2462
|
);
|
|
2444
2463
|
export {
|
|
2445
2464
|
K as Add,
|
|
@@ -2459,7 +2478,7 @@ export {
|
|
|
2459
2478
|
_ as CircleDolar,
|
|
2460
2479
|
Q as Clip,
|
|
2461
2480
|
H as Close,
|
|
2462
|
-
|
|
2481
|
+
A as CollapseMenu,
|
|
2463
2482
|
F as Configuracion,
|
|
2464
2483
|
W as Delete,
|
|
2465
2484
|
E as Disable,
|
|
@@ -2468,7 +2487,7 @@ export {
|
|
|
2468
2487
|
P as Edit,
|
|
2469
2488
|
t as Email,
|
|
2470
2489
|
M as EmailFill,
|
|
2471
|
-
|
|
2490
|
+
D as Envelope,
|
|
2472
2491
|
l as Exclamation,
|
|
2473
2492
|
f as ExpandMenu,
|
|
2474
2493
|
I as Eye,
|
|
@@ -2479,7 +2498,7 @@ export {
|
|
|
2479
2498
|
b as Help,
|
|
2480
2499
|
v as HideEye,
|
|
2481
2500
|
v1 as History,
|
|
2482
|
-
|
|
2501
|
+
M1 as Icon,
|
|
2483
2502
|
B as Impagos,
|
|
2484
2503
|
C as Lock,
|
|
2485
2504
|
S as LockPassword,
|
|
@@ -2498,11 +2517,12 @@ export {
|
|
|
2498
2517
|
o1 as Savings,
|
|
2499
2518
|
p as Search,
|
|
2500
2519
|
X as Send,
|
|
2520
|
+
k1 as Share,
|
|
2501
2521
|
o as ShowEye,
|
|
2502
2522
|
u as Smoke,
|
|
2503
2523
|
g as SmokeOff,
|
|
2504
2524
|
$ as Sort,
|
|
2505
|
-
|
|
2525
|
+
y1 as SwapVertical,
|
|
2506
2526
|
x as Telefono,
|
|
2507
2527
|
Y as Trash,
|
|
2508
2528
|
q as Unsubscribe,
|