@causw/core 0.0.10 → 0.0.12

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 (459) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +29 -0
  2. package/dist/assets/avatar/default.cjs +11 -0
  3. package/dist/assets/avatar/default.mjs +6 -0
  4. package/dist/assets/avatar/default.mjs.map +1 -0
  5. package/dist/components/Avatar/Avatar.cjs +46 -0
  6. package/dist/components/Avatar/Avatar.d.cts +25 -0
  7. package/dist/components/Avatar/Avatar.d.cts.map +1 -0
  8. package/dist/components/Avatar/Avatar.d.mts +26 -0
  9. package/dist/components/Avatar/Avatar.d.mts.map +1 -0
  10. package/dist/components/Avatar/Avatar.mjs +45 -0
  11. package/dist/components/Avatar/Avatar.mjs.map +1 -0
  12. package/dist/components/Avatar/Avatar.styles.cjs +22 -0
  13. package/dist/components/Avatar/Avatar.styles.d.cts +75 -0
  14. package/dist/components/Avatar/Avatar.styles.d.cts.map +1 -0
  15. package/dist/components/Avatar/Avatar.styles.d.mts +75 -0
  16. package/dist/components/Avatar/Avatar.styles.d.mts.map +1 -0
  17. package/dist/components/Avatar/Avatar.styles.mjs +22 -0
  18. package/dist/components/Avatar/Avatar.styles.mjs.map +1 -0
  19. package/dist/components/Avatar/index.d.mts +2 -0
  20. package/dist/components/Box/Box.cjs +24 -0
  21. package/dist/components/Box/Box.d.cts +22 -0
  22. package/dist/components/Box/Box.d.cts.map +1 -0
  23. package/dist/components/Box/Box.d.mts +23 -0
  24. package/dist/components/Box/Box.d.mts.map +1 -0
  25. package/dist/components/Box/Box.mjs +23 -0
  26. package/dist/components/Box/Box.mjs.map +1 -0
  27. package/dist/components/Box/Box.styles.cjs +48 -0
  28. package/dist/components/Box/Box.styles.d.cts +105 -0
  29. package/dist/components/Box/Box.styles.d.cts.map +1 -0
  30. package/dist/components/Box/Box.styles.d.mts +105 -0
  31. package/dist/components/Box/Box.styles.d.mts.map +1 -0
  32. package/dist/components/Box/Box.styles.mjs +48 -0
  33. package/dist/components/Box/Box.styles.mjs.map +1 -0
  34. package/dist/components/Box/index.d.mts +2 -0
  35. package/dist/components/Button/Button.cjs +23 -0
  36. package/dist/components/Button/Button.d.cts +19 -0
  37. package/dist/components/Button/Button.d.cts.map +1 -0
  38. package/dist/components/Button/Button.d.mts +20 -0
  39. package/dist/components/Button/Button.d.mts.map +1 -0
  40. package/dist/components/Button/Button.mjs +23 -0
  41. package/dist/components/Button/Button.mjs.map +1 -0
  42. package/dist/components/Button/Button.styles.cjs +35 -0
  43. package/dist/components/Button/Button.styles.d.cts +63 -0
  44. package/dist/components/Button/Button.styles.d.cts.map +1 -0
  45. package/dist/components/Button/Button.styles.d.mts +63 -0
  46. package/dist/components/Button/Button.styles.d.mts.map +1 -0
  47. package/dist/components/Button/Button.styles.mjs +35 -0
  48. package/dist/components/Button/Button.styles.mjs.map +1 -0
  49. package/dist/components/Button/index.d.mts +1 -0
  50. package/dist/components/CTAButton/CTAButton.cjs +22 -0
  51. package/dist/components/CTAButton/CTAButton.d.cts +18 -0
  52. package/dist/components/CTAButton/CTAButton.d.cts.map +1 -0
  53. package/dist/components/CTAButton/CTAButton.d.mts +19 -0
  54. package/dist/components/CTAButton/CTAButton.d.mts.map +1 -0
  55. package/dist/components/CTAButton/CTAButton.mjs +22 -0
  56. package/dist/components/CTAButton/CTAButton.mjs.map +1 -0
  57. package/dist/components/CTAButton/CTAButton.styles.cjs +32 -0
  58. package/dist/components/CTAButton/CTAButton.styles.d.cts +57 -0
  59. package/dist/components/CTAButton/CTAButton.styles.d.cts.map +1 -0
  60. package/dist/components/CTAButton/CTAButton.styles.d.mts +57 -0
  61. package/dist/components/CTAButton/CTAButton.styles.d.mts.map +1 -0
  62. package/dist/components/CTAButton/CTAButton.styles.mjs +32 -0
  63. package/dist/components/CTAButton/CTAButton.styles.mjs.map +1 -0
  64. package/dist/components/CTAButton/index.d.mts +1 -0
  65. package/dist/components/Checkbox/Checkbox.cjs +83 -0
  66. package/dist/components/Checkbox/Checkbox.d.cts +44 -0
  67. package/dist/components/Checkbox/Checkbox.d.cts.map +1 -0
  68. package/dist/components/Checkbox/Checkbox.d.mts +46 -0
  69. package/dist/components/Checkbox/Checkbox.d.mts.map +1 -0
  70. package/dist/components/Checkbox/Checkbox.mjs +82 -0
  71. package/dist/components/Checkbox/Checkbox.mjs.map +1 -0
  72. package/dist/components/Checkbox/Checkbox.styles.cjs +31 -0
  73. package/dist/components/Checkbox/Checkbox.styles.d.cts +75 -0
  74. package/dist/components/Checkbox/Checkbox.styles.d.cts.map +1 -0
  75. package/dist/components/Checkbox/Checkbox.styles.d.mts +75 -0
  76. package/dist/components/Checkbox/Checkbox.styles.d.mts.map +1 -0
  77. package/dist/components/Checkbox/Checkbox.styles.mjs +31 -0
  78. package/dist/components/Checkbox/Checkbox.styles.mjs.map +1 -0
  79. package/dist/components/Checkbox/index.d.mts +1 -0
  80. package/dist/components/Chip/Chip.cjs +29 -0
  81. package/dist/components/Chip/Chip.d.cts +22 -0
  82. package/dist/components/Chip/Chip.d.cts.map +1 -0
  83. package/dist/components/Chip/Chip.d.mts +23 -0
  84. package/dist/components/Chip/Chip.d.mts.map +1 -0
  85. package/dist/components/Chip/Chip.mjs +28 -0
  86. package/dist/components/Chip/Chip.mjs.map +1 -0
  87. package/dist/components/Chip/Chip.styles.cjs +30 -0
  88. package/dist/components/Chip/Chip.styles.d.cts +51 -0
  89. package/dist/components/Chip/Chip.styles.d.cts.map +1 -0
  90. package/dist/components/Chip/Chip.styles.d.mts +51 -0
  91. package/dist/components/Chip/Chip.styles.d.mts.map +1 -0
  92. package/dist/components/Chip/Chip.styles.mjs +30 -0
  93. package/dist/components/Chip/Chip.styles.mjs.map +1 -0
  94. package/dist/components/Chip/index.d.mts +2 -0
  95. package/dist/components/Dialog/Dialog.cjs +59 -0
  96. package/dist/components/Dialog/Dialog.d.cts +57 -0
  97. package/dist/components/Dialog/Dialog.d.cts.map +1 -0
  98. package/dist/components/Dialog/Dialog.d.mts +58 -0
  99. package/dist/components/Dialog/Dialog.d.mts.map +1 -0
  100. package/dist/components/Dialog/Dialog.mjs +58 -0
  101. package/dist/components/Dialog/Dialog.mjs.map +1 -0
  102. package/dist/components/Dialog/Dialog.styles.cjs +35 -0
  103. package/dist/components/Dialog/Dialog.styles.d.cts +46 -0
  104. package/dist/components/Dialog/Dialog.styles.d.cts.map +1 -0
  105. package/dist/components/Dialog/Dialog.styles.d.mts +46 -0
  106. package/dist/components/Dialog/Dialog.styles.d.mts.map +1 -0
  107. package/dist/components/Dialog/Dialog.styles.mjs +33 -0
  108. package/dist/components/Dialog/Dialog.styles.mjs.map +1 -0
  109. package/dist/components/Dialog/index.d.mts +2 -0
  110. package/dist/components/Dropdown/Dropdown.cjs +39 -0
  111. package/dist/components/Dropdown/Dropdown.d.cts +36 -0
  112. package/dist/components/Dropdown/Dropdown.d.cts.map +1 -0
  113. package/dist/components/Dropdown/Dropdown.d.mts +36 -0
  114. package/dist/components/Dropdown/Dropdown.d.mts.map +1 -0
  115. package/dist/components/Dropdown/Dropdown.mjs +37 -0
  116. package/dist/components/Dropdown/Dropdown.mjs.map +1 -0
  117. package/dist/components/Dropdown/Dropdown.styles.cjs +19 -0
  118. package/dist/components/Dropdown/Dropdown.styles.d.cts +54 -0
  119. package/dist/components/Dropdown/Dropdown.styles.d.cts.map +1 -0
  120. package/dist/components/Dropdown/Dropdown.styles.d.mts +54 -0
  121. package/dist/components/Dropdown/Dropdown.styles.d.mts.map +1 -0
  122. package/dist/components/Dropdown/Dropdown.styles.mjs +19 -0
  123. package/dist/components/Dropdown/Dropdown.styles.mjs.map +1 -0
  124. package/dist/components/Dropdown/index.d.mts +2 -0
  125. package/dist/components/Field/Field.cjs +80 -0
  126. package/dist/components/Field/Field.d.cts +59 -0
  127. package/dist/components/Field/Field.d.cts.map +1 -0
  128. package/dist/components/Field/Field.d.mts +60 -0
  129. package/dist/components/Field/Field.d.mts.map +1 -0
  130. package/dist/components/Field/Field.mjs +79 -0
  131. package/dist/components/Field/Field.mjs.map +1 -0
  132. package/dist/components/Field/Field.styles.cjs +13 -0
  133. package/dist/components/Field/Field.styles.mjs +13 -0
  134. package/dist/components/Field/Field.styles.mjs.map +1 -0
  135. package/dist/components/Field/index.d.mts +1 -0
  136. package/dist/components/Flex/Flex.cjs +25 -0
  137. package/dist/components/Flex/Flex.d.cts +24 -0
  138. package/dist/components/Flex/Flex.d.cts.map +1 -0
  139. package/dist/components/Flex/Flex.d.mts +25 -0
  140. package/dist/components/Flex/Flex.d.mts.map +1 -0
  141. package/dist/components/Flex/Flex.mjs +24 -0
  142. package/dist/components/Flex/Flex.mjs.map +1 -0
  143. package/dist/components/Flex/Flex.styles.cjs +50 -0
  144. package/dist/components/Flex/Flex.styles.d.cts +16 -0
  145. package/dist/components/Flex/Flex.styles.d.cts.map +1 -0
  146. package/dist/components/Flex/Flex.styles.d.mts +16 -0
  147. package/dist/components/Flex/Flex.styles.d.mts.map +1 -0
  148. package/dist/components/Flex/Flex.styles.mjs +51 -0
  149. package/dist/components/Flex/Flex.styles.mjs.map +1 -0
  150. package/dist/components/Flex/index.d.mts +2 -0
  151. package/dist/components/Float/Float.cjs +32 -0
  152. package/dist/components/Float/Float.d.cts +25 -0
  153. package/dist/components/Float/Float.d.cts.map +1 -0
  154. package/dist/components/Float/Float.d.mts +26 -0
  155. package/dist/components/Float/Float.d.mts.map +1 -0
  156. package/dist/components/Float/Float.mjs +31 -0
  157. package/dist/components/Float/Float.mjs.map +1 -0
  158. package/dist/components/Float/Float.styles.cjs +39 -0
  159. package/dist/components/Float/Float.styles.d.cts +58 -0
  160. package/dist/components/Float/Float.styles.d.cts.map +1 -0
  161. package/dist/components/Float/Float.styles.d.mts +58 -0
  162. package/dist/components/Float/Float.styles.d.mts.map +1 -0
  163. package/dist/components/Float/Float.styles.mjs +38 -0
  164. package/dist/components/Float/Float.styles.mjs.map +1 -0
  165. package/dist/components/Float/index.d.mts +1 -0
  166. package/dist/components/FloatingActionButton/FloatingActionButton.cjs +18 -0
  167. package/dist/components/FloatingActionButton/FloatingActionButton.d.cts +16 -0
  168. package/dist/components/FloatingActionButton/FloatingActionButton.d.cts.map +1 -0
  169. package/dist/components/FloatingActionButton/FloatingActionButton.d.mts +17 -0
  170. package/dist/components/FloatingActionButton/FloatingActionButton.d.mts.map +1 -0
  171. package/dist/components/FloatingActionButton/FloatingActionButton.mjs +18 -0
  172. package/dist/components/FloatingActionButton/FloatingActionButton.mjs.map +1 -0
  173. package/dist/components/FloatingActionButton/FloatingActionButton.styles.cjs +15 -0
  174. package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.cts +24 -0
  175. package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.cts.map +1 -0
  176. package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.mts +24 -0
  177. package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.mts.map +1 -0
  178. package/dist/components/FloatingActionButton/FloatingActionButton.styles.mjs +15 -0
  179. package/dist/components/FloatingActionButton/FloatingActionButton.styles.mjs.map +1 -0
  180. package/dist/components/FloatingActionButton/index.d.mts +1 -0
  181. package/dist/components/Grid/Grid.cjs +24 -0
  182. package/dist/components/Grid/Grid.d.cts +22 -0
  183. package/dist/components/Grid/Grid.d.cts.map +1 -0
  184. package/dist/components/Grid/Grid.d.mts +23 -0
  185. package/dist/components/Grid/Grid.d.mts.map +1 -0
  186. package/dist/components/Grid/Grid.mjs +23 -0
  187. package/dist/components/Grid/Grid.mjs.map +1 -0
  188. package/dist/components/Grid/Grid.styles.cjs +56 -0
  189. package/dist/components/Grid/Grid.styles.d.cts +126 -0
  190. package/dist/components/Grid/Grid.styles.d.cts.map +1 -0
  191. package/dist/components/Grid/Grid.styles.d.mts +126 -0
  192. package/dist/components/Grid/Grid.styles.d.mts.map +1 -0
  193. package/dist/components/Grid/Grid.styles.mjs +56 -0
  194. package/dist/components/Grid/Grid.styles.mjs.map +1 -0
  195. package/dist/components/Grid/index.d.mts +1 -0
  196. package/dist/components/HStack/HStack.cjs +17 -0
  197. package/dist/components/HStack/HStack.d.cts +15 -0
  198. package/dist/components/HStack/HStack.d.cts.map +1 -0
  199. package/dist/components/HStack/HStack.d.mts +16 -0
  200. package/dist/components/HStack/HStack.d.mts.map +1 -0
  201. package/dist/components/HStack/HStack.mjs +16 -0
  202. package/dist/components/HStack/HStack.mjs.map +1 -0
  203. package/dist/components/HStack/index.d.mts +1 -0
  204. package/dist/components/Modal/Modal.cjs +81 -0
  205. package/dist/components/Modal/Modal.d.cts +64 -0
  206. package/dist/components/Modal/Modal.d.cts.map +1 -0
  207. package/dist/components/Modal/Modal.d.mts +65 -0
  208. package/dist/components/Modal/Modal.d.mts.map +1 -0
  209. package/dist/components/Modal/Modal.mjs +80 -0
  210. package/dist/components/Modal/Modal.mjs.map +1 -0
  211. package/dist/components/Modal/Modal.styles.cjs +49 -0
  212. package/dist/components/Modal/Modal.styles.d.cts +108 -0
  213. package/dist/components/Modal/Modal.styles.d.cts.map +1 -0
  214. package/dist/components/Modal/Modal.styles.d.mts +108 -0
  215. package/dist/components/Modal/Modal.styles.d.mts.map +1 -0
  216. package/dist/components/Modal/Modal.styles.mjs +49 -0
  217. package/dist/components/Modal/Modal.styles.mjs.map +1 -0
  218. package/dist/components/Modal/index.d.mts +2 -0
  219. package/dist/components/Primitive/Primitive.cjs +35 -0
  220. package/dist/components/Primitive/Primitive.d.cts +77 -0
  221. package/dist/components/Primitive/Primitive.d.cts.map +1 -0
  222. package/dist/components/Primitive/Primitive.d.mts +77 -0
  223. package/dist/components/Primitive/Primitive.d.mts.map +1 -0
  224. package/dist/components/Primitive/Primitive.mjs +34 -0
  225. package/dist/components/Primitive/Primitive.mjs.map +1 -0
  226. package/dist/components/Primitive/index.d.mts +1 -0
  227. package/dist/components/Radio/Radio.cjs +97 -0
  228. package/dist/components/Radio/Radio.d.cts +48 -0
  229. package/dist/components/Radio/Radio.d.cts.map +1 -0
  230. package/dist/components/Radio/Radio.d.mts +49 -0
  231. package/dist/components/Radio/Radio.d.mts.map +1 -0
  232. package/dist/components/Radio/Radio.mjs +94 -0
  233. package/dist/components/Radio/Radio.mjs.map +1 -0
  234. package/dist/components/Radio/Radio.styles.cjs +32 -0
  235. package/dist/components/Radio/Radio.styles.mjs +32 -0
  236. package/dist/components/Radio/Radio.styles.mjs.map +1 -0
  237. package/dist/components/Radio/index.d.mts +1 -0
  238. package/dist/components/RatioChart/RatioChart.cjs +182 -0
  239. package/dist/components/RatioChart/RatioChart.d.cts +66 -0
  240. package/dist/components/RatioChart/RatioChart.d.cts.map +1 -0
  241. package/dist/components/RatioChart/RatioChart.d.mts +66 -0
  242. package/dist/components/RatioChart/RatioChart.d.mts.map +1 -0
  243. package/dist/components/RatioChart/RatioChart.mjs +181 -0
  244. package/dist/components/RatioChart/RatioChart.mjs.map +1 -0
  245. package/dist/components/RatioChart/RatioChart.styles.cjs +42 -0
  246. package/dist/components/RatioChart/RatioChart.styles.mjs +42 -0
  247. package/dist/components/RatioChart/RatioChart.styles.mjs.map +1 -0
  248. package/dist/components/RatioChart/RatioChartEditor.cjs +121 -0
  249. package/dist/components/RatioChart/RatioChartEditor.d.cts +44 -0
  250. package/dist/components/RatioChart/RatioChartEditor.d.cts.map +1 -0
  251. package/dist/components/RatioChart/RatioChartEditor.d.mts +44 -0
  252. package/dist/components/RatioChart/RatioChartEditor.d.mts.map +1 -0
  253. package/dist/components/RatioChart/RatioChartEditor.mjs +120 -0
  254. package/dist/components/RatioChart/RatioChartEditor.mjs.map +1 -0
  255. package/dist/components/RatioChart/RatioChartEditor.styles.cjs +23 -0
  256. package/dist/components/RatioChart/RatioChartEditor.styles.mjs +23 -0
  257. package/dist/components/RatioChart/RatioChartEditor.styles.mjs.map +1 -0
  258. package/dist/components/RatioChart/index.d.mts +2 -0
  259. package/dist/components/Select/Select.cjs +84 -0
  260. package/dist/components/Select/Select.d.cts +60 -0
  261. package/dist/components/Select/Select.d.cts.map +1 -0
  262. package/dist/components/Select/Select.d.mts +60 -0
  263. package/dist/components/Select/Select.d.mts.map +1 -0
  264. package/dist/components/Select/Select.mjs +82 -0
  265. package/dist/components/Select/Select.mjs.map +1 -0
  266. package/dist/components/Select/Select.styles.cjs +44 -0
  267. package/dist/components/Select/Select.styles.d.cts +72 -0
  268. package/dist/components/Select/Select.styles.d.cts.map +1 -0
  269. package/dist/components/Select/Select.styles.d.mts +72 -0
  270. package/dist/components/Select/Select.styles.d.mts.map +1 -0
  271. package/dist/components/Select/Select.styles.mjs +44 -0
  272. package/dist/components/Select/Select.styles.mjs.map +1 -0
  273. package/dist/components/Select/index.d.mts +2 -0
  274. package/dist/components/Separator/Separator.cjs +21 -0
  275. package/dist/components/Separator/Separator.d.cts +18 -0
  276. package/dist/components/Separator/Separator.d.cts.map +1 -0
  277. package/dist/components/Separator/Separator.d.mts +19 -0
  278. package/dist/components/Separator/Separator.d.mts.map +1 -0
  279. package/dist/components/Separator/Separator.mjs +20 -0
  280. package/dist/components/Separator/Separator.mjs.map +1 -0
  281. package/dist/components/Separator/Separator.styles.cjs +15 -0
  282. package/dist/components/Separator/Separator.styles.d.cts +24 -0
  283. package/dist/components/Separator/Separator.styles.d.cts.map +1 -0
  284. package/dist/components/Separator/Separator.styles.d.mts +24 -0
  285. package/dist/components/Separator/Separator.styles.d.mts.map +1 -0
  286. package/dist/components/Separator/Separator.styles.mjs +15 -0
  287. package/dist/components/Separator/Separator.styles.mjs.map +1 -0
  288. package/dist/components/Separator/index.d.mts +2 -0
  289. package/dist/components/Spacer/Spacer.cjs +20 -0
  290. package/dist/components/Spacer/Spacer.d.cts +18 -0
  291. package/dist/components/Spacer/Spacer.d.cts.map +1 -0
  292. package/dist/components/Spacer/Spacer.d.mts +19 -0
  293. package/dist/components/Spacer/Spacer.d.mts.map +1 -0
  294. package/dist/components/Spacer/Spacer.mjs +19 -0
  295. package/dist/components/Spacer/Spacer.mjs.map +1 -0
  296. package/dist/components/Spacer/Spacer.styles.cjs +24 -0
  297. package/dist/components/Spacer/Spacer.styles.d.cts +51 -0
  298. package/dist/components/Spacer/Spacer.styles.d.cts.map +1 -0
  299. package/dist/components/Spacer/Spacer.styles.d.mts +51 -0
  300. package/dist/components/Spacer/Spacer.styles.d.mts.map +1 -0
  301. package/dist/components/Spacer/Spacer.styles.mjs +24 -0
  302. package/dist/components/Spacer/Spacer.styles.mjs.map +1 -0
  303. package/dist/components/Spacer/index.d.mts +2 -0
  304. package/dist/components/Stack/Stack.cjs +28 -0
  305. package/dist/components/Stack/Stack.d.cts +26 -0
  306. package/dist/components/Stack/Stack.d.cts.map +1 -0
  307. package/dist/components/Stack/Stack.d.mts +27 -0
  308. package/dist/components/Stack/Stack.d.mts.map +1 -0
  309. package/dist/components/Stack/Stack.mjs +27 -0
  310. package/dist/components/Stack/Stack.mjs.map +1 -0
  311. package/dist/components/Stack/Stack.styles.cjs +42 -0
  312. package/dist/components/Stack/Stack.styles.d.cts +84 -0
  313. package/dist/components/Stack/Stack.styles.d.cts.map +1 -0
  314. package/dist/components/Stack/Stack.styles.d.mts +84 -0
  315. package/dist/components/Stack/Stack.styles.d.mts.map +1 -0
  316. package/dist/components/Stack/Stack.styles.mjs +42 -0
  317. package/dist/components/Stack/Stack.styles.mjs.map +1 -0
  318. package/dist/components/Stack/index.d.mts +2 -0
  319. package/dist/components/Tab/Tab.cjs +103 -0
  320. package/dist/components/Tab/Tab.d.cts +84 -0
  321. package/dist/components/Tab/Tab.d.cts.map +1 -0
  322. package/dist/components/Tab/Tab.d.mts +85 -0
  323. package/dist/components/Tab/Tab.d.mts.map +1 -0
  324. package/dist/components/Tab/Tab.mjs +102 -0
  325. package/dist/components/Tab/Tab.mjs.map +1 -0
  326. package/dist/components/Tab/Tab.styles.cjs +35 -0
  327. package/dist/components/Tab/Tab.styles.d.cts +51 -0
  328. package/dist/components/Tab/Tab.styles.d.cts.map +1 -0
  329. package/dist/components/Tab/Tab.styles.d.mts +51 -0
  330. package/dist/components/Tab/Tab.styles.d.mts.map +1 -0
  331. package/dist/components/Tab/Tab.styles.mjs +35 -0
  332. package/dist/components/Tab/Tab.styles.mjs.map +1 -0
  333. package/dist/components/Tab/index.d.mts +2 -0
  334. package/dist/components/Text/Text.cjs +20 -0
  335. package/dist/components/Text/Text.d.cts +24 -0
  336. package/dist/components/Text/Text.d.cts.map +1 -0
  337. package/dist/components/Text/Text.d.mts +25 -0
  338. package/dist/components/Text/Text.d.mts.map +1 -0
  339. package/dist/components/Text/Text.mjs +20 -0
  340. package/dist/components/Text/Text.mjs.map +1 -0
  341. package/dist/components/Text/Text.styles.cjs +58 -0
  342. package/dist/components/Text/Text.styles.d.cts +150 -0
  343. package/dist/components/Text/Text.styles.d.cts.map +1 -0
  344. package/dist/components/Text/Text.styles.d.mts +150 -0
  345. package/dist/components/Text/Text.styles.d.mts.map +1 -0
  346. package/dist/components/Text/Text.styles.mjs +58 -0
  347. package/dist/components/Text/Text.styles.mjs.map +1 -0
  348. package/dist/components/Text/index.d.mts +2 -0
  349. package/dist/components/TextArea/TextArea.cjs +52 -0
  350. package/dist/components/TextArea/TextArea.d.cts +42 -0
  351. package/dist/components/TextArea/TextArea.d.cts.map +1 -0
  352. package/dist/components/TextArea/TextArea.d.mts +43 -0
  353. package/dist/components/TextArea/TextArea.d.mts.map +1 -0
  354. package/dist/components/TextArea/TextArea.mjs +51 -0
  355. package/dist/components/TextArea/TextArea.mjs.map +1 -0
  356. package/dist/components/TextArea/TextArea.styles.cjs +33 -0
  357. package/dist/components/TextArea/TextArea.styles.d.cts +84 -0
  358. package/dist/components/TextArea/TextArea.styles.d.cts.map +1 -0
  359. package/dist/components/TextArea/TextArea.styles.d.mts +84 -0
  360. package/dist/components/TextArea/TextArea.styles.d.mts.map +1 -0
  361. package/dist/components/TextArea/TextArea.styles.mjs +33 -0
  362. package/dist/components/TextArea/TextArea.styles.mjs.map +1 -0
  363. package/dist/components/TextArea/index.d.mts +1 -0
  364. package/dist/components/TextInput/TextInput.cjs +48 -0
  365. package/dist/components/TextInput/TextInput.d.cts +32 -0
  366. package/dist/components/TextInput/TextInput.d.cts.map +1 -0
  367. package/dist/components/TextInput/TextInput.d.mts +33 -0
  368. package/dist/components/TextInput/TextInput.d.mts.map +1 -0
  369. package/dist/components/TextInput/TextInput.mjs +47 -0
  370. package/dist/components/TextInput/TextInput.mjs.map +1 -0
  371. package/dist/components/TextInput/TextInput.styles.cjs +43 -0
  372. package/dist/components/TextInput/TextInput.styles.d.cts +81 -0
  373. package/dist/components/TextInput/TextInput.styles.d.cts.map +1 -0
  374. package/dist/components/TextInput/TextInput.styles.d.mts +81 -0
  375. package/dist/components/TextInput/TextInput.styles.d.mts.map +1 -0
  376. package/dist/components/TextInput/TextInput.styles.mjs +43 -0
  377. package/dist/components/TextInput/TextInput.styles.mjs.map +1 -0
  378. package/dist/components/TextInput/index.d.mts +2 -0
  379. package/dist/components/Toast/Toast.cjs +42 -0
  380. package/dist/components/Toast/Toast.d.cts +27 -0
  381. package/dist/components/Toast/Toast.d.cts.map +1 -0
  382. package/dist/components/Toast/Toast.d.mts +27 -0
  383. package/dist/components/Toast/Toast.d.mts.map +1 -0
  384. package/dist/components/Toast/Toast.mjs +39 -0
  385. package/dist/components/Toast/Toast.mjs.map +1 -0
  386. package/dist/components/Toast/Toast.styles.cjs +20 -0
  387. package/dist/components/Toast/Toast.styles.d.cts +36 -0
  388. package/dist/components/Toast/Toast.styles.d.cts.map +1 -0
  389. package/dist/components/Toast/Toast.styles.d.mts +36 -0
  390. package/dist/components/Toast/Toast.styles.d.mts.map +1 -0
  391. package/dist/components/Toast/Toast.styles.mjs +20 -0
  392. package/dist/components/Toast/Toast.styles.mjs.map +1 -0
  393. package/dist/components/Toast/index.d.mts +2 -0
  394. package/dist/components/Toggle/Toggle.cjs +71 -0
  395. package/dist/components/Toggle/Toggle.d.cts +44 -0
  396. package/dist/components/Toggle/Toggle.d.cts.map +1 -0
  397. package/dist/components/Toggle/Toggle.d.mts +46 -0
  398. package/dist/components/Toggle/Toggle.d.mts.map +1 -0
  399. package/dist/components/Toggle/Toggle.mjs +70 -0
  400. package/dist/components/Toggle/Toggle.mjs.map +1 -0
  401. package/dist/components/Toggle/Toggle.styles.cjs +31 -0
  402. package/dist/components/Toggle/Toggle.styles.d.cts +75 -0
  403. package/dist/components/Toggle/Toggle.styles.d.cts.map +1 -0
  404. package/dist/components/Toggle/Toggle.styles.d.mts +75 -0
  405. package/dist/components/Toggle/Toggle.styles.d.mts.map +1 -0
  406. package/dist/components/Toggle/Toggle.styles.mjs +31 -0
  407. package/dist/components/Toggle/Toggle.styles.mjs.map +1 -0
  408. package/dist/components/Toggle/index.d.mts +1 -0
  409. package/dist/components/VStack/VStack.cjs +17 -0
  410. package/dist/components/VStack/VStack.d.cts +15 -0
  411. package/dist/components/VStack/VStack.d.cts.map +1 -0
  412. package/dist/components/VStack/VStack.d.mts +16 -0
  413. package/dist/components/VStack/VStack.d.mts.map +1 -0
  414. package/dist/components/VStack/VStack.mjs +16 -0
  415. package/dist/components/VStack/VStack.mjs.map +1 -0
  416. package/dist/components/VStack/index.d.mts +1 -0
  417. package/dist/components/index.d.mts +74 -0
  418. package/dist/hooks/field/useFieldContext.cjs +18 -0
  419. package/dist/hooks/field/useFieldContext.mjs +17 -0
  420. package/dist/hooks/field/useFieldContext.mjs.map +1 -0
  421. package/dist/hooks/ratioChart/useRatioChartContext.cjs +14 -0
  422. package/dist/hooks/ratioChart/useRatioChartContext.mjs +13 -0
  423. package/dist/hooks/ratioChart/useRatioChartContext.mjs.map +1 -0
  424. package/dist/index.cjs +73 -0
  425. package/dist/index.d.cts +50 -0
  426. package/dist/index.d.mts +52 -349
  427. package/dist/index.mjs +36 -1220
  428. package/dist/utils/converter/converter.cjs +9 -0
  429. package/dist/utils/converter/converter.d.cts +5 -0
  430. package/dist/utils/converter/converter.d.cts.map +1 -0
  431. package/dist/utils/converter/converter.d.mts +5 -0
  432. package/dist/utils/converter/converter.d.mts.map +1 -0
  433. package/dist/utils/converter/converter.mjs +9 -0
  434. package/dist/utils/converter/converter.mjs.map +1 -0
  435. package/dist/utils/index.d.mts +6 -0
  436. package/dist/utils/mergeStyles/index.d.mts +1 -0
  437. package/dist/utils/mergeStyles/mergeStyles.cjs +18 -0
  438. package/dist/utils/mergeStyles/mergeStyles.d.cts +14 -0
  439. package/dist/utils/mergeStyles/mergeStyles.d.cts.map +1 -0
  440. package/dist/utils/mergeStyles/mergeStyles.d.mts +14 -0
  441. package/dist/utils/mergeStyles/mergeStyles.d.mts.map +1 -0
  442. package/dist/utils/mergeStyles/mergeStyles.mjs +18 -0
  443. package/dist/utils/mergeStyles/mergeStyles.mjs.map +1 -0
  444. package/dist/utils/polymorphic/index.d.mts +1 -0
  445. package/dist/utils/polymorphic/polymorphic.d.cts +24 -0
  446. package/dist/utils/polymorphic/polymorphic.d.cts.map +1 -0
  447. package/dist/utils/polymorphic/polymorphic.d.mts +24 -0
  448. package/dist/utils/polymorphic/polymorphic.d.mts.map +1 -0
  449. package/dist/utils/splitter/splitter.cjs +12 -0
  450. package/dist/utils/splitter/splitter.d.cts +5 -0
  451. package/dist/utils/splitter/splitter.d.cts.map +1 -0
  452. package/dist/utils/splitter/splitter.d.mts +5 -0
  453. package/dist/utils/splitter/splitter.d.mts.map +1 -0
  454. package/dist/utils/splitter/splitter.mjs +12 -0
  455. package/dist/utils/splitter/splitter.mjs.map +1 -0
  456. package/package.json +21 -11
  457. package/src/styles/global.css +121 -70
  458. package/dist/index.d.ts +0 -349
  459. package/dist/index.js +0 -1246
