-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
126 changed files
with
11,831 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
const { resolve } = require('node:path'); | ||
|
||
const project = resolve(__dirname, 'tsconfig.json'); | ||
|
||
module.exports = { | ||
root: true, | ||
extends: [ | ||
require.resolve('@vercel/style-guide/eslint/node'), | ||
require.resolve('@vercel/style-guide/eslint/typescript'), | ||
require.resolve('@vercel/style-guide/eslint/browser'), | ||
require.resolve('@vercel/style-guide/eslint/react'), | ||
require.resolve('@vercel/style-guide/eslint/next'), | ||
], | ||
parserOptions: { | ||
project, | ||
}, | ||
settings: { | ||
'import/resolver': { | ||
typescript: { | ||
project, | ||
}, | ||
}, | ||
}, | ||
rules: { | ||
'@typescript-eslint/no-unused-vars': [ | ||
'error', | ||
{ | ||
ignoreRestSiblings: true, | ||
argsIgnorePattern: '^_', | ||
varsIgnorePattern: '^_', | ||
caughtErrorsIgnorePattern: '^_', | ||
}, | ||
], | ||
'@typescript-eslint/no-empty-interface': [ | ||
'error', | ||
{ | ||
allowSingleExtends: true, | ||
}, | ||
], | ||
'@typescript-eslint/no-shadow': [ | ||
'error', | ||
{ | ||
ignoreOnInitialization: true, | ||
}, | ||
], | ||
'import/newline-after-import': 'error', | ||
'react/jsx-uses-react': 'error', | ||
'react/react-in-jsx-scope': 'error', | ||
'unicorn/filename-case': [ | ||
'error', | ||
{ | ||
cases: { | ||
kebabCase: true, // personal style | ||
pascalCase: true, | ||
}, | ||
}, | ||
], | ||
|
||
// Deactivated | ||
'@typescript-eslint/dot-notation': 'off', // paths are used with a dot notation | ||
'@typescript-eslint/no-misused-promises': 'off', // onClick with async fails | ||
'@typescript-eslint/no-non-null-assertion': 'off', // sometimes compiler is unable to detect | ||
'@typescript-eslint/no-unnecessary-condition': 'off', // remove when no static data is used | ||
'@typescript-eslint/require-await': 'off', // Server Actions require async flag always | ||
'@typescript-eslint/prefer-nullish-coalescing': 'off', // personal style | ||
'@typescript-eslint/restrict-template-expressions': [ | ||
'error', | ||
{ | ||
allowNumber: true, | ||
}, | ||
], | ||
'import/no-default-export': 'off', // Next.js components must be exported as default | ||
'import/no-extraneous-dependencies': 'off', // conflict with sort-imports plugin | ||
'import/order': 'off', // using custom sort plugin | ||
'no-nested-ternary': 'off', // personal style | ||
'no-redeclare': 'off', // conflict with TypeScript function overloads | ||
'react/jsx-fragments': 'off', // personal style | ||
'react/prop-types': 'off', // TypeScript is used for type checking | ||
|
||
'@next/next/no-img-element': 'off', // Temporary disabled | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
out | ||
.next | ||
|
||
# misc | ||
.DS_Store | ||
.eslintcache | ||
.idea | ||
/.env | ||
/.env.local | ||
/.env.development.local | ||
/.env.test.local | ||
/.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
# Changelog | ||
|
||
## v4.0.0 | ||
|
||
###### Mar 8, 2024 | ||
|
||
- Add `TypeScript` | ||
- Refactor code | ||
- Replace `date-fns` with `dayjs` | ||
- Replace `Formik` with `React Hook Form` | ||
- Replace `Hero Icons` with `Phosphor Icons` | ||
- Replace `pages` router with `app router` | ||
- Replace `Yup` with `Zod` | ||
- Update `eslint` rules | ||
- Update auth implementation | ||
- Update dependencies | ||
- Update design system | ||
|
||
## v3.0.0 | ||
|
||
###### Feb 24, 2023 | ||
|
||
- Refactor components | ||
- Replace authentication | ||
- Update dependencies | ||
- Update design system | ||
|
||
## v2.1.0 | ||
|
||
###### Sep 15, 2022 | ||
|
||
- Integrate Zalter Authentication | ||
- Update dependencies | ||
|
||
## v2.0.0 | ||
|
||
###### Nov 8, 2021 | ||
|
||
- Migrate to Next.js | ||
- Update design system | ||
|
||
# Change Log | ||
|
||
## v1.0.0 | ||
|
||
###### Aug 7, 2020 | ||
|
||
- Add `eslint` | ||
- Add `Feather Icons` | ||
- Add `Formik` for login/register pages | ||
- Implement `react-router` v6 routing method | ||
- Remove `node-sass` dependency | ||
- Remove extra views | ||
- Update all components to match the PRO version style | ||
- Update dependencies | ||
- Update folder structure to remove folder depth | ||
- Update theme configuration | ||
|
||
## v0.4.0 | ||
|
||
###### Jul 24, 2019 | ||
|
||
- 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 components (Portlet) with Material-UI built-in components | ||
- Replace dependency `classnames` with `clsx` | ||
- Update dependencies | ||
- Update the layout to match the PRO version | ||
|
||
## v0.3.0 | ||
|
||
###### May 13, 2019 | ||
|
||
- 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 | ||
|
||
## v0.2.0 | ||
|
||
###### May 11, 2019 | ||
|
||
- 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 | ||
|
||
## v0.1.0 | ||
|
||
###### May 2, 2019 | ||
|
||
### Initial commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 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 | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
## [Devias Kit - React](https://material-kit-react.devias.io/) | ||
|
||
![license](https://img.shields.io/badge/license-MIT-blue.svg) | ||
|
||
[![Devias Kit - React](https://github.com/devias-io/material-kit-react/blob/main/public/assets/thumbnail.png)](https://material-kit-react.devias.io/) | ||
|
||
> Free React Admin Dashboard made with [MUI's](https://mui.com) components, [React](https://reactjs.org) and of course [Next.js](https://github.com/vercel/next.js) to boost your app development process! | ||
## Pages | ||
|
||
- [Dashboard](https://material-kit-react.devias.io) | ||
- [Customers](https://material-kit-react.devias.io/dashboard/customers) | ||
- [Integrations](https://material-kit-react.devias.io/dashboard/integrations) | ||
- [Settings](https://material-kit-react.devias.io/dashboard/settings) | ||
- [Account](https://material-kit-react.devias.io/dashboard/account) | ||
- [Sign In](https://material-kit-react.devias.io/auth/sign-in) | ||
- [Sign Up](https://material-kit-react.devias.io/auth/sign-up) | ||
- [Reset Password](https://material-kit-react.devias.io/auth/reset-password) | ||
|
||
## Free Figma Community File | ||
|
||
- [Duplicate File](https://www.figma.com/file/b3L1Np4RYiicZAOMopHNkm/Devias-Dashboard-Design-Library-Kit) | ||
|
||
## Upgrade to PRO Version | ||
|
||
We also have a pro version of this product which bundles even more pages and components if you want | ||
to save more time and design efforts :) | ||
|
||
| Free Version (this one) | [Devias Kit Pro](https://mui.com/store/items/devias-kit-pro/) | | ||
| ------------------------ | :--------------------------------------------------------------------------- | | ||
| **8** Pages | **80+** Pages | | ||
| ✔ Custom Authentication | ✔ Authentication with **Amplify**, **Auth0**, **Firebase** and **Supabase** | | ||
| - | ✔ Vite Version | | ||
| - | ✔ Dark Mode Support | | ||
| - | ✔ Complete Users Flows | | ||
| - | ✔ Premium Technical Support | | ||
|
||
## Quick start | ||
|
||
- Clone the repo: `git clone https://github.com/devias-io/material-kit-react.git` | ||
- Make sure your Node.js and npm versions are up to date | ||
- Install dependencies: `npm install` or `yarn` | ||
- Start the server: `npm run dev` or `yarn dev` | ||
- Open browser: `http://localhost:3000` | ||
|
||
## File Structure | ||
|
||
Within the download you'll find the following directories and files: | ||
|
||
``` | ||
┌── .editorconfig | ||
├── .eslintrc.js | ||
├── .gitignore | ||
├── CHANGELOG.md | ||
├── LICENSE.md | ||
├── next-env.d.ts | ||
├── next.config.js | ||
├── package.json | ||
├── README.md | ||
├── tsconfig.json | ||
├── public | ||
└── src | ||
├── components | ||
├── contexts | ||
├── hooks | ||
├── lib | ||
├── styles | ||
├── types | ||
└── app | ||
├── layout.tsx | ||
├── page.tsx | ||
├── auth | ||
└── dashboard | ||
``` | ||
|
||
## Resources | ||
|
||
- More freebies like this one: https://devias.io | ||
|
||
## Reporting Issues: | ||
|
||
- [Github Issues Page](https://github.com/devias-io/material-kit-react/issues) | ||
|
||
## License | ||
|
||
- Licensed under [MIT](https://github.com/devias-io/material-kit-react/blob/main/LICENSE.md) | ||
|
||
## Contact Us | ||
|
||
- Email Us: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/image-types/global" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/basic-features/typescript for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const config = {}; | ||
|
||
export default config; |
Oops, something went wrong.