@treeal/ds 0.1.1 → 0.1.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/assets/style.css +1 -1
- package/dist/components/Input/Input.d.ts +13 -2
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +24 -0
- package/dist/components/Select/Select.d.ts.map +1 -0
- package/dist/components/Select/index.d.ts +3 -0
- package/dist/components/Select/index.d.ts.map +1 -0
- package/dist/components/Tab/Tab.d.ts +22 -0
- package/dist/components/Tab/Tab.d.ts.map +1 -0
- package/dist/components/Tab/index.d.ts +3 -0
- package/dist/components/Tab/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.cjs.js +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.cjs13.js.map +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs14.js.map +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs15.js.map +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs16.js.map +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs25.js +2 -0
- package/dist/index.cjs25.js.map +1 -0
- package/dist/index.cjs26.js +2 -0
- package/dist/index.cjs26.js.map +1 -0
- package/dist/index.cjs27.js +2 -0
- package/dist/index.cjs27.js.map +1 -0
- package/dist/index.cjs28.js +2 -0
- package/dist/index.cjs28.js.map +1 -0
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs9.js.map +1 -1
- package/dist/index.esm.js +15 -11
- package/dist/index.esm.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 +58 -84
- package/dist/index.esm13.js.map +1 -1
- package/dist/index.esm14.js +83 -212
- package/dist/index.esm14.js.map +1 -1
- package/dist/index.esm15.js +35 -23
- package/dist/index.esm15.js.map +1 -1
- package/dist/index.esm16.js +219 -39
- package/dist/index.esm16.js.map +1 -1
- package/dist/index.esm17.js +22 -30
- package/dist/index.esm17.js.map +1 -1
- package/dist/index.esm18.js +102 -22
- package/dist/index.esm18.js.map +1 -1
- package/dist/index.esm20.js +60 -20
- package/dist/index.esm20.js.map +1 -1
- package/dist/index.esm21.js +22 -102
- package/dist/index.esm21.js.map +1 -1
- package/dist/index.esm22.js +12 -22
- package/dist/index.esm22.js.map +1 -1
- package/dist/index.esm23.js +20 -60
- package/dist/index.esm23.js.map +1 -1
- package/dist/index.esm25.js +26 -0
- package/dist/index.esm25.js.map +1 -0
- package/dist/index.esm26.js +26 -0
- package/dist/index.esm26.js.map +1 -0
- package/dist/index.esm27.js +40 -0
- package/dist/index.esm27.js.map +1 -0
- package/dist/index.esm28.js +42 -0
- package/dist/index.esm28.js.map +1 -0
- package/dist/index.esm5.js +1 -1
- package/dist/index.esm6.js +1 -1
- package/dist/index.esm7.js +1 -1
- package/dist/index.esm9.js +104 -44
- package/dist/index.esm9.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm21.js
CHANGED
|
@@ -1,106 +1,26 @@
|
|
|
1
|
-
const e = "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
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
|
|
52
12
|
};
|
|
53
13
|
export {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
|
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
|
|
105
25
|
};
|
|
106
26
|
//# sourceMappingURL=index.esm21.js.map
|
package/dist/index.esm21.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm21.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm21.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
package/dist/index.esm22.js
CHANGED
|
@@ -1,26 +1,16 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
secondary: l,
|
|
8
|
-
text: e,
|
|
9
|
-
disabled: c,
|
|
10
|
-
label: r,
|
|
11
|
-
icon: d
|
|
1
|
+
const t = "_tabList_dww9d_3", d = "_tab_dww9d_3", s = "_active_dww9d_40", _ = "_disabled_dww9d_40", a = "_icon_dww9d_65", c = {
|
|
2
|
+
tabList: t,
|
|
3
|
+
tab: d,
|
|
4
|
+
active: s,
|
|
5
|
+
disabled: _,
|
|
6
|
+
icon: a
|
|
12
7
|
};
|
|
13
8
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
d as
|
|
19
|
-
|
|
20
|
-
t as md,
|
|
21
|
-
n as outline,
|
|
22
|
-
l as secondary,
|
|
23
|
-
_ as sm,
|
|
24
|
-
e as text
|
|
9
|
+
s as active,
|
|
10
|
+
c as default,
|
|
11
|
+
_ as disabled,
|
|
12
|
+
a as icon,
|
|
13
|
+
d as tab,
|
|
14
|
+
t as tabList
|
|
25
15
|
};
|
|
26
16
|
//# sourceMappingURL=index.esm22.js.map
|
package/dist/index.esm22.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm22.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm22.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
package/dist/index.esm23.js
CHANGED
|
@@ -1,64 +1,24 @@
|
|
|
1
|
-
const o = "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
dropzoneBrowse: p,
|
|
12
|
-
dropzoneSubtitle: l,
|
|
13
|
-
fileList: d,
|
|
14
|
-
fileItem: c,
|
|
15
|
-
fileItemLg: z,
|
|
16
|
-
fileItemMd: k,
|
|
17
|
-
fileBadge: f,
|
|
18
|
-
fileContent: a,
|
|
19
|
-
fileHeader: I,
|
|
20
|
-
fileTexts: L,
|
|
21
|
-
fileName: m,
|
|
22
|
-
fileSize: w,
|
|
23
|
-
actions: T,
|
|
24
|
-
actionBtn: B,
|
|
25
|
-
progressRow: M,
|
|
26
|
-
progressTrack: b,
|
|
27
|
-
progressFill: C,
|
|
28
|
-
progressLabel: R,
|
|
29
|
-
spinner: S,
|
|
30
|
-
wrapper: u
|
|
1
|
+
const o = "_pagination_olot7_11", t = "_item_olot7_20", _ = "_xs_olot7_55", n = "_md_olot7_63", c = "_lg_olot7_71", s = "_active_olot7_81", i = "_inactive_olot7_88", l = "_dots_olot7_102", a = "_control_olot7_110", e = {
|
|
2
|
+
pagination: o,
|
|
3
|
+
item: t,
|
|
4
|
+
xs: _,
|
|
5
|
+
md: n,
|
|
6
|
+
lg: c,
|
|
7
|
+
active: s,
|
|
8
|
+
inactive: i,
|
|
9
|
+
dots: l,
|
|
10
|
+
control: a
|
|
31
11
|
};
|
|
32
12
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
e as dropzoneMd,
|
|
44
|
-
l as dropzoneSubtitle,
|
|
45
|
-
i as dropzoneTitle,
|
|
46
|
-
g as dropzoneTitleRow,
|
|
47
|
-
f as fileBadge,
|
|
48
|
-
a as fileContent,
|
|
49
|
-
I as fileHeader,
|
|
50
|
-
c as fileItem,
|
|
51
|
-
z as fileItemLg,
|
|
52
|
-
k as fileItemMd,
|
|
53
|
-
d as fileList,
|
|
54
|
-
m as fileName,
|
|
55
|
-
w as fileSize,
|
|
56
|
-
L as fileTexts,
|
|
57
|
-
C as progressFill,
|
|
58
|
-
R as progressLabel,
|
|
59
|
-
M as progressRow,
|
|
60
|
-
b as progressTrack,
|
|
61
|
-
S as spinner,
|
|
62
|
-
u as wrapper
|
|
13
|
+
s as active,
|
|
14
|
+
a as control,
|
|
15
|
+
e as default,
|
|
16
|
+
l as dots,
|
|
17
|
+
i as inactive,
|
|
18
|
+
t as item,
|
|
19
|
+
c as lg,
|
|
20
|
+
n as md,
|
|
21
|
+
o as pagination,
|
|
22
|
+
_ as xs
|
|
63
23
|
};
|
|
64
24
|
//# sourceMappingURL=index.esm23.js.map
|
package/dist/index.esm23.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm23.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm23.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const o = "_button_1hwro_8", _ = "_sm_1hwro_40", t = "_md_1hwro_48", n = "_outline_1hwro_58", s = "_fill_1hwro_74", l = "_secondary_1hwro_89", e = "_text_1hwro_104", c = "_disabled_1hwro_119", r = "_label_1hwro_130", d = "_icon_1hwro_136", i = {
|
|
2
|
+
button: o,
|
|
3
|
+
sm: _,
|
|
4
|
+
md: t,
|
|
5
|
+
outline: n,
|
|
6
|
+
fill: s,
|
|
7
|
+
secondary: l,
|
|
8
|
+
text: e,
|
|
9
|
+
disabled: c,
|
|
10
|
+
label: r,
|
|
11
|
+
icon: d
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
o as button,
|
|
15
|
+
i as default,
|
|
16
|
+
c as disabled,
|
|
17
|
+
s as fill,
|
|
18
|
+
d as icon,
|
|
19
|
+
r as label,
|
|
20
|
+
t as md,
|
|
21
|
+
n as outline,
|
|
22
|
+
l as secondary,
|
|
23
|
+
_ as sm,
|
|
24
|
+
e as text
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=index.esm25.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm25.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const e = "_wrapper_pivx7_3", s = "_label_pivx7_13", r = "_labelDisabled_pivx7_23", _ = "_field_pivx7_29", l = "_select_pivx7_36", o = "_placeholder_pivx7_75", a = "_error_pivx7_81", c = "_chevron_pivx7_93", p = "_message_pivx7_109", t = "_messageError_pivx7_123", i = {
|
|
2
|
+
wrapper: e,
|
|
3
|
+
label: s,
|
|
4
|
+
labelDisabled: r,
|
|
5
|
+
field: _,
|
|
6
|
+
select: l,
|
|
7
|
+
placeholder: o,
|
|
8
|
+
error: a,
|
|
9
|
+
chevron: c,
|
|
10
|
+
message: p,
|
|
11
|
+
messageError: t
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
c as chevron,
|
|
15
|
+
i as default,
|
|
16
|
+
a as error,
|
|
17
|
+
_ as field,
|
|
18
|
+
s as label,
|
|
19
|
+
r as labelDisabled,
|
|
20
|
+
p as message,
|
|
21
|
+
t as messageError,
|
|
22
|
+
o as placeholder,
|
|
23
|
+
l as select,
|
|
24
|
+
e as wrapper
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=index.esm26.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm26.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const e = "_wrapper_39ray_9", a = "_labelRow_39ray_19", _ = "_label_39ray_19", r = "_labelDisabled_39ray_37", o = "_labelIcon_39ray_41", s = "_field_39ray_53", n = "_hover_39ray_70", t = "_active_39ray_77", l = "_disabled_39ray_85", c = "_error_39ray_98", i = "_icon_39ray_110", b = "_input_39ray_122", y = "_iconAction_39ray_146", d = "_toggleBtn_39ray_153", g = "_searchBtn_39ray_172", p = "_message_39ray_202", h = "_messageError_39ray_217", m = {
|
|
2
|
+
wrapper: e,
|
|
3
|
+
labelRow: a,
|
|
4
|
+
label: _,
|
|
5
|
+
labelDisabled: r,
|
|
6
|
+
labelIcon: o,
|
|
7
|
+
field: s,
|
|
8
|
+
hover: n,
|
|
9
|
+
active: t,
|
|
10
|
+
disabled: l,
|
|
11
|
+
error: c,
|
|
12
|
+
icon: i,
|
|
13
|
+
input: b,
|
|
14
|
+
iconAction: y,
|
|
15
|
+
toggleBtn: d,
|
|
16
|
+
searchBtn: g,
|
|
17
|
+
message: p,
|
|
18
|
+
messageError: h
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
t as active,
|
|
22
|
+
m as default,
|
|
23
|
+
l as disabled,
|
|
24
|
+
c as error,
|
|
25
|
+
s as field,
|
|
26
|
+
n as hover,
|
|
27
|
+
i as icon,
|
|
28
|
+
y as iconAction,
|
|
29
|
+
b as input,
|
|
30
|
+
_ as label,
|
|
31
|
+
r as labelDisabled,
|
|
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
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=index.esm27.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm27.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const t = "_alert_p4b5i_21", e = "_typeDefault_p4b5i_36", n = "_typeInfo_p4b5i_37", _ = "_typeSuccess_p4b5i_38", i = "_typeWarning_p4b5i_39", o = "_typeError_p4b5i_40", s = "_iconSlot_p4b5i_44", c = "_textContent_p4b5i_54", l = "_title_p4b5i_63", p = "_titleDefault_p4b5i_72", r = "_titleInfo_p4b5i_73", a = "_titleSuccess_p4b5i_74", b = "_titleWarning_p4b5i_75", y = "_titleError_p4b5i_76", f = "_message_p4b5i_78", u = "_rightSlot_p4b5i_90", g = "_actionBtn_p4b5i_101", S = "_closeBtn_p4b5i_127", B = {
|
|
2
|
+
alert: t,
|
|
3
|
+
typeDefault: e,
|
|
4
|
+
typeInfo: n,
|
|
5
|
+
typeSuccess: _,
|
|
6
|
+
typeWarning: i,
|
|
7
|
+
typeError: o,
|
|
8
|
+
iconSlot: s,
|
|
9
|
+
textContent: c,
|
|
10
|
+
title: l,
|
|
11
|
+
titleDefault: p,
|
|
12
|
+
titleInfo: r,
|
|
13
|
+
titleSuccess: a,
|
|
14
|
+
titleWarning: b,
|
|
15
|
+
titleError: y,
|
|
16
|
+
message: f,
|
|
17
|
+
rightSlot: u,
|
|
18
|
+
actionBtn: g,
|
|
19
|
+
closeBtn: S
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
g as actionBtn,
|
|
23
|
+
t as alert,
|
|
24
|
+
S as closeBtn,
|
|
25
|
+
B as default,
|
|
26
|
+
s as iconSlot,
|
|
27
|
+
f as message,
|
|
28
|
+
u as rightSlot,
|
|
29
|
+
c as textContent,
|
|
30
|
+
l as title,
|
|
31
|
+
p as titleDefault,
|
|
32
|
+
y as titleError,
|
|
33
|
+
r as titleInfo,
|
|
34
|
+
a as titleSuccess,
|
|
35
|
+
b as titleWarning,
|
|
36
|
+
e as typeDefault,
|
|
37
|
+
o as typeError,
|
|
38
|
+
n as typeInfo,
|
|
39
|
+
_ as typeSuccess,
|
|
40
|
+
i as typeWarning
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=index.esm28.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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.esm9.js
CHANGED
|
@@ -1,69 +1,129 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useId as
|
|
3
|
-
import e from "./index.
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useId as N, useState as E } from "react";
|
|
3
|
+
import e from "./index.esm27.js";
|
|
4
|
+
function A() {
|
|
5
|
+
return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
6
|
+
/* @__PURE__ */ r("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__ */ r("polyline", { points: "22,6 12,13 2,6", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
8
|
+
] });
|
|
9
|
+
}
|
|
10
|
+
function v() {
|
|
11
|
+
return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
12
|
+
/* @__PURE__ */ r("circle", { cx: "11", cy: "11", r: "7", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round" }),
|
|
13
|
+
/* @__PURE__ */ r("path", { d: "M16.5 16.5L21 21", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round" })
|
|
14
|
+
] });
|
|
15
|
+
}
|
|
16
|
+
function D() {
|
|
17
|
+
return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
18
|
+
/* @__PURE__ */ r("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
19
|
+
/* @__PURE__ */ r("path", { d: "M16 2v4M8 2v4M3 10h18", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
20
|
+
] });
|
|
21
|
+
}
|
|
22
|
+
function y() {
|
|
23
|
+
return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
24
|
+
/* @__PURE__ */ r("rect", { x: "5", y: "11", width: "14", height: "11", rx: "2", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
25
|
+
/* @__PURE__ */ r("path", { d: "M8 11V7a4 4 0 0 1 8 0v4", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
26
|
+
] });
|
|
27
|
+
}
|
|
28
|
+
function S() {
|
|
29
|
+
return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
30
|
+
/* @__PURE__ */ r("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__ */ r("circle", { cx: "12", cy: "12", r: "3", stroke: "currentColor", strokeWidth: "1.75" })
|
|
32
|
+
] });
|
|
33
|
+
}
|
|
34
|
+
function z() {
|
|
35
|
+
return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
36
|
+
/* @__PURE__ */ r("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__ */ r("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__ */ r("path", { d: "M1 1l22 22", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round" })
|
|
39
|
+
] });
|
|
40
|
+
}
|
|
41
|
+
function R({
|
|
42
|
+
state: n = "Default",
|
|
43
|
+
inputType: o = "text",
|
|
44
|
+
label: l,
|
|
45
|
+
placeholder: f,
|
|
8
46
|
message: s,
|
|
9
|
-
iconLabel:
|
|
10
|
-
iconLeft:
|
|
11
|
-
iconRight:
|
|
12
|
-
value:
|
|
13
|
-
onChange:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
47
|
+
iconLabel: h,
|
|
48
|
+
iconLeft: w,
|
|
49
|
+
iconRight: p,
|
|
50
|
+
value: m,
|
|
51
|
+
onChange: L,
|
|
52
|
+
onSearch: g,
|
|
53
|
+
id: x,
|
|
54
|
+
className: b,
|
|
55
|
+
...C
|
|
17
56
|
}) {
|
|
18
|
-
const
|
|
57
|
+
const j = N(), i = x ?? j, [d, I] = E(!1), a = n === "Disabled", c = n === "Error", B = o === "password" ? d ? "text" : "password" : o === "search" ? "text" : o, u = w ?? (o === "email" ? /* @__PURE__ */ r(A, {}) : o === "password" ? /* @__PURE__ */ r(y, {}) : o === "search" ? /* @__PURE__ */ r(v, {}) : void 0), k = p ?? (o === "password" ? /* @__PURE__ */ r(
|
|
58
|
+
"button",
|
|
59
|
+
{
|
|
60
|
+
type: "button",
|
|
61
|
+
className: e.toggleBtn,
|
|
62
|
+
onClick: () => I((M) => !M),
|
|
63
|
+
"aria-label": d ? "Ocultar senha" : "Mostrar senha",
|
|
64
|
+
tabIndex: -1,
|
|
65
|
+
children: d ? /* @__PURE__ */ r(S, {}) : /* @__PURE__ */ r(z, {})
|
|
66
|
+
}
|
|
67
|
+
) : o === "date" ? /* @__PURE__ */ r(D, {}) : o === "search" ? /* @__PURE__ */ r(
|
|
68
|
+
"button",
|
|
69
|
+
{
|
|
70
|
+
type: "button",
|
|
71
|
+
className: e.searchBtn,
|
|
72
|
+
onClick: g,
|
|
73
|
+
"aria-label": "Buscar",
|
|
74
|
+
tabIndex: -1,
|
|
75
|
+
children: /* @__PURE__ */ r(v, {})
|
|
76
|
+
}
|
|
77
|
+
) : void 0), W = [
|
|
19
78
|
e.field,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
79
|
+
n === "Hover" ? e.hover : "",
|
|
80
|
+
n === "Active" ? e.active : "",
|
|
81
|
+
a ? e.disabled : "",
|
|
82
|
+
c ? e.error : "",
|
|
83
|
+
b
|
|
25
84
|
].filter(Boolean).join(" ");
|
|
26
|
-
return /* @__PURE__ */
|
|
27
|
-
|
|
28
|
-
/* @__PURE__ */
|
|
85
|
+
return /* @__PURE__ */ t("div", { className: e.wrapper, children: [
|
|
86
|
+
l && /* @__PURE__ */ t("div", { className: e.labelRow, children: [
|
|
87
|
+
/* @__PURE__ */ r(
|
|
29
88
|
"label",
|
|
30
89
|
{
|
|
31
|
-
htmlFor:
|
|
32
|
-
className: [e.label,
|
|
33
|
-
children:
|
|
90
|
+
htmlFor: i,
|
|
91
|
+
className: [e.label, a ? e.labelDisabled : ""].filter(Boolean).join(" "),
|
|
92
|
+
children: l
|
|
34
93
|
}
|
|
35
94
|
),
|
|
36
|
-
|
|
95
|
+
h && /* @__PURE__ */ r("span", { className: e.labelIcon, "aria-hidden": "true", children: h })
|
|
37
96
|
] }),
|
|
38
|
-
/* @__PURE__ */
|
|
39
|
-
|
|
40
|
-
/* @__PURE__ */
|
|
97
|
+
/* @__PURE__ */ t("div", { className: W, children: [
|
|
98
|
+
u && /* @__PURE__ */ r("span", { className: e.icon, "aria-hidden": "true", children: u }),
|
|
99
|
+
/* @__PURE__ */ r(
|
|
41
100
|
"input",
|
|
42
101
|
{
|
|
43
|
-
id:
|
|
102
|
+
id: i,
|
|
103
|
+
type: B,
|
|
44
104
|
className: e.input,
|
|
45
|
-
placeholder:
|
|
46
|
-
disabled:
|
|
47
|
-
value:
|
|
48
|
-
onChange:
|
|
49
|
-
"aria-invalid":
|
|
50
|
-
"aria-describedby": s ? `${
|
|
51
|
-
...
|
|
105
|
+
placeholder: f,
|
|
106
|
+
disabled: a,
|
|
107
|
+
value: m,
|
|
108
|
+
onChange: L,
|
|
109
|
+
"aria-invalid": c,
|
|
110
|
+
"aria-describedby": s ? `${i}-message` : void 0,
|
|
111
|
+
...C
|
|
52
112
|
}
|
|
53
113
|
),
|
|
54
|
-
|
|
114
|
+
k && /* @__PURE__ */ r("span", { className: [e.icon, o === "search" || o === "password" ? e.iconAction : ""].filter(Boolean).join(" "), children: k })
|
|
55
115
|
] }),
|
|
56
|
-
s && /* @__PURE__ */
|
|
116
|
+
s && /* @__PURE__ */ r(
|
|
57
117
|
"p",
|
|
58
118
|
{
|
|
59
|
-
id: `${
|
|
60
|
-
className: [e.message,
|
|
119
|
+
id: `${i}-message`,
|
|
120
|
+
className: [e.message, c ? e.messageError : ""].filter(Boolean).join(" "),
|
|
61
121
|
children: s
|
|
62
122
|
}
|
|
63
123
|
)
|
|
64
124
|
] });
|
|
65
125
|
}
|
|
66
126
|
export {
|
|
67
|
-
|
|
127
|
+
R as Input
|
|
68
128
|
};
|
|
69
129
|
//# sourceMappingURL=index.esm9.js.map
|