package/dist/index.js DELETED
@@ -1,1246 +0,0 @@
1
- 'use strict';
2
-
3
- var React4 = require('react');
4
- var clsx = require('clsx');
5
- var tailwindMerge = require('tailwind-merge');
6
- var jsxRuntime = require('react/jsx-runtime');
7
- var reactSlot = require('@radix-ui/react-slot');
8
-
9
- function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
10
-
11
- var React4__default = /*#__PURE__*/_interopDefault(React4);
12
-
13
- // src/components/Text/Text.tsx
14
- function mergeStyles(...inputs) {
15
- return tailwindMerge.twMerge(clsx.clsx(inputs));
16
- }
17
-
18
- // src/components/Text/Text.styles.ts
19
- var colorClasses = {
20
- "gray-50": "text-gray-50",
21
- "gray-100": "text-gray-100",
22
- "gray-200": "text-gray-200",
23
- "gray-300": "text-gray-300",
24
- "gray-400": "text-gray-400",
25
- "gray-500": "text-gray-500",
26
- "gray-600": "text-gray-600",
27
- "gray-700": "text-gray-700",
28
- "gray-800": "text-gray-800",
29
- "gray-900": "text-gray-900",
30
- "blue-100": "text-blue-100",
31
- "blue-500": "text-blue-500",
32
- "blue-700": "text-blue-700",
33
- "red-100": "text-red-100",
34
- "red-400": "text-red-400",
35
- white: "text-white-main",
36
- black: "text-black-main"
37
- };
38
- var alignClasses = {
39
- left: "text-left",
40
- center: "text-center",
41
- right: "text-right",
42
- justify: "text-justify"
43
- };
44
- var typographyStyles = {
45
- // Caption variants
46
- "caption-sm": "typo-caption-sm",
47
- "caption-sm-point": "typo-caption-sm-point",
48
- "caption-md": "typo-caption-md",
49
- "caption-md-point": "typo-caption-md-point",
50
- // Body2 variants
51
- "body2-sm": "typo-body2-sm",
52
- "body2-sm-point": "typo-body2-sm-point",
53
- "body2-md": "typo-body2-md",
54
- "body2-md-point": "typo-body2-md-point",
55
- // Body variants
56
- "body-sm": "typo-body-sm",
57
- "body-sm-point": "typo-body-sm-point",
58
- "body-md": "typo-body-md",
59
- "body-md-point": "typo-body-md-point",
60
- // Subtitle variants
61
- "subtitle-sm": "typo-subtitle-sm",
62
- "subtitle-sm-point": "typo-subtitle-sm-point",
63
- "subtitle-md": "typo-subtitle-md",
64
- "subtitle-md-point": "typo-subtitle-md-point",
65
- // Title variants (always bold)
66
- "title-sm": "typo-title-sm",
67
- "title-md": "typo-title-md",
68
- // Head variants (always bold)
69
- "head-sm": "typo-head-sm",
70
- "head-md": "typo-head-md",
71
- // Fixed size variants
72
- "fixed-12": "typo-fixed-12",
73
- "fixed-14": "typo-fixed-14",
74
- "fixed-15": "typo-fixed-15",
75
- "fixed-16": "typo-fixed-16",
76
- "fixed-18": "typo-fixed-18",
77
- "fixed-20": "typo-fixed-20",
78
- "fixed-24": "typo-fixed-24"
79
- };
80
- function textStyles({
81
- typography,
82
- textColor,
83
- align
84
- }) {
85
- const baseStyles4 = "font-sans";
86
- const colorClass = colorClasses[textColor];
87
- const typographyClass = typographyStyles[typography];
88
- const alignClass = align ? alignClasses[align] : "";
89
- return mergeStyles([baseStyles4, colorClass, typographyClass, alignClass]);
90
- }
91
-
92
- // src/components/Text/Text.tsx
93
- var Text = ({
94
- typography = "body-sm",
95
- textColor = "gray-700",
96
- align,
97
- as,
98
- children,
99
- className = "",
100
- ...props
101
- }) => {
102
- const Component = as || "span";
103
- const classes = textStyles({ typography, textColor, align });
104
- return React4__default.default.createElement(
105
- Component,
106
- {
107
- className: mergeStyles(classes, className),
108
- ...props
109
- },
110
- children
111
- );
112
- };
113
- Text.displayName = "Text";
114
- var FieldContext = React4.createContext(null);
115
- var useFieldContext = () => {
116
- const context = React4.useContext(FieldContext);
117
- if (!context) {
118
- return null;
119
- }
120
- return context;
121
- };
122
- var FieldRoot = ({
123
- children,
124
- disabled = false,
125
- error = false,
126
- className,
127
- ...props
128
- }) => {
129
- const id = React4.useId();
130
- return /* @__PURE__ */ jsxRuntime.jsx(FieldContext.Provider, { value: { id, disabled, error }, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: mergeStyles("flex flex-col gap-2", className), ...props, children }) });
131
- };
132
- var FieldLabel = ({
133
- children,
134
- className,
135
- typography = "body-sm-point",
136
- textColor = "gray-700",
137
- ...labelProps
138
- }) => {
139
- const fieldContext = useFieldContext();
140
- const id = fieldContext?.id;
141
- return /* @__PURE__ */ jsxRuntime.jsx(
142
- Text,
143
- {
144
- typography,
145
- textColor,
146
- htmlFor: id,
147
- className: mergeStyles("px-1", className),
148
- ...labelProps,
149
- children
150
- }
151
- );
152
- };
153
- var FieldDescription = ({
154
- children,
155
- className,
156
- ...props
157
- }) => {
158
- const fieldContext = useFieldContext();
159
- const id = fieldContext?.id;
160
- const error = fieldContext?.error;
161
- if (error) return null;
162
- return /* @__PURE__ */ jsxRuntime.jsx(
163
- Text,
164
- {
165
- typography: "body2-sm",
166
- textColor: "gray-400",
167
- id: id ? `${id}-description` : void 0,
168
- className,
169
- ...props,
170
- children
171
- }
172
- );
173
- };
174
- var FieldErrorDescription = ({
175
- children,
176
- className,
177
- ...props
178
- }) => {
179
- const fieldContext = useFieldContext();
180
- const id = fieldContext?.id;
181
- const error = fieldContext?.error;
182
- if (!error) return null;
183
- return /* @__PURE__ */ jsxRuntime.jsx(
184
- Text,
185
- {
186
- typography: "body2-sm",
187
- textColor: "red-400",
188
- id: id ? `${id}-error` : void 0,
189
- className,
190
- ...props,
191
- children
192
- }
193
- );
194
- };
195
- FieldRoot.displayName = "Field";
196
- FieldLabel.displayName = "Field.Label";
197
- FieldDescription.displayName = "Field.Description";
198
- FieldErrorDescription.displayName = "Field.ErrorDescription";
199
- var Field = Object.assign(FieldRoot, {
200
- Label: FieldLabel,
201
- Description: FieldDescription,
202
- ErrorDescription: FieldErrorDescription
203
- });
204
- var TextInput = ({
205
- id: idProp,
206
- disabled: disabledProp,
207
- error: errorProp,
208
- className,
209
- leftIcon,
210
- rightIcon,
211
- variant = "default",
212
- typography = "body2-sm",
213
- textColor = "gray-700",
214
- ...props
215
- }) => {
216
- const field = useFieldContext();
217
- const id = idProp ?? field?.id;
218
- const disabled = disabledProp ?? field?.disabled ?? false;
219
- const error = errorProp ?? field?.error ?? false;
220
- const classes = textStyles({ typography, textColor });
221
- const inputStyles = mergeStyles(
222
- "w-full bg-transparent outline-none",
223
- "placeholder:text-gray-400",
224
- "caret-gray-600"
225
- );
226
- const variantStyles = {
227
- default: mergeStyles(
228
- "rounded-md p-4",
229
- "bg-white",
230
- "focus-within:ring-2 focus-within:ring-gray-600"
231
- ),
232
- underline: mergeStyles(
233
- "py-2 px-0",
234
- "border-b border-gray-400",
235
- "bg-transparent",
236
- "focus-within:border-gray-600"
237
- )
238
- };
239
- const wrapperStyles = mergeStyles(
240
- "flex items-center gap-2 self-stretch",
241
- variantStyles[variant],
242
- disabled && "cursor-not-allowed opacity-50",
243
- error && variant === "default" && "ring-2 ring-red-400 focus-within:ring-red-400",
244
- error && variant === "underline" && "border-red-400 focus-within:border-red-400",
245
- className
246
- );
247
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: wrapperStyles, children: [
248
- leftIcon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-shrink-0 text-gray-400", children: leftIcon }),
249
- /* @__PURE__ */ jsxRuntime.jsx(
250
- "input",
251
- {
252
- id,
253
- disabled,
254
- className: mergeStyles(inputStyles, classes),
255
- ...props
256
- }
257
- ),
258
- rightIcon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-shrink-0 text-gray-400", children: rightIcon })
259
- ] });
260
- };
261
- TextInput.displayName = "TextInput";
262
- function createPrimitive(node) {
263
- const Node = (props) => {
264
- const { asChild, ...primitiveProps } = props;
265
- const Comp = asChild ? reactSlot.Slot : node;
266
- return /* @__PURE__ */ jsxRuntime.jsx(Comp, { ...primitiveProps });
267
- };
268
- Node.displayName = `Primitive.${node}`;
269
- return Node;
270
- }
271
- var Primitive = {
272
- div: createPrimitive("div"),
273
- span: createPrimitive("span"),
274
- img: createPrimitive("img"),
275
- button: createPrimitive("button"),
276
- label: createPrimitive("label"),
277
- input: createPrimitive("input"),
278
- textarea: createPrimitive("textarea"),
279
- a: createPrimitive("a"),
280
- p: createPrimitive("p"),
281
- h2: createPrimitive("h2"),
282
- ul: createPrimitive("ul"),
283
- li: createPrimitive("li"),
284
- svg: createPrimitive("svg"),
285
- circle: createPrimitive("circle")
286
- };
287
- var TextAreaRoot = ({ className, children, ...props }) => {
288
- const field = useFieldContext();
289
- const wrapperStyles = mergeStyles(
290
- "rounded-md p-4",
291
- "bg-white",
292
- "focus-within:ring-2 focus-within:ring-gray-600",
293
- field?.disabled && "cursor-not-allowed opacity-50",
294
- field?.error && "ring-2 ring-red-400 focus-within:ring-red-400",
295
- className
296
- );
297
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive.div, { className: wrapperStyles, ...props, children });
298
- };
299
- var TextAreaInput = ({
300
- resize = true,
301
- disabled: disabledProp,
302
- className,
303
- ...props
304
- }) => {
305
- const field = useFieldContext();
306
- const disabled = disabledProp ?? field?.disabled ?? false;
307
- const textareaStyles = mergeStyles(
308
- "w-full min-w-0 min-h-10 bg-transparent outline-none",
309
- "typo-body-sm",
310
- "text-gray-700 placeholder:text-gray-400",
311
- "caret-gray-600",
312
- resize ? "resize-y" : "resize-none",
313
- disabled && "cursor-not-allowed",
314
- className
315
- );
316
- return /* @__PURE__ */ jsxRuntime.jsx("textarea", { className: textareaStyles, disabled, ...props });
317
- };
318
- var TextAreaFooter = ({
319
- className,
320
- children,
321
- ...props
322
- }) => {
323
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive.div, { className: mergeStyles("mt-2", className), ...props, children });
324
- };
325
- TextAreaRoot.displayName = "TextArea";
326
- TextAreaInput.displayName = "TextArea.Input";
327
- TextAreaFooter.displayName = "TextArea.Footer";
328
- var TextArea = Object.assign(TextAreaRoot, {
329
- Input: TextAreaInput,
330
- Footer: TextAreaFooter
331
- });
332
- var RadioGroupContext = React4.createContext(null);
333
- var useRadioGroupContext = () => {
334
- return React4.useContext(RadioGroupContext);
335
- };
336
- var RadioGroup = ({
337
- name,
338
- value,
339
- defaultValue,
340
- onValueChange,
341
- className,
342
- children,
343
- ...props
344
- }) => {
345
- const [internalValue, setInternalValue] = React4__default.default.useState(defaultValue);
346
- const currentValue = value ?? internalValue;
347
- const handleChange = (newValue) => {
348
- if (value === void 0) {
349
- setInternalValue(newValue);
350
- }
351
- onValueChange?.(newValue);
352
- };
353
- return /* @__PURE__ */ jsxRuntime.jsx(
354
- RadioGroupContext.Provider,
355
- {
356
- value: { name, value: currentValue, onChange: handleChange },
357
- children: /* @__PURE__ */ jsxRuntime.jsx(
358
- Primitive.div,
359
- {
360
- role: "radiogroup",
361
- className: mergeStyles("flex flex-col gap-5", className),
362
- ...props,
363
- children
364
- }
365
- )
366
- }
367
- );
368
- };
369
- var RadioIcon = ({ checked }) => /* @__PURE__ */ jsxRuntime.jsx(
370
- "svg",
371
- {
372
- xmlns: "http://www.w3.org/2000/svg",
373
- width: "20",
374
- height: "20",
375
- viewBox: "0 0 20 20",
376
- fill: "none",
377
- className: "transition-all duration-150 ease-in-out",
378
- children: /* @__PURE__ */ jsxRuntime.jsx(
379
- "circle",
380
- {
381
- cx: "10",
382
- cy: "10",
383
- r: checked ? 7 : 7.5,
384
- stroke: "currentColor",
385
- strokeWidth: checked ? 6 : 5,
386
- className: "transition-all duration-150 ease-in-out"
387
- }
388
- )
389
- }
390
- );
391
- var Radio = ({
392
- value,
393
- children,
394
- className,
395
- checked: checkedProp,
396
- onChange,
397
- ...props
398
- }) => {
399
- const group = useRadioGroupContext();
400
- const isChecked = group ? group.value === value : checkedProp;
401
- const name = group?.name ?? props.name;
402
- const handleChange = (e) => {
403
- group?.onChange?.(value);
404
- onChange?.(e);
405
- };
406
- return /* @__PURE__ */ jsxRuntime.jsxs(
407
- "label",
408
- {
409
- className: mergeStyles(
410
- "flex cursor-pointer items-center gap-2",
411
- "transition-opacity duration-150 hover:opacity-80",
412
- className
413
- ),
414
- children: [
415
- /* @__PURE__ */ jsxRuntime.jsx(
416
- "input",
417
- {
418
- type: "radio",
419
- name,
420
- value,
421
- checked: isChecked,
422
- onChange: handleChange,
423
- className: "sr-only",
424
- ...props
425
- }
426
- ),
427
- /* @__PURE__ */ jsxRuntime.jsx(
428
- "span",
429
- {
430
- className: mergeStyles(
431
- "flex-shrink-0 transition-colors duration-150",
432
- isChecked ? "text-gray-800 hover:text-gray-800" : "text-gray-200 hover:text-gray-400"
433
- ),
434
- children: /* @__PURE__ */ jsxRuntime.jsx(RadioIcon, { checked: !!isChecked })
435
- }
436
- ),
437
- /* @__PURE__ */ jsxRuntime.jsx(Text, { typography: "body-sm", textColor: "gray-800", children })
438
- ]
439
- }
440
- );
441
- };
442
- RadioGroup.displayName = "RadioGroup";
443
- Radio.displayName = "Radio";
444
- var ToggleContext = React4__default.default.createContext(null);
445
- var useToggleContext = () => {
446
- const context = React4__default.default.useContext(ToggleContext);
447
- if (!context) {
448
- throw new Error(
449
- "Toggle \uC11C\uBE0C \uCEF4\uD3EC\uB10C\uD2B8\uB294 <Toggle> \uCEF4\uD3EC\uB10C\uD2B8 \uB0B4\uBD80\uC5D0\uC11C \uC0AC\uC6A9\uD574\uC57C \uD569\uB2C8\uB2E4. ex) <Toggle><Toggle.Switch /></Toggle>"
450
- );
451
- }
452
- return context;
453
- };
454
- var ToggleRoot = ({
455
- checked: checkedProp,
456
- defaultChecked = false,
457
- onCheckedChange,
458
- disabled,
459
- children,
460
- className,
461
- ...props
462
- }) => {
463
- const [internalChecked, setInternalChecked] = React4.useState(defaultChecked);
464
- const isChecked = checkedProp !== void 0 ? checkedProp : internalChecked;
465
- const handleChange = () => {
466
- if (disabled) return;
467
- const newChecked = !isChecked;
468
- if (checkedProp === void 0) {
469
- setInternalChecked(newChecked);
470
- }
471
- onCheckedChange?.(newChecked);
472
- };
473
- return /* @__PURE__ */ jsxRuntime.jsx(ToggleContext.Provider, { value: { checked: isChecked, disabled }, children: /* @__PURE__ */ jsxRuntime.jsxs(
474
- "label",
475
- {
476
- className: mergeStyles(
477
- "inline-flex cursor-pointer items-center gap-2",
478
- disabled && "cursor-not-allowed opacity-50",
479
- className
480
- ),
481
- ...props,
482
- children: [
483
- /* @__PURE__ */ jsxRuntime.jsx(
484
- "input",
485
- {
486
- type: "checkbox",
487
- checked: isChecked,
488
- onChange: handleChange,
489
- disabled,
490
- className: "sr-only"
491
- }
492
- ),
493
- children
494
- ]
495
- }
496
- ) });
497
- };
498
- var ToggleSwitch = () => {
499
- const { checked } = useToggleContext();
500
- return /* @__PURE__ */ jsxRuntime.jsx(
501
- "span",
502
- {
503
- className: mergeStyles(
504
- "relative inline-flex items-center rounded-full p-1 transition-colors duration-200 ease-in-out",
505
- "h-7 w-12",
506
- // 48px x 28px
507
- checked ? "bg-gray-600" : "bg-gray-200"
508
- ),
509
- children: /* @__PURE__ */ jsxRuntime.jsx(
510
- "span",
511
- {
512
- className: mergeStyles(
513
- "pointer-events-none inline-block rounded-full bg-white shadow-sm transition-transform duration-200 ease-in-out",
514
- "h-5 w-5",
515
- // 20px
516
- checked ? "translate-x-5" : "translate-x-0"
517
- )
518
- }
519
- )
520
- }
521
- );
522
- };
523
- var ToggleLabel = ({
524
- children,
525
- typography = "fixed-16",
526
- textColor = "gray-700",
527
- ...props
528
- }) => {
529
- const { disabled } = useToggleContext();
530
- return /* @__PURE__ */ jsxRuntime.jsx(
531
- Text,
532
- {
533
- typography,
534
- textColor: disabled ? "gray-400" : textColor,
535
- ...props,
536
- children
537
- }
538
- );
539
- };
540
- ToggleRoot.displayName = "Toggle";
541
- ToggleSwitch.displayName = "Toggle.Switch";
542
- ToggleLabel.displayName = "Toggle.Label";
543
- var Toggle = Object.assign(ToggleRoot, {
544
- Switch: ToggleSwitch,
545
- Label: ToggleLabel
546
- });
547
- var CheckboxContext = React4__default.default.createContext(null);
548
- var useCheckboxContext = () => {
549
- const context = React4__default.default.useContext(CheckboxContext);
550
- if (!context) {
551
- throw new Error(
552
- "Checkbox \uC11C\uBE0C \uCEF4\uD3EC\uB10C\uD2B8\uB294 <Checkbox> \uCEF4\uD3EC\uB10C\uD2B8 \uB0B4\uBD80\uC5D0\uC11C \uC0AC\uC6A9\uD574\uC57C \uD569\uB2C8\uB2E4. ex) <Checkbox><Checkbox.Indicator /></Checkbox>"
553
- );
554
- }
555
- return context;
556
- };
557
- var CheckboxRoot = ({
558
- checked: checkedProp,
559
- defaultChecked = false,
560
- onCheckedChange,
561
- disabled,
562
- children,
563
- className,
564
- ...props
565
- }) => {
566
- const [internalChecked, setInternalChecked] = React4.useState(defaultChecked);
567
- const isChecked = checkedProp !== void 0 ? checkedProp : internalChecked;
568
- const handleChange = () => {
569
- if (disabled) return;
570
- const newChecked = !isChecked;
571
- if (checkedProp === void 0) {
572
- setInternalChecked(newChecked);
573
- }
574
- onCheckedChange?.(newChecked);
575
- };
576
- return /* @__PURE__ */ jsxRuntime.jsx(CheckboxContext.Provider, { value: { checked: isChecked, disabled }, children: /* @__PURE__ */ jsxRuntime.jsxs(
577
- "label",
578
- {
579
- className: mergeStyles(
580
- "inline-flex cursor-pointer items-center gap-2",
581
- disabled && "cursor-not-allowed opacity-50",
582
- className
583
- ),
584
- ...props,
585
- children: [
586
- /* @__PURE__ */ jsxRuntime.jsx(
587
- "input",
588
- {
589
- type: "checkbox",
590
- checked: isChecked,
591
- onChange: handleChange,
592
- disabled,
593
- className: "sr-only"
594
- }
595
- ),
596
- children
597
- ]
598
- }
599
- ) });
600
- };
601
- var CheckboxIndicator = () => {
602
- const { checked } = useCheckboxContext();
603
- if (checked) {
604
- return /* @__PURE__ */ jsxRuntime.jsxs(
605
- "svg",
606
- {
607
- xmlns: "http://www.w3.org/2000/svg",
608
- width: "18",
609
- height: "18",
610
- viewBox: "0 0 18 18",
611
- fill: "none",
612
- className: "flex-shrink-0",
613
- children: [
614
- /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "18", height: "18", rx: "4", fill: "#1E2939" }),
615
- /* @__PURE__ */ jsxRuntime.jsx(
616
- "path",
617
- {
618
- d: "M5 9.08333L7.94737 12L13 7",
619
- stroke: "white",
620
- strokeWidth: "2",
621
- strokeLinecap: "round",
622
- strokeLinejoin: "round"
623
- }
624
- )
625
- ]
626
- }
627
- );
628
- }
629
- return /* @__PURE__ */ jsxRuntime.jsx(
630
- "span",
631
- {
632
- className: mergeStyles(
633
- "flex-shrink-0",
634
- "aspect-square h-[18px] w-[18px]",
635
- "rounded border-2 border-gray-200 bg-white"
636
- )
637
- }
638
- );
639
- };
640
- var CheckboxLabel = ({
641
- children,
642
- typography = "body-sm",
643
- textColor = "gray-600",
644
- ...props
645
- }) => {
646
- const { disabled } = useCheckboxContext();
647
- return /* @__PURE__ */ jsxRuntime.jsx(
648
- Text,
649
- {
650
- typography,
651
- textColor: disabled ? "gray-400" : textColor,
652
- ...props,
653
- children
654
- }
655
- );
656
- };
657
- CheckboxRoot.displayName = "Checkbox";
658
- CheckboxIndicator.displayName = "Checkbox.Indicator";
659
- CheckboxLabel.displayName = "Checkbox.Label";
660
- var Checkbox = Object.assign(CheckboxRoot, {
661
- Indicator: CheckboxIndicator,
662
- Label: CheckboxLabel
663
- });
664
-
665
- // src/components/Button/Button.styles.ts
666
- var baseStyles = "inline-flex items-center justify-center gap-[0.375rem] whitespace-nowrap rounded-[0.5rem] transition-colors duration-150 disabled:opacity-50 disabled:pointer-events-none";
667
- var sizeStyles = {
668
- sm: "min-w-[3rem] h-[1.875rem] px-[0.5rem] typo-body2-sm-point",
669
- md: "h-[2.375rem] px-[0.75rem] typo-body2-sm-point"
670
- };
671
- var colorStyles = {
672
- // base와 active에 대한 설정이 아직 정해지지 않음
673
- white: {
674
- base: "bg-white text-gray-400",
675
- active: "bg-white text-gray-400"
676
- },
677
- gray: {
678
- base: "bg-gray-100 text-gray-400",
679
- active: "bg-gray-100 text-gray-400"
680
- },
681
- red: {
682
- base: "bg-red-100 text-red-400",
683
- active: "bg-red-100 text-red-400"
684
- }
685
- };
686
- function buttonStyles({
687
- size,
688
- color,
689
- active = false,
690
- disabled = false,
691
- fullWidth = false
692
- }) {
693
- return mergeStyles(
694
- baseStyles,
695
- disabled ? "cursor-not-allowed pointer-events-none" : "cursor-pointer",
696
- sizeStyles[size],
697
- active ? colorStyles[color].active : colorStyles[color].base,
698
- fullWidth && "w-full"
699
- );
700
- }
701
- function Button({
702
- size = "md",
703
- color = "gray",
704
- active = false,
705
- fullWidth = false,
706
- disabled = false,
707
- children,
708
- ...props
709
- }) {
710
- return /* @__PURE__ */ jsxRuntime.jsx(
711
- "button",
712
- {
713
- className: buttonStyles({
714
- size,
715
- color,
716
- active,
717
- disabled,
718
- fullWidth
719
- }),
720
- disabled,
721
- ...props,
722
- children
723
- }
724
- );
725
- }
726
-
727
- // src/components/CTAButton/CTAButton.styles.ts
728
- var baseStyles2 = "inline-flex items-center justify-center h-[3.375rem] px-[0.5rem] rounded-[0.75rem] typo-fixed-15 whitespace-nowrap select-none transition-colors";
729
- var widthStyles = {
730
- default: "w-[18rem]",
731
- full: "w-full"
732
- };
733
- var colorStyles2 = {
734
- blue: "bg-blue-100 text-blue-700",
735
- red: "bg-red-400 text-white",
736
- dark: "bg-gray-700 text-white",
737
- light: "bg-gray-100 text-gray-500",
738
- white: "bg-white text-gray-500",
739
- disabled: "bg-gray-200 text-gray-300"
740
- };
741
- function ctaButtonStyles({
742
- color,
743
- fullWidth = false,
744
- disabled = false
745
- }) {
746
- return mergeStyles(
747
- baseStyles2,
748
- fullWidth ? widthStyles.full : widthStyles.default,
749
- colorStyles2[disabled ? "disabled" : color],
750
- disabled ? "pointer-events-none" : "cursor-pointer"
751
- );
752
- }
753
- function CTAButton({
754
- color = "light",
755
- fullWidth = false,
756
- disabled = false,
757
- asChild = false,
758
- className,
759
- children,
760
- ...props
761
- }) {
762
- const Component = asChild ? reactSlot.Slot : "button";
763
- return /* @__PURE__ */ jsxRuntime.jsx(
764
- Component,
765
- {
766
- type: asChild ? void 0 : "button",
767
- disabled,
768
- className: mergeStyles(
769
- ctaButtonStyles({ color, fullWidth, disabled }),
770
- className
771
- ),
772
- ...props,
773
- children
774
- }
775
- );
776
- }
777
-
778
- // src/components/FloatingActionButton/FloatingActionButton.styles.ts
779
- var baseStyles3 = "inline-flex items-center justify-center bg-gray-100 border border-gray-200 text-gray-500 typo-body-sm-point h-[2.875rem] rounded-[6.1875rem] select-none whitespace-nowrap transition-colors";
780
- var paddingStyles = "px-[1rem] py-[0.625rem]";
781
- var iconGapStyles = {
782
- left: "gap-[0.25rem]",
783
- right: "gap-[0.625rem]",
784
- none: ""
785
- };
786
- function floatingActionButtonStyles({
787
- iconPosition = "none",
788
- disabled = false
789
- }) {
790
- return mergeStyles(
791
- baseStyles3,
792
- paddingStyles,
793
- iconGapStyles[iconPosition],
794
- disabled ? "opacity-50 pointer-events-none" : "cursor-pointer"
795
- );
796
- }
797
- function FloatingActionButton({
798
- leftIcon,
799
- rightIcon,
800
- disabled = false,
801
- asChild = false,
802
- children,
803
- className,
804
- ...props
805
- }) {
806
- const iconPosition = leftIcon ? "left" : rightIcon ? "right" : "none";
807
- const Component = asChild ? reactSlot.Slot : "button";
808
- return /* @__PURE__ */ jsxRuntime.jsxs(
809
- Component,
810
- {
811
- type: asChild ? void 0 : "button",
812
- disabled,
813
- className: mergeStyles(
814
- floatingActionButtonStyles({ iconPosition, disabled }),
815
- className
816
- ),
817
- ...props,
818
- children: [
819
- leftIcon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center", children: leftIcon }),
820
- children && /* @__PURE__ */ jsxRuntime.jsx("span", { children }),
821
- rightIcon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center", children: rightIcon })
822
- ]
823
- }
824
- );
825
- }
826
-
827
- // src/components/Box/Box.styles.ts
828
- var paddingClasses = {
829
- none: "p-0",
830
- xs: "p-1",
831
- // 4px
832
- sm: "p-2",
833
- // 8px
834
- md: "p-4",
835
- // 16px
836
- lg: "p-6"
837
- // 24px
838
- };
839
- var radiusClasses = {
840
- none: "rounded-none",
841
- xs: "rounded-sm",
842
- sm: "rounded",
843
- md: "rounded-md",
844
- lg: "rounded-lg",
845
- xl: "rounded-xl",
846
- "2xl": "rounded-2xl",
847
- "3xl": "rounded-3xl"
848
- };
849
- var displayClasses = {
850
- block: "block",
851
- flex: "flex",
852
- grid: "grid",
853
- "inline-block": "inline-block",
854
- "inline-flex": "inline-flex",
855
- none: "hidden"
856
- };
857
- var backgroundClasses = {
858
- default: "",
859
- subtle: "bg-gray-50",
860
- inverse: "bg-gray-900 text-white",
861
- transparent: "bg-transparent"
862
- };
863
- function boxStyles({
864
- padding = "none",
865
- radius = "none",
866
- display = "block",
867
- background = "default"
868
- }) {
869
- return mergeStyles([
870
- paddingClasses[padding],
871
- radiusClasses[radius],
872
- displayClasses[display],
873
- backgroundClasses[background]
874
- ]);
875
- }
876
-
877
- // src/components/Box/Box.tsx
878
- var Box = ({
879
- as,
880
- padding,
881
- radius,
882
- display,
883
- background,
884
- className = "",
885
- children,
886
- ...props
887
- }) => {
888
- const Component = as || "div";
889
- const classes = boxStyles({ padding, radius, display, background });
890
- return React4__default.default.createElement(
891
- Component,
892
- {
893
- className: mergeStyles(classes, className),
894
- ...props
895
- },
896
- children
897
- );
898
- };
899
- Box.displayName = "Box";
900
-
901
- // src/components/Stack/Stack.styles.ts
902
- var directionClasses = {
903
- horizontal: "flex-row",
904
- vertical: "flex-col"
905
- };
906
- var gapClasses = {
907
- none: "gap-0",
908
- xs: "gap-1",
909
- // 4px
910
- sm: "gap-2",
911
- // 8px
912
- md: "gap-4",
913
- // 16px
914
- lg: "gap-6",
915
- // 24px
916
- xl: "gap-8"
917
- // 32px
918
- };
919
- var alignClasses2 = {
920
- start: "items-start",
921
- center: "items-center",
922
- end: "items-end",
923
- stretch: "items-stretch"
924
- };
925
- var justifyClasses = {
926
- start: "justify-start",
927
- center: "justify-center",
928
- end: "justify-end",
929
- between: "justify-between"
930
- };
931
- function stackStyles({
932
- direction = "vertical",
933
- gap = "md",
934
- align = "stretch",
935
- justify = "start"
936
- }) {
937
- return mergeStyles([
938
- "flex",
939
- // Base style
940
- directionClasses[direction],
941
- gapClasses[gap],
942
- alignClasses2[align],
943
- justifyClasses[justify]
944
- ]);
945
- }
946
-
947
- // src/components/Stack/Stack.tsx
948
- var Stack = ({
949
- as,
950
- direction,
951
- gap,
952
- align,
953
- justify,
954
- className = "",
955
- children,
956
- ...props
957
- }) => {
958
- const Component = as || "div";
959
- const classes = stackStyles({ direction, gap, align, justify });
960
- return React4__default.default.createElement(
961
- Component,
962
- {
963
- className: mergeStyles(classes, className),
964
- ...props
965
- },
966
- children
967
- );
968
- };
969
- Stack.displayName = "Stack";
970
- var VStack = ({
971
- ...props
972
- }) => {
973
- return /* @__PURE__ */ jsxRuntime.jsx(Stack, { direction: "vertical", ...props });
974
- };
975
- VStack.displayName = "VStack";
976
- var HStack = ({
977
- ...props
978
- }) => {
979
- return /* @__PURE__ */ jsxRuntime.jsx(Stack, { direction: "horizontal", ...props });
980
- };
981
- HStack.displayName = "HStack";
982
-
983
- // src/components/Flex/Flex.styles.ts
984
- var directionClasses2 = {
985
- row: "flex-row",
986
- "row-reverse": "flex-row-reverse",
987
- column: "flex-col",
988
- "column-reverse": "flex-col-reverse"
989
- };
990
- var gapClasses2 = {
991
- none: "gap-0",
992
- xs: "gap-1",
993
- // 4px
994
- sm: "gap-2",
995
- // 8px
996
- md: "gap-4",
997
- // 16px
998
- lg: "gap-6",
999
- // 24px
1000
- xl: "gap-8"
1001
- // 32px
1002
- };
1003
- var alignClasses3 = {
1004
- start: "items-start",
1005
- center: "items-center",
1006
- end: "items-end",
1007
- stretch: "items-stretch",
1008
- baseline: "items-baseline"
1009
- };
1010
- var justifyClasses2 = {
1011
- start: "justify-start",
1012
- center: "justify-center",
1013
- end: "justify-end",
1014
- between: "justify-between",
1015
- around: "justify-around",
1016
- evenly: "justify-evenly"
1017
- };
1018
- var wrapClasses = {
1019
- nowrap: "flex-nowrap",
1020
- wrap: "flex-wrap",
1021
- "wrap-reverse": "flex-wrap-reverse"
1022
- };
1023
- function flexStyles({
1024
- direction = "row",
1025
- gap = "md",
1026
- align = "stretch",
1027
- justify = "start",
1028
- wrap = "nowrap"
1029
- }) {
1030
- return mergeStyles([
1031
- "flex",
1032
- // Base style
1033
- directionClasses2[direction],
1034
- gapClasses2[gap],
1035
- alignClasses3[align],
1036
- justifyClasses2[justify],
1037
- wrapClasses[wrap]
1038
- ]);
1039
- }
1040
-
1041
- // src/components/Flex/Flex.tsx
1042
- var Flex = ({
1043
- as,
1044
- direction,
1045
- gap,
1046
- align,
1047
- justify,
1048
- wrap,
1049
- className = "",
1050
- children,
1051
- ...props
1052
- }) => {
1053
- const Component = as || "div";
1054
- const classes = flexStyles({ direction, gap, align, justify, wrap });
1055
- return React4__default.default.createElement(
1056
- Component,
1057
- {
1058
- className: mergeStyles(classes, className),
1059
- ...props
1060
- },
1061
- children
1062
- );
1063
- };
1064
- Flex.displayName = "Flex";
1065
-
1066
- // src/components/Grid/Grid.styles.ts
1067
- var columnsClasses = {
1068
- 1: "grid-cols-1",
1069
- 2: "grid-cols-2",
1070
- 3: "grid-cols-3",
1071
- 4: "grid-cols-4",
1072
- 5: "grid-cols-5",
1073
- 6: "grid-cols-6",
1074
- 7: "grid-cols-7",
1075
- 8: "grid-cols-8",
1076
- 9: "grid-cols-9",
1077
- 10: "grid-cols-10",
1078
- 11: "grid-cols-11",
1079
- 12: "grid-cols-12",
1080
- none: "grid-cols-none"
1081
- };
1082
- var rowsClasses = {
1083
- 1: "grid-rows-1",
1084
- 2: "grid-rows-2",
1085
- 3: "grid-rows-3",
1086
- 4: "grid-rows-4",
1087
- 5: "grid-rows-5",
1088
- 6: "grid-rows-6",
1089
- none: "grid-rows-none"
1090
- };
1091
- var gapClasses3 = {
1092
- none: "gap-0",
1093
- xs: "gap-1",
1094
- // 4px
1095
- sm: "gap-2",
1096
- // 8px
1097
- md: "gap-4",
1098
- // 16px
1099
- lg: "gap-6",
1100
- // 24px
1101
- xl: "gap-8"
1102
- // 32px
1103
- };
1104
- var flowClasses = {
1105
- row: "grid-flow-row",
1106
- col: "grid-flow-col",
1107
- "row-dense": "grid-flow-row-dense",
1108
- "col-dense": "grid-flow-col-dense"
1109
- };
1110
- function gridStyles({
1111
- columns = "none",
1112
- rows = "none",
1113
- gap = "md",
1114
- flow = "row"
1115
- }) {
1116
- return mergeStyles([
1117
- "grid",
1118
- columnsClasses[columns],
1119
- rowsClasses[rows],
1120
- gapClasses3[gap],
1121
- flowClasses[flow]
1122
- ]);
1123
- }
1124
-
1125
- // src/components/Grid/Grid.tsx
1126
- var Grid = ({
1127
- as,
1128
- columns,
1129
- rows,
1130
- gap,
1131
- flow,
1132
- className = "",
1133
- children,
1134
- ...props
1135
- }) => {
1136
- const Component = as || "div";
1137
- const classes = gridStyles({ columns, rows, gap, flow });
1138
- return React4__default.default.createElement(
1139
- Component,
1140
- {
1141
- className: mergeStyles(classes, className),
1142
- ...props
1143
- },
1144
- children
1145
- );
1146
- };
1147
- Grid.displayName = "Grid";
1148
-
1149
- // src/components/Separator/Separator.styles.ts
1150
- var orientationClasses = {
1151
- horizontal: "h-px w-full my-2",
1152
- vertical: "h-full w-px mx-2 self-stretch"
1153
- };
1154
- var colorClasses2 = "bg-gray-200";
1155
- function separatorStyles({
1156
- orientation = "horizontal"
1157
- }) {
1158
- return mergeStyles([colorClasses2, orientationClasses[orientation]]);
1159
- }
1160
-
1161
- // src/components/Separator/Separator.tsx
1162
- var Separator = ({
1163
- as,
1164
- orientation = "horizontal",
1165
- className = "",
1166
- ...props
1167
- }) => {
1168
- const Component = as || "div";
1169
- const classes = separatorStyles({ orientation });
1170
- return React4__default.default.createElement(Component, {
1171
- role: "separator",
1172
- "aria-orientation": orientation,
1173
- className: mergeStyles(classes, className),
1174
- ...props
1175
- });
1176
- };
1177
- Separator.displayName = "Separator";
1178
-
1179
- // src/components/Spacer/Spacer.styles.ts
1180
- var sizeClasses = {
1181
- 1: "w-1 h-1",
1182
- // 4px
1183
- 2: "w-2 h-2",
1184
- // 8px
1185
- 4: "w-4 h-4",
1186
- // 16px
1187
- 6: "w-6 h-6",
1188
- // 24px
1189
- 8: "w-8 h-8",
1190
- // 32px
1191
- 10: "w-10 h-10",
1192
- // 40px
1193
- 12: "w-12 h-12",
1194
- // 48px
1195
- 16: "w-16 h-16",
1196
- // 64px
1197
- 20: "w-20 h-20",
1198
- // 80px
1199
- 24: "w-24 h-24"
1200
- // 96px
1201
- };
1202
- function spacerStyles({ size = "auto" }) {
1203
- if (size === "auto") {
1204
- return "flex-1";
1205
- }
1206
- return mergeStyles(["flex-none", sizeClasses[size]]);
1207
- }
1208
-
1209
- // src/components/Spacer/Spacer.tsx
1210
- var Spacer = ({
1211
- as,
1212
- size,
1213
- className = "",
1214
- ...props
1215
- }) => {
1216
- const Component = as || "div";
1217
- const classes = spacerStyles({ size });
1218
- return React4__default.default.createElement(Component, {
1219
- "aria-hidden": "true",
1220
- className: mergeStyles(classes, className),
1221
- ...props
1222
- });
1223
- };
1224
- Spacer.displayName = "Spacer";
1225
-
1226
- exports.Box = Box;
1227
- exports.Button = Button;
1228
- exports.CTAButton = CTAButton;
1229
- exports.Checkbox = Checkbox;
1230
- exports.Field = Field;
1231
- exports.Flex = Flex;
1232
- exports.FloatingActionButton = FloatingActionButton;
1233
- exports.Grid = Grid;
1234
- exports.HStack = HStack;
1235
- exports.Radio = Radio;
1236
- exports.RadioGroup = RadioGroup;
1237
- exports.Separator = Separator;
1238
- exports.Spacer = Spacer;
1239
- exports.Stack = Stack;
1240
- exports.Text = Text;
1241
- exports.TextArea = TextArea;
1242
- exports.TextInput = TextInput;
1243
- exports.Toggle = Toggle;
1244
- exports.VStack = VStack;
1245
- exports.mergeStyles = mergeStyles;
1246
- exports.useRadioGroupContext = useRadioGroupContext;