@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.
Files changed (55) hide show
  1. package/dist/assets/style.css +1 -1
  2. package/dist/components/Input/Input.d.ts.map +1 -1
  3. package/dist/index.cjs10.js +1 -1
  4. package/dist/index.cjs11.js +1 -1
  5. package/dist/index.cjs12.js +1 -1
  6. package/dist/index.cjs13.js +1 -1
  7. package/dist/index.cjs14.js +1 -1
  8. package/dist/index.cjs17.js +1 -1
  9. package/dist/index.cjs18.js +1 -1
  10. package/dist/index.cjs19.js +1 -1
  11. package/dist/index.cjs21.js +1 -1
  12. package/dist/index.cjs23.js +1 -1
  13. package/dist/index.cjs24.js +1 -1
  14. package/dist/index.cjs25.js +1 -1
  15. package/dist/index.cjs26.js +1 -1
  16. package/dist/index.cjs27.js +1 -1
  17. package/dist/index.cjs28.js +1 -1
  18. package/dist/index.cjs5.js +1 -1
  19. package/dist/index.cjs6.js +1 -1
  20. package/dist/index.cjs7.js +1 -1
  21. package/dist/index.cjs8.js +1 -1
  22. package/dist/index.cjs9.js +1 -1
  23. package/dist/index.cjs9.js.map +1 -1
  24. package/dist/index.esm10.js +1 -1
  25. package/dist/index.esm11.js +1 -1
  26. package/dist/index.esm12.js +1 -1
  27. package/dist/index.esm13.js +1 -1
  28. package/dist/index.esm14.js +1 -1
  29. package/dist/index.esm17.js +38 -22
  30. package/dist/index.esm17.js.map +1 -1
  31. package/dist/index.esm18.js +48 -102
  32. package/dist/index.esm18.js.map +1 -1
  33. package/dist/index.esm19.js +22 -60
  34. package/dist/index.esm19.js.map +1 -1
  35. package/dist/index.esm21.js +20 -22
  36. package/dist/index.esm21.js.map +1 -1
  37. package/dist/index.esm23.js +22 -20
  38. package/dist/index.esm23.js.map +1 -1
  39. package/dist/index.esm24.js +22 -48
  40. package/dist/index.esm24.js.map +1 -1
  41. package/dist/index.esm25.js +36 -22
  42. package/dist/index.esm25.js.map +1 -1
  43. package/dist/index.esm26.js +102 -22
  44. package/dist/index.esm26.js.map +1 -1
  45. package/dist/index.esm27.js +22 -36
  46. package/dist/index.esm27.js.map +1 -1
  47. package/dist/index.esm28.js +60 -38
  48. package/dist/index.esm28.js.map +1 -1
  49. package/dist/index.esm5.js +1 -1
  50. package/dist/index.esm6.js +1 -1
  51. package/dist/index.esm7.js +1 -1
  52. package/dist/index.esm8.js +1 -1
  53. package/dist/index.esm9.js +60 -60
  54. package/dist/index.esm9.js.map +1 -1
  55. package/package.json +1 -1
