@treeal/ds 0.1.2 → 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.
Files changed (50) hide show
  1. package/dist/assets/style.css +1 -1
  2. package/dist/components/Input/Input.d.ts +13 -2
  3. package/dist/components/Input/Input.d.ts.map +1 -1
  4. package/dist/index.cjs10.js +1 -1
  5. package/dist/index.cjs11.js +1 -1
  6. package/dist/index.cjs13.js +1 -1
  7. package/dist/index.cjs14.js +1 -1
  8. package/dist/index.cjs15.js +1 -1
  9. package/dist/index.cjs16.js +1 -1
  10. package/dist/index.cjs18.js +1 -1
  11. package/dist/index.cjs19.js +1 -1
  12. package/dist/index.cjs20.js +1 -1
  13. package/dist/index.cjs22.js +1 -1
  14. package/dist/index.cjs23.js +1 -1
  15. package/dist/index.cjs25.js +1 -1
  16. package/dist/index.cjs26.js +1 -1
  17. package/dist/index.cjs27.js +1 -1
  18. package/dist/index.cjs28.js +1 -1
  19. package/dist/index.cjs6.js +1 -1
  20. package/dist/index.cjs8.js +1 -1
  21. package/dist/index.cjs9.js +1 -1
  22. package/dist/index.cjs9.js.map +1 -1
  23. package/dist/index.esm10.js +1 -1
  24. package/dist/index.esm11.js +1 -1
  25. package/dist/index.esm13.js +1 -1
  26. package/dist/index.esm14.js +1 -1
  27. package/dist/index.esm15.js +1 -1
  28. package/dist/index.esm16.js +1 -1
  29. package/dist/index.esm18.js +47 -21
  30. package/dist/index.esm18.js.map +1 -1
  31. package/dist/index.esm19.js +22 -102
  32. package/dist/index.esm19.js.map +1 -1
  33. package/dist/index.esm20.js +60 -22
  34. package/dist/index.esm20.js.map +1 -1
  35. package/dist/index.esm22.js +12 -60
  36. package/dist/index.esm22.js.map +1 -1
  37. package/dist/index.esm23.js +22 -60
  38. package/dist/index.esm23.js.map +1 -1
  39. package/dist/index.esm25.js +36 -48
  40. package/dist/index.esm25.js.map +1 -1
  41. package/dist/index.esm26.js +102 -30
  42. package/dist/index.esm26.js.map +1 -1
  43. package/dist/index.esm27.js +22 -22
  44. package/dist/index.esm28.js +60 -12
  45. package/dist/index.esm28.js.map +1 -1
  46. package/dist/index.esm6.js +1 -1
  47. package/dist/index.esm8.js +1 -1
  48. package/dist/index.esm9.js +106 -46
  49. package/dist/index.esm9.js.map +1 -1
  50. package/package.json +1 -1
@@ -1,34 +1,106 @@
1
- const e = "_wrapper_1iytr_9", r = "_labelRow_1iytr_19", _ = "_label_1iytr_19", t = "_labelDisabled_1iytr_37", s = "_labelIcon_1iytr_41", l = "_field_1iytr_53", o = "_hover_1iytr_70", a = "_active_1iytr_77", i = "_disabled_1iytr_85", c = "_error_1iytr_98", n = "_icon_1iytr_110", b = "_input_1iytr_122", y = "_message_1iytr_155", d = "_messageError_1iytr_170", p = {
2
- wrapper: e,
3
- labelRow: r,
4
- label: _,
5
- labelDisabled: t,
6
- labelIcon: s,
7
- field: l,
8
- hover: o,
9
- active: a,
10
- disabled: i,
11
- error: c,
12
- icon: n,
13
- input: b,
14
- message: y,
15
- messageError: d
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
16
52
  };
17
53
  export {
18
- a as active,
19
- p as default,
20
- i as disabled,
21
- c as error,
22
- l as field,
23
- o as hover,
24
- n as icon,
25
- b as input,
26
- _ as label,
27
- t as labelDisabled,
28
- s as labelIcon,
29
- r as labelRow,
30
- y as message,
31
- d as messageError,
32
- e as wrapper
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
33
105
  };
34
106
  //# sourceMappingURL=index.esm26.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm26.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm26.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,26 +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
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
12
12
  };
13
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
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
25
25
  };
