daleui 0.0.2 → 0.0.5

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 (176) hide show
  1. package/README.md +43 -0
  2. package/dist/check-DEVerfH5.js +72 -0
  3. package/dist/components/Box/Box.d.ts +34 -0
  4. package/dist/components/Box/Box.js +34 -0
  5. package/dist/components/Button/Button.d.ts +37 -0
  6. package/dist/components/Button/Button.js +367 -0
  7. package/dist/components/Card/Card.d.ts +68 -0
  8. package/dist/components/Card/Card.js +132 -0
  9. package/dist/components/Checkbox/Checkbox.d.ts +34 -0
  10. package/dist/components/Checkbox/Checkbox.js +657 -0
  11. package/dist/components/Flex/Flex.d.ts +361 -0
  12. package/dist/components/Flex/Flex.js +65 -0
  13. package/dist/components/HStack/HStack.d.ts +23 -0
  14. package/dist/components/HStack/HStack.js +35 -0
  15. package/dist/components/Heading/Heading.d.ts +33 -0
  16. package/dist/components/Heading/Heading.js +67 -0
  17. package/dist/components/Icon/Icon.d.ts +20 -0
  18. package/dist/components/Icon/Icon.js +325 -0
  19. package/dist/components/Label/Label.d.ts +35 -0
  20. package/dist/components/Label/Label.js +74 -0
  21. package/dist/components/Link/Link.d.ts +33 -0
  22. package/dist/components/Link/Link.js +176 -0
  23. package/dist/components/PasswordInput/PasswordInput.d.ts +17 -0
  24. package/dist/components/PasswordInput/PasswordInput.js +151 -0
  25. package/dist/components/RadioGroup/RadioGroup.d.ts +82 -0
  26. package/dist/components/RadioGroup/RadioGroup.js +713 -0
  27. package/dist/components/Select/Select.d.ts +39 -0
  28. package/dist/components/Select/Select.js +222 -0
  29. package/dist/components/Tag/Tag.d.ts +26 -0
  30. package/dist/components/Tag/Tag.js +189 -0
  31. package/dist/components/Text/Text.d.ts +22 -0
  32. package/dist/components/Text/Text.js +115 -0
  33. package/dist/components/TextInput/TextInput.d.ts +21 -0
  34. package/dist/components/TextInput/TextInput.js +106 -0
  35. package/dist/components/VStack/VStack.d.ts +23 -0
  36. package/dist/components/VStack/VStack.js +35 -0
  37. package/dist/css-QiVVeZaw.js +212 -0
  38. package/dist/cva-BrKodHDH.js +57 -0
  39. package/dist/cx-DN21T1EH.js +9 -0
  40. package/dist/hstack-cCrHxysi.js +43 -0
  41. package/dist/index.css +1 -0
  42. package/dist/index.d.ts +18 -0
  43. package/dist/index.js +37 -0
  44. package/dist/tokens/colors.d.ts +4 -0
  45. package/dist/tokens/iconography.d.ts +45 -0
  46. package/dist/tokens/spacing.d.ts +42 -0
  47. package/dist/tokens/typography.d.ts +312 -0
  48. package/dist/use-locale-context-DYXE7B4r.js +775 -0
  49. package/package.json +62 -39
  50. package/styled-system/css/conditions.mjs +36 -0
  51. package/styled-system/css/css.d.ts +22 -0
  52. package/styled-system/css/css.mjs +45 -0
  53. package/styled-system/css/cva.d.ts +6 -0
  54. package/styled-system/css/cva.mjs +87 -0
  55. package/styled-system/css/cx.d.ts +5 -0
  56. package/styled-system/css/cx.mjs +15 -0
  57. package/styled-system/css/index.d.ts +5 -0
  58. package/styled-system/css/index.mjs +4 -0
  59. package/styled-system/css/sva.d.ts +4 -0
  60. package/styled-system/css/sva.mjs +46 -0
  61. package/styled-system/helpers.mjs +316 -0
  62. package/styled-system/patterns/aspect-ratio.d.ts +20 -0
  63. package/styled-system/patterns/aspect-ratio.mjs +38 -0
  64. package/styled-system/patterns/bleed.d.ts +21 -0
  65. package/styled-system/patterns/bleed.mjs +24 -0
  66. package/styled-system/patterns/box.d.ts +20 -0
  67. package/styled-system/patterns/box.mjs +15 -0
  68. package/styled-system/patterns/center.d.ts +20 -0
  69. package/styled-system/patterns/center.mjs +21 -0
  70. package/styled-system/patterns/circle.d.ts +20 -0
  71. package/styled-system/patterns/circle.mjs +25 -0
  72. package/styled-system/patterns/container.d.ts +20 -0
  73. package/styled-system/patterns/container.mjs +21 -0
  74. package/styled-system/patterns/cq.d.ts +21 -0
  75. package/styled-system/patterns/cq.mjs +21 -0
  76. package/styled-system/patterns/divider.d.ts +22 -0
  77. package/styled-system/patterns/divider.mjs +25 -0
  78. package/styled-system/patterns/flex.d.ts +26 -0
  79. package/styled-system/patterns/flex.mjs +26 -0
  80. package/styled-system/patterns/float.d.ts +23 -0
  81. package/styled-system/patterns/float.mjs +52 -0
  82. package/styled-system/patterns/grid-item.d.ts +25 -0
  83. package/styled-system/patterns/grid-item.mjs +25 -0
  84. package/styled-system/patterns/grid.d.ts +24 -0
  85. package/styled-system/patterns/grid.mjs +27 -0
  86. package/styled-system/patterns/hstack.d.ts +21 -0
  87. package/styled-system/patterns/hstack.mjs +24 -0
  88. package/styled-system/patterns/index.d.ts +21 -0
  89. package/styled-system/patterns/index.mjs +20 -0
  90. package/styled-system/patterns/link-overlay.d.ts +20 -0
  91. package/styled-system/patterns/link-overlay.mjs +24 -0
  92. package/styled-system/patterns/spacer.d.ts +20 -0
  93. package/styled-system/patterns/spacer.mjs +21 -0
  94. package/styled-system/patterns/square.d.ts +20 -0
  95. package/styled-system/patterns/square.mjs +24 -0
  96. package/styled-system/patterns/stack.d.ts +23 -0
  97. package/styled-system/patterns/stack.mjs +24 -0
  98. package/styled-system/patterns/visually-hidden.d.ts +20 -0
  99. package/styled-system/patterns/visually-hidden.mjs +18 -0
  100. package/styled-system/patterns/vstack.d.ts +21 -0
  101. package/styled-system/patterns/vstack.mjs +24 -0
  102. package/styled-system/patterns/wrap.d.ts +24 -0
  103. package/styled-system/patterns/wrap.mjs +25 -0
  104. package/styled-system/tokens/index.d.ts +9 -0
  105. package/styled-system/tokens/index.mjs +3176 -0
  106. package/styled-system/tokens/tokens.d.ts +63 -0
  107. package/styled-system/types/composition.d.ts +224 -0
  108. package/styled-system/types/conditions.d.ts +310 -0
  109. package/styled-system/types/csstype.d.ts +21298 -0
  110. package/styled-system/types/global.d.ts +20 -0
  111. package/styled-system/types/index.d.ts +7 -0
  112. package/styled-system/types/parts.d.ts +8 -0
  113. package/styled-system/types/pattern.d.ts +78 -0
  114. package/styled-system/types/prop-type.d.ts +265 -0
  115. package/styled-system/types/recipe.d.ts +181 -0
  116. package/styled-system/types/selectors.d.ts +59 -0
  117. package/styled-system/types/static-css.d.ts +56 -0
  118. package/styled-system/types/style-props.d.ts +7504 -0
  119. package/styled-system/types/system-types.d.ts +269 -0
  120. package/.github/CODEOWNERS +0 -1
  121. package/.github/FUNDING.yml +0 -1
  122. package/.github/workflows/automation.yml +0 -13
  123. package/.github/workflows/chromatic.yml +0 -19
  124. package/.github/workflows/deployment.yml +0 -32
  125. package/.github/workflows/integration.yml +0 -15
  126. package/.github/workflows/storybook-tests.yml +0 -17
  127. package/.storybook/main.ts +0 -18
  128. package/.storybook/preview.ts +0 -29
  129. package/.storybook/test-runner.ts +0 -33
  130. package/bun.lock +0 -2099
  131. package/chromatic.config.json +0 -5
  132. package/eslint.config.js +0 -28
  133. package/index.html +0 -13
  134. package/panda.config.ts +0 -61
  135. package/postcss.config.cjs +0 -5
  136. package/public/logo.svg +0 -9
  137. package/src/App.tsx +0 -67
  138. package/src/assets/Discord.svg +0 -1
  139. package/src/assets/GitHub.svg +0 -1
  140. package/src/assets/LinkedIn.svg +0 -1
  141. package/src/assets/Medium.svg +0 -1
  142. package/src/assets/YouTube.svg +0 -1
  143. package/src/components/Button/Button.stories.tsx +0 -115
  144. package/src/components/Button/Button.test.tsx +0 -108
  145. package/src/components/Button/Button.tsx +0 -245
  146. package/src/components/Button/index.tsx +0 -1
  147. package/src/components/Checkbox/Checkbox.stories.tsx +0 -129
  148. package/src/components/Checkbox/Checkbox.test.tsx +0 -169
  149. package/src/components/Checkbox/Checkbox.tsx +0 -190
  150. package/src/components/Heading/Heading.stories.tsx +0 -72
  151. package/src/components/Heading/Heading.test.tsx +0 -55
  152. package/src/components/Heading/Heading.tsx +0 -73
  153. package/src/components/Heading/index.tsx +0 -1
  154. package/src/components/Icon/Icon.stories.tsx +0 -106
  155. package/src/components/Icon/Icon.test.tsx +0 -44
  156. package/src/components/Icon/Icon.tsx +0 -116
  157. package/src/components/Icon/index.tsx +0 -1
  158. package/src/components/Text/Text.stories.tsx +0 -65
  159. package/src/components/Text/Text.test.tsx +0 -54
  160. package/src/components/Text/Text.tsx +0 -93
  161. package/src/components/Text/index.tsx +0 -1
  162. package/src/index.css +0 -2
  163. package/src/main.tsx +0 -10
  164. package/src/setupTests.tsx +0 -5
  165. package/src/styles/globalCss.ts +0 -43
  166. package/src/tokens/colors.mdx +0 -100
  167. package/src/tokens/colors.ts +0 -288
  168. package/src/tokens/iconography.mdx +0 -15
  169. package/src/tokens/iconography.tsx +0 -54
  170. package/src/tokens/typography.mdx +0 -38
  171. package/src/tokens/typography.ts +0 -132
  172. package/src/vite-env.d.ts +0 -2
  173. package/tsconfig.app.json +0 -25
  174. package/tsconfig.json +0 -7
  175. package/tsconfig.node.json +0 -22
  176. package/vite.config.ts +0 -16
