From 341d0d721925a3eb06545e26023373906f5b083c Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Tue, 7 Nov 2023 11:14:10 +0300 Subject: [PATCH] apps/web: remove flowbite root: add prettier-plugin-tailwindcss & dotenv --- apps/web/.eslintignore | 12 + apps/web/.eslintrc.js | 1 + apps/web/.gitignore | 6 +- apps/web/README.md | 124 +-- apps/web/app/components/header.tsx | 77 -- apps/web/app/components/sidebar.tsx | 26 - apps/web/app/context/FlowbiteContext.tsx | 10 - apps/web/app/context/SidebarContext.tsx | 76 -- apps/web/app/favicon.ico | Bin 0 -> 25931 bytes apps/web/app/globals.css | 24 + apps/web/app/layout.tsx | 17 +- apps/web/app/page.tsx | 1219 ++-------------------- apps/web/app/theme.ts | 37 - apps/web/next.config.js | 7 - apps/web/package.json | 25 +- apps/web/postcss.config.js | 4 +- apps/web/public/favicon.png | Bin 2528 -> 0 bytes apps/web/public/next.svg | 1 + apps/web/public/vercel.svg | 1 + apps/web/tailwind.config.js | 14 - apps/web/tailwind.config.ts | 20 + apps/web/tsconfig.json | 6 +- package.json | 8 +- prettier.config.js | 20 + turbo.json | 15 +- yarn.lock | 311 ++---- 26 files changed, 342 insertions(+), 1719 deletions(-) create mode 100644 apps/web/.eslintignore delete mode 100644 apps/web/app/components/header.tsx delete mode 100644 apps/web/app/components/sidebar.tsx delete mode 100644 apps/web/app/context/FlowbiteContext.tsx delete mode 100644 apps/web/app/context/SidebarContext.tsx create mode 100644 apps/web/app/favicon.ico delete mode 100644 apps/web/app/theme.ts delete mode 100644 apps/web/public/favicon.png create mode 100644 apps/web/public/next.svg create mode 100644 apps/web/public/vercel.svg delete mode 100644 apps/web/tailwind.config.js create mode 100644 apps/web/tailwind.config.ts create mode 100644 prettier.config.js diff --git a/apps/web/.eslintignore b/apps/web/.eslintignore new file mode 100644 index 0000000..a5a2165 --- /dev/null +++ b/apps/web/.eslintignore @@ -0,0 +1,12 @@ +.next +public +apollo.config.js +mocks +graphql/crm.schema.graphql +graphql/crm.types.ts +package.json +next-env.d.ts +postcss.config.js +tailwind.config.ts +.eslintrc.js +next.config.js \ No newline at end of file diff --git a/apps/web/.eslintrc.js b/apps/web/.eslintrc.js index 0370b88..64fa9cd 100644 --- a/apps/web/.eslintrc.js +++ b/apps/web/.eslintrc.js @@ -8,4 +8,5 @@ module.exports = createConfig('next-typescript', { rules: { 'import/no-duplicates': 'off', }, + ignorePatterns: ['*.config.js', '.eslintrc.js'], }); diff --git a/apps/web/.gitignore b/apps/web/.gitignore index 55175ef..fd3dbb5 100644 --- a/apps/web/.gitignore +++ b/apps/web/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage @@ -23,10 +24,13 @@ npm-debug.log* yarn-debug.log* yarn-error.log* -.pnpm-debug.log* # local env files .env*.local # vercel .vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/apps/web/README.md b/apps/web/README.md index 64c6572..c403366 100644 --- a/apps/web/README.md +++ b/apps/web/README.md @@ -1,120 +1,26 @@ This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). -Live demo: [https://flowbite-next-starter.vercel.app/](https://flowbite-next-starter.vercel.app/) +## Getting Started -It also includes: - -- [x] [`flowbite`](https://flowbite.com) -- [x] [`flowbite-react`](https://flowbite-react.com) -- [x] [`react-icons`](https://react-icons.github.io/react-icons) -- [x] [`tailwindcss`](https://tailwindcss.com) -- [x] Quality of life tools, like - - [x] [`eslint`](https://eslint.org) with some plugins - - [x] [`prettier`](https://prettier.io) - -## Getting started - -`Next.js` requires [`Node.js`](https://nodejs.org). - -If you don't already have `npm` and `yarn` available, make sure you set them up. - -```bash -npm i -g npm yarn -``` - -Install the dependencies: - -```bash -yarn install -``` - -Now you can run the development server: +First, run the development server: ```bash +npm run dev +# or yarn dev +# or +pnpm dev +# or +bun dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. -You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. +You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. -## Add `flowbite-react` to `next` on your own +This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. -Follow these steps to add `flowbite-react` to a `next` project without cloning this repo. - -### Requirements - -- [x] [Node.js](https://nodejs.org/en/) - -### How-to - -#### Create a new `next` starter project: - -```sh -npx create-next-app@latest --typescript -cd my-app -``` - -#### Install `tailwindcss` and `flowbite-react`: - -```sh -npm install --save autoprefixer postcss tailwindcss flowbite flowbite-react -``` - -#### Create `postcss.config.js`: - -```js -module.exports = { - plugins: { - autoprefixer: {}, - tailwindcss: {}, - }, -}; -``` - -#### Create `tailwind.config.js`: - -```js -/** - * @type {import('@types/tailwindcss/tailwind-config').TailwindConfig} - */ -module.exports = { - content: [ - "./node_modules/flowbite-react/**/*.js", - "./pages/**/*.{ts,tsx}", - "./public/**/*.html", - ], - plugins: [require("flowbite/plugin")], - theme: {}, -}; -``` - -#### And replace the contents of `styles/globals.css` by: - -```css -@tailwind base; -@tailwind components; -@tailwind utilities; -``` - -#### Start using `flowbite-react`! - -```js -import { Alert } from "flowbite-react"; - -export default function MyPage() { - return Alert!; -} -``` - -## Outstanding issues - -- **Carousel**s don't seem to work with [`next/image`](https://nextjs.org/docs/api-reference/next/image), so a normal `` is required, which ESLint will warn about -- **Modal**s don't work on `next` on `react@18` because of an hydration mismatch - -## Learn more - -### About `next` +## Learn More To learn more about Next.js, take a look at the following resources: @@ -123,13 +29,7 @@ To learn more about Next.js, take a look at the following resources: You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! -### About `flowbite` - -[Flowbite](https://flowbite.com) is an open source collection of UI components built with the utility classes from Tailwind CSS that you can use as a starting point when coding user interfaces and websites. - -In this repository, we setup [`flowbite-react`](https://flowbite-react.com) for you with examples of how to use the React components in `pages/index.tsx`. - -## Deploy on `vercel` +## Deploy on Vercel The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. diff --git a/apps/web/app/components/header.tsx b/apps/web/app/components/header.tsx deleted file mode 100644 index 8addadc..0000000 --- a/apps/web/app/components/header.tsx +++ /dev/null @@ -1,77 +0,0 @@ -import { useSidebarContext } from '../context/SidebarContext'; -import { DarkThemeToggle, Navbar } from 'flowbite-react'; -import Image from 'next/image'; - -function Header() { - const { isOpenOnSmallScreens, isPageWithSidebar, setOpenOnSmallScreens } = - useSidebarContext(); - - return ( -
- - {isPageWithSidebar && ( - - )} - - Flowbite logo - - Flowbite - - -
- - -
- - - Home - - About - Services - Pricing - Contact - -
-
- ); -} - -export default Header; diff --git a/apps/web/app/components/sidebar.tsx b/apps/web/app/components/sidebar.tsx deleted file mode 100644 index da3b5e6..0000000 --- a/apps/web/app/components/sidebar.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import { useSidebarContext } from '../context/SidebarContext'; -import classNames from 'classnames'; -import { Sidebar as FlowbiteSidebar } from 'flowbite-react'; -import type { FC, PropsWithChildren } from 'react'; - -const Sidebar: FC>> = function ({ - children, -}) { - const { isOpenOnSmallScreens: isSidebarOpenOnSmallScreens } = - useSidebarContext(); - - return ( -
- {children} -
- ); -}; - -export default Object.assign(Sidebar, { ...FlowbiteSidebar }); diff --git a/apps/web/app/context/FlowbiteContext.tsx b/apps/web/app/context/FlowbiteContext.tsx deleted file mode 100644 index ff2ead6..0000000 --- a/apps/web/app/context/FlowbiteContext.tsx +++ /dev/null @@ -1,10 +0,0 @@ -'use client'; -import { flowbiteTheme as theme } from '../theme'; -import { Flowbite } from 'flowbite-react'; -import type { PropsWithChildren } from 'react'; - -function FlowbiteContext({ children }: PropsWithChildren) { - return {children}; -} - -export default FlowbiteContext; diff --git a/apps/web/app/context/SidebarContext.tsx b/apps/web/app/context/SidebarContext.tsx deleted file mode 100644 index 39ae7d3..0000000 --- a/apps/web/app/context/SidebarContext.tsx +++ /dev/null @@ -1,76 +0,0 @@ -'use client'; -import type { PropsWithChildren } from 'react'; -import { createContext, useContext, useEffect, useState } from 'react'; - -type SidebarContextProps = { - isOpenOnSmallScreens: boolean; - isPageWithSidebar: boolean; - // eslint-disable-next-line no-unused-vars - setOpenOnSmallScreens: (isOpen: boolean) => void; -}; - -const SidebarContext = createContext(undefined!); - -export function SidebarProvider({ - children, -}: PropsWithChildren>) { - const location = isBrowser() ? window.location.pathname : '/'; - const [isOpen, setOpen] = useState(false); - - // Close Sidebar on page change on mobile - useEffect(() => { - if (isSmallScreen()) { - setOpen(false); - } - }, [location]); - - // Close Sidebar on mobile tap inside main content - useEffect(() => { - function handleMobileTapInsideMain(event: MouseEvent) { - const main = document.querySelector('main'); - const isClickInsideMain = main?.contains(event.target as Node); - - if (isSmallScreen() && isClickInsideMain) { - setOpen(false); - } - } - - document.addEventListener('mousedown', handleMobileTapInsideMain); - - return () => { - document.removeEventListener('mousedown', handleMobileTapInsideMain); - }; - }, []); - - return ( - - {children} - - ); -} - -function isBrowser(): boolean { - return typeof window !== 'undefined'; -} - -function isSmallScreen(): boolean { - return isBrowser() && window.innerWidth < 768; -} - -export function useSidebarContext(): SidebarContextProps { - const context = useContext(SidebarContext) as SidebarContextProps | undefined; - - if (!context) { - throw new Error( - 'useSidebarContext should be used within the SidebarContext provider!', - ); - } - - return context; -} diff --git a/apps/web/app/favicon.ico b/apps/web/app/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..718d6fea4835ec2d246af9800eddb7ffb276240c GIT binary patch literal 25931 zcmeHv30#a{`}aL_*G&7qml|y<+KVaDM2m#dVr!KsA!#An?kSQM(q<_dDNCpjEux83 zLb9Z^XxbDl(w>%i@8hT6>)&Gu{h#Oeyszu?xtw#Zb1mO{pgX9699l+Qppw7jXaYf~-84xW z)w4x8?=youko|}Vr~(D$UXIbiXABHh`p1?nn8Po~fxRJv}|0e(BPs|G`(TT%kKVJAdg5*Z|x0leQq0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xhBsp@SUU60-rfc$=wb>zdJzXS&-5(NRRodFk;Kxk!S(O(a0e7oY=E( zAyS;Ow?6Q&XA+cnkCb{28_1N8H#?J!*$MmIwLq^*T_9-z^&UE@A(z9oGYtFy6EZef LrJugUA?W`A8`#=m literal 0 HcmV?d00001 diff --git a/apps/web/app/globals.css b/apps/web/app/globals.css index b5c61c9..fd81e88 100644 --- a/apps/web/app/globals.css +++ b/apps/web/app/globals.css @@ -1,3 +1,27 @@ @tailwind base; @tailwind components; @tailwind utilities; + +:root { + --foreground-rgb: 0, 0, 0; + --background-start-rgb: 214, 219, 220; + --background-end-rgb: 255, 255, 255; +} + +@media (prefers-color-scheme: dark) { + :root { + --foreground-rgb: 255, 255, 255; + --background-start-rgb: 0, 0, 0; + --background-end-rgb: 0, 0, 0; + } +} + +body { + color: rgb(var(--foreground-rgb)); + background: linear-gradient( + to bottom, + transparent, + rgb(var(--background-end-rgb)) + ) + rgb(var(--background-start-rgb)); +} diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx index 7ae3923..ca3293c 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/layout.tsx @@ -1,13 +1,18 @@ import './globals.css'; -import FlowbiteContext from './context/FlowbiteContext'; -import type { PropsWithChildren } from 'react'; +import type { Metadata } from 'next'; +import { Inter } from 'next/font/google'; -export default function RootLayout({ children }: PropsWithChildren) { +const inter = Inter({ subsets: ['latin'] }); + +export const metadata: Metadata = { + description: 'Generated by create next app', + title: 'Create Next App', +}; + +export default function RootLayout({ children }: { readonly children: React.ReactNode }) { return ( - - {children} - + {children} ); } diff --git a/apps/web/app/page.tsx b/apps/web/app/page.tsx index d7aab60..3cfaf2f 100644 --- a/apps/web/app/page.tsx +++ b/apps/web/app/page.tsx @@ -1,1136 +1,113 @@ -'use client'; - -import Header from './components/header'; -import Sidebar from './components/sidebar'; -import { SidebarProvider } from './context/SidebarContext'; -import { - Accordion, - Alert, - Avatar, - Badge, - Breadcrumb, - Button, - Card, - Carousel, - Checkbox, - Dropdown, - Footer, - Label, - ListGroup, - Modal, - Navbar, - Pagination, - Progress, - Rating, - Sidebar as FlowbiteSidebar, - Spinner, - Table, - Tabs, - TextInput, - Timeline, - Toast, - Tooltip, -} from 'flowbite-react'; +/* eslint-disable react/jsx-newline */ +/* eslint-disable react/forbid-component-props */ import Image from 'next/image'; -import { useState } from 'react'; -import { BiBuoy } from 'react-icons/bi'; -import { - BsDribbble, - BsFacebook, - BsGithub, - BsInstagram, - BsTwitter, -} from 'react-icons/bs'; -import { - HiAdjustments, - HiArrowNarrowRight, - HiArrowSmRight, - HiChartPie, - HiCheck, - HiClipboardList, - HiCloudDownload, - HiDatabase, - HiExclamation, - HiEye, - HiHome, - HiInbox, - HiOutlineAdjustments, - HiShoppingBag, - HiTable, - HiUser, - HiUserCircle, - HiViewBoards, - HiX, -} from 'react-icons/hi'; -export default function Index(): JSX.Element { +export default function Home() { return ( - -
-
-
- -
-
- -
-
- - ); -} - -function ActualSidebar(): JSX.Element { - return ( - - - - - Dashboard - - - Kanban - - - Inbox - - - Users - - - Products - - - Sign In - - - Sign Up - - - - - Upgrade to Pro - - - Documentation - - - Help - - - - - ); -} - -function HomePage(): JSX.Element { - return ( -
-
-
-

- Welcome to Flowbite on Next.js! -

-
-
-
-
-

Alert

-
- -
-
-
-

- Accordion -

-
- -
-
-
-

- Avatar -

-
- -
-
-
-

- Badges -

-
- -
-
-
-

- Breadcrumb -

-
- -
-
-
-

- Buttons -

-
- -
-
-
-

- Button group -

-
- -
-
-
-

- Card -

-
- -
-
-
-

- Carousel -

-
- -
-
-
-

- Dropdown -

-
- -
-
-
-

- Forms -

-
- -
-
-
-

- Footer -

-
- -
-
-
-

- List group -

-
- -
-
-
-

- Modal -

-
- -
-
-
-

- Navbars -

-
- -
-
-
-

- Pagination -

-
- -
-
-
-

- Progress -

-
- -
-
-
-

- Rating -

-
- -
-
-
-

- Sidebar -

-
- -
-
-
-

- Spinners -

-
- -
-
-
-

- Tables -

-
-
- -
-
-
-
-

- Tabs -

-
- -
-
-
-

- Timeline -

-
- -
-
-
-

- Toast -

-
- -
-
-
-

- Tooltips -

-
- -
-
- ); -} - -function AccordionExample(): JSX.Element { - return ( - - - What is Flowbite? - -

- Flowbite is an open-source library of interactive components built - on top of Tailwind CSS including buttons, dropdowns, modals, - navbars, and more. -

-

- Check out this guide to learn how to{' '} - - get started - {' '} - and start developing websites even faster with components on top of - Tailwind CSS. -

-
-
- - Is there a Figma file available? - -

- Flowbite is first conceptualized and designed using the Figma - software so everything you see in the library has a design - equivalent in our Figma file. -

-

- Check out the{' '} - - Figma design system - {' '} - based on the utility classes from Tailwind CSS and components from - Flowbite. -

-
-
- - - What are the differences between Flowbite and Tailwind UI? - - -

- The main difference is that the core components from Flowbite are - open source under the MIT license, whereas Tailwind UI is a paid - product. Another difference is that Flowbite relies on smaller and - standalone components, whereas Tailwind UI offers sections of pages. -

-

- However, we actually recommend using both Flowbite, Flowbite Pro, - and even Tailwind UI as there is no technical reason stopping you - from using the best of two worlds. -

-

- Learn more about these technologies: -

- -
-
-
- ); -} - -function AlertsExample(): JSX.Element { - return ( - -
- More info about this info alert goes here. This example text is - going to run a bit longer so that you can see how spacing within an - alert works with this kind of content. -
-
- - -
- - } - > -

- This is a info alert -

-
- ); -} - -function AvatarExample(): JSX.Element { - return ( - - ); -} - -function BadgesExample(): JSX.Element { - return ( -
- - Info - - - Gray - - - Failure - - - Success - - - Warning - - - Indigo - - - Purple - - - Pink - -
- ); -} - -function BreadcrumbExample(): JSX.Element { - return ( - - - Home - - Projects - Flowbite React - - ); -} - -function ButtonsExample(): JSX.Element { - return ( -
- - - - - - - -
- ); -} - -function ButtonGroupExample(): JSX.Element { - return ( - - - - - - ); -} - -function CardExample(): JSX.Element { - return ( -
- -
- Noteworthy technology acquisitions 2021 -
-

- Here are the biggest enterprise technology acquisitions of 2021 so - far, in reverse chronological order. +

+
+

+ Get started by editing  + app/page.tsx

- -
- ); -} - -function CarouselExample(): JSX.Element { - return ( -
- - {/* eslint-disable-next-line @next/next/no-img-element */} - ... - {/* eslint-disable-next-line @next/next/no-img-element */} - ... - {/* eslint-disable-next-line @next/next/no-img-element */} - ... - -
- ); -} - -function DropdownExample(): JSX.Element { - return ( - - - Bonnie success - - name@flowbite.com - - - Dashboard - Settings - Earnings - - Sign out - - ); -} - -function FormsExample(): JSX.Element { - return ( -
-
-
- -
- -
-
-
- -
- -
-
- - -
- -
- ); -} - -function FooterExample(): JSX.Element { - return ( - - ); -} -function ListGroupExample(): JSX.Element { - return ( -
- - - Profile - - Settings - Messages - Download - -
- ); -} - -function ModalExample(): JSX.Element { - const [isOpen, setOpen] = useState(false); - - return ( - <> - - setOpen(false)}> - Terms of Service - -
-

- With less than a month to go before the European Union enacts new - consumer privacy laws for its citizens, companies around the world - are updating their terms of service agreements to comply. -

-

- The European Union’s General Data Protection Regulation (G.D.P.R.) - goes into effect on May 25 and is meant to ensure a common set of - data rights in the European Union. It requires organizations to - notify users as soon as possible of high-risk data breaches that - could personally affect them. -

-
-
- - - - -
- - ); -} - -function NavbarsExample(): JSX.Element { - return ( - - +
Flowbite logo - - Flowbite - - -
- - } +
+ + - - - Home - - About - Services - Pricing - Contact - - - ); -} - -function PaginationExample(): JSX.Element { - const [currentPage, setCurrentPage] = useState(1); - - return ( -
- setCurrentPage(page)} - showIcons - totalPages={1000} - /> -
- ); -} - -function ProgressExample(): JSX.Element { - return ( - - ); -} - -function RatingExample(): JSX.Element { - return ( -
- - - - - - -

- 4.95 out of 5 -

-
-

- 1,745 global ratings -

- 5 star - 4 star - 3 star - 2 star - 1 star -
- ); -} - -function SidebarExample(): JSX.Element { - const [isOpen, setOpen] = useState(false); - - function toggle() { - setOpen(!isOpen); - } - - return ( - <> - -
- - - - - Dashboard - - - Kanban - - - Inbox - - - Users - - - Products - - - Sign In - - - Sign Up - - - - -
- - ); -} - -function SpinnersExample(): JSX.Element { - return ( -
- - - - - - -
- ); -} - -function TablesExample(): JSX.Element { - return ( - - - Product name - Color - Category - Price - - Edit - - - - - - Apple MacBook Pro 17" - - Sliver - Laptop - $2999 - - - Edit - - - - - - Microsoft Surface Pro - - White - Laptop PC - $1999 - - - Edit - - - - - - Magic Mouse 2 - - Black - Accessories - $99 - - - Edit - - - - - - Google Pixel Phone - - Gray - Phone - $799 - - - Edit - - - - - - Apple Watch 5 - - failure - Wearables - $999 - - - Edit - - - - -
- ); -} - -function TabsExample(): JSX.Element { - return ( - - - Profile content - - - Dashboard content - - - Settings content - - - Contacts content - - - Disabled content - - - ); -} - -function TimelineExample(): JSX.Element { - return ( - - - - - February 2022 - Application UI code in Tailwind CSS - - Get access to over 20+ pages including a dashboard layout, charts, - kanban board, calendar, and pre-order E-commerce & Marketing pages. - - - - - - - - March 2022 - Marketing UI design in Figma - - All of the pages and components are first designed in Figma and we - keep a parity between the two versions even as we update the - project. - - - - - - - April 2022 - E-Commerce UI code in Tailwind CSS - - Get started with dozens of web components and interactive elements - built on top of Tailwind CSS. - - - - - ); -} - -function ToastExample(): JSX.Element { - return ( -
- -
- -
-
Item moved successfully.
- -
- -
- -
-
Item has been deleted.
- -
- -
- -
-
- Improve password difficulty. -
- -
-
- ); -} - -function TooltipsExample(): JSX.Element { - return ( -
- - - - - - - - - - - - -
+
); } diff --git a/apps/web/app/theme.ts b/apps/web/app/theme.ts deleted file mode 100644 index a910868..0000000 --- a/apps/web/app/theme.ts +++ /dev/null @@ -1,37 +0,0 @@ -import type { CustomFlowbiteTheme } from 'flowbite-react/lib/esm/components/Flowbite/FlowbiteTheme'; - -export const flowbiteTheme: CustomFlowbiteTheme = { - footer: { - base: 'flex flex-col', - brand: { - base: 'm-6 flex items-center', - }, - groupLink: { - base: 'flex flex-col flex-wrap text-gray-500 dark:text-white', - link: { - base: 'mb-4 last:mr-0 md:mr-6', - }, - }, - icon: { - base: 'text-gray-400 hover:text-gray-900 dark:hover:text-white', - }, - }, - modal: { - body: { - base: 'space-y-6 px-6 pb-4 sm:pb-6 lg:px-8 xl:pb-8', - }, - }, - sidebar: { - base: 'h-full bg-gray-50', - collapse: { - list: 'space-y-2 py-2 list-none', - }, - inner: - 'h-full overflow-y-auto overflow-x-hidden bg-white py-4 px-3 dark:bg-gray-800', - item: { - base: 'no-underline flex items-center rounded-lg p-2 text-lg font-normal text-gray-900 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700', - }, - itemGroup: - 'list-none border-t border-gray-200 pt-3 first:mt-0 first:border-t-0 first:pt-0 dark:border-gray-700', - }, -}; diff --git a/apps/web/next.config.js b/apps/web/next.config.js index 58ba07b..c232478 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -1,12 +1,5 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - images: { - remotePatterns: [ - { - hostname: 'flowbite.com', - }, - ], - }, reactStrictMode: true, transpilePackages: ['ui'], }; diff --git a/apps/web/package.json b/apps/web/package.json index 982dce0..f8be6f2 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -9,23 +9,20 @@ "lint": "next lint" }, "dependencies": { - "flowbite": "^2.0.0", - "flowbite-react": "^0.6.4", - "next": "^14.0.1", - "react": "18", - "react-dom": "18", - "react-icons": "^4.11.0", - "ui": "*" + "next": "^14", + "react": "^18", + "react-dom": "^18", + "tsconfig": "*" }, "devDependencies": { - "@types/node": "^20.8.10", - "@types/react": "18", + "@types/node": "^20", + "@types/react": "^18", + "@types/react-dom": "^18", "@vchikalkin/eslint-config-awesome": "^1.1.5", - "autoprefixer": "10.4.16", - "eslint": "^8.52.0", - "postcss": "^8.4.31", + "autoprefixer": "^10", + "eslint": "^8", + "postcss": "^8", "tailwindcss": "^3.3.5", - "tsconfig": "*", - "typescript": "^5.2.2" + "typescript": "^5" } } diff --git a/apps/web/postcss.config.js b/apps/web/postcss.config.js index 4df9d3b..33ad091 100644 --- a/apps/web/postcss.config.js +++ b/apps/web/postcss.config.js @@ -1,6 +1,6 @@ module.exports = { plugins: { - autoprefixer: {}, tailwindcss: {}, + autoprefixer: {}, }, -}; +} diff --git a/apps/web/public/favicon.png b/apps/web/public/favicon.png deleted file mode 100644 index 918fd4a0c7983607e245e17c57f6fe7f32c69f61..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2528 zcmZ{mcTm$?7RP@e0zrDmvIdY|QV0kUF~LLwNbl?-B_t4mgph>#P=arFL8O~Ui}W5u zu+jxlgisWCR8fi`J^^VKIvaL&X5BZlbLZSMbH1PNx#gdG6YOj*i-{Z;0RTYE0*7(n zW$0WuP8*fu*M2~`b< zvSOqV*wORx?bQ2~jp_x@MR%*s)1wnRcfkRWx8GC-Mh?Cp>+MNd z@7ErO)TcI1#UET?T3uh%tkz|}R!D%zcDl#BF-4Q@?r2C$(hyAb%jw143x->e-*^3! zmpnc4+pR;d@w=LS(LHrDD6TKE|3_ou_ks5_XRsP+Q3-GpkY)~(%t7aAbpsc)jISj- zy?zp~-lW?_%V8H!QSxxp6AJ9JPfQHTdxYdAO7eC4Gjp3Z)JT;tqSfX=kk3s@^FbxF z5ybMaL4;~iX}(Bv6uH$iV`>JyU!-<&cjgRmQ*`{c{9n7?UR``ETEbi=lqhPex1!&4%NEN`LSuov|3q~%5B{K z^nTWL`N;g`>XQSVr$ji#kTsR0cYm<5&TUnZ)@ci?^N#Vbns~A9iY-U`h5_m5ecF_$ z&xS-}^9J`HOOu0pmJ1<`QA_wR13X zBMkYyt(P(LWY3_Z-7=$@&n=I|ai$$OU{rSP#l*2)*e>owI#amFp>pV157c!Ims!t% ztg&JOo>qqz2rAI3zskK#e;4tpW#~AgT_1-w)Az`9Y(b@}1_!<3+wF3Ys}zR6ovh(3 zgn>iVv>h*oRN7dTOthi*V}#32d>Zc&oJN(Fa9KCDRTV0*4bO|JA8USfy>;uG$Y9{k z+RbBf5qDEt-^9poB37}}?wBigsD_H_wI@Bytxm+bQfK=onioc^u#uTq5DCzCQ{ODa z8V@RwHBok5{NqnwUtJH|KfzvUBMo_IcR^tKqn24QzXyxNI#r z;(kTLh*yQVC{9#!`W4dd&W`@u2Q%dGnj_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?H}p&=mC_@92sLo|lz^BnrT{h1b+AO7J03#<*M#@svZUs{c9I{*Lx diff --git a/apps/web/public/next.svg b/apps/web/public/next.svg new file mode 100644 index 0000000..5174b28 --- /dev/null +++ b/apps/web/public/next.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/web/public/vercel.svg b/apps/web/public/vercel.svg new file mode 100644 index 0000000..d2f8422 --- /dev/null +++ b/apps/web/public/vercel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/web/tailwind.config.js b/apps/web/tailwind.config.js deleted file mode 100644 index cf57b5e..0000000 --- a/apps/web/tailwind.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @type {import('@types/tailwindcss/tailwind-config').TailwindConfig} - */ -module.exports = { - darkMode: 'media', - content: [ - '../../node_modules/flowbite/**/*.js', - '../../node_modules/flowbite-react/**/*.js', - './public/**/*.html', - './app/**/*.{ts,tsx}', - ], - plugins: [require('flowbite/plugin')], - theme: {}, -}; diff --git a/apps/web/tailwind.config.ts b/apps/web/tailwind.config.ts new file mode 100644 index 0000000..c7ead80 --- /dev/null +++ b/apps/web/tailwind.config.ts @@ -0,0 +1,20 @@ +import type { Config } from 'tailwindcss' + +const config: Config = { + content: [ + './pages/**/*.{js,ts,jsx,tsx,mdx}', + './components/**/*.{js,ts,jsx,tsx,mdx}', + './app/**/*.{js,ts,jsx,tsx,mdx}', + ], + theme: { + extend: { + backgroundImage: { + 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))', + 'gradient-conic': + 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))', + }, + }, + }, + plugins: [], +} +export default config diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json index 644ee04..453c556 100644 --- a/apps/web/tsconfig.json +++ b/apps/web/tsconfig.json @@ -1,7 +1,11 @@ { "extends": "tsconfig/nextjs.json", "compilerOptions": { - "plugins": [{ "name": "next" }] + "plugins": [{ "name": "next" }], + "paths": { + "@/*": ["./*"] + }, + "baseUrl": "." }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"] diff --git a/package.json b/package.json index 52bb863..3736a2b 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,14 @@ { "private": true, "scripts": { - "build": "turbo run build", - "dev": "turbo run dev", + "build": "dotenv -e .env turbo run build", + "dev": "dotenv -e .env.local turbo run dev", "lint": "dotenv -e .env.local turbo run lint", "lint:fix": "dotenv -e .env.local turbo run lint:fix", "format": "prettier --write \"**/*.{ts,tsx,md}\"", "prepare": "husky install", - "precommit": "yarn format && yarn lint:fix && yarn test" + "precommit": "yarn format && yarn lint:fix", + "clean": "turbo run clean" }, "devDependencies": { "dotenv-cli": "^7.3.0", @@ -15,6 +16,7 @@ "husky": "^8.0.3", "lint-staged": "^15.0.2", "prettier": "^3.0.3", + "prettier-plugin-tailwindcss": "^0.5.6", "tsconfig": "*", "turbo": "latest" }, diff --git a/prettier.config.js b/prettier.config.js new file mode 100644 index 0000000..abad7f4 --- /dev/null +++ b/prettier.config.js @@ -0,0 +1,20 @@ +/** @type {import('prettier').Config} */ +module.exports = { + plugins: ["prettier-plugin-tailwindcss"], + endOfLine: "auto", + arrowParens: "always", + bracketSpacing: true, + htmlWhitespaceSensitivity: "ignore", + insertPragma: false, + bracketSameLine: false, + jsxSingleQuote: false, + printWidth: 100, + proseWrap: "preserve", + quoteProps: "as-needed", + requirePragma: false, + semi: true, + singleQuote: true, + tabWidth: 2, + trailingComma: "es5", + useTabs: false, +}; diff --git a/turbo.json b/turbo.json index ec4d016..ab3fa2a 100644 --- a/turbo.json +++ b/turbo.json @@ -1,15 +1,26 @@ { "$schema": "https://turbo.build/schema.json", - "globalDependencies": ["**/.env.*local"], + "globalDependencies": [".env.*"], "pipeline": { "build": { "dependsOn": ["^build"], "outputs": [".next/**", "!.next/cache/**"] }, - "lint": {}, + "lint": { + "dependsOn": ["^build"], + "cache": false, + "outputs": [] + }, + "lint:fix": { + "dependsOn": ["^build"], + "outputs": [] + }, "dev": { "cache": false, "persistent": true + }, + "clean": { + "cache": false } } } diff --git a/yarn.lock b/yarn.lock index 9180a48..767a2cf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -277,10 +277,10 @@ resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63" integrity sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA== -"@eslint/eslintrc@^2.1.2": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.2.tgz#c6936b4b328c64496692f76944e755738be62396" - integrity sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g== +"@eslint/eslintrc@^2.1.3": + version "2.1.3" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.3.tgz#797470a75fe0fbd5a53350ee715e85e87baff22d" + integrity sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA== dependencies: ajv "^6.12.4" debug "^4.3.2" @@ -292,46 +292,10 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@8.52.0": - version "8.52.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.52.0.tgz#78fe5f117840f69dc4a353adf9b9cd926353378c" - integrity sha512-mjZVbpaeMZludF2fsWLD0Z9gCref1Tk4i9+wddjRvpUNqqcndPkBD09N/Mapey0b3jaXbLm2kICwFv2E64QinA== - -"@floating-ui/core@^1.4.2": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.5.0.tgz#5c05c60d5ae2d05101c3021c1a2a350ddc027f8c" - integrity sha512-kK1h4m36DQ0UHGj5Ah4db7R0rHemTqqO0QLvUqi1/mUUp3LuAWbWxdxSIf/XsnH9VS6rRVPLJCncjRzUvyCLXg== - dependencies: - "@floating-ui/utils" "^0.1.3" - -"@floating-ui/dom@^1.5.1": - version "1.5.3" - resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.5.3.tgz#54e50efcb432c06c23cd33de2b575102005436fa" - integrity sha512-ClAbQnEqJAKCJOEbbLo5IUlZHkNszqhuxS4fHAVxRPXPya6Ysf2G8KypnYcOTpx6I8xcgF9bbHb6g/2KpbV8qA== - dependencies: - "@floating-ui/core" "^1.4.2" - "@floating-ui/utils" "^0.1.3" - -"@floating-ui/react-dom@^2.0.1": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.0.2.tgz#fab244d64db08e6bed7be4b5fcce65315ef44d20" - integrity sha512-5qhlDvjaLmAst/rKb3VdlCinwTF4EYMiVxuuc/HVUjs46W0zgtbMmAZ1UTsDrRTxRmUEzl92mOtWbeeXL26lSQ== - dependencies: - "@floating-ui/dom" "^1.5.1" - -"@floating-ui/react@^0.24.3": - version "0.24.8" - resolved "https://registry.yarnpkg.com/@floating-ui/react/-/react-0.24.8.tgz#e079e2836990be3fce9665ab509360a5447251a1" - integrity sha512-AuYeDoaR8jtUlUXtZ1IJ/6jtBkGnSpJXbGNzokBL87VDJ8opMq1Bgrc0szhK482ReQY6KZsMoZCVSb4xwalkBA== - dependencies: - "@floating-ui/react-dom" "^2.0.1" - aria-hidden "^1.2.3" - tabbable "^6.0.1" - -"@floating-ui/utils@^0.1.3": - version "0.1.6" - resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.1.6.tgz#22958c042e10b67463997bd6ea7115fe28cbcaf9" - integrity sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A== +"@eslint/js@8.53.0": + version "8.53.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.53.0.tgz#bea56f2ed2b5baea164348ff4d5a879f6f81f20d" + integrity sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w== "@graphql-eslint/eslint-plugin@^3.20.1": version "3.20.1" @@ -729,11 +693,6 @@ picocolors "^1.0.0" tslib "^2.6.0" -"@popperjs/core@^2.9.3": - version "2.11.8" - resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.8.tgz#6b79032e760a0899cd4204710beede972a3a185f" - integrity sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A== - "@repeaterjs/repeater@3.0.4", "@repeaterjs/repeater@^3.0.4": version "3.0.4" resolved "https://registry.yarnpkg.com/@repeaterjs/repeater/-/repeater-3.0.4.tgz#a04d63f4d1bf5540a41b01a921c9a7fddc3bd1ca" @@ -842,7 +801,7 @@ resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca" integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== -"@types/node@*", "@types/node@^20.8.10": +"@types/node@*", "@types/node@^20", "@types/node@^20.8.10": version "20.8.10" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.8.10.tgz#a5448b895c753ae929c26ce85cab557c6d4a365e" integrity sha512-TlgT8JntpcbmKUFzjhsyhGfP2fsiz1Mv56im6enJ905xG1DAYesxJaeSbGqQmAw8OWPdhyJGhGSQGKRNJ45u9w== @@ -859,17 +818,17 @@ resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.9.tgz#b6f785caa7ea1fe4414d9df42ee0ab67f23d8a6d" integrity sha512-n1yyPsugYNSmHgxDFjicaI2+gCNjsBck8UX9kuofAKlc0h1bL+20oSF72KeNaW2DUlesbEVCFgyV2dPGTiY42g== -"@types/react-dom@^18.2.14": +"@types/react-dom@^18", "@types/react-dom@^18.2.14": version "18.2.14" resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.2.14.tgz#c01ba40e5bb57fc1dc41569bb3ccdb19eab1c539" integrity sha512-V835xgdSVmyQmI1KLV2BEIUgqEuinxp9O4G6g3FqO/SqLac049E53aysv0oEFD2kHfejeKU+ZqL2bcFWj9gLAQ== dependencies: "@types/react" "*" -"@types/react@*", "@types/react@18", "@types/react@^18.2.34": - version "18.2.34" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.34.tgz#aed20f19473721ba328feb99d1ec3307ebc1a8dd" - integrity sha512-U6eW/alrRk37FU/MS2RYMjx0Va2JGIVXELTODaTIYgvWGCV4Y4TfTUzG8DdmpDNIT0Xpj/R7GfyHOJJrDttcvg== +"@types/react@*", "@types/react@^18", "@types/react@^18.2.34": + version "18.2.36" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.36.tgz#bc68ffb4408e5d0c419b0760b2eaeec70aeeedb3" + integrity sha512-o9XFsHYLLZ4+sb9CWUYwHqFVoG61SesydF353vFMMsQziiyRu8np4n2OYMUSDZ8XuImxDr9c5tR7gidlH29Vnw== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -905,15 +864,15 @@ "@types/node" "*" "@typescript-eslint/eslint-plugin@^6.7.5": - version "6.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.9.1.tgz#d8ce497dc0ed42066e195c8ecc40d45c7b1254f4" - integrity sha512-w0tiiRc9I4S5XSXXrMHOWgHgxbrBn1Ro+PmiYhSg2ZVdxrAJtQgzU5o2m1BfP6UOn7Vxcc6152vFjQfmZR4xEg== + version "6.10.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.10.0.tgz#cfe2bd34e26d2289212946b96ab19dcad64b661a" + integrity sha512-uoLj4g2OTL8rfUQVx2AFO1hp/zja1wABJq77P6IclQs6I/m9GLrm7jCdgzZkvWdDCQf1uEvoa8s8CupsgWQgVg== dependencies: "@eslint-community/regexpp" "^4.5.1" - "@typescript-eslint/scope-manager" "6.9.1" - "@typescript-eslint/type-utils" "6.9.1" - "@typescript-eslint/utils" "6.9.1" - "@typescript-eslint/visitor-keys" "6.9.1" + "@typescript-eslint/scope-manager" "6.10.0" + "@typescript-eslint/type-utils" "6.10.0" + "@typescript-eslint/utils" "6.10.0" + "@typescript-eslint/visitor-keys" "6.10.0" debug "^4.3.4" graphemer "^1.4.0" ignore "^5.2.4" @@ -929,14 +888,14 @@ "@typescript-eslint/utils" "5.62.0" "@typescript-eslint/parser@^6.7.5", "@typescript-eslint/parser@^6.9.1": - version "6.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.9.1.tgz#4f685f672f8b9580beb38d5fb99d52fc3e34f7a3" - integrity sha512-C7AK2wn43GSaCUZ9do6Ksgi2g3mwFkMO3Cis96kzmgudoVaKyt62yNzJOktP0HDLb/iO2O0n2lBOzJgr6Q/cyg== + version "6.10.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.10.0.tgz#578af79ae7273193b0b6b61a742a2bc8e02f875a" + integrity sha512-+sZwIj+s+io9ozSxIWbNB5873OSdfeBEH/FR0re14WLI6BaKuSOnnwCJ2foUiu8uXf4dRp1UqHP0vrZ1zXGrog== dependencies: - "@typescript-eslint/scope-manager" "6.9.1" - "@typescript-eslint/types" "6.9.1" - "@typescript-eslint/typescript-estree" "6.9.1" - "@typescript-eslint/visitor-keys" "6.9.1" + "@typescript-eslint/scope-manager" "6.10.0" + "@typescript-eslint/types" "6.10.0" + "@typescript-eslint/typescript-estree" "6.10.0" + "@typescript-eslint/visitor-keys" "6.10.0" debug "^4.3.4" "@typescript-eslint/scope-manager@5.62.0": @@ -947,21 +906,21 @@ "@typescript-eslint/types" "5.62.0" "@typescript-eslint/visitor-keys" "5.62.0" -"@typescript-eslint/scope-manager@6.9.1": - version "6.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.9.1.tgz#e96afeb9a68ad1cd816dba233351f61e13956b75" - integrity sha512-38IxvKB6NAne3g/+MyXMs2Cda/Sz+CEpmm+KLGEM8hx/CvnSRuw51i8ukfwB/B/sESdeTGet1NH1Wj7I0YXswg== +"@typescript-eslint/scope-manager@6.10.0": + version "6.10.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.10.0.tgz#b0276118b13d16f72809e3cecc86a72c93708540" + integrity sha512-TN/plV7dzqqC2iPNf1KrxozDgZs53Gfgg5ZHyw8erd6jd5Ta/JIEcdCheXFt9b1NYb93a1wmIIVW/2gLkombDg== dependencies: - "@typescript-eslint/types" "6.9.1" - "@typescript-eslint/visitor-keys" "6.9.1" + "@typescript-eslint/types" "6.10.0" + "@typescript-eslint/visitor-keys" "6.10.0" -"@typescript-eslint/type-utils@6.9.1": - version "6.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.9.1.tgz#efd5db20ed35a74d3c7d8fba51b830ecba09ce32" - integrity sha512-eh2oHaUKCK58qIeYp19F5V5TbpM52680sB4zNSz29VBQPTWIlE/hCj5P5B1AChxECe/fmZlspAWFuRniep1Skg== +"@typescript-eslint/type-utils@6.10.0": + version "6.10.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.10.0.tgz#1007faede067c78bdbcef2e8abb31437e163e2e1" + integrity sha512-wYpPs3hgTFblMYwbYWPT3eZtaDOjbLyIYuqpwuLBBqhLiuvJ+9sEp2gNRJEtR5N/c9G1uTtQQL5AhV0fEPJYcg== dependencies: - "@typescript-eslint/typescript-estree" "6.9.1" - "@typescript-eslint/utils" "6.9.1" + "@typescript-eslint/typescript-estree" "6.10.0" + "@typescript-eslint/utils" "6.10.0" debug "^4.3.4" ts-api-utils "^1.0.1" @@ -970,10 +929,10 @@ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f" integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ== -"@typescript-eslint/types@6.9.1": - version "6.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.9.1.tgz#a6cfc20db0fcedcb2f397ea728ef583e0ee72459" - integrity sha512-BUGslGOb14zUHOUmDB2FfT6SI1CcZEJYfF3qFwBeUrU6srJfzANonwRYHDpLBuzbq3HaoF2XL2hcr01c8f8OaQ== +"@typescript-eslint/types@6.10.0": + version "6.10.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.10.0.tgz#f4f0a84aeb2ac546f21a66c6e0da92420e921367" + integrity sha512-36Fq1PWh9dusgo3vH7qmQAj5/AZqARky1Wi6WpINxB6SkQdY5vQoT2/7rW7uBIsPDcvvGCLi4r10p0OJ7ITAeg== "@typescript-eslint/typescript-estree@5.62.0": version "5.62.0" @@ -988,13 +947,13 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/typescript-estree@6.9.1": - version "6.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.9.1.tgz#8c77910a49a04f0607ba94d78772da07dab275ad" - integrity sha512-U+mUylTHfcqeO7mLWVQ5W/tMLXqVpRv61wm9ZtfE5egz7gtnmqVIw9ryh0mgIlkKk9rZLY3UHygsBSdB9/ftyw== +"@typescript-eslint/typescript-estree@6.10.0": + version "6.10.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.10.0.tgz#667381eed6f723a1a8ad7590a31f312e31e07697" + integrity sha512-ek0Eyuy6P15LJVeghbWhSrBCj/vJpPXXR+EpaRZqou7achUWL8IdYnMSC5WHAeTWswYQuP2hAZgij/bC9fanBg== dependencies: - "@typescript-eslint/types" "6.9.1" - "@typescript-eslint/visitor-keys" "6.9.1" + "@typescript-eslint/types" "6.10.0" + "@typescript-eslint/visitor-keys" "6.10.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" @@ -1015,17 +974,17 @@ eslint-scope "^5.1.1" semver "^7.3.7" -"@typescript-eslint/utils@6.9.1", "@typescript-eslint/utils@^6.1.0", "@typescript-eslint/utils@^6.7.5": - version "6.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.9.1.tgz#763da41281ef0d16974517b5f0d02d85897a1c1e" - integrity sha512-L1T0A5nFdQrMVunpZgzqPL6y2wVreSyHhKGZryS6jrEN7bD9NplVAyMryUhXsQ4TWLnZmxc2ekar/lSGIlprCA== +"@typescript-eslint/utils@6.10.0", "@typescript-eslint/utils@^6.1.0", "@typescript-eslint/utils@^6.9.1": + version "6.10.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.10.0.tgz#4d76062d94413c30e402c9b0df8c14aef8d77336" + integrity sha512-v+pJ1/RcVyRc0o4wAGux9x42RHmAjIGzPRo538Z8M1tVx6HOnoQBCX/NoadHQlZeC+QO2yr4nNSFWOoraZCAyg== dependencies: "@eslint-community/eslint-utils" "^4.4.0" "@types/json-schema" "^7.0.12" "@types/semver" "^7.5.0" - "@typescript-eslint/scope-manager" "6.9.1" - "@typescript-eslint/types" "6.9.1" - "@typescript-eslint/typescript-estree" "6.9.1" + "@typescript-eslint/scope-manager" "6.10.0" + "@typescript-eslint/types" "6.10.0" + "@typescript-eslint/typescript-estree" "6.10.0" semver "^7.5.4" "@typescript-eslint/visitor-keys@5.62.0": @@ -1036,12 +995,12 @@ "@typescript-eslint/types" "5.62.0" eslint-visitor-keys "^3.3.0" -"@typescript-eslint/visitor-keys@6.9.1": - version "6.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.9.1.tgz#6753a9225a0ba00459b15d6456b9c2780b66707d" - integrity sha512-MUaPUe/QRLEffARsmNfmpghuQkW436DvESW+h+M52w0coICHRfD6Np9/K6PdACwnrq1HmuLl+cSPZaJmeVPkSw== +"@typescript-eslint/visitor-keys@6.10.0": + version "6.10.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.10.0.tgz#b9eaf855a1ac7e95633ae1073af43d451e8f84e3" + integrity sha512-xMGluxQIEtOM7bqFCo+rCMh5fqI+ZxV5RUUOa29iVPz1OgCZrtc7rFnz5cLUazlkPKYqX+75iuDq7m0HQ48nCg== dependencies: - "@typescript-eslint/types" "6.9.1" + "@typescript-eslint/types" "6.10.0" eslint-visitor-keys "^3.4.1" "@ungap/structured-clone@^1.2.0": @@ -1204,13 +1163,6 @@ argparse@^2.0.1: resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== -aria-hidden@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/aria-hidden/-/aria-hidden-1.2.3.tgz#14aeb7fb692bbb72d69bebfa47279c1fd725e954" - integrity sha512-xcLxITLe2HYa1cnYnwCjkOO1PqUHQpozB8x9AR0OgWN2woOBi5kSDVxKfd0b7sb1hw5qFeJhXm9H1nu3xSfLeQ== - dependencies: - tslib "^2.0.0" - aria-query@^5.3.0: version "5.3.0" resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.0.tgz#650c569e41ad90b51b3d7df5e5eed1c7549c103e" @@ -1348,7 +1300,7 @@ asynciterator.prototype@^1.0.0: dependencies: has-symbols "^1.0.3" -autoprefixer@10.4.16: +autoprefixer@^10: version "10.4.16" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.16.tgz#fad1411024d8670880bdece3970aa72e3572feb8" integrity sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ== @@ -1517,9 +1469,9 @@ camelcase-css@^2.0.1: integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== caniuse-lite@^1.0.30001406, caniuse-lite@^1.0.30001538, caniuse-lite@^1.0.30001541: - version "1.0.30001559" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001559.tgz#95a982440d3d314c471db68d02664fb7536c5a30" - integrity sha512-cPiMKZgqgkg5LY3/ntGeLFUpi6tzddBNS58A4tnTgQw1zON7u2sZMU7SzOeVH4tj20++9ggL+V6FDOFMTaFFYA== + version "1.0.30001561" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001561.tgz#752f21f56f96f1b1a52e97aae98c57c562d5d9da" + integrity sha512-NTt0DNoKe958Q0BE0j0c1V9jbUzhBxHIEJy7asmGrpE0yG63KTV7PLHPnK2E1O9RsQrQ081I3NLuXGS6zht3cw== chalk@2.4.2, chalk@^2.4.2: version "2.4.2" @@ -1605,11 +1557,6 @@ ci-info@^3.8.0: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== -classnames@^2.2.6: - version "2.3.2" - resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.3.2.tgz#351d813bf0137fcc6a76a16b88208d2560a0d924" - integrity sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw== - clean-regexp@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/clean-regexp/-/clean-regexp-1.0.0.tgz#8df7c7aae51fd36874e8f8d05b9180bc11a3fed7" @@ -1797,11 +1744,6 @@ dataloader@^2.2.2: resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.2.2.tgz#216dc509b5abe39d43a9b9d97e6e5e473dfbe3e0" integrity sha512-8YnDaaf7N3k/q5HnTJVuzSyLETjoZjVmHc4AeKAzOvKHEFQKcn64OKBfzHYtE9zGjctNM7V9I0MfnUVLpi7M5g== -debounce@^1.2.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/debounce/-/debounce-1.2.1.tgz#38881d8f4166a5c5848020c11827b834bcb3e0a5" - integrity sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug== - debug@4, debug@4.3.4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" @@ -1975,15 +1917,10 @@ eastasianwidth@^0.2.0: resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== -easy-bem@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/easy-bem/-/easy-bem-1.1.1.tgz#1bfcc10425498090bcfddc0f9c000aba91399e03" - integrity sha512-GJRqdiy2h+EXy6a8E6R+ubmqUM08BK0FWNq41k24fup6045biQ8NXxoXimiwegMQvFFV3t1emADdGNL1TlS61A== - electron-to-chromium@^1.4.535: - version "1.4.574" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.574.tgz#6de04d7c6e244e5ffcae76d2e2a33b02cab66781" - integrity sha512-bg1m8L0n02xRzx4LsTTMbBPiUd9yIR+74iPtS/Ao65CuXvhVZHP0ym1kSdDG3yHFDXqHQQBKujlN1AQ8qZnyFg== + version "1.4.577" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.577.tgz#a732f11cf4532be96e5e3f1197dcda54c2cec7ad" + integrity sha512-/5xHPH6f00SxhHw6052r+5S1xO7gHNc89hV7tqlvnStvKbSrDqc/u6AlwPvVWWNj+s4/KL6T6y8ih+nOY0qYNA== emoji-regex@^8.0.0: version "8.0.0" @@ -2508,11 +2445,11 @@ eslint-plugin-unicorn@^48.0.1: strip-indent "^3.0.0" eslint-plugin-vitest@^0.3.2: - version "0.3.8" - resolved "https://registry.yarnpkg.com/eslint-plugin-vitest/-/eslint-plugin-vitest-0.3.8.tgz#f9712e2a94d95c206d33638fdb252a37acf66a3f" - integrity sha512-MYQJzg3i+nLkaIQgjnOhtqHYIt0W6nErqAOKI3LTSQ2aOgcNHGYTwOhpnwGC1IXTvGWjKgAwb7rHwLpcHWHSAQ== + version "0.3.9" + resolved "https://registry.yarnpkg.com/eslint-plugin-vitest/-/eslint-plugin-vitest-0.3.9.tgz#0490c8c5157fde7f2bafe4161b3c625a06c4abc3" + integrity sha512-ZGrz8dWFlotM5dwrsMLP4VcY5MizwKNV4JTnY0VKdnuCZ+qeEUMHf1qd8kRGQA3tqLvXcV929wt2ANkduq2Pgw== dependencies: - "@typescript-eslint/utils" "^6.7.5" + "@typescript-eslint/utils" "^6.9.1" eslint-plugin-yml@^1.10.0: version "1.10.0" @@ -2580,15 +2517,15 @@ eslint-visitor-keys@^3.0.0, eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4 resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== -eslint@^8.48.0, eslint@^8.52.0: - version "8.52.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.52.0.tgz#d0cd4a1fac06427a61ef9242b9353f36ea7062fc" - integrity sha512-zh/JHnaixqHZsolRB/w9/02akBk9EPrOs9JwcTP2ek7yL5bVvXuRariiaAjjoJ5DvuwQ1WAE/HsMz+w17YgBCg== +eslint@^8, eslint@^8.48.0: + version "8.53.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.53.0.tgz#14f2c8244298fcae1f46945459577413ba2697ce" + integrity sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.6.1" - "@eslint/eslintrc" "^2.1.2" - "@eslint/js" "8.52.0" + "@eslint/eslintrc" "^2.1.3" + "@eslint/js" "8.53.0" "@humanwhocodes/config-array" "^0.11.13" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8" @@ -2752,9 +2689,9 @@ fast-diff@^1.1.2: integrity sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw== fast-glob@^3.0.3, fast-glob@^3.2.12, fast-glob@^3.2.9, fast-glob@^3.3.0, fast-glob@^3.3.1: - version "3.3.1" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.1.tgz#784b4e897340f3dbbef17413b3f11acf03c874c4" - integrity sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg== + version "3.3.2" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" + integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" @@ -2851,33 +2788,6 @@ flatted@^3.2.9: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.9.tgz#7eb4c67ca1ba34232ca9d2d93e9886e611ad7daf" integrity sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ== -flowbite-react@^0.6.4: - version "0.6.4" - resolved "https://registry.yarnpkg.com/flowbite-react/-/flowbite-react-0.6.4.tgz#84fddcde95f0df1bfe443eae1f402ac7f5ae1882" - integrity sha512-36mhawQRalOyq40ZLXesCTvcidYBO0vRFb672YSfflQHl5mENzB3o1SW6oGPpedmS/rWTlK+VBK7ia+1UYr+6w== - dependencies: - "@floating-ui/react" "^0.24.3" - flowbite "^1.6.6" - react-icons "^4.10.1" - react-indiana-drag-scroll "^2.2.0" - tailwind-merge "^1.13.2" - -flowbite@^1.6.6: - version "1.8.1" - resolved "https://registry.yarnpkg.com/flowbite/-/flowbite-1.8.1.tgz#a1f5fb039c4c275414a457089b4917a67e9153a5" - integrity sha512-lXTcO8a6dRTPFpINyOLcATCN/pK1Of/jY4PryklPllAiqH64tSDUsOdQpar3TO59ZXWwugm2e92oaqwH6X90Xg== - dependencies: - "@popperjs/core" "^2.9.3" - mini-svg-data-uri "^1.4.3" - -flowbite@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/flowbite/-/flowbite-2.0.0.tgz#f149f63f4752722d888b1300a5f5071a6bf98b7d" - integrity sha512-gP/iC/WuznQ5XBzikhaSs4RDs49zrvoAdHbWMHSY3l7nVJX0xJz+dELIlLjh+czLdEVTMLxUjuARYYwCb5q34A== - dependencies: - "@popperjs/core" "^2.9.3" - mini-svg-data-uri "^1.4.3" - for-each@^0.3.3: version "0.3.3" resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" @@ -4056,11 +3966,6 @@ min-indent@^1.0.0: resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== -mini-svg-data-uri@^1.4.3: - version "1.4.4" - resolved "https://registry.yarnpkg.com/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz#8ab0aabcdf8c29ad5693ca595af19dd2ead09939" - integrity sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg== - minimatch@4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-4.2.3.tgz#b4dcece1d674dee104bb0fb833ebb85a78cbbca6" @@ -4119,9 +4024,9 @@ mz@^2.7.0: thenify-all "^1.0.0" nanoid@^3.3.6: - version "3.3.6" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c" - integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA== + version "3.3.7" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8" + integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g== natural-compare-lite@^1.4.0: version "1.4.0" @@ -4143,7 +4048,7 @@ netmask@^2.0.2: resolved "https://registry.yarnpkg.com/netmask/-/netmask-2.0.2.tgz#8b01a07644065d536383835823bc52004ebac5e7" integrity sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg== -next@^14.0.1: +next@^14: version "14.0.1" resolved "https://registry.yarnpkg.com/next/-/next-14.0.1.tgz#1375d94c5dc7af730234af48401be270e975cb22" integrity sha512-s4YaLpE4b0gmb3ggtmpmV+wt+lPRuGtANzojMQ2+gmBpgX9w5fTbjsy6dXByBuENsdCX5pukZH/GxdFgO62+pA== @@ -4621,7 +4526,7 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.2.0: resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== -postcss@8.4.31, postcss@^8.4.23, postcss@^8.4.31: +postcss@8.4.31, postcss@^8, postcss@^8.4.23: version "8.4.31" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.31.tgz#92b451050a9f914da6755af352bdc0192508656d" integrity sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ== @@ -4642,6 +4547,11 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" +prettier-plugin-tailwindcss@^0.5.6: + version "0.5.6" + resolved "https://registry.yarnpkg.com/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.6.tgz#8e511857a49bf127f078985f52b04a70e8e92285" + integrity sha512-2Xgb+GQlkPAUCFi3sV+NOYcSI5XgduvDBL2Zt/hwJudeKXkyvRS65c38SB0yb9UB40+1rL83I6m0RtlOQ8eHdg== + prettier@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.3.tgz#432a51f7ba422d1469096c0fdc28e235db8f9643" @@ -4727,7 +4637,7 @@ rc@^1.0.1, rc@^1.1.6: minimist "^1.2.0" strip-json-comments "~2.0.1" -react-dom@18: +react-dom@^18: version "18.2.0" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== @@ -4735,26 +4645,12 @@ react-dom@18: loose-envify "^1.1.0" scheduler "^0.23.0" -react-icons@^4.10.1, react-icons@^4.11.0: - version "4.11.0" - resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-4.11.0.tgz#4b0e31c9bfc919608095cc429c4f1846f4d66c65" - integrity sha512-V+4khzYcE5EBk/BvcuYRq6V/osf11ODUM2J8hg2FDSswRrGvqiYUYPRy4OdrWaQOBj4NcpJfmHZLNaD+VH0TyA== - -react-indiana-drag-scroll@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/react-indiana-drag-scroll/-/react-indiana-drag-scroll-2.2.0.tgz#657e14bbdf4888cc738e9fa8dc4384d76c348c0b" - integrity sha512-+W/3B2OQV0FrbdnsoIo4dww/xpH0MUQJz6ziQb7H+oBko3OCbXuzDFYnho6v6yhGrYDNWYPuFUewb89IONEl/A== - dependencies: - classnames "^2.2.6" - debounce "^1.2.0" - easy-bem "^1.1.1" - react-is@^16.13.1: version "16.13.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== -react@18, react@^18.2.0: +react@^18, react@^18.2.0: version "18.2.0" resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== @@ -5406,16 +5302,6 @@ synckit@^0.8.5: "@pkgr/utils" "^2.3.1" tslib "^2.5.0" -tabbable@^6.0.1: - version "6.2.0" - resolved "https://registry.yarnpkg.com/tabbable/-/tabbable-6.2.0.tgz#732fb62bc0175cfcec257330be187dcfba1f3b97" - integrity sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew== - -tailwind-merge@^1.13.2: - version "1.14.0" - resolved "https://registry.yarnpkg.com/tailwind-merge/-/tailwind-merge-1.14.0.tgz#e677f55d864edc6794562c63f5001f45093cdb8b" - integrity sha512-3mFKyCo/MBcgyOTlrY8T7odzZFx+w+qKSMAmdFzRvqBfLlSigU6TZnlFHK0lkMwj9Bj8OYU+9yW9lmGuS0QEnQ== - tailwindcss@^3.3.5: version "3.3.5" resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.3.5.tgz#22a59e2fbe0ecb6660809d9cc5f3976b077be3b8" @@ -5700,7 +5586,7 @@ typed-array-length@^1.0.4: for-each "^0.3.3" is-typed-array "^1.1.9" -typescript@^5.2.2: +typescript@^5, typescript@^5.2.2: version "5.2.2" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== @@ -5993,11 +5879,16 @@ yaml-eslint-parser@^1.2.1, yaml-eslint-parser@^1.2.2: lodash "^4.17.21" yaml "^2.0.0" -yaml@2.3.3, yaml@^2.0.0, yaml@^2.1.1: +yaml@2.3.3: version "2.3.3" resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.3.tgz#01f6d18ef036446340007db8e016810e5d64aad9" integrity sha512-zw0VAJxgeZ6+++/su5AFoqBbZbrEakwu+X0M5HmcwUiBL7AzcuPKjj5we4xfQLp78LkEMpD0cOnUhmgOVy3KdQ== +yaml@^2.0.0, yaml@^2.1.1: + version "2.3.4" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.4.tgz#53fc1d514be80aabf386dc6001eb29bf3b7523b2" + integrity sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA== + yn@3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"