@lunit/oui 1.0.1-alpha.13 → 1.0.1-alpha.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.
- package/dist/index.js +0 -1
- package/dist/types/index.d.ts +0 -1
- package/package.json +7 -20
- package/src/assets/ic-bell-noti-outlined-20px.tsx +21 -0
- package/src/assets/ic-close-large-outlined-20px.tsx +17 -0
- package/src/assets/ic-close-small-outlined-20px.tsx +17 -0
- package/src/assets/ic-download-pdf-outlined-20px.tsx +18 -0
- package/src/assets/ic-ellipse-outlined-20px.tsx +17 -0
- package/src/assets/ic-filter-noti-outlined-20px.tsx +21 -0
- package/src/assets/ic-hide-large-outlined-20px.tsx +13 -0
- package/src/assets/ic-hide-small-outlined-20px.tsx +17 -0
- package/src/assets/ic-information-large-outlined-20px.tsx +17 -0
- package/src/assets/ic-information-small-outlined-20px.tsx +17 -0
- package/src/assets/ic-manufacturer-outlined-20px.tsx +19 -0
- package/src/assets/ic-rectangle-outlined-20px.tsx +17 -0
- package/src/assets/ic-refresh-left-outlined-20px.tsx +17 -0
- package/src/assets/ic-refresh-right-outlined-20px.tsx +13 -0
- package/src/assets/ic-show-large-outlined-20px.tsx +17 -0
- package/src/assets/ic-show-small-outlined-20px.tsx +17 -0
- package/src/assets/ic_bell_noti=outlined_20px.svg +5 -0
- package/src/assets/ic_close_large=outlined_20px.svg +4 -0
- package/src/assets/ic_close_small=outlined_20px.svg +4 -0
- package/src/assets/ic_download_pdf=outlined_20px.svg +7 -0
- package/src/assets/ic_ellipse=outlined_20px.svg +4 -0
- package/src/assets/ic_filter_noti=outlined_20px.svg +5 -0
- package/src/assets/ic_hide_large=outlined_20px.svg +4 -0
- package/src/assets/ic_hide_small=outlined_20px.svg +4 -0
- package/src/assets/ic_information_large=outlined_20px.svg +4 -0
- package/src/assets/ic_information_small=outlined_20px.svg +4 -0
- package/src/assets/ic_manufacturer=outlined_20px.svg +3 -0
- package/src/assets/ic_rectangle=outlined_20px.svg +4 -0
- package/src/assets/ic_refresh_left=outlined_20px.svg +4 -0
- package/src/assets/ic_refresh_right=outlined_20px.svg +4 -0
- package/src/assets/ic_show_large=outlined_20px.svg +4 -0
- package/src/assets/ic_show_small=outlined_20px.svg +4 -0
- package/src/assets/index.ts +16 -0
- package/src/components/Alert/Alert.styled.ts +44 -0
- package/src/components/Alert/Alert.tsx +39 -0
- package/src/components/Alert/Alert.types.ts +5 -0
- package/src/components/Alert/Alert.utils.tsx +43 -0
- package/src/components/Alert/index.ts +5 -0
- package/src/components/BaseTextField/BaseTextField.styled.ts +110 -0
- package/src/components/BaseTextField/BaseTextField.types.ts +25 -0
- package/src/components/BaseTextField/BaseTextField.utils.ts +10 -0
- package/src/components/Button/BaseButton.tsx +19 -0
- package/src/components/Button/Button.tsx +117 -0
- package/src/components/Button/Button.types.ts +36 -0
- package/src/components/Button/Button.utils.ts +13 -0
- package/src/components/Button/index.ts +6 -0
- package/src/components/Button/styleds/BaseButton.styled.ts +57 -0
- package/src/components/Button/styleds/ContainedButton.styled.ts +123 -0
- package/src/components/Button/styleds/GhostButton.styled.ts +139 -0
- package/src/components/Button/styleds/IconButton.styled.ts +25 -0
- package/src/components/Button/styleds/OutlinedButton.styled.ts +144 -0
- package/src/components/Card/Card.styled.tsx +18 -0
- package/src/components/Card/Card.tsx +18 -0
- package/src/components/Card/Card.types.ts +10 -0
- package/src/components/Card/index.ts +5 -0
- package/src/components/Checkbox/Checkbox.styled.tsx +27 -0
- package/src/components/Checkbox/Checkbox.tsx +64 -0
- package/src/components/Checkbox/Checkbox.types.ts +16 -0
- package/src/components/Checkbox/Checkbox.utils.tsx +42 -0
- package/src/components/Checkbox/index.ts +5 -0
- package/src/components/Chip/Chip.styled.ts +120 -0
- package/src/components/Chip/Chip.tsx +33 -0
- package/src/components/Chip/Chip.types.ts +18 -0
- package/src/components/Chip/Chip.utils.tsx +50 -0
- package/src/components/Chip/index.ts +4 -0
- package/src/components/DataTable/DataTable.styled.ts +66 -0
- package/src/components/DataTable/DataTable.tsx +29 -0
- package/src/components/DataTable/index.ts +1 -0
- package/src/components/DatePicker/DatePicker.styled.ts +19 -0
- package/src/components/DatePicker/DatePicker.tsx +194 -0
- package/src/components/DatePicker/DatePicker.types.ts +8 -0
- package/src/components/DatePicker/index.ts +4 -0
- package/src/components/Dialog/Dialog.styled.ts +87 -0
- package/src/components/Dialog/Dialog.tsx +111 -0
- package/src/components/Dialog/Dialog.types.ts +19 -0
- package/src/components/Dialog/index.ts +5 -0
- package/src/components/Divider/Divider.styled.ts +24 -0
- package/src/components/Divider/Divider.tsx +13 -0
- package/src/components/Divider/Divider.types.ts +7 -0
- package/src/components/Divider/index.ts +5 -0
- package/src/components/Dropdown/Dropdown.styled.tsx +127 -0
- package/src/components/Dropdown/Dropdown.tsx +116 -0
- package/src/components/Dropdown/Dropdown.types.ts +31 -0
- package/src/components/Dropdown/Dropdown.utils.ts +13 -0
- package/src/components/Dropdown/DropdownItem.styled.tsx +66 -0
- package/src/components/Dropdown/DropdownItem.tsx +45 -0
- package/src/components/Dropdown/DropdownItem.types.ts +14 -0
- package/src/components/Dropdown/DropdownItem.utils.ts +14 -0
- package/src/components/Dropdown/DropdownSubtitle.styled.ts +13 -0
- package/src/components/Dropdown/DropdownSubtitle.tsx +9 -0
- package/src/components/Dropdown/DropdownSubtitle.types.ts +6 -0
- package/src/components/Dropdown/IconDropdown.styled.tsx +82 -0
- package/src/components/Dropdown/IconDropdown.tsx +56 -0
- package/src/components/Dropdown/IconDropdown.types.ts +22 -0
- package/src/components/Dropdown/index.ts +22 -0
- package/src/components/FileDnDZone/FileDnDZone.styled.ts +43 -0
- package/src/components/FileDnDZone/FileDnDZone.tsx +81 -0
- package/src/components/FileDnDZone/FileDnDZone.types.ts +14 -0
- package/src/components/FileDnDZone/FileDnDZone.utils.ts +3 -0
- package/src/components/FileDnDZone/index.ts +5 -0
- package/src/components/List/List.styled.ts +31 -0
- package/src/components/List/List.tsx +71 -0
- package/src/components/List/List.types.ts +24 -0
- package/src/components/List/List.utils.ts +14 -0
- package/src/components/List/ListItem.styled.tsx +61 -0
- package/src/components/List/ListItem.tsx +66 -0
- package/src/components/List/ListItem.types.ts +40 -0
- package/src/components/List/ListItemCaption.styled.tsx +7 -0
- package/src/components/List/ListItemCaption.tsx +18 -0
- package/src/components/List/ListItemCaption.types.ts +2 -0
- package/src/components/List/index.ts +8 -0
- package/src/components/LoadingIndicator/LoadingIndicator.styled.tsx +40 -0
- package/src/components/LoadingIndicator/LoadingIndicator.tsx +44 -0
- package/src/components/LoadingIndicator/LoadingIndicator.types.ts +7 -0
- package/src/components/LoadingIndicator/assets/DnaLoadingAnimation.json +769 -0
- package/src/components/LoadingIndicator/assets/DotLoadingAnimation.json +426 -0
- package/src/components/LoadingIndicator/index.ts +5 -0
- package/src/components/Menu/Menu.styled.tsx +42 -0
- package/src/components/Menu/Menu.tsx +28 -0
- package/src/components/Menu/Menu.types.ts +18 -0
- package/src/components/Menu/MenuItem.styled.ts +62 -0
- package/src/components/Menu/MenuItem.tsx +45 -0
- package/src/components/Menu/MenuItem.types.ts +14 -0
- package/src/components/Menu/index.ts +5 -0
- package/src/components/MuiCssBaseline.ts +78 -0
- package/src/components/MuiInputBase.ts +25 -0
- package/src/components/MuiOutlinedInput.ts +57 -0
- package/src/components/MuiTextField.ts +17 -0
- package/src/components/Pagination/Pagination.styled.tsx +71 -0
- package/src/components/Pagination/Pagination.tsx +182 -0
- package/src/components/Pagination/Pagination.types.ts +39 -0
- package/src/components/Pagination/index.ts +2 -0
- package/src/components/ProductLabel/ProductLabel.styled.ts +61 -0
- package/src/components/ProductLabel/ProductLabel.tsx +57 -0
- package/src/components/ProductLabel/ProductLabel.types.ts +10 -0
- package/src/components/ProductLabel/index.ts +5 -0
- package/src/components/Progress/CircularProgress.styled.ts +10 -0
- package/src/components/Progress/CircularProgress.tsx +15 -0
- package/src/components/Progress/CircularProgress.types.ts +6 -0
- package/src/components/Progress/LinearProgress.styled.ts +15 -0
- package/src/components/Progress/LinearProgress.tsx +16 -0
- package/src/components/Progress/LinearProgress.types.ts +7 -0
- package/src/components/Progress/index.ts +4 -0
- package/src/components/Radio/Radio.styled.ts +35 -0
- package/src/components/Radio/Radio.tsx +60 -0
- package/src/components/Radio/Radio.types.ts +15 -0
- package/src/components/Radio/RadioGroup.styled.ts +6 -0
- package/src/components/Radio/RadioGroup.tsx +23 -0
- package/src/components/Radio/RadioGroup.types.ts +10 -0
- package/src/components/Radio/index.ts +7 -0
- package/src/components/Stepper/Stepper.styled.ts +38 -0
- package/src/components/Stepper/Stepper.tsx +24 -0
- package/src/components/Stepper/Stepper.types.ts +13 -0
- package/src/components/Stepper/index.ts +5 -0
- package/src/components/TabbedPanel/TabbedPanel.styled.ts +129 -0
- package/src/components/TabbedPanel/TabbedPanel.tsx +70 -0
- package/src/components/TabbedPanel/TabbedPanel.types.ts +36 -0
- package/src/components/TabbedPanel/TabbedPanel.utils.ts +21 -0
- package/src/components/TabbedPanel/index.ts +5 -0
- package/src/components/TextField/TextArea.styled.tsx +36 -0
- package/src/components/TextField/TextArea.tsx +35 -0
- package/src/components/TextField/TextArea.types.ts +28 -0
- package/src/components/TextField/TextInput.styled.tsx +115 -0
- package/src/components/TextField/TextInput.tsx +27 -0
- package/src/components/TextField/TextInput.types.ts +46 -0
- package/src/components/TextField/TextInput.utils.ts +7 -0
- package/src/components/TextField/components/Buttons.tsx +26 -0
- package/src/components/TextField/components/NormalTextInput.tsx +95 -0
- package/src/components/TextField/components/PasswordInput.tsx +92 -0
- package/src/components/TextField/index.ts +7 -0
- package/src/components/Tooltip/Tooltip.styled.tsx +36 -0
- package/src/components/Tooltip/Tooltip.tsx +58 -0
- package/src/components/Tooltip/Tooltip.types.ts +24 -0
- package/src/components/Tooltip/Tooltip.utils.ts +46 -0
- package/src/components/Tooltip/index.ts +5 -0
- package/src/components/UploadManager/UploadManager.styled.ts +49 -0
- package/src/components/UploadManager/UploadManager.tsx +271 -0
- package/src/components/UploadManager/UploadManager.types.ts +16 -0
- package/src/components/UploadManager/index.ts +5 -0
- package/src/components/index.ts +23 -0
- package/src/foundations/index.ts +4 -0
- package/src/foundations/palette.ts +418 -0
- package/src/foundations/spacing.ts +5 -0
- package/src/foundations/styles.ts +9 -0
- package/src/foundations/typography.ts +492 -0
- package/src/icons/BellNoti/index.tsx +28 -0
- package/src/icons/CloseLarge/index.tsx +28 -0
- package/src/icons/CloseSmall/index.tsx +28 -0
- package/src/icons/DownloadPdf/index.tsx +28 -0
- package/src/icons/Ellipse/index.tsx +28 -0
- package/src/icons/FilterNoti/index.tsx +28 -0
- package/src/icons/HideLarge/index.tsx +28 -0
- package/src/icons/HideSmall/index.tsx +28 -0
- package/src/icons/InformationLarge/index.tsx +28 -0
- package/src/icons/InformationSmall/index.tsx +28 -0
- package/src/icons/Manufacturer/index.tsx +28 -0
- package/src/icons/Rectangle/index.tsx +28 -0
- package/src/icons/RefreshLeft/index.tsx +28 -0
- package/src/icons/RefreshRight/index.tsx +28 -0
- package/src/icons/ShowLarge/index.tsx +28 -0
- package/src/icons/ShowSmall/index.tsx +28 -0
- package/src/icons/index.ts +180 -0
- package/src/index.ts +4 -0
- package/src/react-app-env.d.ts +71 -0
- package/src/reportWebVitals.ts +15 -0
- package/src/setupTests.ts +5 -0
- package/src/systems/drawer.ts +27 -0
- package/src/systems/index.ts +7 -0
- package/src/theme.ts +22 -0
|
@@ -0,0 +1,418 @@
|
|
|
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: {
|
|
168
|
+
primary: React.CSSProperties['color'];
|
|
169
|
+
secondary: React.CSSProperties['color'];
|
|
170
|
+
};
|
|
171
|
+
scope1: React.CSSProperties['color'];
|
|
172
|
+
scope2: React.CSSProperties['color'];
|
|
173
|
+
scope3: React.CSSProperties['color'];
|
|
174
|
+
scope4: React.CSSProperties['color'];
|
|
175
|
+
lunitTeal: LunitTeal;
|
|
176
|
+
neutralGrey: NeutralColor;
|
|
177
|
+
yellow: Yellow;
|
|
178
|
+
orange: Orange;
|
|
179
|
+
magenta: Magenta;
|
|
180
|
+
red: Red;
|
|
181
|
+
blue: Blue;
|
|
182
|
+
green: Green;
|
|
183
|
+
purple: Purple;
|
|
184
|
+
|
|
185
|
+
pdl1Tps: TPS;
|
|
186
|
+
pdl1Cps: CPS;
|
|
187
|
+
io: IO;
|
|
188
|
+
tumorPurity: TumorPurity;
|
|
189
|
+
her2: HER2;
|
|
190
|
+
erpr: ERPR;
|
|
191
|
+
|
|
192
|
+
others: Others;
|
|
193
|
+
alert: Alert;
|
|
194
|
+
/**
|
|
195
|
+
* @todo The dot, text colors for Analysis Status have not yet been determined.
|
|
196
|
+
* We will be updated once they are decided in the all-in-one plan. (hjkwon)
|
|
197
|
+
*/
|
|
198
|
+
analysisStatus: AnalysisStatus;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
declare module '@mui/material/styles' {
|
|
202
|
+
interface Palette extends LunitPalette {}
|
|
203
|
+
interface PaletteOptions extends LunitPalette {}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
const palette: PaletteOptions = {
|
|
207
|
+
brand: {
|
|
208
|
+
primary: '#3BC9DB',
|
|
209
|
+
secondary: '#96EDFF',
|
|
210
|
+
},
|
|
211
|
+
text: {
|
|
212
|
+
primary: '#FFFFFF',
|
|
213
|
+
secondary: '#AFAFB1',
|
|
214
|
+
disabled: '#A8A8A8',
|
|
215
|
+
},
|
|
216
|
+
background: {},
|
|
217
|
+
common: {},
|
|
218
|
+
lunitTeal: {
|
|
219
|
+
5: '#EAFAFF',
|
|
220
|
+
10: '#96EDFF',
|
|
221
|
+
20: '#30DFFC',
|
|
222
|
+
30: '#3BC9DB',
|
|
223
|
+
40: '#00C9EA',
|
|
224
|
+
50: '#0ABEE5',
|
|
225
|
+
60: '#00B3DB',
|
|
226
|
+
70: '#048AB4',
|
|
227
|
+
80: '#05495F',
|
|
228
|
+
90: '#002930',
|
|
229
|
+
},
|
|
230
|
+
neutralGrey: {
|
|
231
|
+
0: '#FFFFFF',
|
|
232
|
+
5: '#FAFAFB',
|
|
233
|
+
10: '#FAFAFA',
|
|
234
|
+
15: '#F1F1F4',
|
|
235
|
+
20: '#DFDFE2',
|
|
236
|
+
25: '#D4D4D6',
|
|
237
|
+
30: '#C6C6C8',
|
|
238
|
+
35: '#C4C4C4',
|
|
239
|
+
40: '#AFAFB1',
|
|
240
|
+
45: '#99999B',
|
|
241
|
+
50: '#7F7F81',
|
|
242
|
+
55: '#737377',
|
|
243
|
+
60: '#747477',
|
|
244
|
+
65: '#626264',
|
|
245
|
+
70: '#4E4E50',
|
|
246
|
+
75: '#3E3E40',
|
|
247
|
+
80: '#363B3E',
|
|
248
|
+
85: '#333336',
|
|
249
|
+
90: '#2D2D2F',
|
|
250
|
+
95: '#1F1F21',
|
|
251
|
+
96: '#1E1E1E',
|
|
252
|
+
97: '#111113',
|
|
253
|
+
100: '#000000',
|
|
254
|
+
},
|
|
255
|
+
yellow: {
|
|
256
|
+
5: '#FAF089',
|
|
257
|
+
10: '#FFE500',
|
|
258
|
+
20: '#FFE600',
|
|
259
|
+
},
|
|
260
|
+
orange: {
|
|
261
|
+
5: '#FFD9BE',
|
|
262
|
+
10: '#FFB784',
|
|
263
|
+
20: '#FF9B54',
|
|
264
|
+
},
|
|
265
|
+
magenta: {
|
|
266
|
+
5: '#F9D1D1',
|
|
267
|
+
10: '#FFC9C9',
|
|
268
|
+
20: '#FAB2D3',
|
|
269
|
+
30: '#FFA4B6',
|
|
270
|
+
40: '#FF8787',
|
|
271
|
+
50: '#FF8389',
|
|
272
|
+
60: '#FB7791',
|
|
273
|
+
70: '#F765A3',
|
|
274
|
+
80: '#FF50A0',
|
|
275
|
+
90: '#E41976',
|
|
276
|
+
100: '#B20052',
|
|
277
|
+
},
|
|
278
|
+
red: {
|
|
279
|
+
5: '#FA4D56',
|
|
280
|
+
10: '#FE353F',
|
|
281
|
+
20: '#FF0000',
|
|
282
|
+
30: '#E63B28',
|
|
283
|
+
40: '#DA1E28',
|
|
284
|
+
50: '#A60D0D',
|
|
285
|
+
},
|
|
286
|
+
blue: {
|
|
287
|
+
5: '#A5D8FF',
|
|
288
|
+
10: '#A6C0D6',
|
|
289
|
+
15: '#4DABF7',
|
|
290
|
+
20: '#78A9FF',
|
|
291
|
+
25: '#748FFC',
|
|
292
|
+
30: '#587EFC',
|
|
293
|
+
35: '#1971D7',
|
|
294
|
+
40: '#3A5DD9',
|
|
295
|
+
45: '#4F5DC5',
|
|
296
|
+
50: '#443AFF',
|
|
297
|
+
55: '#165BAA',
|
|
298
|
+
60: '#0055AB',
|
|
299
|
+
65: '#132A9B',
|
|
300
|
+
70: '#034480',
|
|
301
|
+
75: '#0B1354',
|
|
302
|
+
},
|
|
303
|
+
green: {
|
|
304
|
+
10: '#73FF0C',
|
|
305
|
+
20: '#66BB6A',
|
|
306
|
+
30: '#42BE65',
|
|
307
|
+
40: '#24A148',
|
|
308
|
+
50: '#014B58',
|
|
309
|
+
},
|
|
310
|
+
purple: {
|
|
311
|
+
5: '#BAC8FF',
|
|
312
|
+
10: '#B0C0F4',
|
|
313
|
+
15: '#D0BFFF',
|
|
314
|
+
20: '#C378DB',
|
|
315
|
+
30: '#9775FA',
|
|
316
|
+
40: '#9E6BF0',
|
|
317
|
+
50: '#A155B9',
|
|
318
|
+
60: '#8D2FAB',
|
|
319
|
+
70: '#7E41DA',
|
|
320
|
+
80: '#3612A1',
|
|
321
|
+
},
|
|
322
|
+
pdl1Tps: {
|
|
323
|
+
Cutoff1: '#5091FF',
|
|
324
|
+
Cutoff49: '#0CA678',
|
|
325
|
+
Cutoff50: '#F76707',
|
|
326
|
+
PositiveTc: '#AD1EFF',
|
|
327
|
+
NegativeTc: '#1EFCFF',
|
|
328
|
+
},
|
|
329
|
+
pdl1Cps: {
|
|
330
|
+
Cutoff1: '#5091FF',
|
|
331
|
+
Cutoff10: '#F76707',
|
|
332
|
+
Ca: '#0CA678',
|
|
333
|
+
Cis: '#5B8DEF',
|
|
334
|
+
Pch: '#FF8989',
|
|
335
|
+
PcL: '#D6C896',
|
|
336
|
+
PositiveTc: '#AD1EFF',
|
|
337
|
+
NegativeTc: '#1EFCFF',
|
|
338
|
+
PositiveIc: '#FFEE59',
|
|
339
|
+
NegativeIc: '#FF5403',
|
|
340
|
+
},
|
|
341
|
+
io: {
|
|
342
|
+
BmrkCutoff1: '#5091FF',
|
|
343
|
+
BmrkCutoff20: '#EE5140',
|
|
344
|
+
Inflamed: '#C65F6E',
|
|
345
|
+
ImmuneEx: '#91C4A3',
|
|
346
|
+
ImmuneDsrt: '#143DDE',
|
|
347
|
+
Ca: '#0CA678',
|
|
348
|
+
Cs: '#91C4A3',
|
|
349
|
+
Lc: '#FFF950',
|
|
350
|
+
Tc: '#F76707',
|
|
351
|
+
},
|
|
352
|
+
tumorPurity: {
|
|
353
|
+
DensityBar: '#EE5140',
|
|
354
|
+
Ca: '#0CA678',
|
|
355
|
+
Tc: '#F76707',
|
|
356
|
+
Ntc: '#FFF950',
|
|
357
|
+
},
|
|
358
|
+
her2: {
|
|
359
|
+
Ca: '#0CA678',
|
|
360
|
+
Cis: '#5B8DEF',
|
|
361
|
+
Her2_Negative: '#4B93F9',
|
|
362
|
+
Her2_1_Positive: '#79FD4B',
|
|
363
|
+
Her2_2_Positive: '#F8E71C',
|
|
364
|
+
Her2_3_Positive: '#EF0B0B',
|
|
365
|
+
},
|
|
366
|
+
erpr: {
|
|
367
|
+
Ca: '#0CA678',
|
|
368
|
+
Cis: '#5B8DEF',
|
|
369
|
+
Erpr_Negative: '#4B93F9',
|
|
370
|
+
Erpr_1_Positive: '#79FD4B',
|
|
371
|
+
Erpr_2_Positive: '#F8E71C',
|
|
372
|
+
Erpr_3_Positive: '#EF0B0B',
|
|
373
|
+
Cutoff0: '#75F0DA',
|
|
374
|
+
Cutoff1: '#FD6D0D',
|
|
375
|
+
Cutoff10: '#9E5EFF',
|
|
376
|
+
},
|
|
377
|
+
others: {
|
|
378
|
+
RowHover: 'rgba(134, 148, 177, 0.08)',
|
|
379
|
+
DatePickerHover: 'rgba(114, 146, 253, 0.3)',
|
|
380
|
+
Teal50Op20: 'rgba(0, 201, 234, 0.2)',
|
|
381
|
+
Teal50Op18: 'rgba(0, 201, 234, 0.18)',
|
|
382
|
+
Grn20Op32: 'rgba(102, 187, 106, 0.32)',
|
|
383
|
+
Grn30OP32: 'rgba(66, 190, 101, 0.32)',
|
|
384
|
+
},
|
|
385
|
+
alert: {
|
|
386
|
+
InfoBG: 'rgba(55, 81, 167, 0.92)',
|
|
387
|
+
SuccessBG: 'rgba(0, 137, 159, 0.92)',
|
|
388
|
+
ErrorBG: 'rgba(116, 25, 15, 0.9)',
|
|
389
|
+
WarningBG: 'rgba(209, 188, 0, 0.7)',
|
|
390
|
+
},
|
|
391
|
+
analysisStatus: {
|
|
392
|
+
Uploaded: '#99B8D1',
|
|
393
|
+
Analyzing: '#AA99EC',
|
|
394
|
+
Analyzed: '#8DCEC3',
|
|
395
|
+
FailedEnabled: '#CA1414',
|
|
396
|
+
FailedHover: '#FF8787',
|
|
397
|
+
FailedSelected: '#A60D0D',
|
|
398
|
+
Ready: '#00D1FF',
|
|
399
|
+
ReadyHover: '#38E3FF',
|
|
400
|
+
ReadySelected: '#006379',
|
|
401
|
+
Inferred: '#3E63DD',
|
|
402
|
+
InferredHover: '#46BCFF',
|
|
403
|
+
InferredSelected: '#273E89',
|
|
404
|
+
Invalid: '#838389',
|
|
405
|
+
InvalidHover: '#A7A7A7',
|
|
406
|
+
InvalidSelected: '#6E6E74',
|
|
407
|
+
},
|
|
408
|
+
scope1: '#7292FD',
|
|
409
|
+
scope2: '#587EFC',
|
|
410
|
+
scope3: '#B0C0F4',
|
|
411
|
+
scope4: '#3A5DD9',
|
|
412
|
+
info: { main: '#748FFC' },
|
|
413
|
+
success: { main: '#00C9EA' },
|
|
414
|
+
error: { main: '#FA4D56' },
|
|
415
|
+
warning: { main: '#FFE600' },
|
|
416
|
+
};
|
|
417
|
+
|
|
418
|
+
export default palette;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SMALL_SCROLLBAR_WIDTH } from '../systems';
|
|
2
|
+
|
|
3
|
+
export function subScrollbarWidth(value: string): string;
|
|
4
|
+
export function subScrollbarWidth(value: number): number;
|
|
5
|
+
export function subScrollbarWidth(value: string | number): string | number {
|
|
6
|
+
return typeof value === 'number'
|
|
7
|
+
? value - SMALL_SCROLLBAR_WIDTH
|
|
8
|
+
: `calc(${value} - ${SMALL_SCROLLBAR_WIDTH}px)`;
|
|
9
|
+
}
|