@lunit/oui 1.0.0-alpha.9 → 1.0.1-alpha.10

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 (270) hide show
  1. package/dist/components/Alert/Alert.js +1 -1
  2. package/dist/components/Alert/Alert.utils.js +1 -1
  3. package/dist/components/Chip/Chip.js +1 -1
  4. package/dist/components/Chip/Chip.utils.js +1 -1
  5. package/dist/components/DatePicker/DatePicker.js +1 -1
  6. package/dist/components/Dialog/Dialog.js +1 -1
  7. package/dist/components/Dropdown/Dropdown.js +1 -1
  8. package/dist/components/Dropdown/DropdownItem.js +1 -1
  9. package/dist/components/Dropdown/IconDropdown.js +1 -1
  10. package/dist/components/List/List.js +1 -1
  11. package/dist/components/List/ListItem.styled.js +1 -1
  12. package/dist/components/Pagination/Pagination.js +65 -0
  13. package/dist/components/Pagination/Pagination.styled.js +64 -0
  14. package/dist/components/Pagination/Pagination.types.js +2 -0
  15. package/dist/components/Pagination/index.js +2 -0
  16. package/dist/components/ProductLabel/ProductLabel.js +1 -1
  17. package/dist/components/TextField/components/Buttons.js +1 -1
  18. package/dist/components/UploadManager/UploadManager.js +1 -1
  19. package/dist/components/index.js +1 -1
  20. package/dist/foundations/index.js +1 -0
  21. package/dist/foundations/palette.js +4 -0
  22. package/dist/foundations/styles.js +7 -0
  23. package/dist/types/components/Pagination/Pagination.d.ts +3 -0
  24. package/dist/types/components/Pagination/Pagination.styled.d.ts +24 -0
  25. package/dist/types/components/Pagination/Pagination.types.d.ts +35 -0
  26. package/dist/types/components/Pagination/index.d.ts +2 -0
  27. package/dist/types/components/index.d.ts +1 -1
  28. package/dist/types/foundations/index.d.ts +1 -0
  29. package/dist/types/foundations/palette.d.ts +8 -1
  30. package/dist/types/foundations/styles.d.ts +2 -0
  31. package/package.json +7 -11
  32. package/.git-ftp-include +0 -1
  33. package/dist/components/Icons/BellNoti/index.js +0 -14
  34. package/dist/components/Icons/CloseLarge/index.js +0 -14
  35. package/dist/components/Icons/CloseSmall/index.js +0 -14
  36. package/dist/components/Icons/DownloadPdf/index.js +0 -14
  37. package/dist/components/Icons/Ellipse/index.js +0 -14
  38. package/dist/components/Icons/FilterNoti/index.js +0 -14
  39. package/dist/components/Icons/HideLarge/index.js +0 -14
  40. package/dist/components/Icons/HideSmall/index.js +0 -14
  41. package/dist/components/Icons/InformationLarge/index.js +0 -14
  42. package/dist/components/Icons/InformationSmall/index.js +0 -14
  43. package/dist/components/Icons/Manufacturer/index.js +0 -14
  44. package/dist/components/Icons/Rectangle/index.js +0 -14
  45. package/dist/components/Icons/RefreshLeft/index.js +0 -14
  46. package/dist/components/Icons/RefreshRight/index.js +0 -14
  47. package/dist/components/Icons/ShowLarge/index.js +0 -14
  48. package/dist/components/Icons/ShowSmall/index.js +0 -14
  49. package/dist/components/Icons/index.js +0 -180
  50. package/dist/types/components/Icons/BellNoti/index.d.ts +0 -12
  51. package/dist/types/components/Icons/CloseLarge/index.d.ts +0 -12
  52. package/dist/types/components/Icons/CloseSmall/index.d.ts +0 -12
  53. package/dist/types/components/Icons/DownloadPdf/index.d.ts +0 -12
  54. package/dist/types/components/Icons/Ellipse/index.d.ts +0 -12
  55. package/dist/types/components/Icons/FilterNoti/index.d.ts +0 -12
  56. package/dist/types/components/Icons/HideLarge/index.d.ts +0 -12
  57. package/dist/types/components/Icons/HideSmall/index.d.ts +0 -12
  58. package/dist/types/components/Icons/InformationLarge/index.d.ts +0 -12
  59. package/dist/types/components/Icons/InformationSmall/index.d.ts +0 -12
  60. package/dist/types/components/Icons/Manufacturer/index.d.ts +0 -12
  61. package/dist/types/components/Icons/Rectangle/index.d.ts +0 -12
  62. package/dist/types/components/Icons/RefreshLeft/index.d.ts +0 -12
  63. package/dist/types/components/Icons/RefreshRight/index.d.ts +0 -12
  64. package/dist/types/components/Icons/ShowLarge/index.d.ts +0 -12
  65. package/dist/types/components/Icons/ShowSmall/index.d.ts +0 -12
  66. package/dist/types/components/Icons/index.d.ts +0 -179
  67. package/src/assets/ic-bell-noti-outlined-20px.tsx +0 -21
  68. package/src/assets/ic-close-large-outlined-20px.tsx +0 -17
  69. package/src/assets/ic-close-small-outlined-20px.tsx +0 -17
  70. package/src/assets/ic-download-pdf-outlined-20px.tsx +0 -18
  71. package/src/assets/ic-ellipse-outlined-20px.tsx +0 -17
  72. package/src/assets/ic-filter-noti-outlined-20px.tsx +0 -21
  73. package/src/assets/ic-hide-large-outlined-20px.tsx +0 -13
  74. package/src/assets/ic-hide-small-outlined-20px.tsx +0 -17
  75. package/src/assets/ic-information-large-outlined-20px.tsx +0 -17
  76. package/src/assets/ic-information-small-outlined-20px.tsx +0 -17
  77. package/src/assets/ic-manufacturer-outlined-20px.tsx +0 -19
  78. package/src/assets/ic-rectangle-outlined-20px.tsx +0 -17
  79. package/src/assets/ic-refresh-left-outlined-20px.tsx +0 -17
  80. package/src/assets/ic-refresh-right-outlined-20px.tsx +0 -13
  81. package/src/assets/ic-show-large-outlined-20px.tsx +0 -17
  82. package/src/assets/ic-show-small-outlined-20px.tsx +0 -17
  83. package/src/assets/ic_bell_noti=outlined_20px.svg +0 -5
  84. package/src/assets/ic_close_large=outlined_20px.svg +0 -4
  85. package/src/assets/ic_close_small=outlined_20px.svg +0 -4
  86. package/src/assets/ic_download_pdf=outlined_20px.svg +0 -7
  87. package/src/assets/ic_ellipse=outlined_20px.svg +0 -4
  88. package/src/assets/ic_filter_noti=outlined_20px.svg +0 -5
  89. package/src/assets/ic_hide_large=outlined_20px.svg +0 -4
  90. package/src/assets/ic_hide_small=outlined_20px.svg +0 -4
  91. package/src/assets/ic_information_large=outlined_20px.svg +0 -4
  92. package/src/assets/ic_information_small=outlined_20px.svg +0 -4
  93. package/src/assets/ic_manufacturer=outlined_20px.svg +0 -3
  94. package/src/assets/ic_rectangle=outlined_20px.svg +0 -4
  95. package/src/assets/ic_refresh_left=outlined_20px.svg +0 -4
  96. package/src/assets/ic_refresh_right=outlined_20px.svg +0 -4
  97. package/src/assets/ic_show_large=outlined_20px.svg +0 -4
  98. package/src/assets/ic_show_small=outlined_20px.svg +0 -4
  99. package/src/assets/index.ts +0 -16
  100. package/src/components/Alert/Alert.styled.ts +0 -44
  101. package/src/components/Alert/Alert.tsx +0 -39
  102. package/src/components/Alert/Alert.types.ts +0 -5
  103. package/src/components/Alert/Alert.utils.tsx +0 -43
  104. package/src/components/Alert/index.ts +0 -5
  105. package/src/components/BaseTextField/BaseTextField.styled.ts +0 -110
  106. package/src/components/BaseTextField/BaseTextField.types.ts +0 -25
  107. package/src/components/BaseTextField/BaseTextField.utils.ts +0 -10
  108. package/src/components/Button/BaseButton.tsx +0 -19
  109. package/src/components/Button/Button.tsx +0 -117
  110. package/src/components/Button/Button.types.ts +0 -36
  111. package/src/components/Button/Button.utils.ts +0 -13
  112. package/src/components/Button/index.ts +0 -6
  113. package/src/components/Button/styleds/BaseButton.styled.ts +0 -57
  114. package/src/components/Button/styleds/ContainedButton.styled.ts +0 -123
  115. package/src/components/Button/styleds/GhostButton.styled.ts +0 -139
  116. package/src/components/Button/styleds/IconButton.styled.ts +0 -25
  117. package/src/components/Button/styleds/OutlinedButton.styled.ts +0 -144
  118. package/src/components/Card/Card.styled.tsx +0 -18
  119. package/src/components/Card/Card.tsx +0 -18
  120. package/src/components/Card/Card.types.ts +0 -10
  121. package/src/components/Card/index.ts +0 -5
  122. package/src/components/Checkbox/Checkbox.styled.tsx +0 -27
  123. package/src/components/Checkbox/Checkbox.tsx +0 -64
  124. package/src/components/Checkbox/Checkbox.types.ts +0 -16
  125. package/src/components/Checkbox/Checkbox.utils.tsx +0 -42
  126. package/src/components/Checkbox/index.ts +0 -5
  127. package/src/components/Chip/Chip.styled.ts +0 -120
  128. package/src/components/Chip/Chip.tsx +0 -33
  129. package/src/components/Chip/Chip.types.ts +0 -18
  130. package/src/components/Chip/Chip.utils.tsx +0 -50
  131. package/src/components/Chip/index.ts +0 -4
  132. package/src/components/DataTable/DataTable.styled.ts +0 -66
  133. package/src/components/DataTable/DataTable.tsx +0 -29
  134. package/src/components/DataTable/index.ts +0 -1
  135. package/src/components/DatePicker/DatePicker.styled.ts +0 -19
  136. package/src/components/DatePicker/DatePicker.tsx +0 -194
  137. package/src/components/DatePicker/DatePicker.types.ts +0 -8
  138. package/src/components/DatePicker/index.ts +0 -4
  139. package/src/components/Dialog/Dialog.styled.ts +0 -87
  140. package/src/components/Dialog/Dialog.tsx +0 -111
  141. package/src/components/Dialog/Dialog.types.ts +0 -19
  142. package/src/components/Dialog/index.ts +0 -5
  143. package/src/components/Divider/Divider.styled.ts +0 -24
  144. package/src/components/Divider/Divider.tsx +0 -13
  145. package/src/components/Divider/Divider.types.ts +0 -7
  146. package/src/components/Divider/index.ts +0 -5
  147. package/src/components/Dropdown/Dropdown.styled.tsx +0 -127
  148. package/src/components/Dropdown/Dropdown.tsx +0 -116
  149. package/src/components/Dropdown/Dropdown.types.ts +0 -31
  150. package/src/components/Dropdown/Dropdown.utils.ts +0 -13
  151. package/src/components/Dropdown/DropdownItem.styled.tsx +0 -66
  152. package/src/components/Dropdown/DropdownItem.tsx +0 -45
  153. package/src/components/Dropdown/DropdownItem.types.ts +0 -14
  154. package/src/components/Dropdown/DropdownItem.utils.ts +0 -14
  155. package/src/components/Dropdown/DropdownSubtitle.styled.ts +0 -13
  156. package/src/components/Dropdown/DropdownSubtitle.tsx +0 -9
  157. package/src/components/Dropdown/DropdownSubtitle.types.ts +0 -6
  158. package/src/components/Dropdown/IconDropdown.styled.tsx +0 -82
  159. package/src/components/Dropdown/IconDropdown.tsx +0 -56
  160. package/src/components/Dropdown/IconDropdown.types.ts +0 -22
  161. package/src/components/Dropdown/index.ts +0 -22
  162. package/src/components/FileDnDZone/FileDnDZone.styled.ts +0 -43
  163. package/src/components/FileDnDZone/FileDnDZone.tsx +0 -81
  164. package/src/components/FileDnDZone/FileDnDZone.types.ts +0 -14
  165. package/src/components/FileDnDZone/FileDnDZone.utils.ts +0 -3
  166. package/src/components/FileDnDZone/index.ts +0 -5
  167. package/src/components/Icons/BellNoti/index.tsx +0 -22
  168. package/src/components/Icons/CloseLarge/index.tsx +0 -22
  169. package/src/components/Icons/CloseSmall/index.tsx +0 -22
  170. package/src/components/Icons/DownloadPdf/index.tsx +0 -22
  171. package/src/components/Icons/Ellipse/index.tsx +0 -22
  172. package/src/components/Icons/FilterNoti/index.tsx +0 -22
  173. package/src/components/Icons/HideLarge/index.tsx +0 -22
  174. package/src/components/Icons/HideSmall/index.tsx +0 -22
  175. package/src/components/Icons/InformationLarge/index.tsx +0 -22
  176. package/src/components/Icons/InformationSmall/index.tsx +0 -22
  177. package/src/components/Icons/Manufacturer/index.tsx +0 -22
  178. package/src/components/Icons/Rectangle/index.tsx +0 -22
  179. package/src/components/Icons/RefreshLeft/index.tsx +0 -22
  180. package/src/components/Icons/RefreshRight/index.tsx +0 -22
  181. package/src/components/Icons/ShowLarge/index.tsx +0 -22
  182. package/src/components/Icons/ShowSmall/index.tsx +0 -22
  183. package/src/components/Icons/index.ts +0 -180
  184. package/src/components/List/List.styled.ts +0 -31
  185. package/src/components/List/List.tsx +0 -71
  186. package/src/components/List/List.types.ts +0 -24
  187. package/src/components/List/List.utils.ts +0 -14
  188. package/src/components/List/ListItem.styled.tsx +0 -61
  189. package/src/components/List/ListItem.tsx +0 -66
  190. package/src/components/List/ListItem.types.ts +0 -40
  191. package/src/components/List/ListItemCaption.styled.tsx +0 -7
  192. package/src/components/List/ListItemCaption.tsx +0 -18
  193. package/src/components/List/ListItemCaption.types.ts +0 -2
  194. package/src/components/List/index.ts +0 -8
  195. package/src/components/LoadingIndicator/LoadingIndicator.styled.tsx +0 -40
  196. package/src/components/LoadingIndicator/LoadingIndicator.tsx +0 -44
  197. package/src/components/LoadingIndicator/LoadingIndicator.types.ts +0 -7
  198. package/src/components/LoadingIndicator/assets/DnaLoadingAnimation.json +0 -769
  199. package/src/components/LoadingIndicator/assets/DotLoadingAnimation.json +0 -426
  200. package/src/components/LoadingIndicator/index.ts +0 -5
  201. package/src/components/Menu/Menu.styled.tsx +0 -42
  202. package/src/components/Menu/Menu.tsx +0 -28
  203. package/src/components/Menu/Menu.types.ts +0 -18
  204. package/src/components/Menu/MenuItem.styled.ts +0 -62
  205. package/src/components/Menu/MenuItem.tsx +0 -45
  206. package/src/components/Menu/MenuItem.types.ts +0 -14
  207. package/src/components/Menu/index.ts +0 -5
  208. package/src/components/MuiCssBaseline.ts +0 -78
  209. package/src/components/MuiInputBase.ts +0 -25
  210. package/src/components/MuiOutlinedInput.ts +0 -57
  211. package/src/components/MuiTextField.ts +0 -17
  212. package/src/components/ProductLabel/ProductLabel.styled.ts +0 -61
  213. package/src/components/ProductLabel/ProductLabel.tsx +0 -57
  214. package/src/components/ProductLabel/ProductLabel.types.ts +0 -10
  215. package/src/components/ProductLabel/index.ts +0 -5
  216. package/src/components/Progress/CircularProgress.styled.ts +0 -10
  217. package/src/components/Progress/CircularProgress.tsx +0 -15
  218. package/src/components/Progress/CircularProgress.types.ts +0 -6
  219. package/src/components/Progress/LinearProgress.styled.ts +0 -15
  220. package/src/components/Progress/LinearProgress.tsx +0 -16
  221. package/src/components/Progress/LinearProgress.types.ts +0 -7
  222. package/src/components/Progress/index.ts +0 -4
  223. package/src/components/Radio/Radio.styled.ts +0 -35
  224. package/src/components/Radio/Radio.tsx +0 -60
  225. package/src/components/Radio/Radio.types.ts +0 -15
  226. package/src/components/Radio/RadioGroup.styled.ts +0 -6
  227. package/src/components/Radio/RadioGroup.tsx +0 -23
  228. package/src/components/Radio/RadioGroup.types.ts +0 -10
  229. package/src/components/Radio/index.ts +0 -7
  230. package/src/components/Stepper/Stepper.styled.ts +0 -38
  231. package/src/components/Stepper/Stepper.tsx +0 -24
  232. package/src/components/Stepper/Stepper.types.ts +0 -13
  233. package/src/components/Stepper/index.ts +0 -5
  234. package/src/components/TabbedPanel/TabbedPanel.styled.ts +0 -129
  235. package/src/components/TabbedPanel/TabbedPanel.tsx +0 -70
  236. package/src/components/TabbedPanel/TabbedPanel.types.ts +0 -36
  237. package/src/components/TabbedPanel/TabbedPanel.utils.ts +0 -21
  238. package/src/components/TabbedPanel/index.ts +0 -5
  239. package/src/components/TextField/TextArea.styled.tsx +0 -36
  240. package/src/components/TextField/TextArea.tsx +0 -35
  241. package/src/components/TextField/TextArea.types.ts +0 -28
  242. package/src/components/TextField/TextInput.styled.tsx +0 -115
  243. package/src/components/TextField/TextInput.tsx +0 -27
  244. package/src/components/TextField/TextInput.types.ts +0 -46
  245. package/src/components/TextField/TextInput.utils.ts +0 -7
  246. package/src/components/TextField/components/Buttons.tsx +0 -26
  247. package/src/components/TextField/components/NormalTextInput.tsx +0 -95
  248. package/src/components/TextField/components/PasswordInput.tsx +0 -92
  249. package/src/components/TextField/index.ts +0 -7
  250. package/src/components/Tooltip/Tooltip.styled.tsx +0 -36
  251. package/src/components/Tooltip/Tooltip.tsx +0 -58
  252. package/src/components/Tooltip/Tooltip.types.ts +0 -24
  253. package/src/components/Tooltip/Tooltip.utils.ts +0 -46
  254. package/src/components/Tooltip/index.ts +0 -5
  255. package/src/components/UploadManager/UploadManager.styled.ts +0 -49
  256. package/src/components/UploadManager/UploadManager.tsx +0 -271
  257. package/src/components/UploadManager/UploadManager.types.ts +0 -16
  258. package/src/components/UploadManager/index.ts +0 -5
  259. package/src/components/index.ts +0 -23
  260. package/src/foundations/index.ts +0 -3
  261. package/src/foundations/palette.ts +0 -407
  262. package/src/foundations/spacing.ts +0 -5
  263. package/src/foundations/typography.ts +0 -492
  264. package/src/index.ts +0 -4
  265. package/src/react-app-env.d.ts +0 -71
  266. package/src/reportWebVitals.ts +0 -15
  267. package/src/setupTests.ts +0 -5
  268. package/src/systems/drawer.ts +0 -27
  269. package/src/systems/index.ts +0 -7
  270. package/src/theme.ts +0 -22
