@treeal/ds 0.1.3 → 0.1.4
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/style.css +1 -1
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs9.js.map +1 -1
- package/dist/index.esm10.js +1 -1
- package/dist/index.esm11.js +1 -1
- package/dist/index.esm12.js +1 -1
- package/dist/index.esm13.js +1 -1
- package/dist/index.esm14.js +1 -1
- package/dist/index.esm17.js +38 -22
- package/dist/index.esm17.js.map +1 -1
- package/dist/index.esm18.js +48 -102
- package/dist/index.esm18.js.map +1 -1
- package/dist/index.esm19.js +22 -60
- package/dist/index.esm19.js.map +1 -1
- package/dist/index.esm21.js +20 -22
- package/dist/index.esm21.js.map +1 -1
- package/dist/index.esm23.js +22 -20
- package/dist/index.esm23.js.map +1 -1
- package/dist/index.esm24.js +22 -48
- package/dist/index.esm24.js.map +1 -1
- package/dist/index.esm25.js +36 -22
- package/dist/index.esm25.js.map +1 -1
- package/dist/index.esm26.js +102 -22
- package/dist/index.esm26.js.map +1 -1
- package/dist/index.esm27.js +22 -36
- package/dist/index.esm27.js.map +1 -1
- package/dist/index.esm28.js +60 -38
- package/dist/index.esm28.js.map +1 -1
- package/dist/index.esm5.js +1 -1
- package/dist/index.esm6.js +1 -1
- package/dist/index.esm7.js +1 -1
- package/dist/index.esm8.js +1 -1
- package/dist/index.esm9.js +60 -60
- package/dist/index.esm9.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm25.js
CHANGED
|
@@ -1,26 +1,40 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
const e = "_wrapper_1hbvd_9", _ = "_labelRow_1hbvd_19", o = "_label_1hbvd_19", s = "_labelDisabled_1hbvd_37", n = "_labelIcon_1hbvd_41", t = "_field_1hbvd_53", l = "_hover_1hbvd_70", c = "_active_1hbvd_77", a = "_disabled_1hbvd_85", b = "_error_1hbvd_98", r = "_icon_1hbvd_110", d = "_input_1hbvd_122", i = "_iconAction_1hbvd_146", h = "_toggleBtn_1hbvd_153", v = "_searchBtn_1hbvd_172", g = "_message_1hbvd_208", p = "_messageError_1hbvd_223", m = {
|
|
2
|
+
wrapper: e,
|
|
3
|
+
labelRow: _,
|
|
4
|
+
label: o,
|
|
5
|
+
labelDisabled: s,
|
|
6
|
+
labelIcon: n,
|
|
7
|
+
field: t,
|
|
8
|
+
hover: l,
|
|
9
|
+
active: c,
|
|
10
|
+
disabled: a,
|
|
11
|
+
error: b,
|
|
12
|
+
icon: r,
|
|
13
|
+
input: d,
|
|
14
|
+
iconAction: i,
|
|
15
|
+
toggleBtn: h,
|
|
16
|
+
searchBtn: v,
|
|
17
|
+
message: g,
|
|
18
|
+
messageError: p
|
|
12
19
|
};
|
|
13
20
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
c as active,
|
|
22
|
+
m as default,
|
|
23
|
+
a as disabled,
|
|
24
|
+
b as error,
|
|
25
|
+
t as field,
|
|
26
|
+
l as hover,
|
|
27
|
+
r as icon,
|
|
28
|
+
i as iconAction,
|
|
29
|
+
d as input,
|
|
30
|
+
o as label,
|
|
31
|
+
s as labelDisabled,
|
|
32
|
+
n as labelIcon,
|
|
33
|
+
_ as labelRow,
|
|
34
|
+
g as message,
|
|
35
|
+
p as messageError,
|
|
36
|
+
v as searchBtn,
|
|
37
|
+
h as toggleBtn,
|
|
38
|
+
e as wrapper
|
|
25
39
|
};
|
|
26
40
|
//# sourceMappingURL=index.esm25.js.map
|
package/dist/index.esm25.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm25.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm25.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.esm26.js
CHANGED
|
@@ -1,26 +1,106 @@
|
|
|
1
|
-
const e = "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
const e = "_nav_53r24_22", t = "_navOpen_53r24_32", o = "_navClosed_53r24_33", _ = "_navMobile_53r24_42", n = "_header_53r24_51", a = "_headerOpen_53r24_58", s = "_headerClosed_53r24_64", l = "_headerMobile_53r24_73", c = "_logoIcon_53r24_80", i = "_logoFull_53r24_87", r = "_headerTitle_53r24_93", m = "_headerActions_53r24_102", v = "_bellBtn_53r24_108", b = "_links_53r24_129", d = "_linksOpen_53r24_136", p = "_linksClosed_53r24_137", I = "_linksMobile_53r24_138", h = "_section_53r24_142", k = "_sectionTitle_53r24_147", M = "_sectionItems_53r24_160", C = "_item_53r24_168", L = "_itemOpen_53r24_181", A = "_itemOpenActive_53r24_191", B = "_itemClosed_53r24_201", O = "_itemClosedActive_53r24_211", f = "_itemMobile_53r24_222", w = "_itemMobileActive_53r24_231", g = "_itemIcon_53r24_237", u = "_itemIconDark_53r24_246", D = "_itemIconLight_53r24_247", R = "_itemLabel_53r24_251", T = "_itemLabelDefault_53r24_263", F = "_itemLabelActive_53r24_264", N = "_itemLabelMobile_53r24_265", x = "_chevron_53r24_269", y = "_footer_53r24_283", j = "_collapseBtn_53r24_289", q = "_collapseBtnClosed_53r24_310", z = "_collapseBtnIcon_53r24_314", E = "_footerMobile_53r24_326", G = "_ctaBtn_53r24_335", H = "_workspace_53r24_358", J = "_workspaceIcon_53r24_372", K = "_workspaceLabel_53r24_383", P = "_avatarRow_53r24_397", Q = "_avatar_53r24_397", S = "_avatarInitials_53r24_415", U = "_avatarInfo_53r24_422", V = "_avatarName_53r24_430", W = "_avatarRole_53r24_441", X = {
|
|
2
|
+
nav: e,
|
|
3
|
+
navOpen: t,
|
|
4
|
+
navClosed: o,
|
|
5
|
+
navMobile: _,
|
|
6
|
+
header: n,
|
|
7
|
+
headerOpen: a,
|
|
8
|
+
headerClosed: s,
|
|
9
|
+
headerMobile: l,
|
|
10
|
+
logoIcon: c,
|
|
11
|
+
logoFull: i,
|
|
12
|
+
headerTitle: r,
|
|
13
|
+
headerActions: m,
|
|
14
|
+
bellBtn: v,
|
|
15
|
+
links: b,
|
|
16
|
+
linksOpen: d,
|
|
17
|
+
linksClosed: p,
|
|
18
|
+
linksMobile: I,
|
|
19
|
+
section: h,
|
|
20
|
+
sectionTitle: k,
|
|
21
|
+
sectionItems: M,
|
|
22
|
+
item: C,
|
|
23
|
+
itemOpen: L,
|
|
24
|
+
itemOpenActive: A,
|
|
25
|
+
itemClosed: B,
|
|
26
|
+
itemClosedActive: O,
|
|
27
|
+
itemMobile: f,
|
|
28
|
+
itemMobileActive: w,
|
|
29
|
+
itemIcon: g,
|
|
30
|
+
itemIconDark: u,
|
|
31
|
+
itemIconLight: D,
|
|
32
|
+
itemLabel: R,
|
|
33
|
+
itemLabelDefault: T,
|
|
34
|
+
itemLabelActive: F,
|
|
35
|
+
itemLabelMobile: N,
|
|
36
|
+
chevron: x,
|
|
37
|
+
footer: y,
|
|
38
|
+
collapseBtn: j,
|
|
39
|
+
collapseBtnClosed: q,
|
|
40
|
+
collapseBtnIcon: z,
|
|
41
|
+
footerMobile: E,
|
|
42
|
+
ctaBtn: G,
|
|
43
|
+
workspace: H,
|
|
44
|
+
workspaceIcon: J,
|
|
45
|
+
workspaceLabel: K,
|
|
46
|
+
avatarRow: P,
|
|
47
|
+
avatar: Q,
|
|
48
|
+
avatarInitials: S,
|
|
49
|
+
avatarInfo: U,
|
|
50
|
+
avatarName: V,
|
|
51
|
+
avatarRole: W
|
|
12
52
|
};
|
|
13
53
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
54
|
+
Q as avatar,
|
|
55
|
+
U as avatarInfo,
|
|
56
|
+
S as avatarInitials,
|
|
57
|
+
V as avatarName,
|
|
58
|
+
W as avatarRole,
|
|
59
|
+
P as avatarRow,
|
|
60
|
+
v as bellBtn,
|
|
61
|
+
x as chevron,
|
|
62
|
+
j as collapseBtn,
|
|
63
|
+
q as collapseBtnClosed,
|
|
64
|
+
z as collapseBtnIcon,
|
|
65
|
+
G as ctaBtn,
|
|
66
|
+
X as default,
|
|
67
|
+
y as footer,
|
|
68
|
+
E as footerMobile,
|
|
69
|
+
n as header,
|
|
70
|
+
m as headerActions,
|
|
71
|
+
s as headerClosed,
|
|
72
|
+
l as headerMobile,
|
|
73
|
+
a as headerOpen,
|
|
74
|
+
r as headerTitle,
|
|
75
|
+
C as item,
|
|
76
|
+
B as itemClosed,
|
|
77
|
+
O as itemClosedActive,
|
|
78
|
+
g as itemIcon,
|
|
79
|
+
u as itemIconDark,
|
|
80
|
+
D as itemIconLight,
|
|
81
|
+
R as itemLabel,
|
|
82
|
+
F as itemLabelActive,
|
|
83
|
+
T as itemLabelDefault,
|
|
84
|
+
N as itemLabelMobile,
|
|
85
|
+
f as itemMobile,
|
|
86
|
+
w as itemMobileActive,
|
|
87
|
+
L as itemOpen,
|
|
88
|
+
A as itemOpenActive,
|
|
89
|
+
b as links,
|
|
90
|
+
p as linksClosed,
|
|
91
|
+
I as linksMobile,
|
|
92
|
+
d as linksOpen,
|
|
93
|
+
i as logoFull,
|
|
94
|
+
c as logoIcon,
|
|
95
|
+
e as nav,
|
|
96
|
+
o as navClosed,
|
|
97
|
+
_ as navMobile,
|
|
98
|
+
t as navOpen,
|
|
99
|
+
h as section,
|
|
100
|
+
M as sectionItems,
|
|
101
|
+
k as sectionTitle,
|
|
102
|
+
H as workspace,
|
|
103
|
+
J as workspaceIcon,
|
|
104
|
+
K as workspaceLabel
|
|
25
105
|
};
|
|
26
106
|
//# sourceMappingURL=index.esm26.js.map
|
package/dist/index.esm26.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm26.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm26.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.esm27.js
CHANGED
|
@@ -1,40 +1,26 @@
|
|
|
1
|
-
const e = "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
icon: i,
|
|
13
|
-
input: b,
|
|
14
|
-
iconAction: y,
|
|
15
|
-
toggleBtn: d,
|
|
16
|
-
searchBtn: g,
|
|
17
|
-
message: p,
|
|
18
|
-
messageError: h
|
|
1
|
+
const e = "_base_106pz_9", c = "_checkDefault_106pz_18", o = "_radioDefault_106pz_19", _ = "_checkChecked_106pz_40", t = "_radioChecked_106pz_41", a = "_checkIcon_106pz_64", k = "_radioIcon_106pz_86", d = "_toggleWrapper_106pz_105", r = "_toggleTrack_106pz_113", g = "_toggleChecked_106pz_140", h = {
|
|
2
|
+
base: e,
|
|
3
|
+
checkDefault: c,
|
|
4
|
+
radioDefault: o,
|
|
5
|
+
checkChecked: _,
|
|
6
|
+
radioChecked: t,
|
|
7
|
+
checkIcon: a,
|
|
8
|
+
radioIcon: k,
|
|
9
|
+
toggleWrapper: d,
|
|
10
|
+
toggleTrack: r,
|
|
11
|
+
toggleChecked: g
|
|
19
12
|
};
|
|
20
13
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
o as labelIcon,
|
|
33
|
-
a as labelRow,
|
|
34
|
-
p as message,
|
|
35
|
-
h as messageError,
|
|
36
|
-
g as searchBtn,
|
|
37
|
-
d as toggleBtn,
|
|
38
|
-
e as wrapper
|
|
14
|
+
e as base,
|
|
15
|
+
_ as checkChecked,
|
|
16
|
+
c as checkDefault,
|
|
17
|
+
a as checkIcon,
|
|
18
|
+
h as default,
|
|
19
|
+
t as radioChecked,
|
|
20
|
+
o as radioDefault,
|
|
21
|
+
k as radioIcon,
|
|
22
|
+
g as toggleChecked,
|
|
23
|
+
r as toggleTrack,
|
|
24
|
+
d as toggleWrapper
|
|
39
25
|
};
|
|
40
26
|
//# sourceMappingURL=index.esm27.js.map
|
package/dist/index.esm27.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm27.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm27.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
package/dist/index.esm28.js
CHANGED
|
@@ -1,42 +1,64 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
const a = "_header_1jw5v_25", e = "_variantDefault_1jw5v_36", t = "_variantMobile_1jw5v_37", o = "_variantMobileOpen_1jw5v_38", s = "_pageTitle_1jw5v_49", _ = "_pageTitleDesktop_1jw5v_63", n = "_pageTitleMobile_1jw5v_64", c = "_actions_1jw5v_68", r = "_actionsMobileOpen_1jw5v_76", w = "_workspace_1jw5v_86", v = "_workspaceFull_1jw5v_104", i = "_workspaceLeft_1jw5v_110", l = "_statusDot_1jw5v_118", p = "_workspaceCol_1jw5v_126", j = "_workspaceAccount_1jw5v_134", u = "_workspaceName_1jw5v_144", k = "_workspaceArrow_1jw5v_156", m = "_bellBtn_1jw5v_168", b = "_menuBtn_1jw5v_188", g = "_menuIcon_1jw5v_208", M = "_navUser_1jw5v_219", T = "_avatar_1jw5v_227", A = "_avatarImg_1jw5v_239", B = "_avatarInitials_1jw5v_248", D = "_userText_1jw5v_255", I = "_userName_1jw5v_262", f = "_userRole_1jw5v_271", N = "_ctaBtn_1jw5v_282", O = "_mainActions_1jw5v_307", d = {
|
|
2
|
+
header: a,
|
|
3
|
+
variantDefault: e,
|
|
4
|
+
variantMobile: t,
|
|
5
|
+
variantMobileOpen: o,
|
|
6
|
+
pageTitle: s,
|
|
7
|
+
pageTitleDesktop: _,
|
|
8
|
+
pageTitleMobile: n,
|
|
9
|
+
actions: c,
|
|
10
|
+
actionsMobileOpen: r,
|
|
11
|
+
workspace: w,
|
|
12
|
+
workspaceFull: v,
|
|
13
|
+
workspaceLeft: i,
|
|
14
|
+
statusDot: l,
|
|
15
|
+
workspaceCol: p,
|
|
16
|
+
workspaceAccount: j,
|
|
17
|
+
workspaceName: u,
|
|
18
|
+
workspaceArrow: k,
|
|
19
|
+
bellBtn: m,
|
|
20
|
+
menuBtn: b,
|
|
21
|
+
menuIcon: g,
|
|
22
|
+
navUser: M,
|
|
23
|
+
avatar: T,
|
|
24
|
+
avatarImg: A,
|
|
25
|
+
avatarInitials: B,
|
|
26
|
+
userText: D,
|
|
27
|
+
userName: I,
|
|
28
|
+
userRole: f,
|
|
29
|
+
ctaBtn: N,
|
|
30
|
+
mainActions: O
|
|
20
31
|
};
|
|
21
32
|
export {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
33
|
+
c as actions,
|
|
34
|
+
r as actionsMobileOpen,
|
|
35
|
+
T as avatar,
|
|
36
|
+
A as avatarImg,
|
|
37
|
+
B as avatarInitials,
|
|
38
|
+
m as bellBtn,
|
|
39
|
+
N as ctaBtn,
|
|
40
|
+
d as default,
|
|
41
|
+
a as header,
|
|
42
|
+
O as mainActions,
|
|
43
|
+
b as menuBtn,
|
|
44
|
+
g as menuIcon,
|
|
45
|
+
M as navUser,
|
|
46
|
+
s as pageTitle,
|
|
47
|
+
_ as pageTitleDesktop,
|
|
48
|
+
n as pageTitleMobile,
|
|
49
|
+
l as statusDot,
|
|
50
|
+
I as userName,
|
|
51
|
+
f as userRole,
|
|
52
|
+
D as userText,
|
|
53
|
+
e as variantDefault,
|
|
54
|
+
t as variantMobile,
|
|
55
|
+
o as variantMobileOpen,
|
|
56
|
+
w as workspace,
|
|
57
|
+
j as workspaceAccount,
|
|
58
|
+
k as workspaceArrow,
|
|
59
|
+
p as workspaceCol,
|
|
60
|
+
v as workspaceFull,
|
|
61
|
+
i as workspaceLeft,
|
|
62
|
+
u as workspaceName
|
|
41
63
|
};
|
|
42
64
|
//# sourceMappingURL=index.esm28.js.map
|
package/dist/index.esm28.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm28.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm28.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.esm5.js
CHANGED
package/dist/index.esm6.js
CHANGED
package/dist/index.esm7.js
CHANGED
package/dist/index.esm8.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import e from "./index.
|
|
2
|
+
import e from "./index.esm28.js";
|
|
3
3
|
function b() {
|
|
4
4
|
return /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
5
5
|
/* @__PURE__ */ n("path", { d: "M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9" }),
|
package/dist/index.esm9.js
CHANGED
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
import { jsxs as t, jsx as
|
|
2
|
-
import { useId as
|
|
3
|
-
import
|
|
4
|
-
function
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useId as M, useState as N } from "react";
|
|
3
|
+
import r from "./index.esm25.js";
|
|
4
|
+
function E() {
|
|
5
5
|
return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
6
|
+
/* @__PURE__ */ e("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
7
|
+
/* @__PURE__ */ e("polyline", { points: "22,6 12,13 2,6", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
8
8
|
] });
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function y() {
|
|
11
11
|
return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */
|
|
12
|
+
/* @__PURE__ */ e("circle", { cx: "11", cy: "11", r: "7", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round" }),
|
|
13
|
+
/* @__PURE__ */ e("path", { d: "M16.5 16.5L21 21", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round" })
|
|
14
14
|
] });
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function A() {
|
|
17
17
|
return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
-
/* @__PURE__ */
|
|
18
|
+
/* @__PURE__ */ e("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
19
|
+
/* @__PURE__ */ e("path", { d: "M16 2v4M8 2v4M3 10h18", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
20
20
|
] });
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function D() {
|
|
23
23
|
return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */
|
|
24
|
+
/* @__PURE__ */ e("rect", { x: "5", y: "11", width: "14", height: "11", rx: "2", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
25
|
+
/* @__PURE__ */ e("path", { d: "M8 11V7a4 4 0 0 1 8 0v4", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
26
26
|
] });
|
|
27
27
|
}
|
|
28
28
|
function S() {
|
|
29
29
|
return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
30
|
+
/* @__PURE__ */ e("path", { d: "M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7z", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
31
|
+
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "3", stroke: "currentColor", strokeWidth: "1.75" })
|
|
32
32
|
] });
|
|
33
33
|
}
|
|
34
34
|
function z() {
|
|
35
35
|
return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
/* @__PURE__ */
|
|
36
|
+
/* @__PURE__ */ e("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
37
|
+
/* @__PURE__ */ e("path", { d: "M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
38
|
+
/* @__PURE__ */ e("path", { d: "M1 1l22 22", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round" })
|
|
39
39
|
] });
|
|
40
40
|
}
|
|
41
41
|
function R({
|
|
42
42
|
state: n = "Default",
|
|
43
43
|
inputType: o = "text",
|
|
44
44
|
label: l,
|
|
45
|
-
placeholder:
|
|
45
|
+
placeholder: v,
|
|
46
46
|
message: s,
|
|
47
47
|
iconLabel: h,
|
|
48
|
-
iconLeft:
|
|
48
|
+
iconLeft: f,
|
|
49
49
|
iconRight: p,
|
|
50
|
-
value:
|
|
51
|
-
onChange:
|
|
52
|
-
onSearch:
|
|
53
|
-
id:
|
|
54
|
-
className:
|
|
55
|
-
...
|
|
50
|
+
value: w,
|
|
51
|
+
onChange: m,
|
|
52
|
+
onSearch: L,
|
|
53
|
+
id: g,
|
|
54
|
+
className: x,
|
|
55
|
+
...b
|
|
56
56
|
}) {
|
|
57
|
-
const
|
|
57
|
+
const C = M(), i = g ?? C, [d, j] = N(!1), a = n === "Disabled", c = n === "Error", I = o === "password" ? d ? "text" : "password" : o === "search" ? "text" : o, u = f ?? (o === "email" ? /* @__PURE__ */ e(E, {}) : o === "password" ? /* @__PURE__ */ e(D, {}) : void 0), k = p ?? (o === "password" ? /* @__PURE__ */ e(
|
|
58
58
|
"button",
|
|
59
59
|
{
|
|
60
60
|
type: "button",
|
|
61
|
-
className:
|
|
62
|
-
onClick: () =>
|
|
61
|
+
className: r.toggleBtn,
|
|
62
|
+
onClick: () => j((W) => !W),
|
|
63
63
|
"aria-label": d ? "Ocultar senha" : "Mostrar senha",
|
|
64
64
|
tabIndex: -1,
|
|
65
|
-
children: d ? /* @__PURE__ */
|
|
65
|
+
children: d ? /* @__PURE__ */ e(S, {}) : /* @__PURE__ */ e(z, {})
|
|
66
66
|
}
|
|
67
|
-
) : o === "date" ? /* @__PURE__ */
|
|
67
|
+
) : o === "date" ? /* @__PURE__ */ e(A, {}) : o === "search" ? /* @__PURE__ */ e(
|
|
68
68
|
"button",
|
|
69
69
|
{
|
|
70
70
|
type: "button",
|
|
71
|
-
className:
|
|
72
|
-
onClick:
|
|
71
|
+
className: r.searchBtn,
|
|
72
|
+
onClick: L,
|
|
73
73
|
"aria-label": "Buscar",
|
|
74
74
|
tabIndex: -1,
|
|
75
|
-
children: /* @__PURE__ */
|
|
75
|
+
children: /* @__PURE__ */ e(y, {})
|
|
76
76
|
}
|
|
77
|
-
) : void 0),
|
|
78
|
-
|
|
79
|
-
n === "Hover" ?
|
|
80
|
-
n === "Active" ?
|
|
81
|
-
a ?
|
|
82
|
-
c ?
|
|
83
|
-
|
|
77
|
+
) : void 0), B = [
|
|
78
|
+
r.field,
|
|
79
|
+
n === "Hover" ? r.hover : "",
|
|
80
|
+
n === "Active" ? r.active : "",
|
|
81
|
+
a ? r.disabled : "",
|
|
82
|
+
c ? r.error : "",
|
|
83
|
+
x
|
|
84
84
|
].filter(Boolean).join(" ");
|
|
85
|
-
return /* @__PURE__ */ t("div", { className:
|
|
86
|
-
l && /* @__PURE__ */ t("div", { className:
|
|
87
|
-
/* @__PURE__ */
|
|
85
|
+
return /* @__PURE__ */ t("div", { className: r.wrapper, children: [
|
|
86
|
+
l && /* @__PURE__ */ t("div", { className: r.labelRow, children: [
|
|
87
|
+
/* @__PURE__ */ e(
|
|
88
88
|
"label",
|
|
89
89
|
{
|
|
90
90
|
htmlFor: i,
|
|
91
|
-
className: [
|
|
91
|
+
className: [r.label, a ? r.labelDisabled : ""].filter(Boolean).join(" "),
|
|
92
92
|
children: l
|
|
93
93
|
}
|
|
94
94
|
),
|
|
95
|
-
h && /* @__PURE__ */
|
|
95
|
+
h && /* @__PURE__ */ e("span", { className: r.labelIcon, "aria-hidden": "true", children: h })
|
|
96
96
|
] }),
|
|
97
|
-
/* @__PURE__ */ t("div", { className:
|
|
98
|
-
u && /* @__PURE__ */
|
|
99
|
-
/* @__PURE__ */
|
|
97
|
+
/* @__PURE__ */ t("div", { className: B, children: [
|
|
98
|
+
u && /* @__PURE__ */ e("span", { className: r.icon, "aria-hidden": "true", children: u }),
|
|
99
|
+
/* @__PURE__ */ e(
|
|
100
100
|
"input",
|
|
101
101
|
{
|
|
102
102
|
id: i,
|
|
103
|
-
type:
|
|
104
|
-
className:
|
|
105
|
-
placeholder:
|
|
103
|
+
type: I,
|
|
104
|
+
className: r.input,
|
|
105
|
+
placeholder: v,
|
|
106
106
|
disabled: a,
|
|
107
|
-
value:
|
|
108
|
-
onChange:
|
|
107
|
+
value: w,
|
|
108
|
+
onChange: m,
|
|
109
109
|
"aria-invalid": c,
|
|
110
110
|
"aria-describedby": s ? `${i}-message` : void 0,
|
|
111
|
-
...
|
|
111
|
+
...b
|
|
112
112
|
}
|
|
113
113
|
),
|
|
114
|
-
k && /* @__PURE__ */
|
|
114
|
+
k && /* @__PURE__ */ e("span", { className: [r.icon, o === "search" || o === "password" ? r.iconAction : ""].filter(Boolean).join(" "), children: k })
|
|
115
115
|
] }),
|
|
116
|
-
s && /* @__PURE__ */
|
|
116
|
+
s && /* @__PURE__ */ e(
|
|
117
117
|
"p",
|
|
118
118
|
{
|
|
119
119
|
id: `${i}-message`,
|
|
120
|
-
className: [
|
|
120
|
+
className: [r.message, c ? r.messageError : ""].filter(Boolean).join(" "),
|
|
121
121
|
children: s
|
|
122
122
|
}
|
|
123
123
|
)
|