@treeal/ds 0.1.0 → 0.1.1

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 (86) hide show
  1. package/dist/assets/style.css +1 -1
  2. package/dist/components/index.d.ts +1 -0
  3. package/dist/components/index.d.ts.map +1 -1
  4. package/dist/index.cjs.js +1 -1
  5. package/dist/index.cjs10.js +1 -1
  6. package/dist/index.cjs10.js.map +1 -1
  7. package/dist/index.cjs11.js +1 -1
  8. package/dist/index.cjs11.js.map +1 -1
  9. package/dist/index.cjs12.js +1 -1
  10. package/dist/index.cjs12.js.map +1 -1
  11. package/dist/index.cjs13.js +1 -1
  12. package/dist/index.cjs13.js.map +1 -1
  13. package/dist/index.cjs14.js +1 -1
  14. package/dist/index.cjs14.js.map +1 -1
  15. package/dist/index.cjs15.js +1 -1
  16. package/dist/index.cjs16.js +1 -1
  17. package/dist/index.cjs17.js +1 -1
  18. package/dist/index.cjs18.js +1 -1
  19. package/dist/index.cjs19.js +1 -1
  20. package/dist/index.cjs21.js +1 -1
  21. package/dist/index.cjs22.js +1 -1
  22. package/dist/index.cjs23.js +1 -1
  23. package/dist/index.cjs24.js +2 -0
  24. package/dist/index.cjs24.js.map +1 -0
  25. package/dist/index.cjs3.js +1 -1
  26. package/dist/index.cjs3.js.map +1 -1
  27. package/dist/index.cjs4.js +1 -1
  28. package/dist/index.cjs4.js.map +1 -1
  29. package/dist/index.cjs5.js +1 -1
  30. package/dist/index.cjs5.js.map +1 -1
  31. package/dist/index.cjs6.js +1 -1
  32. package/dist/index.cjs6.js.map +1 -1
  33. package/dist/index.cjs7.js +1 -1
  34. package/dist/index.cjs7.js.map +1 -1
  35. package/dist/index.cjs8.js +1 -1
  36. package/dist/index.cjs8.js.map +1 -1
  37. package/dist/index.cjs9.js +1 -1
  38. package/dist/index.cjs9.js.map +1 -1
  39. package/dist/index.esm.js +24 -23
  40. package/dist/index.esm.js.map +1 -1
  41. package/dist/index.esm10.js +66 -226
  42. package/dist/index.esm10.js.map +1 -1
  43. package/dist/index.esm11.js +221 -160
  44. package/dist/index.esm11.js.map +1 -1
  45. package/dist/index.esm12.js +157 -73
  46. package/dist/index.esm12.js.map +1 -1
  47. package/dist/index.esm13.js +83 -212
  48. package/dist/index.esm13.js.map +1 -1
  49. package/dist/index.esm14.js +219 -23
  50. package/dist/index.esm14.js.map +1 -1
  51. package/dist/index.esm15.js +22 -30
  52. package/dist/index.esm15.js.map +1 -1
  53. package/dist/index.esm16.js +38 -60
  54. package/dist/index.esm16.js.map +1 -1
  55. package/dist/index.esm17.js +30 -60
  56. package/dist/index.esm17.js.map +1 -1
  57. package/dist/index.esm18.js +22 -38
  58. package/dist/index.esm18.js.map +1 -1
  59. package/dist/index.esm19.js +60 -22
  60. package/dist/index.esm19.js.map +1 -1
  61. package/dist/index.esm21.js +102 -48
  62. package/dist/index.esm21.js.map +1 -1
  63. package/dist/index.esm22.js +22 -22
  64. package/dist/index.esm23.js +60 -102
  65. package/dist/index.esm23.js.map +1 -1
  66. package/dist/index.esm24.js +52 -0
  67. package/dist/index.esm24.js.map +1 -0
  68. package/dist/index.esm3.js +89 -53
  69. package/dist/index.esm3.js.map +1 -1
  70. package/dist/index.esm4.js +58 -111
  71. package/dist/index.esm4.js.map +1 -1
  72. package/dist/index.esm5.js +106 -60
  73. package/dist/index.esm5.js.map +1 -1
  74. package/dist/index.esm6.js +60 -28
  75. package/dist/index.esm6.js.map +1 -1
  76. package/dist/index.esm7.js +26 -171
  77. package/dist/index.esm7.js.map +1 -1
  78. package/dist/index.esm8.js +167 -54
  79. package/dist/index.esm8.js.map +1 -1
  80. package/dist/index.esm9.js +62 -71
  81. package/dist/index.esm9.js.map +1 -1
  82. package/package.json +1 -1
  83. package/dist/index.cjs2.js +0 -2
  84. package/dist/index.cjs2.js.map +0 -1
  85. package/dist/index.esm2.js +0 -98
  86. package/dist/index.esm2.js.map +0 -1
