From 59e9c920a81c6dac56bbc7b1fd2cbdc17881865e Mon Sep 17 00:00:00 2001 From: Bogdan Bosca <109202804+endv-bogdanb@users.noreply.github.com> Date: Fri, 31 May 2024 15:54:32 +0300 Subject: [PATCH] feat: remove mantine (#27) --- .npmrc | 2 +- index.html | 1 + package-lock.json | 975 ++++++++++-------- package.json | 4 +- src/components/{ => ErrorPage}/ErrorPage.tsx | 15 +- src/components/Layout.tsx | 16 - src/components/Layout/Layout.tsx | 9 + src/components/Login.tsx | 65 -- src/components/Login/Login.tsx | 60 ++ src/components/Login/styles.module.css | 17 + src/components/UserProfile.tsx | 40 - src/components/UserProfile/UserProfile.tsx | 36 + .../{ => UsersTable}/UsersTable.tsx | 25 +- src/components/index.ts | 10 +- src/features/Root.tsx | 13 +- src/features/swr/SwrUsers.tsx | 2 +- src/features/toolkit-query/ToolkitUsers.tsx | 2 +- src/main.tsx | 12 +- tsconfig.json | 3 +- 19 files changed, 698 insertions(+), 609 deletions(-) rename src/components/{ => ErrorPage}/ErrorPage.tsx (50%) delete mode 100644 src/components/Layout.tsx create mode 100644 src/components/Layout/Layout.tsx delete mode 100644 src/components/Login.tsx create mode 100644 src/components/Login/Login.tsx create mode 100644 src/components/Login/styles.module.css delete mode 100644 src/components/UserProfile.tsx create mode 100644 src/components/UserProfile/UserProfile.tsx rename src/components/{ => UsersTable}/UsersTable.tsx (69%) diff --git a/.npmrc b/.npmrc index ced1ba4..449691b 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1 @@ ---save-exact=true \ No newline at end of file +save-exact=true \ No newline at end of file diff --git a/index.html b/index.html index e0d1c84..ccf61e1 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ +
{error.statusText || error.message}
- -ID | @@ -42,15 +34,12 @@ export function UsersTable({ users, loading, error, retry }: IUserTable) {
---|