@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,407 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-empty-interface */
2
- import { PaletteOptions } from '@mui/material';
3
-
4
- type PaletteOptionItem<T extends PropertyKey> = Record<T, React.CSSProperties['color']>;
5
-
6
- // Global Colors
7
- type LunitTealKey = '5' | '10' | '20' | '30' | '40' | '50' | '60' | '70' | '80' | '90';
8
-
9
- type NeutralColorKey =
10
- | '0'
11
- | '5'
12
- | '10'
13
- | '15'
14
- | '20'
15
- | '25'
16
- | '30'
17
- | '35'
18
- | '40'
19
- | '45'
20
- | '50'
21
- | '55'
22
- | '60'
23
- | '65'
24
- | '70'
25
- | '75'
26
- | '80'
27
- | '85'
28
- | '90'
29
- | '95'
30
- | '96'
31
- | '97'
32
- | '100';
33
-
34
- type YellowKey = '5' | '10' | '20';
35
- type OrangeKey = '5' | '10' | '20';
36
-
37
- type MagentaKey = '5' | '10' | '20' | '30' | '40' | '50' | '60' | '70' | '80' | '90' | '100';
38
-
39
- type RedKey = '5' | '10' | '20' | '30' | '40' | '50';
40
-
41
- type BlueKey =
42
- | '5'
43
- | '10'
44
- | '15'
45
- | '20'
46
- | '25'
47
- | '30'
48
- | '35'
49
- | '40'
50
- | '45'
51
- | '50'
52
- | '55'
53
- | '60'
54
- | '65'
55
- | '70'
56
- | '75';
57
-
58
- type GreenKey = '10' | '20' | '30' | '40' | '50';
59
-
60
- type PurpleKey = '5' | '10' | '15' | '20' | '30' | '40' | '50' | '60' | '70' | '80';
61
-
62
- export type LunitTeal = PaletteOptionItem<LunitTealKey>;
63
- export type NeutralColor = PaletteOptionItem<NeutralColorKey>;
64
- export type Yellow = PaletteOptionItem<YellowKey>;
65
- export type Orange = PaletteOptionItem<OrangeKey>;
66
- export type Magenta = PaletteOptionItem<MagentaKey>;
67
- export type Red = PaletteOptionItem<RedKey>;
68
- export type Blue = PaletteOptionItem<BlueKey>;
69
- export type Green = PaletteOptionItem<GreenKey>;
70
- export type Purple = PaletteOptionItem<PurpleKey>;
71
-
72
- // Histological Features
73
- type TPSKey = 'Cutoff1' | 'Cutoff49' | 'Cutoff50' | 'PositiveTc' | 'NegativeTc';
74
- type CPSKey =
75
- | 'Cutoff1'
76
- | 'Cutoff10'
77
- | 'Ca'
78
- | 'Cis'
79
- | 'Pch'
80
- | 'PcL'
81
- | 'PositiveTc'
82
- | 'NegativeTc'
83
- | 'PositiveIc'
84
- | 'NegativeIc';
85
-
86
- type IOKey =
87
- | 'BmrkCutoff1'
88
- | 'BmrkCutoff20'
89
- | 'Inflamed'
90
- | 'ImmuneEx'
91
- | 'ImmuneDsrt'
92
- | 'Ca'
93
- | 'Cs'
94
- | 'Lc'
95
- | 'Tc';
96
-
97
- type TumorPurityKey = 'DensityBar' | 'Ca' | 'Tc' | 'Ntc';
98
-
99
- type HER2Key =
100
- | 'Ca'
101
- | 'Cis'
102
- | 'Her2_Negative'
103
- | 'Her2_1_Positive'
104
- | 'Her2_2_Positive'
105
- | 'Her2_3_Positive';
106
-
107
- type ERPRKey =
108
- | 'Ca'
109
- | 'Cis'
110
- | 'Erpr_Negative'
111
- | 'Erpr_1_Positive'
112
- | 'Erpr_2_Positive'
113
- | 'Erpr_3_Positive'
114
- | 'Cutoff0'
115
- | 'Cutoff1'
116
- | 'Cutoff10';
117
-
118
- export type TPS = PaletteOptionItem<TPSKey>;
119
- export type CPS = PaletteOptionItem<CPSKey>;
120
- export type IO = PaletteOptionItem<IOKey>;
121
- export type TumorPurity = PaletteOptionItem<TumorPurityKey>;
122
- export type HER2 = PaletteOptionItem<HER2Key>;
123
- export type ERPR = PaletteOptionItem<ERPRKey>;
124
-
125
- // Others
126
- type OthersKey =
127
- | 'RowHover'
128
- | 'DatePickerHover'
129
- | 'Teal50Op20'
130
- | 'Teal50Op18'
131
- | 'Grn20Op32'
132
- | 'Grn30OP32';
133
-
134
- export type Others = PaletteOptionItem<OthersKey>;
135
-
136
- type AlertKey = 'InfoBG' | 'SuccessBG' | 'ErrorBG' | 'WarningBG';
137
-
138
- export type Alert = PaletteOptionItem<AlertKey>;
139
-
140
- // Analysis Status
141
- type AnalysisStatusKey =
142
- | 'Uploaded'
143
- | 'Ready'
144
- | 'ReadyHover'
145
- | 'ReadySelected'
146
- | 'Inferred'
147
- | 'InferredHover'
148
- | 'InferredSelected'
149
- | 'Analyzing'
150
- | 'Analyzed'
151
- | 'FailedEnabled'
152
- | 'FailedHover'
153
- | 'FailedSelected'
154
- | 'Ready'
155
- | 'ReadyHover'
156
- | 'ReadySelected'
157
- | 'Inferred'
158
- | 'InferredHover'
159
- | 'InferredSelected'
160
- | 'Invalid'
161
- | 'InvalidHover'
162
- | 'InvalidSelected';
163
-
164
- export type AnalysisStatus = PaletteOptionItem<AnalysisStatusKey>;
165
-
166
- export interface LunitPalette {
167
- brand: unknown;
168
- lunitTeal: LunitTeal;
169
- neutralGrey: NeutralColor;
170
- yellow: Yellow;
171
- orange: Orange;
172
- magenta: Magenta;
173
- red: Red;
174
- blue: Blue;
175
- green: Green;
176
- purple: Purple;
177
-
178
- pdl1Tps: TPS;
179
- pdl1Cps: CPS;
180
- io: IO;
181
- tumorPurity: TumorPurity;
182
- her2: HER2;
183
- erpr: ERPR;
184
-
185
- others: Others;
186
- alert: Alert;
187
- /**
188
- * @todo The dot, text colors for Analysis Status have not yet been determined.
189
- * We will be updated once they are decided in the all-in-one plan. (hjkwon)
190
- */
191
- analysisStatus: AnalysisStatus;
192
- }
193
-
194
- declare module '@mui/material/styles' {
195
- interface Palette extends LunitPalette {}
196
- interface PaletteOptions extends LunitPalette {}
197
- }
198
-
199
- const palette: PaletteOptions = {
200
- brand: {
201
- primary: '#3BC9DB',
202
- secondary: '#96EDFF',
203
- },
204
- text: {
205
- primary: '#FFFFFF',
206
- secondary: '#AFAFB1',
207
- disabled: '#A8A8A8',
208
- },
209
- background: {},
210
- common: {},
211
- lunitTeal: {
212
- 5: '#EAFAFF',
213
- 10: '#96EDFF',
214
- 20: '#30DFFC',
215
- 30: '#3BC9DB',
216
- 40: '#00C9EA',
217
- 50: '#0ABEE5',
218
- 60: '#00B3DB',
219
- 70: '#048AB4',
220
- 80: '#05495F',
221
- 90: '#002930',
222
- },
223
- neutralGrey: {
224
- 0: '#FFFFFF',
225
- 5: '#FAFAFB',
226
- 10: '#FAFAFA',
227
- 15: '#F1F1F4',
228
- 20: '#DFDFE2',
229
- 25: '#D4D4D6',
230
- 30: '#C6C6C8',
231
- 35: '#C4C4C4',
232
- 40: '#AFAFB1',
233
- 45: '#99999B',
234
- 50: '#7F7F81',
235
- 55: '#737377',
236
- 60: '#747477',
237
- 65: '#626264',
238
- 70: '#4E4E50',
239
- 75: '#3E3E40',
240
- 80: '#363B3E',
241
- 85: '#333336',
242
- 90: '#2D2D2F',
243
- 95: '#1F1F21',
244
- 96: '#1E1E1E',
245
- 97: '#111113',
246
- 100: '#000000',
247
- },
248
- yellow: {
249
- 5: '#FAF089',
250
- 10: '#FFE500',
251
- 20: '#FFE600',
252
- },
253
- orange: {
254
- 5: '#FFD9BE',
255
- 10: '#FFB784',
256
- 20: '#FF9B54',
257
- },
258
- magenta: {
259
- 5: '#F9D1D1',
260
- 10: '#FFC9C9',
261
- 20: '#FAB2D3',
262
- 30: '#FFA4B6',
263
- 40: '#FF8787',
264
- 50: '#FF8389',
265
- 60: '#FB7791',
266
- 70: '#F765A3',
267
- 80: '#FF50A0',
268
- 90: '#E41976',
269
- 100: '#B20052',
270
- },
271
- red: {
272
- 5: '#FA4D56',
273
- 10: '#FE353F',
274
- 20: '#FF0000',
275
- 30: '#E63B28',
276
- 40: '#DA1E28',
277
- 50: '#A60D0D',
278
- },
279
- blue: {
280
- 5: '#A5D8FF',
281
- 10: '#A6C0D6',
282
- 15: '#4DABF7',
283
- 20: '#78A9FF',
284
- 25: '#748FFC',
285
- 30: '#587EFC',
286
- 35: '#1971D7',
287
- 40: '#3A5DD9',
288
- 45: '#4F5DC5',
289
- 50: '#443AFF',
290
- 55: '#165BAA',
291
- 60: '#0055AB',
292
- 65: '#132A9B',
293
- 70: '#034480',
294
- 75: '#0B1354',
295
- },
296
- green: {
297
- 10: '#73FF0C',
298
- 20: '#66BB6A',
299
- 30: '#42BE65',
300
- 40: '#24A148',
301
- 50: '#014B58',
302
- },
303
- purple: {
304
- 5: '#BAC8FF',
305
- 10: '#B0C0F4',
306
- 15: '#D0BFFF',
307
- 20: '#C378DB',
308
- 30: '#9775FA',
309
- 40: '#9E6BF0',
310
- 50: '#A155B9',
311
- 60: '#8D2FAB',
312
- 70: '#7E41DA',
313
- 80: '#3612A1',
314
- },
315
- pdl1Tps: {
316
- Cutoff1: '#5091FF',
317
- Cutoff49: '#0CA678',
318
- Cutoff50: '#F76707',
319
- PositiveTc: '#AD1EFF',
320
- NegativeTc: '#1EFCFF',
321
- },
322
- pdl1Cps: {
323
- Cutoff1: '#5091FF',
324
- Cutoff10: '#F76707',
325
- Ca: '#0CA678',
326
- Cis: '#5B8DEF',
327
- Pch: '#FF8989',
328
- PcL: '#D6C896',
329
- PositiveTc: '#AD1EFF',
330
- NegativeTc: '#1EFCFF',
331
- PositiveIc: '#FFEE59',
332
- NegativeIc: '#FF5403',
333
- },
334
- io: {
335
- BmrkCutoff1: '#5091FF',
336
- BmrkCutoff20: '#EE5140',
337
- Inflamed: '#C65F6E',
338
- ImmuneEx: '#91C4A3',
339
- ImmuneDsrt: '#143DDE',
340
- Ca: '#0CA678',
341
- Cs: '#91C4A3',
342
- Lc: '#FFF950',
343
- Tc: '#F76707',
344
- },
345
- tumorPurity: {
346
- DensityBar: '#EE5140',
347
- Ca: '#0CA678',
348
- Tc: '#F76707',
349
- Ntc: '#FFF950',
350
- },
351
- her2: {
352
- Ca: '#0CA678',
353
- Cis: '#5B8DEF',
354
- Her2_Negative: '#4B93F9',
355
- Her2_1_Positive: '#79FD4B',
356
- Her2_2_Positive: '#F8E71C',
357
- Her2_3_Positive: '#EF0B0B',
358
- },
359
- erpr: {
360
- Ca: '#0CA678',
361
- Cis: '#5B8DEF',
362
- Erpr_Negative: '#4B93F9',
363
- Erpr_1_Positive: '#79FD4B',
364
- Erpr_2_Positive: '#F8E71C',
365
- Erpr_3_Positive: '#EF0B0B',
366
- Cutoff0: '#75F0DA',
367
- Cutoff1: '#FD6D0D',
368
- Cutoff10: '#9E5EFF',
369
- },
370
- others: {
371
- RowHover: 'rgba(134, 148, 177, 0.08)',
372
- DatePickerHover: 'rgba(114, 146, 253, 0.3)',
373
- Teal50Op20: 'rgba(0, 201, 234, 0.2)',
374
- Teal50Op18: 'rgba(0, 201, 234, 0.18)',
375
- Grn20Op32: 'rgba(102, 187, 106, 0.32)',
376
- Grn30OP32: 'rgba(66, 190, 101, 0.32)',
377
- },
378
- alert: {
379
- InfoBG: 'rgba(55, 81, 167, 0.92)',
380
- SuccessBG: 'rgba(0, 137, 159, 0.92)',
381
- ErrorBG: 'rgba(116, 25, 15, 0.9)',
382
- WarningBG: 'rgba(209, 188, 0, 0.7)',
383
- },
384
- analysisStatus: {
385
- Uploaded: '#99B8D1',
386
- Analyzing: '#AA99EC',
387
- Analyzed: '#8DCEC3',
388
- FailedEnabled: '#CA1414',
389
- FailedHover: '#FF8787',
390
- FailedSelected: '#A60D0D',
391
- Ready: '#00D1FF',
392
- ReadyHover: '#38E3FF',
393
- ReadySelected: '#006379',
394
- Inferred: '#3E63DD',
395
- InferredHover: '#46BCFF',
396
- InferredSelected: '#273E89',
397
- Invalid: '#838389',
398
- InvalidHover: '#A7A7A7',
399
- InvalidSelected: '#6E6E74',
400
- },
401
- info: { main: '#748FFC' },
402
- success: { main: '#00C9EA' },
403
- error: { main: '#FA4D56' },
404
- warning: { main: '#FFE600' },
405
- };
406
-
407
- export default palette;
@@ -1,5 +0,0 @@
1
- import { SpacingOptions } from '@mui/system';
2
-
3
- const spacing: SpacingOptions = 4;
4
-
5
- export default spacing;