26
26
  //# sourceMappingURL=index.esm27.js.map
@@ -1,16 +1,64 @@
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
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
7
31
  };
8
32
  export {
9
- s as active,
10
- c as default,
11
- _ as disabled,
12
- a as icon,
13
- d as tab,
14
- t as tabList
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
15
63
  };
16
64
  //# sourceMappingURL=index.esm28.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm28.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
1
+ {"version":3,"file":"index.esm28.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
- import e from "./index.esm20.js";
2
+ import e from "./index.esm27.js";
3
3
  function u({
4
4
  type: n = "Check",
5
5
  status: k = "Default",
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
- import e from "./index.esm22.js";
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" }),
@@ -1,69 +1,129 @@
1
- import { jsxs as n, jsx as a } from "react/jsx-runtime";
2
- import { useId as D } from "react";
3
- import e from "./index.esm26.js";
4
- function E({
5
- state: i = "Default",
6
- label: o,
7
- placeholder: p,
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
+ return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
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
+ ] });
9
+ }
10
+ function y() {
11
+ return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
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
+ ] });
15
+ }
16
+ function A() {
17
+ return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
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
+ ] });
21
+ }
22
+ function D() {
23
+ return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
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
+ ] });
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__ */ 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
+ ] });
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__ */ 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
+ ] });
40
+ }
41
+ function R({
42
+ state: n = "Default",
43
+ inputType: o = "text",
44
+ label: l,
45
+ placeholder: v,
8
46
  message: s,
9
- iconLabel: c,
10
- iconLeft: m,
11
- iconRight: t,
12
- value: h,
13
- onChange: b,
14
- id: u,
15
- className: f,
16
- ...v
47
+ iconLabel: h,
48
+ iconLeft: f,
49
+ iconRight: p,
50
+ value: w,
51
+ onChange: m,
52
+ onSearch: L,
53
+ id: g,
54
+ className: x,
55
+ ...b
17
56
  }) {
18
- const N = D(), r = u ?? N, l = i === "Disabled", d = i === "Error", j = [
19
- e.field,
20
- i === "Hover" ? e.hover : "",
21
- i === "Active" ? e.active : "",
22
- l ? e.disabled : "",
23
- d ? e.error : "",
24
- f
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
+ "button",
59
+ {
60
+ type: "button",
61
+ className: r.toggleBtn,
62
+ onClick: () => j((W) => !W),
63
+ "aria-label": d ? "Ocultar senha" : "Mostrar senha",
64
+ tabIndex: -1,
65
+ children: d ? /* @__PURE__ */ e(S, {}) : /* @__PURE__ */ e(z, {})
66
+ }
67
+ ) : o === "date" ? /* @__PURE__ */ e(A, {}) : o === "search" ? /* @__PURE__ */ e(
68
+ "button",
69
+ {
70
+ type: "button",
71
+ className: r.searchBtn,
72
+ onClick: L,
73
+ "aria-label": "Buscar",
74
+ tabIndex: -1,
75
+ children: /* @__PURE__ */ e(y, {})
76
+ }
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
25
84
  ].filter(Boolean).join(" ");
26
- return /* @__PURE__ */ n("div", { className: e.wrapper, children: [
27
- o && /* @__PURE__ */ n("div", { className: e.labelRow, children: [
28
- /* @__PURE__ */ a(
85
+ return /* @__PURE__ */ t("div", { className: r.wrapper, children: [
86
+ l && /* @__PURE__ */ t("div", { className: r.labelRow, children: [
87
+ /* @__PURE__ */ e(
29
88
  "label",
30
89
  {
31
- htmlFor: r,
32
- className: [e.label, l ? e.labelDisabled : ""].filter(Boolean).join(" "),
33
- children: o
90
+ htmlFor: i,
91
+ className: [r.label, a ? r.labelDisabled : ""].filter(Boolean).join(" "),
92
+ children: l
34
93
  }
35
94
  ),
36
- c && /* @__PURE__ */ a("span", { className: e.labelIcon, "aria-hidden": "true", children: c })
95
+ h && /* @__PURE__ */ e("span", { className: r.labelIcon, "aria-hidden": "true", children: h })
37
96
  ] }),
38
- /* @__PURE__ */ n("div", { className: j, children: [
39
- m && /* @__PURE__ */ a("span", { className: e.icon, "aria-hidden": "true", children: m }),
40
- /* @__PURE__ */ a(
97
+ /* @__PURE__ */ t("div", { className: B, children: [
98
+ u && /* @__PURE__ */ e("span", { className: r.icon, "aria-hidden": "true", children: u }),
99
+ /* @__PURE__ */ e(
41
100
  "input",
42
101
  {
43
- id: r,
44
- className: e.input,
45
- placeholder: p,
46
- disabled: l,
47
- value: h,
48
- onChange: b,
49
- "aria-invalid": d,
50
- "aria-describedby": s ? `${r}-message` : void 0,
51
- ...v
102
+ id: i,
103
+ type: I,
104
+ className: r.input,
105
+ placeholder: v,
106
+ disabled: a,
107
+ value: w,
108
+ onChange: m,
109
+ "aria-invalid": c,
110
+ "aria-describedby": s ? `${i}-message` : void 0,
111
+ ...b
52
112
  }
53
113
  ),
54
- t && /* @__PURE__ */ a("span", { className: e.icon, "aria-hidden": "true", children: t })
114
+ k && /* @__PURE__ */ e("span", { className: [r.icon, o === "search" || o === "password" ? r.iconAction : ""].filter(Boolean).join(" "), children: k })
55
115
  ] }),
56
- s && /* @__PURE__ */ a(
116
+ s && /* @__PURE__ */ e(
57
117
  "p",
58
118
  {
59
- id: `${r}-message`,
60
- className: [e.message, d ? e.messageError : ""].filter(Boolean).join(" "),
119
+ id: `${i}-message`,
120
+ className: [r.message, c ? r.messageError : ""].filter(Boolean).join(" "),
61
121
  children: s
62
122
  }
63
123
  )
64
124
  ] });
65
125
  }
66
126
  export {
67
- E as Input
127
+ R as Input
68
128
  };
69
129
  //# sourceMappingURL=index.esm9.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm9.js","sources":["../components/Input/Input.tsx"],"sourcesContent":["import React, { useId } from 'react';\nimport styles from './Input.module.css';\n\nexport type InputState = 'Default' | 'Hover' | 'Active' | 'Disabled' | 'Error';\n\nexport interface InputProps\n extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'> {\n /** Visual/interaction state. Defaults to 'Default'. */\n state?: InputState;\n /** Label text rendered above the field. */\n label?: string;\n placeholder?: string;\n /** Helper or error message rendered below the field. */\n message?: string;\n /** Info icon rendered beside the label. */\n iconLabel?: React.ReactNode;\n /** Icon rendered inside the field, left side (24×24 slot). */\n iconLeft?: React.ReactNode;\n /** Icon rendered inside the field, right side (24×24 slot). */\n iconRight?: React.ReactNode;\n value?: string;\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;\n}\n\nexport function Input({\n state = 'Default',\n label,\n placeholder,\n message,\n iconLabel,\n iconLeft,\n iconRight,\n value,\n onChange,\n id: idProp,\n className,\n ...props\n}: InputProps) {\n const generatedId = useId();\n const id = idProp ?? generatedId;\n\n const isDisabled = state === 'Disabled';\n const isError = state === 'Error';\n\n const fieldClass = [\n styles.field,\n state === 'Hover' ? styles.hover : '',\n state === 'Active' ? styles.active : '',\n isDisabled ? styles.disabled : '',\n isError ? styles.error : '',\n className,\n ]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={styles.wrapper}>\n {label && (\n <div className={styles.labelRow}>\n <label\n htmlFor={id}\n className={[styles.label, isDisabled ? styles.labelDisabled : '']\n .filter(Boolean)\n .join(' ')}\n >\n {label}\n </label>\n {iconLabel && (\n <span className={styles.labelIcon} aria-hidden=\"true\">\n {iconLabel}\n </span>\n )}\n </div>\n )}\n\n <div className={fieldClass}>\n {iconLeft && (\n <span className={styles.icon} aria-hidden=\"true\">\n {iconLeft}\n </span>\n )}\n <input\n id={id}\n className={styles.input}\n placeholder={placeholder}\n disabled={isDisabled}\n value={value}\n onChange={onChange}\n aria-invalid={isError}\n aria-describedby={message ? `${id}-message` : undefined}\n {...props}\n />\n {iconRight && (\n <span className={styles.icon} aria-hidden=\"true\">\n {iconRight}\n </span>\n )}\n </div>\n\n {message && (\n <p\n id={`${id}-message`}\n className={[styles.message, isError ? styles.messageError : '']\n .filter(Boolean)\n .join(' ')}\n >\n {message}\n </p>\n )}\n </div>\n );\n}\n"],"names":["Input","state","label","placeholder","message","iconLabel","iconLeft","iconRight","value","onChange","idProp","className","props","generatedId","useId","id","isDisabled","isError","fieldClass","styles","jsxs","jsx"],"mappings":";;;AAwBO,SAASA,EAAM;AAAA,EACpB,OAAAC,IAAQ;AAAA,EACR,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,IAAIC;AAAA,EACJ,WAAAC;AAAA,EACA,GAAGC;AACL,GAAe;AACb,QAAMC,IAAcC,EAAA,GACdC,IAAKL,KAAUG,GAEfG,IAAaf,MAAU,YACvBgB,IAAUhB,MAAU,SAEpBiB,IAAa;AAAA,IACjBC,EAAO;AAAA,IACPlB,MAAU,UAAUkB,EAAO,QAAQ;AAAA,IACnClB,MAAU,WAAWkB,EAAO,SAAS;AAAA,IACrCH,IAAaG,EAAO,WAAW;AAAA,IAC/BF,IAAUE,EAAO,QAAQ;AAAA,IACzBR;AAAA,EAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAEX,SACE,gBAAAS,EAAC,OAAA,EAAI,WAAWD,EAAO,SACpB,UAAA;AAAA,IAAAjB,KACC,gBAAAkB,EAAC,OAAA,EAAI,WAAWD,EAAO,UACrB,UAAA;AAAA,MAAA,gBAAAE;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,SAASN;AAAA,UACT,WAAW,CAACI,EAAO,OAAOH,IAAaG,EAAO,gBAAgB,EAAE,EAC7D,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,UAEV,UAAAjB;AAAA,QAAA;AAAA,MAAA;AAAA,MAEFG,uBACE,QAAA,EAAK,WAAWc,EAAO,WAAW,eAAY,QAC5C,UAAAd,EAAA,CACH;AAAA,IAAA,GAEJ;AAAA,IAGF,gBAAAe,EAAC,OAAA,EAAI,WAAWF,GACb,UAAA;AAAA,MAAAZ,uBACE,QAAA,EAAK,WAAWa,EAAO,MAAM,eAAY,QACvC,UAAAb,EAAA,CACH;AAAA,MAEF,gBAAAe;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,IAAAN;AAAA,UACA,WAAWI,EAAO;AAAA,UAClB,aAAAhB;AAAA,UACA,UAAUa;AAAA,UACV,OAAAR;AAAA,UACA,UAAAC;AAAA,UACA,gBAAcQ;AAAA,UACd,oBAAkBb,IAAU,GAAGW,CAAE,aAAa;AAAA,UAC7C,GAAGH;AAAA,QAAA;AAAA,MAAA;AAAA,MAELL,uBACE,QAAA,EAAK,WAAWY,EAAO,MAAM,eAAY,QACvC,UAAAZ,EAAA,CACH;AAAA,IAAA,GAEJ;AAAA,IAECH,KACC,gBAAAiB;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,IAAI,GAAGN,CAAE;AAAA,QACT,WAAW,CAACI,EAAO,SAASF,IAAUE,EAAO,eAAe,EAAE,EAC3D,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,QAEV,UAAAf;AAAA,MAAA;AAAA,IAAA;AAAA,EACH,GAEJ;AAEJ;"}
1
+ {"version":3,"file":"index.esm9.js","sources":["../components/Input/Input.tsx"],"sourcesContent":["import React, { useId, useState } from 'react';\nimport styles from './Input.module.css';\n\nexport type InputState = 'Default' | 'Hover' | 'Active' | 'Disabled' | 'Error';\nexport type InputType = 'text' | 'email' | 'password' | 'search' | 'date';\n\n// ─── Built-in SVG icons ───────────────────────────────────────────────────────\n\nfunction IconEmail() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <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\"/>\n <polyline points=\"22,6 12,13 2,6\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nfunction IconSearch() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <circle cx=\"11\" cy=\"11\" r=\"7\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\"/>\n <path d=\"M16.5 16.5L21 21\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\"/>\n </svg>\n );\n}\n\nfunction IconCalendar() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <rect x=\"3\" y=\"4\" width=\"18\" height=\"18\" rx=\"2\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M16 2v4M8 2v4M3 10h18\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nfunction IconLock() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <rect x=\"5\" y=\"11\" width=\"14\" height=\"11\" rx=\"2\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M8 11V7a4 4 0 0 1 8 0v4\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n );\n}\n\nfunction IconEye() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <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\"/>\n <circle cx=\"12\" cy=\"12\" r=\"3\" stroke=\"currentColor\" strokeWidth=\"1.75\"/>\n </svg>\n );\n}\n\nfunction IconEyeOff() {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <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\"/>\n <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\"/>\n <path d=\"M1 1l22 22\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\"/>\n </svg>\n );\n}\n\n// ─── Types ────────────────────────────────────────────────────────────────────\n\nexport interface InputProps\n extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'type'> {\n /** Visual/interaction state. Defaults to 'Default'. */\n state?: InputState;\n /**\n * Semantic input type. Sets the correct HTML type and auto-adds icons.\n * - email → envelope icon left\n * - password → lock icon left + show/hide toggle right\n * - search → search icon left + green search button right\n * - date → calendar icon right\n */\n inputType?: InputType;\n /** Label text rendered above the field. */\n label?: string;\n placeholder?: string;\n /** Helper or error message rendered below the field. */\n message?: string;\n /** Info icon rendered beside the label. */\n iconLabel?: React.ReactNode;\n /** Icon rendered inside the field, left side (24×24 slot). */\n iconLeft?: React.ReactNode;\n /** Icon rendered inside the field, right side (24×24 slot). */\n iconRight?: React.ReactNode;\n value?: string;\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;\n /** Called when search button is clicked (only for inputType=\"search\") */\n onSearch?: () => void;\n}\n\n// ─── Component ────────────────────────────────────────────────────────────────\n\nexport function Input({\n state = 'Default',\n inputType = 'text',\n label,\n placeholder,\n message,\n iconLabel,\n iconLeft,\n iconRight,\n value,\n onChange,\n onSearch,\n id: idProp,\n className,\n ...props\n}: InputProps) {\n const generatedId = useId();\n const id = idProp ?? generatedId;\n const [showPassword, setShowPassword] = useState(false);\n\n const isDisabled = state === 'Disabled';\n const isError = state === 'Error';\n\n // ── Resolve HTML type ──────────────────────────────────────────────────────\n const htmlType = inputType === 'password'\n ? (showPassword ? 'text' : 'password')\n : inputType === 'search'\n ? 'text'\n : inputType;\n\n // ── Resolve built-in icons ─────────────────────────────────────────────────\n const resolvedIconLeft: React.ReactNode =\n iconLeft ??\n (inputType === 'email' ? <IconEmail /> :\n inputType === 'password' ? <IconLock /> :\n undefined);\n\n const resolvedIconRight: React.ReactNode =\n iconRight ??\n (inputType === 'password'\n ? (\n <button\n type=\"button\"\n className={styles.toggleBtn}\n onClick={() => setShowPassword((v) => !v)}\n aria-label={showPassword ? 'Ocultar senha' : 'Mostrar senha'}\n tabIndex={-1}\n >\n {showPassword ? <IconEye /> : <IconEyeOff />}\n </button>\n )\n : inputType === 'date'\n ? <IconCalendar />\n : inputType === 'search'\n ? (\n <button\n type=\"button\"\n className={styles.searchBtn}\n onClick={onSearch}\n aria-label=\"Buscar\"\n tabIndex={-1}\n >\n <IconSearch />\n </button>\n )\n : undefined);\n\n const fieldClass = [\n styles.field,\n state === 'Hover' ? styles.hover : '',\n state === 'Active' ? styles.active : '',\n isDisabled ? styles.disabled : '',\n isError ? styles.error : '',\n className,\n ]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={styles.wrapper}>\n {label && (\n <div className={styles.labelRow}>\n <label\n htmlFor={id}\n className={[styles.label, isDisabled ? styles.labelDisabled : '']\n .filter(Boolean)\n .join(' ')}\n >\n {label}\n </label>\n {iconLabel && (\n <span className={styles.labelIcon} aria-hidden=\"true\">\n {iconLabel}\n </span>\n )}\n </div>\n )}\n\n <div className={fieldClass}>\n {resolvedIconLeft && (\n <span className={styles.icon} aria-hidden=\"true\">\n {resolvedIconLeft}\n </span>\n )}\n <input\n id={id}\n type={htmlType}\n className={styles.input}\n placeholder={placeholder}\n disabled={isDisabled}\n value={value}\n onChange={onChange}\n aria-invalid={isError}\n aria-describedby={message ? `${id}-message` : undefined}\n {...props}\n />\n {resolvedIconRight && (\n <span className={[styles.icon, inputType === 'search' || inputType === 'password' ? styles.iconAction : ''].filter(Boolean).join(' ')}>\n {resolvedIconRight}\n </span>\n )}\n </div>\n\n {message && (\n <p\n id={`${id}-message`}\n className={[styles.message, isError ? styles.messageError : '']\n .filter(Boolean)\n .join(' ')}\n >\n {message}\n </p>\n )}\n </div>\n );\n}\n"],"names":["IconEmail","jsxs","jsx","IconSearch","IconCalendar","IconLock","IconEye","IconEyeOff","Input","state","inputType","label","placeholder","message","iconLabel","iconLeft","iconRight","value","onChange","onSearch","idProp","className","props","generatedId","useId","id","showPassword","setShowPassword","useState","isDisabled","isError","htmlType","resolvedIconLeft","resolvedIconRight","styles","v","fieldClass"],"mappings":";;;AAQA,SAASA,IAAY;AACnB,SACE,gBAAAC,EAAC,OAAA,EAAI,OAAM,MAAK,QAAO,MAAK,SAAQ,aAAY,MAAK,QAAO,eAAY,QACtE,UAAA;AAAA,IAAA,gBAAAC,EAAC,QAAA,EAAK,GAAE,+EAA8E,QAAO,gBAAe,aAAY,QAAO,eAAc,SAAQ,gBAAe,QAAA,CAAO;AAAA,IAC3K,gBAAAA,EAAC,YAAA,EAAS,QAAO,kBAAiB,QAAO,gBAAe,aAAY,QAAO,eAAc,SAAQ,gBAAe,QAAA,CAAO;AAAA,EAAA,GACzH;AAEJ;AAEA,SAASC,IAAa;AACpB,SACE,gBAAAF,EAAC,OAAA,EAAI,OAAM,MAAK,QAAO,MAAK,SAAQ,aAAY,MAAK,QAAO,eAAY,QACtE,UAAA;AAAA,IAAA,gBAAAC,EAAC,UAAA,EAAO,IAAG,MAAK,IAAG,MAAK,GAAE,KAAI,QAAO,gBAAe,aAAY,QAAO,eAAc,SAAO;AAAA,IAC5F,gBA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AAJ,uBACE,QAAA,EAAK,WAAWE,EAAO,MAAM,eAAY,QACvC,UAAAF,EAAA,CACH;AAAA,MAEF,gBAAA9B;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,IAAAuB;AAAA,UACA,MAAMM;AAAA,UACN,WAAWG,EAAO;AAAA,UAClB,aAAAtB;AAAA,UACA,UAAUiB;AAAA,UACV,OAAAZ;AAAA,UACA,UAAAC;AAAA,UACA,gBAAcY;AAAA,UACd,oBAAkBjB,IAAU,GAAGY,CAAE,aAAa;AAAA,UAC7C,GAAGH;AAAA,QAAA;AAAA,MAAA;AAAA,MAELW,uBACE,QAAA,EAAK,WAAW,CAACC,EAAO,MAAMxB,MAAc,YAAYA,MAAc,aAAawB,EAAO,aAAa,EAAE,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,GACjI,UAAAD,EAAA,CACH;AAAA,IAAA,GAEJ;AAAA,IAECpB,KACC,gBAAAX;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,IAAI,GAAGuB,CAAE;AAAA,QACT,WAAW,CAACS,EAAO,SAASJ,IAAUI,EAAO,eAAe,EAAE,EAC3D,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,QAEV,UAAArB;AAAA,MAAA;AAAA,IAAA;AAAA,EACH,GAEJ;AAEJ;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeal/ds",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Treeal Design System — React component library with CSS Modules",
5
5
  "license": "MIT",
6
6