From ba73825f1747d0a79c723910a495064d0600ba4b Mon Sep 17 00:00:00 2001 From: sajadevo Date: Wed, 29 Jun 2022 23:29:24 +0430 Subject: [PATCH] Update to version 1.2.1 --- CHANGELOG.md | 61 ++++++-- Documentation/documentation.html | 22 +-- LICENSE.md | 2 +- README.md | 49 +++--- package.json | 42 ++--- public/index.html | 8 +- src/assets/demo/demo.css | 123 ++++++++------- src/assets/scss/black-dashboard-react.scss | 126 ++++++++------- src/components/FixedPlugin/FixedPlugin.js | 4 +- src/components/Footer/Footer.js | 4 +- src/components/Navbars/AdminNavbar.js | 13 +- src/components/Navbars/RTLNavbar.js | 13 +- src/components/Sidebar/Sidebar.js | 17 +- src/index.js | 13 +- src/layouts/Admin/Admin.js | 8 +- src/layouts/RTL/RTL.js | 8 +- src/routes.js | 22 +-- src/variables/charts.js | 128 +++++++-------- src/views/Dashboard.js | 14 +- src/views/Icons.js | 4 +- src/views/Map.js | 174 ++++++++++----------- src/views/Notifications.js | 8 +- src/views/Rtl.js | 14 +- src/views/TableList.js | 6 +- src/views/Typography.js | 4 +- src/views/UserProfile.js | 8 +- 26 files changed, 462 insertions(+), 433 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b305ffdf..d893a3a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,23 +1,42 @@ +# CHANGELOG + +## [1.2.1] 2022-06-29 + +- Update dependencies +- Migrate from node-sass to sass + ## [1.2.0] 2020-12-11 + ### Bug fixing + - Added hooks support - https://github.com/creativetimofficial/black-dashboard-react/issues/19 - https://github.com/creativetimofficial/black-dashboard-react/issues/17 + ### Major style changes + - All Bootstrap imports from `src/assets/scss/black-dashboard-react/bootstrap` have been changed with imports from `node_modules` from `Bootstrap` + ### Deleted components + ### Added components + ### Deleted dependencies + - history (instead of using `history`, we'll be using `BrowserRouter` from `react-router-dom`) - @types/googlemaps - @types/react - @types/markerclustererplus - react-google-maps (Instead of it, we're going to use simple plain JS Google maps) + ### Added dependencies -+ node-sass-package-importer@5.3.2 (for importing `Bootstrap` from `node_modules`) -+ bootstrap@4.5.3 (instead of using downloaded zip of `Bootstrap`, we'll use it from `node_modules`) -+ jquery@3.5.1 (to stop `Bootstrap` warning on a clean install) + +- node-sass-package-importer@5.3.2 (for importing `Bootstrap` from `node_modules`) +- bootstrap@4.5.3 (instead of using downloaded zip of `Bootstrap`, we'll use it from `node_modules`) +- jquery@3.5.1 (to stop `Bootstrap` warning on a clean install) + ### Updated dependencies + ``` @fortawesome/fontawesome-free 5.13.0 → 5.15.1 chart.js 2.9.3 → 2.9.4 @@ -32,39 +51,56 @@ reactstrap 8.4.1 → 8.7.1 eslint-plugin-flowtype 3.13.0 → 5.2.0 typescript 3.8.3 → 4.1.2 ``` + ### Important Notes + **The jQuery and TypeScript dependencies are installed only to stop console warnings on install. They are not actually used in our product. So the product is not based on jQuery, and it is not based on TypeScript!** + ### Warning + _Some warnings may appear when running the installation command, but they do not affect the UI or the functionality of the product._ _The following warnings will appear when running the installation command, but they do not affect the UI or the functionality of the product (they will be solved in our next update - they come from the plugins that we are using, and they haven't yet upgraded to the latest React version):_ + ``` npm WARN react-popper@1.3.7 requires a peer of react@0.14.x || ^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself. npm WARN create-react-context@0.3.0 requires a peer of react@^0.14.0 || ^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself. ``` + Happy Hacking! ## [1.1.0] 2020-03-13 + ### Bug fixing + - Github issues: - https://github.com/creativetimofficial/black-dashboard-react/issues/8 - https://github.com/creativetimofficial/black-dashboard-react/issues/7 - https://github.com/creativetimofficial/black-dashboard-react/issues/6 (not really an issue, but was old and needed to close it) - https://github.com/creativetimofficial/black-dashboard-react/issues/4 + ### Major style changes + ### Deleted components + ### Added components + ### Deleted dependencies + - bootstrap (styles are already added inside the scss folder) + ### Added dependencies + - To stop consolde warnings on installation: - + eslint-plugin-flowtype@3.13.0 - + @types/markerclustererplus@2.1.33 - + @types/googlemaps@3.39.3 - + typescript@3.8.3 + - eslint-plugin-flowtype@3.13.0 + - @types/markerclustererplus@2.1.33 + - @types/googlemaps@3.39.3 + - typescript@3.8.3 - For Creative Tim copyrights - + gulp@4.0.2 - + gulp-append-prepend@1.0.8 + - gulp@4.0.2 + - gulp-append-prepend@1.0.8 + ### Updated dependencies + ``` @types/react 16.4.16 → 16.9.23 chart.js ^2.7.2 → 2.9.3 @@ -80,17 +116,22 @@ react-router-dom 4.3.1 → 5.1.2 react-scripts 2.0.4 → 3.4.0 reactstrap 6.5.0 → 8.4.1 ``` + ### Warning + **There are some errors that come from the react-google-maps components, since they are using old React v16 syntax, this, at the moment does not affect the UI or the functionality of the product. If the issue will perssit in React v17, we will drop the usage of these components and replace them with other maps components. The following warnings on installation could not be solved, due to some of our dependencies, however, they do not affect the functionality or the UI of the product:** + ``` npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. npm WARN deprecated popper.js@1.16.1: Popper changed home, find its new releases at @popperjs/core ``` -**Also, the above, are only present in development, and not in production.** +**Also, the above, are only present in development, and not in production.** ## [1.0.0] 2018-11-29 + ### Original Release + - Added Reactstrap as base framework - Added design from PRODUCT NAME by Creative Tim diff --git a/Documentation/documentation.html b/Documentation/documentation.html index 8e2ece7f..ba4cc927 100644 --- a/Documentation/documentation.html +++ b/Documentation/documentation.html @@ -2,11 +2,11 @@ /*! ========================================================= -* Black Dashboard React v1.2.0 +* Black Dashboard React v1.2.1 ========================================================= * Product Page: https://www.creative-tim.com/product/black-dashboard-react -* Copyright 2020 Creative Tim (https://www.creative-tim.com) +* Copyright 2022 Creative Tim (https://www.creative-tim.com) * Licensed under MIT (https://github.com/creativetimofficial/black-dashboard-react/blob/master/LICENSE.md) * Coded by Creative Tim @@ -130,14 +130,12 @@