bmi-next 1.0.18 → 1.0.20
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/assets/index11.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._spinnerContainer_9ae2m_1{display:flex;justify-content:center}._spinner_9ae2m_1{border:4px solid var(--azul-digital-v1);width:36px;height:36px;border-radius:50%;border-left-color:#fff;animation:_spin_9ae2m_1 1s ease infinite}@keyframes _spin_9ae2m_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
package/dist/assets/index8.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_x82qn_1{display:flex;flex-direction:column;gap:5px;width:100%}._container_x82qn_1:has(input:disabled){opacity:.4}._labelContainer_x82qn_12{display:flex;justify-content:space-between;align-items:center}._labelContainer_x82qn_12>label{margin-left:9px;font-family:Poppins Medium;font-size:14px;line-height:16.8px}._invalidLabel_x82qn_25{color:var(--rojo)}._visibilityContainer_x82qn_29{display:flex;align-items:center;gap:3px;cursor:pointer;color:var(--azul-digital);font-family:Poppins Medium;font-size:14px;line-height:16.8px}._inputContainer_x82qn_40{height:52px;box-sizing:border-box;display:flex;align-items:center;padding-inline:16px;border-radius:16px;border:1px solid var(--negro-20);gap:5px;background-color:#fff}._inputContainer_x82qn_40>svg{overflow:visible}._invalid_x82qn_25{border:solid 1px var(--rojo);transition:all .3s ease}._invalid_x82qn_25:focus{border:solid 1px var(--rojo);box-shadow:3px 3px 0 0 var(--rojo);transition:all .3s ease}._inputContainer_x82qn_40:has(input:focus:not(._invalid_x82qn_25)){border:solid 1px var(--turquesa);box-shadow:3px 3px 0 0 var(--turquesa);transition:all .3s ease}._input_x82qn_40{height:100%;width:100%;font-family:Poppins Regular;font-size:16px;line-height:19.2px;border:none;box-sizing:border-box}._input_x82qn_40:focus{outline:none}._prefix_x82qn_98{font-family:Poppins Regular;font-size:16px;line-height:19.2px;color:var(--negro-40)}._input_x82qn_40:invalid{color:var(--rojo)}._input_x82qn_40:disabled{background-color:#fff}
|
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
import { jsxs as e, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { Icon as
|
|
3
|
-
import { FieldError as
|
|
4
|
-
import { useState as
|
|
5
|
-
import '../../assets/index8.css';const C = "
|
|
6
|
-
container:
|
|
7
|
-
labelContainer:
|
|
8
|
-
invalidLabel:
|
|
9
|
-
visibilityContainer:
|
|
10
|
-
inputContainer:
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
import { Icon as l } from "../../icons/icons.js";
|
|
3
|
+
import { FieldError as m } from "../FieldError/index.js";
|
|
4
|
+
import { useState as b } from "react";
|
|
5
|
+
import '../../assets/index8.css';const x = "_container_x82qn_1", C = "_labelContainer_x82qn_12", h = "_invalidLabel_x82qn_25", u = "_visibilityContainer_x82qn_29", y = "_inputContainer_x82qn_40", q = "_invalid_x82qn_25", N = "_input_x82qn_40", f = "_prefix_x82qn_98", n = {
|
|
6
|
+
container: x,
|
|
7
|
+
labelContainer: C,
|
|
8
|
+
invalidLabel: h,
|
|
9
|
+
visibilityContainer: u,
|
|
10
|
+
inputContainer: y,
|
|
11
|
+
invalid: q,
|
|
12
|
+
input: N,
|
|
13
|
+
prefix: f
|
|
13
14
|
}, w = ({
|
|
14
15
|
label: s,
|
|
15
|
-
iconBefore:
|
|
16
|
-
iconAfter:
|
|
17
|
-
error:
|
|
16
|
+
iconBefore: o,
|
|
17
|
+
iconAfter: r,
|
|
18
|
+
error: t,
|
|
18
19
|
prefix: c,
|
|
19
|
-
suffix:
|
|
20
|
-
visibility:
|
|
20
|
+
suffix: _,
|
|
21
|
+
visibility: p,
|
|
21
22
|
// className,
|
|
22
|
-
...
|
|
23
|
+
...d
|
|
23
24
|
}) => {
|
|
24
|
-
const [
|
|
25
|
+
const [a, v] = b(!1);
|
|
25
26
|
return /* @__PURE__ */ e("div", { className: n.container, children: [
|
|
26
27
|
/* @__PURE__ */ e("div", { className: n.labelContainer, children: [
|
|
27
|
-
s && /* @__PURE__ */ i("label", { className:
|
|
28
|
-
|
|
28
|
+
s && /* @__PURE__ */ i("label", { className: t ? n.invalidLabel : "", children: s }),
|
|
29
|
+
p && /* @__PURE__ */ e(
|
|
29
30
|
"div",
|
|
30
31
|
{
|
|
31
32
|
className: n.visibilityContainer,
|
|
32
|
-
onClick: () =>
|
|
33
|
+
onClick: () => v(!a),
|
|
33
34
|
children: [
|
|
34
|
-
/* @__PURE__ */ i("span", { children:
|
|
35
|
+
/* @__PURE__ */ i("span", { children: a ? "Ocultar" : "Mostrar" }),
|
|
35
36
|
/* @__PURE__ */ i(
|
|
36
|
-
|
|
37
|
+
l,
|
|
37
38
|
{
|
|
38
|
-
name:
|
|
39
|
+
name: a ? "HideEye" : "ShowEye",
|
|
39
40
|
width: 20,
|
|
40
41
|
height: 20,
|
|
41
42
|
fill: "rgb(32 84 165)"
|
|
@@ -45,21 +46,27 @@ import '../../assets/index8.css';const C = "_container_1ljgs_1", h = "_labelCont
|
|
|
45
46
|
}
|
|
46
47
|
)
|
|
47
48
|
] }),
|
|
48
|
-
/* @__PURE__ */ e(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
className: n.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
49
|
+
/* @__PURE__ */ e(
|
|
50
|
+
"div",
|
|
51
|
+
{
|
|
52
|
+
className: `${n.inputContainer} ${t ? n.invalid : ""}`,
|
|
53
|
+
children: [
|
|
54
|
+
o && /* @__PURE__ */ i(l, { ...o }),
|
|
55
|
+
c && /* @__PURE__ */ i("span", { className: n.prefix, children: c }),
|
|
56
|
+
/* @__PURE__ */ i(
|
|
57
|
+
"input",
|
|
58
|
+
{
|
|
59
|
+
className: n.input,
|
|
60
|
+
...d,
|
|
61
|
+
type: a ? "text" : d.type
|
|
62
|
+
}
|
|
63
|
+
),
|
|
64
|
+
_ && /* @__PURE__ */ i("span", { children: _ }),
|
|
65
|
+
r && /* @__PURE__ */ i(l, { ...r })
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
),
|
|
69
|
+
t && /* @__PURE__ */ i(m, { error: t })
|
|
63
70
|
] });
|
|
64
71
|
};
|
|
65
72
|
export {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import '../../assets/index11.css';const o = "
|
|
2
|
+
import '../../assets/index11.css';const o = "_spinnerContainer_9ae2m_1", t = "_spinner_9ae2m_1", i = {
|
|
3
3
|
spinnerContainer: o,
|
|
4
4
|
spinner: t
|
|
5
|
-
}, a = ({ size: n, fill:
|
|
5
|
+
}, a = ({ size: n, fill: e, border: r }) => /* @__PURE__ */ s("div", { className: i.spinnerContainer, children: /* @__PURE__ */ s(
|
|
6
6
|
"div",
|
|
7
7
|
{
|
|
8
8
|
className: i.spinner,
|
|
9
9
|
style: {
|
|
10
10
|
...n ? { width: `${n}px`, height: `${n}px` } : {},
|
|
11
|
-
...
|
|
12
|
-
...
|
|
11
|
+
...r ? { borderColor: r } : {},
|
|
12
|
+
...e ? { borderLeftColor: e } : {}
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
) });
|
package/dist/icons/icons.js
CHANGED
|
@@ -2435,7 +2435,7 @@ const x1 = ({
|
|
|
2435
2435
|
{
|
|
2436
2436
|
d: "M12.851 10.865H4.695a.836.836 0 0 1-.614-.25.829.829 0 0 1-.25-.61c0-.242.083-.447.25-.616a.829.829 0 0 1 .614-.254h8.156L9.374 5.66a.846.846 0 0 1-.262-.612.868.868 0 0 1 .261-.626.851.851 0 0 1 .617-.251c.234.001.438.089.611.263l4.954 4.96a.847.847 0 0 1 .192.938.838.838 0 0 1-.183.275L10.6 15.569a.8.8 0 0 1-.606.258.876.876 0 0 1-.6-.27.878.878 0 0 1-.265-.626c0-.235.088-.439.264-.61l3.457-3.456z",
|
|
2437
2437
|
fill: c,
|
|
2438
|
-
fillOpacity: "
|
|
2438
|
+
fillOpacity: "1"
|
|
2439
2439
|
}
|
|
2440
2440
|
) })
|
|
2441
2441
|
]
|
package/package.json
CHANGED