From 0f331481563e9d10d982675078b675c348b91ef7 Mon Sep 17 00:00:00 2001 From: Courtney Myers Date: Tue, 11 Jul 2023 10:50:35 -0400 Subject: [PATCH 01/71] Add @tailwindscss/forms --- app/client/package-lock.json | 33 +++++++++++++++++++++++++++++++++ app/client/package.json | 1 + app/client/tailwind.config.js | 2 +- 3 files changed, 35 insertions(+), 1 deletion(-) diff --git a/app/client/package-lock.json b/app/client/package-lock.json index c505d145..f4757f0c 100644 --- a/app/client/package-lock.json +++ b/app/client/package-lock.json @@ -15,6 +15,7 @@ "@headlessui/react": "1.7.14", "@heroicons/react": "2.0.18", "@radix-ui/react-tooltip": "1.0.5", + "@tailwindcss/forms": "0.5.3", "@tanstack/react-query": "4.29.7", "@tanstack/react-query-devtools": "4.29.7", "@testing-library/jest-dom": "5.16.5", @@ -3624,6 +3625,17 @@ "url": "https://github.com/sponsors/gregberge" } }, + "node_modules/@tailwindcss/forms": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.3.tgz", + "integrity": "sha512-y5mb86JUoiUgBjY/o6FJSFZSEttfb3Q5gllE4xoKjAAD+vBrnIhE4dViwUuow3va8mpH4s9jyUbUbrRGoRdc2Q==", + "dependencies": { + "mini-svg-data-uri": "^1.2.3" + }, + "peerDependencies": { + "tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1" + } + }, "node_modules/@tanstack/match-sorter-utils": { "version": "8.7.6", "resolved": "https://registry.npmjs.org/@tanstack/match-sorter-utils/-/match-sorter-utils-8.7.6.tgz", @@ -13148,6 +13160,14 @@ "url": "https://opencollective.com/webpack" } }, + "node_modules/mini-svg-data-uri": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", + "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==", + "bin": { + "mini-svg-data-uri": "cli.js" + } + }, "node_modules/minimalistic-assert": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", @@ -21307,6 +21327,14 @@ "loader-utils": "^2.0.0" } }, + "@tailwindcss/forms": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.3.tgz", + "integrity": "sha512-y5mb86JUoiUgBjY/o6FJSFZSEttfb3Q5gllE4xoKjAAD+vBrnIhE4dViwUuow3va8mpH4s9jyUbUbrRGoRdc2Q==", + "requires": { + "mini-svg-data-uri": "^1.2.3" + } + }, "@tanstack/match-sorter-utils": { "version": "8.7.6", "resolved": "https://registry.npmjs.org/@tanstack/match-sorter-utils/-/match-sorter-utils-8.7.6.tgz", @@ -28214,6 +28242,11 @@ } } }, + "mini-svg-data-uri": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", + "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==" + }, "minimalistic-assert": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", diff --git a/app/client/package.json b/app/client/package.json index a678008b..44fe22d5 100644 --- a/app/client/package.json +++ b/app/client/package.json @@ -23,6 +23,7 @@ "@headlessui/react": "1.7.14", "@heroicons/react": "2.0.18", "@radix-ui/react-tooltip": "1.0.5", + "@tailwindcss/forms": "0.5.3", "@tanstack/react-query": "4.29.7", "@tanstack/react-query-devtools": "4.29.7", "@testing-library/jest-dom": "5.16.5", diff --git a/app/client/tailwind.config.js b/app/client/tailwind.config.js index 85954397..bc04a801 100644 --- a/app/client/tailwind.config.js +++ b/app/client/tailwind.config.js @@ -4,7 +4,7 @@ module.exports = { theme: { extend: {}, }, - plugins: [], + plugins: [require("@tailwindcss/forms")], prefix: "tw-", corePlugins: { preflight: false, From f63c10fdb5dc1b1326337edf67f69404261cf43e Mon Sep 17 00:00:00 2001 From: Courtney Myers Date: Tue, 11 Jul 2023 10:51:26 -0400 Subject: [PATCH 02/71] Add updated header to userDashboard (commented out for now) --- app/client/src/components/userDashboard.tsx | 104 ++++++++++++++++++++ 1 file changed, 104 insertions(+) diff --git a/app/client/src/components/userDashboard.tsx b/app/client/src/components/userDashboard.tsx index dc078136..aaf9eec6 100644 --- a/app/client/src/components/userDashboard.tsx +++ b/app/client/src/components/userDashboard.tsx @@ -109,6 +109,110 @@ export function UserDashboard(props: { email: string }) { + {/* +
+
+ + +
+ +
+
+ + + + + Your Rebate Forms + + + +
+ +
+ + + + New Application + + +
+ +
+ + + + Helpdesk + + +
+
+ +
+
+ {email} +
+ +
+ + + Sign out + + + +
+
+
+ */} +
*/} -
- - - From 497588031bfc21fa6e56b7a358267f3ea9eb0547 Mon Sep 17 00:00:00 2001 From: Courtney Myers Date: Tue, 11 Jul 2023 14:31:27 -0400 Subject: [PATCH 06/71] Remove commented out 'new' dashboard bar/menu, as the old one has now been updated --- app/client/src/components/userDashboard.tsx | 104 -------------------- 1 file changed, 104 deletions(-) diff --git a/app/client/src/components/userDashboard.tsx b/app/client/src/components/userDashboard.tsx index fd31ddd1..b1b8d02e 100644 --- a/app/client/src/components/userDashboard.tsx +++ b/app/client/src/components/userDashboard.tsx @@ -120,110 +120,6 @@ export function UserDashboard(props: { email: string }) { - {/* -
-
- - -
- - - -
-
- {email} -
- - -
-
- */} -