@treeal/ds 0.2.0 → 0.2.2

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 (87) hide show
  1. package/dist/assets/style.css +1 -1
  2. package/dist/components/Icon/Icon.d.ts +20 -0
  3. package/dist/components/Icon/Icon.d.ts.map +1 -0
  4. package/dist/components/Icon/index.d.ts +3 -0
  5. package/dist/components/Icon/index.d.ts.map +1 -0
  6. package/dist/components/Input/Input.d.ts.map +1 -1
  7. package/dist/components/index.d.ts +2 -0
  8. package/dist/components/index.d.ts.map +1 -1
  9. package/dist/index.cjs.js +1 -1
  10. package/dist/index.cjs10.js +1 -1
  11. package/dist/index.cjs10.js.map +1 -1
  12. package/dist/index.cjs11.js +1 -1
  13. package/dist/index.cjs11.js.map +1 -1
  14. package/dist/index.cjs12.js +1 -1
  15. package/dist/index.cjs12.js.map +1 -1
  16. package/dist/index.cjs13.js +1 -1
  17. package/dist/index.cjs13.js.map +1 -1
  18. package/dist/index.cjs14.js +1 -1
  19. package/dist/index.cjs14.js.map +1 -1
  20. package/dist/index.cjs15.js +1 -1
  21. package/dist/index.cjs15.js.map +1 -1
  22. package/dist/index.cjs16.js +1 -1
  23. package/dist/index.cjs16.js.map +1 -1
  24. package/dist/index.cjs17.js +1 -1
  25. package/dist/index.cjs17.js.map +1 -1
  26. package/dist/index.cjs18.js +1 -1
  27. package/dist/index.cjs19.js +1 -1
  28. package/dist/index.cjs20.js +1 -1
  29. package/dist/index.cjs23.js +1 -1
  30. package/dist/index.cjs24.js +1 -1
  31. package/dist/index.cjs25.js +1 -1
  32. package/dist/index.cjs26.js +1 -1
  33. package/dist/index.cjs27.js +1 -1
  34. package/dist/index.cjs28.js +1 -1
  35. package/dist/index.cjs29.js +2 -0
  36. package/dist/index.cjs29.js.map +1 -0
  37. package/dist/index.cjs5.js +1 -1
  38. package/dist/index.cjs6.js +1 -1
  39. package/dist/index.cjs7.js +1 -1
  40. package/dist/index.cjs8.js +1 -1
  41. package/dist/index.cjs9.js +1 -1
  42. package/dist/index.cjs9.js.map +1 -1
  43. package/dist/index.esm.js +22 -20
  44. package/dist/index.esm.js.map +1 -1
  45. package/dist/index.esm10.js +137 -70
  46. package/dist/index.esm10.js.map +1 -1
  47. package/dist/index.esm11.js +66 -226
  48. package/dist/index.esm11.js.map +1 -1
  49. package/dist/index.esm12.js +221 -160
  50. package/dist/index.esm12.js.map +1 -1
  51. package/dist/index.esm13.js +171 -61
  52. package/dist/index.esm13.js.map +1 -1
  53. package/dist/index.esm14.js +58 -84
  54. package/dist/index.esm14.js.map +1 -1
  55. package/dist/index.esm15.js +80 -25
  56. package/dist/index.esm15.js.map +1 -1
  57. package/dist/index.esm16.js +30 -214
  58. package/dist/index.esm16.js.map +1 -1
  59. package/dist/index.esm17.js +219 -23
  60. package/dist/index.esm17.js.map +1 -1
  61. package/dist/index.esm18.js +40 -38
  62. package/dist/index.esm18.js.map +1 -1
  63. package/dist/index.esm19.js +22 -60
  64. package/dist/index.esm19.js.map +1 -1
  65. package/dist/index.esm20.js +46 -20
  66. package/dist/index.esm20.js.map +1 -1
  67. package/dist/index.esm23.js +102 -48
  68. package/dist/index.esm23.js.map +1 -1
  69. package/dist/index.esm24.js +38 -20
  70. package/dist/index.esm24.js.map +1 -1
  71. package/dist/index.esm25.js +20 -12
  72. package/dist/index.esm25.js.map +1 -1
  73. package/dist/index.esm26.js +12 -102
  74. package/dist/index.esm26.js.map +1 -1
  75. package/dist/index.esm27.js +22 -60
  76. package/dist/index.esm27.js.map +1 -1
  77. package/dist/index.esm28.js +60 -40
  78. package/dist/index.esm28.js.map +1 -1
  79. package/dist/index.esm29.js +64 -0
  80. package/dist/index.esm29.js.map +1 -0
  81. package/dist/index.esm5.js +1 -1
  82. package/dist/index.esm6.js +1 -1
  83. package/dist/index.esm7.js +1 -1
  84. package/dist/index.esm8.js +1 -1
  85. package/dist/index.esm9.js +25 -132
  86. package/dist/index.esm9.js.map +1 -1
  87. package/package.json +31 -34
