pne-ui 1.1.1 → 2.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.
Files changed (2) hide show
  1. package/README.md +20 -3
  2. package/package.json +13 -12
package/README.md CHANGED
@@ -5,16 +5,33 @@
5
5
 
6
6
  Our wrapper over mui
7
7
 
8
- ## Installation:
8
+ ## Installation
9
+
10
+ Install `pne-ui` together with its peer dependencies to avoid missing-package warnings:
9
11
 
10
12
  ```bash
11
- yarn add pne-ui
13
+ yarn add pne-ui @emotion/react@^11 @emotion/styled@^11 @mui/material@^5 @mui/system@^5 @mui/x-date-pickers-pro@^6 @mui/icons-material@^5 i18next@^23 react@^18 react-dom@^18 react-i18next@^11
12
14
  ```
13
15
 
16
+ Adjust the React and React DOM versions to `^18` or `^19` depending on your application.
17
+
18
+ Required peer packages and minimum versions:
19
+
20
+ - `@emotion/react@^11`
21
+ - `@emotion/styled@^11`
22
+ - `@mui/material@^5`
23
+ - `@mui/system@^5`
24
+ - `@mui/x-date-pickers-pro@^6`
25
+ - `@mui/icons-material@^5`
26
+ - `i18next@^23`
27
+ - `react@^18 || ^19`
28
+ - `react-dom@^18 || ^19`
29
+ - `react-i18next@^11`
30
+
14
31
  [npm-url]: https://www.npmjs.com/package/pne-ui
15
32
 
16
33
  [npm-image]: https://img.shields.io/npm/v/pne-ui
17
34
 
18
35
  [github-build]: https://github.com/alcovp/pne-ui/actions/workflows/publish.yml/badge.svg
19
36
 
20
- [github-build-url]: https://github.com/alcovp/pne-ui/actions/workflows/publish.yml
37
+ [github-build-url]: https://github.com/alcovp/pne-ui/actions/workflows/publish.yml
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pne-ui",
3
- "version": "1.1.1",
3
+ "version": "2.0.1",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,6 +33,7 @@
33
33
  "build-storybook": "storybook build",
34
34
  "chromatic": "npx chromatic"
35
35
  },
36
+ "sideEffects": false,
36
37
  "keywords": [
37
38
  "react",
38
39
  "typescript",
@@ -51,15 +52,16 @@
51
52
  },
52
53
  "license": "MIT",
53
54
  "peerDependencies": {
54
- "@emotion/react": "^11.11.0",
55
- "@emotion/styled": "^11.11.0",
56
- "@mui/material": "^5.15.13",
57
- "@mui/system": "^5.15.13",
58
- "@mui/x-date-pickers-pro": "^6.17.0",
59
- "i18next": "^23.10.0",
60
- "react": "^18.0.0",
61
- "react-dom": "^18.0.0",
62
- "react-i18next": "^11.18.0"
55
+ "@emotion/react": "^11",
56
+ "@emotion/styled": "^11",
57
+ "@mui/icons-material": "^5",
58
+ "@mui/material": "^5",
59
+ "@mui/system": "^5",
60
+ "@mui/x-date-pickers-pro": "^6",
61
+ "i18next": "^23",
62
+ "react": "^18 || ^19",
63
+ "react-dom": "^18 || ^19",
64
+ "react-i18next": "^11"
63
65
  },
64
66
  "devDependencies": {
65
67
  "@babel/core": "7.26.0",
@@ -70,7 +72,6 @@
70
72
  "@chromatic-com/storybook": "1",
71
73
  "@emotion/react": "11.11.1",
72
74
  "@emotion/styled": "11.11.0",
73
- "@mui/icons-material": "5.11.16",
74
75
  "@mui/material": "5.15.13",
75
76
  "@mui/system": "5.15.13",
76
77
  "@mui/x-date-pickers-pro": "6.17.0",
@@ -83,6 +84,7 @@
83
84
  "@storybook/blocks": "8.0.9",
84
85
  "@storybook/react": "8.0.9",
85
86
  "@storybook/react-webpack5": "8.0.9",
87
+ "@storybook/test": "8.0.9",
86
88
  "@testing-library/react": "14.0.0",
87
89
  "@types/babel__core": "^7",
88
90
  "@types/jest": "29.5.2",
@@ -112,7 +114,6 @@
112
114
  },
113
115
  "dependencies": {
114
116
  "@hello-pangea/dnd": "16.6.0",
115
- "@storybook/test": "8.0.9",
116
117
  "dayjs": "1.11.5",
117
118
  "immer": "10.0.3",
118
119
  "react-beautiful-dnd": "11.0.5",