- Wizard and Wizard Steps were not changed to hooks since we need to be able to call the isValidated function (this can only be achieved with classes - withStyles function is still being used)
- Sidebar Component could not be changed to hooks due to the dynamic nature of this component (the collapses states are done dynamically, and you do not have anyway of knowing the amount of collapses this component will have to create static states - withStyles function is still being used)
- Rewrote the ISSUE_TEMPLATE
- Deleted the copyright comments from all files, we only need to keep them inside our index.js and index.html
- Added script that adds copyrights to the built app
- Renamed all the files from
.jsx
to.js
- Changed the
withStyles
function from Material-UI with themakeStyles
function (integration with other frameworks should now be easy) - React Hooks is now supported (Please read the above warnings)
src/assets/jss/material-dashboard-pro-react/components/customDropdownStyle.js
src/assets/jss/material-kit-pro-react/components/cardBodyStyle.js
src/assets/scss/plugins/_plugin-nouislider.scss
@material-ui/core 4.1.0 → 4.3.2
@material-ui/icons 4.1.0 → 4.2.1
nouislider 13.1.5 → 14.0.2
react 16.8.6 → 16.9.0
react-big-calendar 0.21.0 → 0.22.0
react-dom 16.8.6 → 16.9.0
react-scripts 3.0.1 → 3.1.0
eslint-config-prettier 4.3.0 → 6.0.0
@types/googlemaps 3.36.4 → 3.37.3
ajv 6.10.0 → 6.10.2
typescript 3.5.1 → 3.5.3
We've skipped version 1.6.0 so that all React Material products would be on the same version.
- Bugs from updated dependencies
- Removed
.env
file, and replaced it with thejsconfig.json
file - Changes caused by running the prettier command for .jsx, .js, .html and .css files
- Changed all string refs to
React.createRef()
- Added types validation in each component
- Solved linting issues
- Solved creativetimofficial/ct-material-dashboard-pro-react#149
- Solved creativetimofficial/ct-material-dashboard-pro-react#161
- Solved creativetimofficial/ct-material-dashboard-pro-react#171
- Solved creativetimofficial/ct-material-dashboard-pro-react#172
- Solved creativetimofficial/ct-material-dashboard-pro-react#176
- Solved creativetimofficial/ct-material-dashboard-pro-react#177
- [email protected] (To stop console warnings on install)
- [email protected]
- [email protected]
@material-ui/core 3.9.2 → 4.1.0
@material-ui/icons 3.0.2 → 4.1.0
history 4.7.2 → 4.9.0
node-sass 4.11.0 → 4.12.0
nouislider 13.1.0 → 13.1.5
react 16.8.1 → 16.8.6
react-big-calendar 0.20.3 → 0.21.0
react-dom 16.8.1 → 16.8.6
react-jvectormap 0.0.6 → 0.0.12
react-router-dom 4.3.1 → 5.0.1
react-scripts 2.1.5 → 3.0.1
react-swipeable-views 0.13.1 → 0.13.3
react-table 6.9.2 → 6.10.0
eslint-config-prettier 4.0.0 → 4.3.0
eslint-plugin-prettier 3.0.1 → 3.1.0
@types/googlemaps 3.30.16 → 3.36.4
ajv 6.9.1 → 6.10.0
prettier 1.16.4 → 1.18.2
- Deleted some unnecessary scripts (See available scripts here: https://demos.creative-tim.com/material-dashboard-pro-react/#/documentation/build-tools)
- Changed our buggy routing system, now it should work flawlessly, for more info, please refer to our live docs here
- Changes caused by running the prettier command for .jsx, .js, .html and .css files
- creativetimofficial/ct-material-dashboard-pro-react#137
- creativetimofficial/ct-material-dashboard-pro-react#132
- creativetimofficial/ct-material-dashboard-pro-react#128
- creativetimofficial/ct-material-dashboard-pro-react#88
- creativetimofficial/ct-material-dashboard-pro-react#87
- creativetimofficial/ct-material-dashboard-pro-react#85
- Changes caused by the fact that all colors are now variables and the prettier command
src/layouts/Dashboard.jsx
, now it is calledsrc/layouts/Admin.jsx
src/layouts/Pages.jsx
, now it is calledsrc/layouts/Auth.jsx
src/components/Header/Header.jsx
, now it is calledsrc/components/Navbars/AdminNavbar.jsx
src/components/Header/HeaderLinks.jsx
, now it is calledsrc/components/Navbars/AdminNavbarLinks.jsx
src/components/Header/PagesHeader.jsx
, now it is calledsrc/components/Navbars/AuthNavbar.jsx
(This has no longer dynamic links)assets/jss/material-dashboard-pro-react/components/pagesHeaderStyle.jsx
, now it is calledassets/jss/material-dashboard-pro-react/components/authNavbarStyle.jsx
assets/jss/material-dashboard-pro-react/components/headerStyle.jsx
, now it is calledassets/jss/material-dashboard-pro-react/components/adminNavbarStyle.jsx
assets/jss/material-dashboard-pro-react/components/headerLinksStyle.jsx
, now it is calledassets/jss/material-dashboard-pro-react/components/adminNavbarLinksStyle.jsx
- Added new view component for 404 pages (
src/views/Pages/ErrorPage.jsx
)
node-sass-chokidar
npm-run-all
eslint-plugin-react
eslint
babel-eslint
@babel/core
node-sass
version: 4.11.0
@material-ui/core
3.1.1 → 3.9.1@material-ui/icons
3.0.1 → 3.0.2moment
2.22.2 → 2.24.0nouislider
12.0.0 → 13.1.0perfect-scrollbar
1.4.0 → 1.4.4react
16.5.2 → 16.8.1react-big-calendar
0.20.1 → 0.20.3react-chartist
0.13.1 → 0.13.3react-datetime
2.15.0 → 2.16.3react-dom
16.5.2 → 16.8.1react-jvectormap
0.0.3 → 0.0.6react-scripts
1.1.5 → 2.1.5react-swipeable-views
0.13.0 → 0.13.1react-table
6.8.6 → 6.9.2@types/googlemaps
3.30.13 → 3.30.16ajv
5.0.0 → 6.9.1eslint-config-prettier
3.1.0 → 4.0.0eslint-plugin-prettier
2.6.2 → 3.0.1prettier
1.14.3 → 1.16.4
src/assets/jss/material-dashboard-pro-react/components/customDropdownStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/customInputStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/customTabsStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/snackbarContentStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/tasksStyle.jsx
src/assets/jss/material-dashboard-pro-react/layouts/pagesStyle.jsx
src/assets/jss/material-dashboard-pro-react/views/extendedFormsStyle.jsx
src/assets/jss/material-dashboard-pro-react/views/validationFormsStyle.jsx
src/assets/jss/material-dashboard-pro-react/customCheckboxRadioSwitch.jsx
src/assets/scss/material-dashboard-pro-react/plugins/_plugin-nouislider.scss
src/assets/scss/material-dashboard-pro-react/plugins/_plugin-react-big-calendar.scss
- Run
prettier
(minor code writting bugs) - Added
npm run node_modules
(Mac/Linux) andnpm run node_modules-w
(Windows) scripts (deletesnode_modules
andpackage-lock.json
) - Added
npm run install:clean
(Mac/Linux) andnpm run install:clean-w
(Windows) scripts (deletesnode_modules
andpackage-lock.json
, runsnpm install
and runsnpm start
) - Github own issues solved:
- Github other issues solved:
@babel/runtime
react-nouislider
(since it was not well maintained)
@babel/core
7.0.0
nouislider
12.0.0
(instead ofreact-nouislider
)
@material-ui/core
1.4.3
→3.1.1
@material-ui/icons
2.0.1
→3.0.1
@types/googlemaps
3.30.11
→3.30.13
ajv
6.5.2
→5.0.0
react
16.4.1
→16.5.2
react-big-calendar
0.19.2
→0.20.1
react-dom
16.4.1
→16.5.2
react-scripts
1.1.4
→1.1.5
react-swipeable-views
0.12.15
→0.13.0
eslint-config-prettier
^2.9.0
→3.1.0
eslint-plugin-react
^7.10.0
→7.11.1
prettier
^1.13.7
→1.14.3
- Added styles for
svg
's, font-awesome classes and.material-icons
class insidesrc/assets/jss/material-dashboard-pro-react/views/dashboardStyle.jsx
src/assets/jss/material-dashboard-pro-react/views/extendedTablesStyle.jsx
src/assets/jss/material-dashboard-pro-react/views/pricingPageStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/buttonStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/cardFooterStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/cardHeaderStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/cardStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/customInputStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/customTabsStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/headerLinksStyle.jsx
- Others
src/assets/jss/material-dashboard-pro-react/views/regularFormsStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/customInputStyle.jsx
src/assets/scss/material-dashboard-pro-react/plugins/_plugin-react-big-calendar.scss
src/assets/jss/material-dashboard-pro-react/layouts/pagesStyle.jsx
src/assets/jss/material-dashboard-pro-react/views/registerPageStyle.jsx
src/assets/jss/material-dashboard-pro-react/views/loginPageStyle.jsx
src/assets/jss/material-dashboard-pro-react/views/pricingPageStyle.jsx
src/assets/jss/material-dashboard-pro-react/views/lockScreenPageStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/customDropdownStyle.jsx
src/assets/jss/material-dashboard-pro-react/customSelectStyle.jsx
(added some special class for the multiple select)
- Run
prettier
(minor code writting bugs) - Added lint commands (please read the live docs)
- Added back the
helpText
prop onCustomInput
component (if theCustomInput
has theerror
prop set, thehelpText
wil have error color, if thesuccess
prop is set onCustomInput
then thehelpText
will have success color) - Deleted the
Clear
(icon that appeared onerror
forCustomInput
) andCheck
(icon that appeared onsuccess
forCustomInput
) - now you should useInputAdornment
from@material-ui/core
- Changed
CustomDropdown
, now it uses@material-ui/core/Popper
, instead of{ Manager, Target, Popper }
fromreact-popper
- Changed the dropdown link in
HeaderLinks
, now it uses@material-ui/core/Popper
, instead of{ Manager, Target, Popper }
fromreact-popper
- Github issues solved:
https://github.com/creativetimofficial/ct-material-dashboard-pro-react/issues/34
https://github.com/creativetimofficial/ct-material-dashboard-pro-react/issues/35
https://github.com/creativetimofficial/ct-material-dashboard-pro-react/issues/39
https://github.com/creativetimofficial/ct-material-dashboard-pro-react/issues/40
https://github.com/creativetimofficial/ct-material-dashboard-pro-react/issues/54
(added docs for this issue)https://github.com/creativetimofficial/ct-material-dashboard-pro-react/issues/55
https://github.com/creativetimofficial/ct-material-dashboard-pro-react/issues/62
@babel/runtime v7.0.0-beta.55
@material-ui/core v1.2.0
to@material-ui/core v1.4.3
@material-ui/icons v1.1.0
to@material-ui/icons v2.0.1
@types/googlemaps v3.30.8
to@types/googlemaps v3.30.11
ajv v6.5.0
toajv v6.5.2
moment v2.22.1
tomoment v2.22.2
node-sass-chokidar v1.3.0
tonode-sass-chokidar v1.3.3
perfect-scrollbar v1.3.0
toperfect-scrollbar v1.4.0
react v16.4.0
tpreact v16.4.1
react-big-calendar v0.19.1
toreact-big-calendar v0.19.2
react-datetime v2.14.0
toreact-datetime v2.15.0
react-dom v16.4.0
toreact-dom 16.4.1
react-router-dom v4.2.2
toreact-router-dom v4.3.1
react-swipeable-views v0.12.13
toreact-swipeable-views v0.12.15
- All cards have been changed
- Please take a look in our documentation about cards and see how to make these changes
- Some props have been dropped, and some props have been added instead (please read our live docs)
- Instead of using Material-UI's Cards, which are the base of our Cards in [email protected] and prior, we've decided to start from scratch and create our own components for the Cards
- All
*NoBackground
colors of the custom Button have been dropped, and have been replaced by adding the propertiessimple color="*"
(where*
is one ofinfo
,danger
etc.) - Dropped components
- CustomButton
IconButton.jsx
(instead of this one - useButton
withjustIcon
prop)
- Cards
ChartCard.jsx
PricingCard.jsx
FullHeaderCard.jsx
ProfileCard.jsx
HeaderCard.jsx
RegularCard.jsx
IconCard.jsx
StatsCard.jsx
ImagePriceCard.jsx
TasksCard.jsx
LoginCard.jsx
TestimonialCard.jsx
- Grid
ItemGrid.jsx
- CustomButton
- Added components
- Cards (these are the replacement of the above deleted Cards)
Card.jsx
CardBody.jsx
CardHeader.jsx
CardFooter.jsx
CardIcon.jsx
CustomTabs/CustomTabs.jsx
instead part ofTasksCard.jsx
- Grid
GridItem.jsx
instead of the above deleted Grid
- Cards (these are the replacement of the above deleted Cards)
- Renamed the
*cardHeader
variables- from
orangeCardHeader
greenCardHeader
redCardHeader
blueCardHeader
purpleCardHeader
- to
warningCardHeader
successCardHeader
dangerCardHeader
infoCardHeader
primaryCardHeader
- from
- Changed the way we render
Switch
,Select
andCheckbox
(on Wizard page - Step2 -IconCheckboxes
) components - Changed the
ImageUpload
components - they weren't rendering correctly on apple products - Major style changes:
src/assets/jss/material-dashboard-pro-react/components/accordionStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/buttonStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/customInputStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/headerLinksStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/headerStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/navPillsStyle.jsx
src/assets/jss/material-dashboard-pro-react/components/tasksStyle.jsx
src/assets/jss/material-dashboard-pro-react/views/extendedTablesStyle.jsx
src/assets/jss/material-dashboard-pro-react/views/notificationsStyle.jsx
src/assets/jss/material-dashboard-pro-react/views/registerPageStyle.jsx
src/assets/jss/material-dashboard-pro-react/views/userProfileStyles.jsx
src/assets/jss/material-dashboard-pro-react/views/validationFormsStyle.jsx
src/assets/jss/material-dashboard-pro-react/customCheckboxRadioSwitch.jsx
src/assets/jss/material-dashboard-pro-react/customSelectStyle.jsx
src/assets/jss/material-dashboard-pro-react/modalStyle.jsx
src/assets/scss/material-dashboard-pro-react/plugins/_plugin-react-big-calendar.scss
src/assets/jss/material-dashboard-pro-react/components/customDropdownStyle.jsx
src/assets/scss/material-dashboard-pro-react/_fileupload.scss
- Due to the change of material-ui, all the imports from this library have been changed
- Added props on the
Wizard
component and Wizard Steps components so that you can pass states between them (please read the docs) - Used prettier to make the code more readable
- Added
/*eslint-disable*/
at the start of some files to stop showing warnings about links
@material-ui/[email protected]
(instead of[email protected]
)[email protected]
to stop the warningnpm **WARN** [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
@types/[email protected]
to stop the warningnpm **WARN** [email protected] requires a peer of @types/markerclustererplus@^2.1.29 but none is installed. You must install peer dependencies yourself.
@types/[email protected]
to stop the warningnpm **WARN** [email protected] requires a peer of @types/googlemaps@^3.0.0 but none is installed. You must install peer dependencies yourself.
@material-ui/[email protected]
to@material-ui/[email protected]
[email protected]
to[email protected]
[email protected]
to[email protected]
[email protected]
to[email protected]
[email protected]
to[email protected]
[email protected]
to[email protected]
[email protected]
to[email protected]
[email protected]
to[email protected]
[email protected]
to[email protected]
- Changed links for live preview, online documentation and issues
- Changed links from
http
tohttps
- Changes caused by the upgrade of
material-ui
@material-ui/[email protected]
(instead of[email protected]
)
[email protected]
to[email protected]
[email protected]
to[email protected]
[email protected]
to[email protected]
[email protected]
to[email protected]
[email protected]
to[email protected]
- Added Material-UI as base framework
- Added design from Material Dashboard Pro BS3 by Creative Tim