@@ -0,0 +1,325 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import "../../css-QiVVeZaw.js";
3
+ import { c as i } from "../../cva-BrKodHDH.js";
4
+ import * as e from "react";
5
+ import { c as t, C as h } from "../../check-DEVerfH5.js";
6
+ const m = [
7
+ [
8
+ "path",
9
+ {
10
+ d: "m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",
11
+ key: "1yiouv"
12
+ }
13
+ ],
14
+ ["circle", { cx: "12", cy: "8", r: "6", key: "1vp47v" }]
15
+ ], p = t("award", m);
16
+ const y = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], k = t("chevron-down", y);
17
+ const g = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], C = t("chevron-left", g);
18
+ const v = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], f = t("chevron-right", v);
19
+ const u = [
20
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
21
+ ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
22
+ ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
23
+ ], w = t("circle-alert", u);
24
+ const M = [
25
+ ["path", { d: "M12 6v6l4 2", key: "mmk7yg" }],
26
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
27
+ ], _ = t("clock", M);
28
+ const x = [
29
+ ["path", { d: "m18 16 4-4-4-4", key: "1inbqp" }],
30
+ ["path", { d: "m6 8-4 4 4 4", key: "15zrgr" }],
31
+ ["path", { d: "m14.5 4-5 16", key: "e7oirm" }]
32
+ ], H = t("code-xml", x);
33
+ const E = [
34
+ ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
35
+ ["path", { d: "M10 14 21 3", key: "gplh6r" }],
36
+ ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
37
+ ], b = t("external-link", E);
38
+ const z = [
39
+ ["path", { d: "m15 18-.722-3.25", key: "1j64jw" }],
40
+ ["path", { d: "M2 8a10.645 10.645 0 0 0 20 0", key: "1e7gxb" }],
41
+ ["path", { d: "m20 15-1.726-2.05", key: "1cnuld" }],
42
+ ["path", { d: "m4 15 1.726-2.05", key: "1dsqqd" }],
43
+ ["path", { d: "m9 18 .722-3.25", key: "ypw2yx" }]
44
+ ], N = t("eye-closed", z);
45
+ const V = [
46
+ [
47
+ "path",
48
+ {
49
+ d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
50
+ key: "ct8e1f"
51
+ }
52
+ ],
53
+ ["path", { d: "M14.084 14.158a3 3 0 0 1-4.242-4.242", key: "151rxh" }],
54
+ [
55
+ "path",
56
+ {
57
+ d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",
58
+ key: "13bj9a"
59
+ }
60
+ ],
61
+ ["path", { d: "m2 2 20 20", key: "1ooewy" }]
62
+ ], L = t("eye-off", V);
63
+ const $ = [
64
+ [
65
+ "path",
66
+ {
67
+ d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
68
+ key: "1nclc0"
69
+ }
70
+ ],
71
+ ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
72
+ ], S = t("eye", $);
73
+ const q = [
74
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
75
+ ["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
76
+ ["path", { d: "M2 12h20", key: "9i4pu4" }]
77
+ ], j = t("globe", q);
78
+ const Z = [
79
+ ["path", { d: "M11 14h2a2 2 0 0 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16", key: "1v1a37" }],
80
+ [
81
+ "path",
82
+ {
83
+ d: "m14.45 13.39 5.05-4.694C20.196 8 21 6.85 21 5.75a2.75 2.75 0 0 0-4.797-1.837.276.276 0 0 1-.406 0A2.75 2.75 0 0 0 11 5.75c0 1.2.802 2.248 1.5 2.946L16 11.95",
84
+ key: "fhfbnt"
85
+ }
86
+ ],
87
+ ["path", { d: "m2 15 6 6", key: "10dquu" }],
88
+ [
89
+ "path",
90
+ {
91
+ d: "m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a1 1 0 0 0-2.75-2.91",
92
+ key: "1x6kdw"
93
+ }
94
+ ]
95
+ ], A = t("hand-heart", Z);
96
+ const F = [
97
+ [
98
+ "path",
99
+ {
100
+ d: "M19.414 14.414C21 12.828 22 11.5 22 9.5a5.5 5.5 0 0 0-9.591-3.676.6.6 0 0 1-.818.001A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.535 5.362a2 2 0 0 0 2.879.052 2.12 2.12 0 0 0-.004-3 2.124 2.124 0 1 0 3-3 2.124 2.124 0 0 0 3.004 0 2 2 0 0 0 0-2.828l-1.881-1.882a2.41 2.41 0 0 0-3.409 0l-1.71 1.71a2 2 0 0 1-2.828 0 2 2 0 0 1 0-2.828l2.823-2.762",
101
+ key: "17lmqv"
102
+ }
103
+ ]
104
+ ], B = t("heart-handshake", F);
105
+ const I = [
106
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
107
+ ["path", { d: "M12 16v-4", key: "1dtifu" }],
108
+ ["path", { d: "M12 8h.01", key: "e9boi3" }]
109
+ ], R = t("info", I);
110
+ const D = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], T = t("loader-circle", D);
111
+ const G = [
112
+ ["path", { d: "M4 5h16", key: "1tepv9" }],
113
+ ["path", { d: "M4 12h16", key: "1lakjw" }],
114
+ ["path", { d: "M4 19h16", key: "1djgab" }]
115
+ ], U = t("menu", G);
116
+ const X = [
117
+ [
118
+ "path",
119
+ {
120
+ d: "M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",
121
+ key: "1sd12s"
122
+ }
123
+ ],
124
+ ["path", { d: "M8 12h.01", key: "czm47f" }],
125
+ ["path", { d: "M12 12h.01", key: "1mp3jc" }],
126
+ ["path", { d: "M16 12h.01", key: "1l6xoz" }]
127
+ ], Y = t("message-circle-more", X);
128
+ const O = [
129
+ [
130
+ "path",
131
+ {
132
+ d: "M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",
133
+ key: "1sd12s"
134
+ }
135
+ ]
136
+ ], K = t("message-circle", O);
137
+ const J = [
138
+ [
139
+ "path",
140
+ {
141
+ d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",
142
+ key: "kfwtm"
143
+ }
144
+ ]
145
+ ], P = t("moon", J);
146
+ const Q = [
147
+ ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
148
+ ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
149
+ ], W = t("search", Q);
150
+ const e1 = [
151
+ [
152
+ "path",
153
+ {
154
+ d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
155
+ key: "r04s7s"
156
+ }
157
+ ]
158
+ ], t1 = t("star", e1);
159
+ const c1 = [
160
+ ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
161
+ ["path", { d: "M12 2v2", key: "tus03m" }],
162
+ ["path", { d: "M12 20v2", key: "1lh1kg" }],
163
+ ["path", { d: "m4.93 4.93 1.41 1.41", key: "149t6j" }],
164
+ ["path", { d: "m17.66 17.66 1.41 1.41", key: "ptbguv" }],
165
+ ["path", { d: "M2 12h2", key: "1t8f8n" }],
166
+ ["path", { d: "M20 12h2", key: "1q8mjw" }],
167
+ ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
168
+ ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
169
+ ], o1 = t("sun", c1);
170
+ const a1 = [
171
+ [
172
+ "path",
173
+ {
174
+ d: "M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",
175
+ key: "emmmcr"
176
+ }
177
+ ],
178
+ ["path", { d: "M7 10v12", key: "1qc93n" }]
179
+ ], n1 = t("thumbs-up", a1);
180
+ const l1 = [
181
+ ["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2", key: "975kel" }],
182
+ ["circle", { cx: "12", cy: "7", r: "4", key: "17ys0d" }]
183
+ ], s1 = t("user", l1);
184
+ const r1 = [
185
+ ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
186
+ ["path", { d: "M16 3.128a4 4 0 0 1 0 7.744", key: "16gr8j" }],
187
+ ["path", { d: "M22 21v-2a4 4 0 0 0-3-3.87", key: "kshegd" }],
188
+ ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }]
189
+ ], d1 = t("users", r1);
190
+ const i1 = [
191
+ ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
192
+ ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
193
+ ], h1 = t("x", i1), m1 = (c) => /* @__PURE__ */ e.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...c }, /* @__PURE__ */ e.createElement("title", null, "Discord"), /* @__PURE__ */ e.createElement("path", { d: "M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z" })), p1 = (c) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 128 128", ...c }, /* @__PURE__ */ e.createElement("path", { fill: "#0acf83", d: "M45.5 129c11.9 0 21.5-9.6 21.5-21.5V86H45.5C33.6 86 24 95.6 24 107.5S33.6 129 45.5 129zm0 0" }), /* @__PURE__ */ e.createElement("path", { fill: "#a259ff", d: "M24 64.5C24 52.6 33.6 43 45.5 43H67v43H45.5C33.6 86 24 76.4 24 64.5zm0 0" }), /* @__PURE__ */ e.createElement("path", { fill: "#f24e1e", d: "M24 21.5C24 9.6 33.6 0 45.5 0H67v43H45.5C33.6 43 24 33.4 24 21.5zm0 0" }), /* @__PURE__ */ e.createElement("path", { fill: "#ff7262", d: "M67 0h21.5C100.4 0 110 9.6 110 21.5S100.4 43 88.5 43H67zm0 0" }), /* @__PURE__ */ e.createElement("path", { fill: "#1abcfe", d: "M110 64.5c0 11.9-9.6 21.5-21.5 21.5S67 76.4 67 64.5 76.6 43 88.5 43 110 52.6 110 64.5zm0 0" })), y1 = (c) => /* @__PURE__ */ e.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...c }, /* @__PURE__ */ e.createElement("title", null, "GitHub"), /* @__PURE__ */ e.createElement("path", { d: "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" })), k1 = (c) => /* @__PURE__ */ e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...c }, /* @__PURE__ */ e.createElement("path", { d: "M19 2C20.6569 2 22 3.34315 22 5V19C22 20.6569 20.6569 22 19 22H5C3.34315 22 2 20.6569 2 19V5C2 3.34315 3.34315 2 5 2H19ZM5 4C4.44772 4 4 4.44772 4 5V19C4 19.5523 4.44771 20 5 20H19C19.5523 20 20 19.5523 20 19V5C20 4.44771 19.5523 4 19 4H5ZM9.91016 16.6377H16.6846V18.0459H8.16699V14.4023H9.91016V16.6377ZM16.2402 9.6377H17.9219V11.0664H16.2402V15.1201H14.4971V5.83008H16.2402V9.6377ZM10.0674 8.94043C10.6598 8.94043 11.1885 9.04297 11.6533 9.24805C12.1182 9.44857 12.4805 9.73112 12.7402 10.0957C13 10.4603 13.1299 10.8796 13.1299 11.3535C13.1299 11.8229 13 12.2376 12.7402 12.5977C12.4805 12.9577 12.1182 13.238 11.6533 13.4385C11.1885 13.6344 10.6598 13.7324 10.0674 13.7324C9.46582 13.7324 8.93034 13.6344 8.46094 13.4385C7.99609 13.238 7.63151 12.9577 7.36719 12.5977C7.10742 12.2376 6.97754 11.8229 6.97754 11.3535C6.97754 10.8796 7.10742 10.4603 7.36719 10.0957C7.63151 9.73112 7.99609 9.44857 8.46094 9.24805C8.93034 9.04297 9.46582 8.94043 10.0674 8.94043ZM10.0674 10.2803C9.78483 10.2803 9.53874 10.3213 9.3291 10.4033C9.11947 10.4854 8.95768 10.6084 8.84375 10.7725C8.72982 10.932 8.67285 11.1257 8.67285 11.3535C8.67285 11.5768 8.72982 11.7682 8.84375 11.9277C8.95768 12.0827 9.11947 12.2012 9.3291 12.2832C9.53874 12.3652 9.78483 12.4062 10.0674 12.4062C10.3454 12.4062 10.5892 12.3652 10.7988 12.2832C11.013 12.2012 11.1794 12.0827 11.2979 11.9277C11.4163 11.7682 11.4756 11.5768 11.4756 11.3535C11.4756 11.1257 11.4163 10.932 11.2979 10.7725C11.1794 10.6084 11.013 10.4854 10.7988 10.4033C10.5892 10.3213 10.3454 10.2803 10.0674 10.2803ZM10.9355 7.12891H13.752V8.50293H6.3623V7.12891H9.19238V5.80957H10.9355V7.12891Z", fill: "currentColor" })), g1 = (c) => /* @__PURE__ */ e.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...c }, /* @__PURE__ */ e.createElement("title", null, "LinkedIn"), /* @__PURE__ */ e.createElement("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" })), C1 = (c) => /* @__PURE__ */ e.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...c }, /* @__PURE__ */ e.createElement("title", null, "Medium"), /* @__PURE__ */ e.createElement("path", { d: "M4.21 0A4.201 4.201 0 0 0 0 4.21v15.58A4.201 4.201 0 0 0 4.21 24h15.58A4.201 4.201 0 0 0 24 19.79v-1.093c-.137.013-.278.02-.422.02-2.577 0-4.027-2.146-4.09-4.832a7.592 7.592 0 0 1 .022-.708c.093-1.186.475-2.241 1.105-3.022a3.885 3.885 0 0 1 1.395-1.1c.468-.237 1.127-.367 1.664-.367h.023c.101 0 .202.004.303.01V4.211A4.201 4.201 0 0 0 19.79 0Zm.198 5.583h4.165l3.588 8.435 3.59-8.435h3.864v.146l-.019.004c-.705.16-1.063.397-1.063 1.254h-.003l.003 10.274c.06.676.424.885 1.063 1.03l.02.004v.145h-4.923v-.145l.019-.005c.639-.144.994-.353 1.054-1.03V7.267l-4.745 11.15h-.261L6.15 7.569v9.445c0 .857.358 1.094 1.063 1.253l.02.004v.147H4.405v-.147l.019-.004c.705-.16 1.065-.397 1.065-1.253V6.987c0-.857-.358-1.094-1.064-1.254l-.018-.004zm19.25 3.668c-1.086.023-1.733 1.323-1.813 3.124H24V9.298a1.378 1.378 0 0 0-.342-.047Zm-1.862 3.632c-.1 1.756.86 3.239 2.204 3.634v-3.634z" })), v1 = (c) => /* @__PURE__ */ e.createElement("svg", { width: "800px", height: "800px", viewBox: "-31.5 0 319 319", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", preserveAspectRatio: "xMidYMid", ...c }, /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("path", { d: "M9.87245893,293.324145 L0.0114611411,30.5732167 C-0.314208957,21.8955842 6.33948896,14.5413918 15.0063196,13.9997149 L238.494389,0.0317105427 C247.316188,-0.519651867 254.914637,6.18486163 255.466,15.0066607 C255.486773,15.339032 255.497167,15.6719708 255.497167,16.0049907 L255.497167,302.318596 C255.497167,311.157608 248.331732,318.323043 239.492719,318.323043 C239.253266,318.323043 239.013844,318.317669 238.774632,318.306926 L25.1475605,308.712253 C16.8276309,308.338578 10.1847994,301.646603 9.87245893,293.324145 L9.87245893,293.324145 Z", id: "path-1" })), /* @__PURE__ */ e.createElement("g", null, /* @__PURE__ */ e.createElement("mask", { id: "mask-2", fill: "white" }, /* @__PURE__ */ e.createElement("use", { xlinkHref: "#path-1" })), /* @__PURE__ */ e.createElement("use", { fill: "#FF4785", fillRule: "nonzero", xlinkHref: "#path-1" }), /* @__PURE__ */ e.createElement("path", { d: "M188.665358,39.126973 L190.191903,2.41148534 L220.883535,0 L222.205755,37.8634126 C222.251771,39.1811466 221.22084,40.2866846 219.903106,40.3327009 C219.338869,40.3524045 218.785907,40.1715096 218.342409,39.8221376 L206.506729,30.4984116 L192.493574,41.1282444 C191.443077,41.9251106 189.945493,41.7195021 189.148627,40.6690048 C188.813185,40.2267976 188.6423,39.6815326 188.665358,39.126973 Z M149.413703,119.980309 C149.413703,126.206975 191.355678,123.222696 196.986019,118.848893 C196.986019,76.4467826 174.234041,54.1651411 132.57133,54.1651411 C90.9086182,54.1651411 67.5656805,76.7934542 67.5656805,110.735941 C67.5656805,169.85244 147.345341,170.983856 147.345341,203.229219 C147.345341,212.280549 142.913138,217.654777 133.162291,217.654777 C120.456641,217.654777 115.433477,211.165914 116.024438,189.103298 C116.024438,184.317101 67.5656805,182.824962 66.0882793,189.103298 C62.3262146,242.56887 95.6363019,257.990394 133.753251,257.990394 C170.688279,257.990394 199.645341,238.303123 199.645341,202.663511 C199.645341,139.304202 118.683759,141.001326 118.683759,109.604526 C118.683759,96.8760922 128.139127,95.178968 133.753251,95.178968 C139.662855,95.178968 150.300143,96.2205679 149.413703,119.980309 Z", fill: "#FFFFFF", fillRule: "nonzero", mask: "url(#mask-2)" }))), f1 = (c) => /* @__PURE__ */ e.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...c }, /* @__PURE__ */ e.createElement("title", null, "YouTube"), /* @__PURE__ */ e.createElement("path", { d: "M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" }));
194
+ function o(c) {
195
+ return (a) => /* @__PURE__ */ n(c, { ...a, fill: "currentColor" });
196
+ }
197
+ const u1 = {
198
+ award: p,
199
+ check: h,
200
+ chevronDown: k,
201
+ chevronLeft: C,
202
+ chevronRight: f,
203
+ circleAlert: w,
204
+ clock: _,
205
+ codeXml: H,
206
+ externalLink: b,
207
+ eye: S,
208
+ eyeClosed: N,
209
+ eyeOff: L,
210
+ globe: j,
211
+ handHeart: A,
212
+ heartHandshake: B,
213
+ info: R,
214
+ kr: k1,
215
+ loaderCircle: T,
216
+ menu: U,
217
+ messageCircle: K,
218
+ messageCircleMore: Y,
219
+ moon: P,
220
+ search: W,
221
+ star: t1,
222
+ sun: o1,
223
+ thumbsUp: n1,
224
+ user: s1,
225
+ users: d1,
226
+ x: h1,
227
+ Discord: o(m1),
228
+ GitHub: o(y1),
229
+ LinkedIn: o(g1),
230
+ Medium: o(C1),
231
+ YouTube: o(f1),
232
+ Storybook: o(v1),
233
+ Figma: o(p1)
234
+ }, E1 = ({ name: c, size: a, tone: l, solid: s, ...r }) => {
235
+ const d = u1[c];
236
+ return /* @__PURE__ */ n(d, { className: w1({ size: a, tone: l, solid: s }), ...r });
237
+ }, w1 = i({
238
+ base: { display: "inline-block", color: "currentcolor" },
239
+ variants: {
240
+ size: {
241
+ xs: { width: "0.75rem", height: "0.75rem" },
242
+ sm: { width: "1rem", height: "1rem" },
243
+ md: { width: "1.25rem", height: "1.25rem" },
244
+ lg: { width: "1.5rem", height: "1.5rem" }
245
+ },
246
+ tone: {
247
+ brand: {},
248
+ neutral: {},
249
+ success: {},
250
+ warning: {},
251
+ danger: {},
252
+ info: {}
253
+ },
254
+ solid: {
255
+ true: {},
256
+ false: {}
257
+ }
258
+ },
259
+ compoundVariants: [
260
+ {
261
+ solid: !0,
262
+ tone: "brand",
263
+ css: { color: "fgSolid.brand" }
264
+ },
265
+ {
266
+ solid: !1,
267
+ tone: "brand",
268
+ css: { color: "fg.brand" }
269
+ },
270
+ {
271
+ solid: !0,
272
+ tone: "neutral",
273
+ css: { color: "fgSolid.neutral" }
274
+ },
275
+ {
276
+ solid: !1,
277
+ tone: "neutral",
278
+ css: { color: "fg.neutral" }
279
+ },
280
+ {
281
+ solid: !0,
282
+ tone: "success",
283
+ css: { color: "fgSolid.success" }
284
+ },
285
+ {
286
+ solid: !1,
287
+ tone: "success",
288
+ css: { color: "fg.success" }
289
+ },
290
+ {
291
+ solid: !0,
292
+ tone: "warning",
293
+ css: { color: "fgSolid.warning" }
294
+ },
295
+ {
296
+ solid: !1,
297
+ tone: "warning",
298
+ css: { color: "fg.warning" }
299
+ },
300
+ {
301
+ solid: !0,
302
+ tone: "danger",
303
+ css: { color: "fgSolid.danger" }
304
+ },
305
+ {
306
+ solid: !1,
307
+ tone: "danger",
308
+ css: { color: "fg.danger" }
309
+ },
310
+ {
311
+ solid: !0,
312
+ tone: "info",
313
+ css: { color: "fgSolid.info" }
314
+ },
315
+ {
316
+ solid: !1,
317
+ tone: "info",
318
+ css: { color: "fg.info" }
319
+ }
320
+ ],
321
+ defaultVariants: { size: "md", solid: !1 }
322
+ });
323
+ export {
324
+ E1 as Icon
325
+ };
@@ -0,0 +1,35 @@
1
+ import type { HTMLAttributes, ReactElement } from "react";
2
+ import type { ButtonProps } from "../Button/Button";
3
+ import type { TextInputProps } from "../TextInput/TextInput";
4
+ import type { CheckboxProps } from "../Checkbox/Checkbox";
5
+ import type { RadioGroupProps } from "../RadioGroup/RadioGroup";
6
+ type LabelTone = "danger" | "neutral";
7
+ type LabelVariant = "default" | "required" | "optional";
8
+ export type LabelFormChild = ReactElement<ButtonProps> | ReactElement<CheckboxProps> | ReactElement<RadioGroupProps> | ReactElement<TextInputProps>;
9
+ export interface LabelProps extends HTMLAttributes<HTMLLabelElement> {
10
+ /** 라벨과 연결된 요소 */
11
+ children?: LabelFormChild;
12
+ /** 라벨 텍스트 */
13
+ labelText: string;
14
+ /** 색조 */
15
+ tone?: LabelTone;
16
+ /** 라벨 비활성화 여부 */
17
+ disabled?: boolean;
18
+ /** 라벨 종류 (기본/필수/옵션선택) */
19
+ variant?: LabelVariant;
20
+ /** 보조설명문 텍스트 */
21
+ description?: string;
22
+ /** 라벨과 연결된 요소의 id */
23
+ htmlFor?: string;
24
+ }
25
+ /**
26
+ * - `children` 속성을 통해서 자식 요소는 `Button`, `Checkbox`, `RadioGroup`, `TextInput` 컴포넌트가 올 수 있습니다. (form요소 컴포넌트 추가 개발 시, 업데이트 예정)
27
+ * - `labelText` 속성을 통해서 라벨의 텍스트를 지정할 수 있습니다.
28
+ * - `tone` 속성을 통해서 색상 강조를 지정할 수 있습니다.
29
+ * - `disabled` 속성을 통해서 라벨의 비활성화 여부를 설정할 수 있습니다.
30
+ * - `variant` 속성을 통해서 라벨의 종류(기본/필수/옵션선택)를 선택할 수 있습니다.
31
+ * - `description` 속성을 통해서 보조설명문을 추가할 수 있습니다.
32
+ * - `htmlFor` 속성을 통해서 라벨과 연결할 요소의 id를 지정할 수 있습니다.
33
+ */
34
+ export declare function Label({ children, labelText, tone, variant, disabled, description, ...rest }: LabelProps): import("react/jsx-runtime").JSX.Element;
35
+ export {};
@@ -0,0 +1,74 @@
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ import { c as t } from "../../css-QiVVeZaw.js";
3
+ import { c as d } from "../../cva-BrKodHDH.js";
4
+ import { Text as f } from "../Text/Text.js";
5
+ function x({
6
+ children: l,
7
+ labelText: n,
8
+ tone: i = "neutral",
9
+ variant: a = "default",
10
+ disabled: r = !1,
11
+ description: s,
12
+ ...c
13
+ }) {
14
+ return /* @__PURE__ */ o(
15
+ "label",
16
+ {
17
+ className: m({
18
+ tone: r ? void 0 : i,
19
+ variant: a,
20
+ disabled: r
21
+ }),
22
+ ...c,
23
+ children: [
24
+ /* @__PURE__ */ e("span", { className: t({ textStyle: "label.md.strong" }), children: n }),
25
+ a === "required" && /* @__PURE__ */ o(
26
+ "span",
27
+ {
28
+ "aria-label": "옵션 필수",
29
+ className: t({
30
+ color: r ? "fg.neutral.disabled" : "fg.danger"
31
+ }),
32
+ children: [
33
+ " ",
34
+ "*"
35
+ ]
36
+ }
37
+ ),
38
+ a === "optional" && /* @__PURE__ */ e("span", { "aria-label": "옵션 선택", children: " (옵션 선택)" }),
39
+ s && /* @__PURE__ */ e(f, { as: "div", size: "sm", children: s }),
40
+ l && /* @__PURE__ */ e("div", { style: { marginTop: "8px" }, children: l })
41
+ ]
42
+ }
43
+ );
44
+ }
45
+ const m = d({
46
+ variants: {
47
+ variant: {
48
+ default: {},
49
+ required: {},
50
+ optional: {}
51
+ },
52
+ tone: {
53
+ danger: {
54
+ color: "fg.danger"
55
+ },
56
+ neutral: {
57
+ color: "fg.neutral.DEFAULT"
58
+ }
59
+ },
60
+ disabled: {
61
+ true: {
62
+ color: "fg.neutral.disabled"
63
+ },
64
+ false: {}
65
+ },
66
+ isDescription: {
67
+ true: {},
68
+ false: {}
69
+ }
70
+ }
71
+ });
72
+ export {
73
+ x as Label
74
+ };
@@ -0,0 +1,33 @@
1
+ import { type AnchorHTMLAttributes } from "react";
2
+ type LinkSize = "sm" | "md" | "lg";
3
+ type LinkTone = "neutral" | "brand";
4
+ export interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
5
+ /** 링크 URL (필수) */
6
+ href: string;
7
+ /** 링크 내용, 아이콘, 이미지 등 (필수) */
8
+ children: React.ReactNode;
9
+ /** 링크의 색조 */
10
+ tone?: LinkTone;
11
+ /** 링크의 크기 */
12
+ size?: LinkSize;
13
+ /** 링크에 밑줄 표시 여부 */
14
+ underline?: boolean;
15
+ /** 새창에서 열지 여부 */
16
+ external?: boolean;
17
+ }
18
+ /**
19
+ * - `underline` 속성으로 밑줄 표시 여부를 설정할 수 있습니다. 기본값은 `true`입니다.
20
+ * - `tone` 속성을 통해서 링크의 색상을 변경할 수 있습니다. 기본값은 `brand`입니다.
21
+ * - `size` 속성을 통해서 텍스트 크기를 변경할 수 있습니다.
22
+ * - 아이콘 등 컴포넌트를 사용시 링크와 다른 `Tone`, `Size`를 사용하지 않도록 주의합니다.
23
+ *
24
+ * ### 접근성(Accessibility) 안내
25
+ * - 이 컴포넌트는 `<a>` 태그를 사용하여 시맨틱하게 구현되어 있습니다.
26
+ * - `external`을 true로 설정하면 `target="_blank"`와 `rel="noopener noreferrer"`가 자동으로 추가되어 보안 및 접근성이 향상됩니다.
27
+ * - `external`을 true로 설정하더라도 `target`과 `rel` 속성을 직접 설정할 수 있습니다.
28
+ * - 키보드 포커스 시 명확한 아웃라인이 표시됩니다.
29
+ * - 텍스트가 없는 이미지나 아이콘만 사용하는 경우, 반드시 `aria-label` 속성을 추가하여 대체 텍스트를 제공하는 것을 권장합니다.
30
+ * - `external` 속성이 `true` 일 때, 외부 링크 아이콘(externalLink)이 함께 제공되지 않으면 시각적 안내 부족으로 접근성 문제가 발생할 수 있습니다.
31
+ */
32
+ export declare function Link({ href, children, tone, size, underline, external, ...props }: LinkProps): import("react/jsx-runtime").JSX.Element;
33
+ export {};
@@ -0,0 +1,176 @@
1
+ import { jsx as d } from "react/jsx-runtime";
2
+ import "react";
3
+ import { c } from "../../css-QiVVeZaw.js";
4
+ import { c as g } from "../../cva-BrKodHDH.js";
5
+ const f = {
6
+ label: {
7
+ lg: {
8
+ DEFAULT: {
9
+ value: {
10
+ fontFamily: "sans",
11
+ fontSize: "lg",
12
+ fontWeight: "medium",
13
+ lineHeight: "tight",
14
+ letterSpacing: "balanced"
15
+ }
16
+ },
17
+ underline: {
18
+ value: {
19
+ fontFamily: "sans",
20
+ fontSize: "lg",
21
+ fontWeight: "medium",
22
+ lineHeight: "tight",
23
+ letterSpacing: "balanced",
24
+ textDecoration: "underline"
25
+ }
26
+ }
27
+ },
28
+ md: {
29
+ DEFAULT: {
30
+ value: {
31
+ fontFamily: "sans",
32
+ fontSize: "md",
33
+ fontWeight: "medium",
34
+ lineHeight: "tight",
35
+ letterSpacing: "balanced"
36
+ }
37
+ },
38
+ underline: {
39
+ value: {
40
+ fontFamily: "sans",
41
+ fontSize: "md",
42
+ fontWeight: "medium",
43
+ lineHeight: "tight",
44
+ letterSpacing: "balanced",
45
+ textDecoration: "underline"
46
+ }
47
+ },
48
+ strong: {
49
+ value: {
50
+ fontFamily: "sans",
51
+ fontSize: "md",
52
+ fontWeight: "semibold",
53
+ lineHeight: "tight",
54
+ letterSpacing: "balanced"
55
+ }
56
+ }
57
+ },
58
+ sm: {
59
+ DEFAULT: {
60
+ value: {
61
+ fontFamily: "sans",
62
+ fontSize: "sm",
63
+ fontWeight: "medium",
64
+ lineHeight: "tight",
65
+ letterSpacing: "balanced"
66
+ }
67
+ },
68
+ underline: {
69
+ value: {
70
+ fontFamily: "sans",
71
+ fontSize: "sm",
72
+ fontWeight: "medium",
73
+ lineHeight: "tight",
74
+ letterSpacing: "balanced",
75
+ textDecoration: "underline"
76
+ }
77
+ }
78
+ }
79
+ }
80
+ };
81
+ function p({
82
+ href: n,
83
+ children: i,
84
+ tone: o = "brand",
85
+ size: e = "md",
86
+ underline: a = !0,
87
+ external: t = !1,
88
+ ...l
89
+ }) {
90
+ const r = t ? "_blank" : void 0, s = t ? "noopener noreferrer" : void 0;
91
+ return /* @__PURE__ */ d(
92
+ "a",
93
+ {
94
+ className: c(
95
+ u.raw({ tone: o, underline: a, size: e }),
96
+ f.label[e].DEFAULT.value
97
+ ),
98
+ href: n,
99
+ target: r,
100
+ rel: s,
101
+ ...l,
102
+ children: i
103
+ }
104
+ );
105
+ }
106
+ const u = g({
107
+ base: {
108
+ transition: "colors 0.2s",
109
+ display: "inline-flex",
110
+ justifyContent: "center",
111
+ alignItems: "center",
112
+ "&:focus": {
113
+ outline: "borderWidths.lg solid",
114
+ borderRadius: "md",
115
+ outlineColor: "border.brand.focus"
116
+ },
117
+ "&:visited": {
118
+ color: "fg.brand.visited",
119
+ "& svg": {
120
+ color: "fg.brand.visited"
121
+ }
122
+ }
123
+ },
124
+ variants: {
125
+ tone: {
126
+ brand: {
127
+ color: "fg.brand",
128
+ "&:focus": {
129
+ color: "fg.brand.focus"
130
+ },
131
+ "&:active, &:hover": {
132
+ color: "fg.brand.hover"
133
+ }
134
+ },
135
+ neutral: {
136
+ color: "fg.neutral",
137
+ "&:focus": {
138
+ color: "fg.neutral.focus"
139
+ },
140
+ "&:active, &:hover": {
141
+ color: "fg.neutral.hover"
142
+ }
143
+ }
144
+ },
145
+ size: {
146
+ sm: {
147
+ gap: "2"
148
+ },
149
+ md: {
150
+ gap: "4"
151
+ },
152
+ lg: {
153
+ gap: "4"
154
+ }
155
+ },
156
+ underline: {
157
+ true: {
158
+ textDecoration: "underline"
159
+ },
160
+ false: {
161
+ textDecoration: "none",
162
+ "&:hover": {
163
+ textDecoration: "underline"
164
+ }
165
+ }
166
+ }
167
+ },
168
+ defaultVariants: {
169
+ tone: "brand",
170
+ size: "md",
171
+ underline: !0
172
+ }
173
+ });
174
+ export {
175
+ p as Link
176
+ };
@@ -0,0 +1,17 @@
1
+ import { type ComponentPropsWithoutRef, type Ref } from "react";
2
+ export interface PasswordInputProps extends Omit<ComponentPropsWithoutRef<"input">, "size" | "type"> {
3
+ /** 플레이스홀더 */
4
+ placeholder?: string;
5
+ /** 오류 상태 여부 (true면 위험 톤 적용 및 aria-invalid=true) */
6
+ invalid?: boolean;
7
+ /** 비활성화 여부 */
8
+ disabled?: boolean;
9
+ /** DOM 요소 참조 */
10
+ ref?: Ref<HTMLInputElement>;
11
+ }
12
+ /**
13
+ * - 패스워드 입력 컴포넌트입니다. 우측 아이콘으로 비밀번호 가시성을 토글할 수 있습니다.
14
+ * - `invalid`, `disabled` prop으로 상태를 제어할 수 있습니다.
15
+ * - 토글 버튼은 키보드 접근성과 스크린 리더를 지원합니다.
16
+ */
17
+ export declare function PasswordInput({ invalid, disabled, placeholder, ref, ...rest }: PasswordInputProps): import("react/jsx-runtime").JSX.Element;