@medplum/react 2.0.29 → 2.0.31

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.
@@ -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;
@@ -1,6 +1,7 @@
1
1
  import { BaseLoginRequest, LoginAuthenticationResponse } from '@medplum/core';
2
2
  import React from 'react';
3
3
  export interface AuthenticationFormProps extends BaseLoginRequest {
4
+ readonly disableEmailAuth?: boolean;
4
5
  readonly disableGoogleAuth?: boolean;
5
6
  readonly onForgotPassword?: () => void;
6
7
  readonly onRegister?: () => void;
@@ -9,6 +10,7 @@ export interface AuthenticationFormProps extends BaseLoginRequest {
9
10
  }
10
11
  export declare function AuthenticationForm(props: AuthenticationFormProps): JSX.Element;
11
12
  export interface EmailFormProps extends BaseLoginRequest {
13
+ readonly disableEmailAuth?: boolean;
12
14
  readonly disableGoogleAuth?: boolean;
13
15
  readonly onRegister?: () => void;
14
16
  readonly handleAuthResponse: (response: LoginAuthenticationResponse) => void;
@@ -3,6 +3,7 @@ import React from 'react';
3
3
  export interface SignInFormProps extends BaseLoginRequest {
4
4
  readonly login?: string;
5
5
  readonly chooseScopes?: boolean;
6
+ readonly disableEmailAuth?: boolean;
6
7
  readonly disableGoogleAuth?: boolean;
7
8
  readonly onSuccess?: () => void;
8
9
  readonly onForgotPassword?: () => void;
@@ -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.29",
3
+ "version": "2.0.31",
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.17",
26
- "@mantine/hooks": "6.0.17",
27
- "@mantine/notifications": "6.0.17",
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.1.1",
33
- "@storybook/addon-essentials": "7.1.1",
34
- "@storybook/addon-links": "7.1.1",
35
- "@storybook/builder-vite": "7.1.1",
36
- "@storybook/react": "7.1.1",
37
- "@storybook/react-vite": "7.1.1",
38
- "@tabler/icons-react": "2.29.0",
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": "5.17.0",
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.4.5",
44
- "@types/react": "18.2.17",
44
+ "@types/node": "20.5.1",
45
+ "@types/react": "18.2.20",
45
46
  "@types/react-dom": "18.2.7",
46
- "jest": "29.6.1",
47
- "jest-each": "29.6.1",
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.1.1",
52
+ "storybook": "7.3.2",
52
53
  "typescript": "5.1.6"
53
54
  },
54
55
  "peerDependencies": {