@@ -0,0 +1,52 @@
1
+ const t = "_steps_xg6k6_20", e = "_item_xg6k6_30", n = "_typeStart_xg6k6_51", _ = "_typeStep_xg6k6_66", o = "_typeEnd_xg6k6_82", c = "_stateDefault_xg6k6_94", i = "_stateHover_xg6k6_95", s = "_stateActive_xg6k6_96", m = "_stateComplete_xg6k6_97", a = "_textDark_xg6k6_101", x = "_textLight_xg6k6_102", k = "_label_xg6k6_106", g = "_num_xg6k6_119", l = "_checkIcon_xg6k6_132", p = "_minified_xg6k6_143", r = "_minDot_xg6k6_150", C = "_minDefault_xg6k6_156", D = "_minActive_xg6k6_162", f = "_minComplete_xg6k6_169", u = "_minConnector_xg6k6_176", v = "_minConnectorDefault_xg6k6_183", y = "_minConnectorActive_xg6k6_184", A = "_minConnectorComplete_xg6k6_185", d = {
2
+ steps: t,
3
+ item: e,
4
+ typeStart: n,
5
+ typeStep: _,
6
+ typeEnd: o,
7
+ stateDefault: c,
8
+ stateHover: i,
9
+ stateActive: s,
10
+ stateComplete: m,
11
+ textDark: a,
12
+ textLight: x,
13
+ label: k,
14
+ num: g,
15
+ checkIcon: l,
16
+ minified: p,
17
+ minDot: r,
18
+ minDefault: C,
19
+ minActive: D,
20
+ minComplete: f,
21
+ minConnector: u,
22
+ minConnectorDefault: v,
23
+ minConnectorActive: y,
24
+ minConnectorComplete: A
25
+ };
26
+ export {
27
+ l as checkIcon,
28
+ d as default,
29
+ e as item,
30
+ k as label,
31
+ D as minActive,
32
+ f as minComplete,
33
+ u as minConnector,
34
+ y as minConnectorActive,
35
+ A as minConnectorComplete,
36
+ v as minConnectorDefault,
37
+ C as minDefault,
38
+ r as minDot,
39
+ p as minified,
40
+ g as num,
41
+ s as stateActive,
42
+ m as stateComplete,
43
+ c as stateDefault,
44
+ i as stateHover,
45
+ t as steps,
46
+ a as textDark,
47
+ x as textLight,
48
+ o as typeEnd,
49
+ n as typeStart,
50
+ _ as typeStep
51
+ };
52
+ //# sourceMappingURL=index.esm24.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm24.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,62 +1,98 @@
1
- const a = {
2
- fontFamily: {
3
- /** Clash Grotesk Variable — buttons, inputs, labels */
4
- base: "'Clash Grotesk Variable', sans-serif",
5
- /** Inter — FileUpload text (Paragraph/SM and Paragraph/XS) */
6
- inter: "'Inter', sans-serif",
7
- /** Roboto — Pagination numbers and controls */
8
- roboto: "'Roboto', sans-serif",
9
- /** Clash Display Variable — Steps step number (Headings/H4 · 21px) */
10
- clashDisplay: "'Clash Display Variable', sans-serif",
11
- /** @deprecated use fontFamily.base */
12
- button: "'Clash Grotesk Variable', sans-serif"
1
+ const F = {
2
+ brand: {
3
+ primary: {
4
+ /** #203224 Secondary button bg; Fill button text; Check/Radio checked bg */
5
+ base: "#203224"
6
+ },
7
+ secondary: {
8
+ /** #0F6C13 — Outline button border & text */
9
+ base: "#0F6C13"
10
+ },
11
+ tertiary: {
12
+ /** #E7DA10 Fill button background */
13
+ base: "#E7DA10"
14
+ }
13
15
  },
14
- fontWeight: {
15
- regular: 400,
16
- semibold: 600
16
+ default: {
17
+ /** #FFFFFF — Secondary button text; input background */
18
+ white: "#FFFFFF",
19
+ /** #524E69 — Disabled text; input active/error text */
20
+ textDark: "#524E69",
21
+ /** #9490AC — Placeholder; input hover/active border; Grayscale/600 */
22
+ textMedium: "#9490AC",
23
+ /** #EFEEF2 — Disabled background; input focus ring; Grayscale/100 */
24
+ disabled: "#EFEEF2",
25
+ /** #DCE5DE — Default input border; Check/Radio border */
26
+ border: "#DCE5DE",
27
+ /** #E0DEED — Grayscale/200 · Default step background */
28
+ stepDefault: "#E0DEED",
29
+ /** #F5F5F5 — Default Colors/White Cloud · Nav sidebar background */
30
+ whiteCloud: "#F5F5F5",
31
+ /** #E0DEED — Grayscale/200 · Modal slot border */
32
+ modalBorder: "#E0DEED",
33
+ /** #757094 — Default Colors/Text medium · Modal slot text, option labels */
34
+ modalTextMedium: "#757094"
17
35
  },
18
- fontSize: {
19
- /** 16px — Body Texts/Button & Body Texts/Text */
20
- md: "1rem",
21
- /** 14px — Body Texts/Label & Body Texts/Text Small */
22
- sm: "0.875rem",
23
- /** 12px — Paragraph/SM/Regular (Inter · FileUpload) */
24
- bodySm: "0.75rem",
25
- /** 10px — Paragraph/XS/Regular (Inter · FileUpload) */
26
- bodyXs: "0.625rem",
27
- /** 12px — Text/xs (Roboto · Pagination xs) */
28
- paginationXs: "0.75rem",
29
- /** 16px — Text/md (Roboto · Pagination md) */
30
- paginationMd: "1rem",
31
- /** 18px — Text/lg (Roboto · Pagination lg) */
32
- paginationLg: "1.125rem",
33
- /** @deprecated use fontSize.md */
34
- button: "1rem"
36
+ message: {
37
+ info: {
38
+ /** #2472BA — Text button text */
39
+ base: "#2472BA"
40
+ },
41
+ danger: {
42
+ /** #FF3A29 — Error input border & message */
43
+ base: "#FF3A29"
44
+ }
35
45
  },
36
- lineHeight: {
37
- /** 1.5 — Body Texts/Button */
38
- button: 1.5,
39
- /** 1.43 — Body Texts/Label (Semibold 14px) */
40
- label: 1.43,
41
- /** 1.30 — Body Texts/Text & Body Texts/Text Small */
42
- text: 1.3,
43
- /** 1.60 — Paragraph/SM/Regular & Paragraph/XS/Regular (Inter · FileUpload) */
44
- body: 1.6,
45
- /** 14px — Text/xs (Roboto · Pagination xs) */
46
- paginationXs: "14px",
47
- /** 18px — Text/md (Roboto · Pagination md) */
48
- paginationMd: "18px",
49
- /** 20px — Text/lg (Roboto · Pagination lg) */
50
- paginationLg: "20px"
46
+ /** Gray scale — FileUpload / Gray/x00 tokens */
47
+ gray: {
48
+ /** #101828 — Gray/900 · file name, body text */
49
+ 900: "#101828",
50
+ /** #475467 — Gray/600 · action icon color */
51
+ 600: "#475467",
52
+ /** #667085 — Gray/500 · file size, muted text */
53
+ 500: "#667085",
54
+ /** #D0D5DD — Gray/300 · upload drop-zone default border */
55
+ 300: "#D0D5DD",
56
+ /** #EAECF0 — Gray/200 · file item border, progress track */
57
+ 200: "#EAECF0"
51
58
  },
52
- letterSpacing: {
53
- /** 0 — all tokens */
54
- none: 0,
55
- /** @deprecated use letterSpacing.none */
56
- button: 0
59
+ /** Pagination tokens — Pagination (3203:662) */
60
+ pagination: {
61
+ /** #0F6C13 — active item bg (= brand.secondary.base) */
62
+ active: "#0F6C13",
63
+ /** #CED4DA — Gray/Gray 4 · inactive item border, control border */
64
+ border: "#CED4DA",
65
+ /** #101113 — Dark/Dark 9 · page number text */
66
+ text: "#101113"
67
+ },
68
+ /** Alert tokens — AlertSticky (3114:1706) */
69
+ alert: {
70
+ default: { bg: "#F9F8FC", border: "#DCE5DE", title: "#524E69" },
71
+ info: { bg: "#F4F9FF", border: "#C9E2FE", title: "#2472BA" },
72
+ success: { bg: "#F5FBF7", border: "#CAE7D5", title: "#2C7D56" },
73
+ warning: { bg: "#FFF9E9", border: "#FFDB90", title: "#A36A00" },
74
+ error: { bg: "#FFF8F6", border: "#FFCABF", title: "#DE0000" }
75
+ },
76
+ /** Shadow tokens */
77
+ shadow: {
78
+ /** 0px 1px 12px 0px rgba(25,27,35,0.15) — BS-Popper */
79
+ popper: "0px 1px 12px 0px rgba(25,27,35,0.15)"
80
+ },
81
+ /** Blue primary scale — FileUpload / Primary/x00 tokens */
82
+ primary: {
83
+ /** #154FEF — Primary/600 · "browse" link color */
84
+ 600: "#154FEF",
85
+ /** #2970FF — Primary/500 · active drop-zone border, progress fill */
86
+ 500: "#2970FF",
87
+ /** #5280FF — Primary/400 */
88
+ 400: "#5280FF",
89
+ /** #B2C9FF — Primary/200 · file badge background */
90
+ 200: "#B2C9FF",
91
+ /** #DBE8FF — Primary/100 · file badge ring, active drop-zone bg */
92
+ 100: "#DBE8FF"
57
93
  }
58
94
  };
59
95
  export {
60
- a as typography
96
+ F as colors
61
97
  };
62
98
  //# sourceMappingURL=index.esm3.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm3.js","sources":["../tokens/typography.ts"],"sourcesContent":["/**\n * Typography tokens — extracted directly from Figma (VekfomfsZU4q2iaY1j4VXP)\n * Tokens: Body Texts/Button, Body Texts/Label, Body Texts/Text, Body Texts/Text Small,\n * Paragraph/SM/Regular, Paragraph/XS/Regular (FileUpload 3210:3538),\n * Text/xs, Text/md, Text/lg (Pagination 3203:662)\n */\n\nexport const typography = {\n fontFamily: {\n /** Clash Grotesk Variablebuttons, inputs, labels */\n base: \"'Clash Grotesk Variable', sans-serif\",\n /** InterFileUpload text (Paragraph/SM and Paragraph/XS) */\n inter: \"'Inter', sans-serif\",\n /** RobotoPagination numbers and controls */\n roboto: \"'Roboto', sans-serif\",\n /** Clash Display Variable Steps step number (Headings/H4 · 21px) */\n clashDisplay: \"'Clash Display Variable', sans-serif\",\n /** @deprecated use fontFamily.base */\n button: \"'Clash Grotesk Variable', sans-serif\",\n },\n fontWeight: {\n regular: 400,\n semibold: 600,\n },\n fontSize: {\n /** 16pxBody Texts/Button & Body Texts/Text */\n md: '1rem',\n /** 14pxBody Texts/Label & Body Texts/Text Small */\n sm: '0.875rem',\n /** 12pxParagraph/SM/Regular (Inter · FileUpload) */\n bodySm: '0.75rem',\n /** 10pxParagraph/XS/Regular (Inter · FileUpload) */\n bodyXs: '0.625rem',\n /** 12pxText/xs (Roboto · Pagination xs) */\n paginationXs: '0.75rem',\n /** 16pxText/md (Roboto · Pagination md) */\n paginationMd: '1rem',\n /** 18pxText/lg (Roboto · Pagination lg) */\n paginationLg: '1.125rem',\n /** @deprecated use fontSize.md */\n button: '1rem',\n },\n lineHeight: {\n /** 1.5 Body Texts/Button */\n button: 1.5,\n /** 1.43 Body Texts/Label (Semibold 14px) */\n label: 1.43,\n /** 1.30 Body Texts/Text & Body Texts/Text Small */\n text: 1.3,\n /** 1.60Paragraph/SM/Regular & Paragraph/XS/Regular (Inter · FileUpload) */\n body: 1.6,\n /** 14pxText/xs (Roboto · Pagination xs) */\n paginationXs: '14px',\n /** 18pxText/md (Roboto · Pagination md) */\n paginationMd: '18px',\n /** 20pxText/lg (Roboto · Pagination lg) */\n paginationLg: '20px',\n },\n letterSpacing: {\n /** 0all tokens */\n none: 0,\n /** @deprecated use letterSpacing.none */\n button: 0,\n },\n} as const;\n\nexport type Typography = typeof typography;\n"],"names":["typography"],"mappings":"AAOO,MAAMA,IAAa;AAAA,EACxB,YAAY;AAAA;AAAA,IAEV,MAAM;AAAA;AAAA,IAEN,OAAO;AAAA;AAAA,IAEP,QAAQ;AAAA;AAAA,IAER,cAAc;AAAA;AAAA,IAEd,QAAQ;AAAA,EAAA;AAAA,EAEV,YAAY;AAAA,IACV,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEZ,UAAU;AAAA;AAAA,IAER,IAAI;AAAA;AAAA,IAEJ,IAAI;AAAA;AAAA,IAEJ,QAAQ;AAAA;AAAA,IAER,QAAQ;AAAA;AAAA,IAER,cAAc;AAAA;AAAA,IAEd,cAAc;AAAA;AAAA,IAEd,cAAc;AAAA;AAAA,IAEd,QAAQ;AAAA,EAAA;AAAA,EAEV,YAAY;AAAA;AAAA,IAEV,QAAQ;AAAA;AAAA,IAER,OAAO;AAAA;AAAA,IAEP,MAAM;AAAA;AAAA,IAEN,MAAM;AAAA;AAAA,IAEN,cAAc;AAAA;AAAA,IAEd,cAAc;AAAA;AAAA,IAEd,cAAc;AAAA,EAAA;AAAA,EAEhB,eAAe;AAAA;AAAA,IAEb,MAAM;AAAA;AAAA,IAEN,QAAQ;AAAA,EAAA;AAEZ;"}
1
+ {"version":3,"file":"index.esm3.js","sources":["../tokens/colors.ts"],"sourcesContent":["/**\n * Color tokens — extracted directly from Figma (VekfomfsZU4q2iaY1j4VXP)\n * Nodes: BtnsBase (3107:5509), TextField (3105:3885), BaseCheckRadio (3106:4752),\n * FileUpload (3210:3538), Pagination (3203:662), NavPrimary (3554:548),\n * Modal (5139:1464), AlertSticky (3114:1706)\n */\n\nexport const colors = {\n brand: {\n primary: {\n /** #203224 Secondary button bg; Fill button text; Check/Radio checked bg */\n base: '#203224',\n },\n secondary: {\n /** #0F6C13 Outline button border & text */\n base: '#0F6C13',\n },\n tertiary: {\n /** #E7DA10 — Fill button background */\n base: '#E7DA10',\n },\n },\n default: {\n /** #FFFFFF — Secondary button text; input background */\n white: '#FFFFFF',\n /** #524E69Disabled text; input active/error text */\n textDark: '#524E69',\n /** #9490AC — Placeholder; input hover/active border; Grayscale/600 */\n textMedium: '#9490AC',\n /** #EFEEF2Disabled background; input focus ring; Grayscale/100 */\n disabled: '#EFEEF2',\n /** #DCE5DE Default input border; Check/Radio border */\n border: '#DCE5DE',\n /** #E0DEED — Grayscale/200 · Default step background */\n stepDefault: '#E0DEED',\n /** #F5F5F5 — Default Colors/White Cloud · Nav sidebar background */\n whiteCloud: '#F5F5F5',\n /** #E0DEED Grayscale/200 · Modal slot border */\n modalBorder: '#E0DEED',\n /** #757094 — Default Colors/Text medium · Modal slot text, option labels */\n modalTextMedium: '#757094',\n },\n message: {\n info: {\n /** #2472BA — Text button text */\n base: '#2472BA',\n },\n danger: {\n /** #FF3A29 — Error input border & message */\n base: '#FF3A29',\n },\n },\n /** Gray scale — FileUpload / Gray/x00 tokens */\n gray: {\n /** #101828Gray/900 · file name, body text */\n 900: '#101828',\n /** #475467Gray/600 · action icon color */\n 600: '#475467',\n /** #667085Gray/500 · file size, muted text */\n 500: '#667085',\n /** #D0D5DDGray/300 · upload drop-zone default border */\n 300: '#D0D5DD',\n /** #EAECF0Gray/200 · file item border, progress track */\n 200: '#EAECF0',\n },\n /** Pagination tokens Pagination (3203:662) */\n pagination: {\n /** #0F6C13 — active item bg (= brand.secondary.base) */\n active: '#0F6C13',\n /** #CED4DAGray/Gray 4 · inactive item border, control border */\n border: '#CED4DA',\n /** #101113 Dark/Dark 9 · page number text */\n text: '#101113',\n },\n /** Alert tokens — AlertSticky (3114:1706) */\n alert: {\n default: { bg: '#F9F8FC', border: '#DCE5DE', title: '#524E69' },\n info: { bg: '#F4F9FF', border: '#C9E2FE', title: '#2472BA' },\n success: { bg: '#F5FBF7', border: '#CAE7D5', title: '#2C7D56' },\n warning: { bg: '#FFF9E9', border: '#FFDB90', title: '#A36A00' },\n error: { bg: '#FFF8F6', border: '#FFCABF', title: '#DE0000' },\n },\n /** Shadow tokens */\n shadow: {\n /** 0px 1px 12px 0px rgba(25,27,35,0.15)BS-Popper */\n popper: '0px 1px 12px 0px rgba(25,27,35,0.15)',\n },\n /** Blue primary scale — FileUpload / Primary/x00 tokens */\n primary: {\n /** #154FEFPrimary/600 · \"browse\" link color */\n 600: '#154FEF',\n /** #2970FFPrimary/500 · active drop-zone border, progress fill */\n 500: '#2970FF',\n /** #5280FFPrimary/400 */\n 400: '#5280FF',\n /** #B2C9FFPrimary/200 · file badge background */\n 200: '#B2C9FF',\n /** #DBE8FF Primary/100 · file badge ring, active drop-zone bg */\n 100: '#DBE8FF',\n },\n} as const;\n\nexport type Colors = typeof colors;\n"],"names":["colors"],"mappings":"AAOO,MAAMA,IAAS;AAAA,EACpB,OAAO;AAAA,IACL,SAAS;AAAA;AAAA,MAEP,MAAM;AAAA,IAAA;AAAA,IAER,WAAW;AAAA;AAAA,MAET,MAAM;AAAA,IAAA;AAAA,IAER,UAAU;AAAA;AAAA,MAER,MAAM;AAAA,IAAA;AAAA,EACR;AAAA,EAEF,SAAS;AAAA;AAAA,IAEP,OAAO;AAAA;AAAA,IAEP,UAAU;AAAA;AAAA,IAEV,YAAY;AAAA;AAAA,IAEZ,UAAU;AAAA;AAAA,IAEV,QAAQ;AAAA;AAAA,IAER,aAAa;AAAA;AAAA,IAEb,YAAY;AAAA;AAAA,IAEZ,aAAa;AAAA;AAAA,IAEb,iBAAiB;AAAA,EAAA;AAAA,EAEnB,SAAS;AAAA,IACP,MAAM;AAAA;AAAA,MAEJ,MAAM;AAAA,IAAA;AAAA,IAER,QAAQ;AAAA;AAAA,MAEN,MAAM;AAAA,IAAA;AAAA,EACR;AAAA;AAAA,EAGF,MAAM;AAAA;AAAA,IAEJ,KAAK;AAAA;AAAA,IAEL,KAAK;AAAA;AAAA,IAEL,KAAK;AAAA;AAAA,IAEL,KAAK;AAAA;AAAA,IAEL,KAAK;AAAA,EAAA;AAAA;AAAA,EAGP,YAAY;AAAA;AAAA,IAEV,QAAQ;AAAA;AAAA,IAER,QAAQ;AAAA;AAAA,IAER,MAAM;AAAA,EAAA;AAAA;AAAA,EAGR,OAAO;AAAA,IACL,SAAS,EAAE,IAAI,WAAW,QAAQ,WAAW,OAAO,UAAA;AAAA,IACpD,MAAS,EAAE,IAAI,WAAW,QAAQ,WAAW,OAAO,UAAA;AAAA,IACpD,SAAS,EAAE,IAAI,WAAW,QAAQ,WAAW,OAAO,UAAA;AAAA,IACpD,SAAS,EAAE,IAAI,WAAW,QAAQ,WAAW,OAAO,UAAA;AAAA,IACpD,OAAS,EAAE,IAAI,WAAW,QAAQ,WAAW,OAAO,UAAA;AAAA,EAAU;AAAA;AAAA,EAGhE,QAAQ;AAAA;AAAA,IAEN,QAAQ;AAAA,EAAA;AAAA;AAAA,EAGV,SAAS;AAAA;AAAA,IAEP,KAAK;AAAA;AAAA,IAEL,KAAK;AAAA;AAAA,IAEL,KAAK;AAAA;AAAA,IAEL,KAAK;AAAA;AAAA,IAEL,KAAK;AAAA,EAAA;AAET;"}
@@ -1,115 +1,62 @@
1
- import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
- import t from "./index.esm18.js";
3
- const p = {
4
- Default: "#9490AC",
5
- Info: "#2472BA",
6
- Success: "#2C7D56",
7
- Warning: "#A36A00",
8
- Error: "#DE0000"
1
+ const a = {
2
+ fontFamily: {
3
+ /** Clash Grotesk Variable — buttons, inputs, labels */
4
+ base: "'Clash Grotesk Variable', sans-serif",
5
+ /** Inter — FileUpload text (Paragraph/SM and Paragraph/XS) */
6
+ inter: "'Inter', sans-serif",
7
+ /** Roboto — Pagination numbers and controls */
8
+ roboto: "'Roboto', sans-serif",
9
+ /** Clash Display Variable — Steps step number (Headings/H4 · 21px) */
10
+ clashDisplay: "'Clash Display Variable', sans-serif",
11
+ /** @deprecated use fontFamily.base */
12
+ button: "'Clash Grotesk Variable', sans-serif"
13
+ },
14
+ fontWeight: {
15
+ regular: 400,
16
+ semibold: 600
17
+ },
18
+ fontSize: {
19
+ /** 16px — Body Texts/Button & Body Texts/Text */
20
+ md: "1rem",
21
+ /** 14px — Body Texts/Label & Body Texts/Text Small */
22
+ sm: "0.875rem",
23
+ /** 12px — Paragraph/SM/Regular (Inter · FileUpload) */
24
+ bodySm: "0.75rem",
25
+ /** 10px — Paragraph/XS/Regular (Inter · FileUpload) */
26
+ bodyXs: "0.625rem",
27
+ /** 12px — Text/xs (Roboto · Pagination xs) */
28
+ paginationXs: "0.75rem",
29
+ /** 16px — Text/md (Roboto · Pagination md) */
30
+ paginationMd: "1rem",
31
+ /** 18px — Text/lg (Roboto · Pagination lg) */
32
+ paginationLg: "1.125rem",
33
+ /** @deprecated use fontSize.md */
34
+ button: "1rem"
35
+ },
36
+ lineHeight: {
37
+ /** 1.5 — Body Texts/Button */
38
+ button: 1.5,
39
+ /** 1.43 — Body Texts/Label (Semibold 14px) */
40
+ label: 1.43,
41
+ /** 1.30 — Body Texts/Text & Body Texts/Text Small */
42
+ text: 1.3,
43
+ /** 1.60 — Paragraph/SM/Regular & Paragraph/XS/Regular (Inter · FileUpload) */
44
+ body: 1.6,
45
+ /** 14px — Text/xs (Roboto · Pagination xs) */
46
+ paginationXs: "14px",
47
+ /** 18px — Text/md (Roboto · Pagination md) */
48
+ paginationMd: "18px",
49
+ /** 20px — Text/lg (Roboto · Pagination lg) */
50
+ paginationLg: "20px"
51
+ },
52
+ letterSpacing: {
53
+ /** 0 — all tokens */
54
+ none: 0,
55
+ /** @deprecated use letterSpacing.none */
56
+ button: 0
57
+ }
9
58
  };
10
- function k({ color: e }) {
11
- return /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
12
- /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "9", fill: e }),
13
- /* @__PURE__ */ r("path", { d: "M10 9v5", stroke: "#fff", strokeWidth: "1.75", strokeLinecap: "round" }),
14
- /* @__PURE__ */ r("circle", { cx: "10", cy: "6.5", r: "1", fill: "#fff" })
15
- ] });
16
- }
17
- function v({ color: e }) {
18
- return /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
19
- /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "9", fill: e }),
20
- /* @__PURE__ */ r("path", { d: "M6 10.5l3 3 5-5.5", stroke: "#fff", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" })
21
- ] });
22
- }
23
- function x({ color: e }) {
24
- return /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
25
- /* @__PURE__ */ r("path", { d: "M10 2.5L18 17H2L10 2.5Z", fill: e }),
26
- /* @__PURE__ */ r("path", { d: "M10 8v4", stroke: "#fff", strokeWidth: "1.75", strokeLinecap: "round" }),
27
- /* @__PURE__ */ r("circle", { cx: "10", cy: "14.5", r: "1", fill: "#fff" })
28
- ] });
29
- }
30
- function W({ color: e }) {
31
- return /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: [
32
- /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "9", fill: e }),
33
- /* @__PURE__ */ r("path", { d: "M7 7l6 6M13 7l-6 6", stroke: "#fff", strokeWidth: "1.75", strokeLinecap: "round" })
34
- ] });
35
- }
36
- function m() {
37
- return /* @__PURE__ */ r("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ r("path", { d: "M15 5L5 15M5 5l10 10", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round" }) });
38
- }
39
- function S({ type: e }) {
40
- const n = p[e];
41
- return e === "Success" ? /* @__PURE__ */ r(v, { color: n }) : e === "Warning" ? /* @__PURE__ */ r(x, { color: n }) : e === "Error" ? /* @__PURE__ */ r(W, { color: n }) : /* @__PURE__ */ r(k, { color: n });
42
- }
43
- const I = {
44
- Default: t.typeDefault,
45
- Info: t.typeInfo,
46
- Success: t.typeSuccess,
47
- Warning: t.typeWarning,
48
- Error: t.typeError
49
- }, M = {
50
- Default: t.titleDefault,
51
- Info: t.titleInfo,
52
- Success: t.titleSuccess,
53
- Warning: t.titleWarning,
54
- Error: t.titleError
55
- }, w = {
56
- Default: "status",
57
- Info: "status",
58
- Success: "status",
59
- Warning: "alert",
60
- Error: "alert"
61
- };
62
- function B({
63
- type: e = "Default",
64
- title: n,
65
- message: c,
66
- addonLeft: s = !0,
67
- closeIcon: o = !0,
68
- actions: l = !1,
69
- actionLabel: a = "Ação",
70
- onClose: f,
71
- onAction: u,
72
- className: d
73
- }) {
74
- const h = [t.alert, I[e], d].filter(Boolean).join(" "), g = l || o;
75
- return /* @__PURE__ */ i(
76
- "div",
77
- {
78
- className: h,
79
- role: w[e],
80
- "aria-live": e === "Warning" || e === "Error" ? "assertive" : "polite",
81
- children: [
82
- s && /* @__PURE__ */ r("span", { className: t.iconSlot, children: /* @__PURE__ */ r(S, { type: e }) }),
83
- /* @__PURE__ */ i("div", { className: t.textContent, children: [
84
- n && /* @__PURE__ */ r("p", { className: [t.title, M[e]].join(" "), children: n }),
85
- /* @__PURE__ */ r("p", { className: t.message, children: c })
86
- ] }),
87
- g && /* @__PURE__ */ i("div", { className: t.rightSlot, children: [
88
- l && /* @__PURE__ */ r(
89
- "button",
90
- {
91
- type: "button",
92
- className: t.actionBtn,
93
- onClick: u,
94
- children: a
95
- }
96
- ),
97
- o && /* @__PURE__ */ r(
98
- "button",
99
- {
100
- type: "button",
101
- className: t.closeBtn,
102
- onClick: f,
103
- "aria-label": "Fechar alerta",
104
- children: /* @__PURE__ */ r(m, {})
105
- }
106
- )
107
- ] })
108
- ]
109
- }
110
- );
111
- }
112
59
  export {
113
- B as Alert
60
+ a as typography
114
61
  };
