Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Update components
Browse files Browse the repository at this point in the history
  • Loading branch information
acomanescu committed Aug 7, 2020
1 parent 5504efc commit 7d30afc
Show file tree
Hide file tree
Showing 176 changed files with 17,536 additions and 4,015 deletions.
94 changes: 34 additions & 60 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,68 +1,42 @@
{
"parser": "babel-eslint",
"rules": {
"comma-dangle": 0,
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"jsx-quotes": 1,
"linebreak-style": [
2,
"unix"
],
"quotes": [
2,
"single"
],
"react/display-name": 1,
"react/forbid-prop-types": 0,
"react/sort-prop-types": 1,
"react/jsx-boolean-value": 1,
"react/jsx-first-prop-new-line": [
1,
"multiline"
],
"react/jsx-closing-bracket-location": 1,
"react/jsx-curly-spacing": 1,
"react/jsx-indent-props": [
2,
2
],
"react/jsx-max-props-per-line": 1,
"react/jsx-no-duplicate-props": 1,
"react/jsx-no-literals": 0,
"react/jsx-no-undef": 1,
"react/jsx-sort-props": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-danger": 1,
"react/no-did-mount-set-state": 0,
"react/no-did-update-set-state": 1,
"react/no-direct-mutation-state": 1,
"react/no-multi-comp": 1,
"react/no-set-state": 1,
"react/no-unknown-property": 1,
"react/prefer-es6-class": 1,
"react/prop-types": 1,
"react/react-in-jsx-scope": 1,
"react/self-closing-comp": 1,
"react/sort-comp": 0,
"semi": 0
},
"env": {
"es6": true,
"browser": true
},
"extends": "eslint:recommended",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
"extends": [
"airbnb",
"airbnb/hooks",
"eslint:recommended"
],
"settings": {
"import/resolver": {
"node": {
"paths": [
"src"
],
"extensions": [
".js",
".jsx"
]
}
}
},
"plugins": [
"react"
]
"rules": {
"arrow-body-style": "off",
"comma-dangle": "off",
"import/no-unresolved": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/control-has-associated-label": "off",
"jsx-a11y/no-static-element-interactions": "off",
"no-console": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"react-hooks/exhaustive-deps": "off",
"react/forbid-prop-types": "off",
"react/jsx-filename-extension": "off",
"react/jsx-props-no-spreading": "off",
"react/require-default-props": "off"
}
}
1 change: 0 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"bracketSpacing": true,
"jsxBracketSameLine": true,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "none",
Expand Down
87 changes: 48 additions & 39 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,56 +1,65 @@
# Change Log

## [0.3.0] 2019-07-24
## V1.0.0

## Updates
###### Aug 7, 2020

- Removed `services` and `data` folders, each component has its own data
- Implemented a custom Route component to wrap views in layouts
- Updated the layout to match with the PRO version
- Replaced custom cumponents (Portlet) with Material-UI built-in components
- Ajusted theme colors
- Implemented `useStyle` hook instead of `withStyles` HOC
- Moved from Class Components to Functional Components
- Replaced dependency `classnames` with `clsx`
- Replaced `.jsx` with `.js`
- Removed unused `.scss` files from `assets` folder
- Updated dependencies
- Add `eslint`
- Add `Feather Icons`
- Add `Formik` for login/register pages
- Implement `react-router` v6 routing method
- Remove extra views
- Remove `node-sass` dependency
- Update all components to match the PRO version style
- Update dependencies
- Update folder structure to remove folder depth
- Update theme configuration

## Contributors
## V0.4.0

- [Christopher Escalon](https://github.com/escalonc) - Updating packages and fixing deprecated for spacing
###### Jul 24, 2019

## [0.2.0] 2019-05-13
- Adjust theme colors
- Implement `useStyle` hook instead of `withStyles` HOC
- Implement a custom Route component to wrap views in layouts
- Remove `services` and `data` folders, each component has its own data
- Remove unused `.scss` files from `assets` folder
- Replace `.jsx` with `.js`
- Replace Class Components with Function Components
- Replace custom cumponents (Portlet) with Material-UI built-in components
- Replace dependency `classnames` with `clsx`
- Update dependencies
- Update the layout to match the PRO version

## Updates
## V0.3.0

- [#5](https://github.com/devias-io/react-material-dashboard/issues/5) Updated to @material-ui to `4.0.0-beta`
- Updated few icons to match @material-ui v4 updates
- Updated React version to `16.8.6` to support React Hooks
- Implemented `jsconfig.json` file and removed `.env` to match React v16.8.6 absolute paths
- Updated Dashboard view top widgets styles and structure
- Updated chart styles and options
###### May 13, 2019

## [0.1.1] 2019-05-11
- Implement `jsconfig.json` file and removed `.env` to match React v16.8.6 absolute paths
- Update chart styles and options
- Update Dashboard view top widgets styles and structure
- Update few icons to match @material-ui v4 updates
- Update React version to 16.8.6 to support React Hooks
- Update to @material-ui to 4.0.0-beta

### Updates
## V0.2.0

- Updated README.md
- Added docs for IE11 polyfill
- Removed unused scss from assets
- Removed unused components from shared components
- Removed `authGuard` since it won't be used in this version
- Removed `auth` service folder since it won't be implemented for this version
- Removed "status" from `ProductCard` component since it was not part of released design
- Changed icon in `Users` widget (ArrowDropDown with ArrowDropUp)
###### May 11, 2019

### Fixed bugs
- Add docs for IE11 polyfill
- Fix `DisplayMode` component size, when used as a flex child it could grow/shrink
- Fix `ProductCard` component description height
- Fix `Typography` view responsiveness for small devices
- Fix charts responsiveness
- Remove "status" from `ProductCard` component since it was not part of released design
- Remove `auth` service folder since it won't be implemented for this version
- Remove `authGuard` since it won't be used in this version
- Remove unused components from shared components
- Remove unused scss from assets
- Update README.md

- Fixed charts responsiveness
- Fixed `DisplayMode` component size, when used as a flex child it could grow/shrink
- Fixed `Typography` view responsiveness for small devices
- [#2](https://github.com/devias-io/react-material-dashboard/pull/2) Fixed `ProductCard` component description height
## V0.1.0

## [0.1.0] 2019-05-02
###### May 2, 2019

### Initial commit
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Devias
Copyright (c) 2020 Devias

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 5 additions & 3 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"compilerOptions": {
"baseUrl": "src"
"baseUrl": "."
},
"include": ["src"]
}
"include": [
"src"
]
}
Loading

0 comments on commit 7d30afc

Please sign in to comment.