bmi-next 1.0.42 → 1.0.43
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 +10 -10
- 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 +22 -12
- package/dist/{index-Cp_B-Y3h.js → index-BTmWXehE.js} +440 -440
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as m, Fragment as E, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as p } from "react";
|
|
3
|
-
import { r as g } from "../../../index-
|
|
3
|
+
import { r as g } from "../../../index-BTmWXehE.js";
|
|
4
4
|
import { Icon as Y } from "../../../icons/icons.js";
|
|
5
5
|
import '../../../assets/index6.css';const L = "_overlay_1anip_1", B = "_closing_1anip_12", I = "_bottomDrawer_1anip_36", N = "_drawerHeader_1anip_76", b = "_drawerIndicator_1anip_89", x = "_drawerContent_1anip_100", $ = "_closeButton_1anip_116", C = "_modalDrawer_1anip_129", e = {
|
|
6
6
|
overlay: L,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as s, useEffect as
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { useState as s, useEffect as m } from "react";
|
|
3
3
|
import { DrawerPortalBase as c } from "./DrawerPortalBase/index.js";
|
|
4
|
-
function
|
|
5
|
-
const [f,
|
|
6
|
-
return
|
|
4
|
+
function b({ isOpen: e, onClose: r, title: l, children: n, modal: i, style: d }) {
|
|
5
|
+
const [f, o] = s(!1), [a, t] = s(0);
|
|
6
|
+
return m(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
7
7
|
document.body.style.overflow = "";
|
|
8
|
-
}), [
|
|
8
|
+
}), [e]), /* @__PURE__ */ u(
|
|
9
9
|
c,
|
|
10
10
|
{
|
|
11
|
-
isOpen:
|
|
11
|
+
isOpen: e,
|
|
12
12
|
handleClose: () => {
|
|
13
|
-
|
|
14
|
-
r(),
|
|
13
|
+
o(!0), setTimeout(() => {
|
|
14
|
+
r(), o(!1), t(0);
|
|
15
15
|
}, 350);
|
|
16
16
|
},
|
|
17
17
|
dragPosition: a,
|
|
@@ -25,5 +25,5 @@ function C({ isOpen: o, onClose: r, title: l, children: n, modal: i, style: d })
|
|
|
25
25
|
);
|
|
26
26
|
}
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
b as Drawer
|
|
29
29
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-BTmWXehE.js";
|
|
3
3
|
import { Icon as o } from "../../icons/icons.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import '../../assets/index4.css';const b = "_containerNavbar_1m98h_1", u = "_navbar_1m98h_12", v = "_backButton_1m98h_22", g = "_progressContainer_1m98h_30", n = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, Fragment as D, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as v, Fragment as I } from "react";
|
|
3
|
-
import { r as A } from "../../../index-
|
|
3
|
+
import { r as A } from "../../../index-BTmWXehE.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", x = "_bottomDrawer_f1ngj_35", L = "_drawerHeader_f1ngj_73", S = "_drawerIndicator_f1ngj_87", C = "_drawerContent_f1ngj_98", b = "_optionCountry_f1ngj_106", R = "_optionNormal_f1ngj_107", X = "_options_f1ngj_125", $ = "_closeButton_f1ngj_137", M = "_separator_f1ngj_150", r = {
|
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" | "Share" | "Gallery" | "Camera" | "Sthetoscope" | "Shield" | "LogoBMIHorizontal" | "LogoBMIVertical" | "Profesional" | "BusquedaCiudad" | "Medico" | "Laboratorio" | "CercaDeMi" | "CuadroMedico" | "Celular";
|
|
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" | "Gallery" | "Camera" | "Sthetoscope" | "Shield" | "LogoBMIHorizontal" | "LogoBMIVertical" | "Profesional" | "BusquedaCiudad" | "Medico" | "Laboratorio" | "CercaDeMi" | "CuadroMedico" | "Celular" | "Headset";
|
|
2
2
|
interface IconProps {
|
|
3
3
|
width?: number;
|
|
4
4
|
height?: number;
|
|
@@ -90,4 +90,5 @@ export declare const CuadroMedico: React.FC<IconProps>;
|
|
|
90
90
|
export declare const BusquedaCiudad: React.FC<IconProps>;
|
|
91
91
|
export declare const CercaDeMi: React.FC<IconProps>;
|
|
92
92
|
export declare const Celular: React.FC<IconProps>;
|
|
93
|
+
export declare const Headset: React.FC<IconProps>;
|
|
93
94
|
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 T1 = ({
|
|
3
3
|
name: s,
|
|
4
4
|
width: e,
|
|
5
5
|
height: c,
|
|
@@ -59,9 +59,9 @@ const O1 = ({
|
|
|
59
59
|
case "Impagos":
|
|
60
60
|
return /* @__PURE__ */ a(B, { width: e, height: c, fill: n });
|
|
61
61
|
case "Configuracion":
|
|
62
|
-
return /* @__PURE__ */ a(F, { width: e, height: c, fill: n });
|
|
63
|
-
case "LockPassword":
|
|
64
62
|
return /* @__PURE__ */ a(S, { width: e, height: c, fill: n });
|
|
63
|
+
case "LockPassword":
|
|
64
|
+
return /* @__PURE__ */ a(F, { width: e, height: c, fill: n });
|
|
65
65
|
case "Logout":
|
|
66
66
|
return /* @__PURE__ */ a(O, { width: e, height: c, fill: n });
|
|
67
67
|
case "AddCard":
|
|
@@ -167,6 +167,8 @@ const O1 = ({
|
|
|
167
167
|
case "CuadroMedico":
|
|
168
168
|
return /* @__PURE__ */ a(U1, { width: e, height: c, fill: n });
|
|
169
169
|
case "Celular":
|
|
170
|
+
return /* @__PURE__ */ a(S1, { width: e, height: c, fill: n });
|
|
171
|
+
case "Headset":
|
|
170
172
|
return /* @__PURE__ */ a(F1, { width: e, height: c, fill: n });
|
|
171
173
|
default:
|
|
172
174
|
return null;
|
|
@@ -1004,7 +1006,7 @@ const O1 = ({
|
|
|
1004
1006
|
) })
|
|
1005
1007
|
]
|
|
1006
1008
|
}
|
|
1007
|
-
),
|
|
1009
|
+
), S = ({
|
|
1008
1010
|
width: s = 20,
|
|
1009
1011
|
height: e = 20,
|
|
1010
1012
|
fill: c = "#2054A5"
|
|
@@ -1039,7 +1041,7 @@ const O1 = ({
|
|
|
1039
1041
|
) })
|
|
1040
1042
|
]
|
|
1041
1043
|
}
|
|
1042
|
-
),
|
|
1044
|
+
), F = ({
|
|
1043
1045
|
width: s = 20,
|
|
1044
1046
|
height: e = 21,
|
|
1045
1047
|
fill: c = "#2054A5"
|
|
@@ -1514,7 +1516,7 @@ const O1 = ({
|
|
|
1514
1516
|
) })
|
|
1515
1517
|
]
|
|
1516
1518
|
}
|
|
1517
|
-
),
|
|
1519
|
+
), b1 = ({
|
|
1518
1520
|
width: s = 20,
|
|
1519
1521
|
height: e = 20,
|
|
1520
1522
|
fill: c = "#749CFF"
|
|
@@ -2702,13 +2704,20 @@ const O1 = ({
|
|
|
2702
2704
|
}) => /* @__PURE__ */ r("svg", { width: s, height: e, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2703
2705
|
/* @__PURE__ */ a("mask", { id: "vp6odenkwa", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20", children: /* @__PURE__ */ a("path", { fill: c, d: "M0 0h20v20H0z" }) }),
|
|
2704
2706
|
/* @__PURE__ */ a("g", { mask: "url(#vp6odenkwa)", children: /* @__PURE__ */ a("path", { d: "M10.004 18.343c-1.69 0-3.054-.25-4.091-.748-1.037-.498-1.555-1.15-1.555-1.955 0-.29.069-.561.207-.815.138-.254.36-.491.665-.711a.814.814 0 0 1 .668-.066.889.889 0 0 1 .53.426.8.8 0 0 1 .068.658.878.878 0 0 1-.424.518c.135.224.62.44 1.456.65.836.21 1.66.314 2.472.314s1.637-.105 2.475-.314c.837-.21 1.323-.426 1.459-.65a.879.879 0 0 1-.424-.518.8.8 0 0 1 .068-.658.889.889 0 0 1 .53-.426.814.814 0 0 1 .667.066c.306.22.528.457.666.71.138.255.207.526.207.816 0 .805-.518 1.456-1.554 1.955-1.037.499-2.4.748-4.09.748zm.027-4.828c1.296-.95 2.273-1.927 2.93-2.935.656-1.007.984-2.002.984-2.982 0-1.333-.424-2.34-1.272-3.02-.848-.679-1.737-1.019-2.668-1.019-.934 0-1.825.341-2.673 1.023-.848.681-1.272 1.69-1.272 3.027 0 .88.328 1.816.985 2.808.657.992 1.652 2.024 2.986 3.098zm-.026 1.75a1.71 1.71 0 0 1-.523-.083 1.32 1.32 0 0 1-.471-.27c-1.576-1.266-2.749-2.516-3.52-3.75-.77-1.232-1.155-2.419-1.155-3.558 0-.946.172-1.778.515-2.495a5.654 5.654 0 0 1 1.332-1.803 5.698 5.698 0 0 1 1.824-1.102 5.712 5.712 0 0 1 1.997-.374c.658 0 1.324.125 1.996.374a5.66 5.66 0 0 1 1.821 1.102 5.693 5.693 0 0 1 1.33 1.808c.346.72.519 1.552.519 2.495 0 1.134-.386 2.316-1.159 3.547-.772 1.231-1.942 2.482-3.511 3.752a1.316 1.316 0 0 1-.472.273 1.684 1.684 0 0 1-.523.084zm.003-6.246c.428 0 .793-.151 1.095-.455.301-.303.452-.668.452-1.094 0-.43-.152-.795-.456-1.095-.305-.3-.67-.45-1.098-.45-.429 0-.795.153-1.097.46-.302.307-.453.67-.453 1.087 0 .418.152.78.457 1.087.305.307.672.46 1.1.46z", fill: c }) })
|
|
2705
|
-
] }),
|
|
2707
|
+
] }), S1 = ({
|
|
2706
2708
|
width: s = 12,
|
|
2707
2709
|
height: e = 12,
|
|
2708
2710
|
fill: c = "#2054A5"
|
|
2709
2711
|
}) => /* @__PURE__ */ r("svg", { width: s, height: e, viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2710
2712
|
/* @__PURE__ */ a("mask", { id: "tkg40n49ya", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "12", height: "12", children: /* @__PURE__ */ a("path", { fill: c, d: "M0 0h12.001v12.001H0z" }) }),
|
|
2711
2713
|
/* @__PURE__ */ a("g", { mask: "url(#tkg40n49ya)", children: /* @__PURE__ */ a("path", { d: "M3.646 11.493a1 1 0 0 1-.733-.305 1 1 0 0 1-.304-.732V1.545a1 1 0 0 1 .304-.733 1 1 0 0 1 .733-.305h4.71a1 1 0 0 1 .733.305 1 1 0 0 1 .305.733v.636c0 .146-.05.269-.15.369-.1.1-.221.15-.366.15a.506.506 0 0 1-.37-.15.498.498 0 0 1-.151-.369v-.636h-4.71v8.91h4.71V9.82c0-.145.05-.268.15-.368.099-.1.221-.15.366-.15.144 0 .268.05.369.15.101.1.152.223.152.368v.637a1 1 0 0 1-.305.732 1 1 0 0 1-.732.305h-4.71zM6 3.081a.465.465 0 0 0 .476-.472.465.465 0 0 0-.471-.476.465.465 0 0 0-.477.471.465.465 0 0 0 .472.477zm2.314 3.91a.514.514 0 0 1-.232-.228c-.054-.102-.048-.216.017-.341A1.018 1.018 0 0 0 8.2 6a1.018 1.018 0 0 0-.102-.422c-.065-.124-.07-.238-.017-.34a.514.514 0 0 1 .232-.228c.1-.05.21-.06.332-.032.122.03.222.115.3.256.064.12.106.244.125.376a2.631 2.631 0 0 1 0 .784c-.02.13-.061.253-.124.372-.08.142-.18.227-.3.256a.475.475 0 0 1-.333-.031zm1.263 1.234a.52.52 0 0 1-.193-.268c-.037-.113-.013-.22.07-.322.192-.233.331-.483.419-.749.087-.266.131-.561.131-.886 0-.324-.044-.62-.131-.886a2.308 2.308 0 0 0-.419-.748c-.083-.102-.107-.21-.07-.322a.521.521 0 0 1 .193-.269A.436.436 0 0 1 9.9 3.7c.126.017.243.096.351.238A3.481 3.481 0 0 1 10.903 6a3.496 3.496 0 0 1-.65 2.063c-.108.142-.225.22-.35.237a.438.438 0 0 1-.327-.075z", fill: c }) })
|
|
2714
|
+
] }), F1 = ({
|
|
2715
|
+
width: s = 20,
|
|
2716
|
+
height: e = 20,
|
|
2717
|
+
fill: c = "#2054A5"
|
|
2718
|
+
}) => /* @__PURE__ */ r("svg", { width: s, height: e, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2719
|
+
/* @__PURE__ */ a("mask", { id: "m8ipaltfqa", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20", children: /* @__PURE__ */ a("path", { fill: c, d: "M0 0h20v20H0z" }) }),
|
|
2720
|
+
/* @__PURE__ */ a("g", { mask: "url(#m8ipaltfqa)", children: /* @__PURE__ */ a("path", { d: "M4.56 15.94a1.888 1.888 0 0 1-1.217-.523 1.585 1.585 0 0 1-.513-1.206V8.864a7.149 7.149 0 0 1 4.396-6.613A7.004 7.004 0 0 1 10 1.696c.981 0 1.909.184 2.783.552a7.095 7.095 0 0 1 2.284 1.522 7.208 7.208 0 0 1 1.537 2.285c.377.876.565 1.812.565 2.806v7.985c0 .469-.169.875-.506 1.216a1.655 1.655 0 0 1-1.223.513h-4.626a.789.789 0 0 1-.579-.235.787.787 0 0 1-.236-.58c0-.232.079-.426.236-.583a.792.792 0 0 1 .584-.236h4.62v-1h-1.85c-.479 0-.887-.17-1.224-.506a1.67 1.67 0 0 1-.505-1.226v-2.774c0-.48.168-.887.505-1.221a1.672 1.672 0 0 1 1.224-.503h1.85v-.85c0-1.543-.53-2.834-1.588-3.875-1.06-1.04-2.342-1.56-3.846-1.56-1.498 0-2.78.52-3.846 1.56-1.067 1.041-1.6 2.332-1.6 3.875v.85h1.85c.48 0 .888.169 1.225.506.337.338.505.746.505 1.225v2.775c0 .48-.168.886-.505 1.221a1.672 1.672 0 0 1-1.224.502H4.56zm0-1.729h1.85v-2.77H4.56v2.77zm9.029 0h1.85v-2.77h-1.85v2.77z", fill: c }) })
|
|
2712
2721
|
] });
|
|
2713
2722
|
export {
|
|
2714
2723
|
K as Add,
|
|
@@ -2724,7 +2733,7 @@ export {
|
|
|
2724
2733
|
L1 as BusquedaCiudad,
|
|
2725
2734
|
M1 as Camera,
|
|
2726
2735
|
t1 as Carnet,
|
|
2727
|
-
|
|
2736
|
+
S1 as Celular,
|
|
2728
2737
|
B1 as CercaDeMi,
|
|
2729
2738
|
e1 as Check,
|
|
2730
2739
|
j as CheckCircle,
|
|
@@ -2733,7 +2742,7 @@ export {
|
|
|
2733
2742
|
Q as Clip,
|
|
2734
2743
|
H as Close,
|
|
2735
2744
|
A as CollapseMenu,
|
|
2736
|
-
|
|
2745
|
+
S as Configuracion,
|
|
2737
2746
|
U1 as CuadroMedico,
|
|
2738
2747
|
I as Delete,
|
|
2739
2748
|
E as Disable,
|
|
@@ -2750,15 +2759,16 @@ export {
|
|
|
2750
2759
|
p as Femenino,
|
|
2751
2760
|
m1 as Filters,
|
|
2752
2761
|
x1 as Gallery,
|
|
2762
|
+
F1 as Headset,
|
|
2753
2763
|
w as Height,
|
|
2754
2764
|
b as Help,
|
|
2755
2765
|
o as HideEye,
|
|
2756
2766
|
o1 as History,
|
|
2757
|
-
|
|
2767
|
+
T1 as Icon,
|
|
2758
2768
|
B as Impagos,
|
|
2759
2769
|
f1 as Laboratorio,
|
|
2760
2770
|
V as Lock,
|
|
2761
|
-
|
|
2771
|
+
F as LockPassword,
|
|
2762
2772
|
s1 as LogoBMI,
|
|
2763
2773
|
V1 as LogoBMIHorizontal,
|
|
2764
2774
|
C1 as LogoBMIVertical,
|
|
@@ -2785,7 +2795,7 @@ export {
|
|
|
2785
2795
|
g as SmokeOff,
|
|
2786
2796
|
$ as Sort,
|
|
2787
2797
|
y1 as Sthetoscope,
|
|
2788
|
-
|
|
2798
|
+
b1 as SwapVertical,
|
|
2789
2799
|
x as Telefono,
|
|
2790
2800
|
Y as Trash,
|
|
2791
2801
|
q as Unsubscribe,
|