115
62
  //# sourceMappingURL=index.esm4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm4.js","sources":["../components/Alert/Alert.tsx"],"sourcesContent":["import React from 'react';\nimport styles from './Alert.module.css';\n\n// ─── Types ────────────────────────────────────────────────────────────────────\n\nexport type AlertType = 'Default' | 'Info' | 'Success' | 'Warning' | 'Error';\n\nexport interface AlertProps {\n type?: AlertType;\n title?: string;\n message: string;\n /** Show icon on the left */\n addonLeft?: boolean;\n /** Show close (×) button on the right */\n closeIcon?: boolean;\n /** Show action button */\n actions?: boolean;\n /** Label for the action button (defaults to \"Ação\") */\n actionLabel?: string;\n onClose?: () => void;\n onAction?: () => void;\n className?: string;\n}\n\n// ─── Inline SVG icons ─────────────────────────────────────────────────────────\n\nconst iconColor: Record<AlertType, string> = {\n Default: '#9490AC',\n Info: '#2472BA',\n Success: '#2C7D56',\n Warning: '#A36A00',\n Error: '#DE0000',\n};\n\n/** Info-circle icon Default & Info */\nfunction IconInfo({ color }: { color: string }) {\n return (\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" aria-hidden=\"true\">\n <circle cx=\"10\" cy=\"10\" r=\"9\" fill={color} />\n <path d=\"M10 9v5\" stroke=\"#fff\" strokeWidth=\"1.75\" strokeLinecap=\"round\" />\n <circle cx=\"10\" cy=\"6.5\" r=\"1\" fill=\"#fff\" />\n </svg>\n );\n}\n\n/** Check-circle icon Success */\nfunction IconSuccess({ color }: { color: string }) {\n return (\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" aria-hidden=\"true\">\n <circle cx=\"10\" cy=\"10\" r=\"9\" fill={color} />\n <path d=\"M6 10.5l3 3 5-5.5\" stroke=\"#fff\" strokeWidth=\"1.75\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n </svg>\n );\n}\n\n/** Warning-triangle iconWarning */\nfunction IconWarning({ color }: { color: string }) {\n return (\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" aria-hidden=\"true\">\n <path d=\"M10 2.5L18 17H2L10 2.5Z\" fill={color} />\n <path d=\"M10 8v4\" stroke=\"#fff\" strokeWidth=\"1.75\" strokeLinecap=\"round\" />\n <circle cx=\"10\" cy=\"14.5\" r=\"1\" fill=\"#fff\" />\n </svg>\n );\n}\n\n/** X-circle icon Error */\nfunction IconError({ color }: { color: string }) {\n return (\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" aria-hidden=\"true\">\n <circle cx=\"10\" cy=\"10\" r=\"9\" fill={color} />\n <path d=\"M7 7l6 6M13 7l-6 6\" stroke=\"#fff\" strokeWidth=\"1.75\" strokeLinecap=\"round\" />\n </svg>\n );\n}\n\n/** Close × icon */\nfunction IconClose() {\n return (\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" aria-hidden=\"true\">\n <path d=\"M15 5L5 15M5 5l10 10\" stroke=\"currentColor\" strokeWidth=\"1.75\" strokeLinecap=\"round\" />\n </svg>\n );\n}\n\nfunction TypeIcon({ type }: { type: AlertType }) {\n const color = iconColor[type];\n if (type === 'Success') return <IconSuccess color={color} />;\n if (type === 'Warning') return <IconWarning color={color} />;\n if (type === 'Error') return <IconError color={color} />;\n return <IconInfo color={color} />;\n}\n\n// ─── Component ────────────────────────────────────────────────────────────────\n\nconst typeStyleMap: Record<AlertType, string> = {\n Default: styles.typeDefault,\n Info: styles.typeInfo,\n Success: styles.typeSuccess,\n Warning: styles.typeWarning,\n Error: styles.typeError,\n};\n\nconst titleStyleMap: Record<AlertType, string> = {\n Default: styles.titleDefault,\n Info: styles.titleInfo,\n Success: styles.titleSuccess,\n Warning: styles.titleWarning,\n Error: styles.titleError,\n};\n\nconst ariaRoleMap: Record<AlertType, string> = {\n Default: 'status',\n Info: 'status',\n Success: 'status',\n Warning: 'alert',\n Error: 'alert',\n};\n\nexport function Alert({\n type = 'Default',\n title,\n message,\n addonLeft = true,\n closeIcon = true,\n actions = false,\n actionLabel = 'Ação',\n onClose,\n onAction,\n className,\n}: AlertProps) {\n const rootClass = [styles.alert, typeStyleMap[type], className]\n .filter(Boolean)\n .join(' ');\n\n const hasRightSlot = actions || closeIcon;\n\n return (\n <div\n className={rootClass}\n role={ariaRoleMap[type]}\n aria-live={type === 'Warning' || type === 'Error' ? 'assertive' : 'polite'}\n >\n {/* Left icon */}\n {addonLeft && (\n <span className={styles.iconSlot}>\n <TypeIcon type={type} />\n </span>\n )}\n\n {/* Text */}\n <div className={styles.textContent}>\n {title && (\n <p className={[styles.title, titleStyleMap[type]].join(' ')}>\n {title}\n </p>\n )}\n <p className={styles.message}>{message}</p>\n </div>\n\n {/* Right: action + close */}\n {hasRightSlot && (\n <div className={styles.rightSlot}>\n {actions && (\n <button\n type=\"button\"\n className={styles.actionBtn}\n onClick={onAction}\n >\n {actionLabel}\n </button>\n )}\n {closeIcon && (\n <button\n type=\"button\"\n className={styles.closeBtn}\n onClick={onClose}\n aria-label=\"Fechar alerta\"\n >\n <IconClose />\n </button>\n )}\n </div>\n )}\n </div>\n );\n}\n"],"names":["iconColor","IconInfo","color","jsxs","jsx","IconSuccess","IconWarning","IconError","IconClose","TypeIcon","type","typeStyleMap","styles","titleStyleMap","ariaRoleMap","Alert","title","message","addonLeft","closeIcon","actions","actionLabel","onClose","onAction","className","rootClass","hasRightSlot"],"mappings":"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"}
