@medplum/react 2.0.30 → 2.0.32
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/cjs/index.cjs +4 -4
- package/dist/cjs/index.cjs.map +3 -3
- package/dist/esm/index.mjs +5 -5
- package/dist/esm/index.mjs.map +3 -3
- package/dist/types/QuestionnaireForm/QuestionnaireForm.d.ts +9 -0
- package/dist/types/ResourceBlame/ResourceBlame.d.ts +1 -1
- package/dist/types/stories/referenceLab.d.ts +1 -0
- package/package.json +18 -17
|
@@ -7,9 +7,18 @@ export interface QuestionnaireFormProps {
|
|
|
7
7
|
onSubmit: (response: QuestionnaireResponse) => void;
|
|
8
8
|
}
|
|
9
9
|
export declare function QuestionnaireForm(props: QuestionnaireFormProps): JSX.Element | null;
|
|
10
|
+
export interface QuestionnaireRepeatWrapperProps {
|
|
11
|
+
item: QuestionnaireItem;
|
|
12
|
+
answers: Record<string, QuestionnaireResponseItemAnswer>;
|
|
13
|
+
responseItems: QuestionnaireResponseItem[];
|
|
14
|
+
onChange: (newResponseItem: QuestionnaireResponseItem, index?: number) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare function QuestionnaireRepeatWrapper(props: QuestionnaireRepeatWrapperProps): JSX.Element;
|
|
10
17
|
export interface QuestionnaireFormItemProps {
|
|
11
18
|
item: QuestionnaireItem;
|
|
19
|
+
index: number;
|
|
12
20
|
answers: Record<string, QuestionnaireResponseItemAnswer>;
|
|
21
|
+
responseItems?: QuestionnaireResponseItem[];
|
|
13
22
|
onChange: (newResponseItem: QuestionnaireResponseItem) => void;
|
|
14
23
|
}
|
|
15
24
|
export declare function QuestionnaireFormItem(props: QuestionnaireFormItemProps): JSX.Element | null;
|
|
@@ -5,5 +5,5 @@ export interface ResourceBlameProps {
|
|
|
5
5
|
resourceType?: ResourceType;
|
|
6
6
|
id?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare function ResourceBlame(props: ResourceBlameProps): JSX.Element;
|
|
8
|
+
export declare function ResourceBlame(props: ResourceBlameProps): JSX.Element | null;
|
|
9
9
|
export declare function getTimeString(lastUpdated: string): string;
|
|
@@ -3,3 +3,4 @@ export declare const TestosteroneDefinition: ObservationDefinition;
|
|
|
3
3
|
export declare const HDLDefinition: ObservationDefinition;
|
|
4
4
|
export declare const CreatinineObservation: Observation;
|
|
5
5
|
export declare const ExampleReport: DiagnosticReport;
|
|
6
|
+
export declare const KidneyLabDefinition: ObservationDefinition;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medplum/react",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.32",
|
|
4
4
|
"description": "Medplum React Component Library",
|
|
5
5
|
"author": "Medplum <hello@medplum.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,33 +22,34 @@
|
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@emotion/react": "11.11.1",
|
|
25
|
-
"@mantine/core": "6.0.
|
|
26
|
-
"@mantine/hooks": "6.0.
|
|
27
|
-
"@mantine/notifications": "6.0.
|
|
25
|
+
"@mantine/core": "6.0.19",
|
|
26
|
+
"@mantine/hooks": "6.0.19",
|
|
27
|
+
"@mantine/notifications": "6.0.19",
|
|
28
28
|
"@medplum/core": "*",
|
|
29
29
|
"@medplum/definitions": "*",
|
|
30
30
|
"@medplum/fhirtypes": "*",
|
|
31
31
|
"@medplum/mock": "*",
|
|
32
|
-
"@storybook/addon-actions": "7.
|
|
33
|
-
"@storybook/addon-essentials": "7.
|
|
34
|
-
"@storybook/addon-links": "7.
|
|
35
|
-
"@storybook/
|
|
36
|
-
"@storybook/
|
|
37
|
-
"@storybook/react
|
|
38
|
-
"@
|
|
32
|
+
"@storybook/addon-actions": "7.3.2",
|
|
33
|
+
"@storybook/addon-essentials": "7.3.2",
|
|
34
|
+
"@storybook/addon-links": "7.3.2",
|
|
35
|
+
"@storybook/addon-storysource": "7.3.2",
|
|
36
|
+
"@storybook/builder-vite": "7.3.2",
|
|
37
|
+
"@storybook/react": "7.3.2",
|
|
38
|
+
"@storybook/react-vite": "7.3.2",
|
|
39
|
+
"@tabler/icons-react": "2.31.0",
|
|
39
40
|
"@testing-library/dom": "9.3.1",
|
|
40
|
-
"@testing-library/jest-dom": "
|
|
41
|
+
"@testing-library/jest-dom": "6.0.1",
|
|
41
42
|
"@testing-library/react": "14.0.0",
|
|
42
43
|
"@types/jest": "29.5.3",
|
|
43
|
-
"@types/node": "20.
|
|
44
|
-
"@types/react": "18.2.
|
|
44
|
+
"@types/node": "20.5.1",
|
|
45
|
+
"@types/react": "18.2.20",
|
|
45
46
|
"@types/react-dom": "18.2.7",
|
|
46
|
-
"jest": "29.6.
|
|
47
|
-
"jest-each": "29.6.
|
|
47
|
+
"jest": "29.6.3",
|
|
48
|
+
"jest-each": "29.6.3",
|
|
48
49
|
"react": "18.2.0",
|
|
49
50
|
"react-dom": "18.2.0",
|
|
50
51
|
"rimraf": "5.0.1",
|
|
51
|
-
"storybook": "7.
|
|
52
|
+
"storybook": "7.3.2",
|
|
52
53
|
"typescript": "5.1.6"
|
|
53
54
|
},
|
|
54
55
|
"peerDependencies": {
|