@@ -1,106 +1,16 @@
1
- const t = "_nav_1gutd_22", e = "_navOpen_1gutd_32", o = "_navClosed_1gutd_33", _ = "_navMobile_1gutd_42", n = "_header_1gutd_51", a = "_headerOpen_1gutd_58", s = "_headerClosed_1gutd_64", l = "_headerMobile_1gutd_73", c = "_logoIcon_1gutd_80", i = "_logoFull_1gutd_87", d = "_headerTitle_1gutd_93", g = "_headerActions_1gutd_102", r = "_bellBtn_1gutd_108", u = "_links_1gutd_129", m = "_linksOpen_1gutd_136", v = "_linksClosed_1gutd_137", b = "_linksMobile_1gutd_138", p = "_section_1gutd_142", I = "_sectionTitle_1gutd_147", h = "_sectionItems_1gutd_160", k = "_item_1gutd_168", M = "_itemOpen_1gutd_181", C = "_itemOpenActive_1gutd_191", L = "_itemClosed_1gutd_201", A = "_itemClosedActive_1gutd_211", B = "_itemMobile_1gutd_222", O = "_itemMobileActive_1gutd_231", f = "_itemIcon_1gutd_237", w = "_itemIconDark_1gutd_246", D = "_itemIconLight_1gutd_247", R = "_itemLabel_1gutd_251", T = "_itemLabelDefault_1gutd_263", F = "_itemLabelActive_1gutd_264", N = "_itemLabelMobile_1gutd_265", x = "_chevron_1gutd_269", y = "_footer_1gutd_283", j = "_collapseBtn_1gutd_289", q = "_collapseBtnClosed_1gutd_310", z = "_collapseBtnIcon_1gutd_314", E = "_footerMobile_1gutd_326", G = "_ctaBtn_1gutd_335", H = "_workspace_1gutd_358", J = "_workspaceIcon_1gutd_372", K = "_workspaceLabel_1gutd_383", P = "_avatarRow_1gutd_397", Q = "_avatar_1gutd_397", S = "_avatarInitials_1gutd_415", U = "_avatarInfo_1gutd_422", V = "_avatarName_1gutd_430", W = "_avatarRole_1gutd_441", X = {
2
- nav: t,
3
- navOpen: e,
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: d,
13
- headerActions: g,
14
- bellBtn: r,
15
- links: u,
16
- linksOpen: m,
17
- linksClosed: v,
18
- linksMobile: b,
19
- section: p,
20
- sectionTitle: I,
21
- sectionItems: h,
22
- item: k,
23
- itemOpen: M,
24
- itemOpenActive: C,
25
- itemClosed: L,
26
- itemClosedActive: A,
27
- itemMobile: B,
28
- itemMobileActive: O,
29
- itemIcon: f,
30
- itemIconDark: w,
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 t = "_tabList_1xlw5_3", s = "_tab_1xlw5_3", _ = "_active_1xlw5_44", a = "_disabled_1xlw5_44", c = "_icon_1xlw5_69", i = {
2
+ tabList: t,
3
+ tab: s,
4
+ active: _,
5
+ disabled: a,
6
+ icon: c
52
7
  };
53
8
  export {
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
- r 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
- g as headerActions,
71
- s as headerClosed,
72
- l as headerMobile,
73
- a as headerOpen,
74
- d as headerTitle,
75
- k as item,
76
- L as itemClosed,
77
- A as itemClosedActive,
78
- f as itemIcon,
79
- w as itemIconDark,
80
- D as itemIconLight,
81
- R as itemLabel,
82
- F as itemLabelActive,
83
- T as itemLabelDefault,
84
- N as itemLabelMobile,
85
- B as itemMobile,
86
- O as itemMobileActive,
87
- M as itemOpen,
88
- C as itemOpenActive,
89
- u as links,
90
- v as linksClosed,
91
- b as linksMobile,
92
- m as linksOpen,
93
- i as logoFull,
94
- c as logoIcon,
95
- t as nav,
96
- o as navClosed,
97
- _ as navMobile,
98
- e as navOpen,
99
- p as section,
100
- h as sectionItems,
101
- I as sectionTitle,
102
- H as workspace,
103
- J as workspaceIcon,
104
- K as workspaceLabel
9
+ _ as active,
10
+ i as default,
11
+ a as disabled,
12
+ c as icon,
13
+ s as tab,
14
+ t as tabList
105
15
  };
106
16
  //# 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,64 +1,26 @@
1
- const e = "_header_1g3e8_25", a = "_variantDefault_1g3e8_36", t = "_variantMobile_1g3e8_37", o = "_variantMobileOpen_1g3e8_38", s = "_pageTitle_1g3e8_49", _ = "_pageTitleDesktop_1g3e8_63", n = "_pageTitleMobile_1g3e8_64", c = "_actions_1g3e8_68", r = "_actionsMobileOpen_1g3e8_76", i = "_workspace_1g3e8_86", l = "_workspaceFull_1g3e8_104", g = "_workspaceLeft_1g3e8_110", p = "_statusDot_1g3e8_118", u = "_workspaceCol_1g3e8_126", k = "_workspaceAccount_1g3e8_134", w = "_workspaceName_1g3e8_144", v = "_workspaceArrow_1g3e8_156", m = "_bellBtn_1g3e8_168", b = "_menuBtn_1g3e8_188", M = "_menuIcon_1g3e8_208", T = "_navUser_1g3e8_219", A = "_avatar_1g3e8_227", B = "_avatarImg_1g3e8_239", D = "_avatarInitials_1g3e8_248", I = "_userText_1g3e8_255", f = "_userName_1g3e8_262", N = "_userRole_1g3e8_271", O = "_ctaBtn_1g3e8_282", d = "_mainActions_1g3e8_307", x = {
2
- header: e,
3
- variantDefault: a,
4
- variantMobile: t,
5
- variantMobileOpen: o,
6
- pageTitle: s,
7
- pageTitleDesktop: _,
8
- pageTitleMobile: n,
9
- actions: c,
10
- actionsMobileOpen: r,
11
- workspace: i,
12
- workspaceFull: l,
13
- workspaceLeft: g,
14
- statusDot: p,
15
- workspaceCol: u,
16
- workspaceAccount: k,
17
- workspaceName: w,
18
- workspaceArrow: v,
19
- bellBtn: m,
20
- menuBtn: b,
21
- menuIcon: M,
22
- navUser: T,
23
- avatar: A,
24
- avatarImg: B,
25
- avatarInitials: D,
26
- userText: I,
27
- userName: f,
28
- userRole: N,
29
- ctaBtn: O,
30
- mainActions: d
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
31
12
  };
32
13
  export {
33
- c as actions,
34
- r as actionsMobileOpen,
35
- A as avatar,
36
- B as avatarImg,
37
- D as avatarInitials,
38
- m as bellBtn,
39
- O as ctaBtn,
40
- x as default,
41
- e as header,
42
- d as mainActions,
43
- b as menuBtn,
44
- M as menuIcon,
45
- T as navUser,
46
- s as pageTitle,
47
- _ as pageTitleDesktop,
48
- n as pageTitleMobile,
49
- p as statusDot,
50
- f as userName,
51
- N as userRole,
52
- I as userText,
53
- a as variantDefault,
54
- t as variantMobile,
55
- o as variantMobileOpen,
56
- i as workspace,
57
- k as workspaceAccount,
58
- v as workspaceArrow,
59
- u as workspaceCol,
60
- l as workspaceFull,
61
- g as workspaceLeft,
62
- w as workspaceName
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
63
25
  };
64
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,44 +1,64 @@
1
- const e = "_wrapper_142dk_9", _ = "_labelRow_142dk_19", o = "_label_142dk_19", l = "_labelDisabled_142dk_37", s = "_labelIcon_142dk_41", d = "_field_142dk_53", n = "_fieldMd_142dk_67", t = "_fieldSm_142dk_72", c = "_hover_142dk_79", a = "_active_142dk_86", r = "_disabled_142dk_94", i = "_error_142dk_107", k = "_icon_142dk_119", b = "_input_142dk_131", g = "_iconAction_142dk_155", f = "_toggleBtn_142dk_162", p = "_searchBtn_142dk_181", m = "_message_142dk_217", h = "_messageError_142dk_232", v = {
2
- wrapper: e,
3
- labelRow: _,
4
- label: o,
5
- labelDisabled: l,
6
- labelIcon: s,
7
- field: d,
8
- fieldMd: n,
9
- fieldSm: t,
10
- hover: c,
11
- active: a,
12
- disabled: r,
13
- error: i,
14
- icon: k,
15
- input: b,
16
- iconAction: g,
17
- toggleBtn: f,
18
- searchBtn: p,
19
- message: m,
20
- messageError: h
1
+ const o = "_dropzone_19kgn_8", e = "_dropzoneMd_19kgn_22", n = "_dropzoneLg_19kgn_29", _ = "_dropzoneDragging_19kgn_39", t = "_dropzoneIconMd_19kgn_48", r = "_dropzoneIconLg_19kgn_56", s = "_dropzoneContent_19kgn_67", g = "_dropzoneTitleRow_19kgn_81", i = "_dropzoneTitle_19kgn_81", p = "_dropzoneBrowse_19kgn_99", l = "_dropzoneSubtitle_19kgn_114", d = "_fileList_19kgn_128", c = "_fileItem_19kgn_137", z = "_fileItemLg_19kgn_150", k = "_fileItemMd_19kgn_155", f = "_fileBadge_19kgn_161", a = "_fileContent_19kgn_176", I = "_fileHeader_19kgn_186", L = "_fileTexts_19kgn_193", m = "_fileName_19kgn_202", w = "_fileSize_19kgn_216", T = "_actions_19kgn_229", B = "_actionBtn_19kgn_236", M = "_progressRow_19kgn_259", b = "_progressTrack_19kgn_267", C = "_progressFill_19kgn_277", R = "_progressLabel_19kgn_288", S = "_spinner_19kgn_301", u = "_wrapper_19kgn_317", x = {
2
+ dropzone: o,
3
+ dropzoneMd: e,
4
+ dropzoneLg: n,
5
+ dropzoneDragging: _,
6
+ dropzoneIconMd: t,
7
+ dropzoneIconLg: r,
8
+ dropzoneContent: s,
9
+ dropzoneTitleRow: g,
10
+ dropzoneTitle: i,
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
21
31
  };
22
32
  export {
23
- a as active,
24
- v as default,
25
- r as disabled,
26
- i as error,
27
- d as field,
28
- n as fieldMd,
29
- t as fieldSm,
30
- c as hover,
31
- k as icon,
32
- g as iconAction,
33
- b as input,
34
- o as label,
35
- l as labelDisabled,
36
- s as labelIcon,
37
- _ as labelRow,
38
- m as message,
39
- h as messageError,
40
- p as searchBtn,
41
- f as toggleBtn,
42
- e as wrapper
33
+ B as actionBtn,
34
+ T as actions,
35
+ x as default,
36
+ o as dropzone,
37
+ p as dropzoneBrowse,
38
+ s as dropzoneContent,
39
+ _ as dropzoneDragging,
40
+ r as dropzoneIconLg,
41
+ t as dropzoneIconMd,
42
+ n as dropzoneLg,
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
43
63
  };
44
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,64 @@
1
+ const e = "_header_1g3e8_25", a = "_variantDefault_1g3e8_36", t = "_variantMobile_1g3e8_37", o = "_variantMobileOpen_1g3e8_38", s = "_pageTitle_1g3e8_49", _ = "_pageTitleDesktop_1g3e8_63", n = "_pageTitleMobile_1g3e8_64", c = "_actions_1g3e8_68", r = "_actionsMobileOpen_1g3e8_76", i = "_workspace_1g3e8_86", l = "_workspaceFull_1g3e8_104", g = "_workspaceLeft_1g3e8_110", p = "_statusDot_1g3e8_118", u = "_workspaceCol_1g3e8_126", k = "_workspaceAccount_1g3e8_134", w = "_workspaceName_1g3e8_144", v = "_workspaceArrow_1g3e8_156", m = "_bellBtn_1g3e8_168", b = "_menuBtn_1g3e8_188", M = "_menuIcon_1g3e8_208", T = "_navUser_1g3e8_219", A = "_avatar_1g3e8_227", B = "_avatarImg_1g3e8_239", D = "_avatarInitials_1g3e8_248", I = "_userText_1g3e8_255", f = "_userName_1g3e8_262", N = "_userRole_1g3e8_271", O = "_ctaBtn_1g3e8_282", d = "_mainActions_1g3e8_307", x = {
2
+ header: e,
3
+ variantDefault: a,
4
+ variantMobile: t,
5
+ variantMobileOpen: o,
6
+ pageTitle: s,
7
+ pageTitleDesktop: _,
8
+ pageTitleMobile: n,
9
+ actions: c,
10
+ actionsMobileOpen: r,
11
+ workspace: i,
12
+ workspaceFull: l,
13
+ workspaceLeft: g,
14
+ statusDot: p,
15
+ workspaceCol: u,
16
+ workspaceAccount: k,
17
+ workspaceName: w,
18
+ workspaceArrow: v,
19
+ bellBtn: m,
20
+ menuBtn: b,
21
+ menuIcon: M,
22
+ navUser: T,
23
+ avatar: A,
24
+ avatarImg: B,
25
+ avatarInitials: D,
26
+ userText: I,
27
+ userName: f,
28
+ userRole: N,
29
+ ctaBtn: O,
30
+ mainActions: d
31
+ };
32
+ export {
33
+ c as actions,
34
+ r as actionsMobileOpen,
35
+ A as avatar,
36
+ B as avatarImg,
37
+ D as avatarInitials,
38
+ m as bellBtn,
39
+ O as ctaBtn,
40
+ x as default,
41
+ e as header,
42
+ d as mainActions,
43
+ b as menuBtn,
44
+ M as menuIcon,
45
+ T as navUser,
46
+ s as pageTitle,
47
+ _ as pageTitleDesktop,
48
+ n as pageTitleMobile,
49
+ p as statusDot,
50
+ f as userName,
51
+ N as userRole,
52
+ I as userText,
53
+ a as variantDefault,
54
+ t as variantMobile,
55
+ o as variantMobileOpen,
56
+ i as workspace,
57
+ k as workspaceAccount,
58
+ v as workspaceArrow,
59
+ u as workspaceCol,
60
+ l as workspaceFull,
61
+ g as workspaceLeft,
62
+ w as workspaceName
63
+ };
64
+ //# sourceMappingURL=index.esm29.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm29.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.esm18.js";
2
+ import t from "./index.esm24.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.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 p, jsx as n } from "react/jsx-runtime";
2
- import s from "./index.esm17.js";
2
+ import s from "./index.esm19.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.esm27.js";
2
+ import e from "./index.esm29.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,139 +1,32 @@
1
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
- import { useId as S, useState as x } from "react";
3
- import r from "./index.esm28.js";
4
- function z() {
5
- return /* @__PURE__ */ n("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 H() {
11
- return /* @__PURE__ */ n("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 O() {
17
- return /* @__PURE__ */ n("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 P() {
23
- return /* @__PURE__ */ n("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 R() {
29
- return /* @__PURE__ */ n("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 V() {
35
- return /* @__PURE__ */ n("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 G({
42
- state: d = "Default",
43
- size: g = "md",
44
- inputType: o = "text",
45
- label: k,
46
- placeholder: b,
47
- message: c,
48
- iconLabel: f,
49
- iconLeft: C,
50
- iconRight: B,
51
- value: v,
52
- onChange: j,
53
- onSearch: I,
54
- id: W,
55
- className: M,
56
- ...t
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ function s({
3
+ name: n,
4
+ size: i = 24,
5
+ weight: o = 400,
6
+ fill: a = 0,
7
+ className: l,
8
+ style: r,
9
+ "aria-label": e,
10
+ "aria-hidden": t
57
11
  }) {
58
- const N = S(), a = W ?? N, [l, E] = x(!1), [F, m] = x(!1), h = d === "Disabled", u = d === "Error", D = o === "password" ? l ? "text" : "password" : o === "search" ? "text" : o === "date" ? F || v ? "date" : "text" : o, w = C ?? (o === "email" ? /* @__PURE__ */ e(z, {}) : o === "password" ? /* @__PURE__ */ e(P, {}) : void 0), L = B ?? (o === "password" ? /* @__PURE__ */ e(
59
- "button",
60
- {
61
- type: "button",
62
- className: r.toggleBtn,
63
- onClick: () => E((i) => !i),
64
- "aria-label": l ? "Ocultar senha" : "Mostrar senha",
65
- tabIndex: -1,
66
- children: l ? /* @__PURE__ */ e(R, {}) : /* @__PURE__ */ e(V, {})
67
- }
68
- ) : o === "date" ? /* @__PURE__ */ e(O, {}) : o === "search" ? /* @__PURE__ */ e(
69
- "button",
12
+ return /* @__PURE__ */ c(
13
+ "span",
70
14
  {
71
- type: "button",
72
- className: r.searchBtn,
73
- onClick: I,
74
- "aria-label": "Buscar",
75
- tabIndex: -1,
76
- children: /* @__PURE__ */ e(H, {})
15
+ className: ["material-symbols-outlined", l].filter(Boolean).join(" "),
16
+ style: {
17
+ fontSize: i,
18
+ "--icon-fill": a,
19
+ "--icon-weight": o,
20
+ "--icon-size": i,
21
+ ...r
22
+ },
23
+ "aria-label": e,
24
+ "aria-hidden": t ?? (e ? void 0 : !0),
25
+ children: n
77
26
  }
78
- ) : void 0), A = [
79
- r.field,
80
- g === "sm" ? r.fieldSm : r.fieldMd,
81
- d === "Hover" ? r.hover : "",
82
- d === "Active" ? r.active : "",
83
- h ? r.disabled : "",
84
- u ? r.error : "",
85
- M
86
- ].filter(Boolean).join(" ");
87
- return /* @__PURE__ */ n("div", { className: r.wrapper, children: [
88
- k && /* @__PURE__ */ n("div", { className: r.labelRow, children: [
89
- /* @__PURE__ */ e(
90
- "label",
91
- {
92
- htmlFor: a,
93
- className: [r.label, h ? r.labelDisabled : ""].filter(Boolean).join(" "),
94
- children: k
95
- }
96
- ),
97
- f && /* @__PURE__ */ e("span", { className: r.labelIcon, "aria-hidden": "true", children: f })
98
- ] }),
99
- /* @__PURE__ */ n("div", { className: A, children: [
100
- w && /* @__PURE__ */ e("span", { className: r.icon, "aria-hidden": "true", children: w }),
101
- /* @__PURE__ */ e(
102
- "input",
103
- {
104
- id: a,
105
- type: D,
106
- className: r.input,
107
- placeholder: b,
108
- disabled: h,
109
- value: v,
110
- onChange: j,
111
- onFocus: o === "date" ? (i) => {
112
- var s;
113
- m(!0), (s = t.onFocus) == null || s.call(t, i);
114
- } : t.onFocus,
115
- onBlur: o === "date" ? (i) => {
116
- var s;
117
- m(!1), (s = t.onBlur) == null || s.call(t, i);
118
- } : t.onBlur,
119
- "aria-invalid": u,
120
- "aria-describedby": c ? `${a}-message` : void 0,
121
- ...t
122
- }
123
- ),
124
- L && /* @__PURE__ */ e("span", { className: [r.icon, o === "search" || o === "password" ? r.iconAction : ""].filter(Boolean).join(" "), children: L })
125
- ] }),
126
- c && /* @__PURE__ */ e(
127
- "p",
128
- {
129
- id: `${a}-message`,
130
- className: [r.message, u ? r.messageError : ""].filter(Boolean).join(" "),
131
- children: c
132
- }
133
- )
134
- ] });
27
+ );
135
28
  }
136
29
  export {
137
- G as Input
30
+ s as Icon
138
31
  };
139
32
  //# sourceMappingURL=index.esm9.js.map
@@ -1 +1 @@
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';\nexport type InputSize = 'sm' | 'md';\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' | 'size'> {\n /** Visual/interaction state. Defaults to 'Default'. */\n state?: InputState;\n /** Size variant. sm = 36px height, md = 48px height. Defaults to 'md'. */\n size?: InputSize;\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 size = 'md',\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 const [dateFocused, setDateFocused] = 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 === 'date'\n ? (dateFocused || !!value ? 'date' : '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 size === 'sm' ? styles.fieldSm : styles.fieldMd,\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 onFocus={inputType === 'date' ? (e) => { setDateFocused(true); props.onFocus?.(e); } : props.onFocus}\n onBlur={inputType === 'date' ? (e) => { setDateFocused(false); props.onBlur?.(e); } : props.onBlur}\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","size","inputType","label","placeholder","message","iconLabel","iconLeft","iconRight","value","onChange","onSearch","idProp","className","props","generatedId","useId","id","showPassword","setShowPassword","useState","dateFocused","setDateFocused","isDisabled","isError","htmlType","resolvedIconLeft","resolvedIconRight","styles","v","fieldClass","e","_a"],"mappings":";;;AASA,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,gBAAAA,EAAC,UAAK,GAAE,oBAAmB,QAAO,gBAAe,aAAY,QAAO,eAAc,QAAA,CAAO;AAAA,EAAA,GAC3F;AAEJ;AAEA,SAASE,IAAe;AACtB,SACE,gBAAAH,EAAC,OAAA,EAAI,OAA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AAAJ,uBACE,QAAA,EAAK,WAAWE,EAAO,MAAM,eAAY,QACvC,UAAAF,EAAA,CACH;AAAA,MAEF,gBAAAjC;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,IAAAwB;AAAA,UACA,MAAMQ;AAAA,UACN,WAAWG,EAAO;AAAA,UAClB,aAAAxB;AAAA,UACA,UAAUmB;AAAA,UACV,OAAAd;AAAA,UACA,UAAAC;AAAA,UACA,SAASR,MAAc,SAAS,CAAC6B,MAAM;;AAAE,YAAAT,EAAe,EAAI,IAAGU,IAAAlB,EAAM,YAAN,QAAAkB,EAAA,KAAAlB,GAAgBiB;AAAA,UAAI,IAAIjB,EAAM;AAAA,UAC7F,QAAQZ,MAAc,SAAU,CAAC6B,MAAM;;AAAE,YAAAT,EAAe,EAAK,IAAGU,IAAAlB,EAAM,WAAN,QAAAkB,EAAA,KAAAlB,GAAeiB;AAAA,UAAI,IAAIjB,EAAM;AAAA,UAC7F,gBAAcU;AAAA,UACd,oBAAkBnB,IAAU,GAAGY,CAAE,aAAa;AAAA,UAC7C,GAAGH;AAAA,QAAA;AAAA,MAAA;AAAA,MAELa,uBACE,QAAA,EAAK,WAAW,CAACC,EAAO,MAAM1B,MAAc,YAAYA,MAAc,aAAa0B,EAAO,aAAa,EAAE,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,GACjI,UAAAD,EAAA,CACH;AAAA,IAAA,GAEJ;AAAA,IAECtB,KACC,gBAAAZ;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,IAAI,GAAGwB,CAAE;AAAA,QACT,WAAW,CAACW,EAAO,SAASJ,IAAUI,EAAO,eAAe,EAAE,EAC3D,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,QAEV,UAAAvB;AAAA,MAAA;AAAA,IAAA;AAAA,EACH,GAEJ;AAEJ;"}
1
+ {"version":3,"file":"index.esm9.js","sources":["../components/Icon/Icon.tsx"],"sourcesContent":["import React from 'react';\n\nexport type IconSize = 20 | 24 | 40 | 48;\nexport type IconWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700;\n\nexport interface IconProps {\n /** Material Symbols icon name, e.g. \"search\", \"home\", \"arrow_back\" */\n name: string;\n /** Icon size in px. Defaults to 24. */\n size?: IconSize;\n /** Stroke weight. Defaults to 400. */\n weight?: IconWeight;\n /** Fill: 0 = outline, 1 = filled. Defaults to 0. */\n fill?: 0 | 1;\n /** Color via CSS currentColor. Apply color on the parent or pass className. */\n className?: string;\n style?: React.CSSProperties;\n 'aria-label'?: string;\n 'aria-hidden'?: boolean | 'true' | 'false';\n}\n\nexport function Icon({\n name,\n size = 24,\n weight = 400,\n fill = 0,\n className,\n style,\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaHidden,\n}: IconProps) {\n return (\n <span\n className={['material-symbols-outlined', className].filter(Boolean).join(' ')}\n style={{\n fontSize: size,\n '--icon-fill': fill,\n '--icon-weight': weight,\n '--icon-size': size,\n ...style,\n } as React.CSSProperties}\n aria-label={ariaLabel}\n aria-hidden={ariaHidden ?? (ariaLabel ? undefined : true)}\n >\n {name}\n </span>\n );\n}\n"],"names":["Icon","name","size","weight","fill","className","style","ariaLabel","ariaHidden","jsx"],"mappings":";AAqBO,SAASA,EAAK;AAAA,EACnB,MAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,QAAAC,IAAS;AAAA,EACT,MAAAC,IAAO;AAAA,EACP,WAAAC;AAAA,EACA,OAAAC;AAAA,EACA,cAAcC;AAAA,EACd,eAAeC;AACjB,GAAc;AACZ,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,CAAC,6BAA6BJ,CAAS,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAAA,MAC5E,OAAO;AAAA,QACL,UAAUH;AAAA,QACV,eAAeE;AAAA,QACf,iBAAiBD;AAAA,QACjB,eAAeD;AAAA,QACf,GAAGI;AAAA,MAAA;AAAA,MAEL,cAAYC;AAAA,MACZ,eAAaC,MAAeD,IAAY,SAAY;AAAA,MAEnD,UAAAN;AAAA,IAAA;AAAA,EAAA;AAGP;"}