@medplum/react 2.0.25 → 2.0.26

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.
@@ -2,6 +2,7 @@ import { LoginAuthenticationResponse } from '@medplum/core';
2
2
  import React from 'react';
3
3
  export interface NewUserFormProps {
4
4
  readonly projectId: string;
5
+ readonly clientId?: string;
5
6
  readonly googleClientId?: string;
6
7
  readonly recaptchaSiteKey?: string;
7
8
  readonly children?: React.ReactNode;
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  export interface RegisterFormProps {
3
3
  readonly type: 'patient' | 'project';
4
4
  readonly projectId?: string;
5
+ readonly clientId?: string;
5
6
  readonly googleClientId?: string;
6
7
  readonly recaptchaSiteKey?: string;
7
8
  readonly children?: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/react",
3
- "version": "2.0.25",
3
+ "version": "2.0.26",
4
4
  "description": "Medplum React Component Library",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",
@@ -10,6 +10,9 @@
10
10
  "url": "https://github.com/medplum/medplum.git",
11
11
  "directory": "packages/react"
12
12
  },
13
+ "engines": {
14
+ "node": ">=18.0.0"
15
+ },
13
16
  "scripts": {
14
17
  "clean": "rimraf dist storybook-static",
15
18
  "dev": "storybook dev -p 6006",
@@ -19,34 +22,34 @@
19
22
  },
20
23
  "devDependencies": {
21
24
  "@emotion/react": "11.11.1",
22
- "@mantine/core": "6.0.13",
23
- "@mantine/hooks": "6.0.13",
24
- "@mantine/notifications": "6.0.13",
25
+ "@mantine/core": "6.0.15",
26
+ "@mantine/hooks": "6.0.15",
27
+ "@mantine/notifications": "6.0.15",
25
28
  "@medplum/core": "*",
26
29
  "@medplum/definitions": "*",
27
30
  "@medplum/fhirtypes": "*",
28
31
  "@medplum/mock": "*",
29
- "@storybook/addon-actions": "7.0.22",
30
- "@storybook/addon-essentials": "7.0.22",
31
- "@storybook/addon-links": "7.0.22",
32
- "@storybook/builder-vite": "7.0.22",
33
- "@storybook/react": "7.0.22",
34
- "@storybook/react-vite": "7.0.22",
35
- "@tabler/icons-react": "2.22.0",
32
+ "@storybook/addon-actions": "7.0.24",
33
+ "@storybook/addon-essentials": "7.0.24",
34
+ "@storybook/addon-links": "7.0.24",
35
+ "@storybook/builder-vite": "7.0.24",
36
+ "@storybook/react": "7.0.24",
37
+ "@storybook/react-vite": "7.0.24",
38
+ "@tabler/icons-react": "2.23.0",
36
39
  "@testing-library/dom": "9.3.1",
37
40
  "@testing-library/jest-dom": "5.16.5",
38
41
  "@testing-library/react": "14.0.0",
39
42
  "@types/jest": "29.5.2",
40
- "@types/node": "20.3.1",
41
- "@types/react": "18.2.13",
43
+ "@types/node": "20.3.3",
44
+ "@types/react": "18.2.14",
42
45
  "@types/react-dom": "18.2.6",
43
46
  "jest": "29.5.0",
44
47
  "jest-each": "29.5.0",
45
48
  "react": "18.2.0",
46
49
  "react-dom": "18.2.0",
47
50
  "rimraf": "5.0.1",
48
- "storybook": "7.0.22",
49
- "typescript": "5.1.3"
51
+ "storybook": "7.0.24",
52
+ "typescript": "5.1.6"
50
53
  },
51
54
  "peerDependencies": {
52
55
  "@emotion/react": "^11.10.4",