@@ -1,26 +1,40 @@
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
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
- 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
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
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm25.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm25.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
@@ -1,26 +1,106 @@
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 = "_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
- 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
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
@@ -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,40 +1,26 @@
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
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
- 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
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
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm27.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm27.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
@@ -1,42 +1,64 @@
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
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
- 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
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
@@ -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 { jsxs as i, jsx as r } from "react/jsx-runtime";
2
- import t from "./index.esm28.js";
2
+ import t from "./index.esm17.js";
3
3
  const p = {
4
4
  Default: "#9490AC",
5
5
  Info: "#2472BA",
@@ -1,5 +1,5 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
- import e from "./index.esm21.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 p, jsx as n } from "react/jsx-runtime";
2
- import s from "./index.esm25.js";
2
+ import s from "./index.esm24.js";
3
3
  function d({
4
4
  variant: t = "outline",
5
5
  size: e = "sm",
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
- import e from "./index.esm19.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,123 +1,123 @@
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() {
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__ */ 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" })
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 v() {
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__ */ 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" })
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 D() {
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__ */ 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" })
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 y() {
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__ */ 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" })
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__ */ 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" })
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__ */ 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" })
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: f,
45
+ placeholder: v,
46
46
  message: s,
47
47
  iconLabel: h,
48
- iconLeft: w,
48
+ iconLeft: f,
49
49
  iconRight: p,
50
- value: m,
51
- onChange: L,
52
- onSearch: g,
53
- id: x,
54
- className: b,
55
- ...C
50
+ value: w,
51
+ onChange: m,
52
+ onSearch: L,
53
+ id: g,
54
+ className: x,
55
+ ...b
56
56
  }) {
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(
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: e.toggleBtn,
62
- onClick: () => I((M) => !M),
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__ */ r(S, {}) : /* @__PURE__ */ r(z, {})
65
+ children: d ? /* @__PURE__ */ e(S, {}) : /* @__PURE__ */ e(z, {})
66
66
  }
67
- ) : o === "date" ? /* @__PURE__ */ r(D, {}) : o === "search" ? /* @__PURE__ */ r(
67
+ ) : o === "date" ? /* @__PURE__ */ e(A, {}) : o === "search" ? /* @__PURE__ */ e(
68
68
  "button",
69
69
  {
70
70
  type: "button",
71
- className: e.searchBtn,
72
- onClick: g,
71
+ className: r.searchBtn,
72
+ onClick: L,
73
73
  "aria-label": "Buscar",
74
74
  tabIndex: -1,
75
- children: /* @__PURE__ */ r(v, {})
75
+ children: /* @__PURE__ */ e(y, {})
76
76
  }
77
- ) : void 0), W = [
78
- e.field,
79
- n === "Hover" ? e.hover : "",
80
- n === "Active" ? e.active : "",
81
- a ? e.disabled : "",
82
- c ? e.error : "",
83
- b
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: e.wrapper, children: [
86
- l && /* @__PURE__ */ t("div", { className: e.labelRow, children: [
87
- /* @__PURE__ */ r(
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: [e.label, a ? e.labelDisabled : ""].filter(Boolean).join(" "),
91
+ className: [r.label, a ? r.labelDisabled : ""].filter(Boolean).join(" "),
92
92
  children: l
93
93
  }
94
94
  ),
95
- h && /* @__PURE__ */ r("span", { className: e.labelIcon, "aria-hidden": "true", children: h })
95
+ h && /* @__PURE__ */ e("span", { className: r.labelIcon, "aria-hidden": "true", children: h })
96
96
  ] }),
97
- /* @__PURE__ */ t("div", { className: W, children: [
98
- u && /* @__PURE__ */ r("span", { className: e.icon, "aria-hidden": "true", children: u }),
99
- /* @__PURE__ */ r(
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: B,
104
- className: e.input,
105
- placeholder: f,
103
+ type: I,
104
+ className: r.input,
105
+ placeholder: v,
106
106
  disabled: a,
107
- value: m,
108
- onChange: L,
107
+ value: w,
108
+ onChange: m,
109
109
  "aria-invalid": c,
110
110
  "aria-describedby": s ? `${i}-message` : void 0,
111
- ...C
111
+ ...b
112
112
  }
113
113
  ),
114
- k && /* @__PURE__ */ r("span", { className: [e.icon, o === "search" || o === "password" ? e.iconAction : ""].filter(Boolean).join(" "), children: k })
114
+ k && /* @__PURE__ */ e("span", { className: [r.icon, o === "search" || o === "password" ? r.iconAction : ""].filter(Boolean).join(" "), children: k })
115
115
  ] }),
116
- s && /* @__PURE__ */ r(
116
+ s && /* @__PURE__ */ e(
117
117
  "p",
118
118
  {
119
119
  id: `${i}-message`,
120
- className: [e.message, c ? e.messageError : ""].filter(Boolean).join(" "),
120
+ className: [r.message, c ? r.messageError : ""].filter(Boolean).join(" "),
121
121
  children: s
122
122
  }
123
123
  )