@medplum/react 2.2.10 → 3.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/react",
3
- "version": "2.2.10",
3
+ "version": "3.0.1",
4
4
  "description": "Medplum React Component Library",
5
5
  "keywords": [
6
6
  "medplum",
@@ -32,17 +32,22 @@
32
32
  },
33
33
  "license": "Apache-2.0",
34
34
  "author": "Medplum <hello@medplum.com>",
35
- "sideEffects": false,
35
+ "sideEffects": [
36
+ "*.css"
37
+ ],
36
38
  "type": "module",
37
39
  "exports": {
38
- "import": {
39
- "types": "./dist/esm/index.d.ts",
40
- "default": "./dist/esm/index.mjs"
40
+ ".": {
41
+ "import": {
42
+ "types": "./dist/esm/index.d.ts",
43
+ "default": "./dist/esm/index.mjs"
44
+ },
45
+ "require": {
46
+ "types": "./dist/cjs/index.d.ts",
47
+ "default": "./dist/cjs/index.cjs"
48
+ }
41
49
  },
42
- "require": {
43
- "types": "./dist/cjs/index.d.ts",
44
- "default": "./dist/cjs/index.cjs"
45
- }
50
+ "./styles.css": "./dist/esm/index.css"
46
51
  },
47
52
  "main": "dist/cjs/index.cjs",
48
53
  "module": "dist/esm/index.mjs",
@@ -62,56 +67,54 @@
62
67
  "test": "jest"
63
68
  },
64
69
  "devDependencies": {
65
- "@emotion/react": "11.11.3",
66
- "@mantine/core": "6.0.21",
67
- "@mantine/hooks": "6.0.21",
68
- "@mantine/notifications": "6.0.21",
70
+ "@mantine/core": "7.4.2",
71
+ "@mantine/hooks": "7.4.2",
72
+ "@mantine/notifications": "7.4.2",
69
73
  "@medplum/core": "*",
70
74
  "@medplum/definitions": "*",
71
75
  "@medplum/fhirtypes": "*",
72
76
  "@medplum/mock": "*",
73
77
  "@medplum/react-hooks": "*",
74
- "@storybook/addon-actions": "7.6.7",
75
- "@storybook/addon-essentials": "7.6.7",
76
- "@storybook/addon-links": "7.6.7",
77
- "@storybook/addon-storysource": "7.6.7",
78
- "@storybook/builder-vite": "7.6.7",
79
- "@storybook/react": "7.6.7",
80
- "@storybook/react-vite": "7.6.7",
81
- "@tabler/icons-react": "2.45.0",
78
+ "@storybook/addon-actions": "7.6.10",
79
+ "@storybook/addon-essentials": "7.6.10",
80
+ "@storybook/addon-links": "7.6.10",
81
+ "@storybook/addon-storysource": "7.6.10",
82
+ "@storybook/builder-vite": "7.6.10",
83
+ "@storybook/react": "7.6.10",
84
+ "@storybook/react-vite": "7.6.10",
85
+ "@tabler/icons-react": "2.46.0",
82
86
  "@testing-library/dom": "9.3.4",
83
87
  "@testing-library/jest-dom": "6.2.0",
84
88
  "@testing-library/react": "14.1.2",
89
+ "@testing-library/user-event": "14.5.2",
85
90
  "@types/jest": "29.5.11",
86
- "@types/node": "20.11.0",
87
- "@types/react": "18.2.47",
91
+ "@types/node": "20.11.5",
92
+ "@types/react": "18.2.48",
88
93
  "@types/react-dom": "18.2.18",
89
94
  "@vitejs/plugin-react": "4.2.1",
90
- "chromatic": "10.2.1",
95
+ "chromatic": "10.3.1",
91
96
  "jest": "29.7.0",
92
97
  "jest-each": "29.7.0",
98
+ "postcss": "8.4.33",
99
+ "postcss-preset-mantine": "1.12.3",
93
100
  "react": "18.2.0",
94
101
  "react-dom": "18.2.0",
95
102
  "rfc6902": "5.1.1",
96
103
  "rimraf": "5.0.5",
97
104
  "sinon": "17.0.1",
98
- "storybook": "7.6.7",
105
+ "storybook": "7.6.10",
99
106
  "typescript": "5.3.3"
100
107
  },
101
108
  "peerDependencies": {
102
- "@emotion/react": "^11.10.4",
103
- "@mantine/core": "^6.0.0",
104
- "@mantine/hooks": "^6.0.0",
105
- "@mantine/notifications": "^6.0.0",
109
+ "@mantine/core": "^7.0.0",
110
+ "@mantine/hooks": "^7.0.0",
111
+ "@mantine/notifications": "^7.0.0",
106
112
  "@medplum/core": "*",
107
113
  "react": "^17.0.2 || ^18.0.0",
108
114
  "react-dom": "^17.0.2 || ^18.0.0",
109
115
  "rfc6902": "^5.0.1"
110
116
  },
111
117
  "peerDependenciesMeta": {
112
- "@emotion/react": {
113
- "optional": true
114
- },
115
118
  "@mantine/core": {
116
119
  "optional": true
117
120
  },