@@ -1,492 +0,0 @@
1
- import { TypographyOptions } from '@mui/material/styles/createTypography';
2
-
3
- declare module '@mui/material/styles' {
4
- interface TypographyVariants {
5
- h7: React.CSSProperties;
6
- h8: React.CSSProperties;
7
- h9: React.CSSProperties;
8
- h10: React.CSSProperties;
9
-
10
- subtitle3: React.CSSProperties;
11
-
12
- body_b1: React.CSSProperties;
13
- body_b2: React.CSSProperties;
14
-
15
- body_sb1: React.CSSProperties;
16
- body_sb2: React.CSSProperties;
17
- body_sb3: React.CSSProperties;
18
- body_sb4: React.CSSProperties;
19
- body_sb5: React.CSSProperties;
20
-
21
- body_m1: React.CSSProperties;
22
- body_m2: React.CSSProperties;
23
-
24
- body1: React.CSSProperties;
25
- body2: React.CSSProperties;
26
- body3: React.CSSProperties;
27
- body4: React.CSSProperties;
28
- body5: React.CSSProperties;
29
- body6: React.CSSProperties;
30
- body7: React.CSSProperties;
31
- body8: React.CSSProperties;
32
-
33
- small_body_b1: React.CSSProperties;
34
- small_body_b2: React.CSSProperties;
35
- small_body_b3: React.CSSProperties;
36
- small_body_b4: React.CSSProperties;
37
- small_body_b5: React.CSSProperties;
38
-
39
- small_body_sb1: React.CSSProperties;
40
-
41
- small_body_m1: React.CSSProperties;
42
- small_body_m2: React.CSSProperties;
43
- small_body_m3: React.CSSProperties;
44
- small_body_m4: React.CSSProperties;
45
- small_body_m5: React.CSSProperties;
46
- small_body_m6: React.CSSProperties;
47
- small_body_m7: React.CSSProperties;
48
-
49
- small_body1: React.CSSProperties;
50
- small_body2: React.CSSProperties;
51
- small_body3: React.CSSProperties;
52
- small_body4: React.CSSProperties;
53
- small_body5: React.CSSProperties;
54
-
55
- small_body_l1: React.CSSProperties;
56
- small_body_l2: React.CSSProperties;
57
-
58
- overline: React.CSSProperties;
59
-
60
- button1: React.CSSProperties;
61
- button2: React.CSSProperties;
62
-
63
- caption: React.CSSProperties;
64
- }
65
-
66
- interface TypographyVariantsOptions {
67
- h7?: React.CSSProperties;
68
- h8?: React.CSSProperties;
69
- h9?: React.CSSProperties;
70
- h10?: React.CSSProperties;
71
-
72
- subtitle3?: React.CSSProperties;
73
-
74
- body_b1?: React.CSSProperties;
75
- body_b2?: React.CSSProperties;
76
-
77
- body_sb1?: React.CSSProperties;
78
- body_sb2?: React.CSSProperties;
79
- body_sb3?: React.CSSProperties;
80
- body_sb4?: React.CSSProperties;
81
- body_sb5?: React.CSSProperties;
82
-
83
- body_m1?: React.CSSProperties;
84
- body_m2?: React.CSSProperties;
85
-
86
- body1?: React.CSSProperties;
87
- body2?: React.CSSProperties;
88
- body3?: React.CSSProperties;
89
- body4?: React.CSSProperties;
90
- body5?: React.CSSProperties;
91
- body6?: React.CSSProperties;
92
- body7?: React.CSSProperties;
93
- body8?: React.CSSProperties;
94
-
95
- small_body_b1?: React.CSSProperties;
96
- small_body_b2?: React.CSSProperties;
97
- small_body_b3?: React.CSSProperties;
98
- small_body_b4?: React.CSSProperties;
99
- small_body_b5?: React.CSSProperties;
100
-
101
- small_body_sb1?: React.CSSProperties;
102
-
103
- small_body_m1?: React.CSSProperties;
104
- small_body_m2?: React.CSSProperties;
105
- small_body_m3?: React.CSSProperties;
106
- small_body_m4?: React.CSSProperties;
107
- small_body_m5?: React.CSSProperties;
108
- small_body_m6?: React.CSSProperties;
109
- small_body_m7?: React.CSSProperties;
110
-
111
- small_body1?: React.CSSProperties;
112
- small_body2?: React.CSSProperties;
113
- small_body3?: React.CSSProperties;
114
- small_body4?: React.CSSProperties;
115
- small_body5?: React.CSSProperties;
116
-
117
- small_body_l1?: React.CSSProperties;
118
- small_body_l2?: React.CSSProperties;
119
-
120
- overline?: React.CSSProperties;
121
-
122
- button1?: React.CSSProperties;
123
- button2?: React.CSSProperties;
124
-
125
- caption?: React.CSSProperties;
126
- }
127
- }
128
-
129
- declare module '@mui/material/Typography' {
130
- interface TypographyPropsVariantOverrides {
131
- h7: true;
132
- h8: true;
133
- h9: true;
134
- h10: true;
135
-
136
- subtitle3: true;
137
-
138
- body_b1: true;
139
- body_b2: true;
140
-
141
- body_sb1: true;
142
- body_sb2: true;
143
- body_sb3: true;
144
- body_sb4: true;
145
- body_sb5: true;
146
-
147
- body_m1: true;
148
- body_m2: true;
149
-
150
- body1: true;
151
- body2: true;
152
- body3: true;
153
- body4: true;
154
- body5: true;
155
- body6: true;
156
- body7: true;
157
- body8: true;
158
-
159
- small_body_b1: true;
160
- small_body_b2: true;
161
- small_body_b3: true;
162
- small_body_b4: true;
163
- small_body_b5: true;
164
-
165
- small_body_sb1: true;
166
-
167
- small_body_m1: true;
168
- small_body_m2: true;
169
- small_body_m3: true;
170
- small_body_m4: true;
171
- small_body_m5: true;
172
- small_body_m6: true;
173
- small_body_m7: true;
174
-
175
- small_body1: true;
176
- small_body2: true;
177
- small_body3: true;
178
- small_body4: true;
179
- small_body5: true;
180
-
181
- small_body_l1: true;
182
- small_body_l2: true;
183
-
184
- overline: true;
185
-
186
- button1: true;
187
- button2: true;
188
-
189
- caption: true;
190
- }
191
- }
192
-
193
- const typographyOptions: TypographyOptions = {
194
- fontFamily: [
195
- 'Pretendard',
196
- '-apple-system',
197
- 'BlinkMacSystemFont',
198
- '"Segoe UI"',
199
- 'Roboto',
200
- '"Helvetica Neue"',
201
- 'Arial',
202
- 'sans-serif',
203
- '"Apple Color Emoji"',
204
- '"Segoe UI Emoji"',
205
- '"Segoe UI Symbol"',
206
- ].join(','),
207
- h1: {
208
- fontWeight: 600,
209
- fontSize: '52px',
210
- lineHeight: '68px',
211
- },
212
- h2: {
213
- fontWeight: 700,
214
- fontSize: '38px',
215
- lineHeight: '48px',
216
- },
217
- h3: {
218
- fontWeight: 500,
219
- fontSize: '38px',
220
- lineHeight: '48px',
221
- },
222
- h4: {
223
- fontWeight: 600,
224
- fontSize: '30px',
225
- lineHeight: '48px',
226
- },
227
- h5: {
228
- fontWeight: 400,
229
- fontSize: '30px',
230
- lineHeight: '48px',
231
- },
232
- h6: {
233
- fontWeight: 700,
234
- fontSize: '28px',
235
- lineHeight: 'auto',
236
- },
237
- h7: {
238
- fontWeight: 600,
239
- fontSize: '24px',
240
- lineHeight: '36px',
241
- },
242
- h8: {
243
- fontWeight: 600,
244
- fontSize: '20px',
245
- lineHeight: '28px',
246
- },
247
- h9: {
248
- fontWeight: 600,
249
- fontSize: '16px',
250
- lineHeight: '24px',
251
- },
252
- subtitle1: {
253
- fontSize: 20,
254
- fontWeight: 600,
255
- lineHeight: '28px',
256
- },
257
- subtitle2: {
258
- fontSize: 18,
259
- fontWeight: 600,
260
- lineHeight: '24px',
261
- },
262
- subtitle3: {
263
- fontSize: 16,
264
- fontWeight: 600,
265
- lineHeight: '24px',
266
- },
267
-
268
- body_b1: {
269
- fontWeight: 700,
270
- fontSize: '14px',
271
- lineHeight: '20px',
272
- },
273
- body_b2: {
274
- fontWeight: 700,
275
- fontSize: '14px',
276
- lineHeight: 'auto',
277
- },
278
-
279
- body_sb1: {
280
- fontWeight: 600,
281
- fontSize: '16px',
282
- lineHeight: '24px',
283
- },
284
- body_sb2: {
285
- fontWeight: 600,
286
- fontSize: '16px',
287
- lineHeight: '20px',
288
- },
289
- body_sb3: {
290
- fontWeight: 700,
291
- fontSize: '15px',
292
- lineHeight: '16px',
293
- },
294
- body_sb4: {
295
- fontWeight: 600,
296
- fontSize: '14px',
297
- lineHeight: '20px',
298
- },
299
- body_sb5: {
300
- fontWeight: 600,
301
- fontSize: '12.4px',
302
- lineHeight: '16px',
303
- },
304
-
305
- body_m1: {
306
- fontWeight: 500,
307
- fontSize: '14px',
308
- lineHeight: '20px',
309
- },
310
- body_m2: {
311
- fontWeight: 500,
312
- fontSize: '13px',
313
- lineHeight: '18px',
314
- letterSpacing: '0.2px',
315
- },
316
-
317
- body1: {
318
- fontWeight: 400,
319
- fontSize: '16px',
320
- lineHeight: '24px',
321
- },
322
- body2: {
323
- fontWeight: 400,
324
- fontSize: '16px',
325
- lineHeight: 'auto',
326
- },
327
- body3: {
328
- fontWeight: 400,
329
- fontSize: '15px',
330
- lineHeight: '24px',
331
- },
332
- body4: {
333
- fontWeight: 400,
334
- fontSize: '14px',
335
- lineHeight: '28px',
336
- },
337
- body5: {
338
- fontWeight: 400,
339
- fontSize: '14px',
340
- lineHeight: '20px',
341
- },
342
- body6: {
343
- fontWeight: 400,
344
- fontSize: '13px',
345
- lineHeight: '18px',
346
- },
347
- body7: {
348
- fontWeight: 400,
349
- fontSize: '12.4px',
350
- lineHeight: '16px',
351
- },
352
- body8: {
353
- fontWeight: 400,
354
- fontSize: '12px',
355
- lineHeight: '16px',
356
- },
357
-
358
- small_body_b1: {
359
- fontWeight: 700,
360
- fontSize: '12px',
361
- lineHeight: '12px',
362
- },
363
- small_body_b2: {
364
- fontWeight: 700,
365
- fontSize: '12px',
366
- lineHeight: '16px',
367
- },
368
- small_body_b3: {
369
- fontWeight: 700,
370
- fontSize: '10px',
371
- lineHeight: 'auto',
372
- },
373
- small_body_b4: {
374
- fontWeight: 700,
375
- fontSize: '10px',
376
- lineHeight: '12px',
377
- },
378
- small_body_b5: {
379
- fontWeight: 700,
380
- fontSize: '8px',
381
- lineHeight: 'auto',
382
- },
383
-
384
- small_body_sb1: {
385
- fontWeight: 600,
386
- fontSize: '12px',
387
- lineHeight: '16px',
388
- },
389
-
390
- small_body_m1: {
391
- fontWeight: 500,
392
- fontSize: '13px',
393
- lineHeight: '20px',
394
- },
395
- small_body_m2: {
396
- fontWeight: 500,
397
- fontSize: '12px',
398
- lineHeight: '20px',
399
- },
400
- small_body_m3: {
401
- fontWeight: 500,
402
- fontSize: '10px',
403
- lineHeight: 'auto',
404
- },
405
- small_body_m4: {
406
- fontWeight: 500,
407
- fontSize: '10px',
408
- lineHeight: '16px',
409
- },
410
- small_body_m5: {
411
- fontWeight: 500,
412
- fontSize: '8px',
413
- lineHeight: 'auto',
414
- },
415
- small_body_m6: {
416
- fontWeight: 500,
417
- fontSize: '8px',
418
- lineHeight: '12px',
419
- },
420
- small_body_m7: {
421
- fontWeight: 500,
422
- fontSize: '7px',
423
- lineHeight: 'auto',
424
- },
425
-
426
- small_body1: {
427
- fontWeight: 400,
428
- fontSize: '13px',
429
- lineHeight: '24px',
430
- },
431
- small_body2: {
432
- fontWeight: 400,
433
- fontSize: '12px',
434
- lineHeight: '20px',
435
- },
436
- small_body3: {
437
- fontWeight: 400,
438
- fontSize: '10px',
439
- lineHeight: 'auto',
440
- },
441
- small_body4: {
442
- fontWeight: 400,
443
- fontSize: '10px',
444
- lineHeight: '14px',
445
- },
446
- small_body5: {
447
- fontWeight: 400,
448
- fontSize: '8px',
449
- lineHeight: 'auto',
450
- },
451
-
452
- small_body_l1: {
453
- fontWeight: 300,
454
- fontSize: '10px',
455
- lineHeight: '20px',
456
- },
457
- small_body_l2: {
458
- fontWeight: 300,
459
- fontSize: '7px',
460
- lineHeight: 'auto',
461
- },
462
-
463
- overline: {
464
- fontWeight: 500,
465
- fontSize: '14px',
466
- lineHeight: '20px',
467
- letterSpacing: '1px',
468
- textTransform: 'uppercase',
469
- },
470
-
471
- button1: {
472
- fontWeight: 600,
473
- fontSize: '16px',
474
- lineHeight: '22px',
475
- textTransform: 'capitalize',
476
- },
477
- button2: {
478
- fontWeight: 600,
479
- fontSize: '14px',
480
- lineHeight: '20px',
481
- letterSpacing: '0.2px',
482
- textTransform: 'capitalize',
483
- },
484
-
485
- caption: {
486
- fontWeight: 500,
487
- fontSize: '12px',
488
- lineHeight: '16px',
489
- },
490
- };
491
-
492
- export default typographyOptions;
package/src/index.ts DELETED
@@ -1,4 +0,0 @@
1
- import theme from './theme';
2
-
3
- export { theme };
4
- export * from './components';
@@ -1,71 +0,0 @@
1
- /// <reference types="node" />
2
- /// <reference types="react" />
3
- /// <reference types="react-dom" />
4
-
5
- declare namespace NodeJS {
6
- interface ProcessEnv {
7
- readonly NODE_ENV: 'development' | 'production' | 'test';
8
- readonly PUBLIC_URL: string;
9
- }
10
- }
11
-
12
- declare module '*.avif' {
13
- const src: string;
14
- export default src;
15
- }
16
-
17
- declare module '*.bmp' {
18
- const src: string;
19
- export default src;
20
- }
21
-
22
- declare module '*.gif' {
23
- const src: string;
24
- export default src;
25
- }
26
-
27
- declare module '*.jpg' {
28
- const src: string;
29
- export default src;
30
- }
31
-
32
- declare module '*.jpeg' {
33
- const src: string;
34
- export default src;
35
- }
36
-
37
- declare module '*.png' {
38
- const src: string;
39
- export default src;
40
- }
41
-
42
- declare module '*.webp' {
43
- const src: string;
44
- export default src;
45
- }
46
-
47
- declare module '*.svg' {
48
- import * as React from 'react';
49
-
50
- export const ReactComponent: React.FunctionComponent<React.SVGProps<
51
- SVGSVGElement
52
- > & { title?: string }>;
53
-
54
- const src: string;
55
- export default src;
56
- }
57
-
58
- declare module '*.module.css' {
59
- const classes: { readonly [key: string]: string };
60
- export default classes;
61
- }
62
-
63
- declare module '*.module.scss' {
64
- const classes: { readonly [key: string]: string };
65
- export default classes;
66
- }
67
-
68
- declare module '*.module.sass' {
69
- const classes: { readonly [key: string]: string };
70
- export default classes;
71
- }
@@ -1,15 +0,0 @@
1
- import { ReportHandler } from 'web-vitals';
2
-
3
- const reportWebVitals = (onPerfEntry?: ReportHandler) => {
4
- if (onPerfEntry && onPerfEntry instanceof Function) {
5
- import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
6
- getCLS(onPerfEntry);
7
- getFID(onPerfEntry);
8
- getFCP(onPerfEntry);
9
- getLCP(onPerfEntry);
10
- getTTFB(onPerfEntry);
11
- });
12
- }
13
- };
14
-
15
- export default reportWebVitals;
package/src/setupTests.ts DELETED
@@ -1,5 +0,0 @@
1
- // jest-dom adds custom jest matchers for asserting on DOM nodes.
2
- // allows you to do things like:
3
- // expect(element).toHaveTextContent(/react/i)
4
- // learn more: https://github.com/testing-library/jest-dom
5
- import '@testing-library/jest-dom';
@@ -1,27 +0,0 @@
1
- import { ThemeOptions } from '@mui/material';
2
-
3
- declare module '@mui/material/styles' {
4
- interface Theme {
5
- leftDrawer: {
6
- width: React.CSSProperties['width'];
7
- };
8
- rightDrawer: {
9
- width: React.CSSProperties['width'];
10
- };
11
- }
12
- interface ThemeOptions {
13
- leftDrawer: {
14
- width: React.CSSProperties['width'];
15
- };
16
- rightDrawer: {
17
- width: React.CSSProperties['width'];
18
- };
19
- }
20
- }
21
-
22
- const drawer: ThemeOptions = {
23
- leftDrawer: { width: 240 },
24
- rightDrawer: { width: 260 },
25
- };
26
-
27
- export default drawer;
@@ -1,7 +0,0 @@
1
- export const SCROLLBAR_WIDTH = 10;
2
- export const SMALL_SCROLLBAR_WIDTH = 6;
3
- export const DRAWER_WIDTH_OPEN = 280;
4
- export const DRAWER_WIDTH_CLOSE = 52;
5
- export const VIEWER_DRAWER_WIDTH_OPEN = 280;
6
-
7
- export { default as drawer } from './drawer';
package/src/theme.ts DELETED
@@ -1,22 +0,0 @@
1
- import { createTheme } from '@mui/material/styles';
2
- import MuiCssBaseline from './components/MuiCssBaseline';
3
- import MuiInputBase from './components/MuiInputBase';
4
- import MuiOutlinedInput from './components/MuiOutlinedInput';
5
- import MuiTextField from './components/MuiTextField';
6
- import { palette, spacing, typography } from './foundations';
7
- import { drawer } from './systems';
8
-
9
- const theme = createTheme({
10
- ...drawer,
11
- palette,
12
- spacing,
13
- typography,
14
- components: {
15
- MuiCssBaseline,
16
- MuiInputBase,
17
- MuiOutlinedInput,
18
- MuiTextField,
19
- },
20
- });
21
-
22
- export default theme;