From 3b2b9e82792fcaea304dc273f16900391b8ba947 Mon Sep 17 00:00:00 2001 From: daniel31x13 Date: Tue, 28 Nov 2023 14:24:52 -0500 Subject: [PATCH] new modal [WIP] --- .../InputSelect/CollectionSelection.tsx | 2 +- components/InputSelect/TagSelection.tsx | 2 +- components/InputSelect/styles.ts | 1 + components/Modals/New.tsx | 132 ++--------- components/Modals/Tabs.tsx/NewCollection.tsx | 5 + components/Modals/Tabs.tsx/NewLink.tsx | 220 ++++++++++++++++++ components/Navbar.tsx | 24 +- lib/client/unescapeString.ts | 2 +- styles/globals.css | 12 +- 9 files changed, 257 insertions(+), 143 deletions(-) create mode 100644 components/Modals/Tabs.tsx/NewCollection.tsx create mode 100644 components/Modals/Tabs.tsx/NewLink.tsx diff --git a/components/InputSelect/CollectionSelection.tsx b/components/InputSelect/CollectionSelection.tsx index 991557f..1ef948d 100644 --- a/components/InputSelect/CollectionSelection.tsx +++ b/components/InputSelect/CollectionSelection.tsx @@ -44,7 +44,7 @@ export default function CollectionSelection({ onChange, defaultValue }: Props) { return (