@euler-edu/react 0.0.0-stage → 7.0.1-beta1

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 (1129) hide show
  1. package/README.md +18 -2
  2. package/lib/assets/fonts/BitgoeulGwangju-Bold.woff +0 -0
  3. package/lib/assets/fonts/BitgoeulGwangju-Light.woff +0 -0
  4. package/lib/assets/fonts/BitgoeulGwangju-Medium.woff +0 -0
  5. package/lib/assets/fonts/D2Coding-1.3.2-Bold.woff +0 -0
  6. package/lib/assets/fonts/D2Coding-1.3.2-Bold.woff2 +0 -0
  7. package/lib/assets/fonts/D2Coding-1.3.2-Regular.woff +0 -0
  8. package/lib/assets/fonts/D2Coding-1.3.2-Regular.woff2 +0 -0
  9. package/lib/assets/fonts/FiraCode-6.2-Bold.woff +0 -0
  10. package/lib/assets/fonts/FiraCode-6.2-Bold.woff2 +0 -0
  11. package/lib/assets/fonts/FiraCode-6.2-Light.woff +0 -0
  12. package/lib/assets/fonts/FiraCode-6.2-Light.woff2 +0 -0
  13. package/lib/assets/fonts/FiraCode-6.2-Medium.woff +0 -0
  14. package/lib/assets/fonts/FiraCode-6.2-Medium.woff2 +0 -0
  15. package/lib/assets/fonts/FiraCode-6.2-Regular.woff +0 -0
  16. package/lib/assets/fonts/FiraCode-6.2-Regular.woff2 +0 -0
  17. package/lib/assets/fonts/FiraCode-6.2-SemiBold.woff +0 -0
  18. package/lib/assets/fonts/FiraCode-6.2-SemiBold.woff2 +0 -0
  19. package/lib/assets/fonts/Hack-3.003-Bold.woff +0 -0
  20. package/lib/assets/fonts/Hack-3.003-Bold.woff2 +0 -0
  21. package/lib/assets/fonts/Hack-3.003-Regular.woff +0 -0
  22. package/lib/assets/fonts/Hack-3.003-Regular.woff2 +0 -0
  23. package/lib/assets/fonts/IBMPlexMono-Bold.woff +0 -0
  24. package/lib/assets/fonts/IBMPlexMono-Bold.woff2 +0 -0
  25. package/lib/assets/fonts/IBMPlexMono-Regular.woff +0 -0
  26. package/lib/assets/fonts/IBMPlexMono-Regular.woff2 +0 -0
  27. package/lib/assets/fonts/Inconsolata-3.000-Bold.woff +0 -0
  28. package/lib/assets/fonts/Inconsolata-3.000-Bold.woff2 +0 -0
  29. package/lib/assets/fonts/Inconsolata-3.000-Regular.woff +0 -0
  30. package/lib/assets/fonts/Inconsolata-3.000-Regular.woff2 +0 -0
  31. package/lib/assets/fonts/JetBrainsMono-2.304-Bold.woff +0 -0
  32. package/lib/assets/fonts/JetBrainsMono-2.304-Bold.woff2 +0 -0
  33. package/lib/assets/fonts/JetBrainsMono-2.304-ExtraBold.woff +0 -0
  34. package/lib/assets/fonts/JetBrainsMono-2.304-ExtraBold.woff2 +0 -0
  35. package/lib/assets/fonts/JetBrainsMono-2.304-ExtraLight.woff +0 -0
  36. package/lib/assets/fonts/JetBrainsMono-2.304-ExtraLight.woff2 +0 -0
  37. package/lib/assets/fonts/JetBrainsMono-2.304-Light.woff +0 -0
  38. package/lib/assets/fonts/JetBrainsMono-2.304-Light.woff2 +0 -0
  39. package/lib/assets/fonts/JetBrainsMono-2.304-Medium.woff +0 -0
  40. package/lib/assets/fonts/JetBrainsMono-2.304-Medium.woff2 +0 -0
  41. package/lib/assets/fonts/JetBrainsMono-2.304-Regular.woff +0 -0
  42. package/lib/assets/fonts/JetBrainsMono-2.304-Regular.woff2 +0 -0
  43. package/lib/assets/fonts/JetBrainsMono-2.304-SemiBold.woff +0 -0
  44. package/lib/assets/fonts/JetBrainsMono-2.304-SemiBold.woff2 +0 -0
  45. package/lib/assets/fonts/JetBrainsMono-2.304-Thin.woff +0 -0
  46. package/lib/assets/fonts/JetBrainsMono-2.304-Thin.woff2 +0 -0
  47. package/lib/assets/fonts/MonaspaceArgon-1.400-Bold.woff +0 -0
  48. package/lib/assets/fonts/MonaspaceArgon-1.400-Bold.woff2 +0 -0
  49. package/lib/assets/fonts/MonaspaceArgon-1.400-Regular.woff +0 -0
  50. package/lib/assets/fonts/MonaspaceArgon-1.400-Regular.woff2 +0 -0
  51. package/lib/assets/fonts/MonaspaceKrypton-1.400-Bold.woff +0 -0
  52. package/lib/assets/fonts/MonaspaceKrypton-1.400-Bold.woff2 +0 -0
  53. package/lib/assets/fonts/MonaspaceKrypton-1.400-Regular.woff +0 -0
  54. package/lib/assets/fonts/MonaspaceKrypton-1.400-Regular.woff2 +0 -0
  55. package/lib/assets/fonts/MonaspaceNeon-1.400-Bold.woff +0 -0
  56. package/lib/assets/fonts/MonaspaceNeon-1.400-Bold.woff2 +0 -0
  57. package/lib/assets/fonts/MonaspaceNeon-1.400-Regular.woff +0 -0
  58. package/lib/assets/fonts/MonaspaceNeon-1.400-Regular.woff2 +0 -0
  59. package/lib/assets/fonts/MonaspaceXenon-1.400-Bold.woff +0 -0
  60. package/lib/assets/fonts/MonaspaceXenon-1.400-Bold.woff2 +0 -0
  61. package/lib/assets/fonts/MonaspaceXenon-1.400-Regular.woff +0 -0
  62. package/lib/assets/fonts/MonaspaceXenon-1.400-Regular.woff2 +0 -0
  63. package/lib/assets/fonts/Pretendard-Black.woff +0 -0
  64. package/lib/assets/fonts/Pretendard-Black.woff2 +0 -0
  65. package/lib/assets/fonts/Pretendard-Bold.woff +0 -0
  66. package/lib/assets/fonts/Pretendard-Bold.woff2 +0 -0
  67. package/lib/assets/fonts/Pretendard-ExtraBold.woff +0 -0
  68. package/lib/assets/fonts/Pretendard-ExtraBold.woff2 +0 -0
  69. package/lib/assets/fonts/Pretendard-ExtraLight.woff +0 -0
  70. package/lib/assets/fonts/Pretendard-ExtraLight.woff2 +0 -0
  71. package/lib/assets/fonts/Pretendard-Light.woff +0 -0
  72. package/lib/assets/fonts/Pretendard-Light.woff2 +0 -0
  73. package/lib/assets/fonts/Pretendard-Medium.woff +0 -0
  74. package/lib/assets/fonts/Pretendard-Medium.woff2 +0 -0
  75. package/lib/assets/fonts/Pretendard-Regular.woff +0 -0
  76. package/lib/assets/fonts/Pretendard-Regular.woff2 +0 -0
  77. package/lib/assets/fonts/Pretendard-SemiBold.woff +0 -0
  78. package/lib/assets/fonts/Pretendard-SemiBold.woff2 +0 -0
  79. package/lib/assets/fonts/Pretendard-Thin.woff +0 -0
  80. package/lib/assets/fonts/Pretendard-Thin.woff2 +0 -0
  81. package/lib/assets/fonts/RobotoMono-3.001-Bold.woff +0 -0
  82. package/lib/assets/fonts/RobotoMono-3.001-Bold.woff2 +0 -0
  83. package/lib/assets/fonts/RobotoMono-3.001-Regular.woff +0 -0
  84. package/lib/assets/fonts/RobotoMono-3.001-Regular.woff2 +0 -0
  85. package/lib/assets/fonts/SourceCodePro-Bold.woff +0 -0
  86. package/lib/assets/fonts/SourceCodePro-Bold.woff2 +0 -0
  87. package/lib/assets/fonts/SourceCodePro-Regular.woff +0 -0
  88. package/lib/assets/fonts/SourceCodePro-Regular.woff2 +0 -0
  89. package/lib/assets/fonts/UbuntuMono-0.83-Bold.woff +0 -0
  90. package/lib/assets/fonts/UbuntuMono-0.83-Bold.woff2 +0 -0
  91. package/lib/assets/fonts/UbuntuMono-0.83-Regular.woff +0 -0
  92. package/lib/assets/fonts/UbuntuMono-0.83-Regular.woff2 +0 -0
  93. package/lib/assets/icons/fallback.svg +2 -0
  94. package/lib/assets/icons/hero/academic-cap-outline.svg +3 -0
  95. package/lib/assets/icons/hero/adjustments-horizontal-outline.svg +3 -0
  96. package/lib/assets/icons/hero/arrow-down-tray-outline.svg +3 -0
  97. package/lib/assets/icons/hero/arrow-path-outline.svg +3 -0
  98. package/lib/assets/icons/hero/arrow-right-end-on-rectangle-outline.svg +3 -0
  99. package/lib/assets/icons/hero/arrow-right-outline.svg +3 -0
  100. package/lib/assets/icons/hero/arrow-right-start-on-rectangle-outline.svg +3 -0
  101. package/lib/assets/icons/hero/arrow-top-right-on-square-outline.svg +3 -0
  102. package/lib/assets/icons/hero/arrow-up-circle-outline.svg +3 -0
  103. package/lib/assets/icons/hero/arrow-up-right-mini.svg +3 -0
  104. package/lib/assets/icons/hero/arrow-up-right-outline.svg +3 -0
  105. package/lib/assets/icons/hero/arrow-uturn-left-outline.svg +3 -0
  106. package/lib/assets/icons/hero/arrows-pointing-in-outline.svg +3 -0
  107. package/lib/assets/icons/hero/arrows-pointing-out-outline.svg +3 -0
  108. package/lib/assets/icons/hero/arrows-right-left-outline.svg +3 -0
  109. package/lib/assets/icons/hero/arrows-up-down-outline.svg +3 -0
  110. package/lib/assets/icons/hero/at-symbol-outline.svg +3 -0
  111. package/lib/assets/icons/hero/bars-2-mini.svg +3 -0
  112. package/lib/assets/icons/hero/bars-2-outline.svg +3 -0
  113. package/lib/assets/icons/hero/beaker-outline.svg +3 -0
  114. package/lib/assets/icons/hero/bell-alert-mini.svg +4 -0
  115. package/lib/assets/icons/hero/bell-alert-outline.svg +3 -0
  116. package/lib/assets/icons/hero/bell-mini.svg +3 -0
  117. package/lib/assets/icons/hero/bell-outline.svg +3 -0
  118. package/lib/assets/icons/hero/bell-slash-mini.svg +3 -0
  119. package/lib/assets/icons/hero/bell-slash-outline.svg +3 -0
  120. package/lib/assets/icons/hero/bolt-outline.svg +3 -0
  121. package/lib/assets/icons/hero/book-open-mini.svg +3 -0
  122. package/lib/assets/icons/hero/book-open-outline.svg +3 -0
  123. package/lib/assets/icons/hero/bookmark-mini.svg +3 -0
  124. package/lib/assets/icons/hero/bookmark-outline.svg +3 -0
  125. package/lib/assets/icons/hero/bookmark-slash-outline.svg +3 -0
  126. package/lib/assets/icons/hero/bookmark-solid.svg +3 -0
  127. package/lib/assets/icons/hero/calendar-days-outline.svg +3 -0
  128. package/lib/assets/icons/hero/chart-bar-outline.svg +3 -0
  129. package/lib/assets/icons/hero/chart-pie-outline.svg +4 -0
  130. package/lib/assets/icons/hero/chat-bubble-bottom-center-text-outline.svg +3 -0
  131. package/lib/assets/icons/hero/check-circle-mini.svg +3 -0
  132. package/lib/assets/icons/hero/check-circle-outline.svg +3 -0
  133. package/lib/assets/icons/hero/check-mini.svg +3 -0
  134. package/lib/assets/icons/hero/check-outline.svg +3 -0
  135. package/lib/assets/icons/hero/chevron-down-outline.svg +3 -0
  136. package/lib/assets/icons/hero/chevron-left-outline.svg +3 -0
  137. package/lib/assets/icons/hero/chevron-right-outline.svg +3 -0
  138. package/lib/assets/icons/hero/chevron-up-down-outline.svg +3 -0
  139. package/lib/assets/icons/hero/chevron-up-outline.svg +3 -0
  140. package/lib/assets/icons/hero/circle-mini.svg +3 -0
  141. package/lib/assets/icons/hero/clock-mini.svg +3 -0
  142. package/lib/assets/icons/hero/clock-outline.svg +3 -0
  143. package/lib/assets/icons/hero/code-bracket-outline.svg +3 -0
  144. package/lib/assets/icons/hero/cog-6-tooth-mini.svg +3 -0
  145. package/lib/assets/icons/hero/cog-6-tooth-outline.svg +4 -0
  146. package/lib/assets/icons/hero/computer-desktop-outline.svg +3 -0
  147. package/lib/assets/icons/hero/cpu-chip-mini.svg +4 -0
  148. package/lib/assets/icons/hero/cpu-chip-outline.svg +3 -0
  149. package/lib/assets/icons/hero/cube-outline.svg +3 -0
  150. package/lib/assets/icons/hero/document-outline.svg +3 -0
  151. package/lib/assets/icons/hero/ellipsis-horizontal-mini.svg +3 -0
  152. package/lib/assets/icons/hero/ellipsis-horizontal-outline.svg +3 -0
  153. package/lib/assets/icons/hero/envelope-open-outline.svg +3 -0
  154. package/lib/assets/icons/hero/envelope-outline.svg +3 -0
  155. package/lib/assets/icons/hero/exclamation-circle-mini.svg +3 -0
  156. package/lib/assets/icons/hero/exclamation-circle-outline.svg +3 -0
  157. package/lib/assets/icons/hero/exclamation-triangle-outline.svg +3 -0
  158. package/lib/assets/icons/hero/eye-outline.svg +4 -0
  159. package/lib/assets/icons/hero/eye-slash-outline.svg +3 -0
  160. package/lib/assets/icons/hero/face-frown-mini.svg +3 -0
  161. package/lib/assets/icons/hero/face-frown-outline.svg +3 -0
  162. package/lib/assets/icons/hero/face-smile-outline.svg +3 -0
  163. package/lib/assets/icons/hero/fire-mini.svg +3 -0
  164. package/lib/assets/icons/hero/fire-outline.svg +4 -0
  165. package/lib/assets/icons/hero/flag-mini.svg +3 -0
  166. package/lib/assets/icons/hero/flag-outline.svg +3 -0
  167. package/lib/assets/icons/hero/folder-mini.svg +3 -0
  168. package/lib/assets/icons/hero/folder-open-outline.svg +3 -0
  169. package/lib/assets/icons/hero/folder-outline.svg +3 -0
  170. package/lib/assets/icons/hero/funnel-outline.svg +3 -0
  171. package/lib/assets/icons/hero/globe-alt-outline.svg +3 -0
  172. package/lib/assets/icons/hero/hashtag-outline.svg +3 -0
  173. package/lib/assets/icons/hero/heart-outline.svg +3 -0
  174. package/lib/assets/icons/hero/home-outline.svg +3 -0
  175. package/lib/assets/icons/hero/information-circle-outline.svg +3 -0
  176. package/lib/assets/icons/hero/key-outline.svg +3 -0
  177. package/lib/assets/icons/hero/light-bulb-outline.svg +3 -0
  178. package/lib/assets/icons/hero/link-outline.svg +3 -0
  179. package/lib/assets/icons/hero/link-slash-outline.svg +3 -0
  180. package/lib/assets/icons/hero/lock-closed-outline.svg +3 -0
  181. package/lib/assets/icons/hero/lock-open-outline.svg +3 -0
  182. package/lib/assets/icons/hero/magnifying-glass-mini.svg +3 -0
  183. package/lib/assets/icons/hero/magnifying-glass-outline.svg +3 -0
  184. package/lib/assets/icons/hero/map-pin-outline.svg +4 -0
  185. package/lib/assets/icons/hero/megaphone-mini.svg +3 -0
  186. package/lib/assets/icons/hero/megaphone-outline.svg +3 -0
  187. package/lib/assets/icons/hero/minus-outline.svg +3 -0
  188. package/lib/assets/icons/hero/moon-mini.svg +3 -0
  189. package/lib/assets/icons/hero/moon-outline.svg +3 -0
  190. package/lib/assets/icons/hero/no-symbol-outline.svg +3 -0
  191. package/lib/assets/icons/hero/paint-brush-outline.svg +3 -0
  192. package/lib/assets/icons/hero/plus-outline.svg +3 -0
  193. package/lib/assets/icons/hero/question-mark-circle-mini.svg +3 -0
  194. package/lib/assets/icons/hero/question-mark-circle-outline.svg +4 -0
  195. package/lib/assets/icons/hero/share-outline.svg +3 -0
  196. package/lib/assets/icons/hero/slash-outline.svg +3 -0
  197. package/lib/assets/icons/hero/sparkles-mini.svg +3 -0
  198. package/lib/assets/icons/hero/sparkles-outline.svg +3 -0
  199. package/lib/assets/icons/hero/spinner-outline.svg +1 -0
  200. package/lib/assets/icons/hero/square-2-stack-outline.svg +3 -0
  201. package/lib/assets/icons/hero/star-outline.svg +3 -0
  202. package/lib/assets/icons/hero/sun-mini.svg +3 -0
  203. package/lib/assets/icons/hero/sun-outline.svg +3 -0
  204. package/lib/assets/icons/hero/tag-outline.svg +4 -0
  205. package/lib/assets/icons/hero/trash-outline.svg +3 -0
  206. package/lib/assets/icons/hero/trophy-outline.svg +3 -0
  207. package/lib/assets/icons/hero/user-circle-outline.svg +3 -0
  208. package/lib/assets/icons/hero/user-outline.svg +3 -0
  209. package/lib/assets/icons/hero/users-outline.svg +3 -0
  210. package/lib/assets/icons/hero/x-circle-mini.svg +3 -0
  211. package/lib/assets/icons/hero/x-circle-outline.svg +3 -0
  212. package/lib/assets/icons/hero/x-mark-mini.svg +3 -0
  213. package/lib/assets/icons/hero/x-mark-outline.svg +3 -0
  214. package/lib/assets/icons/phosphor/arrow-circle-up-regular.svg +1 -0
  215. package/lib/assets/icons/phosphor/arrows-clockwise-regular.svg +1 -0
  216. package/lib/assets/icons/phosphor/arrows-in-line-vertical-regular.svg +1 -0
  217. package/lib/assets/icons/phosphor/arrows-out-line-vertical-regular.svg +1 -0
  218. package/lib/assets/icons/phosphor/backspace-bold.svg +1 -0
  219. package/lib/assets/icons/phosphor/backspace-regular.svg +1 -0
  220. package/lib/assets/icons/phosphor/binary-fill.svg +1 -0
  221. package/lib/assets/icons/phosphor/binary-regular.svg +1 -0
  222. package/lib/assets/icons/phosphor/binoculars-fill.svg +1 -0
  223. package/lib/assets/icons/phosphor/binoculars-regular.svg +1 -0
  224. package/lib/assets/icons/phosphor/book-open-text-regular.svg +1 -0
  225. package/lib/assets/icons/phosphor/bookmark-simple-fill.svg +1 -0
  226. package/lib/assets/icons/phosphor/bookmark-simple-regular.svg +1 -0
  227. package/lib/assets/icons/phosphor/boxing-glove-regular.svg +1 -0
  228. package/lib/assets/icons/phosphor/check-circle-fill.svg +1 -0
  229. package/lib/assets/icons/phosphor/check-circle-regular.svg +1 -0
  230. package/lib/assets/icons/phosphor/clock-bold.svg +1 -0
  231. package/lib/assets/icons/phosphor/clock-clockwise-regular.svg +1 -0
  232. package/lib/assets/icons/phosphor/clock-regular.svg +1 -0
  233. package/lib/assets/icons/phosphor/code-block-fill.svg +1 -0
  234. package/lib/assets/icons/phosphor/code-block-regular.svg +1 -0
  235. package/lib/assets/icons/phosphor/command-bold.svg +1 -0
  236. package/lib/assets/icons/phosphor/command-regular.svg +1 -0
  237. package/lib/assets/icons/phosphor/cookie-regular.svg +1 -0
  238. package/lib/assets/icons/phosphor/currency-circle-dollar-fill.svg +1 -0
  239. package/lib/assets/icons/phosphor/currency-circle-dollar-regular.svg +1 -0
  240. package/lib/assets/icons/phosphor/database-fill.svg +1 -0
  241. package/lib/assets/icons/phosphor/database-regular.svg +1 -0
  242. package/lib/assets/icons/phosphor/dice-five-fill.svg +1 -0
  243. package/lib/assets/icons/phosphor/dice-five-regular.svg +1 -0
  244. package/lib/assets/icons/phosphor/dot-outline-fill.svg +1 -0
  245. package/lib/assets/icons/phosphor/dots-six-vertical-bold.svg +1 -0
  246. package/lib/assets/icons/phosphor/dots-six-vertical-regular.svg +1 -0
  247. package/lib/assets/icons/phosphor/file-code-regular.svg +1 -0
  248. package/lib/assets/icons/phosphor/file-regular.svg +1 -0
  249. package/lib/assets/icons/phosphor/flag-fill.svg +1 -0
  250. package/lib/assets/icons/phosphor/flag-regular.svg +1 -0
  251. package/lib/assets/icons/phosphor/floppy-disk-regular.svg +1 -0
  252. package/lib/assets/icons/phosphor/folder-fill.svg +1 -0
  253. package/lib/assets/icons/phosphor/folder-regular.svg +1 -0
  254. package/lib/assets/icons/phosphor/graph-fill.svg +1 -0
  255. package/lib/assets/icons/phosphor/graph-regular.svg +1 -0
  256. package/lib/assets/icons/phosphor/info-regular.svg +1 -0
  257. package/lib/assets/icons/phosphor/key-return-bold.svg +1 -0
  258. package/lib/assets/icons/phosphor/key-return-regular.svg +1 -0
  259. package/lib/assets/icons/phosphor/keyboard-regular.svg +1 -0
  260. package/lib/assets/icons/phosphor/math-operations-fill.svg +1 -0
  261. package/lib/assets/icons/phosphor/math-operations-regular.svg +1 -0
  262. package/lib/assets/icons/phosphor/medal-bold.svg +1 -0
  263. package/lib/assets/icons/phosphor/medal-fill.svg +1 -0
  264. package/lib/assets/icons/phosphor/medal-regular.svg +1 -0
  265. package/lib/assets/icons/phosphor/memory-regular.svg +1 -0
  266. package/lib/assets/icons/phosphor/option-bold.svg +1 -0
  267. package/lib/assets/icons/phosphor/option-regular.svg +1 -0
  268. package/lib/assets/icons/phosphor/password-regular.svg +1 -0
  269. package/lib/assets/icons/phosphor/path-fill.svg +1 -0
  270. package/lib/assets/icons/phosphor/path-regular.svg +1 -0
  271. package/lib/assets/icons/phosphor/pause-regular.svg +1 -0
  272. package/lib/assets/icons/phosphor/pencil-simple-regular.svg +1 -0
  273. package/lib/assets/icons/phosphor/phone-regular.svg +1 -0
  274. package/lib/assets/icons/phosphor/plant-fill.svg +1 -0
  275. package/lib/assets/icons/phosphor/plant-regular.svg +1 -0
  276. package/lib/assets/icons/phosphor/play-regular.svg +1 -0
  277. package/lib/assets/icons/phosphor/polygon-fill.svg +1 -0
  278. package/lib/assets/icons/phosphor/polygon-regular.svg +1 -0
  279. package/lib/assets/icons/phosphor/pulse-bold.svg +1 -0
  280. package/lib/assets/icons/phosphor/pulse-regular.svg +1 -0
  281. package/lib/assets/icons/phosphor/ranking-bold.svg +1 -0
  282. package/lib/assets/icons/phosphor/ranking-fill.svg +1 -0
  283. package/lib/assets/icons/phosphor/ranking-regular.svg +1 -0
  284. package/lib/assets/icons/phosphor/repeat-fill.svg +1 -0
  285. package/lib/assets/icons/phosphor/repeat-regular.svg +1 -0
  286. package/lib/assets/icons/phosphor/shapes-fill.svg +1 -0
  287. package/lib/assets/icons/phosphor/shapes-regular.svg +1 -0
  288. package/lib/assets/icons/phosphor/smiley-sad-fill.svg +1 -0
  289. package/lib/assets/icons/phosphor/smiley-sad-regular.svg +1 -0
  290. package/lib/assets/icons/phosphor/sort-ascending-fill.svg +1 -0
  291. package/lib/assets/icons/phosphor/sort-ascending-regular.svg +1 -0
  292. package/lib/assets/icons/phosphor/sparkle-fill.svg +1 -0
  293. package/lib/assets/icons/phosphor/sparkle-regular.svg +1 -0
  294. package/lib/assets/icons/phosphor/strategy-fill.svg +1 -0
  295. package/lib/assets/icons/phosphor/strategy-regular.svg +1 -0
  296. package/lib/assets/icons/phosphor/sword-fill.svg +1 -0
  297. package/lib/assets/icons/phosphor/sword-regular.svg +1 -0
  298. package/lib/assets/icons/phosphor/text-aa-fill.svg +1 -0
  299. package/lib/assets/icons/phosphor/text-aa-regular.svg +1 -0
  300. package/lib/assets/icons/phosphor/timer-regular.svg +1 -0
  301. package/lib/assets/icons/phosphor/tree-fill.svg +1 -0
  302. package/lib/assets/icons/phosphor/tree-regular.svg +1 -0
  303. package/lib/assets/icons/phosphor/tree-structure-fill.svg +1 -0
  304. package/lib/assets/icons/phosphor/tree-structure-regular.svg +1 -0
  305. package/lib/assets/icons/phosphor/trophy-bold.svg +1 -0
  306. package/lib/assets/icons/phosphor/trophy-fill.svg +1 -0
  307. package/lib/assets/icons/phosphor/trophy-regular.svg +1 -0
  308. package/lib/assets/icons/phosphor/youtube-logo-fill.svg +1 -0
  309. package/lib/assets/icons/phosphor/youtube-logo-regular.svg +1 -0
  310. package/lib/assets/icons/primary/euler.svg +3 -0
  311. package/lib/assets/icons/social/facebook-outline.svg +10 -0
  312. package/lib/assets/icons/social/google-solid-color.svg +6 -0
  313. package/lib/assets/icons/social/instagram-outline.svg +10 -0
  314. package/lib/assets/icons/social/kakao-solid.svg +3 -0
  315. package/lib/assets/icons/social/naver-solid.svg +6 -0
  316. package/lib/assets/icons/social/naverband-outline.svg +10 -0
  317. package/lib/assets/icons/social/naverblog-outline.svg +10 -0
  318. package/lib/assets/icons/social/navercafe-outline.svg +6 -0
  319. package/lib/assets/icons/social/smartstore-outline.svg +10 -0
  320. package/lib/assets/icons/social/tiktok-outline.svg +6 -0
  321. package/lib/assets/icons/social/youtube-outline.svg +6 -0
  322. package/lib/assets/images/book-c++_bronze.png +0 -0
  323. package/lib/assets/images/book-c++_iron.png +0 -0
  324. package/lib/assets/images/book-c++_stone.png +0 -0
  325. package/lib/assets/images/book-python_stone.png +0 -0
  326. package/lib/assets/images/trophy-10-trials.png +0 -0
  327. package/lib/assets/images/trophy-100-pioneers.png +0 -0
  328. package/lib/assets/images/trophy-100-solves.png +0 -0
  329. package/lib/assets/images/trophy-1000-solves.png +0 -0
  330. package/lib/assets/images/trophy-20-pioneers.png +0 -0
  331. package/lib/assets/images/trophy-200-solves.png +0 -0
  332. package/lib/assets/images/trophy-2000-solves.png +0 -0
  333. package/lib/assets/images/trophy-50-pioneers.png +0 -0
  334. package/lib/assets/images/trophy-50-solves.png +0 -0
  335. package/lib/assets/images/trophy-500-solves.png +0 -0
  336. package/lib/assets/images/trophy-5000-solves.png +0 -0
  337. package/lib/assets/images/trophy-cola.png +0 -0
  338. package/lib/assets/images/trophy-first-pioneer.png +0 -0
  339. package/lib/assets/images/trophy-first-solve.png +0 -0
  340. package/lib/assets/images/trophy-steak.png +0 -0
  341. package/lib/assets/images/trophy-stone.png +0 -0
  342. package/lib/assets/images/trophy-weekly-coder.png +0 -0
  343. package/lib/assets/images/trophy-win-contest.png +0 -0
  344. package/lib/assets/images/trophy-win-yearly-rank.png +0 -0
  345. package/lib/assets/lotties/firecrackers.lottie +0 -0
  346. package/lib/components/atoms/avatars/Avatar.d.ts +11 -0
  347. package/lib/components/atoms/avatars/Avatar.js +12 -0
  348. package/lib/components/atoms/avatars/Avatar.js.map +1 -0
  349. package/lib/components/atoms/avatars/MultiAvatar.d.ts +12 -0
  350. package/lib/components/atoms/avatars/MultiAvatar.js +27 -0
  351. package/lib/components/atoms/avatars/MultiAvatar.js.map +1 -0
  352. package/lib/components/atoms/avatars/index.d.ts +2 -0
  353. package/lib/components/atoms/avatars/index.js +11 -0
  354. package/lib/components/atoms/avatars/index.js.map +1 -0
  355. package/lib/components/atoms/badges/ScoringResultBadge.d.ts +10 -0
  356. package/lib/components/atoms/badges/ScoringResultBadge.js +43 -0
  357. package/lib/components/atoms/badges/ScoringResultBadge.js.map +1 -0
  358. package/lib/components/atoms/badges/TextBadge.d.ts +14 -0
  359. package/lib/components/atoms/badges/TextBadge.js +21 -0
  360. package/lib/components/atoms/badges/TextBadge.js.map +1 -0
  361. package/lib/components/atoms/badges/index.d.ts +2 -0
  362. package/lib/components/atoms/badges/index.js +11 -0
  363. package/lib/components/atoms/badges/index.js.map +1 -0
  364. package/lib/components/atoms/buttons/AvatarButton.d.ts +13 -0
  365. package/lib/components/atoms/buttons/AvatarButton.js +18 -0
  366. package/lib/components/atoms/buttons/AvatarButton.js.map +1 -0
  367. package/lib/components/atoms/buttons/IconButton.d.ts +12 -0
  368. package/lib/components/atoms/buttons/IconButton.js +25 -0
  369. package/lib/components/atoms/buttons/IconButton.js.map +1 -0
  370. package/lib/components/atoms/buttons/MenuButton.d.ts +11 -0
  371. package/lib/components/atoms/buttons/MenuButton.js +20 -0
  372. package/lib/components/atoms/buttons/MenuButton.js.map +1 -0
  373. package/lib/components/atoms/buttons/SelectableTextButton.d.ts +12 -0
  374. package/lib/components/atoms/buttons/SelectableTextButton.js +17 -0
  375. package/lib/components/atoms/buttons/SelectableTextButton.js.map +1 -0
  376. package/lib/components/atoms/buttons/TextButton.d.ts +37 -0
  377. package/lib/components/atoms/buttons/TextButton.js +42 -0
  378. package/lib/components/atoms/buttons/TextButton.js.map +1 -0
  379. package/lib/components/atoms/buttons/TextChipButton.d.ts +17 -0
  380. package/lib/components/atoms/buttons/TextChipButton.js +49 -0
  381. package/lib/components/atoms/buttons/TextChipButton.js.map +1 -0
  382. package/lib/components/atoms/buttons/TextCoupleButton.d.ts +8 -0
  383. package/lib/components/atoms/buttons/TextCoupleButton.js +13 -0
  384. package/lib/components/atoms/buttons/TextCoupleButton.js.map +1 -0
  385. package/lib/components/atoms/buttons/TextGroupButton.d.ts +11 -0
  386. package/lib/components/atoms/buttons/TextGroupButton.js +19 -0
  387. package/lib/components/atoms/buttons/TextGroupButton.js.map +1 -0
  388. package/lib/components/atoms/buttons/UserChipButton.d.ts +15 -0
  389. package/lib/components/atoms/buttons/UserChipButton.js +52 -0
  390. package/lib/components/atoms/buttons/UserChipButton.js.map +1 -0
  391. package/lib/components/atoms/buttons/index.d.ts +9 -0
  392. package/lib/components/atoms/buttons/index.js +25 -0
  393. package/lib/components/atoms/buttons/index.js.map +1 -0
  394. package/lib/components/atoms/containers/ButtonContainer.d.ts +5 -0
  395. package/lib/components/atoms/containers/ButtonContainer.js +41 -0
  396. package/lib/components/atoms/containers/ButtonContainer.js.map +1 -0
  397. package/lib/components/atoms/containers/ClickableContainer.d.ts +16 -0
  398. package/lib/components/atoms/containers/ClickableContainer.js +33 -0
  399. package/lib/components/atoms/containers/ClickableContainer.js.map +1 -0
  400. package/lib/components/atoms/containers/Container.d.ts +5 -0
  401. package/lib/components/atoms/containers/Container.js +41 -0
  402. package/lib/components/atoms/containers/Container.js.map +1 -0
  403. package/lib/components/atoms/containers/ImageContainer.d.ts +14 -0
  404. package/lib/components/atoms/containers/ImageContainer.js +51 -0
  405. package/lib/components/atoms/containers/ImageContainer.js.map +1 -0
  406. package/lib/components/atoms/containers/InputableContainer.d.ts +5 -0
  407. package/lib/components/atoms/containers/InputableContainer.js +41 -0
  408. package/lib/components/atoms/containers/InputableContainer.js.map +1 -0
  409. package/lib/components/atoms/containers/LinkContainer.d.ts +9 -0
  410. package/lib/components/atoms/containers/LinkContainer.js +51 -0
  411. package/lib/components/atoms/containers/LinkContainer.js.map +1 -0
  412. package/lib/components/atoms/containers/LottieContainer.d.ts +22 -0
  413. package/lib/components/atoms/containers/LottieContainer.js +19 -0
  414. package/lib/components/atoms/containers/LottieContainer.js.map +1 -0
  415. package/lib/components/atoms/containers/index.d.ts +5 -0
  416. package/lib/components/atoms/containers/index.js +17 -0
  417. package/lib/components/atoms/containers/index.js.map +1 -0
  418. package/lib/components/atoms/dividers/Divider.d.ts +12 -0
  419. package/lib/components/atoms/dividers/Divider.js +7 -0
  420. package/lib/components/atoms/dividers/Divider.js.map +1 -0
  421. package/lib/components/atoms/dividers/index.d.ts +1 -0
  422. package/lib/components/atoms/dividers/index.js +9 -0
  423. package/lib/components/atoms/dividers/index.js.map +1 -0
  424. package/lib/components/atoms/editors/CodeEditor.d.ts +19 -0
  425. package/lib/components/atoms/editors/CodeEditor.js +217 -0
  426. package/lib/components/atoms/editors/CodeEditor.js.map +1 -0
  427. package/lib/components/atoms/editors/only_csr.d.ts +1 -0
  428. package/lib/components/atoms/editors/only_csr.js +9 -0
  429. package/lib/components/atoms/editors/only_csr.js.map +1 -0
  430. package/lib/components/atoms/icons/Icon.d.ts +10 -0
  431. package/lib/components/atoms/icons/Icon.js +61 -0
  432. package/lib/components/atoms/icons/Icon.js.map +1 -0
  433. package/lib/components/atoms/icons/LoadingIcon.d.ts +13 -0
  434. package/lib/components/atoms/icons/LoadingIcon.js +36 -0
  435. package/lib/components/atoms/icons/LoadingIcon.js.map +1 -0
  436. package/lib/components/atoms/icons/index.d.ts +2 -0
  437. package/lib/components/atoms/icons/index.js +11 -0
  438. package/lib/components/atoms/icons/index.js.map +1 -0
  439. package/lib/components/atoms/index.d.ts +12 -0
  440. package/lib/components/atoms/index.js +29 -0
  441. package/lib/components/atoms/index.js.map +1 -0
  442. package/lib/components/atoms/inputs/CheckboxInput.d.ts +28 -0
  443. package/lib/components/atoms/inputs/CheckboxInput.js +25 -0
  444. package/lib/components/atoms/inputs/CheckboxInput.js.map +1 -0
  445. package/lib/components/atoms/inputs/ChipInput.d.ts +23 -0
  446. package/lib/components/atoms/inputs/ChipInput.js +79 -0
  447. package/lib/components/atoms/inputs/ChipInput.js.map +1 -0
  448. package/lib/components/atoms/inputs/DateInput.d.ts +34 -0
  449. package/lib/components/atoms/inputs/DateInput.js +36 -0
  450. package/lib/components/atoms/inputs/DateInput.js.map +1 -0
  451. package/lib/components/atoms/inputs/IntegerInput.d.ts +19 -0
  452. package/lib/components/atoms/inputs/IntegerInput.js +72 -0
  453. package/lib/components/atoms/inputs/IntegerInput.js.map +1 -0
  454. package/lib/components/atoms/inputs/RadioInput.d.ts +28 -0
  455. package/lib/components/atoms/inputs/RadioInput.js +25 -0
  456. package/lib/components/atoms/inputs/RadioInput.js.map +1 -0
  457. package/lib/components/atoms/inputs/SelectInput.d.ts +32 -0
  458. package/lib/components/atoms/inputs/SelectInput.js +32 -0
  459. package/lib/components/atoms/inputs/SelectInput.js.map +1 -0
  460. package/lib/components/atoms/inputs/TextInput.d.ts +23 -0
  461. package/lib/components/atoms/inputs/TextInput.js +61 -0
  462. package/lib/components/atoms/inputs/TextInput.js.map +1 -0
  463. package/lib/components/atoms/inputs/ToggleInput.d.ts +29 -0
  464. package/lib/components/atoms/inputs/ToggleInput.js +30 -0
  465. package/lib/components/atoms/inputs/ToggleInput.js.map +1 -0
  466. package/lib/components/atoms/inputs/index.d.ts +8 -0
  467. package/lib/components/atoms/inputs/index.js +23 -0
  468. package/lib/components/atoms/inputs/index.js.map +1 -0
  469. package/lib/components/atoms/lotties/Lottie.d.ts +8 -0
  470. package/lib/components/atoms/lotties/Lottie.js +44 -0
  471. package/lib/components/atoms/lotties/Lottie.js.map +1 -0
  472. package/lib/components/atoms/lotties/index.d.ts +1 -0
  473. package/lib/components/atoms/lotties/index.js +9 -0
  474. package/lib/components/atoms/lotties/index.js.map +1 -0
  475. package/lib/components/atoms/only_csr.d.ts +1 -0
  476. package/lib/components/atoms/only_csr.js +18 -0
  477. package/lib/components/atoms/only_csr.js.map +1 -0
  478. package/lib/components/atoms/paginations/Pagination.d.ts +29 -0
  479. package/lib/components/atoms/paginations/Pagination.js +117 -0
  480. package/lib/components/atoms/paginations/Pagination.js.map +1 -0
  481. package/lib/components/atoms/paginations/index.d.ts +1 -0
  482. package/lib/components/atoms/paginations/index.js +9 -0
  483. package/lib/components/atoms/paginations/index.js.map +1 -0
  484. package/lib/components/atoms/pickers/ThemePicker.d.ts +5 -0
  485. package/lib/components/atoms/pickers/ThemePicker.js +38 -0
  486. package/lib/components/atoms/pickers/ThemePicker.js.map +1 -0
  487. package/lib/components/atoms/pickers/index.d.ts +1 -0
  488. package/lib/components/atoms/pickers/index.js +9 -0
  489. package/lib/components/atoms/pickers/index.js.map +1 -0
  490. package/lib/components/atoms/recaptchas/Recaptcha.d.ts +10 -0
  491. package/lib/components/atoms/recaptchas/Recaptcha.js +80 -0
  492. package/lib/components/atoms/recaptchas/Recaptcha.js.map +1 -0
  493. package/lib/components/atoms/recaptchas/index.d.ts +1 -0
  494. package/lib/components/atoms/recaptchas/index.js +9 -0
  495. package/lib/components/atoms/recaptchas/index.js.map +1 -0
  496. package/lib/components/atoms/texts/KbdText.d.ts +13 -0
  497. package/lib/components/atoms/texts/KbdText.js +12 -0
  498. package/lib/components/atoms/texts/KbdText.js.map +1 -0
  499. package/lib/components/atoms/texts/Text.d.ts +9 -0
  500. package/lib/components/atoms/texts/Text.js +30 -0
  501. package/lib/components/atoms/texts/Text.js.map +1 -0
  502. package/lib/components/atoms/texts/index.d.ts +2 -0
  503. package/lib/components/atoms/texts/index.js +11 -0
  504. package/lib/components/atoms/texts/index.js.map +1 -0
  505. package/lib/components/molecules/breadcrumbs/NavBreadcrumb.d.ts +20 -0
  506. package/lib/components/molecules/breadcrumbs/NavBreadcrumb.js +73 -0
  507. package/lib/components/molecules/breadcrumbs/NavBreadcrumb.js.map +1 -0
  508. package/lib/components/molecules/breadcrumbs/index.d.ts +1 -0
  509. package/lib/components/molecules/breadcrumbs/index.js +9 -0
  510. package/lib/components/molecules/breadcrumbs/index.js.map +1 -0
  511. package/lib/components/molecules/cards/BookCard.d.ts +10 -0
  512. package/lib/components/molecules/cards/BookCard.js +30 -0
  513. package/lib/components/molecules/cards/BookCard.js.map +1 -0
  514. package/lib/components/molecules/cards/Card.d.ts +18 -0
  515. package/lib/components/molecules/cards/Card.js +33 -0
  516. package/lib/components/molecules/cards/Card.js.map +1 -0
  517. package/lib/components/molecules/cards/ContestCard.d.ts +18 -0
  518. package/lib/components/molecules/cards/ContestCard.js +15 -0
  519. package/lib/components/molecules/cards/ContestCard.js.map +1 -0
  520. package/lib/components/molecules/cards/DiecutStickerCard.d.ts +11 -0
  521. package/lib/components/molecules/cards/DiecutStickerCard.js +59 -0
  522. package/lib/components/molecules/cards/DiecutStickerCard.js.map +1 -0
  523. package/lib/components/molecules/cards/ThemeCard.d.ts +11 -0
  524. package/lib/components/molecules/cards/ThemeCard.js +15 -0
  525. package/lib/components/molecules/cards/ThemeCard.js.map +1 -0
  526. package/lib/components/molecules/cards/index.d.ts +5 -0
  527. package/lib/components/molecules/cards/index.js +17 -0
  528. package/lib/components/molecules/cards/index.js.map +1 -0
  529. package/lib/components/molecules/charts/BarChart.d.ts +18 -0
  530. package/lib/components/molecules/charts/BarChart.js +24 -0
  531. package/lib/components/molecules/charts/BarChart.js.map +1 -0
  532. package/lib/components/molecules/charts/DonutChart.d.ts +15 -0
  533. package/lib/components/molecules/charts/DonutChart.js +51 -0
  534. package/lib/components/molecules/charts/DonutChart.js.map +1 -0
  535. package/lib/components/molecules/charts/HeatmapChart.d.ts +22 -0
  536. package/lib/components/molecules/charts/HeatmapChart.js +53 -0
  537. package/lib/components/molecules/charts/HeatmapChart.js.map +1 -0
  538. package/lib/components/molecules/charts/LabelChart.d.ts +21 -0
  539. package/lib/components/molecules/charts/LabelChart.js +37 -0
  540. package/lib/components/molecules/charts/LabelChart.js.map +1 -0
  541. package/lib/components/molecules/charts/LineChart.d.ts +21 -0
  542. package/lib/components/molecules/charts/LineChart.js +21 -0
  543. package/lib/components/molecules/charts/LineChart.js.map +1 -0
  544. package/lib/components/molecules/charts/RadarChart.d.ts +18 -0
  545. package/lib/components/molecules/charts/RadarChart.js +68 -0
  546. package/lib/components/molecules/charts/RadarChart.js.map +1 -0
  547. package/lib/components/molecules/charts/SingleBarChart.d.ts +23 -0
  548. package/lib/components/molecules/charts/SingleBarChart.js +43 -0
  549. package/lib/components/molecules/charts/SingleBarChart.js.map +1 -0
  550. package/lib/components/molecules/charts/SingleLineChart.d.ts +25 -0
  551. package/lib/components/molecules/charts/SingleLineChart.js +128 -0
  552. package/lib/components/molecules/charts/SingleLineChart.js.map +1 -0
  553. package/lib/components/molecules/charts/index.d.ts +8 -0
  554. package/lib/components/molecules/charts/index.js +23 -0
  555. package/lib/components/molecules/charts/index.js.map +1 -0
  556. package/lib/components/molecules/dropdowns/DateDropdown.d.ts +9 -0
  557. package/lib/components/molecules/dropdowns/DateDropdown.js +99 -0
  558. package/lib/components/molecules/dropdowns/DateDropdown.js.map +1 -0
  559. package/lib/components/molecules/dropdowns/DateRangeDropdown.d.ts +15 -0
  560. package/lib/components/molecules/dropdowns/DateRangeDropdown.js +32 -0
  561. package/lib/components/molecules/dropdowns/DateRangeDropdown.js.map +1 -0
  562. package/lib/components/molecules/dropdowns/Dropdown.d.ts +27 -0
  563. package/lib/components/molecules/dropdowns/Dropdown.js +25 -0
  564. package/lib/components/molecules/dropdowns/Dropdown.js.map +1 -0
  565. package/lib/components/molecules/dropdowns/SearchDropdown.d.ts +21 -0
  566. package/lib/components/molecules/dropdowns/SearchDropdown.js +35 -0
  567. package/lib/components/molecules/dropdowns/SearchDropdown.js.map +1 -0
  568. package/lib/components/molecules/dropdowns/index.d.ts +4 -0
  569. package/lib/components/molecules/dropdowns/index.js +15 -0
  570. package/lib/components/molecules/dropdowns/index.js.map +1 -0
  571. package/lib/components/molecules/empties/Empty.d.ts +10 -0
  572. package/lib/components/molecules/empties/Empty.js +37 -0
  573. package/lib/components/molecules/empties/Empty.js.map +1 -0
  574. package/lib/components/molecules/empties/index.d.ts +1 -0
  575. package/lib/components/molecules/empties/index.js +9 -0
  576. package/lib/components/molecules/empties/index.js.map +1 -0
  577. package/lib/components/molecules/index.d.ts +9 -0
  578. package/lib/components/molecules/index.js +26 -0
  579. package/lib/components/molecules/index.js.map +1 -0
  580. package/lib/components/molecules/navigations/PaneNavigation.d.ts +28 -0
  581. package/lib/components/molecules/navigations/PaneNavigation.js +48 -0
  582. package/lib/components/molecules/navigations/PaneNavigation.js.map +1 -0
  583. package/lib/components/molecules/navigations/TabNavigation.d.ts +19 -0
  584. package/lib/components/molecules/navigations/TabNavigation.js +17 -0
  585. package/lib/components/molecules/navigations/TabNavigation.js.map +1 -0
  586. package/lib/components/molecules/navigations/index.d.ts +2 -0
  587. package/lib/components/molecules/navigations/index.js +11 -0
  588. package/lib/components/molecules/navigations/index.js.map +1 -0
  589. package/lib/components/molecules/only_csr.d.ts +1 -0
  590. package/lib/components/molecules/only_csr.js +18 -0
  591. package/lib/components/molecules/only_csr.js.map +1 -0
  592. package/lib/components/molecules/overlays/DropdownOverlay.d.ts +4 -0
  593. package/lib/components/molecules/overlays/DropdownOverlay.js +8 -0
  594. package/lib/components/molecules/overlays/DropdownOverlay.js.map +1 -0
  595. package/lib/components/molecules/overlays/ModalOverlay.d.ts +7 -0
  596. package/lib/components/molecules/overlays/ModalOverlay.js +11 -0
  597. package/lib/components/molecules/overlays/ModalOverlay.js.map +1 -0
  598. package/lib/components/molecules/overlays/ToastOverlay.d.ts +14 -0
  599. package/lib/components/molecules/overlays/ToastOverlay.js +50 -0
  600. package/lib/components/molecules/overlays/ToastOverlay.js.map +1 -0
  601. package/lib/components/molecules/overlays/TooltipOverlay.d.ts +11 -0
  602. package/lib/components/molecules/overlays/TooltipOverlay.js +10 -0
  603. package/lib/components/molecules/overlays/TooltipOverlay.js.map +1 -0
  604. package/lib/components/molecules/overlays/index.d.ts +4 -0
  605. package/lib/components/molecules/overlays/index.js +15 -0
  606. package/lib/components/molecules/overlays/index.js.map +1 -0
  607. package/lib/components/molecules/rows/BulletedRow.d.ts +12 -0
  608. package/lib/components/molecules/rows/BulletedRow.js +23 -0
  609. package/lib/components/molecules/rows/BulletedRow.js.map +1 -0
  610. package/lib/components/molecules/rows/CheckboxLabelRow.d.ts +13 -0
  611. package/lib/components/molecules/rows/CheckboxLabelRow.js +24 -0
  612. package/lib/components/molecules/rows/CheckboxLabelRow.js.map +1 -0
  613. package/lib/components/molecules/rows/PrevNextCardRow.d.ts +8 -0
  614. package/lib/components/molecules/rows/PrevNextCardRow.js +8 -0
  615. package/lib/components/molecules/rows/PrevNextCardRow.js.map +1 -0
  616. package/lib/components/molecules/rows/RadioLabelRow.d.ts +13 -0
  617. package/lib/components/molecules/rows/RadioLabelRow.js +24 -0
  618. package/lib/components/molecules/rows/RadioLabelRow.js.map +1 -0
  619. package/lib/components/molecules/rows/TitleRow.d.ts +10 -0
  620. package/lib/components/molecules/rows/TitleRow.js +27 -0
  621. package/lib/components/molecules/rows/TitleRow.js.map +1 -0
  622. package/lib/components/molecules/rows/ValidationMessageRow.d.ts +9 -0
  623. package/lib/components/molecules/rows/ValidationMessageRow.js +19 -0
  624. package/lib/components/molecules/rows/ValidationMessageRow.js.map +1 -0
  625. package/lib/components/molecules/rows/index.d.ts +6 -0
  626. package/lib/components/molecules/rows/index.js +19 -0
  627. package/lib/components/molecules/rows/index.js.map +1 -0
  628. package/lib/components/molecules/trays/CalloutTray.d.ts +14 -0
  629. package/lib/components/molecules/trays/CalloutTray.js +36 -0
  630. package/lib/components/molecules/trays/CalloutTray.js.map +1 -0
  631. package/lib/components/molecules/trays/CodeTray.d.ts +17 -0
  632. package/lib/components/molecules/trays/CodeTray.js +20 -0
  633. package/lib/components/molecules/trays/CodeTray.js.map +1 -0
  634. package/lib/components/molecules/trays/ProblemExampleTray.d.ts +14 -0
  635. package/lib/components/molecules/trays/ProblemExampleTray.js +64 -0
  636. package/lib/components/molecules/trays/ProblemExampleTray.js.map +1 -0
  637. package/lib/components/molecules/trays/ProblemSetOverviewTray.d.ts +12 -0
  638. package/lib/components/molecules/trays/ProblemSetOverviewTray.js +32 -0
  639. package/lib/components/molecules/trays/ProblemSetOverviewTray.js.map +1 -0
  640. package/lib/components/molecules/trays/RankOverviewTray.d.ts +21 -0
  641. package/lib/components/molecules/trays/RankOverviewTray.js +37 -0
  642. package/lib/components/molecules/trays/RankOverviewTray.js.map +1 -0
  643. package/lib/components/molecules/trays/RankPodiumTray.d.ts +13 -0
  644. package/lib/components/molecules/trays/RankPodiumTray.js +19 -0
  645. package/lib/components/molecules/trays/RankPodiumTray.js.map +1 -0
  646. package/lib/components/molecules/trays/RankSetTray.d.ts +21 -0
  647. package/lib/components/molecules/trays/RankSetTray.js +35 -0
  648. package/lib/components/molecules/trays/RankSetTray.js.map +1 -0
  649. package/lib/components/molecules/trays/SelectedChipTray.d.ts +8 -0
  650. package/lib/components/molecules/trays/SelectedChipTray.js +7 -0
  651. package/lib/components/molecules/trays/SelectedChipTray.js.map +1 -0
  652. package/lib/components/molecules/trays/SubmitTray.d.ts +25 -0
  653. package/lib/components/molecules/trays/SubmitTray.js +30 -0
  654. package/lib/components/molecules/trays/SubmitTray.js.map +1 -0
  655. package/lib/components/molecules/trays/index.d.ts +8 -0
  656. package/lib/components/molecules/trays/index.js +23 -0
  657. package/lib/components/molecules/trays/index.js.map +1 -0
  658. package/lib/components/molecules/trays/only_csr.d.ts +1 -0
  659. package/lib/components/molecules/trays/only_csr.js +9 -0
  660. package/lib/components/molecules/trays/only_csr.js.map +1 -0
  661. package/lib/components/organisms/bars/QueryToolBar.d.ts +24 -0
  662. package/lib/components/organisms/bars/QueryToolBar.js +102 -0
  663. package/lib/components/organisms/bars/QueryToolBar.js.map +1 -0
  664. package/lib/components/organisms/bars/SubmitQueryToolBar.d.ts +54 -0
  665. package/lib/components/organisms/bars/SubmitQueryToolBar.js +232 -0
  666. package/lib/components/organisms/bars/SubmitQueryToolBar.js.map +1 -0
  667. package/lib/components/organisms/bars/index.d.ts +2 -0
  668. package/lib/components/organisms/bars/index.js +11 -0
  669. package/lib/components/organisms/bars/index.js.map +1 -0
  670. package/lib/components/organisms/footers/CellTextButton.d.ts +5 -0
  671. package/lib/components/organisms/footers/CellTextButton.js +12 -0
  672. package/lib/components/organisms/footers/CellTextButton.js.map +1 -0
  673. package/lib/components/organisms/footers/Footer.d.ts +13 -0
  674. package/lib/components/organisms/footers/Footer.js +21 -0
  675. package/lib/components/organisms/footers/Footer.js.map +1 -0
  676. package/lib/components/organisms/footers/index.d.ts +1 -0
  677. package/lib/components/organisms/footers/index.js +9 -0
  678. package/lib/components/organisms/footers/index.js.map +1 -0
  679. package/lib/components/organisms/headers/Header.d.ts +21 -0
  680. package/lib/components/organisms/headers/Header.js +59 -0
  681. package/lib/components/organisms/headers/Header.js.map +1 -0
  682. package/lib/components/organisms/headers/components/HeaderFamilySection.d.ts +7 -0
  683. package/lib/components/organisms/headers/components/HeaderFamilySection.js +15 -0
  684. package/lib/components/organisms/headers/components/HeaderFamilySection.js.map +1 -0
  685. package/lib/components/organisms/headers/components/HeaderFixedPopup.d.ts +7 -0
  686. package/lib/components/organisms/headers/components/HeaderFixedPopup.js +29 -0
  687. package/lib/components/organisms/headers/components/HeaderFixedPopup.js.map +1 -0
  688. package/lib/components/organisms/headers/components/HeaderIconButton.d.ts +9 -0
  689. package/lib/components/organisms/headers/components/HeaderIconButton.js +7 -0
  690. package/lib/components/organisms/headers/components/HeaderIconButton.js.map +1 -0
  691. package/lib/components/organisms/headers/components/HeaderLoginButton.d.ts +6 -0
  692. package/lib/components/organisms/headers/components/HeaderLoginButton.js +20 -0
  693. package/lib/components/organisms/headers/components/HeaderLoginButton.js.map +1 -0
  694. package/lib/components/organisms/headers/components/HeaderMenuItemButton.d.ts +8 -0
  695. package/lib/components/organisms/headers/components/HeaderMenuItemButton.js +15 -0
  696. package/lib/components/organisms/headers/components/HeaderMenuItemButton.js.map +1 -0
  697. package/lib/components/organisms/headers/components/HeaderMenuProfileButton.d.ts +9 -0
  698. package/lib/components/organisms/headers/components/HeaderMenuProfileButton.js +15 -0
  699. package/lib/components/organisms/headers/components/HeaderMenuProfileButton.js.map +1 -0
  700. package/lib/components/organisms/headers/components/HeaderMenuSection.d.ts +27 -0
  701. package/lib/components/organisms/headers/components/HeaderMenuSection.js +25 -0
  702. package/lib/components/organisms/headers/components/HeaderMenuSection.js.map +1 -0
  703. package/lib/components/organisms/headers/components/HeaderNavButton.d.ts +8 -0
  704. package/lib/components/organisms/headers/components/HeaderNavButton.js +9 -0
  705. package/lib/components/organisms/headers/components/HeaderNavButton.js.map +1 -0
  706. package/lib/components/organisms/headers/components/HeaderPopup.d.ts +7 -0
  707. package/lib/components/organisms/headers/components/HeaderPopup.js +32 -0
  708. package/lib/components/organisms/headers/components/HeaderPopup.js.map +1 -0
  709. package/lib/components/organisms/headers/components/index.d.ts +9 -0
  710. package/lib/components/organisms/headers/components/index.js +25 -0
  711. package/lib/components/organisms/headers/components/index.js.map +1 -0
  712. package/lib/components/organisms/headers/index.d.ts +1 -0
  713. package/lib/components/organisms/headers/index.js +9 -0
  714. package/lib/components/organisms/headers/index.js.map +1 -0
  715. package/lib/components/organisms/index.d.ts +7 -0
  716. package/lib/components/organisms/index.js +24 -0
  717. package/lib/components/organisms/index.js.map +1 -0
  718. package/lib/components/organisms/modals/AlertModal.d.ts +11 -0
  719. package/lib/components/organisms/modals/AlertModal.js +14 -0
  720. package/lib/components/organisms/modals/AlertModal.js.map +1 -0
  721. package/lib/components/organisms/modals/CellModal.d.ts +10 -0
  722. package/lib/components/organisms/modals/CellModal.js +14 -0
  723. package/lib/components/organisms/modals/CellModal.js.map +1 -0
  724. package/lib/components/organisms/modals/ProblemExampleModal.d.ts +17 -0
  725. package/lib/components/organisms/modals/ProblemExampleModal.js +59 -0
  726. package/lib/components/organisms/modals/ProblemExampleModal.js.map +1 -0
  727. package/lib/components/organisms/modals/SearchModal.d.ts +3 -0
  728. package/lib/components/organisms/modals/SearchModal.js +16 -0
  729. package/lib/components/organisms/modals/SearchModal.js.map +1 -0
  730. package/lib/components/organisms/modals/UpdatePasswordModal.d.ts +12 -0
  731. package/lib/components/organisms/modals/UpdatePasswordModal.js +82 -0
  732. package/lib/components/organisms/modals/UpdatePasswordModal.js.map +1 -0
  733. package/lib/components/organisms/modals/index.d.ts +4 -0
  734. package/lib/components/organisms/modals/index.js +15 -0
  735. package/lib/components/organisms/modals/index.js.map +1 -0
  736. package/lib/components/organisms/modals/only_csr.d.ts +1 -0
  737. package/lib/components/organisms/modals/only_csr.js +9 -0
  738. package/lib/components/organisms/modals/only_csr.js.map +1 -0
  739. package/lib/components/organisms/only_csr.d.ts +1 -0
  740. package/lib/components/organisms/only_csr.js +18 -0
  741. package/lib/components/organisms/only_csr.js.map +1 -0
  742. package/lib/components/organisms/tables/BaseTable.d.ts +26 -0
  743. package/lib/components/organisms/tables/BaseTable.js +19 -0
  744. package/lib/components/organisms/tables/BaseTable.js.map +1 -0
  745. package/lib/components/organisms/tables/ContestTable.d.ts +10 -0
  746. package/lib/components/organisms/tables/ContestTable.js +15 -0
  747. package/lib/components/organisms/tables/ContestTable.js.map +1 -0
  748. package/lib/components/organisms/tables/ExploreTable.d.ts +12 -0
  749. package/lib/components/organisms/tables/ExploreTable.js +20 -0
  750. package/lib/components/organisms/tables/ExploreTable.js.map +1 -0
  751. package/lib/components/organisms/tables/ProblemTable.d.ts +18 -0
  752. package/lib/components/organisms/tables/ProblemTable.js +78 -0
  753. package/lib/components/organisms/tables/ProblemTable.js.map +1 -0
  754. package/lib/components/organisms/tables/RecordTable.d.ts +16 -0
  755. package/lib/components/organisms/tables/RecordTable.js +53 -0
  756. package/lib/components/organisms/tables/RecordTable.js.map +1 -0
  757. package/lib/components/organisms/tables/SubmitTable.d.ts +32 -0
  758. package/lib/components/organisms/tables/SubmitTable.js +178 -0
  759. package/lib/components/organisms/tables/SubmitTable.js.map +1 -0
  760. package/lib/components/organisms/tables/TestcaseTable.d.ts +18 -0
  761. package/lib/components/organisms/tables/TestcaseTable.js +82 -0
  762. package/lib/components/organisms/tables/TestcaseTable.js.map +1 -0
  763. package/lib/components/organisms/tables/UserTable.d.ts +21 -0
  764. package/lib/components/organisms/tables/UserTable.js +74 -0
  765. package/lib/components/organisms/tables/UserTable.js.map +1 -0
  766. package/lib/components/organisms/tables/index.d.ts +8 -0
  767. package/lib/components/organisms/tables/index.js +23 -0
  768. package/lib/components/organisms/tables/index.js.map +1 -0
  769. package/lib/components/organisms/timelines/SubmitByProblemTimeline.d.ts +21 -0
  770. package/lib/components/organisms/timelines/SubmitByProblemTimeline.js +118 -0
  771. package/lib/components/organisms/timelines/SubmitByProblemTimeline.js.map +1 -0
  772. package/lib/components/organisms/timelines/SubmitTimeline.d.ts +30 -0
  773. package/lib/components/organisms/timelines/SubmitTimeline.js +97 -0
  774. package/lib/components/organisms/timelines/SubmitTimeline.js.map +1 -0
  775. package/lib/components/organisms/timelines/index.d.ts +2 -0
  776. package/lib/components/organisms/timelines/index.js +11 -0
  777. package/lib/components/organisms/timelines/index.js.map +1 -0
  778. package/lib/components/organisms/toasts/CookieToast.d.ts +12 -0
  779. package/lib/components/organisms/toasts/CookieToast.js +27 -0
  780. package/lib/components/organisms/toasts/CookieToast.js.map +1 -0
  781. package/lib/components/organisms/toasts/Toast.d.ts +10 -0
  782. package/lib/components/organisms/toasts/Toast.js +43 -0
  783. package/lib/components/organisms/toasts/Toast.js.map +1 -0
  784. package/lib/components/organisms/toasts/index.d.ts +2 -0
  785. package/lib/components/organisms/toasts/index.js +11 -0
  786. package/lib/components/organisms/toasts/index.js.map +1 -0
  787. package/lib/components/providers/ClientProvider.d.ts +3 -0
  788. package/lib/components/providers/ClientProvider.js +13 -0
  789. package/lib/components/providers/ClientProvider.js.map +1 -0
  790. package/lib/components/providers/ConfigProvider.d.ts +9 -0
  791. package/lib/components/providers/ConfigProvider.js +96 -0
  792. package/lib/components/providers/ConfigProvider.js.map +1 -0
  793. package/lib/components/providers/DropdownProvider.d.ts +3 -0
  794. package/lib/components/providers/DropdownProvider.js +44 -0
  795. package/lib/components/providers/DropdownProvider.js.map +1 -0
  796. package/lib/components/providers/GlobalStyleProvider.d.ts +2 -0
  797. package/lib/components/providers/GlobalStyleProvider.js +22 -0
  798. package/lib/components/providers/GlobalStyleProvider.js.map +1 -0
  799. package/lib/components/providers/ModalProvider.d.ts +3 -0
  800. package/lib/components/providers/ModalProvider.js +28 -0
  801. package/lib/components/providers/ModalProvider.js.map +1 -0
  802. package/lib/components/providers/SWRProvider.d.ts +3 -0
  803. package/lib/components/providers/SWRProvider.js +55 -0
  804. package/lib/components/providers/SWRProvider.js.map +1 -0
  805. package/lib/components/providers/ScrollRestorationProvider.d.ts +2 -0
  806. package/lib/components/providers/ScrollRestorationProvider.js +50 -0
  807. package/lib/components/providers/ScrollRestorationProvider.js.map +1 -0
  808. package/lib/components/providers/ShortcutProvider.d.ts +2 -0
  809. package/lib/components/providers/ShortcutProvider.js +41 -0
  810. package/lib/components/providers/ShortcutProvider.js.map +1 -0
  811. package/lib/components/providers/ToastProvider.d.ts +2 -0
  812. package/lib/components/providers/ToastProvider.js +68 -0
  813. package/lib/components/providers/ToastProvider.js.map +1 -0
  814. package/lib/components/providers/TooltipProvider.d.ts +3 -0
  815. package/lib/components/providers/TooltipProvider.js +25 -0
  816. package/lib/components/providers/TooltipProvider.js.map +1 -0
  817. package/lib/components/providers/index.d.ts +10 -0
  818. package/lib/components/providers/index.js +27 -0
  819. package/lib/components/providers/index.js.map +1 -0
  820. package/lib/components/templates/CenterFormTemplate.d.ts +7 -0
  821. package/lib/components/templates/CenterFormTemplate.js +89 -0
  822. package/lib/components/templates/CenterFormTemplate.js.map +1 -0
  823. package/lib/components/templates/CodeEditorTemplate/Editor/index.d.ts +19 -0
  824. package/lib/components/templates/CodeEditorTemplate/Editor/index.js +13 -0
  825. package/lib/components/templates/CodeEditorTemplate/Editor/index.js.map +1 -0
  826. package/lib/components/templates/CodeEditorTemplate/Header/index.d.ts +18 -0
  827. package/lib/components/templates/CodeEditorTemplate/Header/index.js +73 -0
  828. package/lib/components/templates/CodeEditorTemplate/Header/index.js.map +1 -0
  829. package/lib/components/templates/CodeEditorTemplate/NavigationBar/Button.d.ts +10 -0
  830. package/lib/components/templates/CodeEditorTemplate/NavigationBar/Button.js +24 -0
  831. package/lib/components/templates/CodeEditorTemplate/NavigationBar/Button.js.map +1 -0
  832. package/lib/components/templates/CodeEditorTemplate/NavigationBar/LogoButton.d.ts +7 -0
  833. package/lib/components/templates/CodeEditorTemplate/NavigationBar/LogoButton.js +9 -0
  834. package/lib/components/templates/CodeEditorTemplate/NavigationBar/LogoButton.js.map +1 -0
  835. package/lib/components/templates/CodeEditorTemplate/NavigationBar/index.d.ts +18 -0
  836. package/lib/components/templates/CodeEditorTemplate/NavigationBar/index.js +34 -0
  837. package/lib/components/templates/CodeEditorTemplate/NavigationBar/index.js.map +1 -0
  838. package/lib/components/templates/CodeEditorTemplate/Panel/index.d.ts +10 -0
  839. package/lib/components/templates/CodeEditorTemplate/Panel/index.js +125 -0
  840. package/lib/components/templates/CodeEditorTemplate/Panel/index.js.map +1 -0
  841. package/lib/components/templates/CodeEditorTemplate/PanelFooter/index.d.ts +10 -0
  842. package/lib/components/templates/CodeEditorTemplate/PanelFooter/index.js +16 -0
  843. package/lib/components/templates/CodeEditorTemplate/PanelFooter/index.js.map +1 -0
  844. package/lib/components/templates/CodeEditorTemplate/PanelHeader/index.d.ts +18 -0
  845. package/lib/components/templates/CodeEditorTemplate/PanelHeader/index.js +34 -0
  846. package/lib/components/templates/CodeEditorTemplate/PanelHeader/index.js.map +1 -0
  847. package/lib/components/templates/CodeEditorTemplate/Resizer/index.d.ts +7 -0
  848. package/lib/components/templates/CodeEditorTemplate/Resizer/index.js +20 -0
  849. package/lib/components/templates/CodeEditorTemplate/Resizer/index.js.map +1 -0
  850. package/lib/components/templates/CodeEditorTemplate/index.d.ts +51 -0
  851. package/lib/components/templates/CodeEditorTemplate/index.js +283 -0
  852. package/lib/components/templates/CodeEditorTemplate/index.js.map +1 -0
  853. package/lib/components/templates/HeaderTemplate.d.ts +7 -0
  854. package/lib/components/templates/HeaderTemplate.js +12 -0
  855. package/lib/components/templates/HeaderTemplate.js.map +1 -0
  856. package/lib/components/templates/NavTemplate.d.ts +12 -0
  857. package/lib/components/templates/NavTemplate.js +13 -0
  858. package/lib/components/templates/NavTemplate.js.map +1 -0
  859. package/lib/components/templates/SidebarTemplate.d.ts +10 -0
  860. package/lib/components/templates/SidebarTemplate.js +31 -0
  861. package/lib/components/templates/SidebarTemplate.js.map +1 -0
  862. package/lib/components/templates/SubHeaderTemplate.d.ts +7 -0
  863. package/lib/components/templates/SubHeaderTemplate.js +21 -0
  864. package/lib/components/templates/SubHeaderTemplate.js.map +1 -0
  865. package/lib/components/templates/index.d.ts +6 -0
  866. package/lib/components/templates/index.js +32 -0
  867. package/lib/components/templates/index.js.map +1 -0
  868. package/lib/components/templates/only_csr.d.ts +1 -0
  869. package/lib/components/templates/only_csr.js +9 -0
  870. package/lib/components/templates/only_csr.js.map +1 -0
  871. package/lib/components/templates/opengraphs/MainOpengraphTemplate.d.ts +7 -0
  872. package/lib/components/templates/opengraphs/MainOpengraphTemplate.js +88 -0
  873. package/lib/components/templates/opengraphs/MainOpengraphTemplate.js.map +1 -0
  874. package/lib/components/templates/opengraphs/WatermarkOpengraphTemplate.d.ts +22 -0
  875. package/lib/components/templates/opengraphs/WatermarkOpengraphTemplate.js +173 -0
  876. package/lib/components/templates/opengraphs/WatermarkOpengraphTemplate.js.map +1 -0
  877. package/lib/components/templates/opengraphs/index.d.ts +2 -0
  878. package/lib/components/templates/opengraphs/index.js +11 -0
  879. package/lib/components/templates/opengraphs/index.js.map +1 -0
  880. package/lib/constants/components/atoms.d.ts +778 -0
  881. package/lib/constants/components/atoms.js +363 -0
  882. package/lib/constants/components/atoms.js.map +1 -0
  883. package/lib/constants/components/index.d.ts +3 -0
  884. package/lib/constants/components/index.js +20 -0
  885. package/lib/constants/components/index.js.map +1 -0
  886. package/lib/constants/components/molecules.d.ts +59 -0
  887. package/lib/constants/components/molecules.js +55 -0
  888. package/lib/constants/components/molecules.js.map +1 -0
  889. package/lib/constants/components/organisms.d.ts +8 -0
  890. package/lib/constants/components/organisms.js +11 -0
  891. package/lib/constants/components/organisms.js.map +1 -0
  892. package/lib/constants/keyboards/index.d.ts +1 -0
  893. package/lib/constants/keyboards/index.js +18 -0
  894. package/lib/constants/keyboards/index.js.map +1 -0
  895. package/lib/constants/keyboards/shortcuts.d.ts +302 -0
  896. package/lib/constants/keyboards/shortcuts.js +100 -0
  897. package/lib/constants/keyboards/shortcuts.js.map +1 -0
  898. package/lib/constants/metadata/index.d.ts +216 -0
  899. package/lib/constants/metadata/index.js +209 -0
  900. package/lib/constants/metadata/index.js.map +1 -0
  901. package/lib/constants/styles/className.d.ts +5 -0
  902. package/lib/constants/styles/className.js +7 -0
  903. package/lib/constants/styles/className.js.map +1 -0
  904. package/lib/constants/styles/codeEditor.d.ts +34 -0
  905. package/lib/constants/styles/codeEditor.js +39 -0
  906. package/lib/constants/styles/codeEditor.js.map +1 -0
  907. package/lib/constants/styles/color.d.ts +257 -0
  908. package/lib/constants/styles/color.js +327 -0
  909. package/lib/constants/styles/color.js.map +1 -0
  910. package/lib/constants/styles/effect.d.ts +15 -0
  911. package/lib/constants/styles/effect.js +98 -0
  912. package/lib/constants/styles/effect.js.map +1 -0
  913. package/lib/constants/styles/font.d.ts +212 -0
  914. package/lib/constants/styles/font.js +276 -0
  915. package/lib/constants/styles/font.js.map +1 -0
  916. package/lib/constants/styles/global.d.ts +2 -0
  917. package/lib/constants/styles/global.js +81 -0
  918. package/lib/constants/styles/global.js.map +1 -0
  919. package/lib/constants/styles/index.d.ts +22 -0
  920. package/lib/constants/styles/index.js +54 -0
  921. package/lib/constants/styles/index.js.map +1 -0
  922. package/lib/constants/styles/keyframe.d.ts +11 -0
  923. package/lib/constants/styles/keyframe.js +59 -0
  924. package/lib/constants/styles/keyframe.js.map +1 -0
  925. package/lib/constants/styles/size.d.ts +72 -0
  926. package/lib/constants/styles/size.js +73 -0
  927. package/lib/constants/styles/size.js.map +1 -0
  928. package/lib/constants/styles/text.d.ts +20 -0
  929. package/lib/constants/styles/text.js +121 -0
  930. package/lib/constants/styles/text.js.map +1 -0
  931. package/lib/constants/styles/time.d.ts +5 -0
  932. package/lib/constants/styles/time.js +7 -0
  933. package/lib/constants/styles/time.js.map +1 -0
  934. package/lib/constants/styles/zIndex.d.ts +9 -0
  935. package/lib/constants/styles/zIndex.js +11 -0
  936. package/lib/constants/styles/zIndex.js.map +1 -0
  937. package/lib/hooks/animations/index.d.ts +1 -0
  938. package/lib/hooks/animations/index.js +9 -0
  939. package/lib/hooks/animations/index.js.map +1 -0
  940. package/lib/hooks/animations/useNumberCountUpAnimation.d.ts +2 -0
  941. package/lib/hooks/animations/useNumberCountUpAnimation.js +25 -0
  942. package/lib/hooks/animations/useNumberCountUpAnimation.js.map +1 -0
  943. package/lib/hooks/components/buttons.d.ts +19 -0
  944. package/lib/hooks/components/buttons.js +82 -0
  945. package/lib/hooks/components/buttons.js.map +1 -0
  946. package/lib/hooks/components/index.d.ts +1 -0
  947. package/lib/hooks/components/index.js +18 -0
  948. package/lib/hooks/components/index.js.map +1 -0
  949. package/lib/hooks/day/index.d.ts +2 -0
  950. package/lib/hooks/day/index.js +20 -0
  951. package/lib/hooks/day/index.js.map +1 -0
  952. package/lib/hooks/instance/callback.d.ts +2 -0
  953. package/lib/hooks/instance/callback.js +32 -0
  954. package/lib/hooks/instance/callback.js.map +1 -0
  955. package/lib/hooks/instance/fetch.d.ts +15 -0
  956. package/lib/hooks/instance/fetch.js +109 -0
  957. package/lib/hooks/instance/fetch.js.map +1 -0
  958. package/lib/hooks/instance/index.d.ts +2 -0
  959. package/lib/hooks/instance/index.js +19 -0
  960. package/lib/hooks/instance/index.js.map +1 -0
  961. package/lib/hooks/keyboards/index.d.ts +1 -0
  962. package/lib/hooks/keyboards/index.js +18 -0
  963. package/lib/hooks/keyboards/index.js.map +1 -0
  964. package/lib/hooks/keyboards/shortcut.d.ts +4 -0
  965. package/lib/hooks/keyboards/shortcut.js +127 -0
  966. package/lib/hooks/keyboards/shortcut.js.map +1 -0
  967. package/lib/hooks/navigation/index.d.ts +5 -0
  968. package/lib/hooks/navigation/index.js +29 -0
  969. package/lib/hooks/navigation/index.js.map +1 -0
  970. package/lib/hooks/navigation/useConfirmBeforeNavigationEffect.d.ts +2 -0
  971. package/lib/hooks/navigation/useConfirmBeforeNavigationEffect.js +69 -0
  972. package/lib/hooks/navigation/useConfirmBeforeNavigationEffect.js.map +1 -0
  973. package/lib/hooks/navigation/useLocation.d.ts +4 -0
  974. package/lib/hooks/navigation/useLocation.js +15 -0
  975. package/lib/hooks/navigation/useLocation.js.map +1 -0
  976. package/lib/hooks/navigation/useLoginCallbackSearchParam.d.ts +2 -0
  977. package/lib/hooks/navigation/useLoginCallbackSearchParam.js +23 -0
  978. package/lib/hooks/navigation/useLoginCallbackSearchParam.js.map +1 -0
  979. package/lib/hooks/navigation/usePathname.d.ts +18 -0
  980. package/lib/hooks/navigation/usePathname.js +30 -0
  981. package/lib/hooks/navigation/usePathname.js.map +1 -0
  982. package/lib/hooks/navigation/useSearchParamState.d.ts +11 -0
  983. package/lib/hooks/navigation/useSearchParamState.js +153 -0
  984. package/lib/hooks/navigation/useSearchParamState.js.map +1 -0
  985. package/lib/hooks/random/index.d.ts +1 -0
  986. package/lib/hooks/random/index.js +16 -0
  987. package/lib/hooks/random/index.js.map +1 -0
  988. package/lib/hooks/sockets/index.d.ts +4 -0
  989. package/lib/hooks/sockets/index.js +19 -0
  990. package/lib/hooks/sockets/index.js.map +1 -0
  991. package/lib/hooks/stores/auth.d.ts +9 -0
  992. package/lib/hooks/stores/auth.js +19 -0
  993. package/lib/hooks/stores/auth.js.map +1 -0
  994. package/lib/hooks/stores/client.d.ts +8 -0
  995. package/lib/hooks/stores/client.js +57 -0
  996. package/lib/hooks/stores/client.js.map +1 -0
  997. package/lib/hooks/stores/config.d.ts +12 -0
  998. package/lib/hooks/stores/config.js +15 -0
  999. package/lib/hooks/stores/config.js.map +1 -0
  1000. package/lib/hooks/stores/dropdown.d.ts +43 -0
  1001. package/lib/hooks/stores/dropdown.js +105 -0
  1002. package/lib/hooks/stores/dropdown.js.map +1 -0
  1003. package/lib/hooks/stores/header.d.ts +8 -0
  1004. package/lib/hooks/stores/header.js +10 -0
  1005. package/lib/hooks/stores/header.js.map +1 -0
  1006. package/lib/hooks/stores/index.d.ts +9 -0
  1007. package/lib/hooks/stores/index.js +26 -0
  1008. package/lib/hooks/stores/index.js.map +1 -0
  1009. package/lib/hooks/stores/modal.d.ts +30 -0
  1010. package/lib/hooks/stores/modal.js +35 -0
  1011. package/lib/hooks/stores/modal.js.map +1 -0
  1012. package/lib/hooks/stores/shortcut.d.ts +14 -0
  1013. package/lib/hooks/stores/shortcut.js +60 -0
  1014. package/lib/hooks/stores/shortcut.js.map +1 -0
  1015. package/lib/hooks/stores/theme.d.ts +8 -0
  1016. package/lib/hooks/stores/theme.js +29 -0
  1017. package/lib/hooks/stores/theme.js.map +1 -0
  1018. package/lib/hooks/stores/tooltip.d.ts +29 -0
  1019. package/lib/hooks/stores/tooltip.js +96 -0
  1020. package/lib/hooks/stores/tooltip.js.map +1 -0
  1021. package/lib/hooks/styles/index.d.ts +8 -0
  1022. package/lib/hooks/styles/index.js +35 -0
  1023. package/lib/hooks/styles/index.js.map +1 -0
  1024. package/lib/hooks/styles/useDisableScrollEffect.d.ts +2 -0
  1025. package/lib/hooks/styles/useDisableScrollEffect.js +28 -0
  1026. package/lib/hooks/styles/useDisableScrollEffect.js.map +1 -0
  1027. package/lib/hooks/styles/useDocumentStates.d.ts +9 -0
  1028. package/lib/hooks/styles/useDocumentStates.js +36 -0
  1029. package/lib/hooks/styles/useDocumentStates.js.map +1 -0
  1030. package/lib/hooks/styles/useDropdownProps.d.ts +8 -0
  1031. package/lib/hooks/styles/useDropdownProps.js +49 -0
  1032. package/lib/hooks/styles/useDropdownProps.js.map +1 -0
  1033. package/lib/hooks/styles/useElementStates.d.ts +13 -0
  1034. package/lib/hooks/styles/useElementStates.js +86 -0
  1035. package/lib/hooks/styles/useElementStates.js.map +1 -0
  1036. package/lib/hooks/styles/useGrid.d.ts +1 -0
  1037. package/lib/hooks/styles/useGrid.js +12 -0
  1038. package/lib/hooks/styles/useGrid.js.map +1 -0
  1039. package/lib/hooks/styles/useHoverProps.d.ts +11 -0
  1040. package/lib/hooks/styles/useHoverProps.js +26 -0
  1041. package/lib/hooks/styles/useHoverProps.js.map +1 -0
  1042. package/lib/hooks/styles/useScrollSelectedIntoViewEffect.d.ts +3 -0
  1043. package/lib/hooks/styles/useScrollSelectedIntoViewEffect.js +39 -0
  1044. package/lib/hooks/styles/useScrollSelectedIntoViewEffect.js.map +1 -0
  1045. package/lib/types/components.d.ts +3 -0
  1046. package/lib/types/components.js +3 -0
  1047. package/lib/types/components.js.map +1 -0
  1048. package/lib/types/styles/index.d.ts +1 -0
  1049. package/lib/types/styles/index.js +3 -0
  1050. package/lib/types/styles/index.js.map +1 -0
  1051. package/lib/types/styles/theme.d.ts +85 -0
  1052. package/lib/types/styles/theme.js +3 -0
  1053. package/lib/types/styles/theme.js.map +1 -0
  1054. package/lib/types/utils.d.ts +1 -0
  1055. package/lib/types/utils.js +3 -0
  1056. package/lib/types/utils.js.map +1 -0
  1057. package/lib/utils/avatar/index.d.ts +3 -0
  1058. package/lib/utils/avatar/index.js +26 -0
  1059. package/lib/utils/avatar/index.js.map +1 -0
  1060. package/lib/utils/clientStorages/codeEditor.d.ts +4 -0
  1061. package/lib/utils/clientStorages/codeEditor.js +51 -0
  1062. package/lib/utils/clientStorages/codeEditor.js.map +1 -0
  1063. package/lib/utils/clientStorages/common.d.ts +16 -0
  1064. package/lib/utils/clientStorages/common.js +105 -0
  1065. package/lib/utils/clientStorages/common.js.map +1 -0
  1066. package/lib/utils/clientStorages/config.d.ts +8 -0
  1067. package/lib/utils/clientStorages/config.js +79 -0
  1068. package/lib/utils/clientStorages/config.js.map +1 -0
  1069. package/lib/utils/clientStorages/cookieable.d.ts +8 -0
  1070. package/lib/utils/clientStorages/cookieable.js +22 -0
  1071. package/lib/utils/clientStorages/cookieable.js.map +1 -0
  1072. package/lib/utils/clientStorages/index.d.ts +5 -0
  1073. package/lib/utils/clientStorages/index.js +22 -0
  1074. package/lib/utils/clientStorages/index.js.map +1 -0
  1075. package/lib/utils/clientStorages/login.d.ts +5 -0
  1076. package/lib/utils/clientStorages/login.js +25 -0
  1077. package/lib/utils/clientStorages/login.js.map +1 -0
  1078. package/lib/utils/clipboards/index.d.ts +4 -0
  1079. package/lib/utils/clipboards/index.js +41 -0
  1080. package/lib/utils/clipboards/index.js.map +1 -0
  1081. package/lib/utils/downloads/index.d.ts +1 -0
  1082. package/lib/utils/downloads/index.js +16 -0
  1083. package/lib/utils/downloads/index.js.map +1 -0
  1084. package/lib/utils/hrefs/cell.d.ts +1 -0
  1085. package/lib/utils/hrefs/cell.js +15 -0
  1086. package/lib/utils/hrefs/cell.js.map +1 -0
  1087. package/lib/utils/hrefs/index.d.ts +1 -0
  1088. package/lib/utils/hrefs/index.js +18 -0
  1089. package/lib/utils/hrefs/index.js.map +1 -0
  1090. package/lib/utils/image/convert.d.ts +3 -0
  1091. package/lib/utils/image/convert.js +90 -0
  1092. package/lib/utils/image/convert.js.map +1 -0
  1093. package/lib/utils/image/index.d.ts +1 -0
  1094. package/lib/utils/image/index.js +18 -0
  1095. package/lib/utils/image/index.js.map +1 -0
  1096. package/lib/utils/instance/index.d.ts +4 -0
  1097. package/lib/utils/instance/index.js +11 -0
  1098. package/lib/utils/instance/index.js.map +1 -0
  1099. package/lib/utils/shortcuts/index.d.ts +5 -0
  1100. package/lib/utils/shortcuts/index.js +78 -0
  1101. package/lib/utils/shortcuts/index.js.map +1 -0
  1102. package/lib/utils/socket/index.d.ts +15 -0
  1103. package/lib/utils/socket/index.js +105 -0
  1104. package/lib/utils/socket/index.js.map +1 -0
  1105. package/lib/utils/stores/index.d.ts +1 -0
  1106. package/lib/utils/stores/index.js +18 -0
  1107. package/lib/utils/stores/index.js.map +1 -0
  1108. package/lib/utils/styles/color.d.ts +89 -0
  1109. package/lib/utils/styles/color.js +284 -0
  1110. package/lib/utils/styles/color.js.map +1 -0
  1111. package/lib/utils/styles/global.d.ts +19 -0
  1112. package/lib/utils/styles/global.js +32 -0
  1113. package/lib/utils/styles/global.js.map +1 -0
  1114. package/lib/utils/styles/index.d.ts +4 -0
  1115. package/lib/utils/styles/index.js +27 -0
  1116. package/lib/utils/styles/index.js.map +1 -0
  1117. package/lib/utils/styles/theme.d.ts +225 -0
  1118. package/lib/utils/styles/theme.js +19 -0
  1119. package/lib/utils/styles/theme.js.map +1 -0
  1120. package/lib/utils/styles/wrapper.d.ts +5 -0
  1121. package/lib/utils/styles/wrapper.js +164 -0
  1122. package/lib/utils/styles/wrapper.js.map +1 -0
  1123. package/lib/utils/submits/index.d.ts +11 -0
  1124. package/lib/utils/submits/index.js +83 -0
  1125. package/lib/utils/submits/index.js.map +1 -0
  1126. package/lib/utils/toasts/index.d.ts +2 -0
  1127. package/lib/utils/toasts/index.js +20 -0
  1128. package/lib/utils/toasts/index.js.map +1 -0
  1129. package/package.json +57 -3
