From 845a59ee050bc42c32a2b692a68bbac32160395d Mon Sep 17 00:00:00 2001 From: Jack Clackett Date: Sun, 30 Oct 2022 21:46:37 +0100 Subject: [PATCH 1/5] refactor: upgrades --- graphcdn.yml | 19 - packages/api/src/db/schema.prisma | 7 +- .../modules/user/inputs/updateUser.input.ts | 30 - .../api/src/modules/user/user.resolver.ts | 5 +- packages/app/package.json | 8 +- packages/app/src/components/InputError.tsx | 2 +- packages/web/next.config.js | 4 +- packages/web/package.json | 14 +- packages/web/src/components/AdminLayout.tsx | 30 +- packages/web/src/components/ButtonGroup.tsx | 15 +- packages/web/src/components/Form.tsx | 3 +- packages/web/src/components/FormError.tsx | 5 +- packages/web/src/components/ImageUploader.tsx | 6 +- packages/web/src/components/InputError.tsx | 4 +- packages/web/src/components/InputLabel.tsx | 5 +- packages/web/src/components/Limiter.tsx | 5 +- packages/web/src/components/LinkButton.tsx | 13 +- packages/web/src/components/Modal.tsx | 7 +- packages/web/src/components/Nav.tsx | 35 +- packages/web/src/components/ProfileLayout.tsx | 33 +- packages/web/src/components/Table.tsx | 29 +- packages/web/src/lib/graphql.tsx | 119 +- packages/web/src/pages/index.tsx | 14 +- packages/web/src/pages/profile/index.tsx | 2 +- yarn.lock | 1507 +++++++++-------- 25 files changed, 1077 insertions(+), 844 deletions(-) delete mode 100644 graphcdn.yml delete mode 100644 packages/api/src/modules/user/inputs/updateUser.input.ts diff --git a/graphcdn.yml b/graphcdn.yml deleted file mode 100644 index 6b77361af..000000000 --- a/graphcdn.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: boilerplate -originUrl: 'https://nq-boilerplate.herokuapp.com/graphql' -schema: 'packages/api/schema.graphql' -scopes: - AUTHENTICATED: 'cookie:boilerplate.session.token|header:Authorization' -rules: - - description: Cache everything (default) - maxAge: 900 - scope: AUTHENTICATED - swr: 900 - types: - Query: true - - description: Users - maxAge: 900 - scope: AUTHENTICATED - swr: 900 - types: - Query: - users: true diff --git a/packages/api/src/db/schema.prisma b/packages/api/src/db/schema.prisma index 9b131bbda..8c219cc00 100644 --- a/packages/api/src/db/schema.prisma +++ b/packages/api/src/db/schema.prisma @@ -3,9 +3,10 @@ generator client { } generator typegraphql { - provider = "typegraphql-prisma" - output = "../../../../node_modules/@generated" - emitOnly = "inputs,enums,crudResolvers" + provider = "typegraphql-prisma" + output = "../../../../node_modules/@generated" + emitOnly = "inputs,enums,crudResolvers" + useSimpleInputs = true } datasource db { diff --git a/packages/api/src/modules/user/inputs/updateUser.input.ts b/packages/api/src/modules/user/inputs/updateUser.input.ts deleted file mode 100644 index 488623c38..000000000 --- a/packages/api/src/modules/user/inputs/updateUser.input.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { IsNotEmpty, MinLength } from "class-validator" -import { Field, InputType } from "type-graphql" - -import { User } from "../user.model" - -@InputType() -export class UpdateUserInput implements Partial { - @IsNotEmpty() - @Field({ nullable: true }) - firstName?: string - - @IsNotEmpty() - @Field({ nullable: true }) - lastName?: string - - @IsNotEmpty() - @Field({ nullable: true }) - email?: string - - @Field({ nullable: true }) - avatar?: string - - @Field({ nullable: true }) - bio?: string - - @MinLength(8) - @IsNotEmpty() - @Field({ nullable: true }) - password?: string -} diff --git a/packages/api/src/modules/user/user.resolver.ts b/packages/api/src/modules/user/user.resolver.ts index 4852ad088..7f177a460 100644 --- a/packages/api/src/modules/user/user.resolver.ts +++ b/packages/api/src/modules/user/user.resolver.ts @@ -1,7 +1,7 @@ import { Arg, Args, Ctx, Mutation, Query, Resolver } from "type-graphql" import { Inject, Service } from "typedi" -import { CreateOneUserArgs, FindFirstUserArgs, FindManyUserArgs, Role } from "@generated" +import { CreateOneUserArgs, FindFirstUserArgs, FindManyUserArgs, Role, UserUpdateInput } from "@generated" import { createToken, decodeRefreshToken, decodeToken } from "../../lib/jwt" import { prisma } from "../../lib/prisma" @@ -12,7 +12,6 @@ import { ResolverContext } from "../shared/resolverContext" import { LoginInput } from "./inputs/login.input" import { RegisterInput } from "./inputs/register.input" import { ResetPasswordInput } from "./inputs/resetPassword.input" -import { UpdateUserInput } from "./inputs/updateUser.input" import { AuthResponse } from "./responses/auth.response" import { RefreshTokenResponse } from "./responses/refreshToken.response" import { UsersResponse } from "./responses/users.response" @@ -58,7 +57,7 @@ export default class UserResolver { // UPDATE ME @UseAuth() @Mutation(() => User) - async updateMe(@CurrentUser() currentUser: User, @Arg("data") data: UpdateUserInput): Promise { + async updateMe(@CurrentUser() currentUser: User, @Arg("data") data: UserUpdateInput): Promise { return await prisma.user.update({ where: { id: currentUser.id }, data }) } diff --git a/packages/app/package.json b/packages/app/package.json index 9a6301b80..e3608d135 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -37,8 +37,8 @@ "graphql-tag": "2.12.6", "native-base": "3.4.19", "polished": "4.2.2", - "react": "17.0.2", - "react-dom": "17.0.2", + "react": "^18.2.0", + "react-dom": "^18.2.0", "react-native": "0.68.2", "react-native-safe-area-context": "4.2.4", "react-native-screens": "~3.11.1", @@ -54,8 +54,8 @@ "@graphql-codegen/typescript": "2.8.0", "@graphql-codegen/typescript-operations": "2.5.5", "@graphql-codegen/typescript-react-apollo": "3.3.5", - "@types/react": "17.0.51", - "@types/react-dom": "17.0.17", + "@types/react": "^18.0.24", + "@types/react-dom": "^18.0.8", "@types/react-native": "0.70.6", "eslint-plugin-react": "7.31.10", "eslint-plugin-react-hooks": "4.6.0" diff --git a/packages/app/src/components/InputError.tsx b/packages/app/src/components/InputError.tsx index 835934574..ebbedad66 100644 --- a/packages/app/src/components/InputError.tsx +++ b/packages/app/src/components/InputError.tsx @@ -6,7 +6,7 @@ interface Props { error?: Merge>> | undefined } -export const InputError: React.FC = (props) => { +export function InputError(props: Props) { if (!props.error) return null return ( diff --git a/packages/web/next.config.js b/packages/web/next.config.js index c77eaf768..746eeb6f4 100644 --- a/packages/web/next.config.js +++ b/packages/web/next.config.js @@ -8,7 +8,9 @@ const sentryWebpackPluginOptions = { */ module.exports = withSentryConfig( { - reactStrictMode: false, + sentry: { + hideSourceMaps: false, + }, env: { NEXT_PUBLIC_PULL_REQUEST_NUMBER: process.env.VERCEL_GIT_PULL_REQUEST_NUMBER, NEXT_PUBLIC_APP_ENV: process.env.NEXT_PUBLIC_APP_ENV, diff --git a/packages/web/package.json b/packages/web/package.json index 3b734816f..59f9ab6d0 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -29,7 +29,7 @@ "license": "MIT", "dependencies": { "@apollo/client": "3.7.0", - "@chakra-ui/react": "1.8.9", + "@chakra-ui/react": "^2.3.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "@hookform/resolvers": "2.9.10", @@ -37,9 +37,9 @@ "dayjs": "1.11.6", "framer-motion": "6.5.1", "graphql": "15.8.0", - "next": "12.3.1", - "react": "17.0.2", - "react-dom": "17.0.2", + "next": "^13.0.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", "react-dropzone": "14.2.3", "react-hook-form": "7.38.0", "react-icons": "4.6.0", @@ -53,8 +53,8 @@ "@graphql-codegen/typescript-operations": "2.5.5", "@graphql-codegen/typescript-react-apollo": "3.3.5", "@types/cookie": "0.5.1", - "@types/react": "17.0.51", - "@types/react-dom": "17.0.17", - "eslint-config-next": "12.3.1" + "@types/react": "^18.0.24", + "@types/react-dom": "^18.0.8", + "eslint-config-next": "^13.0.0" } } diff --git a/packages/web/src/components/AdminLayout.tsx b/packages/web/src/components/AdminLayout.tsx index 7f4b17082..ac353758c 100644 --- a/packages/web/src/components/AdminLayout.tsx +++ b/packages/web/src/components/AdminLayout.tsx @@ -109,20 +109,20 @@ function SidebarLink({ href, icon, ...props }: SidebarLinkProps) { const router = useRouter() const isActive = router.asPath.includes(href) return ( - - -
{icon}
- - {props.children} - - -
+ +
{icon}
+ + {props.children} + + ) } diff --git a/packages/web/src/components/ButtonGroup.tsx b/packages/web/src/components/ButtonGroup.tsx index 20af8ef6f..f6fd85f21 100644 --- a/packages/web/src/components/ButtonGroup.tsx +++ b/packages/web/src/components/ButtonGroup.tsx @@ -1,8 +1,11 @@ import * as React from "react" -import { ButtonGroup as CButtonGroup, ButtonGroupProps } from "@chakra-ui/react" +import type { ButtonGroupProps } from "@chakra-ui/react"; +import { ButtonGroup as CButtonGroup } from "@chakra-ui/react" -export const ButtonGroup: React.FC = (props) => ( - - {props.children} - -) +export function ButtonGroup(props: ButtonGroupProps) { + return ( + + {props.children} + + ) +} diff --git a/packages/web/src/components/Form.tsx b/packages/web/src/components/Form.tsx index 98e810bdb..8f0918024 100644 --- a/packages/web/src/components/Form.tsx +++ b/packages/web/src/components/Form.tsx @@ -9,9 +9,10 @@ import { useToast } from "lib/hooks/useToast" interface FormContainerProps { onSubmit?: (values: any) => Promise | any onBlur?: (values: any) => Promise | any + children?: React.ReactNode } -const FormContainer: React.FC = (props) => { +function FormContainer(props: FormContainerProps) { const toast = useToast() const { handleSubmit } = useFormContext() const onSubmit = async (values: any) => { diff --git a/packages/web/src/components/FormError.tsx b/packages/web/src/components/FormError.tsx index 9ef6e9849..8800e1904 100644 --- a/packages/web/src/components/FormError.tsx +++ b/packages/web/src/components/FormError.tsx @@ -1,11 +1,12 @@ import * as React from "react" -import { useFormContext, UseFormReturn } from "react-hook-form" +import type { UseFormReturn } from "react-hook-form"; +import { useFormContext } from "react-hook-form" import { FormControl, FormErrorMessage } from "@chakra-ui/react" interface Props { error?: string } -export const FormError: React.FC = (props) => { +export function FormError(props: Props) { const { appError } = useFormContext() as UseFormReturn> & { appError?: string } diff --git a/packages/web/src/components/ImageUploader.tsx b/packages/web/src/components/ImageUploader.tsx index c5260e342..63bdd254b 100644 --- a/packages/web/src/components/ImageUploader.tsx +++ b/packages/web/src/components/ImageUploader.tsx @@ -1,5 +1,6 @@ import * as React from "react" -import { DropzoneOptions, FileRejection, useDropzone } from "react-dropzone" +import type { DropzoneOptions, FileRejection} from "react-dropzone"; +import { useDropzone } from "react-dropzone" import { Box, Button, Image, useDisclosure } from "@chakra-ui/react" import { useS3Upload } from "lib/hooks/useS3" @@ -13,9 +14,10 @@ interface Props { onSubmit: (key: string) => Promise | any onRemove?: () => Promise | any dropzoneOptions?: Omit + children?: React.ReactNode } -export const ImageUploader: React.FC = ({ children, path, onSubmit, dropzoneOptions }) => { +export function ImageUploader({ children, path, onSubmit, dropzoneOptions }: Props) { const modalProps = useDisclosure() const toast = useToast() const [image, setImage] = React.useState<{ file: File; preview: string } | null>(null) diff --git a/packages/web/src/components/InputError.tsx b/packages/web/src/components/InputError.tsx index 7aced4420..d12ea80c9 100644 --- a/packages/web/src/components/InputError.tsx +++ b/packages/web/src/components/InputError.tsx @@ -6,14 +6,14 @@ interface Props { error?: FieldError | Merge> | string } -export const InputError: React.FC = (props) => { +export function InputError(props: Props) { if (!props.error) return null return ( <> {typeof props.error === "string" ? ( {props.error} ) : props.error.message ? ( - {props.error.message} + {props.error.message as string} ) : ( props.error.types && Object.values(props.error.types).map((error, i) => ( diff --git a/packages/web/src/components/InputLabel.tsx b/packages/web/src/components/InputLabel.tsx index d3770a3d2..6986289a6 100644 --- a/packages/web/src/components/InputLabel.tsx +++ b/packages/web/src/components/InputLabel.tsx @@ -1,5 +1,6 @@ import * as React from "react" -import { FormLabel, FormLabelProps, Text, useColorModeValue } from "@chakra-ui/react" +import type { FormLabelProps} from "@chakra-ui/react"; +import { FormLabel, Text, useColorModeValue } from "@chakra-ui/react" interface Props extends Omit { name?: string @@ -7,7 +8,7 @@ interface Props extends Omit { subLabel?: string } -export const InputLabel: React.FC = ({ subLabel, ...props }) => { +export function InputLabel({ subLabel, ...props }: Props) { const subLabelColor = useColorModeValue("gray.400", "gray.300") if (!props.label) return null diff --git a/packages/web/src/components/Limiter.tsx b/packages/web/src/components/Limiter.tsx index f31d6671b..473a56a5f 100644 --- a/packages/web/src/components/Limiter.tsx +++ b/packages/web/src/components/Limiter.tsx @@ -1,7 +1,8 @@ import * as React from "react" -import { Box, BoxProps } from "@chakra-ui/react" +import type { BoxProps } from "@chakra-ui/react"; +import { Box } from "@chakra-ui/react" -export const Limiter: React.FC = (props) => { +export function Limiter(props: BoxProps) { const px = { base: 4, md: 10, diff --git a/packages/web/src/components/LinkButton.tsx b/packages/web/src/components/LinkButton.tsx index d1ccb1ef5..bf607fc22 100644 --- a/packages/web/src/components/LinkButton.tsx +++ b/packages/web/src/components/LinkButton.tsx @@ -1,16 +1,15 @@ import * as React from "react" -import { Button, ButtonProps, Link } from "@chakra-ui/react" +import type { ButtonProps } from "@chakra-ui/react"; +import { Button } from "@chakra-ui/react" import NextLink from "next/link" interface Props extends ButtonProps { href: string } -export const LinkButton: React.FC = ({ href, ...props }) => { +export function LinkButton({ href, ...props }: Props) { return ( - - - + ) } diff --git a/packages/web/src/components/Modal.tsx b/packages/web/src/components/Modal.tsx index 7259ac677..0c7ff2043 100644 --- a/packages/web/src/components/Modal.tsx +++ b/packages/web/src/components/Modal.tsx @@ -1,18 +1,19 @@ import * as React from "react" +import type { + ModalProps} from "@chakra-ui/react"; import { Modal as CModal, ModalBody, ModalCloseButton, ModalContent, ModalHeader, - ModalOverlay, - ModalProps, + ModalOverlay } from "@chakra-ui/react" interface Props extends ModalProps { title?: string } -export const Modal: React.FC = (props) => { +export function Modal(props: Props) { return ( diff --git a/packages/web/src/components/Nav.tsx b/packages/web/src/components/Nav.tsx index 104b227ec..0a16f1cc2 100644 --- a/packages/web/src/components/Nav.tsx +++ b/packages/web/src/components/Nav.tsx @@ -1,6 +1,8 @@ import * as React from "react" import { BiCog, BiExit, BiMoon, BiSun, BiUser } from "react-icons/bi" import { GiHamburgerMenu } from "react-icons/gi" +import type { + LinkProps} from "@chakra-ui/react"; import { Avatar, Box, @@ -8,7 +10,6 @@ import { HStack, IconButton, Link, - LinkProps, Menu, MenuButton, MenuDivider, @@ -93,11 +94,11 @@ export function Nav() { {me ? ( <> - + }>Profile {me.role === Role.Admin && ( - + }>Admin )} @@ -124,10 +125,10 @@ export function Nav() { Toggle theme - + Login - + Register @@ -148,17 +149,17 @@ function HomeLink({ href, ...props }: HomeLinkProps) { const isActive = asPath === href return ( - - - {props.children} - - + + {props.children} + ) } diff --git a/packages/web/src/components/ProfileLayout.tsx b/packages/web/src/components/ProfileLayout.tsx index 1eb4ac83f..9a6a11183 100644 --- a/packages/web/src/components/ProfileLayout.tsx +++ b/packages/web/src/components/ProfileLayout.tsx @@ -1,9 +1,10 @@ import * as React from "react" -import { Box, Flex, Heading, Link, LinkProps, Stack, useColorModeValue } from "@chakra-ui/react" +import type { LinkProps} from "@chakra-ui/react"; +import { Box, Flex, Heading, Link, Stack, useColorModeValue } from "@chakra-ui/react" import NextLink from "next/link" import { useRouter } from "next/router" -export const ProfileLayout: React.FC = ({ children }) => { +export function ProfileLayout({ children }: { children: React.ReactNode }) { return ( @@ -33,24 +34,24 @@ export const ProfileLayout: React.FC = ({ children }) => { interface ProfileLinkProps extends LinkProps { href: string } -const ProfileLink: React.FC = ({ href, ...props }) => { +function ProfileLink({ href, ...props }: ProfileLinkProps) { const { asPath } = useRouter() const isActive = asPath === href const activeColor = useColorModeValue("black", "white") const inactiveColor = useColorModeValue("gray.600", "gray.500") return ( - - - {props.children} - - + + {props.children} + ) } diff --git a/packages/web/src/components/Table.tsx b/packages/web/src/components/Table.tsx index 5712497a8..7121fc020 100644 --- a/packages/web/src/components/Table.tsx +++ b/packages/web/src/components/Table.tsx @@ -1,7 +1,7 @@ import * as React from "react" import { CgArrowLongDown, CgArrowLongUp } from "react-icons/cg" import type { FlexProps } from "@chakra-ui/react" -import { Box, Button, Center, Flex, Link, Spinner, Text, useColorModeValue } from "@chakra-ui/react" +import { Box, Button, Center, Flex, Spinner, Text, useColorModeValue } from "@chakra-ui/react" import NextLink from "next/link" import { SortOrder } from "lib/graphql" @@ -176,20 +176,33 @@ function _ColumnField({ flex: 1, align: "center", h: "50px", - isTruncated: true, fontSize: "sm", justify: isLast ? "flex-end" : "flex-start", overflowX: "auto", ...props, } return !!!hasNoLink && !!href ? ( - - - {props.children} - - + + {typeof props.children === "string" || typeof props.children === "number" ? ( + {props.children} + ) : ( + props.children + )} + ) : ( - {props.children} + + {typeof props.children === "string" || typeof props.children === "number" ? ( + {props.children} + ) : ( + props.children + )} + ) } diff --git a/packages/web/src/lib/graphql.tsx b/packages/web/src/lib/graphql.tsx index caabb9fec..42a3614a6 100644 --- a/packages/web/src/lib/graphql.tsx +++ b/packages/web/src/lib/graphql.tsx @@ -104,7 +104,7 @@ export type MutationResetPasswordArgs = { export type MutationUpdateMeArgs = { - data: UpdateUserInput; + data: UserUpdateInput; }; export type NestedDateTimeFilter = { @@ -160,6 +160,17 @@ export type NestedStringNullableFilter = { startsWith?: InputMaybe; }; +export type NestedUuidFilter = { + equals?: InputMaybe; + gt?: InputMaybe; + gte?: InputMaybe; + in?: InputMaybe>; + lt?: InputMaybe; + lte?: InputMaybe; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + export type Post = { __typename?: 'Post'; author: User; @@ -238,20 +249,81 @@ export enum PostScalarFieldEnum { UpdatedAt = 'updatedAt' } +export type PostScalarWhereInput = { + AND?: InputMaybe>; + NOT?: InputMaybe>; + OR?: InputMaybe>; + authorId?: InputMaybe; + content?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; +}; + export enum PostStatus { Draft = 'DRAFT', Published = 'PUBLISHED' } +export type PostUpdateManyMutationInput = { + content?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type PostUpdateManyWithWhereWithoutAuthorInput = { + data: PostUpdateManyMutationInput; + where: PostScalarWhereInput; +}; + +export type PostUpdateManyWithoutAuthorNestedInput = { + connect?: InputMaybe>; + connectOrCreate?: InputMaybe>; + create?: InputMaybe>; + createMany?: InputMaybe; + delete?: InputMaybe>; + deleteMany?: InputMaybe>; + disconnect?: InputMaybe>; + set?: InputMaybe>; + update?: InputMaybe>; + updateMany?: InputMaybe>; + upsert?: InputMaybe>; +}; + +export type PostUpdateWithWhereUniqueWithoutAuthorInput = { + data: PostUpdateWithoutAuthorInput; + where: PostWhereUniqueInput; +}; + +export type PostUpdateWithoutAuthorInput = { + content?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type PostUpsertWithWhereUniqueWithoutAuthorInput = { + create: PostCreateWithoutAuthorInput; + update: PostUpdateWithoutAuthorInput; + where: PostWhereUniqueInput; +}; + export type PostWhereInput = { AND?: InputMaybe>; NOT?: InputMaybe>; OR?: InputMaybe>; author?: InputMaybe; - authorId?: InputMaybe; + authorId?: InputMaybe; content?: InputMaybe; createdAt?: InputMaybe; - id?: InputMaybe; + id?: InputMaybe; status?: InputMaybe; title?: InputMaybe; updatedAt?: InputMaybe; @@ -407,15 +479,6 @@ export type StringNullableFilter = { startsWith?: InputMaybe; }; -export type UpdateUserInput = { - avatar?: InputMaybe; - bio?: InputMaybe; - email?: InputMaybe; - firstName?: InputMaybe; - lastName?: InputMaybe; - password?: InputMaybe; -}; - export type User = { __typename?: 'User'; avatar?: Maybe; @@ -476,6 +539,20 @@ export enum UserScalarFieldEnum { UpdatedAt = 'updatedAt' } +export type UserUpdateInput = { + avatar?: InputMaybe; + bio?: InputMaybe; + createdAt?: InputMaybe; + email?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + password?: InputMaybe; + posts?: InputMaybe; + role?: InputMaybe; + updatedAt?: InputMaybe; +}; + export type UserWhereInput = { AND?: InputMaybe>; NOT?: InputMaybe>; @@ -485,7 +562,7 @@ export type UserWhereInput = { createdAt?: InputMaybe; email?: InputMaybe; firstName?: InputMaybe; - id?: InputMaybe; + id?: InputMaybe; lastName?: InputMaybe; password?: InputMaybe; posts?: InputMaybe; @@ -504,6 +581,18 @@ export type UsersResponse = { items: Array; }; +export type UuidFilter = { + equals?: InputMaybe; + gt?: InputMaybe; + gte?: InputMaybe; + in?: InputMaybe>; + lt?: InputMaybe; + lte?: InputMaybe; + mode?: InputMaybe; + not?: InputMaybe; + notIn?: InputMaybe>; +}; + export type AdminCreateUserMutationVariables = Exact<{ data: UserCreateInput; }>; @@ -579,7 +668,7 @@ export type PostsQueryVariables = Exact<{ [key: string]: never; }>; export type PostsQuery = { __typename?: 'Query', posts: { __typename?: 'PostsResponse', count: number, items: Array<{ __typename?: 'Post', id: string, title: string, content: string, createdAt: string, author: { __typename?: 'User', id: string, firstName: string } }> } }; export type UpdateMeMutationVariables = Exact<{ - data: UpdateUserInput; + data: UserUpdateInput; }>; @@ -813,7 +902,7 @@ export type PostsQueryHookResult = ReturnType; export type PostsLazyQueryHookResult = ReturnType; export type PostsQueryResult = Apollo.QueryResult; export const UpdateMeDocument = gql` - mutation UpdateMe($data: UpdateUserInput!) { + mutation UpdateMe($data: UserUpdateInput!) { updateMe(data: $data) { ...Me } diff --git a/packages/web/src/pages/index.tsx b/packages/web/src/pages/index.tsx index baae617ed..d59ddfea2 100644 --- a/packages/web/src/pages/index.tsx +++ b/packages/web/src/pages/index.tsx @@ -29,11 +29,15 @@ export default function Home() { )} Built by{" "} - - - No Quarter - - + + No Quarter + diff --git a/packages/web/src/pages/profile/index.tsx b/packages/web/src/pages/profile/index.tsx index 329cd79f4..51e6f8600 100644 --- a/packages/web/src/pages/profile/index.tsx +++ b/packages/web/src/pages/profile/index.tsx @@ -18,7 +18,7 @@ import { ProfileLayout } from "components/ProfileLayout" import { Tile, TileBody, TileFooter, TileHeader, TileHeading } from "components/Tile" const _ = gql` - mutation UpdateMe($data: UpdateUserInput!) { + mutation UpdateMe($data: UserUpdateInput!) { updateMe(data: $data) { ...Me } diff --git a/yarn.lock b/yarn.lock index db81a115b..436581ee1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1534,555 +1534,744 @@ "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" -"@chakra-ui/accordion@1.4.12": - version "1.4.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/accordion/-/accordion-1.4.12.tgz#c990b3327ac8ffef472d6e76d77f15a809d2aa56" - integrity sha512-Hq5Ie1SI4mmtgBmeuir+f7QKgopZEyQOojgufo/A20keMSy5Yk9WZjkXNQgvoIRl1AsoziIPUlubQOtkBZjjbA== - dependencies: - "@chakra-ui/descendant" "2.1.4" - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/icon" "2.0.5" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/transition" "1.4.8" - "@chakra-ui/utils" "1.10.4" - -"@chakra-ui/alert@1.3.7": - version "1.3.7" - resolved "https://registry.yarnpkg.com/@chakra-ui/alert/-/alert-1.3.7.tgz#f36020ffc3b2c26be67025c56bccbf0639a81a67" - integrity sha512-fFpJYBpHOIK/BX4BVl/xafYiDBUW+Bq/gUYDOo4iAiO4vHgxo74oa+yOwSRNlNjAgIX7pi2ridsYQALKyWyxxQ== - dependencies: - "@chakra-ui/icon" "2.0.5" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" - -"@chakra-ui/anatomy@1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@chakra-ui/anatomy/-/anatomy-1.3.0.tgz#38a40dd6f2bb076fe8bebe8fb8e4769ea005e03d" - integrity sha512-vj/lcHkCuq/dtbl69DkNsftZTnrGEegB90ODs1B6rxw8iVMdDSYkthPPFAkqzNs4ppv1y2IBjELuVzpeta1OHA== +"@chakra-ui/accordion@2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/accordion/-/accordion-2.1.2.tgz#f9d384b80f68a92689fa7ad4e43bd8944e6945c6" + integrity sha512-Jf7A6I0eIGk34zO5TiTW8orJOFQb5A/D1ekNYbaukNccoUPKJg/xdQ/b00oIR6LT93nJxggkoP/vszfmmTHuFg== dependencies: - "@chakra-ui/theme-tools" "^1.3.6" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" -"@chakra-ui/avatar@1.3.11": - version "1.3.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/avatar/-/avatar-1.3.11.tgz#abd8ffa9ad54756e549730f984fdae621ae51baa" - integrity sha512-/eRRK48Er92/QWAfWhxsJIN0gZBBvk+ew4Hglo+pxt3/NDnfTF2yPE7ZN29Dl6daPNbyTOpoksMwaU2mZIqLgA== +"@chakra-ui/alert@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/alert/-/alert-2.0.11.tgz#d792b0684ae7810befa3874af5bdd4aa115513a2" + integrity sha512-n40KHU3j1H6EbIdgptjEad92V7Fpv7YD++ZBjy2g1h4w9ay9nw4kGHib3gaIkBupLf52CfLqySEc8w0taoIlXQ== dependencies: - "@chakra-ui/image" "1.1.10" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/spinner" "2.0.10" -"@chakra-ui/breadcrumb@1.3.6": - version "1.3.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/breadcrumb/-/breadcrumb-1.3.6.tgz#fe22e162c37add5830bd1292172bb11d859c6f35" - integrity sha512-iXxienBO6RUnJEcDvyDWyRt+mzPyl7/b6N8i0vrjGKGLpgtayJFvIdo33tFcvx6TCy7V9hiE3HTtZnNomWdR6A== +"@chakra-ui/anatomy@2.0.7": + version "2.0.7" + resolved "https://registry.yarnpkg.com/@chakra-ui/anatomy/-/anatomy-2.0.7.tgz#33e60c7c4d6e5f949f6f8308249dc571f84ead1e" + integrity sha512-vzcB2gcsGCxhrKbldQQV6LnBPys4eSSsH2UA2mLsT+J3WlXw0aodZw0eE/nH7yLxe4zaQ4Gnc0KjkFW4EWNKSg== + +"@chakra-ui/avatar@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@chakra-ui/avatar/-/avatar-2.2.0.tgz#58b5e650f7e4b3ab229f50e6a102c54b6eb4b23a" + integrity sha512-mpAkfr/JG+BNBw2WvU55CSRFYKeFBUyAQAu3YulznLzi2U3e7k3IA0J8ofbrDYlSH/9KqkDuuSrxqGZgct+Nug== dependencies: - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/button@1.5.10": - version "1.5.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/button/-/button-1.5.10.tgz#c339f78197b6bd63f109003177fd640ae6e6a632" - integrity sha512-IVEOrleI378CckAa3b3CTUHMPZRfpy6LPwn1Mx3sMpHEkDTKu8zJcjgEvCE8HYzNC1KbwBsa1PfTgk40ui6EtA== +"@chakra-ui/breadcrumb@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@chakra-ui/breadcrumb/-/breadcrumb-2.1.0.tgz#530ded99f931cfcb9f4bd4d951bc82b0a4e102ac" + integrity sha512-khBR579SLDEo6Wuo3tETRY6m0yJD/WCvSR7Res2g1B6OJgc9OQGM7yIMu4OdLUTwfXsCnlHTDoSQPUxFOVAMIQ== dependencies: - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/spinner" "1.2.6" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/checkbox@1.7.1": - version "1.7.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/checkbox/-/checkbox-1.7.1.tgz#cd733f177d88c477ae5ece228b81cddc67b70c0e" - integrity sha512-9Io97yn8OrdaIynCj+3Z/neJV7lTT1MtcdYh3BKMd7WnoJDkRY/GlBM8zsdgC5Wvm+ZQ1M83t0YvRPKLLzusyA== +"@chakra-ui/breakpoint-utils@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.4.tgz#6231eff8b20f4e3cbb4eb7c86d05c927679d905b" + integrity sha512-SUUEYnA/FCIKYDHMuEXcnBMwet+6RAAjQ+CqGD1hlwKPTfh7EK9fS8FoVAJa9KpRKAc/AawzPkgwvorzPj8NSg== + +"@chakra-ui/button@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/button/-/button-2.0.11.tgz#98e0aa1e35ea7e193bb50f9a4b5d0ea23202ace8" + integrity sha512-J6iMRITqxTxa0JexHUY9c7BXUrTZtSkl3jZ2hxiFybB4MQL8J2wZ24O846B6M+WTYqy7XVuHRuVURnH4czWesw== dependencies: - "@chakra-ui/form-control" "1.6.0" - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" - "@chakra-ui/visually-hidden" "1.1.6" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/spinner" "2.0.10" -"@chakra-ui/clickable@1.2.6": - version "1.2.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/clickable/-/clickable-1.2.6.tgz#7f3deef71580acf47c2395cac2c1734f43418a3f" - integrity sha512-89SsrQwwwAadcl/bN8nZqqaaVhVNFdBXqQnxVy1t07DL5ezubmNb5SgFh9LDznkm9YYPQhaGr3W6HFro7iAHMg== +"@chakra-ui/checkbox@2.2.2": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/checkbox/-/checkbox-2.2.2.tgz#494d7090ac11a0a43d05b7849aff6085f7a91045" + integrity sha512-Y6Zbkkk5VNoe0RzqU6F+rKlFVPlubz1KIgYcb7CCNHGOM97dLtRm78eAvJ+7Xmpitr+7zZ4hJLLjfAz+e1X7rA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.11" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/clickable@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/clickable/-/clickable-2.0.10.tgz#e89b7b3eaf9364753f6205e36fd5128b26a617d8" + integrity sha512-G6JdR6yAMlXpfjOJ70W2FL7aUwNuomiMFtkneeTpk7Q42bJ5iGHfYlbZEx5nJd8iB+UluXVM4xlhMv2MyytjGw== + dependencies: + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/close-button@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/close-button/-/close-button-2.0.11.tgz#8b0679da42738229014d3807885d05fac0fdf448" + integrity sha512-9WF/nwwK9BldS89WQ5PtXK2nFS4r8QOgKls2BOwXfE+rGmOUZtOsu8ne/drXRjgkiBRETR6CxdyUjm7EPzXllw== dependencies: - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/icon" "3.0.11" -"@chakra-ui/close-button@1.2.7": - version "1.2.7" - resolved "https://registry.yarnpkg.com/@chakra-ui/close-button/-/close-button-1.2.7.tgz#6f3073618ae777d7e36a80fb17bc00aaa790e7a5" - integrity sha512-cYTxfgrIlPU4IZm1sehZXxx/TNQBk9c3LBPvTpywEM8GVRGINh4YLq8WiMaPtO+TDNBnKoWS/jS4IHnR+abADw== +"@chakra-ui/color-mode@2.1.9": + version "2.1.9" + resolved "https://registry.yarnpkg.com/@chakra-ui/color-mode/-/color-mode-2.1.9.tgz#d3a6f9ba9eee15d9e14cc96484e25d44cef1dbc1" + integrity sha512-0kx0I+AQon8oS23/X+qMtnhsv/1BUulyJvU56p3Uh8CRaBfgJ7Ly9CerShoUL+5kadu6hN1M9oty4cugaCwv2w== dependencies: - "@chakra-ui/icon" "2.0.5" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" -"@chakra-ui/color-mode@1.4.8": - version "1.4.8" - resolved "https://registry.yarnpkg.com/@chakra-ui/color-mode/-/color-mode-1.4.8.tgz#e5367b909f5b4c782b239f9d37d4cf1a44c28559" - integrity sha512-iD4126DVQi06c6ARr3uf3R2rtEu8aBVjW8rhZ+lOsV26Z15iCJA7OAut13Xu06fcZvgjSB/ChDy6Sx9sV9UjHA== +"@chakra-ui/control-box@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/control-box/-/control-box-2.0.10.tgz#e8a849c9f0fa085da78ee15dda7e13e1734b983d" + integrity sha512-sHmZanFLEv4IDATl19ZTxq8Bi8PtjfvnsN6xF4k7JGSYUnk1YXUf1coyW7WKdcsczOASrMikfsLc3iEVAzx4Ng== + +"@chakra-ui/counter@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/counter/-/counter-2.0.10.tgz#861f00db021235892dfe0407e739a259f1c233b2" + integrity sha512-MZK8UKUZp4nFMd+GlV/cq0NIARS7UdlubTuCx+wockw9j2JI5OHzsyK0XiWuJiq5psegSTzpbtT99QfAUm3Yiw== dependencies: - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/react-env" "1.1.6" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/control-box@1.1.6": - version "1.1.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/control-box/-/control-box-1.1.6.tgz#15a40a2cab525799988ae53948b61eed81a7f177" - integrity sha512-EUcq5f854puG6ZA6wAWl4107OPl8+bj4MMHJCa48BB0qec0U8HCEtxQGnFwJmaYLalIAjMfHuY3OwO2A3Hi9hA== +"@chakra-ui/css-reset@2.0.8": + version "2.0.8" + resolved "https://registry.yarnpkg.com/@chakra-ui/css-reset/-/css-reset-2.0.8.tgz#093ce6b166b37f2dd14e63f246635c463a59c106" + integrity sha512-VuDD1rk1pFc+dItk4yUcstyoC9D2B35hatHDBtlPMqTczFAzpbgVJJYgEHANatXGfulM5SdckmYEIJ3Tac1Rtg== + +"@chakra-ui/descendant@3.0.10": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/descendant/-/descendant-3.0.10.tgz#e54c95270896c451f61b57d31719ee042f4e1827" + integrity sha512-MHH0Qdm0fGllGP2xgx4WOycmrpctyyEdGw6zxcfs2VqZNlrwmjG3Yb9eVY+Q7UmEv5rwAq6qRn7BhQxgSPn3Cg== dependencies: - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/counter@1.2.10": - version "1.2.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/counter/-/counter-1.2.10.tgz#544de1f53b783e8577cc74208ae1b0ca74385834" - integrity sha512-HQd09IuJ4z8M8vWajH+99jBWWSHDesQZmnN95jUg3HKOuNleLaipf2JFdrqbO1uWQyHobn2PM6u+B+JCAh2nig== +"@chakra-ui/dom-utils@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/dom-utils/-/dom-utils-2.0.3.tgz#8a5498b107d3a42662f3502f7b8965cb73bf6a33" + integrity sha512-aeGlRmTxcv0cvW44DyeZHru1i68ZDQsXpfX2dnG1I1yBlT6GlVx1xYjCULis9mjhgvd2O3NfcYPRTkjNWTDUbA== + +"@chakra-ui/editable@2.0.13": + version "2.0.13" + resolved "https://registry.yarnpkg.com/@chakra-ui/editable/-/editable-2.0.13.tgz#4e6ff480956ae2dcacf4ba2a15019336486bd613" + integrity sha512-GM3n8t3/TOFFcDOWF/tuKsnqn66isZLsU+FkMRY2o0E8XjLBGjCKuXInPW5SRBqhje7EHC+kwViLE780PfwXbw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/event-utils@2.0.5": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@chakra-ui/event-utils/-/event-utils-2.0.5.tgz#23de21e319d1a70863953402d64cb4b0e6ce322f" + integrity sha512-VXoOAIsM0PFKDlhm+EZxkWlUXd5UFTb/LTux3y3A+S9G5fDxLRvpiLWByPUgTFTCDFcgTCF+YnQtdWJB4DLyxg== + +"@chakra-ui/focus-lock@2.0.12": + version "2.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/focus-lock/-/focus-lock-2.0.12.tgz#11c0301a326249efe269c2dd0f54b11a67a04321" + integrity sha512-NvIP59A11ZNbxXZ3qwxSiQ5npjABkpSbTIjK0uZ9bZm5LMfepRnuuA19VsVlq31/BYV9nHFAy6xzIuG+Qf9xMA== dependencies: - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/dom-utils" "2.0.3" + react-focus-lock "^2.9.1" -"@chakra-ui/css-reset@1.1.3": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/css-reset/-/css-reset-1.1.3.tgz#da65507ea1d69ed309bc34619881e23b5004ec7d" - integrity sha512-AgfrE7bRTJvNi/4zIfacI/kBHmHmHEIeQtHwCvk/0qM9V2gK1VM3ctYlnibf7BTh17F/UszweOGRb1lHSPfWjw== +"@chakra-ui/form-control@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/form-control/-/form-control-2.0.11.tgz#fbfdddb02d1b5d2c67ffdc721c434ff16693e4bd" + integrity sha512-MVhIe0xY4Zn06IXRXFmS9tCa93snppK1SdUQb1P99Ipo424RrL5ykzLnJ8CAkQrhoVP3sxF7z3eOSzk8/iRfow== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/descendant@2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/descendant/-/descendant-2.1.4.tgz#b85c52b0b429da0a08d0950b4f8bef61b94f43f6" - integrity sha512-k1olHM6c0fcI5fQxO9rqg9rxripcfHMEm2LkORgH0CAzFn/U75CxCw5ec0IMedNWCdiv740enVfnfhBAoSg7gw== +"@chakra-ui/hooks@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@chakra-ui/hooks/-/hooks-2.1.0.tgz#a8df3692e407c2fed8cc551c8ce7f3fcd0ea9864" + integrity sha512-4H6BDITq/YrStW99LXurgPkcz4qHSVy9V/QWXCvt1pCuiDTqNztiW4r508H3ApAOsL9NEbyXcM/zWYD7r5VDjA== dependencies: - "@chakra-ui/react-utils" "^1.2.3" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/utils" "2.0.11" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" -"@chakra-ui/editable@1.4.2": - version "1.4.2" - resolved "https://registry.yarnpkg.com/@chakra-ui/editable/-/editable-1.4.2.tgz#92d5266e737d52df1edc91c21a05c0a6048f881f" - integrity sha512-a5zKghA/IvG7yNkmFl7Z9c2KSsf0FgyijsNPTg/4S5jxyz13QJtoTg40tdpyaxHHCT25y25iUcV4FYCj6Jd01w== +"@chakra-ui/icon@3.0.11": + version "3.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/icon/-/icon-3.0.11.tgz#a51dda24bed2f2ed77b4136ada8f22d3249c9870" + integrity sha512-RG4jf/XmBdaxOYI5J5QstEtTCPoVlmrQ/XiWhvN0LTgAnmZIqVwFl3Uw+satArdStHAs0GmJZg/E/soFTWuFmw== dependencies: - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/shared-utils" "2.0.2" -"@chakra-ui/focus-lock@1.2.6": - version "1.2.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/focus-lock/-/focus-lock-1.2.6.tgz#ecdc9688651c55c67f9059720f0885ea7c02b979" - integrity sha512-ZJNE1oNdUM1aGWuCJ+bxFa/d3EwxzfMWzTKzSvKDK50GWoUQQ10xFTT9nY/yFpkcwhBvx1KavxKf44mIhIbSog== +"@chakra-ui/image@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/image/-/image-2.0.11.tgz#eb880ecd2fce47f22ef50bbbba66cbb027c0304c" + integrity sha512-S6NqAprPcbHnck/J+2wg06r9SSol62v5A01O8Kke2PnAyjalMcS+6P59lDRO7wvPqsdxq4PPbSTZP6Dww2CvcA== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/input@2.0.12": + version "2.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/input/-/input-2.0.12.tgz#332db53a831daea4d76e1de6d3b4462fd50ae167" + integrity sha512-lJ5necu+Wt698HdCTC7L/ErA2nNVJAra7+knPe0qMR+AizGEL7LKCV/bdQe7eggjvKsDGD4alJIEczUvm3JVUQ== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/layout@2.1.9": + version "2.1.9" + resolved "https://registry.yarnpkg.com/@chakra-ui/layout/-/layout-2.1.9.tgz#3e9cc7b5915e033907367e40fc97d218efa5f777" + integrity sha512-ztsavtirtdtjxdqIkGR6fVcrffHp6hs1twRFO/dK14FGXrX3Nn9mi3J1fr1ITBHJq6y5B3yFEj0LHN2fO8dYyw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/lazy-utils@2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/lazy-utils/-/lazy-utils-2.0.2.tgz#d85f9afc60c2434ba76376fd4b23a7a0a1341e14" + integrity sha512-MTxutBJZvqNNqrrS0722cI7qrnGu0yUQpIebmTxYwI+F3cOnPEKf5Ni+hrA8hKcw4XJhSY4npAPPYu1zJbOV4w== + +"@chakra-ui/live-region@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/live-region/-/live-region-2.0.10.tgz#d33a784c85feed7ba96e2579553ca1d20c965171" + integrity sha512-eQ2ZIreR/plzi/KGszDYTi1TvIyGEBcPiWP52BQOS7xwpzb1vsoR1FgFAIELxAGJvKnMUs+9qVogfyRBX8PdOg== + +"@chakra-ui/media-query@3.2.7": + version "3.2.7" + resolved "https://registry.yarnpkg.com/@chakra-ui/media-query/-/media-query-3.2.7.tgz#ece5b2181136145305bf5e6ec82c696ef1d59a77" + integrity sha512-hbgm6JCe0kYU3PAhxASYYDopFQI26cW9kZnbp+5tRL1fykkVWNMPwoGC8FEZPur9JjXp7aoL6H4Jk7nrxY/XWw== dependencies: - "@chakra-ui/utils" "1.10.4" - react-focus-lock "2.5.2" + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/react-env" "2.0.10" -"@chakra-ui/form-control@1.6.0": - version "1.6.0" - resolved "https://registry.yarnpkg.com/@chakra-ui/form-control/-/form-control-1.6.0.tgz#a2a7b82a385f75fababf3947d39e227b4d073929" - integrity sha512-MtUE98aocP2QTgvyyJ/ABuG33mhT3Ox56phKreG3HzbUKByMwrbQSm1QcAgyYdqSZ9eKB2tXx+qgGNh+avAfDA== +"@chakra-ui/menu@2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/menu/-/menu-2.1.2.tgz#bbe39e1efdb408ba8e6616e0ec290417474f9454" + integrity sha512-6Z7ecXjp6BtZ1ExbFggfxsAj1hwtcathXekmCTxHpXOD+BdjAC/13+oLclwXeuBO85aoTmQrQ2ovfTkO31bzRQ== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-outside-click" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/modal@2.2.2": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/modal/-/modal-2.2.2.tgz#bf3ef2673a8641a5c851faceb7811e0c0f323517" + integrity sha512-cCYuqLZO4QqFUI1H+uEqixDk6UiCP3yC+sxkhFTXHIApSG9Z44v5np7BVTd6LKdmAN8pAWcc8Oxf14RvD6LWLw== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/focus-lock" "2.0.12" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + +"@chakra-ui/number-input@2.0.12": + version "2.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/number-input/-/number-input-2.0.12.tgz#90a8408e6abb2d021793888ef2119d01761d7614" + integrity sha512-3owLjl01sCYpTd3xbq//fJo9QJ0Q3PVYSx9JeOzlXnnTW8ws+yHPrqQzPe7G+tO4yOYynWuUT+NJ9oyCeAJIxA== + dependencies: + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-interval" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/number-utils@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/number-utils/-/number-utils-2.0.4.tgz#0331be05956f2c03125c073d35655e261e267cd4" + integrity sha512-MdYd29GboBoKaXY9jhbY0Wl+0NxG1t/fa32ZSIbU6VrfMsZuAMl4NEJsz7Xvhy50fummLdKn5J6HFS7o5iyIgw== + +"@chakra-ui/object-utils@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/object-utils/-/object-utils-2.0.4.tgz#d890ce285103a5e9b993f016a4fb38307aa55ac0" + integrity sha512-sY98L4v2wcjpwRX8GCXqT+WzpL0i5FHVxT1Okxw0360T2tGnZt7toAwpMfIOR3dzkemP9LfXMCyBmWR5Hi2zpQ== + +"@chakra-ui/pin-input@2.0.15": + version "2.0.15" + resolved "https://registry.yarnpkg.com/@chakra-ui/pin-input/-/pin-input-2.0.15.tgz#08e65c5e8468cef6192634a53859169b51c2c4a7" + integrity sha512-Ha8siSZm9gyjHHBK8ejwhKT6+75U12I/hNiYFvl2JHhc+Uh8tdi7+N+9SILO5vqbIv9kb+WGitvZ67I0cHjSfw== dependencies: - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/icon" "2.0.5" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/hooks@1.9.1": - version "1.9.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/hooks/-/hooks-1.9.1.tgz#7a00659e6bb4d56cf56022071eca0b77a7df1ac1" - integrity sha512-SEeh1alDKzrP9gMLWMnXOUDBQDKF/URL6iTmkumTn6vhawWNla6sPrcMyoCzWdMzwUhZp3QNtCKbUm7dxBXvPw== +"@chakra-ui/popover@2.1.1": + version "2.1.1" + resolved "https://registry.yarnpkg.com/@chakra-ui/popover/-/popover-2.1.1.tgz#1b5e05e334ba5f9bce4bc5bcabfb92563393fc84" + integrity sha512-j09NsesfT+eaYITkITYJXDlRcPoOeQUM80neJZKOBgul2iHkVsEoii8dwS5Ip5ONeu4ane1b6zEOlYvYj2SrkA== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popper@3.0.8": + version "3.0.8" + resolved "https://registry.yarnpkg.com/@chakra-ui/popper/-/popper-3.0.8.tgz#89b6984aee405316974dbb70ba451f85832bf44e" + integrity sha512-246eUwuCRsLpTPxn5T8D8T9/6ODqmmz6pRRJAjGnLlUB0gNHgjisBn0UDBic5Gbxcg0sqKvxOMY3uurbW5lXTA== dependencies: - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" - compute-scroll-into-view "1.0.14" - copy-to-clipboard "3.3.1" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@popperjs/core" "^2.9.3" -"@chakra-ui/icon@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@chakra-ui/icon/-/icon-2.0.5.tgz#d57f53e6a2c7ae1bae7292a1778fd466c02e2e29" - integrity sha512-ZrqRvCCIxGr4qFd/r1pmtd9tobRmv8KAxV7ygFoc/t4vOSKTcVIjhE12gsI3FzgvXM15ZFVwsxa1zodwgo5neQ== +"@chakra-ui/portal@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/portal/-/portal-2.0.10.tgz#8ac21131cb0666a0bf6565468b3f7e799ef3bc8d" + integrity sha512-VRYvVAggIuqIZ3IQ6XZ1b5ujjjOUgPk9PPdc9jssUngZa7RG+5NXNhgoM8a5TsXv6aPEolBOlDNWuxzRQ4RSSg== dependencies: - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" -"@chakra-ui/image@1.1.10": - version "1.1.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/image/-/image-1.1.10.tgz#65bae4086559937d25c728660ae743bce9360cb2" - integrity sha512-PJZmhQ/R1PgdMyCRjALfoyq1FNh/WzMAw70sliHLtLcb9hBXniwQZuckYfUshCkUoFBj/ow9d4byn9Culdpk7Q== +"@chakra-ui/progress@2.0.12": + version "2.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/progress/-/progress-2.0.12.tgz#7ce57fe2822d1741c26e82960ca02c667a265a05" + integrity sha512-9qtZimZosTliI7siAZkLeCVdCpXCTxmSETCudHcCUsC+FtcFacmA65+We8qij1nOIqmsbm+NYU6PP89TU2n4Hg== dependencies: - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/input@1.4.6": - version "1.4.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/input/-/input-1.4.6.tgz#455f24e7a3f401ef10b50b68d9b0537676fbfec5" - integrity sha512-Ljy/NbOhh9cNQxKTWQRsT4aQiXs2vVya+Cj5NpMAz08NFFjPZovsTawhI7m6ejT5Vsh76QYjh2rOLLI3fWqQQw== +"@chakra-ui/provider@2.0.20": + version "2.0.20" + resolved "https://registry.yarnpkg.com/@chakra-ui/provider/-/provider-2.0.20.tgz#2f3f73f6142f4d2b2a5a8ad6dbd777a3fc4390ce" + integrity sha512-mNNfsgm05G4x1VzvHVR9+PNEiuxNnn9xUKDuEwoaO7+IHCMzCRMtPbSJjwmv0xvHUGB9+JChjPpZI5RuHQziJQ== dependencies: - "@chakra-ui/form-control" "1.6.0" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/utils" "2.0.11" -"@chakra-ui/layout@1.8.0": - version "1.8.0" - resolved "https://registry.yarnpkg.com/@chakra-ui/layout/-/layout-1.8.0.tgz#f95e78168644b45ac7327e4e0cfb1f0e6f7c3b4d" - integrity sha512-GJtEKez5AZu0XQTxI6a6jwA/hMDD36pP0HBxBOGuHP1hWCebDzMjraiMfWiP9w7hKERFE4j19kocHxIXyocfJA== +"@chakra-ui/radio@2.0.12": + version "2.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/radio/-/radio-2.0.12.tgz#d89eb463df0247a0e634cff1fb9ca755bcbab825" + integrity sha512-871hqAGQaufxyUzPP3aautPBIRZQmpi3fw5XPZ6SbY62dV61M4sjcttd46HfCf5SrAonoOADFQLMGQafznjhaA== dependencies: - "@chakra-ui/icon" "2.0.5" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@zag-js/focus-visible" "0.1.0" -"@chakra-ui/live-region@1.1.6": - version "1.1.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/live-region/-/live-region-1.1.6.tgz#135461a19ae2d479eefb012376ffa0f500b83b16" - integrity sha512-9gPQHXf7oW0jXyT5R/JzyDMfJ3hF70TqhN8bRH4fMyfNr2Se+SjztMBqCrv5FS5rPjcCeua+e0eArpoB3ROuWQ== +"@chakra-ui/react-children-utils@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-children-utils/-/react-children-utils-2.0.3.tgz#406b984c653befd6c99636fcefb55bd01d436a7d" + integrity sha512-tPQjLEEuAw/DYLRw0cNs/g8tcdhZ3r21Sr9dTAzoyvfk0vbZ24gCXRElltW2GZLiFA63mAidzhPmc+yQF3Wtgg== + +"@chakra-ui/react-context@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-context/-/react-context-2.0.4.tgz#1b6ab260d44d9073c95b975b7d1643f011e65e02" + integrity sha512-eBITFkf7fLSiMZrSdhweK4fYr41WUNMEeIEOP2dCWolE7WgKxNYaYleC+iRGY0GeXkFM2KYywUtixjJe29NuVA== + +"@chakra-ui/react-env@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-env/-/react-env-2.0.10.tgz#2eaa4ba64a14ecd2d279c32d5edfef7a6b5de3e8" + integrity sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA== + +"@chakra-ui/react-types@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" + integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== + +"@chakra-ui/react-use-animation-state@2.0.5": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.5.tgz#f022baf0103c35aa494227b041422e7d2401b0d4" + integrity sha512-8gZIqZpMS5yTGlC+IqYoSrV13joiAYoeI0YR2t68WuDagcZ459OrjE57+gF04NLxfdV7eUgwqnpuv7IOLbJX/A== dependencies: - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" -"@chakra-ui/media-query@2.0.4": +"@chakra-ui/react-use-callback-ref@2.0.4": version "2.0.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/media-query/-/media-query-2.0.4.tgz#25e8074a19613d4ccce880a1f92c8e733708b079" - integrity sha512-kn6g/L0IFFUHz2v4yiCsBnhg9jUeA7525Z+AWl+BPtvryi7i9J+AJ27y/QAge7vUGy4dwDeFyxOZTs2oZ9/BsA== - dependencies: - "@chakra-ui/react-env" "1.1.6" - "@chakra-ui/utils" "1.10.4" - -"@chakra-ui/menu@1.8.12": - version "1.8.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/menu/-/menu-1.8.12.tgz#98f9cbccfc8fbaaea1f19dcea16ffb96a25eb01f" - integrity sha512-X/s74VpOReQW4fCRCa21f/VOe++cXhPz2Sh7pDjtaT3zmKjrJwgk1Kw75cXfNX1eke6hf/wZ0FGweu/m7+C3OA== - dependencies: - "@chakra-ui/clickable" "1.2.6" - "@chakra-ui/descendant" "2.1.4" - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/popper" "2.4.3" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/transition" "1.4.8" - "@chakra-ui/utils" "1.10.4" - -"@chakra-ui/modal@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/modal/-/modal-1.11.1.tgz#fedd757726cbc7ec3b614e1b0c7b46c7244f988e" - integrity sha512-B2BBDonHb04vbPLAWgko1JYBwgW8ZNSLyhTJK+rbrCsRSgazuLTcwq4hdyJqrYNWtaQEfSwpAXqJ7joMZdv59A== - dependencies: - "@chakra-ui/close-button" "1.2.7" - "@chakra-ui/focus-lock" "1.2.6" - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/portal" "1.3.10" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/transition" "1.4.8" - "@chakra-ui/utils" "1.10.4" - aria-hidden "^1.1.1" - react-remove-scroll "2.4.1" - -"@chakra-ui/number-input@1.4.7": - version "1.4.7" - resolved "https://registry.yarnpkg.com/@chakra-ui/number-input/-/number-input-1.4.7.tgz#9d150c20a7d301e2ffe600251e68d9b6f70fcce0" - integrity sha512-LorGRZFMipom8vCUEbLi2s7bTHF2Fgiu766W0jTbzMje+8Z1ZoRQunH9OZWQnxnWQTUfUM2KBW8KwToYh1ojfQ== - dependencies: - "@chakra-ui/counter" "1.2.10" - "@chakra-ui/form-control" "1.6.0" - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/icon" "2.0.5" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" - -"@chakra-ui/pin-input@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/pin-input/-/pin-input-1.7.11.tgz#d2bdfc29b10293efae35f6b35203d05b57ab29c3" - integrity sha512-KEVUHHmf22tI4F7gzT9+pHi4E5cCyte6M8rPEwRyuc0kUBo48D8OW0BJwGdESWOKMkQXazDF6Zg4o32t45tbpg== - dependencies: - "@chakra-ui/descendant" "2.1.4" - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" - -"@chakra-ui/popover@1.11.9": - version "1.11.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/popover/-/popover-1.11.9.tgz#283a52c969f27ee7119774c255b786af6c9b2766" - integrity sha512-hJ1/Lwukox3ryTN7W1wnj+nE44utfLwQYvfUSdatt5dznnh8k0P6Wx7Hmjm1cYffRavBhqzwua/QZDWjJN9N0g== - dependencies: - "@chakra-ui/close-button" "1.2.7" - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/popper" "2.4.3" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" - -"@chakra-ui/popper@2.4.3": - version "2.4.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/popper/-/popper-2.4.3.tgz#fcdc917d13a56b9d44868c78a009e4dd692697a2" - integrity sha512-TGzFnYt3mtIVkIejtYIAu4Ka9DaYLzMR4NgcqI6EtaTvgK7Xep+6RTiY/Nq+ZT3l/eaNUwqHRFoNrDUg1XYasA== + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.4.tgz#5099ef1df4413af42e434945f541de99394ec96f" + integrity sha512-he7EQfwMA4mwiDDKvX7cHIJaboCqf7UD3KYHGUcIjsF4dSc2Y8X5Ze4w+hmVZoJWIe4DWUzb3ili2SUm8eTgPg== + +"@chakra-ui/react-use-controllable-state@2.0.5": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.5.tgz#5ef9f600ae134a2a37fe080fd6231bbed83544bb" + integrity sha512-JrZZpMX24CUyfDuyqDczw9Z9IMvjH8ujETHK0Zu4M0SIsX/q4EqOwwngUFL03I2gx/O38HfSdeX8hMu4zbTAGA== dependencies: - "@chakra-ui/react-utils" "1.2.3" - "@popperjs/core" "^2.9.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/portal@1.3.10": - version "1.3.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/portal/-/portal-1.3.10.tgz#d85b2cf1a8b3e2eca260d8e3ad485da0ee29856b" - integrity sha512-t2KQ6MXbyf1qFYxWw/bs//CnwD+Clq7mbsP1Y7g+THCz2FvlLlMj45BWocLB30NoNyA8WCS2zyMBszW2/qvDiA== +"@chakra-ui/react-use-disclosure@2.0.5": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.5.tgz#bb52340f0e7d614cc95819bd21cffd050783f96c" + integrity sha512-kPLB9oxImASRhAbKfvfc03/lbAJbsXndEVRzd+nvvL+QZm2RRfnel3k6OIkWvGFOXXYOPE2+slLe8ZPwbTGg9g== dependencies: - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/progress@1.2.6": - version "1.2.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/progress/-/progress-1.2.6.tgz#4a3a40e826c8c72160d3c8ff411e86244e280ebc" - integrity sha512-thaHRIYTVktgV78vJMNwzfCX+ickhSpn2bun6FtGVUphFx4tjV+ggz+IGohm6AH2hapskoR1mQU2iNZb6BK0hQ== +"@chakra-ui/react-use-event-listener@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.4.tgz#3f893def57a7b10db6c355740dd1e82cd3216259" + integrity sha512-VqmalfKWMO8D21XuZO19WUtcP5xhbHXKzkggApTChZUN02UC5TC4pe0pYbDygoeUuNBhY+9lJKHeS08vYsljRg== dependencies: - "@chakra-ui/theme-tools" "1.3.6" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/provider@1.7.14": - version "1.7.14" - resolved "https://registry.yarnpkg.com/@chakra-ui/provider/-/provider-1.7.14.tgz#74d19e3066ab02f2c14fa32d22dc12f8367b56f7" - integrity sha512-FCA33CZy/jFzExglKMioeri8sr9NtDTcNVPnx95ZJiA7WpfFo0xuZ6/fMC4DwIQPkJKbSIZBXYLZ3U10Ntylrw== +"@chakra-ui/react-use-focus-effect@2.0.5": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.5.tgz#b554277c38e84468b019e08a73579e9700e1003a" + integrity sha512-sbe1QnsXXfjukM+laxbKnT0UnMpHe/7kTzEPG/BYM6/ZDUUmrC1Nz+8l+3H/52iWIaruikDBdif/Xd37Yvu3Kg== dependencies: - "@chakra-ui/css-reset" "1.1.3" - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/portal" "1.3.10" - "@chakra-ui/react-env" "1.1.6" - "@chakra-ui/system" "1.12.1" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" -"@chakra-ui/radio@1.5.1": - version "1.5.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/radio/-/radio-1.5.1.tgz#d2b691fde944c20eb594873f72eb61dfb84b15da" - integrity sha512-zO5eShz+j68A7935jJ2q5u3brX/bjPEGh9Pj2+bnKbmC9Vva6jEzBSJsAx9n4WbkAzR3xDMGWsbpivFp8X1tJw== +"@chakra-ui/react-use-focus-on-pointer-down@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.3.tgz#8b605063c9e707a18b021fbcaed8919c8660d1ed" + integrity sha512-8cKmpv26JnblexNaekWxEDI7M+MZnJcp1PJUz6lByjfQ1m4YjFr1cdbdhG4moaqzzYs7vTmO/qL8KVq8ZLUwyQ== dependencies: - "@chakra-ui/form-control" "1.6.0" - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" - "@chakra-ui/visually-hidden" "1.1.6" + "@chakra-ui/react-use-event-listener" "2.0.4" -"@chakra-ui/react-env@1.1.6": - version "1.1.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-env/-/react-env-1.1.6.tgz#9915b02fd1f8ca62ccf578eaec793f1c4dea78b0" - integrity sha512-L90LNvCfe04FTkN9OPok/o2e60zLJNBH8Im/5dUHvqy7dXLXok8ZDad5vEL46XmGbhe7O8fbxhG6FmAYdcCHrQ== +"@chakra-ui/react-use-interval@2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-interval/-/react-use-interval-2.0.2.tgz#6d1d5d5b5c5604ee2ea47f1e140e6eaf6e885df5" + integrity sha512-5U1c0pEB5n0Yri0E4RdFXWx2RVBZBBhD8Uu49dM33jkIguCbIPmZ+YgVry5DDzCHyz4RgDg4yZKOPK0PI8lEUg== dependencies: - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/react-utils@1.2.3", "@chakra-ui/react-utils@^1.2.3": - version "1.2.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-utils/-/react-utils-1.2.3.tgz#3356c9299bc8faada8fac6c5886ca65ec95bb5be" - integrity sha512-r8pUwCVVB7UPhb0AiRa9ZzSp4xkMz64yIeJ4O4aGy4WMw7TRH4j4QkbkE1YC9tQitrXrliOlvx4WWJR4VyiGpw== - dependencies: - "@chakra-ui/utils" "^1.10.4" - -"@chakra-ui/react@1.8.9": - version "1.8.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/react/-/react-1.8.9.tgz#1d5a9ed2ce4958d1a006fb192f8a974440c89242" - integrity sha512-NfR5XKVqEWhchFLiWaTWkWeYZJK1SNF2O6sQxFVrX6M+nAgJ3Q9tfMk6/I3II+xc4hXJUcYmUvmw37vT92yMaQ== - dependencies: - "@chakra-ui/accordion" "1.4.12" - "@chakra-ui/alert" "1.3.7" - "@chakra-ui/avatar" "1.3.11" - "@chakra-ui/breadcrumb" "1.3.6" - "@chakra-ui/button" "1.5.10" - "@chakra-ui/checkbox" "1.7.1" - "@chakra-ui/close-button" "1.2.7" - "@chakra-ui/control-box" "1.1.6" - "@chakra-ui/counter" "1.2.10" - "@chakra-ui/css-reset" "1.1.3" - "@chakra-ui/editable" "1.4.2" - "@chakra-ui/form-control" "1.6.0" - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/icon" "2.0.5" - "@chakra-ui/image" "1.1.10" - "@chakra-ui/input" "1.4.6" - "@chakra-ui/layout" "1.8.0" - "@chakra-ui/live-region" "1.1.6" - "@chakra-ui/media-query" "2.0.4" - "@chakra-ui/menu" "1.8.12" - "@chakra-ui/modal" "1.11.1" - "@chakra-ui/number-input" "1.4.7" - "@chakra-ui/pin-input" "1.7.11" - "@chakra-ui/popover" "1.11.9" - "@chakra-ui/popper" "2.4.3" - "@chakra-ui/portal" "1.3.10" - "@chakra-ui/progress" "1.2.6" - "@chakra-ui/provider" "1.7.14" - "@chakra-ui/radio" "1.5.1" - "@chakra-ui/react-env" "1.1.6" - "@chakra-ui/select" "1.2.11" - "@chakra-ui/skeleton" "1.2.14" - "@chakra-ui/slider" "1.5.11" - "@chakra-ui/spinner" "1.2.6" - "@chakra-ui/stat" "1.2.7" - "@chakra-ui/switch" "1.3.10" - "@chakra-ui/system" "1.12.1" - "@chakra-ui/table" "1.3.6" - "@chakra-ui/tabs" "1.6.11" - "@chakra-ui/tag" "1.2.7" - "@chakra-ui/textarea" "1.2.11" - "@chakra-ui/theme" "1.14.1" - "@chakra-ui/toast" "1.5.9" - "@chakra-ui/tooltip" "1.5.1" - "@chakra-ui/transition" "1.4.8" - "@chakra-ui/utils" "1.10.4" - "@chakra-ui/visually-hidden" "1.1.6" - -"@chakra-ui/select@1.2.11": - version "1.2.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/select/-/select-1.2.11.tgz#7762f2b7974a4587b4eb9536eb93b2295381aa9f" - integrity sha512-6Tis1+ZrRjQeWhQfziQn3ZdPphV5ccafpZOhiPdTcM2J1XcXOlII+9rHxvaW+jx7zQ5ly5o8kd7iXzalDgl5wA== - dependencies: - "@chakra-ui/form-control" "1.6.0" - "@chakra-ui/utils" "1.10.4" - -"@chakra-ui/skeleton@1.2.14": - version "1.2.14" - resolved "https://registry.yarnpkg.com/@chakra-ui/skeleton/-/skeleton-1.2.14.tgz#c2028b03a975c76b13aaecdbbe168872079177b8" - integrity sha512-R0v4DfQ2yjXCJf9SzhTmDb2PLx5//LxsRbjjgRa8qJCR4MZaGswPrekp4dP8YjY8aEYzuZbvHU12T3vqZBk2GA== - dependencies: - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/media-query" "2.0.4" - "@chakra-ui/system" "1.12.1" - "@chakra-ui/utils" "1.10.4" - -"@chakra-ui/slider@1.5.11": - version "1.5.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/slider/-/slider-1.5.11.tgz#e03585188547dad3dafdb4a4cbd64bfbf8a4025b" - integrity sha512-THkGU2BsA6XMosXcEVQkWVRftqUIAKCb+y4iEpR3C2ztqL7Fl/CbIGwyr5majhPhKc275rb8dfxwp8R0L0ZIiQ== - dependencies: - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" - -"@chakra-ui/spinner@1.2.6": - version "1.2.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/spinner/-/spinner-1.2.6.tgz#d85fb3d763a69d40570b591507c5087dba38e6c4" - integrity sha512-GoUCccN120fGRVgUtfuwcEjeoaxffB+XsgpxX7jhWloXf8b6lkqm68bsxX4Ybb2vGN1fANI98/45JmrnddZO/A== +"@chakra-ui/react-use-latest-ref@2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.2.tgz#4895d3ae2dc93a660ed86aaec7021b729830d3d2" + integrity sha512-Ra/NMV+DSQ3n0AdKsyIqdgnFzls5UntabtIRfDXLrqmJ4tI0a1tDdop2qop0Ue87AcqD9P1KtQue4KPx7wCElw== + +"@chakra-ui/react-use-merge-refs@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.4.tgz#c23f10fda1d3a6327a48708a8a7ad4b62ba918d3" + integrity sha512-aoWvtE5tDQNaLCiNUI6WV+MA2zVcCLR5mHSCISmowlTXyXOqOU5Fo9ZoUftzrmgCJpDu5x1jfUOivxuHUueb0g== + +"@chakra-ui/react-use-outside-click@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.4.tgz#977d873cfedec615c8e3acd48fca7b094b464b6e" + integrity sha512-uerJKS8dqg2kHs1xozA5vcCqW0UInuwrfCPb+rDWBTpu7aEqxABMw9W3e4gfOABrAjhKz2I0a/bu2i8zbVwdLw== dependencies: - "@chakra-ui/utils" "1.10.4" - "@chakra-ui/visually-hidden" "1.1.6" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/stat@1.2.7": - version "1.2.7" - resolved "https://registry.yarnpkg.com/@chakra-ui/stat/-/stat-1.2.7.tgz#e173171d80f9e756966604e620987bbd7590d291" - integrity sha512-m76jumFW1N+mCG4ytrUz9Mh09nZtS4OQcADEvOslfdI5StwwuzasTA1tueaelPzdhBioMwFUWL05Fr1fXbPJ/Q== +"@chakra-ui/react-use-pan-event@2.0.5": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.5.tgz#9269d4b798d1447e18b00ee0b28fa52c5c8efb26" + integrity sha512-nhE3b85++EEmBD2v6m46TLoA4LehSCZ349P8kvEjw/RC0K6XDOZndaBucIeAlnpEENSSUpczFfMSOLxSHdu0oA== dependencies: - "@chakra-ui/icon" "2.0.5" - "@chakra-ui/utils" "1.10.4" - "@chakra-ui/visually-hidden" "1.1.6" + "@chakra-ui/event-utils" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + framesync "5.3.0" -"@chakra-ui/styled-system@1.19.0": - version "1.19.0" - resolved "https://registry.yarnpkg.com/@chakra-ui/styled-system/-/styled-system-1.19.0.tgz#102fadaefc1a2dfd8e0c4837eafa660531a08419" - integrity sha512-z+bMfWs6jQGkpgarge1kmk78DuDhJIXRUMyRqZ3+CiIkze88bIIsww6mV2i8tEfUfTAvALeMnlYZ1DYsHsTTJw== +"@chakra-ui/react-use-previous@2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-previous/-/react-use-previous-2.0.2.tgz#1091ae8abc2082ab504e3742f8b1d75409ae7b27" + integrity sha512-ap/teLRPKopaHYD80fnf0TR/NpTWHJO5VdKg6sPyF1y5ediYLAzPT1G2OqMCj4QfJsYDctioT142URDYe0Nn7w== + +"@chakra-ui/react-use-safe-layout-effect@2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.2.tgz#31088eeb4b2a6910251683ddb15fb855d6127adf" + integrity sha512-gl5HDq9RVeDJiT8udtpx12KRV8JPLJHDIUX8f/yZcKpXow0C7FFGg5Yy5I9397NQog5ZjKMuOg+AUq9TLJxsyQ== + +"@chakra-ui/react-use-size@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-size/-/react-use-size-2.0.4.tgz#3634782f8dab6aa2a37699188afa89251cbae8f3" + integrity sha512-W6rgTLuoSC4ovZtqYco8cG+yBadH3bhlg92T5lgpKDakSDr0mXcZdbGx6g0AOkgxXm0V1jWNGO1743wudtF7ew== dependencies: - "@chakra-ui/utils" "1.10.4" - csstype "3.0.9" + "@zag-js/element-size" "0.1.0" -"@chakra-ui/switch@1.3.10": - version "1.3.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/switch/-/switch-1.3.10.tgz#6b0a3f199e6e654dbab6e01ccc762e1b29611c62" - integrity sha512-V6qDLY6oECCbPyu7alWWOAhSBI4+SAuT6XW/zEQbelkwuUOiGO1ax67rTXOmZ59A2AaV1gqQFxDh8AcbvwO5XQ== +"@chakra-ui/react-use-timeout@2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.2.tgz#f1378de0d5e01f7aee60d5b9ec3205e1fc7d2fc4" + integrity sha512-n6zb3OmxtDmRMxYkDgILqKh15aDOa8jNLHBlqHzmlL6mEGNKmMFPW9j/KvpAqSgKjUTDRnnXcpneprTMKy/yrw== dependencies: - "@chakra-ui/checkbox" "1.7.1" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-update-effect@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.4.tgz#522bc58b943fffe540a91f7a096d42e4a91b9748" + integrity sha512-F/I9LVnGAQyvww+x7tQb47wCwjhMYjpxtM1dTg1U3oCEXY0yF1Ts3NJLUAlsr3nAW6epJIwWx61niC7KWpam1w== -"@chakra-ui/system@1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/system/-/system-1.12.1.tgz#608655ef3f7cb82eedd8f20d2546458d90d77cce" - integrity sha512-Rp09/rMuPA3hF38OJxeQciGO9N0Ie1GxwHRAw1AFA/TY3fVyK9pNI5oN+J/1cAxq7v9yKdIr1YfnruJTI9xfEg== +"@chakra-ui/react-utils@2.0.8": + version "2.0.8" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-utils/-/react-utils-2.0.8.tgz#1db4e920386f4afbf44fe9dd8aaaf6f22eefb371" + integrity sha512-OSHHBKZlJWTi2NZcPnBx1PyZvLQY+n5RPBtcri7/89EDdAwz2NdEhp2Dz1yQRctOSCF1kB/rnCYDP1U0oRk9RQ== dependencies: - "@chakra-ui/color-mode" "1.4.8" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/styled-system" "1.19.0" - "@chakra-ui/utils" "1.10.4" - react-fast-compare "3.2.0" + "@chakra-ui/utils" "2.0.11" -"@chakra-ui/table@1.3.6": - version "1.3.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/table/-/table-1.3.6.tgz#e271676dc03cd4c684e4041df2cf394d86a28510" - integrity sha512-7agZAgAeDFKviqStvixqnLAH54+setzhx67EztioZTr5Xu+6hQ4rotfJbu8L4i587pcbNg98kCEXEkidjw0XRQ== +"@chakra-ui/react@^2.3.6": + version "2.3.6" + resolved "https://registry.yarnpkg.com/@chakra-ui/react/-/react-2.3.6.tgz#a6d3e092cab433fcd9cf8e9876756818c4261df6" + integrity sha512-xo43UU+yMqRGHZLU4fSgzojeRl5stlIfT+GLbT9CUVEm0HMJCt2m8RsNPBvGOMzANdC+bzwSiOm+MNzQBi9IBQ== + dependencies: + "@chakra-ui/accordion" "2.1.2" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/avatar" "2.2.0" + "@chakra-ui/breadcrumb" "2.1.0" + "@chakra-ui/button" "2.0.11" + "@chakra-ui/checkbox" "2.2.2" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/control-box" "2.0.10" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/editable" "2.0.13" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/hooks" "2.1.0" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/input" "2.0.12" + "@chakra-ui/layout" "2.1.9" + "@chakra-ui/live-region" "2.0.10" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/menu" "2.1.2" + "@chakra-ui/modal" "2.2.2" + "@chakra-ui/number-input" "2.0.12" + "@chakra-ui/pin-input" "2.0.15" + "@chakra-ui/popover" "2.1.1" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/progress" "2.0.12" + "@chakra-ui/provider" "2.0.20" + "@chakra-ui/radio" "2.0.12" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/select" "2.0.12" + "@chakra-ui/skeleton" "2.0.17" + "@chakra-ui/slider" "2.0.12" + "@chakra-ui/spinner" "2.0.10" + "@chakra-ui/stat" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/switch" "2.0.14" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/table" "2.0.11" + "@chakra-ui/tabs" "2.1.4" + "@chakra-ui/tag" "2.0.11" + "@chakra-ui/textarea" "2.0.12" + "@chakra-ui/theme" "2.1.14" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/toast" "4.0.0" + "@chakra-ui/tooltip" "2.2.0" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/visually-hidden" "2.0.11" + +"@chakra-ui/select@2.0.12": + version "2.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/select/-/select-2.0.12.tgz#9b485e6a28c9aa468bc1c0d8a78aabd985b0c370" + integrity sha512-NCDMb0w48GYCHmazVSQ7/ysEpbnri+Up6n+v7yytf6g43TPRkikvK5CsVgLnAEj0lIdCJhWXTcZer5wG5KOEgA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/shared-utils@2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/shared-utils/-/shared-utils-2.0.2.tgz#1df08133194c12ac4df9302604ec37784c2bb026" + integrity sha512-wC58Fh6wCnFFQyiebVZ0NI7PFW9+Vch0QE6qN7iR+bLseOzQY9miYuzPJ1kMYiFd6QTOmPJkI39M3wHqrPYiOg== + +"@chakra-ui/skeleton@2.0.17": + version "2.0.17" + resolved "https://registry.yarnpkg.com/@chakra-ui/skeleton/-/skeleton-2.0.17.tgz#737e08f771980f5b73060dc6c940691e7759d044" + integrity sha512-dL7viXEKDEzmAJGbHMj+QbGl9PAd0VWztEcWcz5wOGfmAcJllA0lVh6NmG/yqLb6iXPCX4Y1Y0Yurm459TEYWg== + dependencies: + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/react-use-previous" "2.0.2" + +"@chakra-ui/slider@2.0.12": + version "2.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/slider/-/slider-2.0.12.tgz#42fc5fe385c507276da29f4aa49a6408ee853978" + integrity sha512-Cna04J7e4+F3tJNb7tRNfPP+koicbDsKJBp+f1NpR32JbRzIfrf2Vdr4hfD5/uOfC4RGxnVInNZzZLGBelLtLw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-pan-event" "2.0.5" + "@chakra-ui/react-use-size" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/spinner@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/spinner/-/spinner-2.0.10.tgz#f8b1b6f1c8f45e3aeab44d5ab1f1debc71e52573" + integrity sha512-SwId1xPaaFAaEYrR9eHkQHAuB66CbxwjWaQonEjeEUSh9ecxkd5WbXlsQSyf2hVRIqXJg0m3HIYblcKUsQt9Rw== + +"@chakra-ui/stat@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/stat/-/stat-2.0.11.tgz#0c052aee68486a892e09e802bb569dc984e31eae" + integrity sha512-ZPFK2fKufDSHD8bp/KhO3jLgW/b3PzdG4zV+7iTO7OYjxm5pkBfBAeMqfXGx4cl51rtWUKzsY0HV4vLLjcSjHw== dependencies: - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/tabs@1.6.11": - version "1.6.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/tabs/-/tabs-1.6.11.tgz#9f3f04f764cec4033711719b1bba8545038ac386" - integrity sha512-hGs2REEVVWyfgs+qEkPiUsNnqwv3QwXfKYyXaMnGS7CCkGgUiEvIO7n9968/KGnGbM4GuEHX+BxG2suIUf24yg== +"@chakra-ui/styled-system@2.3.4": + version "2.3.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/styled-system/-/styled-system-2.3.4.tgz#6022c5a675b54a69b1d3c2d3e60258901dc7b82a" + integrity sha512-Lozbedu+GBj4EbHB/eGv475SFDLApsIEN9gNKiZJBJAE1HIhHn3Seh1iZQSrHC/Beq+D5cQq3Z+yPn3bXtFU7w== dependencies: - "@chakra-ui/clickable" "1.2.6" - "@chakra-ui/descendant" "2.1.4" - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" + csstype "^3.0.11" + lodash.mergewith "4.6.2" -"@chakra-ui/tag@1.2.7": - version "1.2.7" - resolved "https://registry.yarnpkg.com/@chakra-ui/tag/-/tag-1.2.7.tgz#5861a92e83e63825f6fe563921d2704e921b585f" - integrity sha512-RKrKOol4i/CnpFfo3T9LMm1abaqM+5Bs0soQLbo1iJBbBACY09sWXrQYvveQ2GYzU/OrAUloHqqmKjyVGOlNtg== +"@chakra-ui/switch@2.0.14": + version "2.0.14" + resolved "https://registry.yarnpkg.com/@chakra-ui/switch/-/switch-2.0.14.tgz#62372355bf73c19896b39fb7e75c132333c5a882" + integrity sha512-6lzhCkJq7vbD3yGaorGLp0ZZU4ewdKwAu0e62qR8TfYZwbcbpkXbBKloIHbA2XKOduISzS2WYqjmoP6jSKIxrA== dependencies: - "@chakra-ui/icon" "2.0.5" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/checkbox" "2.2.2" + +"@chakra-ui/system@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@chakra-ui/system/-/system-2.3.0.tgz#b7ba122872d4d48806fbf994f1187680ae2296a6" + integrity sha512-BxikahglBI0uU8FE3anEorDTU5oKTUuBIEKVcQrEVnrbNuRJEy1OVYyCNXfqW3MpruRO9ypYV2bWt02AZZWEaQ== + dependencies: + "@chakra-ui/color-mode" "2.1.9" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/utils" "2.0.11" + react-fast-compare "3.2.0" -"@chakra-ui/textarea@1.2.11": - version "1.2.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/textarea/-/textarea-1.2.11.tgz#24209862cf9227d79228222b7cff2c50f7ff0add" - integrity sha512-RDWbMyC87/AFRX98EnVum5eig/7hhcvS1BrqW5lvmTgrpr7KVr80Dfa8hUj58Iq37Z7AqZijDPkBn/zg7bPdIg== +"@chakra-ui/table@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/table/-/table-2.0.11.tgz#9bd25d5383c94982b89e792675bc1d1f667f81f3" + integrity sha512-zQTiqPKEgjdeO/PG0FByn0fH4sPF7dLJF+YszrIzDc6wvpD96iY6MYLeV+CSelbH1g0/uibcJ10PSaFStfGUZg== dependencies: - "@chakra-ui/form-control" "1.6.0" - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/theme-tools@1.3.6", "@chakra-ui/theme-tools@^1.3.6": - version "1.3.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/theme-tools/-/theme-tools-1.3.6.tgz#2e5b5c192efd685c158e940a5cedcb0eb51f8602" - integrity sha512-Wxz3XSJhPCU6OwCHEyH44EegEDQHwvlsx+KDkUDGevOjUU88YuNqOVkKtgTpgMLNQcsrYZ93oPWZUJqqCVNRew== +"@chakra-ui/tabs@2.1.4": + version "2.1.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/tabs/-/tabs-2.1.4.tgz#38d9748ce2cfa583a123c0f695ea1cbce1a6bd42" + integrity sha512-/CQGj1lC9lvruT5BCYZH6Ok64W4CDSysDXuR2XPZXIih9kVOdXQEMXxG8+3vc63WqTBjHuURtZI0g8ouOy84ew== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/tag@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/tag/-/tag-2.0.11.tgz#14702adf5d1456dbbb84ea7a4b314953b92c323f" + integrity sha512-iJJcX+4hl+6Se/8eCRzG+xxDwZfiYgc4Ly/8s93M0uW2GLb+ybbfSE2DjeKSyk3mQVeGzuxGkBfDHH2c2v26ew== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/textarea@2.0.12": + version "2.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/textarea/-/textarea-2.0.12.tgz#469c1d64cb855b3b534dcd7fcc1d927e60da8da1" + integrity sha512-msR9YMynRXwZIqR6DgjQ2MogA/cW1syBx/R0v3es+9Zx8zlbuKdoLhYqajHteCup8dUzTeIH2Vs2vAwgq4wu5A== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/theme-tools@2.0.12": + version "2.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/theme-tools/-/theme-tools-2.0.12.tgz#b29d9fb626d35e3b00f532c64f95ea261d8f6997" + integrity sha512-mnMlKSmXkCjHUJsKWmJbgBTGF2vnLaMLv1ihkBn5eQcCubMQrBLTiMAEFl5pZdzuHItU6QdnLGA10smcXbNl0g== dependencies: - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/anatomy" "2.0.7" "@ctrl/tinycolor" "^3.4.0" -"@chakra-ui/theme@1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/theme/-/theme-1.14.1.tgz#84ce1643d4d7c89509e714ac989bcf8acd5578b8" - integrity sha512-VeNZi+zD3yDwzvZm234Cy3vnalCzQ+dhAgpHdIYzGO1CYO8DPa+ROcQ70rUueL7dSvUz15KOiGTw6DAl7LXlGA== - dependencies: - "@chakra-ui/anatomy" "1.3.0" - "@chakra-ui/theme-tools" "1.3.6" - "@chakra-ui/utils" "1.10.4" - -"@chakra-ui/toast@1.5.9": - version "1.5.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/toast/-/toast-1.5.9.tgz#45521dc521186ce88aad07a3796545d15a6f9697" - integrity sha512-rns04bGdMcG7Ijg45L+PfuEW4rCd0Ycraix4EJQhcl9RXI18G9sphmlp9feidhZAkI6Ukafq1YvyvkBfkKnIzQ== - dependencies: - "@chakra-ui/alert" "1.3.7" - "@chakra-ui/close-button" "1.2.7" - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/theme" "1.14.1" - "@chakra-ui/transition" "1.4.8" - "@chakra-ui/utils" "1.10.4" - "@reach/alert" "0.13.2" - -"@chakra-ui/tooltip@1.5.1": - version "1.5.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/tooltip/-/tooltip-1.5.1.tgz#c338476aa0f00fc89f6357bc22725329f90d8d5d" - integrity sha512-EUAlDdlCBt63VpEVtj/RkFjHQVN/xA9gEAumngQdi1Sp+OXPYCBM9GwSY0NwrM1RfKBnhPSH9wz7FwredJWeaw== +"@chakra-ui/theme-utils@2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@chakra-ui/theme-utils/-/theme-utils-2.0.1.tgz#a3dc99331ba943e155dd683fe25ce302e3084db0" + integrity sha512-NDwzgTPxm+v3PAJlSSU1MORHLMqO9vsRJ+ObELD5wpvE9aEyRziN/AZSoK2oLwCQMPEiU7R99K5ij1E6ptMt7w== dependencies: - "@chakra-ui/hooks" "1.9.1" - "@chakra-ui/popper" "2.4.3" - "@chakra-ui/portal" "1.3.10" - "@chakra-ui/react-utils" "1.2.3" - "@chakra-ui/utils" "1.10.4" - "@chakra-ui/visually-hidden" "1.1.6" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + lodash.mergewith "4.6.2" -"@chakra-ui/transition@1.4.8": - version "1.4.8" - resolved "https://registry.yarnpkg.com/@chakra-ui/transition/-/transition-1.4.8.tgz#ac0f4675da929ae69fc9d6db6a1edf61e982772c" - integrity sha512-5uc8LEuCH7+0h++wqAav/EktTHOjbLDSTXQlU9fzPIlNNgyf2eXrHVN2AGMGKiMR9Z4gS7umQjZ54r0w/mZ/Fw== +"@chakra-ui/theme@2.1.14": + version "2.1.14" + resolved "https://registry.yarnpkg.com/@chakra-ui/theme/-/theme-2.1.14.tgz#4726d65a65515f8ee96b5f2a725d0d17804ddfc9" + integrity sha512-6EYJCQlrjSjNAJvZmw1un50F8+sQDFsdwu/7UzWe+TeANpKlz4ZcHbh0gkl3PD62lGis+ehITUwqRm8htvDOjw== dependencies: - "@chakra-ui/utils" "1.10.4" + "@chakra-ui/anatomy" "2.0.7" + "@chakra-ui/theme-tools" "2.0.12" -"@chakra-ui/utils@1.10.4", "@chakra-ui/utils@^1.10.4": - version "1.10.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/utils/-/utils-1.10.4.tgz#40a32d4efd8684b2e7432a40b285796383eacfd3" - integrity sha512-AM91VQQxw8F4F1WDA28mqKY6NFIOuzc2Ekkna88imy2OiqqmYH0xkq8J16L2qj4cLiLozpYqba3C79pWioy6FA== +"@chakra-ui/toast@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@chakra-ui/toast/-/toast-4.0.0.tgz#797c34c4ecfcad7c6899c1cda221af0ff04d5d0b" + integrity sha512-abeeloJac5T9WK2IN76fEM5FSRH+erNXln2HqDf5wLBn33avSBXWyTiUL8riVSUqto0lrIn6FuK/MmKo0DH4og== + dependencies: + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-use-timeout" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + +"@chakra-ui/tooltip@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@chakra-ui/tooltip/-/tooltip-2.2.0.tgz#24e005f831cddf1c0e41dd246ed2771a97b8637c" + integrity sha512-oB97aQJBW+U3rRIt1ct7NaDRMnbW16JQ5ZBCl3BzN1VJWO3djiNuscpjVdZSceb+FdGSFo+GoDozp1ZwqdfFeQ== + dependencies: + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/transition@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/transition/-/transition-2.0.11.tgz#b2cfeb2150871c635cb9d03d9b525481dbe56f56" + integrity sha512-O0grc162LARPurjz1R+J+zr4AAKsVwN5+gaqLfZLMWg6TpvczJhwEA2fLCNAdkC/gomere390bJsy52xfUacUw== + +"@chakra-ui/utils@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/utils/-/utils-2.0.11.tgz#8e773f900a8356bd10c48b59151a781dba1c7b70" + integrity sha512-4ZQdK6tbOuTrUCsAQBHWo7tw5/Q6pBV93ZbVpats61cSWMFGv32AIQw9/hA4un2zDeSWN9ZMVLNjAY2Dq/KQOA== dependencies: "@types/lodash.mergewith" "4.6.6" css-box-model "1.2.1" framesync "5.3.0" lodash.mergewith "4.6.2" -"@chakra-ui/visually-hidden@1.1.6": - version "1.1.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/visually-hidden/-/visually-hidden-1.1.6.tgz#7a546a5aebe4779c8f18d65b1f0e56249720f28d" - integrity sha512-Xzy5bA0UA+IyMgwJizQYSEdgz8cC/tHdmFB3CniXzmpKTSK8mJddeEBl+cGbXHBzxEUhH7xF1eaS41O+0ezWEQ== - dependencies: - "@chakra-ui/utils" "1.10.4" +"@chakra-ui/visually-hidden@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/visually-hidden/-/visually-hidden-2.0.11.tgz#b2eb236e803451b39cdfcce3c5ab52e773c066a3" + integrity sha512-e+5amYvnsmEQdiWH4XMyvrtGTdwz//+48vwj5CsNWWcselzkwqodmciy5rIrT71/SCQDOtmgnL7ZWAUOffxfsQ== "@commitlint/cli@17.1.2": version "17.1.2" @@ -3626,82 +3815,82 @@ resolved "https://registry.yarnpkg.com/@n1ru4l/graphql-live-query/-/graphql-live-query-0.9.0.tgz#defaebdd31f625bee49e6745934f36312532b2bc" integrity sha512-BTpWy1e+FxN82RnLz4x1+JcEewVdfmUhV1C6/XYD5AjS7PQp9QFF7K8bCD6gzPTr2l+prvqOyVueQhFJxB1vfg== -"@next/env@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/env/-/env-12.3.1.tgz#18266bd92de3b4aa4037b1927aa59e6f11879260" - integrity sha512-9P9THmRFVKGKt9DYqeC2aKIxm8rlvkK38V1P1sRE7qyoPBIs8l9oo79QoSdPtOWfzkbDAVUqvbQGgTMsb8BtJg== +"@next/env@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/env/-/env-13.0.0.tgz#38527956680693c90b4522ab4ab9a2fbe3a17f67" + integrity sha512-65v9BVuah2Mplohm4+efsKEnoEuhmlGm8B2w6vD1geeEP2wXtlSJCvR/cCRJ3fD8wzCQBV41VcMBQeYET6MRkg== -"@next/eslint-plugin-next@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.3.1.tgz#b821f27b0f175954d8d18e5d323fce040ecc79a6" - integrity sha512-sw+lTf6r6P0j+g/n9y4qdWWI2syPqZx+uc0+B/fRENqfR3KpSid6MIKqc9gNwGhJASazEQ5b3w8h4cAET213jw== +"@next/eslint-plugin-next@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-13.0.0.tgz#cf3d799b21671554c1f5889c01d2513afb9973cd" + integrity sha512-z+gnX4Zizatqatc6f4CQrcC9oN8Us3Vrq/OLyc98h7K/eWctrnV91zFZodmJHUjx0cITY8uYM7LXD7IdYkg3kg== dependencies: glob "7.1.7" -"@next/swc-android-arm-eabi@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.3.1.tgz#b15ce8ad376102a3b8c0f3c017dde050a22bb1a3" - integrity sha512-i+BvKA8tB//srVPPQxIQN5lvfROcfv4OB23/L1nXznP+N/TyKL8lql3l7oo2LNhnH66zWhfoemg3Q4VJZSruzQ== - -"@next/swc-android-arm64@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-12.3.1.tgz#85d205f568a790a137cb3c3f720d961a2436ac9c" - integrity sha512-CmgU2ZNyBP0rkugOOqLnjl3+eRpXBzB/I2sjwcGZ7/Z6RcUJXK5Evz+N0ucOxqE4cZ3gkTeXtSzRrMK2mGYV8Q== - -"@next/swc-darwin-arm64@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.3.1.tgz#b105457d6760a7916b27e46c97cb1a40547114ae" - integrity sha512-hT/EBGNcu0ITiuWDYU9ur57Oa4LybD5DOQp4f22T6zLfpoBMfBibPtR8XktXmOyFHrL/6FC2p9ojdLZhWhvBHg== - -"@next/swc-darwin-x64@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-12.3.1.tgz#6947b39082271378896b095b6696a7791c6e32b1" - integrity sha512-9S6EVueCVCyGf2vuiLiGEHZCJcPAxglyckTZcEwLdJwozLqN0gtS0Eq0bQlGS3dH49Py/rQYpZ3KVWZ9BUf/WA== - -"@next/swc-freebsd-x64@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.3.1.tgz#2b6c36a4d84aae8b0ea0e0da9bafc696ae27085a" - integrity sha512-qcuUQkaBZWqzM0F1N4AkAh88lLzzpfE6ImOcI1P6YeyJSsBmpBIV8o70zV+Wxpc26yV9vpzb+e5gCyxNjKJg5Q== - -"@next/swc-linux-arm-gnueabihf@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.3.1.tgz#6e421c44285cfedac1f4631d5de330dd60b86298" - integrity sha512-diL9MSYrEI5nY2wc/h/DBewEDUzr/DqBjIgHJ3RUNtETAOB3spMNHvJk2XKUDjnQuluLmFMloet9tpEqU2TT9w== - -"@next/swc-linux-arm64-gnu@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.3.1.tgz#8863f08a81f422f910af126159d2cbb9552ef717" - integrity sha512-o/xB2nztoaC7jnXU3Q36vGgOolJpsGG8ETNjxM1VAPxRwM7FyGCPHOMk1XavG88QZSQf+1r+POBW0tLxQOJ9DQ== - -"@next/swc-linux-arm64-musl@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.3.1.tgz#0038f07cf0b259d70ae0c80890d826dfc775d9f3" - integrity sha512-2WEasRxJzgAmP43glFNhADpe8zB7kJofhEAVNbDJZANp+H4+wq+/cW1CdDi8DqjkShPEA6/ejJw+xnEyDID2jg== - -"@next/swc-linux-x64-gnu@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.3.1.tgz#c66468f5e8181ffb096c537f0dbfb589baa6a9c1" - integrity sha512-JWEaMyvNrXuM3dyy9Pp5cFPuSSvG82+yABqsWugjWlvfmnlnx9HOQZY23bFq3cNghy5V/t0iPb6cffzRWylgsA== - -"@next/swc-linux-x64-musl@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.3.1.tgz#c6269f3e96ac0395bc722ad97ce410ea5101d305" - integrity sha512-xoEWQQ71waWc4BZcOjmatuvPUXKTv6MbIFzpm4LFeCHsg2iwai0ILmNXf81rJR+L1Wb9ifEke2sQpZSPNz1Iyg== - -"@next/swc-win32-arm64-msvc@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.3.1.tgz#83c639ee969cee36ce247c3abd1d9df97b5ecade" - integrity sha512-hswVFYQYIeGHE2JYaBVtvqmBQ1CppplQbZJS/JgrVI3x2CurNhEkmds/yqvDONfwfbttTtH4+q9Dzf/WVl3Opw== - -"@next/swc-win32-ia32-msvc@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.3.1.tgz#52995748b92aa8ad053440301bc2c0d9fbcf27c2" - integrity sha512-Kny5JBehkTbKPmqulr5i+iKntO5YMP+bVM8Hf8UAmjSMVo3wehyLVc9IZkNmcbxi+vwETnQvJaT5ynYBkJ9dWA== - -"@next/swc-win32-x64-msvc@12.3.1": - version "12.3.1" - resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.3.1.tgz#27d71a95247a9eaee03d47adee7e3bd594514136" - integrity sha512-W1ijvzzg+kPEX6LAc+50EYYSEo0FVu7dmTE+t+DM4iOLqgGHoW9uYSz9wCVdkXOEEMP9xhXfGpcSxsfDucyPkA== +"@next/swc-android-arm-eabi@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.0.0.tgz#15cd89d19d3c00d123fdfe367bab38c362f6c515" + integrity sha512-+DUQkYF93gxFjWY+CYWE1QDX6gTgnUiWf+W4UqZjM1Jcef8U97fS6xYh+i+8rH4MM0AXHm7OSakvfOMzmjU6VA== + +"@next/swc-android-arm64@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-13.0.0.tgz#9410365bb07097268d4773a46b02cfe6b3fe3ab7" + integrity sha512-RW9Uy3bMSc0zVGCa11klFuwfP/jdcdkhdruqnrJ7v+7XHm6OFKkSRzX6ee7yGR1rdDZvTnP4GZSRSpzjLv/N0g== + +"@next/swc-darwin-arm64@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.0.0.tgz#caf262fb5cb8bb335f6f344fd67a44dc8bf6a084" + integrity sha512-APA26nps1j4qyhOIzkclW/OmgotVHj1jBxebSpMCPw2rXfiNvKNY9FA0TcuwPmUCNqaTnm703h6oW4dvp73A4Q== + +"@next/swc-darwin-x64@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.0.0.tgz#6b214753410e1d8512a1491045acea1e188df7d6" + integrity sha512-qsUhUdoFuRJiaJ7LnvTQ6GZv1QnMDcRXCIjxaN0FNVXwrjkq++U7KjBUaxXkRzLV4C7u0NHLNOp0iZwNNE7ypw== + +"@next/swc-freebsd-x64@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.0.0.tgz#eeb176bdb585f48882bdac1d04271b918ca87590" + integrity sha512-sCdyCbboS7CwdnevKH9J6hkJI76LUw1jVWt4eV7kISuLiPba3JmehZSWm80oa4ADChRVAwzhLAo2zJaYRrInbg== + +"@next/swc-linux-arm-gnueabihf@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.0.0.tgz#2c2a9622c93f87a8baca94e068f674da4cae6018" + integrity sha512-/X/VxfFA41C9jrEv+sUsPLQ5vbDPVIgG0CJrzKvrcc+b+4zIgPgtfsaWq9ockjHFQi3ycvlZK4TALOXO8ovQ6Q== + +"@next/swc-linux-arm64-gnu@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.0.0.tgz#69505827e2928fb18034150fd4d754d54c4a1c4b" + integrity sha512-x6Oxr1GIi0ZtNiT6jbw+JVcbEi3UQgF7mMmkrgfL4mfchOwXtWSHKTSSPnwoJWJfXYa0Vy1n8NElWNTGAqoWFw== + +"@next/swc-linux-arm64-musl@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.0.0.tgz#487a88f2583a046e882328fe0665b37eca4fd0f6" + integrity sha512-SnMH9ngI+ipGh3kqQ8+mDtWunirwmhQnQeZkEq9e/9Xsgjf04OetqrqRHKM1HmJtG2qMUJbyXFJ0F81TPuT+3g== + +"@next/swc-linux-x64-gnu@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.0.0.tgz#29e89c7e4fd2e2b16ad059076f6261998aee53df" + integrity sha512-VSQwTX9EmdbotArtA1J67X8964oQfe0xHb32x4tu+JqTR+wOHyG6wGzPMdXH2oKAp6rdd7BzqxUXXf0J+ypHlw== + +"@next/swc-linux-x64-musl@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.0.0.tgz#2f63aae922d2b2829aec21bf8f9adda8b6c16365" + integrity sha512-xBCP0nnpO0q4tsytXkvIwWFINtbFRyVY5gxa1zB0vlFtqYR9lNhrOwH3CBrks3kkeaePOXd611+8sjdUtrLnXA== + +"@next/swc-win32-arm64-msvc@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.0.0.tgz#4117bad96c2a6775f70294fba45c63951a8a21ac" + integrity sha512-NutwDafqhGxqPj/eiUixJq9ImS/0sgx6gqlD7jRndCvQ2Q8AvDdu1+xKcGWGNnhcDsNM/n1avf1e62OG1GaqJg== + +"@next/swc-win32-ia32-msvc@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.0.0.tgz#5914eb86f9ea92a00d76cb094dd9734b3bf2012c" + integrity sha512-zNaxaO+Kl/xNz02E9QlcVz0pT4MjkXGDLb25qxtAzyJL15aU0+VjjbIZAYWctG59dvggNIUNDWgoBeVTKB9xLg== + +"@next/swc-win32-x64-msvc@13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.0.0.tgz#c54a5a739dee04b20338d305226a2acdf701f67f" + integrity sha512-FFOGGWwTCRMu9W7MF496Urefxtuo2lttxF1vwS+1rIRsKvuLrWhVaVTj3T8sf2EBL6gtJbmh4TYlizS+obnGKA== "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -4051,33 +4240,6 @@ resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA= -"@reach/alert@0.13.2": - version "0.13.2" - resolved "https://registry.yarnpkg.com/@reach/alert/-/alert-0.13.2.tgz#71c4a848d51341f1d6d9eaae060975391c224870" - integrity sha512-LDz83AXCrClyq/MWe+0vaZfHp1Ytqn+kgL5VxG7rirUvmluWaj/snxzfNPWn0Ma4K2YENmXXRC/iHt5X95SqIg== - dependencies: - "@reach/utils" "0.13.2" - "@reach/visually-hidden" "0.13.2" - prop-types "^15.7.2" - tslib "^2.1.0" - -"@reach/utils@0.13.2": - version "0.13.2" - resolved "https://registry.yarnpkg.com/@reach/utils/-/utils-0.13.2.tgz#87e8fef8ebfe583fa48250238a1a3ed03189fcc8" - integrity sha512-3ir6cN60zvUrwjOJu7C6jec/samqAeyAB12ZADK+qjnmQPdzSYldrFWwDVV5H0WkhbYXR3uh+eImu13hCetNPQ== - dependencies: - "@types/warning" "^3.0.0" - tslib "^2.1.0" - warning "^4.0.3" - -"@reach/visually-hidden@0.13.2": - version "0.13.2" - resolved "https://registry.yarnpkg.com/@reach/visually-hidden/-/visually-hidden-0.13.2.tgz#ee21de376a7e57e60dc92d95a671073796caa17e" - integrity sha512-sPZwNS0/duOuG0mYwE5DmgEAzW9VhgU3aIt1+mrfT/xiT9Cdncqke+kRBQgU708q/Ttm9tWsoHni03nn/SuPTQ== - dependencies: - prop-types "^15.7.2" - tslib "^2.1.0" - "@react-aria/checkbox@^3.2.1": version "3.3.3" resolved "https://registry.yarnpkg.com/@react-aria/checkbox/-/checkbox-3.3.3.tgz#f16faf006c47013b88f6234d55463e46b7c85473" @@ -5857,12 +6019,12 @@ resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc" integrity sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw== -"@types/react-dom@17.0.17": - version "17.0.17" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.17.tgz#2e3743277a793a96a99f1bf87614598289da68a1" - integrity sha512-VjnqEmqGnasQKV0CWLevqMTXBYG9GbwuE6x3VetERLh0cq2LTptFE73MrQi2S7GkKXCf2GgwItB/melLnxfnsg== +"@types/react-dom@^18.0.8": + version "18.0.8" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.0.8.tgz#d2606d855186cd42cc1b11e63a71c39525441685" + integrity sha512-C3GYO0HLaOkk9dDAz3Dl4sbe4AKUGTCfFIZsz3n/82dPNN8Du533HzKatDxeUYWu24wJgMP1xICqkWk1YOLOIw== dependencies: - "@types/react" "^17" + "@types/react" "*" "@types/react-native@0.70.6": version "0.70.6" @@ -5880,19 +6042,10 @@ "@types/scheduler" "*" csstype "^3.0.2" -"@types/react@17.0.51": - version "17.0.51" - resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.51.tgz#ee8ee128b36d360cae2dc7986caa325079e4365c" - integrity sha512-YMddzAE+nSH04BiTJ5GydTxk0/3hckqyuOclg0s6zQYj/XzfRVNzHZAFwZb5SCSavkzTYUtcq/gwjLnvt2Y4cg== - dependencies: - "@types/prop-types" "*" - "@types/scheduler" "*" - csstype "^3.0.2" - -"@types/react@^17": - version "17.0.45" - resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.45.tgz#9b3d5b661fd26365fefef0e766a1c6c30ccf7b3f" - integrity sha512-YfhQ22Lah2e3CHPsb93tRwIGNiSwkuz1/blk4e6QrWS0jQzCSNbGLtOEYhPg02W0yGTTmpajp7dCTbBAMN3qsg== +"@types/react@^18.0.24": + version "18.0.24" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.24.tgz#2f79ed5b27f08d05107aab45c17919754cc44c20" + integrity sha512-wRJWT6ouziGUy+9uX0aW4YOJxAY0bG6/AOk5AW5QSvZqI7dk6VBIbXvcVgIw/W5Jrl24f77df98GEKTJGOLx7Q== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -5941,11 +6094,6 @@ resolved "https://registry.yarnpkg.com/@types/use-subscription/-/use-subscription-1.0.0.tgz#d146f8d834f70f50d48bd8246a481d096f11db19" integrity sha512-0WWZ5GUDKMXUY/1zy4Ur5/zsC0s/B+JjXfHdkvx6JgDNZzZV5eW+KKhDqsTGyqX56uh99gwGwbsKbVwkcVIKQA== -"@types/warning@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/warning/-/warning-3.0.0.tgz#0d2501268ad8f9962b740d387c4654f5f8e23e52" - integrity sha1-DSUBJorY+ZYrdA04fEZU9fjiPlI= - "@types/ws@^8.0.0": version "8.5.3" resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.3.tgz#7d25a1ffbecd3c4f2d35068d0b283c037003274d" @@ -6185,6 +6333,16 @@ resolved "https://registry.yarnpkg.com/@xmldom/xmldom/-/xmldom-0.7.5.tgz#09fa51e356d07d0be200642b0e4f91d8e6dd408d" integrity sha512-V3BIhmY36fXZ1OtVcI9W+FxQqxVLsPKcNjWigIaa81dLC9IolJl5Mt4Cvhmr0flUnjSpTdrbMTSbXqYqV5dT6A== +"@zag-js/element-size@0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" + integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== + +"@zag-js/focus-visible@0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" + integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== + JSONStream@^1.0.4: version "1.3.5" resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" @@ -7518,6 +7676,11 @@ cli-width@^3.0.0: resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== +client-only@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/client-only/-/client-only-0.0.1.tgz#38bba5d403c41ab150bff64a95c85013cf73bca1" + integrity sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA== + cliui@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" @@ -8061,10 +8224,10 @@ cssfilter@0.0.10: resolved "https://registry.yarnpkg.com/cssfilter/-/cssfilter-0.0.10.tgz#c6d2672632a2e5c83e013e6864a42ce8defd20ae" integrity sha1-xtJnJjKi5cg+AT5oZKQs6N79IK4= -csstype@3.0.9: - version "3.0.9" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.9.tgz#6410af31b26bd0520933d02cbc64fce9ce3fbf0b" - integrity sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw== +csstype@^3.0.11: + version "3.1.1" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== csstype@^3.0.2: version "3.0.11" @@ -8598,12 +8761,12 @@ escape-string-regexp@^1.0.5: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= -eslint-config-next@12.3.1: - version "12.3.1" - resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-12.3.1.tgz#5d4eb0b7903cea81fd0d5106601d3afb0a453ff4" - integrity sha512-EN/xwKPU6jz1G0Qi6Bd/BqMnHLyRAL0VsaQaWA7F3KkjAgZHi4f1uL1JKGWNxdQpHTW/sdGONBd0bzxUka/DJg== +eslint-config-next@^13.0.0: + version "13.0.0" + resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-13.0.0.tgz#d533ee1dbd6576fd3759ba4db4d5a6c4e039c242" + integrity sha512-y2nqWS2tycWySdVhb+rhp6CuDmDazGySqkzzQZf3UTyfHyC7og1m5m/AtMFwCo5mtvDqvw1BENin52kV9733lg== dependencies: - "@next/eslint-plugin-next" "12.3.1" + "@next/eslint-plugin-next" "13.0.0" "@rushstack/eslint-patch" "^1.1.3" "@typescript-eslint/parser" "^5.21.0" eslint-import-resolver-node "^0.3.6" @@ -9423,10 +9586,10 @@ flow-parser@^0.121.0: resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.121.0.tgz#9f9898eaec91a9f7c323e9e992d81ab5c58e618f" integrity sha512-1gIBiWJNR0tKUNv8gZuk7l9rVX06OuLzY9AoGio7y/JT4V1IZErEMEq2TJS+PFcw/y0RshZ1J/27VfK1UQzYVg== -focus-lock@^0.9.1: - version "0.9.2" - resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.9.2.tgz#9d30918aaa99b1b97677731053d017f82a540d5b" - integrity sha512-YtHxjX7a0IC0ZACL5wsX8QdncXofWpGPNoVMuI/nZUrPGp6LmNI6+D5j0pPj+v8Kw5EpweA+T5yImK0rnWf7oQ== +focus-lock@^0.11.2: + version "0.11.3" + resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" + integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== dependencies: tslib "^2.0.3" @@ -12206,31 +12369,31 @@ new-github-issue-url@0.2.1: resolved "https://registry.yarnpkg.com/new-github-issue-url/-/new-github-issue-url-0.2.1.tgz#e17be1f665a92de465926603e44b9f8685630c1d" integrity sha512-md4cGoxuT4T4d/HDOXbrUHkTKrp/vp+m3aOA7XXVYwNsUNMK49g3SQicTSeV5GIz/5QVGAeYRAOlyp9OvlgsYA== -next@12.3.1: - version "12.3.1" - resolved "https://registry.yarnpkg.com/next/-/next-12.3.1.tgz#127b825ad2207faf869b33393ec8c75fe61e50f1" - integrity sha512-l7bvmSeIwX5lp07WtIiP9u2ytZMv7jIeB8iacR28PuUEFG5j0HGAPnMqyG5kbZNBG2H7tRsrQ4HCjuMOPnANZw== +next@^13.0.0: + version "13.0.0" + resolved "https://registry.yarnpkg.com/next/-/next-13.0.0.tgz#6f07064a4f374562cf58677bef4dd06326ca648b" + integrity sha512-puH1WGM6rGeFOoFdXXYfUxN9Sgi4LMytCV5HkQJvVUOhHfC1DoVqOfvzaEteyp6P04IW+gbtK2Q9pInVSrltPA== dependencies: - "@next/env" "12.3.1" + "@next/env" "13.0.0" "@swc/helpers" "0.4.11" caniuse-lite "^1.0.30001406" postcss "8.4.14" - styled-jsx "5.0.7" + styled-jsx "5.1.0" use-sync-external-store "1.2.0" optionalDependencies: - "@next/swc-android-arm-eabi" "12.3.1" - "@next/swc-android-arm64" "12.3.1" - "@next/swc-darwin-arm64" "12.3.1" - "@next/swc-darwin-x64" "12.3.1" - "@next/swc-freebsd-x64" "12.3.1" - "@next/swc-linux-arm-gnueabihf" "12.3.1" - "@next/swc-linux-arm64-gnu" "12.3.1" - "@next/swc-linux-arm64-musl" "12.3.1" - "@next/swc-linux-x64-gnu" "12.3.1" - "@next/swc-linux-x64-musl" "12.3.1" - "@next/swc-win32-arm64-msvc" "12.3.1" - "@next/swc-win32-ia32-msvc" "12.3.1" - "@next/swc-win32-x64-msvc" "12.3.1" + "@next/swc-android-arm-eabi" "13.0.0" + "@next/swc-android-arm64" "13.0.0" + "@next/swc-darwin-arm64" "13.0.0" + "@next/swc-darwin-x64" "13.0.0" + "@next/swc-freebsd-x64" "13.0.0" + "@next/swc-linux-arm-gnueabihf" "13.0.0" + "@next/swc-linux-arm64-gnu" "13.0.0" + "@next/swc-linux-arm64-musl" "13.0.0" + "@next/swc-linux-x64-gnu" "13.0.0" + "@next/swc-linux-x64-musl" "13.0.0" + "@next/swc-win32-arm64-msvc" "13.0.0" + "@next/swc-win32-ia32-msvc" "13.0.0" + "@next/swc-win32-x64-msvc" "13.0.0" nice-try@^1.0.4: version "1.0.5" @@ -13257,10 +13420,10 @@ rc@~1.2.7: minimist "^1.2.0" strip-json-comments "~2.0.1" -react-clientside-effect@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/react-clientside-effect/-/react-clientside-effect-1.2.5.tgz#e2c4dc3c9ee109f642fac4f5b6e9bf5bcd2219a3" - integrity sha512-2bL8qFW1TGBHozGGbVeyvnggRpMjibeZM2536AKNENLECutp2yfs44IL8Hmpn8qjFQ2K7A9PnYf3vc7aQq/cPA== +react-clientside-effect@^1.2.6: + version "1.2.6" + resolved "https://registry.yarnpkg.com/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" + integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== dependencies: "@babel/runtime" "^7.12.13" @@ -13272,14 +13435,13 @@ react-devtools-core@^4.23.0: shell-quote "^1.6.1" ws "^7" -react-dom@17.0.2: - version "17.0.2" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23" - integrity sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA== +react-dom@^18.2.0: + version "18.2.0" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== dependencies: loose-envify "^1.1.0" - object-assign "^4.1.1" - scheduler "^0.20.2" + scheduler "^0.23.0" react-dropzone@14.2.3: version "14.2.3" @@ -13295,17 +13457,17 @@ react-fast-compare@3.2.0: resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== -react-focus-lock@2.5.2: - version "2.5.2" - resolved "https://registry.yarnpkg.com/react-focus-lock/-/react-focus-lock-2.5.2.tgz#f1e4db5e25cd8789351f2bd5ebe91e9dcb9c2922" - integrity sha512-WzpdOnEqjf+/A3EH9opMZWauag7gV0BxFl+EY4ElA4qFqYsUsBLnmo2sELbN5OC30S16GAWMy16B9DLPpdJKAQ== +react-focus-lock@^2.9.1: + version "2.9.1" + resolved "https://registry.yarnpkg.com/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" + integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== dependencies: "@babel/runtime" "^7.0.0" - focus-lock "^0.9.1" + focus-lock "^0.11.2" prop-types "^15.6.2" - react-clientside-effect "^1.2.5" - use-callback-ref "^1.2.5" - use-sidecar "^1.0.5" + react-clientside-effect "^1.2.6" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" react-freeze@^1.0.0: version "1.0.0" @@ -13437,24 +13599,24 @@ react-refresh@^0.4.0: resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.4.3.tgz#966f1750c191672e76e16c2efa569150cc73ab53" integrity sha512-Hwln1VNuGl/6bVwnd0Xdn1e84gT/8T9aYNL+HAKDArLCS7LWjwr7StE30IEYbIkx0Vi3vs+coQxe+SQDbGbbpA== -react-remove-scroll-bar@^2.1.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.0.tgz#4f1c8442e4a8bbf98f0cd7ba30fdaf7bf5bcffe5" - integrity sha512-v2vf8kgrRph5FQeLVZjSOmM0g3ZiBxwMk98VXhsiJDSPeRDUaXJrzYDk2Hhoe6qLggrhWtAXJZVxUwXmRXa93g== +react-remove-scroll-bar@^2.3.3: + version "2.3.4" + resolved "https://registry.yarnpkg.com/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9" + integrity sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A== dependencies: - react-style-singleton "^2.2.0" + react-style-singleton "^2.2.1" tslib "^2.0.0" -react-remove-scroll@2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.4.1.tgz#e0af6126621083a5064591d367291a81b2d107f5" - integrity sha512-K7XZySEzOHMTq7dDwcHsZA6Y7/1uX5RsWhRXVYv8rdh+y9Qz2nMwl9RX/Mwnj/j7JstCGmxyfyC0zbVGXYh3mA== +react-remove-scroll@^2.5.4: + version "2.5.5" + resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== dependencies: - react-remove-scroll-bar "^2.1.0" - react-style-singleton "^2.1.0" - tslib "^1.0.0" - use-callback-ref "^1.2.3" - use-sidecar "^1.0.1" + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" react-shallow-renderer@16.14.1: version "16.14.1" @@ -13464,22 +13626,21 @@ react-shallow-renderer@16.14.1: object-assign "^4.1.1" react-is "^16.12.0 || ^17.0.0" -react-style-singleton@^2.1.0, react-style-singleton@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/react-style-singleton/-/react-style-singleton-2.2.0.tgz#70f45f5fef97fdb9a52eed98d1839fa6b9032b22" - integrity sha512-nK7mN92DMYZEu3cQcAhfwE48NpzO5RpxjG4okbSqRRbfal9Pk+fG2RdQXTMp+f6all1hB9LIJSt+j7dCYrU11g== +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== dependencies: get-nonce "^1.0.0" invariant "^2.2.4" tslib "^2.0.0" -react@17.0.2: - version "17.0.2" - resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037" - integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA== +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== dependencies: loose-envify "^1.1.0" - object-assign "^4.1.1" read-pkg-up@7.0.1, read-pkg-up@^7.0.1: version "7.0.1" @@ -13929,6 +14090,13 @@ scheduler@^0.20.2: loose-envify "^1.1.0" object-assign "^4.1.1" +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + scuid@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/scuid/-/scuid-1.1.0.tgz#d3f9f920956e737a60f72d0e4ad280bf324d5dab" @@ -14603,10 +14771,12 @@ styled-components@5.3.6: shallowequal "^1.1.0" supports-color "^5.5.0" -styled-jsx@5.0.7: - version "5.0.7" - resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-5.0.7.tgz#be44afc53771b983769ac654d355ca8d019dff48" - integrity sha512-b3sUzamS086YLRuvnaDigdAewz1/EFYlHpYBP5mZovKEdQQOIIYq8lApylub3HHZ6xFjV051kkGU7cudJmrXEA== +styled-jsx@5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-5.1.0.tgz#4a5622ab9714bd3fcfaeec292aa555871f057563" + integrity sha512-/iHaRJt9U7T+5tp6TRelLnqBqiaIT0HsO0+vgyj8hK2KUk7aejFqRrumqPUlAqDwAj8IbS/1hk3IhBAAK/FCUQ== + dependencies: + client-only "0.0.1" styled-system@5.1.5: version "5.1.5" @@ -15466,7 +15636,7 @@ url@0.10.3: punycode "1.3.2" querystring "0.2.0" -use-callback-ref@^1.2.3, use-callback-ref@^1.2.5: +use-callback-ref@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== @@ -15478,7 +15648,7 @@ use-latest-callback@^0.1.5: resolved "https://registry.yarnpkg.com/use-latest-callback/-/use-latest-callback-0.1.5.tgz#a4a836c08fa72f6608730b5b8f4bbd9c57c04f51" integrity sha512-HtHatS2U4/h32NlkhupDsPlrbiD27gSH5swBdtXbCAlc6pfOFzaj0FehW/FO12rx8j2Vy4/lJScCiJyM01E+bQ== -use-sidecar@^1.0.1, use-sidecar@^1.0.5: +use-sidecar@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== @@ -15622,13 +15792,6 @@ warn-once@^0.1.0: resolved "https://registry.yarnpkg.com/warn-once/-/warn-once-0.1.0.tgz#4f58d89b84f968d0389176aa99e0cf0f14ffd4c8" integrity sha512-recZTSvuaH/On5ZU5ywq66y99lImWqzP93+AiUo9LUwG8gXHW+LJjhOd6REJHm7qb0niYqrEQJvbHSQfuJtTqA== -warning@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3" - integrity sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w== - dependencies: - loose-envify "^1.0.0" - wcwidth@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" From a46c87f768efbc09380d9e2aeb1da8af5fa4ce87 Mon Sep 17 00:00:00 2001 From: Jack Clackett Date: Mon, 31 Oct 2022 14:07:25 +0100 Subject: [PATCH 2/5] feat: next 13 app dir --- packages/api/package.json | 2 + packages/api/src/db/schema.prisma | 3 +- packages/api/src/db/seed.ts | 23 + packages/app/package.json | 18 +- packages/web/.env.local | 1 + packages/web/.gitignore | 2 + packages/web/codegen.yml | 1 + packages/web/next.config.js | 1 + packages/web/package.json | 6 +- .../(auth)/forgot-password/page.tsx} | 9 +- packages/web/src/app/(auth)/layout.tsx | 63 + packages/web/src/app/(auth)/login/head.tsx | 7 + .../login.tsx => app/(auth)/login/page.tsx} | 15 +- .../logout.tsx => app/(auth)/logout/page.tsx} | 3 +- .../(auth)/register/page.tsx} | 12 +- .../(auth)/reset-password/[token]/page.tsx} | 17 +- packages/web/src/app/(home)/layout.tsx | 14 + .../{pages/index.tsx => app/(home)/page.tsx} | 12 +- .../index.tsx => app/(home)/posts/page.tsx} | 4 +- .../(home)/profile/layout.tsx} | 21 +- .../index.tsx => app/(home)/profile/page.tsx} | 14 +- .../(home)/profile/settings/page.tsx} | 27 +- .../AdminLayout.tsx => app/admin/layout.tsx} | 9 +- .../admin/index.tsx => app/admin/page.tsx} | 5 +- .../admin/users}/AdminCreateUserForm.tsx | 14 +- .../admin/users/[id]/page.tsx} | 18 +- packages/web/src/app/admin/users/page.tsx | 163 ++ packages/web/src/app/head.tsx | 7 + packages/web/src/app/layout.tsx | 30 + packages/web/src/components/HomeLayout.tsx | 18 - packages/web/src/components/Nav.tsx | 19 +- packages/web/src/components/Search.tsx | 9 +- packages/web/src/components/Table.tsx | 187 ++- packages/web/src/components/hoc/withAuth.tsx | 46 - .../web/src/components/hoc/withNoAuth.tsx | 36 - packages/web/src/lib/apollo/client.ts | 16 +- packages/web/src/lib/apollo/pagination.ts | 4 +- packages/web/src/lib/graphql.tsx | 410 ++--- packages/web/src/lib/hooks/useLogout.ts | 4 +- packages/web/src/lib/hooks/useMe.ts | 8 +- packages/web/src/lib/theme/index.ts | 8 +- packages/web/src/pages/_app.tsx | 23 - packages/web/src/pages/_document.tsx | 33 - packages/web/src/pages/admin/users/index.tsx | 156 -- packages/web/tsconfig.json | 5 +- yarn.lock | 1314 +++++++++-------- 46 files changed, 1456 insertions(+), 1361 deletions(-) create mode 100644 packages/api/src/db/seed.ts create mode 100644 packages/web/.env.local rename packages/web/src/{pages/forgot-password.tsx => app/(auth)/forgot-password/page.tsx} (87%) create mode 100644 packages/web/src/app/(auth)/layout.tsx create mode 100644 packages/web/src/app/(auth)/login/head.tsx rename packages/web/src/{pages/login.tsx => app/(auth)/login/page.tsx} (86%) rename packages/web/src/{pages/logout.tsx => app/(auth)/logout/page.tsx} (86%) rename packages/web/src/{pages/register.tsx => app/(auth)/register/page.tsx} (88%) rename packages/web/src/{pages/reset-password/[token].tsx => app/(auth)/reset-password/[token]/page.tsx} (81%) create mode 100644 packages/web/src/app/(home)/layout.tsx rename packages/web/src/{pages/index.tsx => app/(home)/page.tsx} (77%) rename packages/web/src/{pages/posts/index.tsx => app/(home)/posts/page.tsx} (91%) rename packages/web/src/{components/ProfileLayout.tsx => app/(home)/profile/layout.tsx} (74%) rename packages/web/src/{pages/profile/index.tsx => app/(home)/profile/page.tsx} (91%) rename packages/web/src/{pages/profile/settings.tsx => app/(home)/profile/settings/page.tsx} (83%) rename packages/web/src/{components/AdminLayout.tsx => app/admin/layout.tsx} (94%) rename packages/web/src/{pages/admin/index.tsx => app/admin/page.tsx} (62%) rename packages/web/src/{components => app/admin/users}/AdminCreateUserForm.tsx (82%) rename packages/web/src/{pages/admin/users/[id].tsx => app/admin/users/[id]/page.tsx} (70%) create mode 100644 packages/web/src/app/admin/users/page.tsx create mode 100644 packages/web/src/app/head.tsx create mode 100644 packages/web/src/app/layout.tsx delete mode 100644 packages/web/src/components/HomeLayout.tsx delete mode 100644 packages/web/src/components/hoc/withAuth.tsx delete mode 100644 packages/web/src/components/hoc/withNoAuth.tsx delete mode 100644 packages/web/src/pages/_app.tsx delete mode 100644 packages/web/src/pages/_document.tsx delete mode 100644 packages/web/src/pages/admin/users/index.tsx diff --git a/packages/api/package.json b/packages/api/package.json index 5d31c2978..ad76799e4 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -13,6 +13,7 @@ "start": "node dist", "generate": "prisma generate", "db:migrate": "prisma migrate dev", + "db:seed": "ts-node src/db/seed.ts", "build": "rm -rf dist && tsc --build", "buildSchema": "ts-node buildSchema.ts", "typecheck": "tsc --noEmit", @@ -64,6 +65,7 @@ "typegraphql-prisma": "0.22.0" }, "devDependencies": { + "@faker-js/faker": "^7.6.0", "@types/bcryptjs": "2.4.2", "@types/express": "4.17.14", "@types/express-jwt": "6.0.4", diff --git a/packages/api/src/db/schema.prisma b/packages/api/src/db/schema.prisma index 8c219cc00..b6d84c0e6 100644 --- a/packages/api/src/db/schema.prisma +++ b/packages/api/src/db/schema.prisma @@ -1,5 +1,6 @@ generator client { - provider = "prisma-client-js" + provider = "prisma-client-js" + previewFeatures = ["orderByNulls"] } generator typegraphql { diff --git a/packages/api/src/db/seed.ts b/packages/api/src/db/seed.ts new file mode 100644 index 000000000..a4b55a78f --- /dev/null +++ b/packages/api/src/db/seed.ts @@ -0,0 +1,23 @@ +import "reflect-metadata" +import "dotenv/config" + +import { faker } from "@faker-js/faker" + +import { prisma } from "../lib/prisma" + +const createUserData = () => + Array.from({ length: 40 }).map(() => { + const firstName = faker.name.firstName() + const lastName = faker.name.lastName() + return { + firstName, + lastName, + email: faker.internet.email(firstName, lastName), + password: faker.internet.password(), + } + }) + +export async function main() { + await prisma.user.createMany({ data: createUserData() }) +} +main() diff --git a/packages/app/package.json b/packages/app/package.json index e3608d135..00635ff56 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -31,24 +31,24 @@ "@react-navigation/native": "6.0.13", "@react-navigation/native-stack": "6.9.1", "@react-navigation/stack": "6.3.2", - "expo": "45.0.8", - "expo-status-bar": "1.4.0", + "expo": "^46.0.0", + "expo-status-bar": "~1.4.0", "graphql": "15.8.0", "graphql-tag": "2.12.6", "native-base": "3.4.19", "polished": "4.2.2", "react": "^18.2.0", "react-dom": "^18.2.0", - "react-native": "0.68.2", - "react-native-safe-area-context": "4.2.4", - "react-native-screens": "~3.11.1", - "react-native-svg": "12.4.4", - "react-native-web": "0.18.9", + "react-native": "0.69.6", + "react-native-safe-area-context": "4.3.1", + "react-native-screens": "~3.15.0", + "react-native-svg": "12.3.0", + "react-native-web": "~0.18.7", "styled-components": "5.3.6", "styled-system": "5.1.5" }, "devDependencies": { - "@babel/core": "7.19.6", + "@babel/core": "^7.18.6", "@graphql-codegen/add": "3.2.1", "@graphql-codegen/cli": "2.13.7", "@graphql-codegen/typescript": "2.8.0", @@ -56,7 +56,7 @@ "@graphql-codegen/typescript-react-apollo": "3.3.5", "@types/react": "^18.0.24", "@types/react-dom": "^18.0.8", - "@types/react-native": "0.70.6", + "@types/react-native": "~0.69.1", "eslint-plugin-react": "7.31.10", "eslint-plugin-react-hooks": "4.6.0" }, diff --git a/packages/web/.env.local b/packages/web/.env.local new file mode 100644 index 000000000..e26e33431 --- /dev/null +++ b/packages/web/.env.local @@ -0,0 +1 @@ +SENTRY_IGNORE_API_RESOLUTION_ERROR=1 \ No newline at end of file diff --git a/packages/web/.gitignore b/packages/web/.gitignore index 0077c3dba..c4415ff3e 100644 --- a/packages/web/.gitignore +++ b/packages/web/.gitignore @@ -5,3 +5,5 @@ node_modules/ # Sentry .sentryclirc + +.vscode diff --git a/packages/web/codegen.yml b/packages/web/codegen.yml index a17139901..b2119fc58 100644 --- a/packages/web/codegen.yml +++ b/packages/web/codegen.yml @@ -3,6 +3,7 @@ documents: - "src/components/**/*.{ts,tsx}" - "src/lib/**/*.{ts,tsx}" - "src/pages/**/*.{ts,tsx}" + - "src/app/**/*.{ts,tsx}" overwrite: true generates: src/lib/graphql.tsx: diff --git a/packages/web/next.config.js b/packages/web/next.config.js index 746eeb6f4..792d9a750 100644 --- a/packages/web/next.config.js +++ b/packages/web/next.config.js @@ -8,6 +8,7 @@ const sentryWebpackPluginOptions = { */ module.exports = withSentryConfig( { + experimental: { appDir: true, esmExternals: false }, sentry: { hideSourceMaps: false, }, diff --git a/packages/web/package.json b/packages/web/package.json index 59f9ab6d0..50acd18e5 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -29,10 +29,12 @@ "license": "MIT", "dependencies": { "@apollo/client": "3.7.0", + "@chakra-ui/icons": "^2.0.11", "@chakra-ui/react": "^2.3.6", - "@emotion/react": "11.10.4", - "@emotion/styled": "11.10.4", + "@emotion/react": "11.10.5", + "@emotion/styled": "11.10.5", "@hookform/resolvers": "2.9.10", + "@next/font": "^13.0.0", "@sentry/nextjs": "7.16.0", "dayjs": "1.11.6", "framer-motion": "6.5.1", diff --git a/packages/web/src/pages/forgot-password.tsx b/packages/web/src/app/(auth)/forgot-password/page.tsx similarity index 87% rename from packages/web/src/pages/forgot-password.tsx rename to packages/web/src/app/(auth)/forgot-password/page.tsx index d7fdeee09..07f900265 100644 --- a/packages/web/src/pages/forgot-password.tsx +++ b/packages/web/src/app/(auth)/forgot-password/page.tsx @@ -1,9 +1,9 @@ +"use client" import * as React from "react" import { gql } from "@apollo/client" import { Box, Button, Center, Heading, Stack, Text } from "@chakra-ui/react" -import Head from "next/head" import Link from "next/link" -import { useRouter } from "next/router" +import { useRouter } from "next/navigation" import type { MutationForgotPasswordArgs } from "lib/graphql" import { useForgotPasswordMutation } from "lib/graphql" @@ -11,7 +11,6 @@ import { useForm } from "lib/hooks/useForm" import { useToast } from "lib/hooks/useToast" import Yup from "lib/yup" import { Form } from "components/Form" -import { HomeLayout } from "components/HomeLayout" import { Input } from "components/Input" const _ = gql` @@ -45,9 +44,6 @@ export default function ForgotPassword() { } return (
- - Forgot password -
@@ -65,4 +61,3 @@ export default function ForgotPassword() {
) } -ForgotPassword.getLayout = (page: React.ReactNode) => {page} diff --git a/packages/web/src/app/(auth)/layout.tsx b/packages/web/src/app/(auth)/layout.tsx new file mode 100644 index 000000000..94a9ba090 --- /dev/null +++ b/packages/web/src/app/(auth)/layout.tsx @@ -0,0 +1,63 @@ +"use client" +import type { LinkProps} from "@chakra-ui/react"; +import { Box, HStack, Link, useColorModeValue } from "@chakra-ui/react" +import NextLink from "next/link" +import { usePathname } from "next/navigation" + +import { Limiter } from "components/Limiter" + +export default function Layout({ children }: { children: React.ReactNode }) { + return ( + <> + + + {/* Left link list */} + + + Home + + + + + {children} + + ) +} + +interface HomeLinkProps extends LinkProps { + href: string +} + +function HomeLink({ href, ...props }: HomeLinkProps) { + const pathname = usePathname() + const isActive = pathname === href + + return ( + + {props.children} + + ) +} diff --git a/packages/web/src/app/(auth)/login/head.tsx b/packages/web/src/app/(auth)/login/head.tsx new file mode 100644 index 000000000..ac68566d1 --- /dev/null +++ b/packages/web/src/app/(auth)/login/head.tsx @@ -0,0 +1,7 @@ +export default function Head() { + return ( + <> + Login + + ) +} diff --git a/packages/web/src/pages/login.tsx b/packages/web/src/app/(auth)/login/page.tsx similarity index 86% rename from packages/web/src/pages/login.tsx rename to packages/web/src/app/(auth)/login/page.tsx index aad3ef9f7..08889b0f7 100644 --- a/packages/web/src/pages/login.tsx +++ b/packages/web/src/app/(auth)/login/page.tsx @@ -1,9 +1,9 @@ +"use client" import * as React from "react" import { gql, useApolloClient } from "@apollo/client" import * as c from "@chakra-ui/react" -import Head from "next/head" import Link from "next/link" -import { useRouter } from "next/router" +import { useRouter } from "next/navigation" import { ACCESS_TOKEN, REFRESH_TOKEN_KEY } from "lib/config" import type { LoginInput, MeQuery } from "lib/graphql" @@ -12,8 +12,6 @@ import { useForm } from "lib/hooks/useForm" import Yup from "lib/yup" import { Form } from "components/Form" import { FormError } from "components/FormError" -import { withNoAuth } from "components/hoc/withNoAuth" -import { HomeLayout } from "components/HomeLayout" import { Input } from "components/Input" const _ = gql` @@ -33,7 +31,7 @@ const LoginSchema = Yup.object().shape({ password: Yup.string().min(8, "Must be at least 8 characters"), }) -function Login() { +export default function Login() { const client = useApolloClient() const [login, { loading }] = useLoginMutation() @@ -59,9 +57,6 @@ function Login() { return ( - - Login - @@ -84,6 +79,4 @@ function Login() { ) } -Login.getLayout = (page: React.ReactNode) => {page} - -export default withNoAuth(Login) +// export default withNoAuth(Login) diff --git a/packages/web/src/pages/logout.tsx b/packages/web/src/app/(auth)/logout/page.tsx similarity index 86% rename from packages/web/src/pages/logout.tsx rename to packages/web/src/app/(auth)/logout/page.tsx index d0eba6c21..c55743ede 100644 --- a/packages/web/src/pages/logout.tsx +++ b/packages/web/src/app/(auth)/logout/page.tsx @@ -1,6 +1,7 @@ +"use client" import * as React from "react" import { Center, Spinner } from "@chakra-ui/react" -import { useRouter } from "next/router" +import { useRouter } from "next/navigation" import { useMe } from "lib/hooks/useMe" diff --git a/packages/web/src/pages/register.tsx b/packages/web/src/app/(auth)/register/page.tsx similarity index 88% rename from packages/web/src/pages/register.tsx rename to packages/web/src/app/(auth)/register/page.tsx index d3cc9879e..1f6582ae6 100644 --- a/packages/web/src/pages/register.tsx +++ b/packages/web/src/app/(auth)/register/page.tsx @@ -1,19 +1,18 @@ +"use client" import * as React from "react" import { gql, useApolloClient } from "@apollo/client" import { Box, Button, Center, Heading, Stack } from "@chakra-ui/react" import Head from "next/head" import Link from "next/link" -import { useRouter } from "next/router" +import { useRouter } from "next/navigation" -import { ACCESS_TOKEN,REFRESH_TOKEN_KEY } from "lib/config" +import { ACCESS_TOKEN, REFRESH_TOKEN_KEY } from "lib/config" import type { MeQuery, RegisterInput } from "lib/graphql" import { MeDocument, useRegisterMutation } from "lib/graphql" import { useForm } from "lib/hooks/useForm" import Yup from "lib/yup" import { Form } from "components/Form" import { FormError } from "components/FormError" -import { withNoAuth } from "components/hoc/withNoAuth" -import { HomeLayout } from "components/HomeLayout" import { Input } from "components/Input" const _ = gql` @@ -35,7 +34,7 @@ const RegisterSchema = Yup.object().shape({ lastName: Yup.string().required("Required"), }) -function Register() { +export default function Register() { const client = useApolloClient() const [register, { loading }] = useRegisterMutation() @@ -82,6 +81,3 @@ function Register() { ) } - -Register.getLayout = (page: React.ReactNode) => {page} -export default withNoAuth(Register) diff --git a/packages/web/src/pages/reset-password/[token].tsx b/packages/web/src/app/(auth)/reset-password/[token]/page.tsx similarity index 81% rename from packages/web/src/pages/reset-password/[token].tsx rename to packages/web/src/app/(auth)/reset-password/[token]/page.tsx index cf29244db..6abd45af1 100644 --- a/packages/web/src/pages/reset-password/[token].tsx +++ b/packages/web/src/app/(auth)/reset-password/[token]/page.tsx @@ -1,9 +1,9 @@ +"use client" import * as React from "react" import { gql } from "@apollo/client" import { Box, Button, Center, Heading, Stack, Text } from "@chakra-ui/react" -import Head from "next/head" import Link from "next/link" -import { useRouter } from "next/router" +import { useRouter } from "next/navigation" import type { ResetPasswordInput } from "lib/graphql" import { useResetPasswordMutation } from "lib/graphql" @@ -11,7 +11,6 @@ import { useForm } from "lib/hooks/useForm" import { useToast } from "lib/hooks/useToast" import Yup from "lib/yup" import { Form } from "components/Form" -import { HomeLayout } from "components/HomeLayout" import { Input } from "components/Input" const _ = gql` @@ -24,14 +23,14 @@ const ResetPasswordSchema = Yup.object().shape({ password: Yup.string().min(8, "Must be at least 8 characters"), }) -export default function ResetPassword() { - const { query, push } = useRouter() - const token = query.token as string +export default function ResetPassword({ params }: { params: { token: string } }) { + const { push } = useRouter() + const token = params.token const [reset, { loading }] = useResetPasswordMutation() const form = useForm({ schema: ResetPasswordSchema }) const toast = useToast() const handleSubmit = async (data: ResetPasswordInput) => { - if (!data || !token) return + if (!data) return return form.handler(() => reset({ variables: { data: { ...data, token } } }), { onSuccess: () => { form.reset() @@ -45,9 +44,6 @@ export default function ResetPassword() { } return (
- - Reset password - @@ -66,4 +62,3 @@ export default function ResetPassword() {
) } -ResetPassword.getLayout = (page: React.ReactNode) => {page} diff --git a/packages/web/src/app/(home)/layout.tsx b/packages/web/src/app/(home)/layout.tsx new file mode 100644 index 000000000..4ee147efc --- /dev/null +++ b/packages/web/src/app/(home)/layout.tsx @@ -0,0 +1,14 @@ +"use client" +import { Box } from "@chakra-ui/react" + +import { Limiter } from "components/Limiter" +import { Nav } from "components/Nav" + +export default function Layout({ children }: { children: React.ReactNode }) { + return ( + +