From 5a72b7546196c6068f0bddb49514fe2c690cf319 Mon Sep 17 00:00:00 2001 From: Abdfnx Mhd Date: Tue, 21 Nov 2023 20:39:46 +0000 Subject: [PATCH] =?UTF-8?q?botway(core):=20very=20big=20ui=20update=20for?= =?UTF-8?q?=20botway=20core=20=F0=9F=AB=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/app/{settings => account}/page.tsx | 73 +-- core/app/page.tsx | 8 +- core/components/Layout/index.tsx | 540 ++++++++++++-------- core/components/Layout/project.tsx | 2 +- core/middleware.ts | 4 - core/package.json | 3 +- core/supabase/auth/container/sign-out.tsx | 24 +- core/tailwind.config.js | 32 +- go.mod | 2 +- go.sum | 2 + pnpm-lock.yaml | 573 +++++++++++++++++++++- 11 files changed, 991 insertions(+), 272 deletions(-) rename core/app/{settings => account}/page.tsx (90%) diff --git a/core/app/settings/page.tsx b/core/app/account/page.tsx similarity index 90% rename from core/app/settings/page.tsx rename to core/app/account/page.tsx index 98bf90c7..72d090c0 100644 --- a/core/app/settings/page.tsx +++ b/core/app/account/page.tsx @@ -156,33 +156,48 @@ const Settings = () => { {({ values }) => (
-
-
- - -
-
-
- -
- -
-
- -
-
+
+
+
+ +
+ +
+
+ +
+
+
+ +
+
+ +
+ +
+
+
@@ -214,7 +229,7 @@ const Settings = () => {
-
+ {/*
@@ -353,7 +368,7 @@ const Settings = () => {
-
+
*/}
diff --git a/core/app/page.tsx b/core/app/page.tsx index 79077718..f8a8410f 100644 --- a/core/app/page.tsx +++ b/core/app/page.tsx @@ -36,6 +36,7 @@ import { import { fetcher } from "@/tools/fetch"; import { Button } from "@/components/Button"; import { capitalizeFirstLetter } from "@/tools/text"; +import { Badge } from "@tremor/react"; export const revalidate = 0; @@ -185,9 +186,12 @@ const Home = ({ user }: any) => {
- + {user.user_metadata["name"]} + + X Mode +
@@ -293,7 +297,7 @@ const Home = ({ user }: any) => { ))}
) : ( -
+

Create a New Project

diff --git a/core/components/Layout/index.tsx b/core/components/Layout/index.tsx index 97e74b8d..18ce6beb 100644 --- a/core/components/Layout/index.tsx +++ b/core/components/Layout/index.tsx @@ -1,9 +1,14 @@ import { ArrowUpRightIcon, + CheckIcon, + ChevronDownIcon, + CommandPaletteIcon, + DeviceDesktopIcon, GearIcon, HomeIcon, MarkGithubIcon, NorthStarIcon, + PaperclipIcon, SparkleFillIcon, StackIcon, TelescopeIcon, @@ -15,117 +20,148 @@ import { Badge } from "@tremor/react"; import { UserAvatar } from "../UserAvatar"; import { Dialog, Transition } from "@headlessui/react"; import { Fragment, useState } from "react"; +import { Content, Portal, Root, Trigger } from "@radix-ui/react-popover"; export const DashLayout = ({ children, user, href }: any) => { const [open, setOpen] = useState(false); const Sidebar = () => { return ( -
- -
+ + {/* */} + + +
+ ); }; @@ -228,21 +268,11 @@ export const DashLayout = ({ children, user, href }: any) => { -
+
-
+
-
-
-
-

- Botway -

-
-
+
@@ -261,7 +291,6 @@ export const DashLayout = ({ children, user, href }: any) => { > {
setOpen(true)} - className="block md:hidden" + className="cursor-pointer block md:hidden mt-0.5" > - +
{ className="flex border-gray-800 rounded outline-none outline-offset-1 transition-all focus:outline-4" > - + - - - - - AI - Soon - - - + + + + + + +
+
+
+
+

+ X Mode +

+
+
+ + + +
+
+

+ {user.user_metadata["name"]} +

+
+
+

+ General +

+ +
+ + Account Settings +
+
+ +
+ + My AI Models +
+
+ +
+ + My Uploaded Data Files +
+
+
+
+

+ Modes +

+
+
+
+ +

+ Visual Mode +

+
+ {/* */} +
+
+
+
+
+ +

+ Dev Mode +

+
+
+
+
+
+
+ + v0.2.0 +
+
+ +
+
+
+ + +
{children} diff --git a/core/components/Layout/project.tsx b/core/components/Layout/project.tsx index cdd61026..c8efd2a1 100644 --- a/core/components/Layout/project.tsx +++ b/core/components/Layout/project.tsx @@ -217,7 +217,7 @@ export const ProjectLayout = ({
    diff --git a/core/middleware.ts b/core/middleware.ts index 1e13ee57..98ca9f77 100644 --- a/core/middleware.ts +++ b/core/middleware.ts @@ -12,7 +12,3 @@ export const middleware = async (req: NextRequest) => { return res; }; - -// export const config = { -// matcher: ["/dash", "/settings"], -// }; diff --git a/core/package.json b/core/package.json index 898b3d77..a52f67f9 100644 --- a/core/package.json +++ b/core/package.json @@ -13,6 +13,7 @@ "@faker-js/faker": "^8.3.1", "@headlessui/react": "^1.7.17", "@primer/octicons-react": "^19.8.0", + "@radix-ui/react-popover": "^1.0.7", "@supabase/auth-helpers-nextjs": "^0.8.7", "@supabase/supabase-js": "^2.38.5", "@tanstack/react-query": "^5.8.4", @@ -25,7 +26,7 @@ "clsx": "^2.0.0", "csstype": "^3.1.2", "encoding": "^0.1.13", - "flowbite": "^2.1.1", + "flowbite": "^2.2.0", "flowbite-react": "^0.6.4", "formik": "^2.4.5", "graphql": "^16.8.1", diff --git a/core/supabase/auth/container/sign-out.tsx b/core/supabase/auth/container/sign-out.tsx index fc9a3060..719ecb8b 100644 --- a/core/supabase/auth/container/sign-out.tsx +++ b/core/supabase/auth/container/sign-out.tsx @@ -7,24 +7,12 @@ export const SignOut = () => { const { signOut } = useAuth(); return ( -
    - +
    + + Sign Out
    ); }; diff --git a/core/tailwind.config.js b/core/tailwind.config.js index 767c3e4a..fa144da6 100644 --- a/core/tailwind.config.js +++ b/core/tailwind.config.js @@ -67,10 +67,33 @@ module.exports = { from: { height: "var(--radix-accordion-content-height)" }, to: { height: 0 }, }, + slideUpAndFade: { + from: { opacity: 0, transform: "translateY(2px)" }, + to: { opacity: 1, transform: "translateY(0)" }, + }, + slideRightAndFade: { + from: { opacity: 0, transform: "translateX(-2px)" }, + to: { opacity: 1, transform: "translateX(0)" }, + }, + slideDownAndFade: { + from: { opacity: 0, transform: "translateY(-2px)" }, + to: { opacity: 1, transform: "translateY(0)" }, + }, + slideLeftAndFade: { + from: { opacity: 0, transform: "translateX(2px)" }, + to: { opacity: 1, transform: "translateX(0)" }, + }, }, animation: { "accordion-down": "accordion-down 0.2s ease-out", "accordion-up": "accordion-up 0.2s ease-out", + slideUpAndFade: "slideUpAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)", + slideRightAndFade: + "slideRightAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)", + slideDownAndFade: + "slideDownAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)", + slideLeftAndFade: + "slideLeftAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)", }, boxShadow: { // light @@ -94,15 +117,6 @@ module.exports = { }, }, }, - extend: { - backgroundImage: (theme) => ({ - squiggle: `url("${svgToDataUri( - ``, - )}")`, - }), - }, plugins: [ require("tailwindcss-animate"), require("@tailwindcss/typography"), diff --git a/go.mod b/go.mod index fa46cfb5..5bf6deb3 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/abdfnx/looker v0.1.0 github.com/abdfnx/resto v0.1.6 github.com/abdfnx/tran v0.1.43 - github.com/botwayorg/get-latest v0.1.61 + github.com/botwayorg/get-latest v0.2.0 github.com/botwayorg/gh v0.1.2 github.com/botwayorg/git v0.0.0-20220813023031-a7a261511635 github.com/botwayorg/railway-api v0.0.8 diff --git a/go.sum b/go.sum index 3b9eab73..9c316994 100644 --- a/go.sum +++ b/go.sum @@ -66,6 +66,8 @@ github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuP github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/botwayorg/get-latest v0.1.61 h1:396dGAfi6p6WBz+Au8UXFbQzFuq2allHwf/YApCQDIU= github.com/botwayorg/get-latest v0.1.61/go.mod h1:i/gTs/Iu/wG4Q5dyIyLbRQiZZZkbNcn3D3Rk8hMef8Y= +github.com/botwayorg/get-latest v0.2.0 h1:swbOaQaFGasl3TzoaOJjBGm0i4uY58RPw0kjyeW3tws= +github.com/botwayorg/get-latest v0.2.0/go.mod h1:hyRr+n+7E1BpEVTT0HjUjgkwtcNRgE45tk/THkaYwPI= github.com/botwayorg/gh v0.1.2 h1:P+GgzKW0k4AaDwNQoIGT6/mqJq/kc9CTdenKMVh78SE= github.com/botwayorg/gh v0.1.2/go.mod h1:ETp8JEY4OkZjvDTbTGj0jhw/v0ihrp4H5j8uh4dpvlE= github.com/botwayorg/git v0.0.0-20220813023031-a7a261511635 h1:AJLUr0Ef6avA5S2SXua7XG4yXI7vAjsZLBrZD5zCOk4= diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f8d1fd0d..a494f0ab 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,6 +28,9 @@ importers: "@primer/octicons-react": specifier: ^19.8.0 version: 19.8.0(react@18.2.0) + "@radix-ui/react-popover": + specifier: ^1.0.7 + version: 1.0.7(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0) "@supabase/auth-helpers-nextjs": specifier: ^0.8.7 version: 0.8.7(@supabase/supabase-js@2.38.5) @@ -65,8 +68,8 @@ importers: specifier: ^0.1.13 version: 0.1.13 flowbite: - specifier: ^2.1.1 - version: 2.1.1 + specifier: ^2.2.0 + version: 2.2.0 flowbite-react: specifier: ^0.6.4 version: 0.6.4(react-dom@18.2.0)(react@18.2.0)(tailwindcss@3.3.5) @@ -944,6 +947,439 @@ packages: react: 18.2.0 dev: false + /@radix-ui/primitive@1.0.1: + resolution: + { + integrity: sha512-yQ8oGX2GVsEYMWGxcovu1uGWPCxV5BFfeeYxqPmuAzUyLT9qmaMXSAhXpb0WrspIeqYzdJpkh2vHModJPgRIaw==, + } + dependencies: + "@babel/runtime": 7.23.4 + dev: false + + /@radix-ui/react-arrow@1.0.3(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0): + resolution: + { + integrity: sha512-wSP+pHsB/jQRaL6voubsQ/ZlrGBHHrOjmBnr19hxYgtS0WvAFwZhK2WP/YY5yF9uKECCEEDGxuLxq1NBK51wFA==, + } + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@radix-ui/react-primitive": 1.0.3(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0) + "@types/react": 18.2.38 + "@types/react-dom": 18.2.16 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + + /@radix-ui/react-compose-refs@1.0.1(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw==, + } + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@types/react": 18.2.38 + react: 18.2.0 + dev: false + + /@radix-ui/react-context@1.0.1(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-ebbrdFoYTcuZ0v4wG5tedGnp9tzcV8awzsxYph7gXUyvnNLuTIcCk1q17JEbnVhXAKG9oX3KtchwiMIAYp9NLg==, + } + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@types/react": 18.2.38 + react: 18.2.0 + dev: false + + /@radix-ui/react-dismissable-layer@1.0.5(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0): + resolution: + { + integrity: sha512-aJeDjQhywg9LBu2t/At58hCvr7pEm0o2Ke1x33B+MhjNmmZ17sy4KImo0KPLgsnc/zN7GPdce8Cnn0SWvwZO7g==, + } + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-compose-refs": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/react-primitive": 1.0.3(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0) + "@radix-ui/react-use-callback-ref": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/react-use-escape-keydown": 1.0.3(@types/react@18.2.38)(react@18.2.0) + "@types/react": 18.2.38 + "@types/react-dom": 18.2.16 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + + /@radix-ui/react-focus-guards@1.0.1(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-Rect2dWbQ8waGzhMavsIbmSVCgYxkXLxxR3ZvCX79JOglzdEy4JXMb98lq4hPxUbLr77nP0UOGf4rcMU+s1pUA==, + } + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@types/react": 18.2.38 + react: 18.2.0 + dev: false + + /@radix-ui/react-focus-scope@1.0.4(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0): + resolution: + { + integrity: sha512-sL04Mgvf+FmyvZeYfNu1EPAaaxD+aw7cYeIB9L9Fvq8+urhltTRaEo5ysKOpHuKPclsZcSUMKlN05x4u+CINpA==, + } + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@radix-ui/react-compose-refs": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/react-primitive": 1.0.3(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0) + "@radix-ui/react-use-callback-ref": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@types/react": 18.2.38 + "@types/react-dom": 18.2.16 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + + /@radix-ui/react-id@1.0.1(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-tI7sT/kqYp8p96yGWY1OAnLHrqDgzHefRBKQ2YAkBS5ja7QLcZ9Z/uY7bEjPUatf8RomoXM8/1sMj1IJaE5UzQ==, + } + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@radix-ui/react-use-layout-effect": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@types/react": 18.2.38 + react: 18.2.0 + dev: false + + /@radix-ui/react-popover@1.0.7(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0): + resolution: + { + integrity: sha512-shtvVnlsxT6faMnK/a7n0wptwBD23xc1Z5mdrtKLwVEfsEMXodS0r5s0/g5P0hX//EKYZS2sxUjqfzlg52ZSnQ==, + } + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@radix-ui/primitive": 1.0.1 + "@radix-ui/react-compose-refs": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/react-context": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/react-dismissable-layer": 1.0.5(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0) + "@radix-ui/react-focus-guards": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/react-focus-scope": 1.0.4(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0) + "@radix-ui/react-id": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/react-popper": 1.1.3(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0) + "@radix-ui/react-portal": 1.0.4(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0) + "@radix-ui/react-presence": 1.0.1(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0) + "@radix-ui/react-primitive": 1.0.3(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0) + "@radix-ui/react-slot": 1.0.2(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/react-use-controllable-state": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@types/react": 18.2.38 + "@types/react-dom": 18.2.16 + aria-hidden: 1.2.3 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + react-remove-scroll: 2.5.5(@types/react@18.2.38)(react@18.2.0) + dev: false + + /@radix-ui/react-popper@1.1.3(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0): + resolution: + { + integrity: sha512-cKpopj/5RHZWjrbF2846jBNacjQVwkP068DfmgrNJXpvVWrOvlAmE9xSiy5OqeE+Gi8D9fP+oDhUnPqNMY8/5w==, + } + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@floating-ui/react-dom": 2.0.4(react-dom@18.2.0)(react@18.2.0) + "@radix-ui/react-arrow": 1.0.3(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0) + "@radix-ui/react-compose-refs": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/react-context": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/react-primitive": 1.0.3(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0) + "@radix-ui/react-use-callback-ref": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/react-use-layout-effect": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/react-use-rect": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/react-use-size": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/rect": 1.0.1 + "@types/react": 18.2.38 + "@types/react-dom": 18.2.16 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + + /@radix-ui/react-portal@1.0.4(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0): + resolution: + { + integrity: sha512-Qki+C/EuGUVCQTOTD5vzJzJuMUlewbzuKyUy+/iHM2uwGiru9gZeBJtHAPKAEkB5KWGi9mP/CHKcY0wt1aW45Q==, + } + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@radix-ui/react-primitive": 1.0.3(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0) + "@types/react": 18.2.38 + "@types/react-dom": 18.2.16 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + + /@radix-ui/react-presence@1.0.1(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0): + resolution: + { + integrity: sha512-UXLW4UAbIY5ZjcvzjfRFo5gxva8QirC9hF7wRE4U5gz+TP0DbRk+//qyuAQ1McDxBt1xNMBTaciFGvEmJvAZCg==, + } + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@radix-ui/react-compose-refs": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@radix-ui/react-use-layout-effect": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@types/react": 18.2.38 + "@types/react-dom": 18.2.16 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + + /@radix-ui/react-primitive@1.0.3(@types/react-dom@18.2.16)(@types/react@18.2.38)(react-dom@18.2.0)(react@18.2.0): + resolution: + { + integrity: sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g==, + } + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@radix-ui/react-slot": 1.0.2(@types/react@18.2.38)(react@18.2.0) + "@types/react": 18.2.38 + "@types/react-dom": 18.2.16 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + + /@radix-ui/react-slot@1.0.2(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==, + } + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@radix-ui/react-compose-refs": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@types/react": 18.2.38 + react: 18.2.0 + dev: false + + /@radix-ui/react-use-callback-ref@1.0.1(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-D94LjX4Sp0xJFVaoQOd3OO9k7tpBYNOXdVhkltUbGv2Qb9OXdrg/CpsjlZv7ia14Sylv398LswWBVVu5nqKzAQ==, + } + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@types/react": 18.2.38 + react: 18.2.0 + dev: false + + /@radix-ui/react-use-controllable-state@1.0.1(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA==, + } + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@radix-ui/react-use-callback-ref": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@types/react": 18.2.38 + react: 18.2.0 + dev: false + + /@radix-ui/react-use-escape-keydown@1.0.3(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==, + } + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@radix-ui/react-use-callback-ref": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@types/react": 18.2.38 + react: 18.2.0 + dev: false + + /@radix-ui/react-use-layout-effect@1.0.1(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-v/5RegiJWYdoCvMnITBkNNx6bCj20fiaJnWtRkU18yITptraXjffz5Qbn05uOiQnOvi+dbkznkoaMltz1GnszQ==, + } + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@types/react": 18.2.38 + react: 18.2.0 + dev: false + + /@radix-ui/react-use-rect@1.0.1(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==, + } + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@radix-ui/rect": 1.0.1 + "@types/react": 18.2.38 + react: 18.2.0 + dev: false + + /@radix-ui/react-use-size@1.0.1(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g==, + } + peerDependencies: + "@types/react": "*" + react: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@babel/runtime": 7.23.4 + "@radix-ui/react-use-layout-effect": 1.0.1(@types/react@18.2.38)(react@18.2.0) + "@types/react": 18.2.38 + react: 18.2.0 + dev: false + + /@radix-ui/rect@1.0.1: + resolution: + { + integrity: sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==, + } + dependencies: + "@babel/runtime": 7.23.4 + dev: false + /@supabase/auth-helpers-nextjs@0.8.7(@supabase/supabase-js@2.38.5): resolution: { @@ -1271,7 +1707,6 @@ packages: } dependencies: "@types/react": 18.2.38 - dev: true /@types/react@18.2.38: resolution: @@ -1667,7 +2102,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001563 - electron-to-chromium: 1.4.589 + electron-to-chromium: 1.4.590 node-releases: 2.0.13 update-browserslist-db: 1.0.13(browserslist@4.22.1) dev: false @@ -2002,6 +2437,13 @@ packages: engines: { node: ">=6" } dev: false + /detect-node-es@1.1.0: + resolution: + { + integrity: sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==, + } + dev: false + /didyoumean@1.2.2: resolution: { @@ -2056,10 +2498,10 @@ packages: safe-buffer: 5.2.1 dev: false - /electron-to-chromium@1.4.589: + /electron-to-chromium@1.4.590: resolution: { - integrity: sha512-zF6y5v/YfoFIgwf2dDfAqVlPPsyQeWNpEWXbAlDUS8Ax4Z2VoiiZpAPC0Jm9hXEkJm2vIZpwB6rc4KnLTQffbQ==, + integrity: sha512-hohItzsQcG7/FBsviCYMtQwUSWvVF7NVqPOnJCErWsAshsP/CR2LAXdmq276RbESNdhxiAq5/vRo1g2pxGXVww==, } dev: false @@ -2247,10 +2689,10 @@ packages: mini-svg-data-uri: 1.4.4 dev: false - /flowbite@2.1.1: + /flowbite@2.2.0: resolution: { - integrity: sha512-FkTwNXlfWRXUhSsiE9D4bEqLN8ywdunW2qOz1z7gN+Co7h9EQIJf/Fr4xgq1NJPFa+6MeMf08QLzviU7LqB/rQ==, + integrity: sha512-Eq0qWz4a5nlxaGuUcspzpu+8Ny0A7lKEJEKcuPpkdSoF8tWjbKeuVVgKk8/q10ZE9bhXh1GHBXdCsRxu0LZTNQ==, } dependencies: "@popperjs/core": 2.11.8 @@ -2315,6 +2757,14 @@ packages: integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==, } + /get-nonce@1.0.1: + resolution: + { + integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==, + } + engines: { node: ">=6" } + dev: false + /glob-parent@5.1.2: resolution: { @@ -2480,6 +2930,15 @@ packages: engines: { node: ">=12" } dev: false + /invariant@2.2.4: + resolution: + { + integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==, + } + dependencies: + loose-envify: 1.4.0 + dev: false + /is-binary-path@2.1.0: resolution: { @@ -3316,6 +3775,47 @@ packages: } dev: false + /react-remove-scroll-bar@2.3.4(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A==, + } + engines: { node: ">=10" } + peerDependencies: + "@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@types/react": 18.2.38 + react: 18.2.0 + react-style-singleton: 2.2.1(@types/react@18.2.38)(react@18.2.0) + tslib: 2.6.2 + dev: false + + /react-remove-scroll@2.5.5(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw==, + } + engines: { node: ">=10" } + peerDependencies: + "@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@types/react": 18.2.38 + react: 18.2.0 + react-remove-scroll-bar: 2.3.4(@types/react@18.2.38)(react@18.2.0) + react-style-singleton: 2.2.1(@types/react@18.2.38)(react@18.2.0) + tslib: 2.6.2 + use-callback-ref: 1.3.0(@types/react@18.2.38)(react@18.2.0) + use-sidecar: 1.1.2(@types/react@18.2.38)(react@18.2.0) + dev: false + /react-smooth@2.0.5(prop-types@15.8.1)(react-dom@18.2.0)(react@18.2.0): resolution: { @@ -3333,6 +3833,26 @@ packages: react-transition-group: 2.9.0(react-dom@18.2.0)(react@18.2.0) dev: false + /react-style-singleton@2.2.1(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==, + } + engines: { node: ">=10" } + peerDependencies: + "@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@types/react": 18.2.38 + get-nonce: 1.0.1 + invariant: 2.2.4 + react: 18.2.0 + tslib: 2.6.2 + dev: false + /react-transition-group@2.9.0(react-dom@18.2.0)(react@18.2.0): resolution: { @@ -4048,6 +4568,43 @@ packages: punycode: 2.3.1 dev: false + /use-callback-ref@1.3.0(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w==, + } + engines: { node: ">=10" } + peerDependencies: + "@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@types/react": 18.2.38 + react: 18.2.0 + tslib: 2.6.2 + dev: false + + /use-sidecar@1.1.2(@types/react@18.2.38)(react@18.2.0): + resolution: + { + integrity: sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==, + } + engines: { node: ">=10" } + peerDependencies: + "@types/react": ^16.9.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + "@types/react": + optional: true + dependencies: + "@types/react": 18.2.38 + detect-node-es: 1.1.0 + react: 18.2.0 + tslib: 2.6.2 + dev: false + /use-sync-external-store@1.2.0(react@18.2.0): resolution: {