@@ -0,0 +1,217 @@
1
+ 'use client';
2
+ "use strict";
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __importDefault = (this && this.__importDefault) || function (mod) {
37
+ return (mod && mod.__esModule) ? mod : { "default": mod };
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ const jsx_runtime_1 = require("react/jsx-runtime");
41
+ const react_1 = __importDefault(require("react"));
42
+ const monaco = __importStar(require("monaco-editor/editor/editor.api"));
43
+ require("monaco-editor/editor/editor.main");
44
+ const styled_components_1 = require("styled-components");
45
+ const oj_submit_1 = require("@euler-edu/constant/oj-submit");
46
+ const styles_1 = require("@euler-edu/constant/styles");
47
+ const shortcuts_1 = require("../../../utils/shortcuts");
48
+ const styles_2 = require("../../../utils/styles");
49
+ const stores_1 = require("../../../hooks/stores");
50
+ const atoms_1 = require("../../../components/atoms");
51
+ const editorShortcutLabels = {
52
+ 'problem-editor': '코드 실행',
53
+ 'problem-submit': '코드 제출',
54
+ 'editor-save': '코드 저장',
55
+ };
56
+ const getInitValue = (language, initValue) => {
57
+ if (typeof initValue === 'string')
58
+ return initValue;
59
+ if (language in oj_submit_1.ojSubmit.defaultCodes)
60
+ return oj_submit_1.ojSubmit.defaultCodes[language].join('\n');
61
+ return '';
62
+ };
63
+ exports.default = ({ language = 'plaintext', theme: _theme, isReadOnly = false, initValue, initValueVersion, onChangeValue, onChangeLineNumber, onChangeColumnNumber, $letterSpacing: _$letterSpacing, $font: _$font, $fontSize: _$fontSize, $tabSize: _$tabSize, $height: _$height, ...props }) => {
64
+ var _a, _b, _c, _d;
65
+ const ref = react_1.default.useRef(null);
66
+ const instanceRef = react_1.default.useRef(null);
67
+ const { editorConfig, ojEnvConfig } = (0, stores_1.useConfigStore)();
68
+ const { clientPlatform } = (0, stores_1.useClientStore)();
69
+ const { isDisabled: isShortcutStoreDisabled, shortcutEvents } = (0, stores_1.useShortcutStore)();
70
+ const { shortcuts, isShortcutDisabled } = ojEnvConfig;
71
+ const { theme: defaultTheme, letterSpacing: defaultLetterSpacing, font: defaultFont, fontSize: defaultFontSize, tabSize: defaultTabSize, } = editorConfig;
72
+ const editorTheme = _theme || defaultTheme || 'vs-dark';
73
+ const $letterSpacing = (_a = _$letterSpacing !== null && _$letterSpacing !== void 0 ? _$letterSpacing : defaultLetterSpacing) !== null && _a !== void 0 ? _a : 0;
74
+ const $font = (_b = _$font !== null && _$font !== void 0 ? _$font : defaultFont) !== null && _b !== void 0 ? _b : styles_1.codeFonts[0].font;
75
+ const $fontSize = (_c = _$fontSize !== null && _$fontSize !== void 0 ? _$fontSize : defaultFontSize) !== null && _c !== void 0 ? _c : 14;
76
+ const $tabSize = (_d = _$tabSize !== null && _$tabSize !== void 0 ? _$tabSize : defaultTabSize) !== null && _d !== void 0 ? _d : 2;
77
+ const [contentHeight, setContentHeight] = react_1.default.useState(0);
78
+ const $height = _$height !== null && _$height !== void 0 ? _$height : contentHeight + styles_2.theme.size.height.base.large;
79
+ react_1.default.useEffect(() => {
80
+ if (!ref.current)
81
+ return;
82
+ instanceRef.current = monaco.editor.create(ref.current, {
83
+ value: getInitValue(language, initValue),
84
+ language,
85
+ theme: editorTheme,
86
+ readOnly: isReadOnly,
87
+ letterSpacing: $letterSpacing,
88
+ fontFamily: $font,
89
+ fontSize: $fontSize,
90
+ tabSize: $tabSize,
91
+ automaticLayout: true,
92
+ scrollBeyondLastLine: false,
93
+ detectIndentation: false,
94
+ minimap: { enabled: true },
95
+ scrollbar: { alwaysConsumeMouseWheel: false },
96
+ });
97
+ return () => {
98
+ if (instanceRef.current) {
99
+ instanceRef.current.dispose();
100
+ }
101
+ };
102
+ }, []);
103
+ react_1.default.useEffect(() => {
104
+ if (!instanceRef.current)
105
+ return;
106
+ instanceRef.current.setValue(getInitValue(language, initValue));
107
+ }, [initValue, initValueVersion]);
108
+ react_1.default.useEffect(() => {
109
+ var _a, _b;
110
+ const model = (_b = (_a = instanceRef.current) === null || _a === void 0 ? void 0 : _a.getModel) === null || _b === void 0 ? void 0 : _b.call(_a);
111
+ if (!model)
112
+ return;
113
+ monaco.editor.setModelLanguage(model, language);
114
+ }, [language]);
115
+ react_1.default.useEffect(() => {
116
+ monaco.editor.setTheme(editorTheme);
117
+ }, [editorTheme]);
118
+ react_1.default.useEffect(() => {
119
+ if (!instanceRef.current || !onChangeValue)
120
+ return;
121
+ const disposable = instanceRef.current.onDidChangeModelContent(() => {
122
+ if (!instanceRef.current)
123
+ return;
124
+ onChangeValue(instanceRef.current.getValue());
125
+ });
126
+ return () => disposable.dispose();
127
+ }, [onChangeValue]);
128
+ react_1.default.useEffect(() => {
129
+ if (!instanceRef.current)
130
+ return;
131
+ const disposable = instanceRef.current.onDidChangeCursorPosition(e => {
132
+ if (!instanceRef.current)
133
+ return;
134
+ onChangeLineNumber === null || onChangeLineNumber === void 0 ? void 0 : onChangeLineNumber(e.position.lineNumber);
135
+ onChangeColumnNumber === null || onChangeColumnNumber === void 0 ? void 0 : onChangeColumnNumber(e.position.column);
136
+ });
137
+ return () => disposable.dispose();
138
+ }, [onChangeLineNumber, onChangeColumnNumber]);
139
+ react_1.default.useEffect(() => {
140
+ if (!instanceRef.current)
141
+ return;
142
+ setContentHeight(instanceRef.current.getContentHeight());
143
+ const disposable = instanceRef.current.onDidChangeModelContent(() => {
144
+ if (!instanceRef.current)
145
+ return;
146
+ setContentHeight(instanceRef.current.getContentHeight());
147
+ });
148
+ return () => disposable.dispose();
149
+ }, []);
150
+ react_1.default.useEffect(() => {
151
+ var _a, _b;
152
+ if (!instanceRef.current)
153
+ return;
154
+ instanceRef.current.updateOptions({
155
+ readOnly: isReadOnly,
156
+ letterSpacing: $letterSpacing,
157
+ fontFamily: $font,
158
+ fontSize: $fontSize,
159
+ tabSize: $tabSize,
160
+ });
161
+ (_b = (_a = instanceRef.current.getModel()) === null || _a === void 0 ? void 0 : _a.updateOptions) === null || _b === void 0 ? void 0 : _b.call(_a, {
162
+ tabSize: $tabSize,
163
+ });
164
+ }, [isReadOnly, $letterSpacing, $font, $fontSize, $tabSize]);
165
+ react_1.default.useEffect(() => {
166
+ if (!instanceRef.current)
167
+ return;
168
+ instanceRef.current.layout();
169
+ }, [$height]);
170
+ react_1.default.useEffect(() => {
171
+ const instance = instanceRef.current;
172
+ if (!instance ||
173
+ isReadOnly ||
174
+ isShortcutStoreDisabled ||
175
+ isShortcutDisabled)
176
+ return;
177
+ const isMacintosh = ['macos', 'ios'].includes(clientPlatform);
178
+ const disposables = Object.entries(editorShortcutLabels).flatMap(([event, label], index) => {
179
+ var _a;
180
+ const shortcut = shortcuts[event];
181
+ if (!shortcut || !((_a = shortcutEvents[event]) === null || _a === void 0 ? void 0 : _a.length))
182
+ return [];
183
+ const keybinding = (0, shortcuts_1.getMonacoKeybindingFromShortcut)(shortcut, monaco, isMacintosh);
184
+ if (keybinding === undefined)
185
+ return [];
186
+ return [
187
+ instance.addAction({
188
+ id: `oj.${event}`,
189
+ label,
190
+ keybindings: [keybinding],
191
+ contextMenuGroupId: 'oj',
192
+ contextMenuOrder: index,
193
+ run: () => {
194
+ var _a;
195
+ const callbacks = (_a = stores_1.useShortcutStore.getState().shortcutEvents[event]) !== null && _a !== void 0 ? _a : [];
196
+ for (const callback of callbacks)
197
+ callback();
198
+ },
199
+ }),
200
+ ];
201
+ });
202
+ return () => disposables.forEach(disposable => disposable.dispose());
203
+ }, [
204
+ isReadOnly,
205
+ isShortcutStoreDisabled,
206
+ isShortcutDisabled,
207
+ clientPlatform,
208
+ shortcuts,
209
+ shortcutEvents,
210
+ ]);
211
+ return ((0, jsx_runtime_1.jsx)(atoms_1.Container, { ref: ref, "$font": $font, "$height": $height, "$css": (0, styled_components_1.css) `
212
+ & * {
213
+ font-family: ${$font};
214
+ }
215
+ `, ...props }));
216
+ };
217
+ //# sourceMappingURL=CodeEditor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeEditor.js","sourceRoot":"","sources":["../../../../src/components/atoms/editors/CodeEditor.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKb,kDAA0B;AAE1B,wEAA0D;AAE1D,4CAA0C;AAC1C,yDAAwC;AAExC,6DAAyD;AAEzD,uDAAuD;AAOvD,iDAAoE;AACpE,2CAAuC;AAEvC,2CAIwB;AAExB,8CAA+C;AAiB/C,MAAM,oBAAoB,GAAG;IAC3B,gBAAgB,EAAE,OAAO;IACzB,gBAAgB,EAAE,OAAO;IACzB,aAAa,EAAE,OAAO;CACmC,CAAC;AAE5D,MAAM,YAAY,GAAG,CAAC,QAA4B,EAAE,SAAkB,EAAE,EAAE;IACxE,IAAI,OAAO,SAAS,KAAK,QAAQ;QAAE,OAAO,SAAS,CAAC;IACpD,IAAI,QAAQ,IAAI,oBAAQ,CAAC,YAAY;QACnC,OAAO,oBAAQ,CAAC,YAAY,CAC1B,QAA8C,CAC/C,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACf,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC;AAEF,kBAAe,CAAC,EACd,QAAQ,GAAG,WAAW,EACtB,KAAK,EAAE,MAAM,EACb,UAAU,GAAG,KAAK,EAClB,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EAAE,eAAe,EAC/B,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,UAAU,EACrB,QAAQ,EAAE,SAAS,EACnB,OAAO,EAAE,QAAQ,EACjB,GAAG,KAAK,EACF,EAAE,EAAE;;IACV,MAAM,GAAG,GAAG,eAAK,CAAC,MAAM,CAAiB,IAA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kBAAkB;QAClB,cAAc;QACd,SAAS;QACT,cAAc;KACf,CAAC,CAAC;IAEH,OAAO,CACL,uBAAC,iBAAS,IACR,GAAG,EAAE,GAAG,WACD,KAAK,aACH,OAAO,UACV,IAAA,uBAAG,EAAA;;yBAEU,KAAK;;OAEvB,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export { default as CodeEditor } from './CodeEditor';
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CodeEditor = void 0;
7
+ var CodeEditor_1 = require("./CodeEditor");
8
+ Object.defineProperty(exports, "CodeEditor", { enumerable: true, get: function () { return __importDefault(CodeEditor_1).default; } });
9
+ //# sourceMappingURL=only_csr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"only_csr.js","sourceRoot":"","sources":["../../../../src/components/atoms/editors/only_csr.tsx"],"names":[],"mappings":";;;;;;AAAA,2CAAqD;AAA5C,yHAAA,OAAO,OAAc"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { CSSProperties } from 'styled-components';
3
+ import type { IconType } from '../../../constants/components';
4
+ type Props = {
5
+ type: IconType;
6
+ $autoFill?: CSSProperties['fill'];
7
+ } & Omit<React.SVGProps<SVGSVGElement>, 'fill'> & React.ComponentProps<typeof FallbackIcon>;
8
+ declare const FallbackIcon: React.FC<import("../../../types/styles").ThemeCommonProps>;
9
+ declare const _default: ({ type, $autoFill, $css, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
10
+ export default _default;
@@ -0,0 +1,61 @@
1
+ 'use client';
2
+ "use strict";
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
+ const react_1 = __importDefault(require("react"));
9
+ const fallback_svg_1 = __importDefault(require("../../../assets/icons/fallback.svg"));
10
+ const spinner_outline_svg_1 = __importDefault(require("../../../assets/icons/hero/spinner-outline.svg"));
11
+ const euler_svg_1 = __importDefault(require("../../../assets/icons/primary/euler.svg"));
12
+ const components_1 = require("../../../constants/components");
13
+ const styles_1 = require("../../../utils/styles");
14
+ const iconMap = Object.fromEntries(components_1.iconTypes.map(type => [
15
+ type,
16
+ () => type.startsWith('primary/')
17
+ ? import(`../../../assets/icons/primary/${type.replace('primary/', '')}.svg`)
18
+ : type.startsWith('hero/')
19
+ ? import(`../../../assets/icons/hero/${type.replace('hero/', '')}.svg`)
20
+ : type.startsWith('phosphor/')
21
+ ? import(`../../../assets/icons/phosphor/${type.replace('phosphor/', '')}.svg`)
22
+ : type.startsWith('social/')
23
+ ? import(`../../../assets/icons/social/${type.replace('social/', '')}.svg`)
24
+ : import(`../../../assets/icons/${type}.svg`),
25
+ ]));
26
+ const FallbackIcon = (0, styles_1.forwardStyled)(fallback_svg_1.default);
27
+ const PrimaryEulerIcon = (0, styles_1.forwardStyled)(euler_svg_1.default);
28
+ const HeroSpinnerOutlineIcon = (0, styles_1.forwardStyled)(spinner_outline_svg_1.default);
29
+ const cachedIcons = new Map();
30
+ cachedIcons.set('hero/spinner-outline', HeroSpinnerOutlineIcon);
31
+ cachedIcons.set('primary/euler', PrimaryEulerIcon);
32
+ exports.default = ({ type, $autoFill = styles_1.theme.color.base.extra.black, $css, ...props }) => {
33
+ const [Icon, setIcon] = react_1.default.useState(cachedIcons.get(type) || FallbackIcon);
34
+ const [config, setConfig] = react_1.default.useState({
35
+ fillRule: 'fill',
36
+ });
37
+ react_1.default.useEffect(() => {
38
+ if (!(type in iconMap))
39
+ return;
40
+ if (cachedIcons.has(type)) {
41
+ setIcon(() => cachedIcons.get(type));
42
+ setConfig(components_1.icons[type]);
43
+ return;
44
+ }
45
+ try {
46
+ (async () => {
47
+ const { default: _Icon } = await iconMap[type]();
48
+ const StyledIcon = react_1.default.memo((0, styles_1.forwardStyled)(_Icon));
49
+ cachedIcons.set(type, StyledIcon);
50
+ setIcon(() => StyledIcon);
51
+ setConfig(components_1.icons[type]);
52
+ })();
53
+ }
54
+ catch (error) {
55
+ console.error(error);
56
+ setIcon(() => FallbackIcon);
57
+ }
58
+ }, [type]);
59
+ return config.fillRule == 'fill' ? ((0, jsx_runtime_1.jsx)(Icon, { "$size": "24px", "$fill": $autoFill, "$css": type === 'hero/spinner-outline' ? [styles_1.theme.effect.spinner, $css] : $css, ...props })) : ((0, jsx_runtime_1.jsx)(Icon, { "$size": "24px", "$stroke": $autoFill, "$css": type === 'hero/spinner-outline' ? [styles_1.theme.effect.spinner, $css] : $css, ...props }));
60
+ };
61
+ //# sourceMappingURL=Icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../../src/components/atoms/icons/Icon.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;AAEb,kDAA0B;AAI1B,+EAAmD;AACnD,kGAAyE;AACzE,iFAA4D;AAE5D,uDAA0D;AAG1D,2CAAsD;AAQtD,MAAM,OAAO,GAAG,MAAM,CAAC,WAAW,CAChC,sBAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;IACpB,IAAI;IACJ,GAAG,EAAE,CACH,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;QACzB,CAAC,CAAC,MAAM,CACJ,iCAAiC,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,MAAM,CACpE;QACH,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;YACxB,CAAC,CAAC,MAAM,CACJ,8BAA8B,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,MAAM,CAC9D;YACH,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC;gBAC5B,CAAC,CAAC,MAAM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,CAAC,IAAI,KAEnE,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { LoadingIconSize } from '../../../constants/components';
3
+ import { Container } from '../../../components/atoms';
4
+ type BallContainerProps = {
5
+ size?: LoadingIconSize;
6
+ autoFill?: React.ComponentProps<typeof Container>['$background'];
7
+ } & React.ComponentProps<typeof Container>;
8
+ type Props = {
9
+ size?: LoadingIconSize;
10
+ autoFill?: BallContainerProps['autoFill'];
11
+ } & React.ComponentProps<typeof Container>;
12
+ declare const _default: React.MemoExoticComponent<({ size, autoFill, ...props }: Props) => import("react/jsx-runtime").JSX.Element>;
13
+ export default _default;
@@ -0,0 +1,36 @@
1
+ 'use client';
2
+ "use strict";
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
+ const react_1 = __importDefault(require("react"));
9
+ const styled_components_1 = require("styled-components");
10
+ const styles_1 = require("../../../utils/styles");
11
+ const atoms_1 = require("../../../components/atoms");
12
+ const configs = {
13
+ small: { size: 8, gap: 4, height: 32 * 0.8 },
14
+ medium: { size: 12, gap: 8, height: 52 * 0.8 },
15
+ large: { size: 16, gap: 12, height: 72 * 0.8 },
16
+ };
17
+ const BallContainer = ({ size = 'medium', autoFill = styles_1.theme.color.palettes.body['border-primary'], $css, ...props }) => ((0, jsx_runtime_1.jsx)(atoms_1.Container, { "$position": "absolute", "$borderRadius": "50%", "$size": configs[size].size, "$background": autoFill, "$css": [
18
+ (0, styled_components_1.css) `
19
+ animation: ${(0, styled_components_1.keyframes) `
20
+ 0%, 100% {
21
+ top: 0;
22
+ }
23
+ 50% {
24
+ top: ${configs[size].height - configs[size].size}px;
25
+ }`} 1.2s ease infinite;
26
+ `,
27
+ $css,
28
+ ], ...props }));
29
+ exports.default = react_1.default.memo(({ size = 'medium', autoFill, ...props }) => ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$position": "relative", "$width": configs[size].size * 3 + configs[size].gap * 2, "$height": configs[size].height, ...props, children: [(0, jsx_runtime_1.jsx)(BallContainer, { size: size, autoFill: autoFill, "$left": 0, "$css": (0, styled_components_1.css) `
30
+ animation-delay: 0.1s;
31
+ ` }), (0, jsx_runtime_1.jsx)(BallContainer, { size: size, autoFill: autoFill, "$left": configs[size].size + configs[size].gap, "$css": (0, styled_components_1.css) `
32
+ animation-delay: 0.2s;
33
+ ` }), (0, jsx_runtime_1.jsx)(BallContainer, { size: size, autoFill: autoFill, "$right": 0, "$css": (0, styled_components_1.css) `
34
+ animation-delay: 0.3s;
35
+ ` })] })));
36
+ //# sourceMappingURL=LoadingIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingIcon.js","sourceRoot":"","sources":["../../../../src/components/atoms/icons/LoadingIcon.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;AAEb,kDAA0B;AAE1B,yDAAmD;AAInD,2CAAuC;AAEvC,8CAA+C;AAY/C,MAAM,OAAO,GAAG;IACd,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,GAAG,GAAG,EAAE;IAC5C,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,GAAG,GAAG,EAAE;IAC9C,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAG,GAAG,EAAE;CAQ/C,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,EACrB,IAAI,GAAG,QAAQ,EACf,QAAQ,GAAG,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,EACtD,IAAI,EACJ,GAAG,KAAK,EACW,EAAE,EAAE,CAAC,CACxB,uBAAC,iBAAS,iBACE,UAAU,mBACN,KAAK,WACZ,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,iBACZ,QAAQ,UACf;QACJ,IAAA,uBAAG,EAAA;qBACY,IAAA,6BAAS,EAAA;;;;;mBAKX,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI;YAChD;OACL;QACD,IAAI;KACL,KACG,KAAK,GACT,CACH,CAAC;AAEF,kBAAe,eAAK,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,GAAG,QAAQ,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAS,EAAE,EAAE,CAAC,CAC5E,wBAAC,iBAAS,iBACE,UAAU,YACZ,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,GAAG,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,GAAG,CAAC,aAC7C,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,KACzB,KAAK,aAET,uBAAC,aAAa,IACZ,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,WACX,CAAC,UACF,IAAA,uBAAG,EAAA;;OAER,GACD,EACF,uBAAC,aAAa,IACZ,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,WACX,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,UACvC,IAAA,uBAAG,EAAA;;OAER,GACD,EACF,uBAAC,aAAa,IACZ,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,YACV,CAAC,UACH,IAAA,uBAAG,EAAA;;OAER,GACD,IACQ,CACb,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as Icon } from './Icon';
2
+ export { default as LoadingIcon } from './LoadingIcon';
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.LoadingIcon = exports.Icon = void 0;
7
+ var Icon_1 = require("./Icon");
8
+ Object.defineProperty(exports, "Icon", { enumerable: true, get: function () { return __importDefault(Icon_1).default; } });
9
+ var LoadingIcon_1 = require("./LoadingIcon");
10
+ Object.defineProperty(exports, "LoadingIcon", { enumerable: true, get: function () { return __importDefault(LoadingIcon_1).default; } });
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/atoms/icons/index.tsx"],"names":[],"mappings":";;;;;;AAAA,+BAAyC;AAAhC,6GAAA,OAAO,OAAQ;AACxB,6CAAuD;AAA9C,2HAAA,OAAO,OAAe"}
@@ -0,0 +1,12 @@
1
+ export * from './avatars';
2
+ export * from './badges';
3
+ export * from './buttons';
4
+ export * from './containers';
5
+ export * from './dividers';
6
+ export * from './icons';
7
+ export * from './inputs';
8
+ export * from './lotties';
9
+ export * from './paginations';
10
+ export * from './pickers';
11
+ export * from './recaptchas';
12
+ export * from './texts';
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./avatars"), exports);
18
+ __exportStar(require("./badges"), exports);
19
+ __exportStar(require("./buttons"), exports);
20
+ __exportStar(require("./containers"), exports);
21
+ __exportStar(require("./dividers"), exports);
22
+ __exportStar(require("./icons"), exports);
23
+ __exportStar(require("./inputs"), exports);
24
+ __exportStar(require("./lotties"), exports);
25
+ __exportStar(require("./paginations"), exports);
26
+ __exportStar(require("./pickers"), exports);
27
+ __exportStar(require("./recaptchas"), exports);
28
+ __exportStar(require("./texts"), exports);
29
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/atoms/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,6CAA2B;AAC3B,0CAAwB;AACxB,2CAAyB;AACzB,4CAA0B;AAC1B,gDAA8B;AAC9B,4CAA0B;AAC1B,+CAA6B;AAC7B,0CAAwB"}
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+ import type { Palette } from '../../../constants/styles';
3
+ declare const _default: React.ForwardRefExoticComponent<{
4
+ size?: "x_small";
5
+ value?: boolean;
6
+ isDisabled?: boolean;
7
+ onChangeValue?: (value: boolean) => void;
8
+ palette?: Palette;
9
+ } & Omit<{
10
+ as?: "auto" | "a" | "link" | "button" | "span";
11
+ href?: React.ComponentProps<typeof import("../containers/LinkContainer").default>["href"];
12
+ target?: React.ComponentProps<typeof import("../containers/LinkContainer").default>["target"];
13
+ rel?: React.ComponentProps<typeof import("../containers/LinkContainer").default>["rel"];
14
+ replace?: React.ComponentProps<typeof import("../containers/LinkContainer").default>["replace"];
15
+ scroll?: React.ComponentProps<typeof import("../containers/LinkContainer").default>["scroll"];
16
+ prefetch?: React.ComponentProps<typeof import("../containers/LinkContainer").default>["prefetch"];
17
+ } & Omit<import("../../../types/components").CommonProps<import("../../../types/components").CommonProps<{
18
+ as?: "button";
19
+ } & React.HTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement> & import("../../../types/styles").ThemeCommonProps, {
20
+ as?: "a" | "link";
21
+ href?: string | null;
22
+ replace?: boolean;
23
+ scroll?: boolean;
24
+ prefetch?: boolean | "auto" | null;
25
+ } & React.AnchorHTMLAttributes<HTMLAnchorElement> & React.RefAttributes<HTMLAnchorElement> & import("../../../types/styles").ThemeCommonProps>, {
26
+ as?: "div" | "span" | "kbd" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "header" | "footer" | "main" | "section" | "article";
27
+ } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement> & import("../../../types/styles").ThemeCommonProps>, "as">, "ref"> & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement> & React.RefAttributes<HTMLButtonElement>>;
28
+ export default _default;
@@ -0,0 +1,25 @@
1
+ 'use client';
2
+ "use strict";
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
+ const react_1 = __importDefault(require("react"));
9
+ const styles_1 = require("../../../utils/styles");
10
+ const styles_2 = require("../../../hooks/styles");
11
+ const atoms_1 = require("../../../components/atoms");
12
+ exports.default = (0, styles_1.forwardRef)(({ size = 'x_small', value = false, isDisabled = false, onChangeValue, palette = 'input-checkbox', ...props }, ref) => {
13
+ const [hoverProps, isHover] = (0, styles_2.useHoverProps)();
14
+ const onClick = react_1.default.useCallback(() => {
15
+ if (isDisabled)
16
+ return;
17
+ onChangeValue === null || onChangeValue === void 0 ? void 0 : onChangeValue(!value);
18
+ }, [isDisabled, onChangeValue, value]);
19
+ return ((0, jsx_runtime_1.jsx)(atoms_1.ClickableContainer, { ref: ref, onClick: onClick, role: "checkbox", "aria-checked": value, "aria-disabled": isDisabled, "$display": "flex", "$justifyContent": "center", "$alignItems": "center", "$size": styles_1.theme.size.height.base[size], "$borderRadius": styles_1.theme.size.borderRadius.x_small, "$border": `1px solid ${styles_1.theme.color.palettes[palette][value ? 'border-selected' : isHover ? 'border-hovered' : 'border-primary']}`, "$background": styles_1.theme.color.palettes[palette][value
20
+ ? 'background-selected'
21
+ : isHover
22
+ ? 'background-hovered'
23
+ : 'background-primary'], "$cursor": isDisabled ? 'not-allowed' : 'pointer', "$transition": "background, border", ...hoverProps, ...props, children: (0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: "hero/check-outline", "$size": styles_1.theme.size.height.base[size] * 0.8, "$opacity": value ? 1 : 0, "$autoFill": styles_1.theme.color.palettes[palette][value ? 'content-selected' : 'content-primary'] }) }));
24
+ });
25
+ //# sourceMappingURL=CheckboxInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxInput.js","sourceRoot":"","sources":["../../../../src/components/atoms/inputs/CheckboxInput.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;AAEb,kDAA0B;AAI1B,2CAAmD;AAEnD,2CAA+C;AAE/C,8CAA8D;AAU9D,kBAAe,IAAA,mBAAU,EACvB,CACE,EACE,IAAI,GAAG,SAAS,EAChB,KAAK,GAAG,KAAK,EACb,UAAU,GAAG,KAAK,EAClB,aAAa,EACb,OAAO,GAAG,gBAAgB,EAC1B,GAAG,KAAK,EACF,EACR,GAAiC,EACjC,EAAE;IACF,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,GAAG,IAAA,sBAAa,GAAE,CAAC;IAC9C,MAAM,OAAO,GAAG,eAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QACrC,IAAI,UAAU;YAAE,OAAO;QACvB,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAG,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC,EAAE,CAAC,UAAU,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC,CAAC;IAEvC,OAAO,CACL,uBAAC,0BAAkB,IACjB,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,OAAO,EAChB,IAAI,EAAC,UAAU,kBACD,KAAK,mBACJ,UAAU,cAChB,MAAM,qBACC,QAAQ,iBACZ,QAAQ,WACb,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,mBACpB,cAAK,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,aACrC,aAAa,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,EAAE,iBAE9H,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAC3B,KAAK;YACH,CAAC,CAAC,qBAAqB;YACvB,CAAC,CAAC,OAAO;gBACP,CAAC,CAAC,oBAAoB;gBACtB,CAAC,CAAC,oBAAoB,CAC3B,aAEM,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,iBACnC,oBAAoB,KAC5B,UAAU,KACV,KAAK,YAET,uBAAC,YAAI,IACH,IAAI,EAAC,oBAAoB,WAClB,cAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,GAAG,cAC/B,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,eAErB,cAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAC3B,KAAK,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,iBAAiB,CAC/C,GAEH,GACiB,CACtB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import type { ChipInputSize, ChipInputType } from '../../../constants/components';
3
+ import type { Palette } from '../../../constants/styles/color';
4
+ import { ClickableContainer, Icon, InputableContainer } from '../../../components/atoms';
5
+ declare const _default: React.ForwardRefExoticComponent<{
6
+ type?: ChipInputType;
7
+ size?: ChipInputSize;
8
+ icon?: React.ComponentProps<typeof Icon>["type"];
9
+ value?: string;
10
+ onChangeValue?: (value: string) => void;
11
+ onEnter?: () => void;
12
+ onEscape?: () => void;
13
+ onArrowUp?: () => void;
14
+ onArrowDown?: () => void;
15
+ onPopChip?: () => void;
16
+ onPushChip?: (value: string) => void;
17
+ onClickClose?: React.ComponentProps<typeof ClickableContainer>["onClick"];
18
+ placeholder?: React.ComponentProps<typeof InputableContainer>["placeholder"];
19
+ palette?: Palette;
20
+ } & {
21
+ as?: "div" | "span" | "kbd" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "header" | "footer" | "main" | "section" | "article";
22
+ } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement> & import("../../../types/styles").ThemeCommonProps>;
23
+ export default _default;
@@ -0,0 +1,79 @@
1
+ 'use client';
2
+ "use strict";
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
+ const react_1 = __importDefault(require("react"));
9
+ const styles_1 = require("../../../utils/styles");
10
+ const styles_2 = require("../../../hooks/styles");
11
+ const atoms_1 = require("../../../components/atoms");
12
+ exports.default = (0, styles_1.forwardRef)(({ type = 'rounded', size = 'medium', icon = 'hero/magnifying-glass-outline', value, onChangeValue, onEnter, onEscape, onArrowUp, onArrowDown, onPopChip, onPushChip, onClickClose, palette = 'input-text', placeholder, children, ...props }, ref) => {
13
+ var _a, _b, _c, _d, _e;
14
+ const [isFocus, setIsFocus] = react_1.default.useState(false);
15
+ const [closeHoverProps, isCloseHover] = (0, styles_2.useHoverProps)();
16
+ const handlePushChip = react_1.default.useCallback(() => {
17
+ const values = (value || '')
18
+ .split(/[,\/ ]+/)
19
+ .map(x => x.trim())
20
+ .filter(x => !!x);
21
+ values.forEach(x => onPushChip === null || onPushChip === void 0 ? void 0 : onPushChip(x));
22
+ onChangeValue === null || onChangeValue === void 0 ? void 0 : onChangeValue('');
23
+ }, [value, onChangeValue, onPushChip]);
24
+ const onChange = react_1.default.useCallback((event) => onChangeValue === null || onChangeValue === void 0 ? void 0 : onChangeValue(event.target.value), [onChangeValue]);
25
+ const onFocus = react_1.default.useCallback(() => setIsFocus(true), []);
26
+ const onBlur = react_1.default.useCallback(() => {
27
+ setIsFocus(false);
28
+ handlePushChip();
29
+ }, [handlePushChip]);
30
+ const onKeyDown = react_1.default.useCallback((event) => {
31
+ if (event.nativeEvent.isComposing)
32
+ return;
33
+ if (event.code === 'Enter') {
34
+ event.preventDefault();
35
+ if (onEnter)
36
+ onEnter();
37
+ else
38
+ handlePushChip();
39
+ }
40
+ else if (event.code === 'Backspace' && !value) {
41
+ event.preventDefault();
42
+ onPopChip === null || onPopChip === void 0 ? void 0 : onPopChip();
43
+ }
44
+ else if (event.key === 'ArrowUp') {
45
+ event.preventDefault();
46
+ onArrowUp === null || onArrowUp === void 0 ? void 0 : onArrowUp();
47
+ }
48
+ else if (event.key === 'ArrowDown') {
49
+ event.preventDefault();
50
+ onArrowDown === null || onArrowDown === void 0 ? void 0 : onArrowDown();
51
+ }
52
+ else if (event.key === 'Escape') {
53
+ event.preventDefault();
54
+ onEscape === null || onEscape === void 0 ? void 0 : onEscape();
55
+ event.currentTarget.blur();
56
+ }
57
+ }, [
58
+ handlePushChip,
59
+ onEnter,
60
+ onPopChip,
61
+ onArrowUp,
62
+ onArrowDown,
63
+ onEscape,
64
+ value,
65
+ ]);
66
+ react_1.default.useEffect(() => {
67
+ if (!value)
68
+ return;
69
+ if (value.includes(',') || value.includes('/') || value.includes(' ')) {
70
+ handlePushChip === null || handlePushChip === void 0 ? void 0 : handlePushChip();
71
+ }
72
+ }, [value, handlePushChip]);
73
+ return ((0, jsx_runtime_1.jsxs)(atoms_1.Container, { ref: ref, "$display": "flex", "$position": "relative", "$alignItems": "center", "$height": styles_1.theme.size.height.base[size], "$borderRadius": styles_1.theme.size.borderRadius.small, "$background": (_a = styles_1.theme.color.palettes[palette]) === null || _a === void 0 ? void 0 : _a[isFocus ? 'background-selected' : 'background-primary'], "$border": `1px solid ${(_b = styles_1.theme.color.palettes[palette]) === null || _b === void 0 ? void 0 : _b[isFocus ? 'border-selected' : 'border-primary']}`, "$paddingHorizontal": size === 'large' ? 8 : size === 'medium' ? 6 : 4, "$gap": size === 'large' ? 4 : size === 'medium' ? 2 : 0, "$transition": "background, border", ...props, children: [(0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: icon, "$autoFill": (_c = styles_1.theme.color.palettes[palette]) === null || _c === void 0 ? void 0 : _c[isFocus ? 'content-primary' : 'content-secondary'], "$size": styles_1.theme.size.height.base[size] * 0.6 }), (0, jsx_runtime_1.jsxs)(atoms_1.Container, { "$display": "flex", "$width": 0, "$height": "100%", "$alignItems": "center", "$overflowX": "auto", "$gap": styles_1.theme.size.margin.base.x_small, "$noneScrollbarDisplay": true, "$flexGrow": true, children: [children, (0, jsx_runtime_1.jsx)(atoms_1.InputableContainer, { value: value, onChange: onChange, onFocus: onFocus, onBlur: onBlur, onKeyDown: onKeyDown, placeholder: placeholder, "$minWidth": styles_1.theme.size.margin.base.large, "$height": "100%", "$fieldSizing": "content", "$color": (_d = styles_1.theme.color.palettes[palette]) === null || _d === void 0 ? void 0 : _d['content-primary'], "$flexGrow": true, "$css": size === 'large'
74
+ ? styles_1.theme.text.medium
75
+ : size === 'medium'
76
+ ? styles_1.theme.text.small
77
+ : styles_1.theme.text.x_small })] }), !!onClickClose && ((0, jsx_runtime_1.jsx)(atoms_1.ClickableContainer, { onClick: onClickClose, "$display": value || children ? 'flex' : 'none', "$position": "relative", "$alignItems": "center", "$size": styles_1.theme.size.height.base[size] * 0.6, ...closeHoverProps, children: (0, jsx_runtime_1.jsx)(atoms_1.Icon, { type: "hero/x-mark-outline", "$autoFill": (_e = styles_1.theme.color.palettes[palette]) === null || _e === void 0 ? void 0 : _e[isCloseHover ? 'content-primary' : 'content-secondary'], "$size": styles_1.theme.size.height.base[size] * 0.6 }) }))] }));
78
+ });
79
+ //# sourceMappingURL=ChipInput.js.map