@medplum/react 0.9.7
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/README.md +91 -0
- package/dist/cjs/defaulttheme.css +245 -0
- package/dist/cjs/index.js +5256 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/index.min.js +2 -0
- package/dist/cjs/index.min.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/styles.css +1510 -0
- package/dist/esm/defaulttheme.css +245 -0
- package/dist/esm/index.js +5129 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/index.min.js +2 -0
- package/dist/esm/index.min.js.map +1 -0
- package/dist/esm/package.json +1 -0
- package/dist/esm/styles.css +1510 -0
- package/dist/types/AddressDisplay.d.ts +6 -0
- package/dist/types/AddressInput.d.ts +8 -0
- package/dist/types/AnnotationInput.d.ts +8 -0
- package/dist/types/AttachmentArrayDisplay.d.ts +7 -0
- package/dist/types/AttachmentArrayInput.d.ts +9 -0
- package/dist/types/AttachmentDisplay.d.ts +7 -0
- package/dist/types/AttachmentInput.d.ts +9 -0
- package/dist/types/Autocomplete.d.ts +19 -0
- package/dist/types/Avatar.d.ts +12 -0
- package/dist/types/BackboneElementDisplay.d.ts +11 -0
- package/dist/types/BackboneElementInput.d.ts +12 -0
- package/dist/types/Button.d.ts +15 -0
- package/dist/types/CalendarInput.d.ts +15 -0
- package/dist/types/CodeInput.d.ts +9 -0
- package/dist/types/CodeableConceptDisplay.d.ts +6 -0
- package/dist/types/CodeableConceptInput.d.ts +9 -0
- package/dist/types/CodingDisplay.d.ts +6 -0
- package/dist/types/CodingInput.d.ts +9 -0
- package/dist/types/ContactPointDisplay.d.ts +6 -0
- package/dist/types/ContactPointInput.d.ts +8 -0
- package/dist/types/DateTimeDisplay.d.ts +5 -0
- package/dist/types/DateTimeInput.d.ts +23 -0
- package/dist/types/DefaultResourceTimeline.d.ts +6 -0
- package/dist/types/DescriptionList.d.ts +12 -0
- package/dist/types/DiagnosticReportDisplay.d.ts +12 -0
- package/dist/types/Dialog.d.ts +10 -0
- package/dist/types/Document.d.ts +7 -0
- package/dist/types/EncounterTimeline.d.ts +6 -0
- package/dist/types/ErrorBoundary.d.ts +18 -0
- package/dist/types/ExtensionInput.d.ts +8 -0
- package/dist/types/FhirPathDisplay.d.ts +9 -0
- package/dist/types/FhirPathTable.d.ts +29 -0
- package/dist/types/FooterLinks.d.ts +6 -0
- package/dist/types/Form.d.ts +8 -0
- package/dist/types/FormSection.d.ts +11 -0
- package/dist/types/FormUtils.d.ts +5 -0
- package/dist/types/GoogleButton.d.ts +8 -0
- package/dist/types/Header.d.ts +10 -0
- package/dist/types/HeaderSearchInput.d.ts +10 -0
- package/dist/types/HumanNameDisplay.d.ts +8 -0
- package/dist/types/HumanNameInput.d.ts +8 -0
- package/dist/types/IdentifierDisplay.d.ts +6 -0
- package/dist/types/IdentifierInput.d.ts +8 -0
- package/dist/types/Input.d.ts +21 -0
- package/dist/types/InputRow.d.ts +7 -0
- package/dist/types/Loading.d.ts +3 -0
- package/dist/types/Logo.d.ts +6 -0
- package/dist/types/MedplumLink.d.ts +12 -0
- package/dist/types/MedplumProvider.d.ts +34 -0
- package/dist/types/MenuItem.d.ts +9 -0
- package/dist/types/MenuSeparator.d.ts +3 -0
- package/dist/types/PatientTimeline.d.ts +6 -0
- package/dist/types/PeriodDisplay.d.ts +6 -0
- package/dist/types/PeriodInput.d.ts +8 -0
- package/dist/types/Popup.d.ts +14 -0
- package/dist/types/QuantityDisplay.d.ts +7 -0
- package/dist/types/QuantityInput.d.ts +8 -0
- package/dist/types/QuestionnaireBuilder.d.ts +8 -0
- package/dist/types/QuestionnaireForm.d.ts +16 -0
- package/dist/types/QuestionnaireUtils.d.ts +30 -0
- package/dist/types/RangeDisplay.d.ts +6 -0
- package/dist/types/RangeInput.d.ts +14 -0
- package/dist/types/RatioDisplay.d.ts +6 -0
- package/dist/types/RatioInput.d.ts +14 -0
- package/dist/types/ReferenceDisplay.d.ts +7 -0
- package/dist/types/ReferenceInput.d.ts +9 -0
- package/dist/types/ResourceArrayDisplay.d.ts +13 -0
- package/dist/types/ResourceArrayInput.d.ts +13 -0
- package/dist/types/ResourceBadge.d.ts +9 -0
- package/dist/types/ResourceBlame.d.ts +10 -0
- package/dist/types/ResourceDiff.d.ts +9 -0
- package/dist/types/ResourceDiffTable.d.ts +9 -0
- package/dist/types/ResourceForm.d.ts +10 -0
- package/dist/types/ResourceHistoryTable.d.ts +9 -0
- package/dist/types/ResourceInput.d.ts +11 -0
- package/dist/types/ResourceName.d.ts +7 -0
- package/dist/types/ResourcePropertyDisplay.d.ts +25 -0
- package/dist/types/ResourcePropertyInput.d.ts +22 -0
- package/dist/types/ResourceTable.d.ts +7 -0
- package/dist/types/ResourceTimeline.d.ts +11 -0
- package/dist/types/Scheduler.d.ts +7 -0
- package/dist/types/Scrollable.d.ts +9 -0
- package/dist/types/SearchControl.d.ts +38 -0
- package/dist/types/SearchControlField.d.ts +41 -0
- package/dist/types/SearchFieldEditor.d.ts +11 -0
- package/dist/types/SearchFilterEditor.d.ts +10 -0
- package/dist/types/SearchFilterValueDialog.d.ts +15 -0
- package/dist/types/SearchFilterValueDisplay.d.ts +7 -0
- package/dist/types/SearchFilterValueInput.d.ts +12 -0
- package/dist/types/SearchPopupMenu.d.ts +15 -0
- package/dist/types/SearchUtils.d.ts +177 -0
- package/dist/types/Select.d.ts +16 -0
- package/dist/types/ServiceRequestTimeline.d.ts +6 -0
- package/dist/types/SignInForm.d.ts +14 -0
- package/dist/types/SubMenu.d.ts +7 -0
- package/dist/types/Tab.d.ts +12 -0
- package/dist/types/TabList.d.ts +10 -0
- package/dist/types/TabPanel.d.ts +6 -0
- package/dist/types/TabSwitch.d.ts +6 -0
- package/dist/types/TextArea.d.ts +17 -0
- package/dist/types/Timeline.d.ts +17 -0
- package/dist/types/TitleBar.d.ts +6 -0
- package/dist/types/UploadButton.d.ts +6 -0
- package/dist/types/constants.d.ts +1 -0
- package/dist/types/index.d.ts +72 -0
- package/dist/types/stories/AddressInput.stories.d.ts +6 -0
- package/dist/types/stories/AttachmentArrayInput.stories.d.ts +6 -0
- package/dist/types/stories/AttachmentInput.stories.d.ts +6 -0
- package/dist/types/stories/Autocomplete.stories.d.ts +8 -0
- package/dist/types/stories/Avatar.stories.d.ts +10 -0
- package/dist/types/stories/Button.stories.d.ts +9 -0
- package/dist/types/stories/DiagnosticReportDisplay.stories.d.ts +5 -0
- package/dist/types/stories/Dialog.stories.d.ts +5 -0
- package/dist/types/stories/EncounterTimeline.stories.d.ts +5 -0
- package/dist/types/stories/FhirPathDisplay.stories.d.ts +7 -0
- package/dist/types/stories/FormSection.stories.d.ts +6 -0
- package/dist/types/stories/Header.stories.d.ts +6 -0
- package/dist/types/stories/Input.stories.d.ts +6 -0
- package/dist/types/stories/Loading.stories.d.ts +5 -0
- package/dist/types/stories/Logo.stories.d.ts +5 -0
- package/dist/types/stories/PatientTimeline.stories.d.ts +5 -0
- package/dist/types/stories/QuestionnaireBuilder.stories.d.ts +7 -0
- package/dist/types/stories/QuestionnaireForm.stories.d.ts +9 -0
- package/dist/types/stories/ReferenceInput.stories.d.ts +6 -0
- package/dist/types/stories/ResourceBlame.stories.d.ts +5 -0
- package/dist/types/stories/ResourceForm.stories.d.ts +12 -0
- package/dist/types/stories/ResourceHistoryTable.stories.d.ts +5 -0
- package/dist/types/stories/ResourceTable.stories.d.ts +7 -0
- package/dist/types/stories/Scheduler.stories.d.ts +5 -0
- package/dist/types/stories/SearchControl.stories.d.ts +9 -0
- package/dist/types/stories/Select.stories.d.ts +6 -0
- package/dist/types/stories/SignInForm.stories.d.ts +8 -0
- package/dist/types/stories/Tabs.stories.d.ts +6 -0
- package/dist/types/stories/Timeline.stories.d.ts +5 -0
- package/dist/types/test.setup.d.ts +1 -0
- package/dist/types/useResource.d.ts +8 -0
- package/dist/types/utils/blame.d.ts +8 -0
- package/dist/types/utils/date.d.ts +6 -0
- package/dist/types/utils/diff.d.ts +16 -0
- package/dist/types/utils/dom.d.ts +15 -0
- package/dist/types/utils/outcomes.d.ts +2 -0
- package/dist/types/utils.d.ts +5 -0
- package/package.json +95 -0
package/README.md
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Medplum React Component Library
|
|
2
|
+
|
|
3
|
+
The Medplum React Component Library provides many helpful components to quickly build your healthcare web app.
|
|
4
|
+
|
|
5
|
+
The Medplum SDK can be used with any compliant FHIR server. However, some advanced features are only available when paired with a Medplum server.
|
|
6
|
+
|
|
7
|
+
Check out a live demo: [https://docs.medplum.com/storybook/index.html](https://docs.medplum.com/storybook/index.html)
|
|
8
|
+
|
|
9
|
+
## Key Features
|
|
10
|
+
|
|
11
|
+
- SmartText - Detect clinical concepts, tag with SNOMED and ICD codes
|
|
12
|
+
- Chat - FHIR-based chat with real time push events
|
|
13
|
+
- Data Table - For a FHIR search, show the results as a live table
|
|
14
|
+
- SSE for server side push
|
|
15
|
+
- Evaluation of [FhirPath](https://hl7.org/fhirpath/N1/index.html)
|
|
16
|
+
- No external dependencies
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
Add as a dependency:
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
npm install @medplum/react
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Note the following peer dependencies:
|
|
27
|
+
- [@medplum/core](https://www.npmjs.com/package/@medplum/core)
|
|
28
|
+
- [react](https://www.npmjs.com/package/react)
|
|
29
|
+
- [react-dom](https://www.npmjs.com/package/react-dom)
|
|
30
|
+
- [react-router-dom](https://www.npmjs.com/package/react-router-dom)
|
|
31
|
+
|
|
32
|
+
## Basic Usage
|
|
33
|
+
|
|
34
|
+
```tsx
|
|
35
|
+
import { MedplumClient } from '@medplum/core';
|
|
36
|
+
import { MedplumProvider } from '@medplum/react';
|
|
37
|
+
|
|
38
|
+
const medplum = new MedplumClient();
|
|
39
|
+
|
|
40
|
+
export function App() {
|
|
41
|
+
return (
|
|
42
|
+
<MedplumProvider medplum={medplum}>
|
|
43
|
+
<MyPage1 />
|
|
44
|
+
<MyPage2 />
|
|
45
|
+
<Etc />
|
|
46
|
+
</MedplumProvider>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
For more details on how to setup `MedplumClient`, refer to the docs for [`medplum`](https://www.npmjs.com/package/medplum).
|
|
52
|
+
|
|
53
|
+
## Sign In
|
|
54
|
+
|
|
55
|
+
```tsx
|
|
56
|
+
export function SignInPage() {
|
|
57
|
+
const auth = useMedplumContext();
|
|
58
|
+
return (
|
|
59
|
+
<Document>
|
|
60
|
+
{auth.user ? (
|
|
61
|
+
<div>
|
|
62
|
+
<pre>User: {JSON.stringify(auth.user)}</pre>
|
|
63
|
+
<Button onClick={() => auth.medplum.signOut().then(() => alert('Signed out!'))}>Sign out</Button>
|
|
64
|
+
</div>
|
|
65
|
+
) : (
|
|
66
|
+
<SignInForm onSuccess={() => alert('Signed in!')} />
|
|
67
|
+
)}
|
|
68
|
+
</Document>
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Chat
|
|
74
|
+
|
|
75
|
+
```tsx
|
|
76
|
+
export function ChatPage() {
|
|
77
|
+
return (
|
|
78
|
+
<Document>
|
|
79
|
+
<ChatControl criteria="Communication?encounter=123" {...args} />
|
|
80
|
+
</Document>
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## About Medplum
|
|
86
|
+
|
|
87
|
+
Medplum is a healthcare platform that helps you quickly develop high-quality compliant applications. Medplum includes a FHIR server, React component library, and developer app.
|
|
88
|
+
|
|
89
|
+
## License
|
|
90
|
+
|
|
91
|
+
Apache 2.0. Copyright © Medplum 2022
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--medplum-background: #f8f9fa;
|
|
3
|
+
--medplum-surface: #ffffff;
|
|
4
|
+
--medplum-foreground: #424242;
|
|
5
|
+
--medplum-navbar: #5b2876;
|
|
6
|
+
--medplum-navbar-textbox: #7a4696;
|
|
7
|
+
--medplum-navbar-icon: #5b2876;
|
|
8
|
+
--medplum-navbar-placeholder: #ddc4eb;
|
|
9
|
+
--medplum-navbar-hover: #5d5d85;
|
|
10
|
+
--medplum-shadow: rgba(0, 0, 0, 0.1);
|
|
11
|
+
/* font sizes */
|
|
12
|
+
--medplum-font-small: 12px;
|
|
13
|
+
--medplum-font-normal: 13px;
|
|
14
|
+
--medplum-font-big: 18px;
|
|
15
|
+
/* gray */
|
|
16
|
+
--medplum-gray-50: #fafafa;
|
|
17
|
+
--medplum-gray-100: #f5f5f5;
|
|
18
|
+
--medplum-gray-200: #eeeeee;
|
|
19
|
+
--medplum-gray-300: #e0e0e0;
|
|
20
|
+
--medplum-gray-400: #bdbdbd;
|
|
21
|
+
--medplum-gray-500: #9e9e9e;
|
|
22
|
+
--medplum-gray-600: #757575;
|
|
23
|
+
--medplum-gray-700: #616161;
|
|
24
|
+
--medplum-gray-800: #424242;
|
|
25
|
+
--medplum-gray-900: #212121;
|
|
26
|
+
/* red */
|
|
27
|
+
--medplum-red-50: #ffebee;
|
|
28
|
+
--medplum-red-100: #ffcdd2;
|
|
29
|
+
--medplum-red-200: #ef9a9a;
|
|
30
|
+
--medplum-red-300: #e57373;
|
|
31
|
+
--medplum-red-400: #ef5350;
|
|
32
|
+
--medplum-red-500: #f44336;
|
|
33
|
+
--medplum-red-600: #e53935;
|
|
34
|
+
--medplum-red-700: #d32f2f;
|
|
35
|
+
--medplum-red-800: #c62828;
|
|
36
|
+
--medplum-red-900: #b71c1c;
|
|
37
|
+
/* purple */
|
|
38
|
+
--medplum-purple-50: #ede7f6;
|
|
39
|
+
--medplum-purple-100: #d1c4e9;
|
|
40
|
+
--medplum-purple-200: #b39ddb;
|
|
41
|
+
--medplum-purple-300: #9575cd;
|
|
42
|
+
--medplum-purple-400: #7e57c2;
|
|
43
|
+
--medplum-purple-500: #673ab7;
|
|
44
|
+
--medplum-purple-600: #5e35b1;
|
|
45
|
+
--medplum-purple-700: #512da8;
|
|
46
|
+
--medplum-purple-800: #4527a0;
|
|
47
|
+
--medplum-purple-900: #311b92;
|
|
48
|
+
/* blue */
|
|
49
|
+
--medplum-blue-50: #e3f2fd;
|
|
50
|
+
--medplum-blue-100: #bbdefb;
|
|
51
|
+
--medplum-blue-200: #90caf9;
|
|
52
|
+
--medplum-blue-300: #64b5f6;
|
|
53
|
+
--medplum-blue-400: #42a5f5;
|
|
54
|
+
--medplum-blue-500: #2196f3;
|
|
55
|
+
--medplum-blue-600: #1e88e5;
|
|
56
|
+
--medplum-blue-700: #1976d2;
|
|
57
|
+
--medplum-blue-800: #1565c0;
|
|
58
|
+
--medplum-blue-900: #0d47a1;
|
|
59
|
+
/* green */
|
|
60
|
+
--medplum-green-50: #e8f5e9;
|
|
61
|
+
--medplum-green-100: #c8e6c9;
|
|
62
|
+
--medplum-green-200: #a5d6a7;
|
|
63
|
+
--medplum-green-300: #81c784;
|
|
64
|
+
--medplum-green-400: #66bb6a;
|
|
65
|
+
--medplum-green-500: #4caf50;
|
|
66
|
+
--medplum-green-600: #43a047;
|
|
67
|
+
--medplum-green-700: #388e3c;
|
|
68
|
+
--medplum-green-800: #2e7d32;
|
|
69
|
+
--medplum-green-900: #1b5e20;
|
|
70
|
+
/* yellow */
|
|
71
|
+
--medplum-yellow-50: #fffde7;
|
|
72
|
+
--medplum-yellow-100: #fff9c4;
|
|
73
|
+
--medplum-yellow-200: #fff59d;
|
|
74
|
+
--medplum-yellow-300: #fff176;
|
|
75
|
+
--medplum-yellow-400: #ffee58;
|
|
76
|
+
--medplum-yellow-500: #ffeb3b;
|
|
77
|
+
--medplum-yellow-600: #fdd835;
|
|
78
|
+
--medplum-yellow-700: #fbc02d;
|
|
79
|
+
--medplum-yellow-800: #f9a825;
|
|
80
|
+
--medplum-yellow-900: #f57f17;
|
|
81
|
+
/* orange */
|
|
82
|
+
--medplum-orange-50: #fff3e0;
|
|
83
|
+
--medplum-orange-100: #ffe0b2;
|
|
84
|
+
--medplum-orange-200: #ffcc80;
|
|
85
|
+
--medplum-orange-300: #ffb74d;
|
|
86
|
+
--medplum-orange-400: #ffa726;
|
|
87
|
+
--medplum-orange-500: #ff9800;
|
|
88
|
+
--medplum-orange-600: #fb8c00;
|
|
89
|
+
--medplum-orange-700: #f57c00;
|
|
90
|
+
--medplum-orange-800: #ef6c00;
|
|
91
|
+
--medplum-orange-900: #e65100;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@media (prefers-color-scheme: dark2) {
|
|
95
|
+
:root {
|
|
96
|
+
--medplum-background: #222;
|
|
97
|
+
--medplum-surface: #000;
|
|
98
|
+
--medplum-foreground: #eee;
|
|
99
|
+
--medplum-navbar: #5b2876;
|
|
100
|
+
--medplum-navbar-textbox: #7a4696;
|
|
101
|
+
--medplum-navbar-icon: #5b2876;
|
|
102
|
+
--medplum-navbar-placeholder: #ddc4eb;
|
|
103
|
+
--medplum-navbar-hover: #5d5d85;
|
|
104
|
+
--medplum-shadow: rgba(0, 0, 0, 0.2);
|
|
105
|
+
/* gray */
|
|
106
|
+
--medplum-gray-900: #fafafa;
|
|
107
|
+
--medplum-gray-800: #f5f5f5;
|
|
108
|
+
--medplum-gray-700: #eeeeee;
|
|
109
|
+
--medplum-gray-600: #e0e0e0;
|
|
110
|
+
--medplum-gray-500: #bdbdbd;
|
|
111
|
+
--medplum-gray-400: #9e9e9e;
|
|
112
|
+
--medplum-gray-300: #757575;
|
|
113
|
+
--medplum-gray-200: #616161;
|
|
114
|
+
--medplum-gray-100: #424242;
|
|
115
|
+
--medplum-gray-50: #212121;
|
|
116
|
+
/* red */
|
|
117
|
+
--medplum-red-900: #ffebee;
|
|
118
|
+
--medplum-red-800: #ffcdd2;
|
|
119
|
+
--medplum-red-700: #ef9a9a;
|
|
120
|
+
--medplum-red-600: #e57373;
|
|
121
|
+
--medplum-red-500: #ef5350;
|
|
122
|
+
--medplum-red-400: #f44336;
|
|
123
|
+
--medplum-red-300: #e53935;
|
|
124
|
+
--medplum-red-200: #d32f2f;
|
|
125
|
+
--medplum-red-100: #c62828;
|
|
126
|
+
--medplum-red-50: #b71c1c;
|
|
127
|
+
/* purple */
|
|
128
|
+
--medplum-purple-900: #ede7f6;
|
|
129
|
+
--medplum-purple-800: #d1c4e9;
|
|
130
|
+
--medplum-purple-700: #b39ddb;
|
|
131
|
+
--medplum-purple-600: #9575cd;
|
|
132
|
+
--medplum-purple-500: #7e57c2;
|
|
133
|
+
--medplum-purple-400: #673ab7;
|
|
134
|
+
--medplum-purple-300: #5e35b1;
|
|
135
|
+
--medplum-purple-200: #512da8;
|
|
136
|
+
--medplum-purple-100: #4527a0;
|
|
137
|
+
--medplum-purple-50: #311b92;
|
|
138
|
+
/* blue */
|
|
139
|
+
--medplum-blue-50: #e3f2fd;
|
|
140
|
+
--medplum-blue-100: #bbdefb;
|
|
141
|
+
--medplum-blue-200: #90caf9;
|
|
142
|
+
--medplum-blue-300: #64b5f6;
|
|
143
|
+
--medplum-blue-400: #42a5f5;
|
|
144
|
+
--medplum-blue-500: #2196f3;
|
|
145
|
+
--medplum-blue-600: #1e88e5;
|
|
146
|
+
--medplum-blue-700: #1976d2;
|
|
147
|
+
--medplum-blue-800: #1565c0;
|
|
148
|
+
--medplum-blue-900: #0d47a1;
|
|
149
|
+
/* green */
|
|
150
|
+
--medplum-green-900: #e8f5e9;
|
|
151
|
+
--medplum-green-800: #c8e6c9;
|
|
152
|
+
--medplum-green-700: #a5d6a7;
|
|
153
|
+
--medplum-green-600: #81c784;
|
|
154
|
+
--medplum-green-500: #66bb6a;
|
|
155
|
+
--medplum-green-400: #4caf50;
|
|
156
|
+
--medplum-green-300: #43a047;
|
|
157
|
+
--medplum-green-200: #388e3c;
|
|
158
|
+
--medplum-green-100: #2e7d32;
|
|
159
|
+
--medplum-green-50: #1b5e20;
|
|
160
|
+
/* yellow */
|
|
161
|
+
--medplum-yellow-900: #fffde7;
|
|
162
|
+
--medplum-yellow-800: #fff9c4;
|
|
163
|
+
--medplum-yellow-700: #fff59d;
|
|
164
|
+
--medplum-yellow-600: #fff176;
|
|
165
|
+
--medplum-yellow-500: #ffee58;
|
|
166
|
+
--medplum-yellow-400: #ffeb3b;
|
|
167
|
+
--medplum-yellow-300: #fdd835;
|
|
168
|
+
--medplum-yellow-200: #fbc02d;
|
|
169
|
+
--medplum-yellow-100: #f9a825;
|
|
170
|
+
--medplum-yellow-50: #f57f17;
|
|
171
|
+
/* orange */
|
|
172
|
+
--medplum-orange-900: #fff3e0;
|
|
173
|
+
--medplum-orange-800: #ffe0b2;
|
|
174
|
+
--medplum-orange-700: #ffcc80;
|
|
175
|
+
--medplum-orange-600: #ffb74d;
|
|
176
|
+
--medplum-orange-500: #ffa726;
|
|
177
|
+
--medplum-orange-400: #ff9800;
|
|
178
|
+
--medplum-orange-300: #fb8c00;
|
|
179
|
+
--medplum-orange-200: #f57c00;
|
|
180
|
+
--medplum-orange-100: #ef6c00;
|
|
181
|
+
--medplum-orange-50: #e65100;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
* {
|
|
186
|
+
box-sizing: border-box;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
html {
|
|
190
|
+
height: 100%;
|
|
191
|
+
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
|
|
192
|
+
position: relative;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
body {
|
|
196
|
+
min-height: 100%;
|
|
197
|
+
margin: 0 0 40px 0;
|
|
198
|
+
font-size: var(--medplum-font-normal);
|
|
199
|
+
font-style: normal;
|
|
200
|
+
color: var(--medplum-foreground);
|
|
201
|
+
background: var(--medplum-background);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
h1,
|
|
205
|
+
h2,
|
|
206
|
+
h3,
|
|
207
|
+
h4,
|
|
208
|
+
h5,
|
|
209
|
+
h6 {
|
|
210
|
+
font-weight: normal;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
button,
|
|
214
|
+
input[type='date'],
|
|
215
|
+
input[type='datetime-local'],
|
|
216
|
+
input[type='email'],
|
|
217
|
+
input[type='number'],
|
|
218
|
+
input[type='password'],
|
|
219
|
+
input[type='tel'],
|
|
220
|
+
input[type='text'],
|
|
221
|
+
input[type='time'],
|
|
222
|
+
input[type='url'],
|
|
223
|
+
select {
|
|
224
|
+
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
code,
|
|
228
|
+
pre,
|
|
229
|
+
textarea {
|
|
230
|
+
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
a {
|
|
234
|
+
color: var(--medplum-blue-700);
|
|
235
|
+
text-decoration: none;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
a:hover {
|
|
239
|
+
text-decoration: underline;
|
|
240
|
+
transition: background-color 100ms linear, color 100ms linear, border 100ms linear;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
a:focus {
|
|
244
|
+
outline: 0.1px solid var(--medplum-blue-500);
|
|
245
|
+
}
|