1
+ {"version":3,"file":"index.esm4.js","sources":["../tokens/typography.ts"],"sourcesContent":["/**\n * Typography tokens extracted directly from Figma (VekfomfsZU4q2iaY1j4VXP)\n * Tokens: Body Texts/Button, Body Texts/Label, Body Texts/Text, Body Texts/Text Small,\n * Paragraph/SM/Regular, Paragraph/XS/Regular (FileUpload 3210:3538),\n * Text/xs, Text/md, Text/lg (Pagination 3203:662)\n */\n\nexport const typography = {\n fontFamily: {\n /** Clash Grotesk Variablebuttons, inputs, labels */\n base: \"'Clash Grotesk Variable', sans-serif\",\n /** InterFileUpload text (Paragraph/SM and Paragraph/XS) */\n inter: \"'Inter', sans-serif\",\n /** Roboto Pagination numbers and controls */\n roboto: \"'Roboto', sans-serif\",\n /** Clash Display Variable Steps step number (Headings/H4 · 21px) */\n clashDisplay: \"'Clash Display Variable', sans-serif\",\n /** @deprecated use fontFamily.base */\n button: \"'Clash Grotesk Variable', sans-serif\",\n },\n fontWeight: {\n regular: 400,\n semibold: 600,\n },\n fontSize: {\n /** 16pxBody Texts/Button & Body Texts/Text */\n md: '1rem',\n /** 14px Body Texts/Label & Body Texts/Text Small */\n sm: '0.875rem',\n /** 12px Paragraph/SM/Regular (Inter · FileUpload) */\n bodySm: '0.75rem',\n /** 10px Paragraph/XS/Regular (Inter · FileUpload) */\n bodyXs: '0.625rem',\n /** 12px Text/xs (Roboto · Pagination xs) */\n paginationXs: '0.75rem',\n /** 16px Text/md (Roboto · Pagination md) */\n paginationMd: '1rem',\n /** 18px Text/lg (Roboto · Pagination lg) */\n paginationLg: '1.125rem',\n /** @deprecated use fontSize.md */\n button: '1rem',\n },\n lineHeight: {\n /** 1.5 Body Texts/Button */\n button: 1.5,\n /** 1.43 Body Texts/Label (Semibold 14px) */\n label: 1.43,\n /** 1.30 Body Texts/Text & Body Texts/Text Small */\n text: 1.3,\n /** 1.60 Paragraph/SM/Regular & Paragraph/XS/Regular (Inter · FileUpload) */\n body: 1.6,\n /** 14px Text/xs (Roboto · Pagination xs) */\n paginationXs: '14px',\n /** 18px Text/md (Roboto · Pagination md) */\n paginationMd: '18px',\n /** 20px Text/lg (Roboto · Pagination lg) */\n paginationLg: '20px',\n },\n letterSpacing: {\n /** 0 all tokens */\n none: 0,\n /** @deprecated use letterSpacing.none */\n button: 0,\n },\n} as const;\n\nexport type Typography = typeof typography;\n"],"names":["typography"],"mappings":"AAOO,MAAMA,IAAa;AAAA,EACxB,YAAY;AAAA;AAAA,IAEV,MAAM;AAAA;AAAA,IAEN,OAAO;AAAA;AAAA,IAEP,QAAQ;AAAA;AAAA,IAER,cAAc;AAAA;AAAA,IAEd,QAAQ;AAAA,EAAA;AAAA,EAEV,YAAY;AAAA,IACV,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEZ,UAAU;AAAA;AAAA,IAER,IAAI;AAAA;AAAA,IAEJ,IAAI;AAAA;AAAA,IAEJ,QAAQ;AAAA;AAAA,IAER,QAAQ;AAAA;AAAA,IAER,cAAc;AAAA;AAAA,IAEd,cAAc;AAAA;AAAA,IAEd,cAAc;AAAA;AAAA,IAEd,QAAQ;AAAA,EAAA;AAAA,EAEV,YAAY;AAAA;AAAA,IAEV,QAAQ;AAAA;AAAA,IAER,OAAO;AAAA;AAAA,IAEP,MAAM;AAAA;AAAA,IAEN,MAAM;AAAA;AAAA,IAEN,cAAc;AAAA;AAAA,IAEd,cAAc;AAAA;AAAA,IAEd,cAAc;AAAA,EAAA;AAAA,EAEhB,eAAe;AAAA;AAAA,IAEb,MAAM;AAAA;AAAA,IAEN,QAAQ;AAAA,EAAA;AAEZ;"}