bmi-next-brokers 1.0.6 → 1.0.7
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/Button.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._button_196y8_1{border:none;border-radius:1000px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-family:Poppins Regular;font-weight:100;gap:8px;transition:all .2s ease-in-out;width:fit-content}._button_196y8_1:disabled{opacity:.6;cursor:not-allowed}._small_196y8_21{padding:4px 8px;font-size:14px;height:30px}._medium_196y8_27{padding:4px 10px;font-size:16px;height:36px}._large_196y8_33{padding:4px 12px;font-size:18px;height:42px}._brand_196y8_40{background:var(--Fill-Brand-Inverted-Active, #2054A5);color:#fff}._brand_196y8_40:hover:not(:disabled){background:var(--Fill-Brand-Inverted-Hover, #4F88D9)}._brand_196y8_40:active:not(:disabled){box-shadow:0 0 0 var(--Focused_Stroke, 4px) var(--ui-blue-800, #16396F)}._brand_196y8_40:disabled{background:var(--Fill-Brand-Inverted-Innactive, #E0E9F8);color:var(--Content-Brand-Inverted-Innactive, #A2BFEC)}._outline_196y8_58{background-color:transparent;color:var(--Stroke-Brand-Active, #2054A5);border:1px solid var(--Stroke-Brand-Active, #2054A5)}._outline_196y8_58:hover:not(:disabled){border:2px solid var(--Stroke-Brand-Hover, #4F88D9);color:var(--Stroke-Brand-Hover, #4F88D9)}._outline_196y8_58:active{background:var(--Content-Brand-Inverted-Active, #EEF3FC);border:none!important;box-shadow:0 0 0 var(--Focused_Stroke, 4px) var(--brand-Azul-digital-BMI-500, #2054A5)}._outline_196y8_58:disabled{border:1px solid var(--Stroke-Brand-Innactive, #A2BFEC);color:var(--Stroke-Brand-Innactive, #A2BFEC)}._ghost_196y8_81{background-color:transparent;color:var(--Content-Brand-Default-Active, #2054A5);border:none}._ghost_196y8_81:hover:not(:disabled){font-family:Poppins Medium}._ghost_196y8_81:active:not(:disabled){background:var(--Fill-Disabled-Default, #F8FAFC);box-shadow:0 0 0 var(--Focused_Stroke, 4px) var(--brand-Azul-digital-BMI-500, #2054A5)}._ghost_196y8_81:disabled{color:var(--Content-Brand-Default-Innactive, #4F88D9)}._textLink_196y8_101{background-color:transparent;color:var(--Content-Brand-Default-Active, #2054A5);border:none;text-decoration:underline}._textLink_196y8_101:hover:not(:disabled){font-family:Poppins Medium}._textLink_196y8_101:active:not(:disabled){background:var(--Fill-Disabled-Default, #F8FAFC);box-shadow:0 0 0 var(--Focused_Stroke, 4px) var(--brand-Azul-digital-BMI-500, #2054A5)}._textLink_196y8_101:disabled{color:var(--Content-Brand-Default-Innactive, #4F88D9)}._button_196y8_1._inverted_196y8_122._brand_196y8_40{background:var(--Fill-Brand-Inverted-Active, #FFF);color:var(--Content-Brand-Inverted-Active, #2054A5)}._button_196y8_1._inverted_196y8_122._brand_196y8_40:hover:not(:disabled){background:var(--Fill-Brand-Inverted-Hover, #EEF3FC);color:var(--Content-Brand-Inverted-Hover, #1B468A)}._button_196y8_1._inverted_196y8_122._brand_196y8_40:active:not(:disabled){box-shadow:0 0 0 3px var(--ui-blue-400, #7EAAE6)}._button_196y8_1._inverted_196y8_122._brand_196y8_40:disabled{background:var(--Fill-Brand-Inverted-Innactive, #2054A5);color:var(--Content-Brand-Inverted-Innactive, #4F88D9)}._button_196y8_1._inverted_196y8_122._outline_196y8_58{background-color:transparent!important;border:1px solid var(--Stroke-Brand-Active, #FFF)}._button_196y8_1._inverted_196y8_122._outline_196y8_58:not(:disabled){border:1px solid var(--Stroke-Brand-Active, #FFF);color:var(--Stroke-Brand-Active, #FFF);background-color:transparent!important}._button_196y8_1._inverted_196y8_122._outline_196y8_58:hover:not(:disabled){border:2px solid var(--Stroke-Brand-Active, #FFF);color:#f8f9fa!important;background-color:transparent!important}._button_196y8_1._inverted_196y8_122._outline_196y8_58:active:not(:disabled){border:2px solid var(--Stroke-Brand-Active, #FFF);box-shadow:0 0 0 3px var(--ui-blue-400, #7EAAE6)}._button_196y8_1._inverted_196y8_122._outline_196y8_58:disabled{border:1px solid var(--Stroke-Brand-Innactive, #2054A5);color:var(--Stroke-Brand-Innactive, #2054A5)}._button_196y8_1._inverted_196y8_122._ghost_196y8_81{background-color:transparent!important;color:#fff!important;border:none!important}._button_196y8_1._inverted_196y8_122._ghost_196y8_81:hover:not(:disabled){background-color:#ffffff1a!important;color:var(--Stroke-Brand-Innactive, #2054A5)}._button_196y8_1._inverted_196y8_122._textLink_196y8_101{background-color:transparent!important;color:#fff!important;border:none!important;text-decoration:underline!important}._button_196y8_1._inverted_196y8_122._textLink_196y8_101:hover:not(:disabled){color:#f8f9fa!important;background-color:transparent!important}._fullWidth_196y8_196{width:100%}
|
|
@@ -1,58 +1,61 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Icon as
|
|
3
|
-
import '../../assets/Button.css';const
|
|
4
|
-
button:
|
|
5
|
-
small:
|
|
6
|
-
medium:
|
|
7
|
-
large:
|
|
1
|
+
import { jsx as _, jsxs as i, Fragment as a } from "react/jsx-runtime";
|
|
2
|
+
import { Icon as x } from "../../icons/Icon.js";
|
|
3
|
+
import '../../assets/Button.css';const p = "_button_196y8_1", v = "_small_196y8_21", C = "_medium_196y8_27", W = "_large_196y8_33", j = "_brand_196y8_40", k = "_outline_196y8_58", L = "_ghost_196y8_81", B = "_textLink_196y8_101", w = "_inverted_196y8_122", E = "_fullWidth_196y8_196", t = {
|
|
4
|
+
button: p,
|
|
5
|
+
small: v,
|
|
6
|
+
medium: C,
|
|
7
|
+
large: W,
|
|
8
8
|
brand: j,
|
|
9
|
-
outline:
|
|
10
|
-
ghost:
|
|
11
|
-
textLink:
|
|
12
|
-
inverted:
|
|
13
|
-
|
|
9
|
+
outline: k,
|
|
10
|
+
ghost: L,
|
|
11
|
+
textLink: B,
|
|
12
|
+
inverted: w,
|
|
13
|
+
fullWidth: E
|
|
14
|
+
}, S = ({
|
|
14
15
|
children: n,
|
|
15
|
-
variant:
|
|
16
|
+
variant: u = "brand",
|
|
16
17
|
size: e = "medium",
|
|
17
|
-
disabled:
|
|
18
|
-
loading:
|
|
19
|
-
onClick:
|
|
20
|
-
className:
|
|
21
|
-
type:
|
|
22
|
-
icon:
|
|
23
|
-
inverted:
|
|
24
|
-
|
|
18
|
+
disabled: d = !1,
|
|
19
|
+
loading: s = !1,
|
|
20
|
+
onClick: m,
|
|
21
|
+
className: c,
|
|
22
|
+
type: f = "button",
|
|
23
|
+
icon: o,
|
|
24
|
+
inverted: b = !1,
|
|
25
|
+
fullWidth: h = !1,
|
|
26
|
+
...y
|
|
25
27
|
}) => {
|
|
26
|
-
const
|
|
28
|
+
const g = [
|
|
27
29
|
t.button,
|
|
28
|
-
t[
|
|
30
|
+
t[u],
|
|
29
31
|
t[e],
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
b ? t.inverted : "",
|
|
33
|
+
h ? t.fullWidth : "",
|
|
34
|
+
c
|
|
32
35
|
].filter(Boolean).join(" "), r = e === "small" ? 16 : e === "large" ? 20 : 18;
|
|
33
|
-
return /* @__PURE__ */
|
|
36
|
+
return /* @__PURE__ */ _(
|
|
34
37
|
"button",
|
|
35
38
|
{
|
|
36
|
-
type:
|
|
37
|
-
disabled:
|
|
38
|
-
onClick:
|
|
39
|
-
className:
|
|
40
|
-
...
|
|
39
|
+
type: f,
|
|
40
|
+
disabled: d || s,
|
|
41
|
+
onClick: m,
|
|
42
|
+
className: g,
|
|
43
|
+
...y,
|
|
41
44
|
children: (() => {
|
|
42
|
-
if (
|
|
43
|
-
if (!
|
|
44
|
-
const
|
|
45
|
-
return
|
|
46
|
-
|
|
45
|
+
if (s) return "Cargando...";
|
|
46
|
+
if (!o) return n;
|
|
47
|
+
const l = /* @__PURE__ */ _(x, { name: o.name, width: r, height: r });
|
|
48
|
+
return o.position === "before" ? /* @__PURE__ */ i(a, { children: [
|
|
49
|
+
l,
|
|
47
50
|
n
|
|
48
51
|
] }) : /* @__PURE__ */ i(a, { children: [
|
|
49
52
|
n,
|
|
50
|
-
|
|
53
|
+
l
|
|
51
54
|
] });
|
|
52
55
|
})()
|
|
53
56
|
}
|
|
54
57
|
);
|
|
55
58
|
};
|
|
56
59
|
export {
|
|
57
|
-
|
|
60
|
+
S as Button
|
|
58
61
|
};
|
package/package.json
CHANGED