prometeo-design-system 1.8.0 → 1.8.3
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/Avatar.es.js +1 -1
- package/dist/Button.es.js +67 -63
- package/dist/{CardProfile-BZajBGbO.js → CardProfile-Bg_q2qMm.js} +1 -1
- package/dist/CardProfile.es.js +1 -1
- package/dist/CheckBox.es.js +1 -1
- package/dist/CheckboxFormik.es.js +1 -1
- package/dist/DialogModal.es.js +1 -1
- package/dist/DrawerDesktop.es.js +1 -1
- package/dist/DrawerMobile.es.js +1 -1
- package/dist/DropZone.es.js +1 -1
- package/dist/Header.es.js +1 -1
- package/dist/Icons.es.js +1 -1
- package/dist/Input.es.js +1 -1
- package/dist/InputFormik.es.js +58 -56
- package/dist/InputMultiple.es.js +1 -1
- package/dist/{LayoutGeneric-jDE96L2N.js → LayoutGeneric-p4Pll4Cm.js} +1 -1
- package/dist/LayoutGeneric.es.js +1 -1
- package/dist/Logo.es.js +1 -1
- package/dist/Menu.es.js +1 -1
- package/dist/OtpInput.es.js +1 -1
- package/dist/Pagination.es.js +1 -1
- package/dist/ProfilePictureUpload.es.js +1 -1
- package/dist/ProgressBar.es.js +1 -1
- package/dist/Select.es.js +1 -1
- package/dist/SelectFormik.es.js +1 -1
- package/dist/Spinner.es.js +1 -1
- package/dist/Steps.es.js +1 -1
- package/dist/SwipeContainer.es.js +1 -1
- package/dist/TabLinks.es.js +1 -1
- package/dist/Table.es.js +1 -1
- package/dist/TextArea.es.js +1 -1
- package/dist/Tooltip.es.js +1 -1
- package/dist/components/Button/Button.d.ts +3 -2
- package/dist/components/InputFormik/InputFormik.d.ts +1 -1
- package/dist/{jsx-runtime-ByW6EXIE.js → jsx-runtime-DKDX3adD.js} +94 -96
- package/dist/prometeo-design-system.css +1 -1
- package/dist/prometeo-design-system.es.js +4 -4
- package/package.json +1 -1
package/dist/Avatar.es.js
CHANGED
package/dist/Button.es.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { c as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useAnimationControls as
|
|
5
|
-
|
|
1
|
+
import { j as o } from "./jsx-runtime-DKDX3adD.js";
|
|
2
|
+
import { c as x } from "./cn-B6yFEsav.js";
|
|
3
|
+
import { c as N } from "./index-BOQuZ0gG.js";
|
|
4
|
+
import { useAnimationControls as k, motion as y } from "framer-motion";
|
|
5
|
+
import { memo as z, useCallback as g, useMemo as i } from "react";
|
|
6
|
+
const A = N(
|
|
6
7
|
"flex items-center justify-center cursor-pointer focus:outline-none font-semibold rounded-md transition-colors",
|
|
7
8
|
{
|
|
8
9
|
variants: {
|
|
@@ -75,75 +76,78 @@ const z = C(
|
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
78
|
);
|
|
78
|
-
function
|
|
79
|
-
label:
|
|
80
|
-
onClick:
|
|
81
|
-
icon:
|
|
82
|
-
contentClassName:
|
|
83
|
-
loadingText:
|
|
84
|
-
animate:
|
|
79
|
+
function M({
|
|
80
|
+
label: l = "Selene",
|
|
81
|
+
onClick: h,
|
|
82
|
+
icon: u,
|
|
83
|
+
contentClassName: m,
|
|
84
|
+
loadingText: p = "Cargando...",
|
|
85
|
+
animate: t = !0,
|
|
85
86
|
animateIcon: s = !0,
|
|
86
87
|
isLoading: e = !1,
|
|
87
88
|
disabled: r = !1,
|
|
88
|
-
type:
|
|
89
|
-
variant:
|
|
90
|
-
color:
|
|
91
|
-
size:
|
|
92
|
-
children:
|
|
93
|
-
Spinner:
|
|
94
|
-
className:
|
|
95
|
-
form:
|
|
96
|
-
...
|
|
89
|
+
type: w = "button",
|
|
90
|
+
variant: f = "filled",
|
|
91
|
+
color: c = "primary",
|
|
92
|
+
size: d = "medium",
|
|
93
|
+
children: n,
|
|
94
|
+
Spinner: b,
|
|
95
|
+
className: v,
|
|
96
|
+
form: j,
|
|
97
|
+
...C
|
|
97
98
|
}) {
|
|
98
|
-
const
|
|
99
|
-
!
|
|
100
|
-
},
|
|
101
|
-
!
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
variant:
|
|
105
|
-
color:
|
|
106
|
-
size:
|
|
99
|
+
const a = k(), H = g(() => {
|
|
100
|
+
!t || r || e || !s || a.start({ rotate: 90 });
|
|
101
|
+
}, [t, r, e, s, a]), S = g(() => {
|
|
102
|
+
!t || r || e || !s || a.start({ rotate: 0 });
|
|
103
|
+
}, [t, r, e, s, a]), E = i(() => x(
|
|
104
|
+
A({
|
|
105
|
+
variant: f,
|
|
106
|
+
color: c,
|
|
107
|
+
size: d,
|
|
107
108
|
disabled: r || e,
|
|
108
109
|
loading: e
|
|
109
110
|
}),
|
|
110
|
-
|
|
111
|
-
)
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
v
|
|
112
|
+
), [f, c, d, r, e, v]), V = i(() => ({
|
|
113
|
+
whileHover: t && !r && !e ? { scale: 1.05 } : {},
|
|
114
|
+
whileTap: t && !r && !e ? { scale: 0.98 } : {},
|
|
115
|
+
transition: { type: "spring", stiffness: 400, damping: 17 }
|
|
116
|
+
}), [t, r, e]), B = i(() => e ? /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
117
|
+
b,
|
|
118
|
+
d !== "small" && /* @__PURE__ */ o.jsx("span", { children: p })
|
|
119
|
+
] }) : n || /* @__PURE__ */ o.jsxs("span", { className: x("flex items-center gap-2", m), children: [
|
|
120
|
+
u && /* @__PURE__ */ o.jsx(
|
|
121
|
+
y.div,
|
|
122
|
+
{
|
|
123
|
+
animate: s ? a : void 0,
|
|
124
|
+
transition: {
|
|
125
|
+
type: "spring",
|
|
126
|
+
stiffness: 400,
|
|
127
|
+
damping: 17
|
|
128
|
+
},
|
|
129
|
+
children: u
|
|
130
|
+
}
|
|
131
|
+
),
|
|
132
|
+
l && /* @__PURE__ */ o.jsx("span", { children: l })
|
|
133
|
+
] }), [e, n, u, l, b, d, p, s, a, m]);
|
|
134
|
+
return /* @__PURE__ */ o.jsx(
|
|
135
|
+
y.button,
|
|
114
136
|
{
|
|
115
|
-
form:
|
|
116
|
-
onClick:
|
|
117
|
-
className:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
onHoverStart: j,
|
|
122
|
-
onHoverEnd: H,
|
|
137
|
+
form: j,
|
|
138
|
+
onClick: h,
|
|
139
|
+
className: E,
|
|
140
|
+
...V,
|
|
141
|
+
onHoverStart: H,
|
|
142
|
+
onHoverEnd: S,
|
|
123
143
|
disabled: r || e,
|
|
124
|
-
type:
|
|
125
|
-
...
|
|
126
|
-
children:
|
|
127
|
-
g,
|
|
128
|
-
i !== "small" && /* @__PURE__ */ t.jsx("span", { children: f })
|
|
129
|
-
] }) : u || /* @__PURE__ */ t.jsxs("span", { className: n("flex items-center gap-2", c), children: [
|
|
130
|
-
l && /* @__PURE__ */ t.jsx(
|
|
131
|
-
m.div,
|
|
132
|
-
{
|
|
133
|
-
animate: s ? d : void 0,
|
|
134
|
-
transition: {
|
|
135
|
-
type: "spring",
|
|
136
|
-
stiffness: 400,
|
|
137
|
-
damping: 17
|
|
138
|
-
},
|
|
139
|
-
children: l
|
|
140
|
-
}
|
|
141
|
-
),
|
|
142
|
-
o && /* @__PURE__ */ t.jsx("span", { children: o })
|
|
143
|
-
] })
|
|
144
|
+
type: w,
|
|
145
|
+
...C,
|
|
146
|
+
children: B
|
|
144
147
|
}
|
|
145
148
|
);
|
|
146
149
|
}
|
|
150
|
+
const F = z(M);
|
|
147
151
|
export {
|
|
148
|
-
|
|
152
|
+
F as default
|
|
149
153
|
};
|
package/dist/CardProfile.es.js
CHANGED
package/dist/CheckBox.es.js
CHANGED
package/dist/DialogModal.es.js
CHANGED
package/dist/DrawerDesktop.es.js
CHANGED
package/dist/DrawerMobile.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "./jsx-runtime-
|
|
1
|
+
import { j as r } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { forwardRef as O, useState as g, useRef as x, useCallback as t, useImperativeHandle as D } from "react";
|
|
3
3
|
import { Drawer as n } from "vaul";
|
|
4
4
|
import { c as R } from "./cn-B6yFEsav.js";
|
package/dist/DropZone.es.js
CHANGED
package/dist/Header.es.js
CHANGED
package/dist/Icons.es.js
CHANGED
package/dist/Input.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "./jsx-runtime-
|
|
1
|
+
import { j as r } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { Icons as z } from "./Icons.es.js";
|
|
3
3
|
import { c as e } from "./cn-B6yFEsav.js";
|
|
4
4
|
import { memo as oe, useState as L, useRef as ae, useCallback as ne, useEffect as B, useLayoutEffect as ue } from "react";
|
package/dist/InputFormik.es.js
CHANGED
|
@@ -1,57 +1,59 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import { useState as w } from "react";
|
|
1
|
+
import { j as e } from "./jsx-runtime-DKDX3adD.js";
|
|
2
|
+
import { c as o } from "./cn-B6yFEsav.js";
|
|
3
|
+
import { FastField as $, ErrorMessage as D } from "formik";
|
|
4
|
+
import { memo as L, useState as w, useCallback as f } from "react";
|
|
5
5
|
import { Icons as v } from "./Icons.es.js";
|
|
6
|
-
const
|
|
7
|
-
icon:
|
|
8
|
-
iconPosition:
|
|
9
|
-
label:
|
|
10
|
-
className:
|
|
11
|
-
containerClassName:
|
|
6
|
+
const T = ({
|
|
7
|
+
icon: r,
|
|
8
|
+
iconPosition: a = "left",
|
|
9
|
+
label: u,
|
|
10
|
+
className: F,
|
|
11
|
+
containerClassName: I,
|
|
12
12
|
id: x,
|
|
13
13
|
type: p = "text",
|
|
14
|
-
labelVariant:
|
|
15
|
-
placeholder:
|
|
14
|
+
labelVariant: s = "default",
|
|
15
|
+
placeholder: d,
|
|
16
16
|
disabled: h = !1,
|
|
17
|
-
|
|
17
|
+
field: t,
|
|
18
|
+
form: N,
|
|
19
|
+
...n
|
|
18
20
|
}) => {
|
|
19
|
-
const [
|
|
20
|
-
const
|
|
21
|
-
return
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
21
|
+
const [i, g] = w(!1), [y, E] = w(!1), b = N.getFieldMeta(t.name), m = b.touched && b.error, j = t.value && t.value.toString().length > 0, c = p === "password", k = c ? y ? "text" : "password" : p, z = () => {
|
|
22
|
+
const l = () => r ? a === "left" ? "left-9" : "left-0" : "left-2";
|
|
23
|
+
return s === "static" ? `-top-5 ${l()} scale-90 px-1` : i || j ? `-top-2 ${l()} scale-90` : `top-1/2 -translate-y-1/2 ${l()} scale-100`;
|
|
24
|
+
}, C = () => s === "static" ? "text-sm" : "text-sm peer-focus:text-sm peer-placeholder-shown:text-base", B = () => s === "static" ? d || u : d || "", K = () => c ? r ? a === "left" ? "pl-10 pr-10" : "pr-16" : "pr-10" : r ? a === "left" ? "pl-10" : "pr-10" : "", P = f(() => {
|
|
25
|
+
g(!0), n.onFocus?.();
|
|
26
|
+
}, [n]), M = f((l) => {
|
|
27
|
+
g(!1), n.onBlur?.(), t.onBlur(l);
|
|
28
|
+
}, [t, n]), S = f(() => {
|
|
29
|
+
E((l) => !l);
|
|
30
|
+
}, []);
|
|
31
|
+
return /* @__PURE__ */ e.jsxs("div", { className: o("relative w-full bg-inherit", s === "static" && "mt-2", I), children: [
|
|
26
32
|
/* @__PURE__ */ e.jsxs("div", { className: "relative bg-inherit", children: [
|
|
27
33
|
/* @__PURE__ */ e.jsx(
|
|
28
34
|
"input",
|
|
29
35
|
{
|
|
30
36
|
disabled: h,
|
|
31
37
|
id: x || t.name,
|
|
32
|
-
type:
|
|
33
|
-
name:
|
|
34
|
-
value:
|
|
35
|
-
placeholder:
|
|
36
|
-
onChange:
|
|
37
|
-
onFocus:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
onBlur: (n) => {
|
|
44
|
-
y(!1), t.onBlur?.(), l.onBlur(n);
|
|
45
|
-
},
|
|
46
|
-
className: u(
|
|
38
|
+
type: k,
|
|
39
|
+
name: t.name,
|
|
40
|
+
value: t.value || "",
|
|
41
|
+
placeholder: B(),
|
|
42
|
+
onChange: t.onChange,
|
|
43
|
+
onFocus: P,
|
|
44
|
+
onEmptied: n.onEmptied,
|
|
45
|
+
onKeyDown: n.onKeyDown,
|
|
46
|
+
onKeyUp: n.onKeyUp,
|
|
47
|
+
onBlur: M,
|
|
48
|
+
className: o(
|
|
47
49
|
"w-full px-3 h-12 text-left border-1 rounded-lg transition-all duration-200 ease-in-out text-neutral-default-default",
|
|
48
50
|
"bg-transparent focus:outline-none",
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
s === "default" && !d && "placeholder:text-transparent",
|
|
52
|
+
s === "default" && d && "placeholder:text-neutral-medium-default placeholder:opacity-50",
|
|
53
|
+
s === "static" && "placeholder:text-neutral-medium-default placeholder:opacity-50",
|
|
54
|
+
i ? "border-primary-default-default border-2 text-primary-default-default" : m ? "border-error-default-default" : "border-neutral-default-default hover:border-neutral-strong-default",
|
|
53
55
|
K(),
|
|
54
|
-
|
|
56
|
+
F
|
|
55
57
|
)
|
|
56
58
|
}
|
|
57
59
|
),
|
|
@@ -59,37 +61,37 @@ const U = ({
|
|
|
59
61
|
"label",
|
|
60
62
|
{
|
|
61
63
|
htmlFor: x || t.name,
|
|
62
|
-
className:
|
|
64
|
+
className: o(
|
|
63
65
|
"absolute transition-all duration-200 font-bold text-sm ease-in-out pointer-events-none bg-inherit px-1 z-10",
|
|
66
|
+
C(),
|
|
64
67
|
z(),
|
|
65
|
-
|
|
66
|
-
b || d ? "text-primary-default-default" : f ? "text-red-500" : "text-neutral-medium-default"
|
|
68
|
+
j || i ? "text-primary-default-default" : m ? "text-red-500" : "text-neutral-medium-default"
|
|
67
69
|
),
|
|
68
|
-
children:
|
|
70
|
+
children: u
|
|
69
71
|
}
|
|
70
72
|
),
|
|
71
|
-
|
|
73
|
+
r && /* @__PURE__ */ e.jsx("div", { className: o(
|
|
72
74
|
"absolute top-1/2 -translate-y-1/2 text-neutral-medium-default",
|
|
73
|
-
|
|
74
|
-
), children:
|
|
75
|
-
|
|
75
|
+
a === "left" ? "left-3" : "right-3"
|
|
76
|
+
), children: r }),
|
|
77
|
+
c && /* @__PURE__ */ e.jsx(
|
|
76
78
|
"button",
|
|
77
79
|
{
|
|
78
80
|
type: "button",
|
|
79
|
-
onClick:
|
|
80
|
-
className:
|
|
81
|
+
onClick: S,
|
|
82
|
+
className: o(
|
|
81
83
|
"absolute top-1/2 -translate-y-1/2 p-1 text-neutral-medium-default hover:text-neutral-strong-default",
|
|
82
84
|
"transition-colors duration-200 focus:outline-none focus:text-primary-default-default",
|
|
83
|
-
|
|
85
|
+
r && a === "right" ? "right-8" : "right-3"
|
|
84
86
|
),
|
|
85
87
|
tabIndex: -1,
|
|
86
88
|
disabled: h,
|
|
87
|
-
children:
|
|
89
|
+
children: y ? /* @__PURE__ */ e.jsx(v.EyeVisibility, { size: 24, className: "text-neutral-default-default" }) : /* @__PURE__ */ e.jsx(v.EyeVisibilityOff, { size: 24, className: "text-neutral-default-default" })
|
|
88
90
|
}
|
|
89
91
|
)
|
|
90
92
|
] }),
|
|
91
|
-
|
|
92
|
-
|
|
93
|
+
m && /* @__PURE__ */ e.jsx(
|
|
94
|
+
D,
|
|
93
95
|
{
|
|
94
96
|
name: t.name,
|
|
95
97
|
component: "span",
|
|
@@ -97,7 +99,7 @@ const U = ({
|
|
|
97
99
|
}
|
|
98
100
|
)
|
|
99
101
|
] });
|
|
100
|
-
};
|
|
102
|
+
}, U = L(T), G = (r) => /* @__PURE__ */ e.jsx($, { name: r.name, children: ({ field: a, form: u }) => /* @__PURE__ */ e.jsx(U, { ...r, field: a, form: u }) });
|
|
101
103
|
export {
|
|
102
|
-
|
|
104
|
+
G as default
|
|
103
105
|
};
|
package/dist/InputMultiple.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "./jsx-runtime-
|
|
1
|
+
import { j as r } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { Icons as E } from "./Icons.es.js";
|
|
3
3
|
import { c as d } from "./cn-B6yFEsav.js";
|
|
4
4
|
import M, { useRef as D, useState as p, useCallback as W, useEffect as X } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "./jsx-runtime-
|
|
1
|
+
import { j as t } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { useRef as a, createContext as i, useContext as u, memo as c } from "react";
|
|
3
3
|
const o = i(null), l = ({ children: e }) => {
|
|
4
4
|
const r = a(null), s = (n) => {
|
package/dist/LayoutGeneric.es.js
CHANGED
package/dist/Logo.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
1
|
+
import { j as e } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { Icons as t } from "./Icons.es.js";
|
|
3
3
|
const s = () => /* @__PURE__ */ e.jsxs("div", { className: "container-logo flex items-center justify-center gap-1 bg-gradient-to-br from-[#312C85] to-[#1E1A4D] rounded-md min-w-[185px]", children: [
|
|
4
4
|
/* @__PURE__ */ e.jsx(t.TicketFilled, { size: 28, className: "rotate-140 text-primary-medium-pressed icon-logo" }),
|
package/dist/Menu.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
1
|
+
import { j as e } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { c as r } from "./cn-B6yFEsav.js";
|
|
3
3
|
import { AnimatePresence as n, motion as o } from "framer-motion";
|
|
4
4
|
const s = ({ menuRef: t, children: a, className: i }) => /* @__PURE__ */ e.jsx("div", { ref: t, className: r("flex bg-neutral-default-default absolute bottom-10 left-24 border-1 border-neutral-strong-default h-auto w-60 rounded-md px-2", i), children: /* @__PURE__ */ e.jsx(n, { mode: "wait", children: /* @__PURE__ */ e.jsx(
|
package/dist/OtpInput.es.js
CHANGED
package/dist/Pagination.es.js
CHANGED
package/dist/ProgressBar.es.js
CHANGED
package/dist/Select.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "./jsx-runtime-
|
|
1
|
+
import { j as t } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { Icons as w } from "./Icons.es.js";
|
|
3
3
|
import { c as o } from "./cn-B6yFEsav.js";
|
|
4
4
|
import { memo as se, useState as y, useRef as re, useEffect as oe } from "react";
|
package/dist/SelectFormik.es.js
CHANGED
package/dist/Spinner.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
1
|
+
import { j as e } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { ClipLoader as l, SyncLoader as m, HashLoader as p, GridLoader as x, DotLoader as j, BounceLoader as f } from "react-spinners";
|
|
3
3
|
import { c as L } from "./cn-B6yFEsav.js";
|
|
4
4
|
const y = ({
|
package/dist/Steps.es.js
CHANGED
package/dist/TabLinks.es.js
CHANGED
package/dist/Table.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "./jsx-runtime-
|
|
1
|
+
import { j as r } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { c as l } from "./cn-B6yFEsav.js";
|
|
3
3
|
import * as o from "react";
|
|
4
4
|
const n = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx("div", { className: "w-full", children: /* @__PURE__ */ r.jsx(
|
package/dist/TextArea.es.js
CHANGED
package/dist/Tooltip.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
1
|
+
import { j as e } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { AnimatePresence as f, motion as n } from "framer-motion";
|
|
3
3
|
import { useState as p, cloneElement as x } from "react";
|
|
4
4
|
import { Icons as b } from "./Icons.es.js";
|
|
@@ -24,5 +24,6 @@ export interface ButtonProps extends VariantProps<typeof buttonVariants> {
|
|
|
24
24
|
variant?: "filled" | "outline" | "text";
|
|
25
25
|
form?: string;
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
declare function Button({ label, onClick, icon, contentClassName, loadingText, animate, animateIcon, isLoading, disabled, type, variant, color, size, children, Spinner, className, form, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare const _default: import('react').MemoExoticComponent<typeof Button>;
|
|
29
|
+
export default _default;
|
|
@@ -18,5 +18,5 @@ export interface IInputFormik {
|
|
|
18
18
|
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
19
19
|
onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
20
20
|
}
|
|
21
|
-
declare const InputFormik: (
|
|
21
|
+
declare const InputFormik: (props: IInputFormik) => import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export default InputFormik;
|