diff --git a/.eslintrc.json b/.eslintrc.json index fc5047ea..aef398db 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -19,6 +19,7 @@ "endOfLine": "auto" } ], + "default-param-last": "off", "react/react-in-jsx-scope": "off", "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], "react/jsx-props-no-spreading": [ diff --git a/.yarnrc.yml b/.yarnrc.yml new file mode 100644 index 00000000..b202b004 --- /dev/null +++ b/.yarnrc.yml @@ -0,0 +1 @@ +pnpFallbackMode: all diff --git a/CHANGELOG.md b/CHANGELOG.md index e484e891..a05907f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,49 @@ # Change Log +## [3.1.0] 2022-03-04 + +### Bug fixing + +- Momoized the context provider values +- Fix the conditionally used of useContext for SuiPagination component +- Fix the import/no-anonymouse-default-export + +### Major style changes + +### Deleted components + +### Added components + +### Deleted dependencies + +### Added dependencies + +### Updated dependencies + +``` +@emotion/cache 11.4.0 → 11.7.1 +@emotion/react 11.4.1 → 11.8.1 +@emotion/styled 11.3.0 → 11.8.1 +@mui/icons-material 5.1.1 → 5.4.2 +@mui/material 5.1.1 → 5.4.3 +@mui/styled-engine 5.1.1 → 5.4.2 +@testing-library/jest-dom 5.11.4 → 5.16.2 +@testing-library/react 11.1.0 → 12.1.3 +@testing-library/user-event 12.1.10 → 13.5.0 +chroma-js 2.1.2 → 2.4.2 +prop-types 15.7.2 → 15.8.1 +react-countup 5.2.0 → 6.1.1 +react-router-dom 5.2.0 → 6.2.1 +react-scripts 4.0.3 → 5.0.0 +stylis 4.0.10 → 4.0.13 +stylis-plugin-rtl 2.1.0 → 2.1.14 +web-vitals 1.0.1 → 2.1.4 +``` + +### Warning + +There is a warnings related to the stylis-plugin-rtl dependency that won't affect on the behavior of the product its something with the library itself. + ## [3.0.0] 2021-11-23 ### Bug fixing diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index a8b4b893..cbacded0 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -1,7 +1,7 @@ diff --git a/README.md b/README.md index cb9d14f3..50645c4e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![version](https://img.shields.io/badge/version-3.0.0-blue.svg) [![GitHub issues open](https://img.shields.io/github/issues/creativetimofficial/soft-ui-dashboard-react.svg)](https://github.com/creativetimofficial/soft-ui-dashboard-react/issues?q=is%3Aopen+is%3Aissue) [![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/creativetimofficial/soft-ui-dashboard-react.svg)](https://github.com/creativetimofficial/soft-ui-dashboard-react/issues?q=is%3Aissue+is%3Aclosed) -![Image](https://s3.amazonaws.com/creativetim_bucket/products/500/original/soft-ui-dashboard-material-ui.jpg?1632195046) +![Image](https://s3.amazonaws.com/creativetim_bucket/products/500/original/soft-ui-dashboard-material-ui.jpg) Start your Development with an Innovative Admin Template for MUI and React. If you like the look & feel of the hottest design trend right now, Soft UI, you will fall in love with this dashboard! It features a huge number of components built to fit together and look amazing. diff --git a/package.json b/package.json index efc1a913..bef1cd53 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,10 @@ { "name": "soft-ui-dashboard-react", - "version": "3.0.0", - "private": true, + "version": "3.1.0", "author": "Creative Tim", - "license": "See license in https://www.creative-tim.com/license", - "description": "Material UI version of Soft UI Dashboard by Creative Tim", - "homepage": "https://demos.creative-tim.com/soft-ui-dashboard-react/#/dashboard", + "license": "SEE LICENSE IN ", + "description": "ReactJS version of Soft UI Dashboard by Creative Tim", + "homepage": "https://demos.creative-tim.com/soft-ui-dashboard-react/#/", "bugs": { "url": "https://github.com/creativetimofficial/soft-ui-dashboard-react/issues" }, @@ -13,38 +12,43 @@ "type": "git", "url": "git+https://github.com/creativetimofficial/soft-ui-dashboard-react.git" }, + "engines": { + "node": "14 || 15 || 16", + "npm": ">=6" + }, "dependencies": { - "@emotion/cache": "11.4.0", - "@emotion/react": "11.4.1", - "@emotion/styled": "11.3.0", - "@mui/icons-material": "5.1.1", - "@mui/material": "5.1.1", - "@mui/styled-engine": "5.1.1", - "@testing-library/jest-dom": "5.11.4", - "@testing-library/react": "11.1.0", - "@testing-library/user-event": "12.1.10", + "@emotion/cache": "11.7.1", + "@emotion/react": "11.8.1", + "@emotion/styled": "11.8.1", + "@mui/icons-material": "5.4.2", + "@mui/material": "5.4.3", + "@mui/styled-engine": "5.4.2", + "@testing-library/jest-dom": "5.16.2", + "@testing-library/react": "12.1.3", + "@testing-library/user-event": "13.5.0", "chart.js": "3.4.1", - "chroma-js": "2.1.2", - "prop-types": "15.7.2", + "chroma-js": "2.4.2", + "prop-types": "15.8.1", "react": "17.0.2", "react-chartjs-2": "3.0.4", - "react-countup": "5.2.0", + "react-countup": "6.1.1", "react-dom": "17.0.2", "react-flatpickr": "3.10.7", "react-github-btn": "1.2.1", - "react-router-dom": "5.2.0", - "react-scripts": "4.0.3", - "stylis": "4.0.10", - "stylis-plugin-rtl": "2.1.0", + "react-router-dom": "6.2.1", + "react-scripts": "5.0.0", + "stylis": "4.0.13", + "stylis-plugin-rtl": "2.1.1", "uuid": "8.3.2", - "web-vitals": "1.0.1" + "web-vitals": "2.1.4" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", - "install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start" + "install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start", + "install:peer-deps": "npm install --legacy-peer-deps" }, "eslintConfig": { "extends": [ @@ -65,14 +69,14 @@ ] }, "devDependencies": { - "eslint": "7.30.0", - "eslint-config-airbnb": "18.2.1", - "eslint-config-prettier": "8.3.0", - "eslint-plugin-import": "2.23.4", - "eslint-plugin-jsx-a11y": "6.4.1", - "eslint-plugin-prettier": "3.4.0", - "eslint-plugin-react": "7.24.0", - "eslint-plugin-react-hooks": "4.2.0", - "prettier": "2.3.2" + "eslint": "8.10.0", + "eslint-config-airbnb": "19.0.4", + "eslint-config-prettier": "8.4.0", + "eslint-plugin-import": "2.25.4", + "eslint-plugin-jsx-a11y": "6.5.1", + "eslint-plugin-prettier": "4.0.0", + "eslint-plugin-react": "7.28.0", + "eslint-plugin-react-hooks": "4.3.0", + "prettier": "2.5.1" } } diff --git a/public/index.html b/public/index.html index 8d4dd578..05de7d04 100644 --- a/public/index.html +++ b/public/index.html @@ -1,10 +1,10 @@