@lunit/design-system 1.0.0-a.1 → 1.0.0-a.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (351) hide show
  1. package/dist/cjs/components/Alert/index.js +2 -0
  2. package/dist/cjs/components/Alert/index.js.map +1 -0
  3. package/dist/cjs/components/Button/index.js +2 -0
  4. package/dist/cjs/components/Button/index.js.map +1 -0
  5. package/dist/cjs/components/Checkbox/index.js +2 -0
  6. package/dist/cjs/components/Checkbox/index.js.map +1 -0
  7. package/dist/cjs/components/Chip/index.js +2 -0
  8. package/dist/cjs/components/Chip/index.js.map +1 -0
  9. package/dist/cjs/components/DataTable/index.js +2 -0
  10. package/dist/cjs/components/DataTable/index.js.map +1 -0
  11. package/dist/cjs/components/DatePicker/index.js +2 -0
  12. package/dist/cjs/components/DatePicker/index.js.map +1 -0
  13. package/dist/cjs/components/Dropdown/index.js +2 -0
  14. package/dist/cjs/components/Dropdown/index.js.map +1 -0
  15. package/dist/cjs/components/FormLabel/index.js +2 -0
  16. package/dist/cjs/components/FormLabel/index.js.map +1 -0
  17. package/dist/cjs/components/Modal/index.js +2 -0
  18. package/dist/cjs/components/Modal/index.js.map +1 -0
  19. package/dist/cjs/components/Radio/index.js +2 -0
  20. package/dist/cjs/components/Radio/index.js.map +1 -0
  21. package/dist/cjs/components/RadioGroup/index.js +2 -0
  22. package/dist/cjs/components/RadioGroup/index.js.map +1 -0
  23. package/dist/cjs/components/TextField/index.js +2 -0
  24. package/dist/cjs/components/TextField/index.js.map +1 -0
  25. package/dist/cjs/components/Toggle/index.js +2 -0
  26. package/dist/cjs/components/Toggle/index.js.map +1 -0
  27. package/dist/cjs/components/ToggleButton/index.js +2 -0
  28. package/dist/cjs/components/ToggleButton/index.js.map +1 -0
  29. package/dist/cjs/components/Tooltip/index.js +2 -0
  30. package/dist/cjs/components/Tooltip/index.js.map +1 -0
  31. package/dist/cjs/index.js +2 -0
  32. package/dist/cjs/index.js.map +1 -0
  33. package/dist/components/Alert/Alert.js +7 -0
  34. package/dist/components/Alert/Alert.js.map +1 -0
  35. package/dist/components/Alert/index.js +1 -1
  36. package/dist/components/Alert/index.js.map +1 -1
  37. package/dist/components/Button/Button.js +9 -0
  38. package/dist/components/Button/Button.js.map +1 -0
  39. package/dist/components/Button/Button.styled.js +170 -0
  40. package/dist/components/Button/Button.styled.js.map +1 -0
  41. package/dist/components/Button/Button.types.js +2 -0
  42. package/dist/components/Button/Button.types.js.map +1 -0
  43. package/dist/components/Button/const.js +3 -0
  44. package/dist/components/Button/const.js.map +1 -0
  45. package/dist/components/Button/index.js +1 -1
  46. package/dist/components/Button/index.js.map +1 -1
  47. package/dist/components/Button/utils/getButtonPaddingBySizeAndKind.js +23 -0
  48. package/dist/components/Button/utils/getButtonPaddingBySizeAndKind.js.map +1 -0
  49. package/dist/components/Button/utils/getIconButtonPaddingBySizeAndKind.js +23 -0
  50. package/dist/components/Button/utils/getIconButtonPaddingBySizeAndKind.js.map +1 -0
  51. package/dist/components/Checkbox/Checkbox.js +49 -0
  52. package/dist/components/Checkbox/Checkbox.js.map +1 -0
  53. package/dist/components/Checkbox/index.js +1 -1
  54. package/dist/components/Checkbox/index.js.map +1 -1
  55. package/dist/components/Chip/Chip.js +70 -0
  56. package/dist/components/Chip/Chip.js.map +1 -0
  57. package/dist/components/Chip/Chip.styled.js +143 -0
  58. package/dist/components/Chip/Chip.styled.js.map +1 -0
  59. package/dist/components/Chip/Chip.types.js +2 -0
  60. package/dist/components/Chip/Chip.types.js.map +1 -0
  61. package/dist/components/Chip/consts.js +8 -0
  62. package/dist/components/Chip/consts.js.map +1 -0
  63. package/dist/components/Chip/index.js +1 -1
  64. package/dist/components/Chip/index.js.map +1 -1
  65. package/dist/components/DataTable/DataTable.js +7 -0
  66. package/dist/components/DataTable/DataTable.js.map +1 -0
  67. package/dist/components/DataTable/index.js +1 -1
  68. package/dist/components/DataTable/index.js.map +1 -1
  69. package/dist/components/DatePicker/DatePicker.js +7 -0
  70. package/dist/components/DatePicker/DatePicker.js.map +1 -0
  71. package/dist/components/DatePicker/index.js +1 -1
  72. package/dist/components/DatePicker/index.js.map +1 -1
  73. package/dist/components/Dropdown/Dropdown.js +7 -0
  74. package/dist/components/Dropdown/Dropdown.js.map +1 -0
  75. package/dist/components/Dropdown/index.js +1 -1
  76. package/dist/components/Dropdown/index.js.map +1 -1
  77. package/dist/components/FormLabel/FormLabel.js +7 -0
  78. package/dist/components/FormLabel/FormLabel.js.map +1 -0
  79. package/dist/components/FormLabel/FormLabel.styled.js +8 -0
  80. package/dist/components/FormLabel/FormLabel.styled.js.map +1 -0
  81. package/dist/components/FormLabel/index.js +1 -1
  82. package/dist/components/FormLabel/index.js.map +1 -1
  83. package/dist/components/Modal/Modal.js +7 -0
  84. package/dist/components/Modal/Modal.js.map +1 -0
  85. package/dist/components/Modal/index.js +1 -1
  86. package/dist/components/Modal/index.js.map +1 -1
  87. package/dist/components/Radio/Radio.js +43 -0
  88. package/dist/components/Radio/Radio.js.map +1 -0
  89. package/dist/components/Radio/index.js +1 -1
  90. package/dist/components/Radio/index.js.map +1 -1
  91. package/dist/components/RadioGroup/index.js +2 -1
  92. package/dist/components/RadioGroup/index.js.map +1 -1
  93. package/dist/components/TextField/TextField.js +7 -0
  94. package/dist/components/TextField/TextField.js.map +1 -0
  95. package/dist/components/TextField/index.js +1 -1
  96. package/dist/components/TextField/index.js.map +1 -1
  97. package/dist/components/Toggle/Toggle.js +13 -0
  98. package/dist/components/Toggle/Toggle.js.map +1 -0
  99. package/dist/components/Toggle/Toggle.styled.js +155 -0
  100. package/dist/components/Toggle/Toggle.styled.js.map +1 -0
  101. package/dist/components/Toggle/Toggle.types.js +2 -0
  102. package/dist/components/Toggle/Toggle.types.js.map +1 -0
  103. package/dist/components/Toggle/index.js +1 -1
  104. package/dist/components/Toggle/index.js.map +1 -1
  105. package/dist/components/ToggleButton/ToggleButton.js +12 -0
  106. package/dist/components/ToggleButton/ToggleButton.js.map +1 -0
  107. package/dist/components/ToggleButton/ToggleButton.styled.js +35 -0
  108. package/dist/components/ToggleButton/ToggleButton.styled.js.map +1 -0
  109. package/dist/components/ToggleButton/ToggleButton.types.js +2 -0
  110. package/dist/components/ToggleButton/ToggleButton.types.js.map +1 -0
  111. package/dist/components/ToggleButton/index.js +1 -1
  112. package/dist/components/ToggleButton/index.js.map +1 -1
  113. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.js +7 -0
  114. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -0
  115. package/dist/components/ToggleButtonGroup/index.js +2 -0
  116. package/dist/components/ToggleButtonGroup/index.js.map +1 -0
  117. package/dist/components/Tooltip/Tooltip.js +7 -0
  118. package/dist/components/Tooltip/Tooltip.js.map +1 -0
  119. package/dist/components/Tooltip/index.js +1 -1
  120. package/dist/components/Tooltip/index.js.map +1 -1
  121. package/dist/components/index.js +7 -0
  122. package/dist/components/index.js.map +1 -0
  123. package/dist/foundation/Elevation/index.js +66 -0
  124. package/dist/foundation/Elevation/index.js.map +1 -0
  125. package/dist/foundation/Elevation/utils.js +9 -0
  126. package/dist/foundation/Elevation/utils.js.map +1 -0
  127. package/dist/foundation/Typography/index.js +62 -0
  128. package/dist/foundation/Typography/index.js.map +1 -0
  129. package/dist/foundation/Typography/tokens.js +155 -0
  130. package/dist/foundation/Typography/tokens.js.map +1 -0
  131. package/dist/foundation/colors/base/blue.js +26 -0
  132. package/dist/foundation/colors/base/blue.js.map +1 -0
  133. package/dist/foundation/colors/base/green.js +26 -0
  134. package/dist/foundation/colors/base/green.js.map +1 -0
  135. package/dist/foundation/colors/base/grey.js +36 -0
  136. package/dist/foundation/colors/base/grey.js.map +1 -0
  137. package/dist/foundation/colors/base/index.js +12 -0
  138. package/dist/foundation/colors/base/index.js.map +1 -0
  139. package/dist/foundation/colors/base/lunitGreen.js +26 -0
  140. package/dist/foundation/colors/base/lunitGreen.js.map +1 -0
  141. package/dist/foundation/colors/base/lunitTeal.js +26 -0
  142. package/dist/foundation/colors/base/lunitTeal.js.map +1 -0
  143. package/dist/foundation/colors/base/magenta.js +26 -0
  144. package/dist/foundation/colors/base/magenta.js.map +1 -0
  145. package/dist/foundation/colors/base/opacity.js +7 -0
  146. package/dist/foundation/colors/base/opacity.js.map +1 -0
  147. package/dist/foundation/colors/base/orange.js +26 -0
  148. package/dist/foundation/colors/base/orange.js.map +1 -0
  149. package/dist/foundation/colors/base/purple.js +26 -0
  150. package/dist/foundation/colors/base/purple.js.map +1 -0
  151. package/dist/foundation/colors/base/red.js +26 -0
  152. package/dist/foundation/colors/base/red.js.map +1 -0
  153. package/dist/foundation/colors/base/yellow.js +26 -0
  154. package/dist/foundation/colors/base/yellow.js.map +1 -0
  155. package/dist/foundation/colors/index.js +188 -0
  156. package/dist/foundation/colors/index.js.map +1 -0
  157. package/dist/foundation/colors/token/component.js +449 -0
  158. package/dist/foundation/colors/token/component.js.map +1 -0
  159. package/dist/foundation/colors/token/core.js +199 -0
  160. package/dist/foundation/colors/token/core.js.map +1 -0
  161. package/dist/foundation/colors/token/index.js +3 -0
  162. package/dist/foundation/colors/token/index.js.map +1 -0
  163. package/dist/foundation/colors/token/types.js +2 -0
  164. package/dist/foundation/colors/token/types.js.map +1 -0
  165. package/dist/foundation/colors/types.js +2 -0
  166. package/dist/foundation/colors/types.js.map +1 -0
  167. package/dist/foundation/index.js +13 -0
  168. package/dist/foundation/index.js.map +1 -0
  169. package/dist/foundation/spacing.js +2 -0
  170. package/dist/foundation/spacing.js.map +1 -0
  171. package/dist/index.js +16 -1
  172. package/dist/index.js.map +1 -1
  173. package/dist/theme.js +34 -0
  174. package/dist/theme.js.map +1 -0
  175. package/dist/types/components/Chip/Chip.styled.d.ts +79 -0
  176. package/package.json +19 -10
  177. package/src/components/Alert/Alert.tsx +9 -0
  178. package/src/components/Alert/index.ts +1 -0
  179. package/src/components/Button/Button.styled.ts +220 -0
  180. package/src/components/Button/Button.tsx +54 -0
  181. package/src/components/Button/Button.types.ts +25 -0
  182. package/src/components/Button/const.ts +2 -0
  183. package/src/components/Button/index.ts +1 -0
  184. package/src/components/Button/utils/getButtonPaddingBySizeAndKind.ts +35 -0
  185. package/src/components/Button/utils/getIconButtonPaddingBySizeAndKind.ts +38 -0
  186. package/src/components/Checkbox/Checkbox.tsx +67 -0
  187. package/src/components/Checkbox/index.ts +1 -0
  188. package/src/components/Chip/Chip.styled.ts +162 -0
  189. package/src/components/Chip/Chip.tsx +132 -0
  190. package/src/components/Chip/Chip.types.ts +56 -0
  191. package/src/components/Chip/consts.ts +7 -0
  192. package/src/components/Chip/index.ts +1 -0
  193. package/src/components/DataTable/DataTable.tsx +8 -0
  194. package/src/components/DataTable/index.ts +1 -0
  195. package/src/components/DatePicker/DatePicker.tsx +8 -0
  196. package/src/components/DatePicker/index.ts +1 -0
  197. package/src/components/Dropdown/Dropdown.tsx +11 -0
  198. package/src/components/Dropdown/index.ts +1 -0
  199. package/src/components/FormLabel/FormLabel.styled.ts +8 -0
  200. package/src/components/FormLabel/FormLabel.tsx +9 -0
  201. package/src/components/FormLabel/index.ts +1 -0
  202. package/src/components/Modal/Modal.tsx +8 -0
  203. package/src/components/Modal/index.ts +1 -0
  204. package/src/components/Radio/Radio.tsx +58 -0
  205. package/src/components/Radio/index.ts +1 -0
  206. package/src/components/RadioGroup/index.ts +2 -0
  207. package/src/components/TextField/TextField.tsx +8 -0
  208. package/src/components/TextField/index.ts +1 -0
  209. package/src/components/Toggle/Toggle.styled.ts +162 -0
  210. package/src/components/Toggle/Toggle.tsx +18 -0
  211. package/src/components/Toggle/Toggle.types.ts +14 -0
  212. package/src/components/Toggle/index.ts +1 -0
  213. package/src/components/ToggleButton/ToggleButton.styled.ts +58 -0
  214. package/src/components/ToggleButton/ToggleButton.tsx +89 -0
  215. package/src/components/ToggleButton/ToggleButton.types.ts +28 -0
  216. package/src/components/ToggleButton/index.ts +1 -0
  217. package/src/components/ToggleButtonGroup/ToggleButtonGroup.tsx +13 -0
  218. package/src/components/ToggleButtonGroup/index.tsx +1 -0
  219. package/src/components/Tooltip/Tooltip.tsx +9 -0
  220. package/src/components/Tooltip/index.ts +1 -0
  221. package/src/components/index.ts +9 -0
  222. package/src/foundation/Elevation/index.ts +72 -0
  223. package/src/foundation/Elevation/utils.ts +11 -0
  224. package/src/foundation/Typography/index.ts +96 -0
  225. package/src/foundation/Typography/tokens.ts +162 -0
  226. package/src/foundation/colors/base/blue.ts +27 -0
  227. package/src/foundation/colors/base/green.ts +27 -0
  228. package/src/foundation/colors/base/grey.ts +36 -0
  229. package/src/foundation/colors/base/index.ts +11 -0
  230. package/src/foundation/colors/base/lunitGreen.ts +27 -0
  231. package/src/foundation/colors/base/lunitTeal.ts +27 -0
  232. package/src/foundation/colors/base/magenta.ts +27 -0
  233. package/src/foundation/colors/base/opacity.ts +6 -0
  234. package/src/foundation/colors/base/orange.ts +27 -0
  235. package/src/foundation/colors/base/purple.ts +27 -0
  236. package/src/foundation/colors/base/red.ts +27 -0
  237. package/src/foundation/colors/base/yellow.ts +27 -0
  238. package/src/foundation/colors/index.ts +235 -0
  239. package/src/foundation/colors/token/component.ts +456 -0
  240. package/src/foundation/colors/token/core.ts +204 -0
  241. package/src/foundation/colors/token/index.ts +2 -0
  242. package/src/foundation/colors/token/types.ts +8 -0
  243. package/src/foundation/colors/types.ts +85 -0
  244. package/src/foundation/index.ts +25 -0
  245. package/src/foundation/spacing.ts +3 -0
  246. package/src/index.ts +17 -0
  247. package/src/stories/components/Alert/Alert.stories.tsx +13 -0
  248. package/src/stories/components/Button/BasicButton.stories.tsx +177 -0
  249. package/src/stories/components/Button/IconButton.stories.tsx +128 -0
  250. package/src/stories/components/Button/Kind.stories.tsx +514 -0
  251. package/src/stories/components/Chip/Chip.stories.tsx +196 -0
  252. package/src/stories/components/DataTable/DataTable.stories.tsx +13 -0
  253. package/src/stories/components/DatePicker/DatePicker.stories.tsx +13 -0
  254. package/src/stories/components/Dropdown/Dropdown.stories.tsx +15 -0
  255. package/src/stories/components/Modal/Modal.stories.tsx +13 -0
  256. package/src/stories/components/SelectControl/Checkbox.stories.tsx +248 -0
  257. package/src/stories/components/SelectControl/RadioGroup.stories.tsx +67 -0
  258. package/src/stories/components/SelectControl/RadioStatus.stories.tsx +91 -0
  259. package/src/stories/components/SelectControl/Toggle.stories.tsx +429 -0
  260. package/src/stories/components/TextField/TextField.stories.tsx +13 -0
  261. package/src/stories/components/ToggleButton/Basic.stories.tsx +342 -0
  262. package/src/stories/components/ToggleButton/Group.stories.tsx +221 -0
  263. package/src/stories/components/ToggleButton/ToggleButtonKind.stories.tsx +698 -0
  264. package/src/stories/components/ToggleButton/WithIcon.stories.tsx +293 -0
  265. package/src/stories/components/Tooltip/Tooltip.stories.tsx +13 -0
  266. package/src/stories/foundation/Elevation/Elevation.stories.tsx +264 -0
  267. package/src/stories/foundation/Elevation/styled.ts +12 -0
  268. package/src/stories/foundation/Typography/Typography.stories.mdx +71 -0
  269. package/src/stories/foundation/Typography/Typography.stories.tsx +91 -0
  270. package/src/stories/foundation/Typography/TypographyGroup.tsx +71 -0
  271. package/src/stories/foundation/Typography/const.ts +25 -0
  272. package/src/stories/foundation/colors/Colors.stories.tsx +64 -0
  273. package/src/stories/foundation/colors/Token.inComponent.stories.tsx +167 -0
  274. package/src/stories/foundation/colors/Token.stories.tsx +190 -0
  275. package/src/stories/foundation/colors/styled.ts +39 -0
  276. package/src/theme.ts +41 -0
  277. package/src/types.d.ts +4 -0
  278. package/tsconfig.build.json +2 -0
  279. package/dist/components/Chip/Chip.styled.d.ts +0 -41
  280. package/dist/components/HelloWorld/HelloWorld.d.ts +0 -28
  281. package/webpack.config.js +0 -51
  282. /package/dist/{components → types/components}/Alert/Alert.d.ts +0 -0
  283. /package/dist/{components → types/components}/Alert/index.d.ts +0 -0
  284. /package/dist/{components → types/components}/Button/Button.d.ts +0 -0
  285. /package/dist/{components → types/components}/Button/Button.styled.d.ts +0 -0
  286. /package/dist/{components → types/components}/Button/Button.types.d.ts +0 -0
  287. /package/dist/{components → types/components}/Button/const.d.ts +0 -0
  288. /package/dist/{components → types/components}/Button/index.d.ts +0 -0
  289. /package/dist/{components → types/components}/Button/utils/getButtonPaddingBySizeAndKind.d.ts +0 -0
  290. /package/dist/{components → types/components}/Button/utils/getIconButtonPaddingBySizeAndKind.d.ts +0 -0
  291. /package/dist/{components → types/components}/Checkbox/Checkbox.d.ts +0 -0
  292. /package/dist/{components → types/components}/Checkbox/index.d.ts +0 -0
  293. /package/dist/{components → types/components}/Chip/Chip.d.ts +0 -0
  294. /package/dist/{components → types/components}/Chip/Chip.types.d.ts +0 -0
  295. /package/dist/{components → types/components}/Chip/consts.d.ts +0 -0
  296. /package/dist/{components → types/components}/Chip/index.d.ts +0 -0
  297. /package/dist/{components → types/components}/DataTable/DataTable.d.ts +0 -0
  298. /package/dist/{components → types/components}/DataTable/index.d.ts +0 -0
  299. /package/dist/{components → types/components}/DatePicker/DatePicker.d.ts +0 -0
  300. /package/dist/{components → types/components}/DatePicker/index.d.ts +0 -0
  301. /package/dist/{components → types/components}/Dropdown/Dropdown.d.ts +0 -0
  302. /package/dist/{components → types/components}/Dropdown/index.d.ts +0 -0
  303. /package/dist/{components → types/components}/FormLabel/FormLabel.d.ts +0 -0
  304. /package/dist/{components → types/components}/FormLabel/FormLabel.styled.d.ts +0 -0
  305. /package/dist/{components → types/components}/FormLabel/index.d.ts +0 -0
  306. /package/dist/{components → types/components}/Modal/Modal.d.ts +0 -0
  307. /package/dist/{components → types/components}/Modal/index.d.ts +0 -0
  308. /package/dist/{components → types/components}/Radio/Radio.d.ts +0 -0
  309. /package/dist/{components → types/components}/Radio/index.d.ts +0 -0
  310. /package/dist/{components → types/components}/RadioGroup/index.d.ts +0 -0
  311. /package/dist/{components → types/components}/TextField/TextField.d.ts +0 -0
  312. /package/dist/{components → types/components}/TextField/index.d.ts +0 -0
  313. /package/dist/{components → types/components}/Toggle/Toggle.d.ts +0 -0
  314. /package/dist/{components → types/components}/Toggle/Toggle.styled.d.ts +0 -0
  315. /package/dist/{components → types/components}/Toggle/Toggle.types.d.ts +0 -0
  316. /package/dist/{components → types/components}/Toggle/index.d.ts +0 -0
  317. /package/dist/{components → types/components}/ToggleButton/ToggleButton.d.ts +0 -0
  318. /package/dist/{components → types/components}/ToggleButton/ToggleButton.styled.d.ts +0 -0
  319. /package/dist/{components → types/components}/ToggleButton/ToggleButton.types.d.ts +0 -0
  320. /package/dist/{components → types/components}/ToggleButton/index.d.ts +0 -0
  321. /package/dist/{components → types/components}/ToggleButtonGroup/ToggleButtonGroup.d.ts +0 -0
  322. /package/dist/{components → types/components}/ToggleButtonGroup/index.d.ts +0 -0
  323. /package/dist/{components → types/components}/Tooltip/Tooltip.d.ts +0 -0
  324. /package/dist/{components → types/components}/Tooltip/index.d.ts +0 -0
  325. /package/dist/{components → types/components}/index.d.ts +0 -0
  326. /package/dist/{foundation → types/foundation}/Elevation/index.d.ts +0 -0
  327. /package/dist/{foundation → types/foundation}/Elevation/utils.d.ts +0 -0
  328. /package/dist/{foundation → types/foundation}/Typography/index.d.ts +0 -0
  329. /package/dist/{foundation → types/foundation}/Typography/tokens.d.ts +0 -0
  330. /package/dist/{foundation → types/foundation}/colors/base/blue.d.ts +0 -0
  331. /package/dist/{foundation → types/foundation}/colors/base/green.d.ts +0 -0
  332. /package/dist/{foundation → types/foundation}/colors/base/grey.d.ts +0 -0
  333. /package/dist/{foundation → types/foundation}/colors/base/index.d.ts +0 -0
  334. /package/dist/{foundation → types/foundation}/colors/base/lunitGreen.d.ts +0 -0
  335. /package/dist/{foundation → types/foundation}/colors/base/lunitTeal.d.ts +0 -0
  336. /package/dist/{foundation → types/foundation}/colors/base/magenta.d.ts +0 -0
  337. /package/dist/{foundation → types/foundation}/colors/base/opacity.d.ts +0 -0
  338. /package/dist/{foundation → types/foundation}/colors/base/orange.d.ts +0 -0
  339. /package/dist/{foundation → types/foundation}/colors/base/purple.d.ts +0 -0
  340. /package/dist/{foundation → types/foundation}/colors/base/red.d.ts +0 -0
  341. /package/dist/{foundation → types/foundation}/colors/base/yellow.d.ts +0 -0
  342. /package/dist/{foundation → types/foundation}/colors/index.d.ts +0 -0
  343. /package/dist/{foundation → types/foundation}/colors/token/component.d.ts +0 -0
  344. /package/dist/{foundation → types/foundation}/colors/token/core.d.ts +0 -0
  345. /package/dist/{foundation → types/foundation}/colors/token/index.d.ts +0 -0
  346. /package/dist/{foundation → types/foundation}/colors/token/types.d.ts +0 -0
  347. /package/dist/{foundation → types/foundation}/colors/types.d.ts +0 -0
  348. /package/dist/{foundation → types/foundation}/index.d.ts +0 -0
  349. /package/dist/{foundation → types/foundation}/spacing.d.ts +0 -0
  350. /package/dist/{index.d.ts → types/index.d.ts} +0 -0
  351. /package/dist/{theme.d.ts → types/theme.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"components/ToggleButton/index.js","mappings":"2GAaaA,EAAgC,SAAC,G,IAC5CC,EAAI,OACJC,EAAI,OACJ,IAAAC,SAAAA,OAAQ,IAAG,GAAK,EAEhB,MAAa,UAATD,EACc,aAATD,GAAwBE,EAE3B,UADA,UAAG,EAAyB,cAAM,EAAyB,MAIpD,WAATD,EACc,aAATD,GAAwBE,EAE3B,WADA,UAAG,EAAyB,cAAM,GAA0B,MAKlD,aAATF,GAAwBE,EAE3B,YADA,UAAG,EAA0B,cAAM,GAA0B,KAEnE,EClBaC,EAAoC,SAAC,G,IAChDH,EAAI,OACJC,EAAI,OACJ,IAAAC,SAAAA,OAAQ,IAAG,GAAK,EAEhB,MAAa,UAATD,EACc,aAATD,GAAwBE,EAE3B,MADA,UAAG,EAAyB,MAIrB,WAATD,EACc,aAATD,GAAwBE,EAE3B,MADA,UAAG,EAAyB,MAKlB,aAATF,GAAwBE,EAE3B,OADA,UAAG,GAA0B,KAEnC,E,gNCbaE,EAAY,SAAC,G,IACxBH,EAAI,OACJD,EAAI,OACJK,EAAW,cACXC,EAAU,aACV,IAAAJ,SAAAA,OAAQ,IAAG,GAAK,EACK,gBACR,UAATD,GAAoB,EAAJ,KACf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EAVE,kFAYAhF,EAAcqF,QAAQH,IAASC,GAC/BG,EAA0BL,EAC7BM,QAAQ,+BAAgC,IACxCA,QAAQ,yCAA0C,IAErD,OACE,8BACY,cAAT5F,GAAiC,UAATA,GACvB,SAAC4E,EAAkB,GACjBU,UAAW,UAAGtF,EAAI,YAAI2F,GACtBzF,SAAUA,EACVF,KAAMA,EACNa,MAAOA,EACPZ,KAAMA,EACNI,YAAaA,EACbwE,cAAeA,EACfgB,eAAa,EACbC,oBAAkB,GACdL,EAAW,UAEbpF,EAWE,GAVF,8BACGkF,GACC,UAACL,EAAsB,WACpBK,EACAC,KAED,QASV,SAACZ,EAAkB,GACjBU,UAAW,mBAAYK,GACvBzF,SAAUA,EACVF,KAAK,WACLa,MAAM,UACNZ,KAAMA,EACNI,YAAaA,EACbwE,cAAeA,EACfgB,eAAa,EACbC,oBAAkB,GACdL,EAAW,UAEbpF,EAWE,GAVF,8BACGkF,GACC,UAACL,EAAsB,WACpBK,EACAC,KAED,QAWlB,C","sources":["webpack://@lunit/design-system/./src/components/Button/utils/getButtonPaddingBySizeAndKind.ts","webpack://@lunit/design-system/./src/components/Button/utils/getIconButtonPaddingBySizeAndKind.ts","webpack://@lunit/design-system/./src/components/Button/Button.styled.ts","webpack://@lunit/design-system/./src/components/Button/const.ts","webpack://@lunit/design-system/external commonjs \"@mui/material\"","webpack://@lunit/design-system/external commonjs \"@mui/material/styles\"","webpack://@lunit/design-system/external commonjs \"react/jsx-runtime\"","webpack://@lunit/design-system/webpack/bootstrap","webpack://@lunit/design-system/webpack/runtime/define property getters","webpack://@lunit/design-system/webpack/runtime/hasOwnProperty shorthand","webpack://@lunit/design-system/webpack/runtime/make namespace object","webpack://@lunit/design-system/./src/components/ToggleButton/ToggleButton.styled.ts","webpack://@lunit/design-system/./src/components/ToggleButton/ToggleButton.tsx"],"sourcesContent":["import { OUTLINED_BORDER_WIDTH } from \"../const\";\n\nimport type { ButtonProps } from \"../Button.types\";\nimport { ToggleButtonProps } from \"@/components/ToggleButton/ToggleButton.types\";\n\ntype GetButtonPaddingBySizeAndKindParams = Pick<ButtonProps, \"kind\" | \"size\"> &\n Pick<ToggleButtonProps, \"selected\">;\n\n/**\n * When kind is outlined,\n * the padding value must include the border width of outlined.\n * This function takes care of this.\n */\nexport const getButtonPaddingBySizeAndKind = ({\n kind,\n size,\n selected = false,\n}: GetButtonPaddingBySizeAndKindParams) => {\n if (size === \"small\") {\n return kind === \"outlined\" && !selected\n ? `${4 - OUTLINED_BORDER_WIDTH}px ${8 - OUTLINED_BORDER_WIDTH}px`\n : \"4px 8px\";\n }\n\n if (size === \"medium\") {\n return kind === \"outlined\" && !selected\n ? `${8 - OUTLINED_BORDER_WIDTH}px ${12 - OUTLINED_BORDER_WIDTH}px`\n : \"8px 12px\";\n }\n\n // size === \"large\"\n return kind === \"outlined\" && !selected\n ? `${10 - OUTLINED_BORDER_WIDTH}px ${12 - OUTLINED_BORDER_WIDTH}px`\n : \"10px 12px\";\n};\n","import { OUTLINED_BORDER_WIDTH } from \"../const\";\n\nimport type { ButtonProps } from \"../Button.types\";\nimport { ToggleButtonProps } from \"@/components/ToggleButton/ToggleButton.types\";\n\ntype GetIconButtonPaddingBySizeAndKindProps = Pick<\n ButtonProps,\n \"kind\" | \"size\"\n> &\n Pick<ToggleButtonProps, \"selected\">;\n\n/**\n * When kind is outlined,\n * the padding value must include the border width of outlined.\n * This function takes care of this.\n */\nexport const getIconButtonPaddingBySizeAndKind = ({\n kind,\n size,\n selected = false,\n}: GetIconButtonPaddingBySizeAndKindProps) => {\n if (size === \"small\") {\n return kind === \"outlined\" && !selected\n ? `${4 - OUTLINED_BORDER_WIDTH}px`\n : \"4px\";\n }\n\n if (size === \"medium\") {\n return kind === \"outlined\" && !selected\n ? `${8 - OUTLINED_BORDER_WIDTH}px`\n : \"8px\";\n }\n\n // size === \"large\"\n return kind === \"outlined\" && !selected\n ? `${12 - OUTLINED_BORDER_WIDTH}px`\n : \"12px\";\n};\n","import { styled } from \"@mui/material/styles\";\nimport { Button as MuiButton } from \"@mui/material\";\n\nimport { ColorToken } from \"@/foundation/colors/types\";\nimport { PADDING_OF_FOCUS, OUTLINED_BORDER_WIDTH } from \"./const\";\nimport { getButtonPaddingBySizeAndKind } from \"./utils/getButtonPaddingBySizeAndKind\";\nimport { getIconButtonPaddingBySizeAndKind } from \"./utils/getIconButtonPaddingBySizeAndKind\";\n\nimport type { ButtonProps } from \"./Button.types\";\nimport type { ToggleButtonProps } from \"../ToggleButton/ToggleButton.types\";\nimport type { Typography } from \"@mui/material/styles/createTypography\";\n\ntype KindStyleParams = Pick<ButtonProps, \"kind\" | \"color\"> & {\n token: ColorToken;\n};\n\ntype CustomButtonProps = ButtonProps & { hasIconOnly: boolean };\n\ntype sizeStyleParams = Pick<\n CustomButtonProps,\n \"size\" | \"hasIconOnly\" | \"kind\"\n> &\n Pick<ToggleButtonProps, \"selected\"> & { typography: Typography };\n\nexport const sizeStyle = ({\n size,\n kind,\n hasIconOnly,\n typography,\n selected = false,\n}: sizeStyleParams) => ({\n ...(size === \"small\" && {\n ...typography.button2,\n padding: `${\n hasIconOnly\n ? getIconButtonPaddingBySizeAndKind({ kind, size, selected })\n : getButtonPaddingBySizeAndKind({ kind, size, selected })\n }`,\n minWidth: \"28px\",\n minHeight: \"28px\",\n }),\n ...(size === \"medium\" && {\n ...typography.button2,\n padding: `${\n hasIconOnly\n ? getIconButtonPaddingBySizeAndKind({ kind, size, selected })\n : getButtonPaddingBySizeAndKind({ kind, size, selected })\n }`,\n minWidth: \"36px\",\n minHeight: \"36px\",\n }),\n ...(size === \"large\" && {\n ...typography.button1,\n padding: `${\n hasIconOnly\n ? getIconButtonPaddingBySizeAndKind({ kind, size, selected })\n : getButtonPaddingBySizeAndKind({ kind, size, selected })\n }`,\n minWidth: \"44px\",\n minHeight: \"44px\",\n }),\n});\n\nexport const kindStyle = ({ kind, color, token }: KindStyleParams) => ({\n // kind: container\n ...(kind === \"contained\" &&\n color === \"primary\" && {\n color: token.component.btn_contained_primary_text,\n backgroundColor: token.component.btn_contained_primary_bg,\n \"&:hover\": {\n backgroundColor: token.component.btn_contained_primary_bg,\n },\n \"&.Mui-disabled\": {\n opacity: 0.38,\n border: \"none\",\n color: token.component.btn_contained_primary_text,\n },\n }),\n ...(kind === \"contained\" &&\n color === \"secondary\" && {\n color: token.component.btn_contained_secondary_text,\n backgroundColor: token.component.btn_contained_secondary_bg,\n \"&:hover\": {\n backgroundColor: token.component.btn_contained_secondary_bg,\n },\n \"&.Mui-disabled\": {\n opacity: 0.38,\n border: \"none\",\n color: token.component.btn_contained_secondary_text,\n },\n }),\n ...(kind === \"contained\" &&\n color === \"error\" && {\n color: token.component.btn_contained_error_text,\n backgroundColor: token.component.btn_contained_error_bg,\n \"&:hover\": {\n backgroundColor: token.component.btn_contained_error_bg,\n },\n \"&.Mui-disabled\": {\n opacity: 0.38,\n border: \"none\",\n color: token.component.btn_contained_error_text,\n },\n }),\n // kind: ghost\n ...(kind === \"ghost\" &&\n color === \"primary\" && {\n color: token.component.btn_ghost_primary_text,\n border: \"none\",\n \"&:hover\": {\n backgroundColor: \"rgba(0, 0, 0, 0.06)\",\n },\n \"&.Mui-disabled\": {\n opacity: 0.38,\n border: \"none\",\n color: token.component.btn_ghost_primary_text,\n },\n }),\n ...(kind === \"ghost\" &&\n color === \"secondary\" && {\n color: token.component.btn_ghost_secondary_text,\n border: \"none\",\n \"&:hover\": {\n backgroundColor: \"rgba(0, 0, 0, 0.06)\",\n },\n \"&.Mui-disabled\": {\n opacity: 0.38,\n border: \"none\",\n color: token.component.btn_ghost_secondary_text,\n },\n }),\n ...(kind === \"ghost\" &&\n color === \"error\" && {\n color: token.component.btn_ghost_error_text,\n \"&:hover\": {\n backgroundColor: \"rgba(0, 0, 0, 0.06)\",\n },\n \"&.Mui-disabled\": {\n opacity: 0.38,\n border: \"none\",\n color: token.component.btn_ghost_error_text,\n },\n }),\n // kind: outlined\n ...(kind === \"outlined\" &&\n color === \"primary\" && {\n color: token.component.btn_outlined_primary_text,\n border: `${OUTLINED_BORDER_WIDTH}px solid ${token.component.btn_outlined_primary_border}`,\n \"&:hover\": {\n backgroundColor: \"rgba(0, 0, 0, 0.06)\", // TODO: color util function 추가 후 변경\n },\n \"&.Mui-disabled\": {\n opacity: 0.38,\n color: token.component.btn_outlined_primary_text,\n },\n }),\n});\n\nexport const commonStyle = ({ token }: { token: ColorToken }) =>\n ({\n fontWeight: \"500\",\n borderRadius: \"8px\",\n textTransform: \"initial\",\n \"&.Mui-focusVisible\": {\n \"&::after\": {\n position: \"absolute\",\n width: `calc(100% + ${PADDING_OF_FOCUS}px)`,\n height: `calc(100% + ${PADDING_OF_FOCUS}px)`,\n content: '\"\"',\n borderRadius: \"11px\",\n border: `1px solid ${token.core.focused}`,\n boxSizing: \"border-box\",\n },\n },\n } as const);\n\nexport const iconStyle = ({\n size,\n hasIconOnly,\n}: Pick<CustomButtonProps, \"size\" | \"hasIconOnly\">) => ({\n \"& .MuiButton-startIcon\": {\n width: \"20px\",\n height: \"20px\",\n margin: 0,\n marginRight: hasIconOnly ? \"0px\" : size === \"large\" ? \"8px\" : \"4px\",\n\n // This style was added for Mui Button Svg Icon handling\n \"*:nth-of-type(1)\": {\n fontSize: \"20px\",\n },\n },\n svg: {\n width: \"20px\",\n height: \"20px\",\n margin: 0,\n marginRight: hasIconOnly ? \"0px\" : size === \"large\" ? \"8px\" : \"4px\",\n },\n});\n\nexport const CustomButton = styled(MuiButton, {\n shouldForwardProp: (prop: string) => {\n return ![\"kind\", \"hasIconOnly\"].includes(prop);\n },\n})<CustomButtonProps>(\n ({\n theme: {\n typography,\n palette: { token },\n },\n kind,\n size,\n color,\n hasIconOnly,\n }) => ({\n ...commonStyle({ token }),\n ...iconStyle({ size, hasIconOnly }),\n ...sizeStyle({ size, kind, hasIconOnly, typography }),\n ...kindStyle({ kind, color, token }),\n })\n);\n","export const PADDING_OF_FOCUS = 6; // TODO: focus 시 padding 고정값, size 별 차이 여부 확인 필요\nexport const OUTLINED_BORDER_WIDTH = 1;\n","module.exports = require(\"@mui/material\");","module.exports = require(\"@mui/material/styles\");","module.exports = require(\"react/jsx-runtime\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import { styled } from \"@mui/material/styles\";\nimport { ToggleButton as MuiToggleButton } from \"@mui/material\";\n\nimport type { ToggleButtonProps } from \"../ToggleButton/ToggleButton.types\";\nimport {\n commonStyle,\n sizeStyle,\n kindStyle,\n iconStyle,\n} from \"../Button/Button.styled\";\n\ntype CustomToggleButtonProps = ToggleButtonProps & { hasIconOnly: boolean };\n\nexport const CustomToggleButton = styled(MuiToggleButton, {\n shouldForwardProp: (prop: string) => {\n return ![\"icon\", \"kind\", \"selectedColor\", \"hasIconOnly\"].includes(prop);\n },\n})<CustomToggleButtonProps>(\n ({\n theme: {\n typography,\n palette: { token },\n },\n kind,\n size,\n color,\n selectedColor,\n hasIconOnly,\n selected,\n }) => {\n return {\n border: \"none\",\n ...commonStyle({ token }),\n ...iconStyle({ size, hasIconOnly }),\n ...sizeStyle({ size, kind, hasIconOnly, selected, typography }),\n ...kindStyle({ kind, color, token }),\n ...(selectedColor === \"primary\" && {\n \"&.Mui-selected, &.Mui-selected:hover\": {\n border: \"none\",\n backgroundColor: token.component.btn_selected_primary_bg,\n color: token.component.btn_selected_primary_text,\n },\n }),\n ...(selectedColor === \"secondary\" && {\n \"&.Mui-selected, &.Mui-selected:hover\": {\n border: \"none\",\n backgroundColor: token.component.btn_selected_secondary_bg,\n color: token.component.btn_selected_secondary_text,\n },\n }),\n };\n }\n);\n\nexport const IconAndChildrenWrapper = styled(\"div\")({\n display: \"flex\",\n alignItems: \"center\",\n});\n","import React from \"react\";\nimport {\n CustomToggleButton,\n IconAndChildrenWrapper,\n} from \"./ToggleButton.styled\";\nimport type { ToggleButtonProps } from \"./ToggleButton.types\";\n\nconst ToggleButton = (props: ToggleButtonProps) => {\n const {\n kind = \"contained\",\n size = \"small\",\n color = \"primary\",\n selectedColor = \"primary\",\n className = \"\",\n icon,\n selected,\n children,\n ...buttonProps\n } = props;\n\n const hasIconOnly = Boolean(icon && !children);\n const excludeToggleGroupClass = className\n .replace(\"MuiToggleButtonGroup-grouped\", \"\")\n .replace(\"MuiToggleButtonGroup-groupedHorizontal\", \"\");\n\n return (\n <>\n {kind === \"contained\" || kind === \"ghost\" ? (\n <CustomToggleButton\n className={`${kind} ${excludeToggleGroupClass}`}\n selected={selected}\n kind={kind}\n color={color}\n size={size}\n hasIconOnly={hasIconOnly}\n selectedColor={selectedColor}\n disableRipple\n disableFocusRipple\n {...buttonProps}\n >\n {!hasIconOnly ? (\n <>\n {icon ? (\n <IconAndChildrenWrapper>\n {icon}\n {children}\n </IconAndChildrenWrapper>\n ) : (\n children\n )}\n </>\n ) : (\n icon\n )}\n </CustomToggleButton>\n ) : (\n <CustomToggleButton\n className={`outlined ${excludeToggleGroupClass}`}\n selected={selected}\n kind=\"outlined\"\n color=\"primary\"\n size={size}\n hasIconOnly={hasIconOnly}\n selectedColor={selectedColor}\n disableRipple\n disableFocusRipple\n {...buttonProps}\n >\n {!hasIconOnly ? (\n <>\n {icon ? (\n <IconAndChildrenWrapper>\n {icon}\n {children}\n </IconAndChildrenWrapper>\n ) : (\n children\n )}\n </>\n ) : (\n icon\n )}\n </CustomToggleButton>\n )}\n </>\n );\n};\n\nexport default ToggleButton;\n"],"names":["getButtonPaddingBySizeAndKind","kind","size","selected","getIconButtonPaddingBySizeAndKind","sizeStyle","hasIconOnly","typography","button2","padding","minWidth","minHeight","button1","kindStyle","color","token","component","btn_contained_primary_text","backgroundColor","btn_contained_primary_bg","opacity","border","btn_contained_secondary_text","btn_contained_secondary_bg","btn_contained_error_text","btn_contained_error_bg","btn_ghost_primary_text","btn_ghost_secondary_text","btn_ghost_error_text","btn_outlined_primary_text","btn_outlined_primary_border","commonStyle","fontWeight","borderRadius","textTransform","position","width","height","content","core","focused","boxSizing","iconStyle","margin","marginRight","fontSize","svg","styled","shouldForwardProp","prop","includes","theme","module","exports","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","d","definition","key","o","Object","defineProperty","enumerable","get","obj","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","CustomToggleButton","selectedColor","btn_selected_primary_bg","btn_selected_primary_text","btn_selected_secondary_bg","btn_selected_secondary_text","IconAndChildrenWrapper","display","alignItems","props","className","icon","children","buttonProps","Boolean","excludeToggleGroupClass","replace","disableRipple","disableFocusRipple"],"sourceRoot":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ToggleButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import MuiToggleButtonGroup from "@mui/material/ToggleButtonGroup";
3
+ const ToggleButtonGroup = ({ size = "small", ...props }) => {
4
+ return _jsx(MuiToggleButtonGroup, { size: size, ...props });
5
+ };
6
+ export default ToggleButtonGroup;
7
+ //# sourceMappingURL=ToggleButtonGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToggleButtonGroup.js","sourceRoot":"","sources":["../../../src/components/ToggleButtonGroup/ToggleButtonGroup.tsx"],"names":[],"mappings":";AACA,OAAO,oBAEN,MAAM,iCAAiC,CAAC;AAEzC,MAAM,iBAAiB,GAAG,CAAC,EACzB,IAAI,GAAG,OAAO,EACd,GAAG,KAAK,EACe,EAAE,EAAE;IAC3B,OAAO,KAAC,oBAAoB,IAAC,IAAI,EAAE,IAAI,KAAM,KAAK,GAAI,CAAC;AACzD,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from "./ToggleButtonGroup";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ToggleButtonGroup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Box } from "@mui/material";
3
+ const Tooltip = () => {
4
+ return _jsx(Box, { children: "Tooltip" });
5
+ };
6
+ export default Tooltip;
7
+ //# sourceMappingURL=Tooltip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tooltip.js","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEpC,MAAM,OAAO,GAAG,GAAG,EAAE;IACnB,OAAO,KAAC,GAAG,0BAAc,CAAC;AAC5B,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,2 +1,2 @@
1
- (()=>{"use strict";var e={692:e=>{e.exports=require("@mui/material")},997:e=>{e.exports=require("react/jsx-runtime")}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var u=r[o]={exports:{}};return e[o](u,u.exports,t),u.exports}t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{t.r(o),t.d(o,{default:()=>n});var e=t(997),r=t(692);const n=function(){return(0,e.jsx)(r.Box,{children:"Tooltip"})}})(),exports.default=o.default,Object.defineProperty(exports,"__esModule",{value:!0})})();
1
+ export { default } from "./Tooltip";
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"components/Tooltip/index.js","mappings":"kCAAAA,EAAOC,QAAUC,QAAQ,gB,UCAzBF,EAAOC,QAAUC,QAAQ,oB,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaL,QAGrB,IAAID,EAASG,EAAyBE,GAAY,CAGjDJ,QAAS,CAAC,GAOX,OAHAO,EAAoBH,GAAUL,EAAQA,EAAOC,QAASG,GAG/CJ,EAAOC,OACf,CCrBAG,EAAoBK,EAAI,CAACR,EAASS,KACjC,IAAI,IAAIC,KAAOD,EACXN,EAAoBQ,EAAEF,EAAYC,KAASP,EAAoBQ,EAAEX,EAASU,IAC5EE,OAAOC,eAAeb,EAASU,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,ECNDP,EAAoBQ,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClFd,EAAoBkB,EAAKrB,IACH,oBAAXsB,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAeb,EAASsB,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAeb,EAAS,aAAc,CAAEwB,OAAO,GAAO,E,mECG9D,QAJgB,WACd,OAAO,SAAC,EAAAC,IAAG,qBACb,C","sources":["webpack://@lunit/design-system/external commonjs \"@mui/material\"","webpack://@lunit/design-system/external commonjs \"react/jsx-runtime\"","webpack://@lunit/design-system/webpack/bootstrap","webpack://@lunit/design-system/webpack/runtime/define property getters","webpack://@lunit/design-system/webpack/runtime/hasOwnProperty shorthand","webpack://@lunit/design-system/webpack/runtime/make namespace object","webpack://@lunit/design-system/./src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["module.exports = require(\"@mui/material\");","module.exports = require(\"react/jsx-runtime\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import React from \"react\";\n\nimport { Box } from \"@mui/material\";\n\nconst Tooltip = () => {\n return <Box>Tooltip</Box>;\n};\n\nexport default Tooltip;\n"],"names":["module","exports","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","d","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","Box"],"sourceRoot":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
@@ -0,0 +1,7 @@
1
+ // re-export any MUI styleOverrides for components
2
+ export const componentsCssBaseline = {
3
+ styleOverrides: {
4
+ // @todo add any css baseline necessary for components
5
+ },
6
+ };
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAIlD,MAAM,CAAC,MAAM,qBAAqB,GAAwC;IACxE,cAAc,EAAE;IACd,sDAAsD;KACvD;CACF,CAAC"}
@@ -0,0 +1,66 @@
1
+ import paletteOptions from "../colors";
2
+ import { createCSSVarNames, createCSSVars } from "./utils";
3
+ export const shadows = {
4
+ shadow1: `0px 4px 8px ${paletteOptions.token.core.shadow_01}`,
5
+ shadow2: `0px 3px 12px ${paletteOptions.token.core.shadow_02}`,
6
+ shadow3: `0px 12px 24px ${paletteOptions.token.core.shadow_03}`,
7
+ shadow4: `0px 12px 44px ${paletteOptions.token.core.shadow_04}`,
8
+ };
9
+ const shadowVars = createCSSVarNames(shadows);
10
+ export const elevations = {
11
+ elevation_00: "none",
12
+ elevation_01: `${shadowVars.shadow1}, ${shadowVars.shadow2}`,
13
+ elevation_02: `${shadowVars.shadow3}, ${shadowVars.shadow4}`,
14
+ };
15
+ export const elevationOptions = {
16
+ ...shadows,
17
+ ...elevations,
18
+ };
19
+ export const createElevationCssBaseline = () => {
20
+ return {
21
+ // :root에 모든 theme이 정의되어 있지 않으므로 surface*에서 찾아야 함
22
+ ".light1, .light2, .dark1, .dark2, .dark3, .dark4": {
23
+ ...createCSSVars(shadows),
24
+ ...createCSSVars(elevations),
25
+ // `--elevation-shadow`가 정의되지 않아도 `box-shadow: var(--elevation-shadow)` 구문을 해석하려면 필요함
26
+ "--elevation-shadow": "none",
27
+ },
28
+ // Default component styles
29
+ ".MuiPaper-root": {
30
+ "--elevation-shadow": elevationOptions.elevation_02,
31
+ },
32
+ ".MuiDialog-paper": {
33
+ "--elevation-shadow": elevationOptions.elevation_02,
34
+ },
35
+ ".MuiPopover-paper": {
36
+ "--elevation-shadow": elevationOptions.elevation_02,
37
+ },
38
+ // Date Range Picker, Select 등의 Menu element는 MuiMenu-paper에서 상속
39
+ ".MuiMenu-paper": {
40
+ "--elevation-shadow": elevationOptions.elevation_01,
41
+ },
42
+ ".MuiTooltip-tooltip": {
43
+ "--elevation-shadow": elevationOptions.elevation_01,
44
+ },
45
+ ".MuiAlert-root": {
46
+ "--elevation-shadow": elevationOptions.elevation_02,
47
+ },
48
+ // Alternative to Paper `elevation` prop
49
+ ".elevation0, .elevation1, .elevation2": {
50
+ boxShadow: "var(--elevation-shadow)",
51
+ },
52
+ ".elevation3, .elevation4, .elevation5, .elevation6, .elevation7, .elevation8, .elevation9, .elevation10, .elevation11, .elevation12, .elevation13, .elevation14, .elevation15, .elevation16, .elevation17, .elevation18, .elevation19, .elevation20, .elevation21, .elevation22, .elevation23, .elevation24": {
53
+ boxShadow: "none",
54
+ },
55
+ ".elevation0": {
56
+ "--elevation-shadow": elevationOptions.elevation_00,
57
+ },
58
+ ".elevation1": {
59
+ "--elevation-shadow": elevationOptions.elevation_01,
60
+ },
61
+ ".elevation2": {
62
+ "--elevation-shadow": elevationOptions.elevation_02,
63
+ },
64
+ };
65
+ };
66
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../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nB,oBAAoB,EAAE,gBAAgB,CAAC,YAAY;SACpD;QACD,gEAAgE;QAChE,gBAAgB,EAAE;YAChB,oBAAoB,EAAE,gBAAgB,CAAC,YAAY;SACpD;QACD,qBAAqB,EAAE;YACrB,oBAAoB,EAAE,gBAAgB,CAAC,YAAY;SACpD;QACD,gBAAgB,EAAE;YAChB,oBAAoB,EAAE,gBAAgB,CAAC,YAAY;SACpD;QAED,wCAAwC;QACxC,uCAAuC,EAAE;YACvC,SAAS,EAAE,yBAAyB;SACrC;QACD,6SAA6S,EAC3S;YACE,SAAS,EAAE,MAAM;SAClB;QACH,aAAa,EAAE;YACb,oBAAoB,EAAE,gBAAgB,CAAC,YAAY;SACpD;QACD,aAAa,EAAE;YACb,oBAAoB,EAAE,gBAAgB,CAAC,YAAY;SACpD;QACD,aAAa,EAAE;YACb,oBAAoB,EAAE,gBAAgB,CAAC,YAAY;SACpD;KACF,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ export const createCSSVars = (tokens) => Object.entries(tokens).reduce((vars, [name, value]) => {
2
+ vars[`--${name}`] = value;
3
+ return vars;
4
+ }, {});
5
+ export const createCSSVarNames = (tokens) => Object.entries(tokens).reduce((vars, [name, value]) => {
6
+ vars[name] = `var(--${name})`;
7
+ return vars;
8
+ }, {});
9
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/foundation/Elevation/utils.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,CAAmC,MAAS,EAAE,EAAE,CAC3E,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE;IACpD,IAAI,CAAC,KAAK,IAAI,EAAa,CAAC,GAAG,KAAK,CAAC;IACrC,OAAO,IAAI,CAAC;AACd,CAAC,EAAE,EAA6B,CAAC,CAAC;AAEpC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAmC,MAAS,EAAE,EAAE,CAC/E,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE;IACpD,IAAI,CAAC,IAAe,CAAC,GAAG,SAAS,IAAI,GAAG,CAAC;IACzC,OAAO,IAAI,CAAC;AACd,CAAC,EAAE,EAA6B,CAAC,CAAC"}
@@ -0,0 +1,62 @@
1
+ import { fontVariants, cssVariables } from "./tokens";
2
+ const fontFamily = [
3
+ "Pretendard",
4
+ "-apple-system",
5
+ "BlinkMacSystemFont",
6
+ "system-ui",
7
+ "Roboto",
8
+ '"Helvetica Neue"',
9
+ '"Segoe UI"',
10
+ '"Apple SD Gothic Neo"',
11
+ '"Noto Sans KR"',
12
+ '"Malgun Gothic"',
13
+ '"Apple Color Emoji"',
14
+ '"Segoe UI Emoji"',
15
+ '"Segoe UI Symbol"',
16
+ "sans-serif",
17
+ ].join(",");
18
+ const typographyOptions = {
19
+ fontFamily,
20
+ ...{
21
+ ...fontVariants,
22
+ // alias Mui Typography variants
23
+ h1: fontVariants.headline1,
24
+ h2: fontVariants.headline2,
25
+ h3: fontVariants.headline3,
26
+ h4: fontVariants.headline4,
27
+ h5: fontVariants.headline5,
28
+ h6: fontVariants.headline5,
29
+ body1: fontVariants.body1_16_regular,
30
+ body2: fontVariants.body2_14_regular,
31
+ button: fontVariants.button2,
32
+ },
33
+ };
34
+ export const typographyDefaultProps = {
35
+ variantMapping: {
36
+ headline1: "h1",
37
+ headline2: "h2",
38
+ headline3: "h3",
39
+ headline4: "h4",
40
+ headline5: "h6",
41
+ body1_16_semibold: "p",
42
+ body1_16_regular: "p",
43
+ body2_14_bold: "p",
44
+ body2_14_medium: "p",
45
+ body2_14_regular: "p",
46
+ body3_12_semibold: "p",
47
+ body3_12_regular: "p",
48
+ },
49
+ };
50
+ export const createTypographyCssBaseline = () => {
51
+ return {
52
+ html: {
53
+ fontFamily,
54
+ fontFeatureSettings: `'tnum', 'ss01', 'ss02', 'ss08'`,
55
+ },
56
+ ":root": {
57
+ ...cssVariables,
58
+ },
59
+ };
60
+ };
61
+ export default typographyOptions;
62
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/foundation/Typography/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AA+BtD,MAAM,UAAU,GAAG;IACjB,YAAY;IACZ,eAAe;IACf,oBAAoB;IACpB,WAAW;IACX,QAAQ;IACR,kBAAkB;IAClB,YAAY;IACZ,uBAAuB;IACvB,gBAAgB;IAChB,iBAAiB;IACjB,qBAAqB;IACrB,kBAAkB;IAClB,mBAAmB;IACnB,YAAY;CACb,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,iBAAiB,GAAsB;IAC3C,UAAU;IACV,GAAG;QACD,GAAG,YAAY;QACf,gCAAgC;QAChC,EAAE,EAAE,YAAY,CAAC,SAAS;QAC1B,EAAE,EAAE,YAAY,CAAC,SAAS;QAC1B,EAAE,EAAE,YAAY,CAAC,SAAS;QAC1B,EAAE,EAAE,YAAY,CAAC,SAAS;QAC1B,EAAE,EAAE,YAAY,CAAC,SAAS;QAC1B,EAAE,EAAE,YAAY,CAAC,SAAS;QAC1B,KAAK,EAAE,YAAY,CAAC,gBAAgB;QACpC,KAAK,EAAE,YAAY,CAAC,gBAAgB;QACpC,MAAM,EAAE,YAAY,CAAC,OAAO;KAC7B;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,cAAc,EAAE;QACd,SAAS,EAAE,IAAI;QACf,SAAS,EAAE,IAAI;QACf,SAAS,EAAE,IAAI;QACf,SAAS,EAAE,IAAI;QACf,SAAS,EAAE,IAAI;QACf,iBAAiB,EAAE,GAAG;QACtB,gBAAgB,EAAE,GAAG;QACrB,aAAa,EAAE,GAAG;QAClB,eAAe,EAAE,GAAG;QACpB,gBAAgB,EAAE,GAAG;QACrB,iBAAiB,EAAE,GAAG;QACtB,gBAAgB,EAAE,GAAG;KACtB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,EAAE;IAC9C,OAAO;QACL,IAAI,EAAE;YACJ,UAAU;YACV,mBAAmB,EAAE,gCAAgC;SACtD;QACD,OAAO,EAAE;YACP,GAAG,YAAY;SAChB;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,155 @@
1
+ const fontWeights = {
2
+ "--font-weight-bold": 700,
3
+ "--font-weight-semibold": 600,
4
+ "--font-weight-medium": 500,
5
+ "--font-weight-regular": 400,
6
+ };
7
+ const headline = {
8
+ "--headline1-font-weight": "var(--font-weight-semibold)",
9
+ "--headline1-font-size": "52px",
10
+ "--headline1-line-height": "68px",
11
+ "--headline2-font-weight": "var(--font-weight-bold)",
12
+ "--headline2-font-size": "38px",
13
+ "--headline2-line-height": "48px",
14
+ "--headline3-font-weight": "var(--font-weight-semibold)",
15
+ "--headline3-font-size": "24px",
16
+ "--headline3-line-height": "36px",
17
+ "--headline4-font-weight": "var(--font-weight-semibold)",
18
+ "--headline4-font-size": "20px",
19
+ "--headline4-line-height": "28px",
20
+ "--headline5-font-weight": "var(--font-weight-semibold)",
21
+ "--headline5-font-size": "16px",
22
+ "--headline5-line-height": "24px",
23
+ };
24
+ const body = {
25
+ "--body1-16-semibold-font-weight": "var(--font-weight-semibold)",
26
+ "--body1-16-semibold-font-size": "16px",
27
+ "--body1-16-semibold-line-height": "24px",
28
+ "--body1-16-regular-font-weight": "var(--font-weight-regular)",
29
+ "--body1-16-regular-font-size": "16px",
30
+ "--body1-16-regular-line-height": "24px",
31
+ "--body2-14-bold-font-weight": "var(--font-weight-bold)",
32
+ "--body2-14-bold-font-size": "14px",
33
+ "--body2-14-bold-line-height": "20px",
34
+ "--body2-14-medium-font-weight": "var(--font-weight-medium)",
35
+ "--body2-14-medium-font-size": "14px",
36
+ "--body2-14-medium-line-height": "20px",
37
+ "--body2-14-regular-font-weight": "var(--font-weight-regular)",
38
+ "--body2-14-regular-font-size": "14px",
39
+ "--body2-14-regular-line-height": "20px",
40
+ "--body3-12-semibold-font-weight": "var(--font-weight-semibold)",
41
+ "--body3-12-semibold-font-size": "12.4px",
42
+ "--body3-12-semibold-line-height": "16px",
43
+ "--body3-12-regular-font-weight": "var(--font-weight-regular)",
44
+ "--body3-12-regular-font-size": "12.4px",
45
+ "--body3-12-regular-line-height": "16px",
46
+ };
47
+ const etc = {
48
+ "--overline-font-weight": "var(--font-weight-medium)",
49
+ "--overline-font-size": "14px",
50
+ "--overline-line-height": "20px",
51
+ "--button1-font-weight": "var(--font-weight-medium)",
52
+ "--button1-font-size": "16px",
53
+ "--button1-line-height": "22px",
54
+ "--button2-font-weight": "var(--font-weight-medium)",
55
+ "--button2-font-size": "14px",
56
+ "--button2-line-height": "20px",
57
+ "--caption-font-weight": "var(--font-weight-medium)",
58
+ "--caption-font-size": "12px",
59
+ "--caption-line-height": "16px",
60
+ };
61
+ const fontVariants = {
62
+ headline1: {
63
+ fontWeight: "var(--headline1-font-weight)",
64
+ fontSize: "var(--headline1-font-size)",
65
+ lineHeight: "var(--headline1-line-height)",
66
+ },
67
+ headline2: {
68
+ fontWeight: "var(--headline2-font-weight)",
69
+ fontSize: "var(--headline2-font-size)",
70
+ lineHeight: "var(--headline2-line-height)",
71
+ },
72
+ headline3: {
73
+ fontWeight: "var(--headline3-font-weight)",
74
+ fontSize: "var(--headline3-font-size)",
75
+ lineHeight: "var(--headline3-line-height)",
76
+ },
77
+ headline4: {
78
+ fontWeight: "var(--headline4-font-weight)",
79
+ fontSize: "var(--headline4-font-size)",
80
+ lineHeight: "var(--headline4-line-height)",
81
+ },
82
+ headline5: {
83
+ fontWeight: "var(--headline5-font-weight)",
84
+ fontSize: "var(--headline5-font-size)",
85
+ lineHeight: "var(--headline5-line-height)",
86
+ },
87
+ body1_16_semibold: {
88
+ fontWeight: "var(--body1-16-semibold-font-weight)",
89
+ fontSize: "var(--body1-16-semibold-font-size)",
90
+ lineHeight: "var(--body1-16-semibold-line-height)",
91
+ },
92
+ body1_16_regular: {
93
+ fontWeight: "var(--body1-16-regular-font-weight)",
94
+ fontSize: "var(--body1-16-regular-font-size)",
95
+ lineHeight: "var(--body1-16-regular-line-height)",
96
+ },
97
+ body2_14_bold: {
98
+ fontWeight: "var(--body2-14-bold-font-weight)",
99
+ fontSize: "var(--body2-14-bold-font-size)",
100
+ lineHeight: "var(--body2-14-bold-line-height)",
101
+ },
102
+ body2_14_medium: {
103
+ fontWeight: "var(--body2-14-medium-font-weight)",
104
+ fontSize: "var(--body2-14-medium-font-size)",
105
+ lineHeight: "var(--body2-14-medium-line-height)",
106
+ },
107
+ body2_14_regular: {
108
+ fontWeight: "var(--body2-14-regular-font-weight)",
109
+ fontSize: "var(--body2-14-regular-font-size)",
110
+ lineHeight: "var(--body2-14-regular-line-height)",
111
+ },
112
+ body3_12_semibold: {
113
+ fontWeight: "var(--body3-12-semibold-font-weight)",
114
+ fontSize: "var(--body3-12-semibold-font-size)",
115
+ lineHeight: "var(--body3-12-semibold-line-height)",
116
+ },
117
+ body3_12_regular: {
118
+ fontWeight: "var(--body3-12-regular-font-weight)",
119
+ fontSize: "var(--body3-12-regular-font-size)",
120
+ lineHeight: "var(--body3-12-regular-line-height)",
121
+ },
122
+ overline: {
123
+ fontWeight: "var(--overline-font-weight)",
124
+ fontSize: "var(--overline-font-size)",
125
+ lineHeight: "var(--overline-line-height)",
126
+ letterSpacing: "1px",
127
+ textTransform: "uppercase",
128
+ },
129
+ button1: {
130
+ fontWeight: "var(--button1-font-weight)",
131
+ fontSize: "var(--button1-font-size)",
132
+ lineHeight: "var(--button1-line-height)",
133
+ textTransform: "capitalize",
134
+ },
135
+ button2: {
136
+ fontWeight: "var(--button2-font-weight)",
137
+ fontSize: "var(--button2-font-size)",
138
+ lineHeight: "var(--button2-line-height)",
139
+ letterSpacing: "0.2px",
140
+ textTransform: "capitalize",
141
+ },
142
+ caption: {
143
+ fontWeight: "var(--caption-font-weight)",
144
+ fontSize: "var(--caption-font-size)",
145
+ lineHeight: "var(--caption-line-height)",
146
+ },
147
+ };
148
+ export const cssVariables = {
149
+ ...fontWeights,
150
+ ...headline,
151
+ ...body,
152
+ ...etc,
153
+ };
154
+ export { fontVariants };
155
+ //# sourceMappingURL=tokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../src/foundation/Typography/tokens.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,GAAG;IAClB,oBAAoB,EAAE,GAAG;IACzB,wBAAwB,EAAE,GAAG;IAC7B,sBAAsB,EAAE,GAAG;IAC3B,uBAAuB,EAAE,GAAG;CACpB,CAAC;AAEX,MAAM,QAAQ,GAAG;IACf,yBAAyB,EAAE,6BAA6B;IACxD,uBAAuB,EAAE,MAAM;IAC/B,yBAAyB,EAAE,MAAM;IACjC,yBAAyB,EAAE,yBAAyB;IACpD,uBAAuB,EAAE,MAAM;IAC/B,yBAAyB,EAAE,MAAM;IACjC,yBAAyB,EAAE,6BAA6B;IACxD,uBAAuB,EAAE,MAAM;IAC/B,yBAAyB,EAAE,MAAM;IACjC,yBAAyB,EAAE,6BAA6B;IACxD,uBAAuB,EAAE,MAAM;IAC/B,yBAAyB,EAAE,MAAM;IACjC,yBAAyB,EAAE,6BAA6B;IACxD,uBAAuB,EAAE,MAAM;IAC/B,yBAAyB,EAAE,MAAM;CACzB,CAAC;AAEX,MAAM,IAAI,GAAG;IACX,iCAAiC,EAAE,6BAA6B;IAChE,+BAA+B,EAAE,MAAM;IACvC,iCAAiC,EAAE,MAAM;IACzC,gCAAgC,EAAE,4BAA4B;IAC9D,8BAA8B,EAAE,MAAM;IACtC,gCAAgC,EAAE,MAAM;IACxC,6BAA6B,EAAE,yBAA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AO;QACtB,aAAa,EAAE,YAAY;KAC5B;IACD,OAAO,EAAE;QACP,UAAU,EAAE,4BAA4B;QACxC,QAAQ,EAAE,0BAA0B;QACpC,UAAU,EAAE,4BAA4B;KACzC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,GAAG,WAAW;IACd,GAAG,QAAQ;IACX,GAAG,IAAI;IACP,GAAG,GAAG;CACP,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { grey } from "./grey";
2
+ export const blue = {
3
+ 5: "#DAECFF",
4
+ 10: "#D0E2FF",
5
+ 20: "#9DCEFF",
6
+ 30: "#78A9FF",
7
+ 40: "#4589FF",
8
+ 50: "#0F62FE",
9
+ 60: "#0043CE",
10
+ 70: "#0055AB",
11
+ 80: "#001D6C",
12
+ 90: "#002041",
13
+ };
14
+ export const blueText = {
15
+ 5: grey[95],
16
+ 10: grey[95],
17
+ 20: grey[95],
18
+ 30: grey[95],
19
+ 40: grey[95],
20
+ 50: grey[5],
21
+ 60: grey[5],
22
+ 70: grey[5],
23
+ 80: grey[5],
24
+ 90: grey[5],
25
+ };
26
+ //# sourceMappingURL=blue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blue.js","sourceRoot":"","sources":["../../../../src/foundation/colors/base/blue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,CAAC,EAAE,SAAS;IACZ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;CACd,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;CACZ,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { grey } from "./grey";
2
+ export const green = {
3
+ 5: "#EBFFF0",
4
+ 10: "#B4EFC4",
5
+ 20: "#6FDC8C",
6
+ 30: "#42BE65",
7
+ 40: "#24A148",
8
+ 50: "#198038",
9
+ 60: "#0E6027",
10
+ 70: "#044317",
11
+ 80: "#022D0D",
12
+ 90: "#071908",
13
+ };
14
+ export const greenText = {
15
+ 5: grey[95],
16
+ 10: grey[95],
17
+ 20: grey[95],
18
+ 30: grey[95],
19
+ 40: grey[95],
20
+ 50: grey[5],
21
+ 60: grey[5],
22
+ 70: grey[5],
23
+ 80: grey[5],
24
+ 90: grey[5],
25
+ };
26
+ //# sourceMappingURL=green.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"green.js","sourceRoot":"","sources":["../../../../src/foundation/colors/base/green.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,CAAC,EAAE,SAAS;IACZ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;CACd,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;CACZ,CAAC"}
@@ -0,0 +1,36 @@
1
+ export const grey = {
2
+ 0: "#FFFFFF",
3
+ 5: "#FAFAFB",
4
+ 10: "#F1F1F4",
5
+ 15: "#DFDFE2",
6
+ 20: "#C6C6C8",
7
+ 30: "#AFAFB1",
8
+ 40: "#99999B",
9
+ 50: "#747477",
10
+ 60: "#626264",
11
+ 70: "#4E4E50",
12
+ 75: "#404042",
13
+ 80: "#333336",
14
+ 85: "#2D2D2F",
15
+ 90: "#1F1F21",
16
+ 95: "#111113",
17
+ 100: "#000000",
18
+ };
19
+ export const greyText = {
20
+ 0: grey[95],
21
+ 5: grey[95],
22
+ 10: grey[95],
23
+ 15: grey[95],
24
+ 20: grey[95],
25
+ 30: grey[95],
26
+ 40: grey[95],
27
+ 50: grey[5],
28
+ 60: grey[5],
29
+ 70: grey[5],
30
+ 80: grey[5],
31
+ 85: grey[5],
32
+ 90: grey[5],
33
+ 95: grey[5],
34
+ 100: grey[5],
35
+ };
36
+ //# sourceMappingURL=grey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grey.js","sourceRoot":"","sources":["../../../../src/foundation/colors/base/grey.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,CAAC,EAAE,SAAS;IACZ,CAAC,EAAE,SAAS;IACZ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;CACf,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC;IACX,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC;CACb,CAAC"}
@@ -0,0 +1,12 @@
1
+ export * from "./blue";
2
+ export * from "./green";
3
+ export * from "./grey";
4
+ export * from "./lunitGreen";
5
+ export * from "./lunitTeal";
6
+ export * from "./magenta";
7
+ export * from "./orange";
8
+ export * from "./red";
9
+ export * from "./yellow";
10
+ export * from "./purple";
11
+ export * from "./opacity";
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/foundation/colors/base/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { grey } from "./grey";
2
+ export const lunitGreen = {
3
+ 5: "#F5FBE7",
4
+ 10: "#EFF8BC",
5
+ 20: "#E5F39E",
6
+ 30: "#E1EE91",
7
+ 40: "#DCEB7A",
8
+ 50: "#D2EA60",
9
+ 60: "#CEE559",
10
+ 70: "#CADE5C",
11
+ 80: "#BED358",
12
+ 90: "#B1C953",
13
+ };
14
+ export const lunitGreenText = {
15
+ 5: grey[95],
16
+ 10: grey[95],
17
+ 20: grey[95],
18
+ 30: grey[95],
19
+ 40: grey[95],
20
+ 50: grey[95],
21
+ 60: grey[95],
22
+ 70: grey[95],
23
+ 80: grey[95],
24
+ 90: grey[95],
25
+ };
26
+ //# sourceMappingURL=lunitGreen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lunitGreen.js","sourceRoot":"","sources":["../../../../src/foundation/colors/base/lunitGreen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,CAAC,EAAE,SAAS;IACZ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;CACd,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;CACb,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { grey } from "./grey";
2
+ export const lunitTeal = {
3
+ 5: "#EAFAFF",
4
+ 10: "#D1F7FF",
5
+ 20: "#96EDFF",
6
+ 30: "#30DFFC",
7
+ 40: "#00C9EA",
8
+ 50: "#01AED4",
9
+ 60: "#048AB4",
10
+ 70: "#016D8F",
11
+ 80: "#05495F",
12
+ 90: "#002930",
13
+ };
14
+ export const lunitTealText = {
15
+ 5: lunitTeal[90],
16
+ 10: lunitTeal[90],
17
+ 20: grey[95],
18
+ 30: grey[95],
19
+ 40: grey[95],
20
+ 50: grey[5],
21
+ 60: grey[5],
22
+ 70: grey[5],
23
+ 80: grey[5],
24
+ 90: lunitTeal[5],
25
+ };
26
+ //# sourceMappingURL=lunitTeal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lunitTeal.js","sourceRoot":"","sources":["../../../../src/foundation/colors/base/lunitTeal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,CAAC,EAAE,SAAS;IACZ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;CACd,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,CAAC,EAAE,SAAS,CAAC,EAAE,CAAC;IAChB,EAAE,EAAE,SAAS,CAAC,EAAE,CAAC;IACjB,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC;IACZ,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACX,EAAE,EAAE,SAAS,CAAC,CAAC,CAAC;CACjB,CAAC"}