Scheduling infrastructure for absolutely everyone.
Upgrade to next 13.1 (#6265)
Peer Richelsend83411162d46
diff --git a/apps/api b/apps/apiindex 9c23a8e5ab8..2808b798dfa 160000--- a/apps/api+++ b/apps/api@@ -1 +1 @@-Subproject commit 9c23a8e5ab8ceb1af82beaa850609ed7fdc6a86e+Subproject commit 2808b798dfa64436eebd83b3705c7cafe4596446diff --git a/apps/console b/apps/consoleindex 2d577dd9edd..50ec8b86305 160000--- a/apps/console+++ b/apps/console@@ -1 +1 @@-Subproject commit 2d577dd9edd4216cd1920b0d348f94a335f28bb5+Subproject commit 50ec8b86305dbd0abe7cfbfbf3459a334a9513a6diff --git a/apps/docs/package.json b/apps/docs/package.jsonindex e545255a40c..89083b5cdfd 100644--- a/apps/docs/package.json+++ b/apps/docs/package.json@@ -17,7 +17,7 @@"license": "MIT","dependencies": {"iframe-resizer-react": "^1.1.0",- "next": "^12.3.1",+ "next": "^13.1.1","nextra": "^1.1.0","nextra-theme-docs": "^1.2.2","react": "^18.2.0",diff --git a/apps/storybook/package.json b/apps/storybook/package.jsonindex 76a3110cb40..1b50f91c9a3 100644--- a/apps/storybook/package.json+++ b/apps/storybook/package.json@@ -20,7 +20,7 @@"@radix-ui/react-slider": "^1.0.0","@radix-ui/react-switch": "^1.0.0","@radix-ui/react-tooltip": "^1.0.0",- "next": "^12.3.1",+ "next": "^13.1.1","react": "^18.2.0","react-dom": "^18.2.0"},diff --git a/apps/swagger/package.json b/apps/swagger/package.jsonindex b1aebeb15d2..6fa2dc8067d 100644--- a/apps/swagger/package.json+++ b/apps/swagger/package.json@@ -14,7 +14,7 @@"dependencies": {"highlight.js": "^11.6.0","isarray": "2.0.5",- "next": "^12.3.1",+ "next": "^13.1.1","openapi-snippet": "^0.13.0","react": "^18.2.0","react-dom": "^18.2.0",diff --git a/apps/web/components/NavTabs.tsx b/apps/web/components/NavTabs.tsxindex 47eb0ac4f7d..df04e077739 100644--- a/apps/web/components/NavTabs.tsx+++ b/apps/web/components/NavTabs.tsx@@ -62,7 +62,7 @@ const NavTabs: FC<NavTabProps> = ({ tabs, linkProps, ...props }) => {const className = tab.className || "";return (<Component key={tab.name}>- <Link key={tab.name} href={href} {...linkProps}>+ <Link key={tab.name} href={href} {...linkProps} legacyBehavior><aonClick={onClick}className={classNames(diff --git a/apps/web/components/apps/App.tsx b/apps/web/components/apps/App.tsxindex 9be106ae2ef..531e45acccf 100644--- a/apps/web/components/apps/App.tsx+++ b/apps/web/components/apps/App.tsx@@ -98,8 +98,10 @@ const Component = ({<h1 className="font-cal ml-4 text-3xl text-gray-900">{name}</h1></div><h2 className="text-sm font-medium text-gray-600">- <Link href={`categories/${categories[0]}`}>- <a className="rounded-md bg-gray-100 p-1 text-xs capitalize text-gray-800">{categories[0]}</a>+ <Link+ href={`categories/${categories[0]}`}+ className="rounded-md bg-gray-100 p-1 text-xs capitalize text-gray-800">+ {categories[0]}</Link>{" "}• {t("published_by", { author })}</h2>diff --git a/apps/web/components/booking/AvailableTimes.tsx b/apps/web/components/booking/AvailableTimes.tsxindex b65b2d1fbd4..daba4dd91ef 100644--- a/apps/web/components/booking/AvailableTimes.tsx+++ b/apps/web/components/booking/AvailableTimes.tsx@@ -114,29 +114,29 @@ const AvailableTimes: FC<AvailableTimesProps> = ({{!!seatsPerTimeSlot && <p className="text-sm">{t("booking_full")}</p>}</div>) : (- <Link href={bookingUrl} prefetch={false}>- <a- className={classNames(- "text-primary-500 hover:border-gray-900 hover:bg-gray-50",- "dark:bg-darkgray-200 dark:hover:bg-darkgray-300 dark:hover:border-darkmodebrand mb-2 block rounded-md border bg-white py-2 text-sm font-medium dark:border-transparent dark:text-neutral-200",- brand === "#fff" || brand === "#ffffff" ? "" : ""- )}- data-testid="time">- {dayjs(slot.time).tz(timeZone()).format(timeFormat)}- {!!seatsPerTimeSlot && (- <p- className={`${- slot.attendees && slot.attendees / seatsPerTimeSlot >= 0.8- ? "text-rose-600"- : slot.attendees && slot.attendees / seatsPerTimeSlot >= 0.33- ? "text-yellow-500"- : "text-emerald-400"- } text-sm`}>- {slot.attendees ? seatsPerTimeSlot - slot.attendees : seatsPerTimeSlot} /{" "}- {seatsPerTimeSlot} {t("seats_available")}- </p>- )}- </a>+ <Link+ href={bookingUrl}+ prefetch={false}+ className={classNames(+ "text-primary-500 hover:border-gray-900 hover:bg-gray-50",+ "dark:bg-darkgray-200 dark:hover:bg-darkgray-300 dark:hover:border-darkmodebrand mb-2 block rounded-md border bg-white py-2 text-sm font-medium dark:border-transparent dark:text-neutral-200",+ brand === "#fff" || brand === "#ffffff" ? "" : ""+ )}+ data-testid="time">+ {dayjs(slot.time).tz(timeZone()).format(timeFormat)}+ {!!seatsPerTimeSlot && (+ <p+ className={`${+ slot.attendees && slot.attendees / seatsPerTimeSlot >= 0.8+ ? "text-rose-600"+ : slot.attendees && slot.attendees / seatsPerTimeSlot >= 0.33+ ? "text-yellow-500"+ : "text-emerald-400"+ } text-sm`}>+ {slot.attendees ? seatsPerTimeSlot - slot.attendees : seatsPerTimeSlot} /{" "}+ {seatsPerTimeSlot} {t("seats_available")}+ </p>+ )}</Link>)}</div>diff --git a/apps/web/components/eventtype/EventAdvancedTab.tsx b/apps/web/components/eventtype/EventAdvancedTab.tsxindex df4f1c81731..b1c72d61538 100644--- a/apps/web/components/eventtype/EventAdvancedTab.tsx+++ b/apps/web/components/eventtype/EventAdvancedTab.tsx@@ -93,10 +93,11 @@ export const EventAdvancedTab = ({ eventType, team }: Pick<EventTypeSetupProps,<div className="flex flex-col"><div className="flex justify-between"><Label>{t("add_to_calendar")}</Label>- <Link href="/apps/categories/calendar">- <a target="_blank" className="text-sm text-gray-600 hover:text-gray-900">- {t("add_another_calendar")}- </a>+ <Link+ href="/apps/categories/calendar"+ target="_blank"+ className="text-sm text-gray-600 hover:text-gray-900">+ {t("add_another_calendar")}</Link></div><div className="-mt-1 w-full">@@ -266,12 +267,10 @@ export const EventAdvancedTab = ({ eventType, team }: Pick<EventTypeSetupProps,/>{/*TODO: Extract it out into a component when used more than once*/}{!IS_SELF_HOSTED && (- <Link href="https://cal.com/pricing">- <a target="_blank">- <Badge variant="orange" className="ml-2">- Platform Only- </Badge>- </a>+ <Link href="https://cal.com/pricing" target="_blank">+ <Badge variant="orange" className="ml-2">+ Platform Only+ </Badge></Link>)}</div>diff --git a/apps/web/components/ui/AvatarGroup.tsx b/apps/web/components/ui/AvatarGroup.tsxindex f42b65d25c5..acaaf905570 100644--- a/apps/web/components/ui/AvatarGroup.tsx+++ b/apps/web/components/ui/AvatarGroup.tsx@@ -35,13 +35,7 @@ export const AvatarGroup = function AvatarGroup(props: AvatarGroupProps) {return (<li key={idx} className="-ltr:mr-2 inline-block rtl:ml-2">- {item.href ? (- <Link href={item.href}>- <a>{avatar}</a>- </Link>- ) : (- avatar- )}+ {item.href ? <Link href={item.href}>{avatar}</Link> : avatar}</li>);}diff --git a/apps/web/components/ui/LinkText.tsx b/apps/web/components/ui/LinkText.tsxdeleted file mode 100644index 5deca4ca778..00000000000--- a/apps/web/components/ui/LinkText.tsx+++ /dev/null@@ -1,22 +0,0 @@-import Link from "next/link";--interface ILinkTextProps {- href: string;- children: React.ReactNode;- classNameChildren?: string;- target?: string;-}-/**- * This component had to be made in order to make i18n work with next/link- * @see https://github.com/i18next/react-i18next/issues/1090#issuecomment-615426145- **/-export const LinkText = (props: ILinkTextProps) => {- const { target, href, children, classNameChildren, ...moreProps } = props;- return (- <Link href={href || ""} {...moreProps}>- <a target={target || ""} className={classNameChildren}>- {children}- </a>- </Link>- );-};diff --git a/apps/web/components/ui/PoweredByCal.tsx b/apps/web/components/ui/PoweredByCal.tsxindex 702c41f13d2..7bc8d526de3 100644--- a/apps/web/components/ui/PoweredByCal.tsx+++ b/apps/web/components/ui/PoweredByCal.tsx@@ -9,26 +9,21 @@ const PoweredByCal = () => {const isEmbed = useIsEmbed();return (<div className={"p-2 text-center text-xs sm:text-right" + (isEmbed ? " max-w-3xl" : "")}>- <Link href={POWERED_BY_URL}>- <a target="_blank" className="text-bookinglight opacity-50 hover:opacity-100 dark:text-white">- {t("powered_by")}{" "}- {- // eslint-disable-next-line @next/next/no-img-element- <img- className="relative -mt-px inline h-[10px] w-auto dark:hidden"- src="/cal-logo-word.svg"- alt="Cal.com Logo"- />- }- {- // eslint-disable-next-line @next/next/no-img-element- <img- className="relativ -mt-px hidden h-[10px] w-auto dark:inline"- src="/cal-logo-word-dark.svg"- alt="Cal.com Logo"- />- }- </a>+ <Link+ href={POWERED_BY_URL}+ target="_blank"+ className="text-bookinglight opacity-50 hover:opacity-100 dark:text-white">+ {t("powered_by")}{" "}+ <img+ className="relative -mt-px inline h-[10px] w-auto dark:hidden"+ src="/cal-logo-word.svg"+ alt="Cal.com Logo"+ />+ <img+ className="relativ -mt-px hidden h-[10px] w-auto dark:inline"+ src="/cal-logo-word-dark.svg"+ alt="Cal.com Logo"+ /></Link></div>);diff --git a/apps/web/next.config.js b/apps/web/next.config.jsindex 5bf9ad5eb47..4c046f461de 100644--- a/apps/web/next.config.js+++ b/apps/web/next.config.js@@ -89,6 +89,12 @@ const nextConfig = {eslint: {ignoreDuringBuilds: !!process.env.CI,},+ // TODO: We need to have all components in `@calcom/ui/components` in order to use this+ // modularizeImports: {+ // "@calcom/ui": {+ // transform: "@calcom/ui/components/{{member}}",+ // },+ // },images: {unoptimized: true,},diff --git a/apps/web/package.json b/apps/web/package.jsonindex b5bd1681004..a121df1f0cd 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -67,6 +67,7 @@"bcryptjs": "^2.4.3","classnames": "^2.3.1","dotenv-cli": "^6.0.0",+ "eslint-config-next": "^13.1.1","googleapis": "^84.0.0","gray-matter": "^4.0.3","handlebars": "^4.7.7",@@ -80,15 +81,15 @@"memory-cache": "^0.2.0","micro": "^9.4.1","mime-types": "^2.1.35",- "next": "^12.3.1",+ "next": "^13.1.1","next-auth": "^4.10.3",- "next-axiom": "^0.10.0",+ "next-axiom": "^0.16.0","next-collect": "^0.2.1","next-i18next": "^11.3.0",- "next-mdx-remote": "^4.1.0",+ "next-mdx-remote": "^4.2.1","next-seo": "^4.26.0","next-themes": "^0.2.0",- "next-transpile-modules": "^9.0.0",+ "next-transpile-modules": "^10.0.0","nock": "^13.2.8","nodemailer": "^6.7.8","otplib": "^12.0.1",diff --git a/apps/web/pages/404.tsx b/apps/web/pages/404.tsxindex 6b8b62233ab..935f640a957 100644--- a/apps/web/pages/404.tsx+++ b/apps/web/pages/404.tsx@@ -98,26 +98,26 @@ export default function Custom404() {<ul role="list" className="divide-y divide-gray-200 border-gray-200"><li className="px-4 py-2">- <Link href={`${DEVELOPER_DOCS}/self-hosting/installation`}>- <a className="relative flex items-start space-x-4 py-6 rtl:space-x-reverse">- <div className="flex-shrink-0">- <span className="flex h-12 w-12 items-center justify-center rounded-lg bg-gray-50">- <Icon.FiFileText className="h-6 w-6 text-gray-700" aria-hidden="true" />+ <Link+ href={`${DEVELOPER_DOCS}/self-hosting/installation`}+ className="relative flex items-start space-x-4 py-6 rtl:space-x-reverse">+ <div className="flex-shrink-0">+ <span className="flex h-12 w-12 items-center justify-center rounded-lg bg-gray-50">+ <Icon.FiFileText className="h-6 w-6 text-gray-700" aria-hidden="true" />+ </span>+ </div>+ <div className="min-w-0 flex-1">+ <h3 className="text-base font-medium text-gray-900">+ <span className="rounded-sm focus-within:ring-2 focus-within:ring-gray-500 focus-within:ring-offset-2">+ <span className="absolute inset-0" aria-hidden="true" />+ {t("prisma_studio_tip")}</span>- </div>- <div className="min-w-0 flex-1">- <h3 className="text-base font-medium text-gray-900">- <span className="rounded-sm focus-within:ring-2 focus-within:ring-gray-500 focus-within:ring-offset-2">- <span className="absolute inset-0" aria-hidden="true" />- {t("prisma_studio_tip")}- </span>- </h3>- <p className="text-base text-gray-500">{t("prisma_studio_tip_description")}</p>- </div>- <div className="flex-shrink-0 self-center">- <Icon.FiChevronRight className="h-5 w-5 text-gray-400" aria-hidden="true" />- </div>- </a>+ </h3>+ <p className="text-base text-gray-500">{t("prisma_studio_tip_description")}</p>+ </div>+ <div className="flex-shrink-0 self-center">+ <Icon.FiChevronRight className="h-5 w-5 text-gray-400" aria-hidden="true" />+ </div></Link></li><li className="px-4 py-2">@@ -167,11 +167,11 @@ export default function Custom404() {</li></ul><div className="mt-8">- <Link href={`${WEBSITE_URL}/enterprise`}>- <a className="text-base font-medium text-black hover:text-gray-500">- {t("contact_sales")}- <span aria-hidden="true"> →</span>- </a>+ <Link+ href={`${WEBSITE_URL}/enterprise`}+ className="text-base font-medium text-black hover:text-gray-500">+ {t("contact_sales")}+ <span aria-hidden="true"> →</span></Link></div></div>@@ -243,26 +243,26 @@ export default function Custom404() {<ul role="list" className="mt-4 divide-y divide-gray-200 border-gray-200">{links.map((link, linkIdx) => (<li key={linkIdx} className="px-4 py-2">- <Link href={link.href}>- <a className="relative flex items-start space-x-4 py-6 rtl:space-x-reverse">- <div className="flex-shrink-0">- <span className="flex h-12 w-12 items-center justify-center rounded-lg bg-gray-50">- <link.icon className="h-6 w-6 text-gray-700" aria-hidden="true" />+ <Link+ href={link.href}+ className="relative flex items-start space-x-4 py-6 rtl:space-x-reverse">+ <div className="flex-shrink-0">+ <span className="flex h-12 w-12 items-center justify-center rounded-lg bg-gray-50">+ <link.icon className="h-6 w-6 text-gray-700" aria-hidden="true" />+ </span>+ </div>+ <div className="min-w-0 flex-1">+ <h3 className="text-base font-medium text-gray-900">+ <span className="rounded-sm focus-within:ring-2 focus-within:ring-gray-500 focus-within:ring-offset-2">+ <span className="absolute inset-0" aria-hidden="true" />+ {link.title}</span>- </div>- <div className="min-w-0 flex-1">- <h3 className="text-base font-medium text-gray-900">- <span className="rounded-sm focus-within:ring-2 focus-within:ring-gray-500 focus-within:ring-offset-2">- <span className="absolute inset-0" aria-hidden="true" />- {link.title}- </span>- </h3>- <p className="text-base text-gray-500">{link.description}</p>- </div>- <div className="flex-shrink-0 self-center">- <Icon.FiChevronRight className="h-5 w-5 text-gray-400" aria-hidden="true" />- </div>- </a>+ </h3>+ <p className="text-base text-gray-500">{link.description}</p>+ </div>+ <div className="flex-shrink-0 self-center">+ <Icon.FiChevronRight className="h-5 w-5 text-gray-400" aria-hidden="true" />+ </div></Link></li>))}@@ -313,11 +313,9 @@ export default function Custom404() {</li></ul><div className="mt-8">- <Link href="/">- <a className="text-base font-medium text-black hover:text-gray-500">- {t("or_go_back_home")}- <span aria-hidden="true"> →</span>- </a>+ <Link href="/" className="text-base font-medium text-black hover:text-gray-500">+ {t("or_go_back_home")}+ <span aria-hidden="true"> →</span></Link></div></div>diff --git a/apps/web/pages/[user].tsx b/apps/web/pages/[user].tsxindex db858d43f22..d43dbe54aac 100644--- a/apps/web/pages/[user].tsx+++ b/apps/web/pages/[user].tsx@@ -1,6 +1,5 @@import classNames from "classnames";import { GetServerSidePropsContext } from "next";-import dynamic from "next/dynamic";import Link from "next/link";import { useRouter } from "next/router";import { useEffect } from "react";@@ -60,25 +59,26 @@ export default function User(props: inferSSRProps<typeof getServerSideProps> & Ekey={index}className="dark:bg-darkgray-100 group relative border-b border-neutral-200 bg-white first:rounded-t-md last:rounded-b-md last:border-b-0 hover:bg-gray-50 dark:border-neutral-700 dark:hover:border-neutral-600"><Icon.FiArrowRight className="absolute right-3 top-3 h-4 w-4 text-black opacity-0 transition-opacity group-hover:opacity-100 dark:text-white" />- <Link href={getUsernameSlugLink({ users: props.users, slug: type.slug })}>- <a className="flex justify-between px-6 py-4" data-testid="event-type-link">- <div className="flex-shrink">- <p className="dark:text-darkgray-700 text-sm font-semibold text-neutral-900">{type.title}</p>- <EventTypeDescription className="text-sm" eventType={type} />- </div>- <div className="mt-1 self-center">- <AvatarGroup- border="border-2 border-white dark:border-darkgray-100"- truncateAfter={4}- className="flex flex-shrink-0"- size={10}- items={props.users.map((user) => ({- alt: user.name || "",- image: user.avatar || "",- }))}- />- </div>- </a>+ <Link+ href={getUsernameSlugLink({ users: props.users, slug: type.slug })}+ className="flex justify-between px-6 py-4"+ data-testid="event-type-link">+ <div className="flex-shrink">+ <p className="dark:text-darkgray-700 text-sm font-semibold text-neutral-900">{type.title}</p>+ <EventTypeDescription className="text-sm" eventType={type} />+ </div>+ <div className="mt-1 self-center">+ <AvatarGroup+ border="border-2 border-white dark:border-darkgray-100"+ truncateAfter={4}+ className="flex flex-shrink-0"+ size={10}+ items={props.users.map((user) => ({+ alt: user.name || "",+ image: user.avatar || "",+ }))}+ />+ </div></Link></li>))}@@ -175,22 +175,20 @@ export default function User(props: inferSSRProps<typeof getServerSideProps> & Ehref={{pathname: `/${user.username}/${type.slug}`,query,- }}>- <a- onClick={async () => {- sdkActionManager?.fire("eventTypeSelected", {- eventType: type,- });- }}- className="block w-full p-5"- data-testid="event-type-link">- <div className="flex flex-wrap items-center">- <h2 className="dark:text-darkgray-700 pr-2 text-sm font-semibold text-gray-700">- {type.title}- </h2>- </div>- <EventTypeDescription eventType={type} />- </a>+ }}+ onClick={async () => {+ sdkActionManager?.fire("eventTypeSelected", {+ eventType: type,+ });+ }}+ className="block w-full p-5"+ data-testid="event-type-link">+ <div className="flex flex-wrap items-center">+ <h2 className="dark:text-darkgray-700 pr-2 text-sm font-semibold text-gray-700">+ {type.title}+ </h2>+ </div>+ <EventTypeDescription eventType={type} /></Link></div>))diff --git a/apps/web/pages/apps/[slug]/index.tsx b/apps/web/pages/apps/[slug]/index.tsxindex 5d96a7e93b9..778ddf27a16 100644--- a/apps/web/pages/apps/[slug]/index.tsx+++ b/apps/web/pages/apps/[slug]/index.tsx@@ -3,7 +3,7 @@ import matter from "gray-matter";import { GetStaticPaths, GetStaticPropsContext } from "next";import { MDXRemote } from "next-mdx-remote";import { serialize } from "next-mdx-remote/serialize";-import Image from "next/image";+import Image, { ImageProps } from "next/legacy/image";import Link from "next/link";import path from "path";@@ -16,13 +16,18 @@ import App from "@components/apps/App";const components = {a: ({ href = "", ...otherProps }: JSX.IntrinsicElements["a"]) => (- <Link href={href}>+ <Link href={href} legacyBehavior><a {...otherProps} /></Link>),- img: ({ src = "", alt = "", placeholder, ...rest }: JSX.IntrinsicElements["img"]) => (- <Image src={src} alt={alt} {...rest} />- ),+ img: ({+ src = "",+ alt = "",+ placeholder,+ ...rest+ }: Partial<+ Omit<ImageProps, "src" | "srcSet" | "ref" | "alt" | "width" | "height" | "loading" | "placeholder">+ > & { src?: string; alt?: string; placeholder?: string }) => <Image src={src} alt={alt} {...rest} />,// @TODO: In v2 the slider isn't shown anymore. However, to ensure the v1 pages keep// working, this component is still rendered in the MDX content. To skip them in the v2// content we have to render null here. In v2 the gallery is shown by directlydiff --git a/apps/web/pages/apps/categories/[category].tsx b/apps/web/pages/apps/categories/[category].tsxindex bc7faeccbee..0b5eb99aeb7 100644--- a/apps/web/pages/apps/categories/[category].tsx+++ b/apps/web/pages/apps/categories/[category].tsx@@ -20,10 +20,10 @@ export default function Apps({ apps }: InferGetStaticPropsType<typeof getStaticPbackPath="/apps"heading={<>- <Link href="/apps">- <a className="inline-flex items-center justify-start gap-1 rounded-sm py-2 text-gray-900">- {isLocaleReady ? t("app_store") : <SkeletonText className="h-4 w-24" />}{" "}- </a>+ <Link+ href="/apps"+ className="inline-flex items-center justify-start gap-1 rounded-sm py-2 text-gray-900">+ {isLocaleReady ? t("app_store") : <SkeletonText className="h-4 w-24" />}{" "}</Link>{category && (<span className="gap-1 text-gray-600">diff --git a/apps/web/pages/apps/categories/index.tsx b/apps/web/pages/apps/categories/index.tsxindex 94d17d8ac2a..4667fc4d4fd 100644--- a/apps/web/pages/apps/categories/index.tsx+++ b/apps/web/pages/apps/categories/index.tsx@@ -11,28 +11,28 @@ export default function Apps({ categories }: InferGetStaticPropsType<typeof getSreturn (<Shell isPublic large><div className="text-md flex items-center gap-1 px-4 pb-3 pt-3 font-normal md:px-8 lg:px-0 lg:pt-0">- <Link href="/apps">- <a className="inline-flex items-center justify-start gap-1 rounded-sm py-2 text-gray-900">- <Icon.FiArrowLeft className="h-4 w-4" />- {isLocaleReady ? t("app_store") : <SkeletonText className="h-6 w-24" />}{" "}- </a>+ <Link+ href="/apps"+ className="inline-flex items-center justify-start gap-1 rounded-sm py-2 text-gray-900">+ <Icon.FiArrowLeft className="h-4 w-4" />+ {isLocaleReady ? t("app_store") : <SkeletonText className="h-6 w-24" />}{" "}</Link></div><div className="mb-16"><div className="grid h-auto w-full grid-cols-5 gap-3">{categories.map((category) => (- <Link key={category.name} href={"/apps/categories/" + category.name}>- <a- data-testid={`app-store-category-${category.name}`}- className="relative flex rounded-sm bg-gray-100 px-6 py-4 sm:block">- <div className="self-center">- <h3 className="font-medium capitalize">{category.name}</h3>- <p className="text-sm text-gray-500">- {t("number_apps", { count: category.count })}{" "}- <Icon.FiArrowRight className="inline-block h-4 w-4" />- </p>- </div>- </a>+ <Link+ key={category.name}+ href={"/apps/categories/" + category.name}+ data-testid={`app-store-category-${category.name}`}+ className="relative flex rounded-sm bg-gray-100 px-6 py-4 sm:block">+ <div className="self-center">+ <h3 className="font-medium capitalize">{category.name}</h3>+ <p className="text-sm text-gray-500">+ {t("number_apps", { count: category.count })}{" "}+ <Icon.FiArrowRight className="inline-block h-4 w-4" />+ </p>+ </div></Link>))}</div>diff --git a/apps/web/pages/auth/error.tsx b/apps/web/pages/auth/error.tsxindex 2ebb336dc61..2463015e5e8 100644--- a/apps/web/pages/auth/error.tsx+++ b/apps/web/pages/auth/error.tsx@@ -40,7 +40,7 @@ export default function Error() {</div></div><div className="mt-5 sm:mt-6">- <Link href="/auth/login" passHref>+ <Link href="/auth/login" passHref legacyBehavior><Button className="flex w-full justify-center">{t("go_back_login")}</Button></Link></div>diff --git a/apps/web/pages/auth/forgot-password/[id].tsx b/apps/web/pages/auth/forgot-password/[id].tsxindex 5b423518938..ba4fec77601 100644--- a/apps/web/pages/auth/forgot-password/[id].tsx+++ b/apps/web/pages/auth/forgot-password/[id].tsx@@ -81,7 +81,7 @@ export default function Page({ resetPasswordRequest, csrfToken }: Props) {<h2 className="text-center text-3xl font-extrabold text-gray-900">{t("request_is_expired")}</h2></div><p>{t("request_is_expired_instructions")}</p>- <Link href="/auth/forgot-password" passHref>+ <Link href="/auth/forgot-password" passHref legacyBehavior><buttontype="button"className="flex w-full justify-center px-4 py-2 text-sm font-medium text-blue-600 focus:outline-none focus:ring-2 focus:ring-black focus:ring-offset-2">diff --git a/apps/web/pages/auth/forgot-password/index.tsx b/apps/web/pages/auth/forgot-password/index.tsxindex f5f33b18e5f..5a72195059d 100644--- a/apps/web/pages/auth/forgot-password/index.tsx+++ b/apps/web/pages/auth/forgot-password/index.tsx@@ -94,8 +94,8 @@ export default function ForgotPassword({ csrfToken }: { csrfToken: string }) {footerText={!success && (<>- <Link href="/auth/login">- <a className="font-medium text-neutral-900">{t("back_to_signin")}</a>+ <Link href="/auth/login" className="font-medium text-neutral-900">+ {t("back_to_signin")}</Link></>)diff --git a/apps/web/pages/auth/login.tsx b/apps/web/pages/auth/login.tsxindex 19c18b25494..0442917bf88 100644--- a/apps/web/pages/auth/login.tsx+++ b/apps/web/pages/auth/login.tsx@@ -133,10 +133,11 @@ export default function Login({/><div className="relative"><div className="absolute -top-[6px] z-10 ltr:right-0 rtl:left-0">- <Link href="/auth/forgot-password">- <a tabIndex={-1} className="text-sm font-medium text-gray-600">- {t("forgot")}- </a>+ <Link+ href="/auth/forgot-password"+ tabIndex={-1}+ className="text-sm font-medium text-gray-600">+ {t("forgot")}</Link></div><PasswordFielddiff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsxindex 2bb5e1a2d84..6351ecd97d5 100644--- a/apps/web/pages/booking/[uid].tsx+++ b/apps/web/pages/booking/[uid].tsx@@ -353,10 +353,10 @@ export default function Success(props: SuccessProps) {)}{userIsOwner && !isEmbed && (<div className="mt-2 ml-4 -mb-4">- <Link href={allRemainingBookings ? "/bookings/recurring" : "/bookings/upcoming"}>- <a className="mt-2 inline-flex px-1 py-2 text-sm text-gray-500 hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-transparent dark:hover:text-white">- <Icon.FiChevronLeft className="h-5 w-5" /> {t("back_to_bookings")}- </a>+ <Link+ href={allRemainingBookings ? "/bookings/recurring" : "/bookings/upcoming"}+ className="mt-2 inline-flex px-1 py-2 text-sm text-gray-500 hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-transparent dark:hover:text-white">+ <Icon.FiChevronLeft className="h-5 w-5" /> {t("back_to_bookings")}</Link></div>)}@@ -573,7 +573,9 @@ export default function Success(props: SuccessProps) {{!props.recurringBookings && (<span className="text-bookinglight inline text-gray-700"><span className="underline">- <Link href={`/reschedule/${bookingInfo?.uid}`}>{t("reschedule")}</Link>+ <Link href={`/reschedule/${bookingInfo?.uid}`} legacyBehavior>+ {t("reschedule")}+ </Link></span><span className="mx-2">{t("or_lowercase")}</span></span>@@ -633,17 +635,16 @@ export default function Success(props: SuccessProps) {? "&recur=" +encodeURIComponent(new RRule(props.eventType.recurringEvent).toString()): "")- }>- <a className="h-10 w-10 rounded-sm border border-neutral-200 px-3 py-2 ltr:mr-2 rtl:ml-2 dark:border-neutral-700 dark:text-white">- <svg- className="-mt-1.5 inline-block h-4 w-4"- fill="currentColor"- xmlns="http://www.w3.org/2000/svg"- viewBox="0 0 24 24">- <title>Google</title>- <path d="M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z" />- </svg>- </a>+ }+ className="h-10 w-10 rounded-sm border border-neutral-200 px-3 py-2 ltr:mr-2 rtl:ml-2 dark:border-neutral-700 dark:text-white">+ <svg+ className="-mt-1.5 inline-block h-4 w-4"+ fill="currentColor"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 24 24">+ <title>Google</title>+ <path d="M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z" />+ </svg></Link><Linkhref={@@ -657,19 +658,17 @@ export default function Success(props: SuccessProps) {"&subject=" +eventName) + (location ? "&location=" + location : "")- }>- <a- className="mx-2 h-10 w-10 rounded-sm border border-neutral-200 px-3 py-2 dark:border-neutral-700 dark:text-white"- target="_blank">- <svg- className="mr-1 -mt-1.5 inline-block h-4 w-4"- fill="currentColor"- xmlns="http://www.w3.org/2000/svg"- viewBox="0 0 24 24">- <title>Microsoft Outlook</title>- <path d="M7.88 12.04q0 .45-.11.87-.1.41-.33.74-.22.33-.58.52-.37.2-.87.2t-.85-.2q-.35-.21-.57-.55-.22-.33-.33-.75-.1-.42-.1-.86t.1-.87q.1-.43.34-.76.22-.34.59-.54.36-.2.87-.2t.86.2q.35.21.57.55.22.34.31.77.1.43.1.88zM24 12v9.38q0 .46-.33.8-.33.32-.8.32H7.13q-.46 0-.8-.33-.32-.33-.32-.8V18H1q-.41 0-.7-.3-.3-.29-.3-.7V7q0-.41.3-.7Q.58 6 1 6h6.5V2.55q0-.44.3-.75.3-.3.75-.3h12.9q.44 0 .75.3.3.3.3.75V10.85l1.24.72h.01q.1.07.18.18.07.12.07.25zm-6-8.25v3h3v-3zm0 4.5v3h3v-3zm0 4.5v1.83l3.05-1.83zm-5.25-9v3h3.75v-3zm0 4.5v3h3.75v-3zm0 4.5v2.03l2.41 1.5 1.34-.8v-2.73zM9 3.75V6h2l.13.01.12.04v-2.3zM5.98 15.98q.9 0 1.6-.3.7-.32 1.19-.86.48-.55.73-1.28.25-.74.25-1.61 0-.83-.25-1.55-.24-.71-.71-1.24t-1.15-.83q-.68-.3-1.55-.3-.92 0-1.64.3-.71.3-1.2.85-.5.54-.75 1.3-.25.74-.25 1.63 0 .85.26 1.56.26.72.74 1.23.48.52 1.17.81.69.3 1.56.3zM7.5 21h12.39L12 16.08V17q0 .41-.3.7-.29.3-.7.3H7.5zm15-.13v-7.24l-5.9 3.54Z" />- </svg>- </a>+ }+ className="mx-2 h-10 w-10 rounded-sm border border-neutral-200 px-3 py-2 dark:border-neutral-700 dark:text-white"+ target="_blank">+ <svg+ className="mr-1 -mt-1.5 inline-block h-4 w-4"+ fill="currentColor"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 24 24">+ <title>Microsoft Outlook</title>+ <path d="M7.88 12.04q0 .45-.11.87-.1.41-.33.74-.22.33-.58.52-.37.2-.87.2t-.85-.2q-.35-.21-.57-.55-.22-.33-.33-.75-.1-.42-.1-.86t.1-.87q.1-.43.34-.76.22-.34.59-.54.36-.2.87-.2t.86.2q.35.21.57.55.22.34.31.77.1.43.1.88zM24 12v9.38q0 .46-.33.8-.33.32-.8.32H7.13q-.46 0-.8-.33-.32-.33-.32-.8V18H1q-.41 0-.7-.3-.3-.29-.3-.7V7q0-.41.3-.7Q.58 6 1 6h6.5V2.55q0-.44.3-.75.3-.3.75-.3h12.9q.44 0 .75.3.3.3.3.75V10.85l1.24.72h.01q.1.07.18.18.07.12.07.25zm-6-8.25v3h3v-3zm0 4.5v3h3v-3zm0 4.5v1.83l3.05-1.83zm-5.25-9v3h3.75v-3zm0 4.5v3h3.75v-3zm0 4.5v2.03l2.41 1.5 1.34-.8v-2.73zM9 3.75V6h2l.13.01.12.04v-2.3zM5.98 15.98q.9 0 1.6-.3.7-.32 1.19-.86.48-.55.73-1.28.25-.74.25-1.61 0-.83-.25-1.55-.24-.71-.71-1.24t-1.15-.83q-.68-.3-1.55-.3-.92 0-1.64.3-.71.3-1.2.85-.5.54-.75 1.3-.25.74-.25 1.63 0 .85.26 1.56.26.72.74 1.23.48.52 1.17.81.69.3 1.56.3zM7.5 21h12.39L12 16.08V17q0 .41-.3.7-.29.3-.7.3H7.5zm15-.13v-7.24l-5.9 3.54Z" />+ </svg></Link><Linkhref={@@ -683,34 +682,31 @@ export default function Success(props: SuccessProps) {"&subject=" +eventName) + (location ? "&location=" + location : "")- }>- <a- className="mx-2 h-10 w-10 rounded-sm border border-neutral-200 px-3 py-2 dark:border-neutral-700 dark:text-white"- target="_blank">- <svg- className="mr-1 -mt-1.5 inline-block h-4 w-4"- fill="currentColor"- xmlns="http://www.w3.org/2000/svg"- viewBox="0 0 24 24">- <title>Microsoft Office</title>- <path d="M21.53 4.306v15.363q0 .807-.472 1.433-.472.627-1.253.85l-6.888 1.974q-.136.037-.29.055-.156.019-.293.019-.396 0-.72-.105-.321-.106-.656-.292l-4.505-2.544q-.248-.137-.391-.366-.143-.23-.143-.515 0-.434.304-.738.304-.305.739-.305h5.831V4.964l-4.38 1.563q-.533.187-.856.658-.322.472-.322 1.03v8.078q0 .496-.248.912-.25.416-.683.651l-2.072 1.13q-.286.148-.571.148-.497 0-.844-.347-.348-.347-.348-.844V6.563q0-.62.33-1.19.328-.571.874-.881L11.07.285q.248-.136.534-.21.285-.075.57-.075.211 0 .38.031.166.031.364.093l6.888 1.899q.384.11.7.329.317.217.547.52.23.305.353.67.125.367.125.764zm-1.588 15.363V4.306q0-.273-.16-.478-.163-.204-.423-.28l-3.388-.93q-.397-.111-.794-.23-.397-.117-.794-.216v19.68l4.976-1.427q.26-.074.422-.28.161-.204.161-.477z" />- </svg>- </a>+ }+ className="mx-2 h-10 w-10 rounded-sm border border-neutral-200 px-3 py-2 dark:border-neutral-700 dark:text-white"+ target="_blank">+ <svg+ className="mr-1 -mt-1.5 inline-block h-4 w-4"+ fill="currentColor"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 24 24">+ <title>Microsoft Office</title>+ <path d="M21.53 4.306v15.363q0 .807-.472 1.433-.472.627-1.253.85l-6.888 1.974q-.136.037-.29.055-.156.019-.293.019-.396 0-.72-.105-.321-.106-.656-.292l-4.505-2.544q-.248-.137-.391-.366-.143-.23-.143-.515 0-.434.304-.738.304-.305.739-.305h5.831V4.964l-4.38 1.563q-.533.187-.856.658-.322.472-.322 1.03v8.078q0 .496-.248.912-.25.416-.683.651l-2.072 1.13q-.286.148-.571.148-.497 0-.844-.347-.348-.347-.348-.844V6.563q0-.62.33-1.19.328-.571.874-.881L11.07.285q.248-.136.534-.21.285-.075.57-.075.211 0 .38.031.166.031.364.093l6.888 1.899q.384.11.7.329.317.217.547.52.23.305.353.67.125.367.125.764zm-1.588 15.363V4.306q0-.273-.16-.478-.163-.204-.423-.28l-3.388-.93q-.397-.111-.794-.23-.397-.117-.794-.216v19.68l4.976-1.427q.26-.074.422-.28.161-.204.161-.477z" />+ </svg></Link>- <Link href={"data:text/calendar," + eventLink()}>- <a- className="mx-2 h-10 w-10 rounded-sm border border-neutral-200 px-3 py-2 dark:border-neutral-700 dark:text-white"- download={props.eventType.title + ".ics"}>- <svg- version="1.1"- fill="currentColor"- xmlns="http://www.w3.org/2000/svg"- viewBox="0 0 1000 1000"- className="mr-1 -mt-1.5 inline-block h-4 w-4">- <title>{t("other")}</title>- <path d="M971.3,154.9c0-34.7-28.2-62.9-62.9-62.9H611.7c-1.3,0-2.6,0.1-3.9,0.2V10L28.7,87.3v823.4L607.8,990v-84.6c1.3,0.1,2.6,0.2,3.9,0.2h296.7c34.7,0,62.9-28.2,62.9-62.9V154.9z M607.8,636.1h44.6v-50.6h-44.6v-21.9h44.6v-50.6h-44.6v-92h277.9v230.2c0,3.8-3.1,7-7,7H607.8V636.1z M117.9,644.7l-50.6-2.4V397.5l50.6-2.2V644.7z M288.6,607.3c17.6,0.6,37.3-2.8,49.1-7.2l9.1,48c-11,5.1-35.6,9.9-66.9,8.3c-85.4-4.3-127.5-60.7-127.5-132.6c0-86.2,57.8-136.7,133.2-140.1c30.3-1.3,53.7,4,64.3,9.2l-12.2,48.9c-12.1-4.9-28.8-9.2-49.5-8.6c-45.3,1.2-79.5,30.1-79.5,87.4C208.8,572.2,237.8,605.7,288.6,607.3z M455.5,665.2c-32.4-1.6-63.7-11.3-79.1-20.5l12.6-50.7c16.8,9.1,42.9,18.5,70.4,19.4c30.1,1,46.3-10.7,46.3-29.3c0-17.8-14-28.1-48.8-40.6c-46.9-16.4-76.8-41.7-76.8-81.5c0-46.6,39.3-84.1,106.8-87.1c33.3-1.5,58.3,4.2,76.5,11.2l-15.4,53.3c-12.1-5.3-33.5-12.8-62.3-12c-28.3,0.8-41.9,13.6-41.9,28.1c0,17.8,16.1,25.5,53.6,39c52.9,18.5,78.4,45.3,78.4,86.4C575.6,629.7,536.2,669.2,455.5,665.2z M935.3,842.7c0,14.9-12.1,27-27,27H611.7c-1.3,0-2.6-0.2-3.9-0.4V686.2h270.9c19.2,0,34.9-15.6,34.9-34.9V398.4c0-19.2-15.6-34.9-34.9-34.9h-47.1v-32.3H808v32.3h-44.8v-32.3h-22.7v32.3h-43.3v-32.3h-22.7v32.3H628v-32.3h-20.2v-203c1.31.2,2.6-0.4,3.9-0.4h296.7c14.9,0,27,12.1,27,27L935.3,842.7L935.3,842.7z" />- </svg>- </a>+ <Link+ href={"data:text/calendar," + eventLink()}+ className="mx-2 h-10 w-10 rounded-sm border border-neutral-200 px-3 py-2 dark:border-neutral-700 dark:text-white"+ download={props.eventType.title + ".ics"}>+ <svg+ version="1.1"+ fill="currentColor"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 1000 1000"+ className="mr-1 -mt-1.5 inline-block h-4 w-4">+ <title>{t("other")}</title>+ <path d="M971.3,154.9c0-34.7-28.2-62.9-62.9-62.9H611.7c-1.3,0-2.6,0.1-3.9,0.2V10L28.7,87.3v823.4L607.8,990v-84.6c1.3,0.1,2.6,0.2,3.9,0.2h296.7c34.7,0,62.9-28.2,62.9-62.9V154.9z M607.8,636.1h44.6v-50.6h-44.6v-21.9h44.6v-50.6h-44.6v-92h277.9v230.2c0,3.8-3.1,7-7,7H607.8V636.1z M117.9,644.7l-50.6-2.4V397.5l50.6-2.2V644.7z M288.6,607.3c17.6,0.6,37.3-2.8,49.1-7.2l9.1,48c-11,5.1-35.6,9.9-66.9,8.3c-85.4-4.3-127.5-60.7-127.5-132.6c0-86.2,57.8-136.7,133.2-140.1c30.3-1.3,53.7,4,64.3,9.2l-12.2,48.9c-12.1-4.9-28.8-9.2-49.5-8.6c-45.3,1.2-79.5,30.1-79.5,87.4C208.8,572.2,237.8,605.7,288.6,607.3z M455.5,665.2c-32.4-1.6-63.7-11.3-79.1-20.5l12.6-50.7c16.8,9.1,42.9,18.5,70.4,19.4c30.1,1,46.3-10.7,46.3-29.3c0-17.8-14-28.1-48.8-40.6c-46.9-16.4-76.8-41.7-76.8-81.5c0-46.6,39.3-84.1,106.8-87.1c33.3-1.5,58.3,4.2,76.5,11.2l-15.4,53.3c-12.1-5.3-33.5-12.8-62.3-12c-28.3,0.8-41.9,13.6-41.9,28.1c0,17.8,16.1,25.5,53.6,39c52.9,18.5,78.4,45.3,78.4,86.4C575.6,629.7,536.2,669.2,455.5,665.2z M935.3,842.7c0,14.9-12.1,27-27,27H611.7c-1.3,0-2.6-0.2-3.9-0.4V686.2h270.9c19.2,0,34.9-15.6,34.9-34.9V398.4c0-19.2-15.6-34.9-34.9-34.9h-47.1v-32.3H808v32.3h-44.8v-32.3h-22.7v32.3h-43.3v-32.3h-22.7v32.3H628v-32.3h-20.2v-203c1.31.2,2.6-0.4,3.9-0.4h296.7c14.9,0,27,12.1,27,27L935.3,842.7L935.3,842.7z" />+ </svg></Link></div></div>diff --git a/apps/web/pages/event-types/index.tsx b/apps/web/pages/event-types/index.tsxindex f7fc24ffbfd..97222443ad8 100644--- a/apps/web/pages/event-types/index.tsx+++ b/apps/web/pages/event-types/index.tsx@@ -64,27 +64,26 @@ const Item = ({ type, group, readOnly }: { type: EventType; group: EventTypeGrouconst { t } = useLocale();return (- <Link href={`/event-types/${type.id}?tabName=setup`}>- <a- className="flex-1 overflow-hidden pr-4 text-sm"- title={`${type.title} ${type.description ? `– ${type.description}` : ""}`}>- <div>- <span- className="font-semibold text-gray-700 ltr:mr-1 rtl:ml-1"- data-testid={"event-type-title-" + type.id}>- {type.title}+ <Link+ href={`/event-types/${type.id}?tabName=setup`}+ className="flex-1 overflow-hidden pr-4 text-sm"+ title={`${type.title} ${type.description ? `– ${type.description}` : ""}`}>+ <div>+ <span+ className="font-semibold text-gray-700 ltr:mr-1 rtl:ml-1"+ data-testid={"event-type-title-" + type.id}>+ {type.title}+ </span>+ <small+ className="hidden font-normal leading-4 text-gray-600 sm:inline"+ data-testid={"event-type-slug-" + type.id}>{`/${group.profile.slug}/${type.slug}`}</small>+ {readOnly && (+ <span className="rtl:ml-2inline items-center rounded-sm bg-gray-100 px-1.5 py-0.5 text-xs font-medium text-gray-800 ltr:ml-2 ltr:mr-2">+ {t("readonly")}</span>- <small- className="hidden font-normal leading-4 text-gray-600 sm:inline"- data-testid={"event-type-slug-" + type.id}>{`/${group.profile.slug}/${type.slug}`}</small>- {readOnly && (- <span className="rtl:ml-2inline items-center rounded-sm bg-gray-100 px-1.5 py-0.5 text-xs font-medium text-gray-800 ltr:ml-2 ltr:mr-2">- {t("readonly") as string}- </span>- )}- </div>- <EventTypeDescription eventType={type} />- </a>+ )}+ </div>+ <EventTypeDescription eventType={type} /></Link>);};@@ -297,7 +296,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL{t("hidden")}</Badge>)}- <Tooltip content={t("show_eventtype_on_profile") as string}>+ <Tooltip content={t("show_eventtype_on_profile")}><div className="self-center rounded-md p-2 hover:bg-gray-200"><Switchname="Hidden"@@ -310,7 +309,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL</Tooltip><ButtonGroup combined>- <Tooltip content={t("preview") as string}>+ <Tooltip content={t("preview")}><Buttoncolor="secondary"target="_blank"@@ -320,7 +319,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL/></Tooltip>- <Tooltip content={t("copy_link") as string}>+ <Tooltip content={t("copy_link")}><Buttoncolor="secondary"size="icon"@@ -350,7 +349,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeLdata-testid={"event-type-edit-" + type.id}StartIcon={Icon.FiEdit2}onClick={() => router.push("/event-types/" + type.id)}>- {t("edit") as string}+ {t("edit")}</DropdownItem></DropdownMenuItem><DropdownMenuItem className="outline-none">@@ -359,7 +358,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeLdata-testid={"event-type-duplicate-" + type.id}StartIcon={Icon.FiCopy}onClick={() => openDuplicateModal(type)}>- {t("duplicate") as string}+ {t("duplicate")}</DropdownItem></DropdownMenuItem><DropdownMenuItem className="outline-none">@@ -383,7 +382,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL}}StartIcon={Icon.FiTrash}className="w-full rounded-none">- {t("delete") as string}+ {t("delete")}</DropdownItem></DropdownMenuItem>)}@@ -402,15 +401,13 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL<DropdownMenuPortal><DropdownMenuContent><DropdownMenuItem className="outline-none">- <Link href={calLink}>- <a target="_blank">- <Button- color="minimal"- StartIcon={Icon.FiExternalLink}- className="w-full rounded-none">- {t("preview") as string}- </Button>- </a>+ <Link href={calLink} target="_blank">+ <Button+ color="minimal"+ StartIcon={Icon.FiExternalLink}+ className="w-full rounded-none">+ {t("preview")}+ </Button></Link></DropdownMenuItem><DropdownMenuItem className="outline-none">@@ -424,7 +421,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeLnavigator.clipboard.writeText(calLink);showToast(t("link_copied"), "success");}}>- {t("copy_link") as string}+ {t("copy_link")}</Button></DropdownMenuItem>{isNativeShare ? (@@ -445,7 +442,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL.then(() => showToast(t("link_shared"), "success")).catch(() => showToast(t("failed"), "error"));}}>- {t("share") as string}+ {t("share")}</Button></DropdownMenuItem>) : null}@@ -456,7 +453,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeLcolor="minimal"className="w-full rounded-none"StartIcon={Icon.FiEdit}>- {t("edit") as string}+ {t("edit")}</Button></DropdownMenuItem><DropdownMenuItem className="outline-none">@@ -467,7 +464,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeLdata-testid={"event-type-duplicate-" + type.id}StartIcon={Icon.FiCopy}onClick={() => openDuplicateModal(type)}>- {t("duplicate") as string}+ {t("duplicate")}</Button></DropdownMenuItem><DropdownMenuSeparator className="h-px bg-gray-200" />@@ -480,7 +477,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeLcolor="destructive"StartIcon={Icon.FiTrash}className="w-full rounded-none">- {t("delete") as string}+ {t("delete")}</Button></DropdownMenuItem></DropdownMenuContent>@@ -502,7 +499,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeLe.preventDefault();deleteEventTypeHandler(deleteDialogTypeId);}}>- {t("delete_event_type_description") as string}+ {t("delete_event_type_description")}</ConfirmationDialogContent></Dialog></div>@@ -517,36 +514,32 @@ const EventTypeListHeading = ({return (<div className="mb-4 flex"><Link href={teamId ? `/settings/teams/${teamId}/profile` : "/settings/my-account/profile"}>- <a>- <Avatar- alt={profile?.name || ""}- imageSrc={`${WEBAPP_URL}/${profile.slug}/avatar.png` || undefined}- size={8}- className="mt-1 inline ltr:mr-2 rtl:ml-2"- />- </a>+ <Avatar+ alt={profile?.name || ""}+ imageSrc={`${WEBAPP_URL}/${profile.slug}/avatar.png` || undefined}+ size={8}+ className="mt-1 inline ltr:mr-2 rtl:ml-2"+ /></Link><div>- <Link href={teamId ? `/settings/teams/${teamId}/profile` : "/settings/my-account/profile"}>- <a className="font-bold">{profile?.name || ""}</a>+ <Link+ href={teamId ? `/settings/teams/${teamId}/profile` : "/settings/my-account/profile"}+ className="font-bold">+ {profile?.name || ""}</Link>{membershipCount && teamId && (<span className="relative -top-px text-xs text-neutral-500 ltr:ml-2 ltr:mr-2 rtl:ml-2"><Link href={`/settings/teams/${teamId}/members`}>- <a>- <Badge variant="gray">- <Icon.FiUsers className="mr-1 -mt-px inline h-3 w-3" />- {membershipCount}- </Badge>- </a>+ <Badge variant="gray">+ <Icon.FiUsers className="mr-1 -mt-px inline h-3 w-3" />+ {membershipCount}+ </Badge></Link></span>)}{profile?.slug && (- <Link href={`${CAL_URL}/${profile.slug}`}>- <a className="block text-xs text-neutral-500">{`${CAL_URL?.replace("https://", "")}/${- profile.slug- }`}</a>+ <Link href={`${CAL_URL}/${profile.slug}`} className="block text-xs text-neutral-500">+ {`${CAL_URL?.replace("https://", "")}/${profile.slug}`}</Link>)}</div>@@ -581,10 +574,7 @@ const EventTypesPage = () => {return (<div>- <Shell- heading={t("event_types_page_title") as string}- subtitle={t("event_types_page_subtitle") as string}- CTA={<CTA />}>+ <Shell heading={t("event_types_page_title")} subtitle={t("event_types_page_subtitle")} CTA={<CTA />}><WithQuerycustomLoader={<SkeletonLoader />}success={({ data }) => (diff --git a/apps/web/pages/team/[slug].tsx b/apps/web/pages/team/[slug].tsxindex 82a2a9ca064..b0c9d253d64 100644--- a/apps/web/pages/team/[slug].tsx+++ b/apps/web/pages/team/[slug].tsx@@ -45,28 +45,29 @@ function TeamPage({ team }: TeamPageProps) {"dark:bg-darkgray-100 group relative border-b border-neutral-200 bg-white first:rounded-t-md last:rounded-b-md last:border-b-0 hover:bg-gray-50 dark:border-neutral-700 dark:hover:border-neutral-600",!isEmbed && "bg-white")}>- <Link href={`/team/${team.slug}/${type.slug}`}>- <a className="flex justify-between px-6 py-4" data-testid="event-type-link">- <div className="flex-shrink">- <div className="flex flex-wrap items-center space-x-2 rtl:space-x-reverse">- <h2 className="dark:text-darkgray-700 text-sm font-semibold text-gray-700">{type.title}</h2>- </div>- <EventTypeDescription className="text-sm" eventType={type} />- </div>- <div className="mt-1 self-center">- <AvatarGroup- border="border-2 border-white dark:border-darkgray-100"- truncateAfter={4}- className="flex flex-shrink-0"- size={10}- items={type.users.map((user) => ({- alt: user.name || "",- title: user.name || "",- image: CAL_URL + "/" + user.username + "/avatar.png" || "",- }))}- />+ <Link+ href={`/team/${team.slug}/${type.slug}`}+ className="flex justify-between px-6 py-4"+ data-testid="event-type-link">+ <div className="flex-shrink">+ <div className="flex flex-wrap items-center space-x-2 rtl:space-x-reverse">+ <h2 className="dark:text-darkgray-700 text-sm font-semibold text-gray-700">{type.title}</h2></div>- </a>+ <EventTypeDescription className="text-sm" eventType={type} />+ </div>+ <div className="mt-1 self-center">+ <AvatarGroup+ border="border-2 border-white dark:border-darkgray-100"+ truncateAfter={4}+ className="flex flex-shrink-0"+ size={10}+ items={type.users.map((user) => ({+ alt: user.name || "",+ title: user.name || "",+ image: CAL_URL + "/" + user.username + "/avatar.png" || "",+ }))}+ />+ </div></Link></li>))}diff --git a/apps/website b/apps/websiteindex ebcc470ae19..3c4abd2b924 160000--- a/apps/website+++ b/apps/website@@ -1 +1 @@-Subproject commit ebcc470ae19e41e6bee6d1f31af42379f24eefcb+Subproject commit 3c4abd2b9248b7199515e5c6d82447e810d557f4diff --git a/packages/app-store/_components/AppCard.tsx b/packages/app-store/_components/AppCard.tsxindex 5ca6c5998d6..1350a2cf2a4 100644--- a/packages/app-store/_components/AppCard.tsx+++ b/packages/app-store/_components/AppCard.tsx@@ -32,10 +32,8 @@ export default function AppCard({<div className="p-4 text-sm sm:p-8"><div className="flex w-full flex-col gap-2 sm:flex-row sm:gap-0">{/* Don't know why but w-[42px] isn't working, started happening when I started using next/dynamic */}- <Link href={"/apps/" + app.slug}>- <a className="mr-3 h-auto w-10 rounded-sm">- <img className="w-full" src={app?.logo} alt={app?.name} />- </a>+ <Link href={"/apps/" + app.slug} className="mr-3 h-auto w-10 rounded-sm">+ <img className="w-full" src={app?.logo} alt={app?.name} /></Link><div className="flex flex-col"><span className="text-base font-semibold leading-4 text-black">{app?.name}</span>diff --git a/packages/app-store/ee/routing-forms/components/SingleForm.tsx b/packages/app-store/ee/routing-forms/components/SingleForm.tsxindex 3f07ab484e0..697a6c5ac5b 100644--- a/packages/app-store/ee/routing-forms/components/SingleForm.tsx+++ b/packages/app-store/ee/routing-forms/components/SingleForm.tsx@@ -14,8 +14,8 @@ import {} from "@calcom/types/AppGetServerSideProps";import {Alert,- Button,Badge,+ Button,ButtonGroup,Dialog,DialogClose,@@ -318,9 +318,7 @@ function SingleForm({ form, appUrl, Page }: SingleFormComponentProps) {return (<div key={router.id} className="mr-2"><Link href={`/${appUrl}/route-builder/${router.id}`}>- <a>- <Badge variant="gray">{router.name}</Badge>- </a>+ <Badge variant="gray">{router.name}</Badge></Link></div>);@@ -342,9 +340,7 @@ function SingleForm({ form, appUrl, Page }: SingleFormComponentProps) {return (<div key={router.id} className="mr-2"><Link href={`/${appUrl}/route-builder/${router.id}`}>- <a>- <Badge variant="default">{router.name}</Badge>- </a>+ <Badge variant="default">{router.name}</Badge></Link></div>);@@ -399,9 +395,12 @@ function SingleForm({ form, appUrl, Page }: SingleFormComponentProps) {<div className="font-bold ">{t("route_to")}:</div><div className="mt-2">{RoutingPages.map((page) => {- if (page.value === decidedAction.type) {- return <div data-testid="test-routing-result-type">{page.label}</div>;- }+ if (page.value !== decidedAction.type) return null;+ return (+ <div key={page.value} data-testid="test-routing-result-type">+ {page.label}+ </div>+ );})}:{" "}{decidedAction.type === "customPageMessage" ? (diff --git a/packages/app-store/ee/routing-forms/pages/route-builder/[...appPages].tsx b/packages/app-store/ee/routing-forms/pages/route-builder/[...appPages].tsxindex 625f887f665..88abacdf583 100644--- a/packages/app-store/ee/routing-forms/pages/route-builder/[...appPages].tsx+++ b/packages/app-store/ee/routing-forms/pages/route-builder/[...appPages].tsx@@ -213,11 +213,9 @@ const Route = ({className="mb-6"><div className="-mt-3"><Link href={`/${appUrl}/route-builder/${route.id}`}>- <a>- <Badge variant="gray">- <span className="font-semibold">{route.name}</span>- </Badge>- </a>+ <Badge variant="gray">+ <span className="font-semibold">{route.name}</span>+ </Badge></Link><p className="mt-2 text-sm text-gray-500">Fields available in <span className="font-bold">{route.name}</span> will be added to this form.diff --git a/packages/app-store/typeform/pages/how-to-use/[...appPages].tsx b/packages/app-store/typeform/pages/how-to-use/[...appPages].tsxindex 3fdd0cd0ed1..01b23ee7e7a 100644--- a/packages/app-store/typeform/pages/how-to-use/[...appPages].tsx+++ b/packages/app-store/typeform/pages/how-to-use/[...appPages].tsx@@ -18,7 +18,7 @@ export default function HowToUse() {<li>Make sure that you have{" "}<Link href="/apps/routing-forms" className="text-base text-gray-500">- <a className="text-base text-gray-500">Routing Forms</a>+ Routing Forms</Link>{" "}app installed</li>@@ -26,39 +26,42 @@ export default function HowToUse() {Create a Routing Form with fields on the basis of which you want your typeform routing to work</li><li>- <Link href="/api/app-store/typeform/copy-typeform-redirect-url.png">- <a target="_blank" className="inline-flex items-baseline text-base text-gray-500">- <Icon.FiExternalLink- className="h-4 w-4 text-neutral-500 ltr:mr-2 rtl:ml-2"- aria-hidden="true"- />- Click "Copy Typeform Redirect URL"- </a>+ <Link+ href="/api/app-store/typeform/copy-typeform-redirect-url.png"+ target="_blank"+ className="inline-flex items-baseline text-base text-gray-500">+ <Icon.FiExternalLink+ className="h-4 w-4 text-neutral-500 ltr:mr-2 rtl:ml-2"+ aria-hidden="true"+ />+ Click "Copy Typeform Redirect URL"</Link></li><li>Create a Typeform that you want to route through Cal.com form's routing</li><li>Add the copied URL as{" "}- <Link href="https://www.typeform.com/help/a/end-screens-and-redirects-360051791392/#h_01G0CFXF21W2EQ8PXKSB4KSC8P">- <a target="_blank" className="inline-flex items-baseline text-base text-gray-500">- <Icon.FiExternalLink- className="h-4 w-4 text-neutral-500 ltr:mr-2 rtl:ml-2"- aria-hidden="true"- />- Redirect to your typeform- </a>+ <Link+ href="https://www.typeform.com/help/a/end-screens-and-redirects-360051791392/#h_01G0CFXF21W2EQ8PXKSB4KSC8P"+ target="_blank"+ className="inline-flex items-baseline text-base text-gray-500">+ <Icon.FiExternalLink+ className="h-4 w-4 text-neutral-500 ltr:mr-2 rtl:ml-2"+ aria-hidden="true"+ />+ Redirect to your typeform</Link></li><li>Use{" "}- <Link href="https://www.typeform.com/help/a/use-recall-information-to-reference-typeform-answers-variables-and-more-360052320011/">- <a target="_blank" className="inline-flex items-baseline text-base text-gray-500">- <Icon.FiExternalLink- className="h-4 w-4 text-neutral-500 ltr:mr-2 rtl:ml-2"- aria-hidden="true"- />- Recall Information in Typeform- </a>+ <Link+ href="https://www.typeform.com/help/a/use-recall-information-to-reference-typeform-answers-variables-and-more-360052320011/"+ target="_blank"+ className="inline-flex items-baseline text-base text-gray-500">+ <Icon.FiExternalLink+ className="h-4 w-4 text-neutral-500 ltr:mr-2 rtl:ml-2"+ aria-hidden="true"+ />+ Recall Information in Typeform</Link>{" "}to add values to query params.</li>@@ -68,7 +71,7 @@ export default function HowToUse() {</li></ol>- <Link href="/apps/installed" passHref={true}>+ <Link href="/apps/installed" passHref={true} legacyBehavior><Button color="secondary">{t("done")}</Button></Link></div>diff --git a/packages/app-store/zapier/pages/setup/index.tsx b/packages/app-store/zapier/pages/setup/index.tsxindex 5677e70758f..f1945c815b1 100644--- a/packages/app-store/zapier/pages/setup/index.tsx+++ b/packages/app-store/zapier/pages/setup/index.tsx@@ -103,7 +103,7 @@ export default function ZapierSetup(props: IZapierSetupProps) {<li>You're set!</li></Trans></ol>- <Link href="/apps/installed/automation?hl=zapier" passHref={true}>+ <Link href="/apps/installed/automation?hl=zapier" passHref={true} legacyBehavior><Button color="secondary">{t("done")}</Button></Link></div>@@ -113,7 +113,7 @@ export default function ZapierSetup(props: IZapierSetupProps) {<div className="mt-5 ml-5"><div>{t("install_zapier_app")}</div><div className="mt-3">- <Link href="/apps/zapier" passHref={true}>+ <Link href="/apps/zapier" passHref={true} legacyBehavior><Button>{t("go_to_app_store")}</Button></Link></div>diff --git a/packages/config/package.json b/packages/config/package.jsonindex f58aa06ddf6..9d0b277000d 100644--- a/packages/config/package.json+++ b/packages/config/package.json@@ -10,7 +10,7 @@],"dependencies": {"@calcom/eslint-plugin-eslint": "*",- "eslint-config-next": "^12.2.5",+ "eslint-config-next": "^13.1.1","eslint-config-prettier": "^8.5.0","eslint-config-turbo": "^0.0.3","eslint-plugin-playwright": "^0.9.0",diff --git a/packages/features/bookings/UnconfirmedBookingBadge.tsx b/packages/features/bookings/UnconfirmedBookingBadge.tsxindex e776b5d6b96..f57fe48aadf 100644--- a/packages/features/bookings/UnconfirmedBookingBadge.tsx+++ b/packages/features/bookings/UnconfirmedBookingBadge.tsx@@ -8,18 +8,15 @@ export default function UnconfirmedBookingBadge() {const { t } = useLocale();const { data: unconfirmedBookingCount } = trpc.viewer.bookingUnconfirmedCount.useQuery();if (!unconfirmedBookingCount) return null;- else- return (- <Link href="/bookings/unconfirmed">- <>- <Badge- rounded- title={t("unconfirmed_bookings_tooltip")}- variant="orange"- className="cursor-pointer hover:bg-orange-800 hover:text-orange-100">- {unconfirmedBookingCount}- </Badge>- </>- </Link>- );+ return (+ <Link href="/bookings/unconfirmed">+ <Badge+ rounded+ title={t("unconfirmed_bookings_tooltip")}+ variant="orange"+ className="cursor-pointer hover:bg-orange-800 hover:text-orange-100">+ {unconfirmedBookingCount}+ </Badge>+ </Link>+ );}diff --git a/packages/features/ee/teams/components/TeamListItem.tsx b/packages/features/ee/teams/components/TeamListItem.tsxindex 5c7fed5dfb9..b58a4dbb067 100644--- a/packages/features/ee/teams/components/TeamListItem.tsx+++ b/packages/features/ee/teams/components/TeamListItem.tsx@@ -88,10 +88,11 @@ export default function TeamListItem(props: Props) {!isInvitee && "group hover:bg-neutral-50")}>{!isInvitee ? (- <Link href={"/settings/teams/" + team.id + "/profile"}>- <a className="flex-grow cursor-pointer truncate text-sm" title={`${team.name}`}>- {teamInfo}- </a>+ <Link+ href={"/settings/teams/" + team.id + "/profile"}+ className="flex-grow cursor-pointer truncate text-sm"+ title={`${team.name}`}>+ {teamInfo}</Link>) : (teamInfodiff --git a/packages/features/ee/teams/pages/team-profile-view.tsx b/packages/features/ee/teams/pages/team-profile-view.tsxindex cef0bdb33cb..52c448c5d1f 100644--- a/packages/features/ee/teams/pages/team-profile-view.tsx+++ b/packages/features/ee/teams/pages/team-profile-view.tsx@@ -263,10 +263,8 @@ const ProfileView = () => {)}</div><div className="">- <Link href={permalink} passHref={true}>- <a target="_blank">- <LinkIconButton Icon={Icon.FiExternalLink}>{t("preview")}</LinkIconButton>- </a>+ <Link href={permalink} passHref={true} target="_blank">+ <LinkIconButton Icon={Icon.FiExternalLink}>{t("preview")}</LinkIconButton></Link><LinkIconButtonIcon={Icon.FiLink}diff --git a/packages/features/ee/workflows/components/EventWorkflowsTab.tsx b/packages/features/ee/workflows/components/EventWorkflowsTab.tsxindex f012f990969..becd6c77732 100644--- a/packages/features/ee/workflows/components/EventWorkflowsTab.tsx+++ b/packages/features/ee/workflows/components/EventWorkflowsTab.tsx@@ -122,13 +122,11 @@ const WorkflowListItem = (props: ItemProps) => {</div></div><div className="flex-none">- <Link href={`/workflows/${workflow.id}`} passHref={true}>- <a target="_blank">- <Button type="button" color="minimal" className="mr-4">- <div className="hidden ltr:mr-2 rtl:ml-2 sm:block">{t("edit")}</div>- <Icon.FiExternalLink className="-mt-[2px] h-4 w-4 stroke-2 text-gray-600" />- </Button>- </a>+ <Link href={`/workflows/${workflow.id}`} passHref={true} target="_blank">+ <Button type="button" color="minimal" className="mr-4">+ <div className="hidden ltr:mr-2 rtl:ml-2 sm:block">{t("edit")}</div>+ <Icon.FiExternalLink className="-mt-[2px] h-4 w-4 stroke-2 text-gray-600" />+ </Button></Link></div><Tooltip content={t("turn_off") as string}>diff --git a/packages/features/ee/workflows/components/WorkflowListPage.tsx b/packages/features/ee/workflows/components/WorkflowListPage.tsxindex bb36ad5b21d..80e726ec856 100644--- a/packages/features/ee/workflows/components/WorkflowListPage.tsx+++ b/packages/features/ee/workflows/components/WorkflowListPage.tsx@@ -84,58 +84,56 @@ export default function WorkflowListPage({ workflows }: Props) {{workflows.map((workflow) => (<li key={workflow.id}><div className="first-line:group flex w-full items-center justify-between p-4 hover:bg-neutral-50 sm:px-6">- <Link href={"/workflows/" + workflow.id}>- <a className="flex-grow cursor-pointer">- <div className="rtl:space-x-reverse">- <div- className={classNames(- "max-w-56 truncate text-sm font-medium leading-6 text-gray-900 md:max-w-max",- workflow.name ? "text-gray-900" : "text-neutral-500"- )}>- {workflow.name- ? workflow.name- : "Untitled (" +- `${t(`${workflow.steps[0].action.toLowerCase()}_action`)}`- .charAt(0)- .toUpperCase() +- `${t(`${workflow.steps[0].action.toLowerCase()}_action`)}`.slice(1) +- ")"}- </div>- <ul className="mt-2 flex flex-wrap space-x-1 sm:flex-nowrap ">- <li className="mb-1 flex items-center whitespace-nowrap rounded-sm bg-gray-100 px-1 py-px text-xs text-gray-800 dark:bg-gray-900 dark:text-white">- <div>- {getActionIcon(workflow.steps)}+ <Link href={"/workflows/" + workflow.id} className="flex-grow cursor-pointer">+ <div className="rtl:space-x-reverse">+ <div+ className={classNames(+ "max-w-56 truncate text-sm font-medium leading-6 text-gray-900 md:max-w-max",+ workflow.name ? "text-gray-900" : "text-neutral-500"+ )}>+ {workflow.name+ ? workflow.name+ : "Untitled (" ++ `${t(`${workflow.steps[0].action.toLowerCase()}_action`)}`+ .charAt(0)+ .toUpperCase() ++ `${t(`${workflow.steps[0].action.toLowerCase()}_action`)}`.slice(1) ++ ")"}+ </div>+ <ul className="mt-2 flex flex-wrap space-x-1 sm:flex-nowrap ">+ <li className="mb-1 flex items-center whitespace-nowrap rounded-sm bg-gray-100 px-1 py-px text-xs text-gray-800 dark:bg-gray-900 dark:text-white">+ <div>+ {getActionIcon(workflow.steps)}- <span className="mr-1">{t("triggers")}</span>- {workflow.timeUnit && workflow.time && (- <span className="mr-1">- {t(`${workflow.timeUnit.toLowerCase()}`, { count: workflow.time })}- </span>- )}- <span>{t(`${workflow.trigger.toLowerCase()}_trigger`)}</span>- </div>- </li>- <li className="mb-1 flex items-center whitespace-nowrap rounded-sm bg-gray-100 px-1 py-px text-xs text-gray-800 dark:bg-gray-900 dark:text-white">- {workflow.activeOn && workflow.activeOn.length > 0 ? (- <Tooltip- content={workflow.activeOn.map((activeOn, key) => (- <p key={key}>{activeOn.eventType.title}</p>- ))}>- <div>- <Icon.FiLink className="mr-1.5 inline h-3 w-3" aria-hidden="true" />- {t("active_on_event_types", { count: workflow.activeOn.length })}- </div>- </Tooltip>- ) : (+ <span className="mr-1">{t("triggers")}</span>+ {workflow.timeUnit && workflow.time && (+ <span className="mr-1">+ {t(`${workflow.timeUnit.toLowerCase()}`, { count: workflow.time })}+ </span>+ )}+ <span>{t(`${workflow.trigger.toLowerCase()}_trigger`)}</span>+ </div>+ </li>+ <li className="mb-1 flex items-center whitespace-nowrap rounded-sm bg-gray-100 px-1 py-px text-xs text-gray-800 dark:bg-gray-900 dark:text-white">+ {workflow.activeOn && workflow.activeOn.length > 0 ? (+ <Tooltip+ content={workflow.activeOn.map((activeOn, key) => (+ <p key={key}>{activeOn.eventType.title}</p>+ ))}><div><Icon.FiLink className="mr-1.5 inline h-3 w-3" aria-hidden="true" />- {t("no_active_event_types")}+ {t("active_on_event_types", { count: workflow.activeOn.length })}</div>- )}- </li>- </ul>- </div>- </a>+ </Tooltip>+ ) : (+ <div>+ <Icon.FiLink className="mr-1.5 inline h-3 w-3" aria-hidden="true" />+ {t("no_active_event_types")}+ </div>+ )}+ </li>+ </ul>+ </div></Link><div className="flex flex-shrink-0"><div className="hidden sm:block">diff --git a/packages/features/schedules/components/ScheduleListItem.tsx b/packages/features/schedules/components/ScheduleListItem.tsxindex b294d57c1e1..6874ec69814 100644--- a/packages/features/schedules/components/ScheduleListItem.tsx+++ b/packages/features/schedules/components/ScheduleListItem.tsx@@ -40,36 +40,37 @@ export function ScheduleListItem({<li key={schedule.id}><div className="flex items-center justify-between py-5 hover:bg-neutral-50 ltr:pl-4 rtl:pr-4 sm:ltr:pl-0 sm:rtl:pr-0"><div className="group flex w-full items-center justify-between hover:bg-neutral-50 sm:px-6">- <Link href={"/availability/" + schedule.id}>- <a className="flex-grow truncate text-sm" title={schedule.name}>- <div className="space-x-2 rtl:space-x-reverse">- <span className="truncate font-medium text-neutral-900">{schedule.name}</span>- {schedule.isDefault && (- <Badge variant="success" className="text-xs">- {t("default")}- </Badge>- )}- </div>- <p className="mt-1 text-xs text-neutral-500">- {schedule.availability- .filter((availability) => !!availability.days.length)- .map((availability) => (- <Fragment key={availability.id}>- {availabilityAsString(availability, {- locale: i18n.language,- hour12: displayOptions?.hour12,- })}- <br />- </Fragment>- ))}- {schedule.timeZone && schedule.timeZone !== displayOptions?.timeZone && (- <p className="my-1 flex items-center first-letter:text-xs">- <Icon.FiGlobe />- {schedule.timeZone}- </p>- )}- </p>- </a>+ <Link+ href={"/availability/" + schedule.id}+ className="flex-grow truncate text-sm"+ title={schedule.name}>+ <div className="space-x-2 rtl:space-x-reverse">+ <span className="truncate font-medium text-neutral-900">{schedule.name}</span>+ {schedule.isDefault && (+ <Badge variant="success" className="text-xs">+ {t("default")}+ </Badge>+ )}+ </div>+ <p className="mt-1 text-xs text-neutral-500">+ {schedule.availability+ .filter((availability) => !!availability.days.length)+ .map((availability) => (+ <Fragment key={availability.id}>+ {availabilityAsString(availability, {+ locale: i18n.language,+ hour12: displayOptions?.hour12,+ })}+ <br />+ </Fragment>+ ))}+ {schedule.timeZone && schedule.timeZone !== displayOptions?.timeZone && (+ <p className="my-1 flex items-center first-letter:text-xs">+ <Icon.FiGlobe />+ {schedule.timeZone}+ </p>+ )}+ </p></Link></div><Dropdown>diff --git a/packages/features/settings/layouts/SettingsLayout.tsx b/packages/features/settings/layouts/SettingsLayout.tsxindex 49a3566cf8e..cb06db1a4e8 100644--- a/packages/features/settings/layouts/SettingsLayout.tsx+++ b/packages/features/settings/layouts/SettingsLayout.tsx@@ -117,16 +117,15 @@ const useTabs = () => {const BackButtonInSidebar = ({ name }: { name: string }) => {return (- <Link href="/.">- <a- target="_self"- className="group my-6 flex h-6 max-h-6 w-64 flex-row items-center rounded-md py-2 px-3 text-sm font-medium leading-4 text-black hover:bg-gray-100 group-hover:text-gray-700 [&[aria-current='page']]:bg-gray-200 [&[aria-current='page']]:text-gray-900"- data-testid={`vertical-tab-${name}`}>- <Icon.FiArrowLeft className="h-4 w-4 stroke-[2px] ltr:mr-[10px] rtl:ml-[10px] md:mt-0" />- <Skeleton title={name} as="p" className="max-w-36 min-h-4 truncate">- {name}- </Skeleton>- </a>+ <Link+ href="/."+ target="_self"+ className="group my-6 flex h-6 max-h-6 w-64 flex-row items-center rounded-md py-2 px-3 text-sm font-medium leading-4 text-black hover:bg-gray-100 group-hover:text-gray-700 [&[aria-current='page']]:bg-gray-200 [&[aria-current='page']]:text-gray-900"+ data-testid={`vertical-tab-${name}`}>+ <Icon.FiArrowLeft className="h-4 w-4 stroke-[2px] ltr:mr-[10px] rtl:ml-[10px] md:mt-0" />+ <Skeleton title={name} as="p" className="max-w-36 min-h-4 truncate">+ {name}+ </Skeleton></Link>);};@@ -212,14 +211,12 @@ const SettingsSidebarContainer = ({<React.Fragment key={tab.href}><div className={`${!tab.children?.length ? "mb-3" : ""}`}><Link href={tab.href}>- <a>- <div className="group flex h-9 w-64 flex-row items-center rounded-md px-3 py-[10px] text-sm font-medium leading-none text-gray-600 hover:bg-gray-100 group-hover:text-gray-700 [&[aria-current='page']]:bg-gray-200 [&[aria-current='page']]:text-gray-900">- {tab && tab.icon && (- <tab.icon className="h-[16px] w-[16px] stroke-[2px] ltr:mr-3 rtl:ml-3 md:mt-0" />- )}- <p className="text-sm font-medium leading-5">{t(tab.name)}</p>- </div>- </a>+ <div className="group flex h-9 w-64 flex-row items-center rounded-md px-3 py-[10px] text-sm font-medium leading-none text-gray-600 hover:bg-gray-100 group-hover:text-gray-700 [&[aria-current='page']]:bg-gray-200 [&[aria-current='page']]:text-gray-900">+ {tab && tab.icon && (+ <tab.icon className="h-[16px] w-[16px] stroke-[2px] ltr:mr-3 rtl:ml-3 md:mt-0" />+ )}+ <p className="text-sm font-medium leading-5">{t(tab.name)}</p>+ </div></Link>{teams &&teamMenuState &&diff --git a/packages/features/users/components/AdminPasswordBanner.tsx b/packages/features/users/components/AdminPasswordBanner.tsxindex 1bf42680d06..3ac73bd15d8 100644--- a/packages/features/users/components/AdminPasswordBanner.tsx+++ b/packages/features/users/components/AdminPasswordBanner.tsx@@ -16,8 +16,8 @@ function AdminPasswordBanner() {text={t("invalid_admin_password", { user: data.user.username })}variant="warning"actions={- <Link href="/settings/security/password">- <a className="border-b border-b-black">{t("change_password_admin")}</a>+ <Link href="/settings/security/password" className="border-b border-b-black">+ {t("change_password_admin")}</Link>}/>diff --git a/packages/ui/components/apps/Categories.tsx b/packages/ui/components/apps/Categories.tsxindex 5b7d05da8e0..1bd6497e8b0 100644--- a/packages/ui/components/apps/Categories.tsx+++ b/packages/ui/components/apps/Categories.tsx@@ -30,23 +30,23 @@ export function AppStoreCategories({},}}renderItem={(category) => (- <Link key={category.name} href={"/apps/categories/" + category.name}>- <a- data-testid={`app-store-category-${category.name}`}- className="relative flex rounded-md"- style={{ background: "radial-gradient(farthest-side at top right, #a2abbe 0%, #E3E3E3 100%)" }}>- <div className="w-full self-center bg-[url('/noise.svg')] bg-cover bg-center bg-no-repeat px-6 py-4">- {isLocaleReady ? (- <h3 className="font-medium capitalize">{category.name}</h3>- ) : (- <SkeletonText invisible />- )}- <p className="text-sm text-gray-500">- {isLocaleReady ? t("number_apps", { count: category.count }) : <SkeletonText invisible />}{" "}- <Icon.FiArrowRight className="inline-block h-4 w-4" />- </p>- </div>- </a>+ <Link+ key={category.name}+ href={"/apps/categories/" + category.name}+ data-testid={`app-store-category-${category.name}`}+ className="relative flex rounded-md"+ style={{ background: "radial-gradient(farthest-side at top right, #a2abbe 0%, #E3E3E3 100%)" }}>+ <div className="w-full self-center bg-[url('/noise.svg')] bg-cover bg-center bg-no-repeat px-6 py-4">+ {isLocaleReady ? (+ <h3 className="font-medium capitalize">{category.name}</h3>+ ) : (+ <SkeletonText invisible />+ )}+ <p className="text-sm text-gray-500">+ {isLocaleReady ? t("number_apps", { count: category.count }) : <SkeletonText invisible />}{" "}+ <Icon.FiArrowRight className="inline-block h-4 w-4" />+ </p>+ </div></Link>)}/>diff --git a/packages/ui/components/breadcrumb/Breadcrumb.tsx b/packages/ui/components/breadcrumb/Breadcrumb.tsxindex e6ec66654f3..2b28a993b00 100644--- a/packages/ui/components/breadcrumb/Breadcrumb.tsx+++ b/packages/ui/components/breadcrumb/Breadcrumb.tsx@@ -38,16 +38,14 @@ type BreadcrumbItemProps = {export const BreadcrumbItem = ({ children, href, listProps }: BreadcrumbItemProps) => {return (<li {...listProps}>- <Link href={href}>- <a>{children}</a>- </Link>+ <Link href={href}>{children}</Link></li>);};export const BreadcrumbContainer = () => {const router = useRouter();- const [breadcrumbs, setBreadcrumbs] = useState<{ href: string; label: string }[]>();+ const [, setBreadcrumbs] = useState<{ href: string; label: string }[]>();useEffect(() => {const rawPath = router.asPath.split("?")[0]; // this will ignore any query params for now?diff --git a/packages/ui/components/button/Button.tsx b/packages/ui/components/button/Button.tsxindex e388a1421a2..3a2b374a907 100644--- a/packages/ui/components/button/Button.tsx+++ b/packages/ui/components/button/Button.tsx@@ -229,7 +229,7 @@ export const Button = forwardRef<HTMLAnchorElement | HTMLButtonElement, ButtonPr);return props.href ? (- <Link passHref href={props.href} shallow={shallow && shallow}>+ <Link passHref href={props.href} shallow={shallow && shallow} legacyBehavior>{element}</Link>) : (diff --git a/packages/ui/components/credits/Credits.tsx b/packages/ui/components/credits/Credits.tsxindex cf0549f4956..e47603f3790 100644--- a/packages/ui/components/credits/Credits.tsx+++ b/packages/ui/components/credits/Credits.tsx@@ -18,16 +18,12 @@ export default function Credits() {return (<small className="mx-3 mt-1 mb-2 hidden text-[0.5rem] opacity-50 lg:block">© {new Date().getFullYear()}{" "}- <Link href="https://go.cal.com/credits">- <a target="_blank" className="hover:underline">- {COMPANY_NAME}- </a>+ <Link href="https://go.cal.com/credits" target="_blank" className="hover:underline">+ {COMPANY_NAME}</Link>{" "}{hasMounted && (- <Link href="https://go.cal.com/releases">- <a target="_blank" className="hover:underline">- {CalComVersion}- </a>+ <Link href="https://go.cal.com/releases" target="_blank" className="hover:underline">+ {CalComVersion}</Link>)}</small>diff --git a/packages/ui/components/list/List.tsx b/packages/ui/components/list/List.tsxindex 5b3697dfe23..207168d6f51 100644--- a/packages/ui/components/list/List.tsx+++ b/packages/ui/components/list/List.tsx@@ -51,7 +51,7 @@ export function ListItem(props: ListItemProps) {);return href ? (- <Link passHref href={href}>+ <Link passHref href={href} legacyBehavior>{element}</Link>) : (@@ -79,19 +79,19 @@ export function ListLinkItem(props: ListLinkItemProps) {"group flex w-full items-center justify-between p-5 hover:bg-neutral-50",disabled ? "hover:bg-white" : "")}>- <Link passHref href={href}>- <a- className={classNames(- "flex-grow truncate text-sm",- disabled ? "pointer-events-none cursor-not-allowed opacity-30" : ""- )}>- <h1 className="text-sm font-semibold leading-none">{heading}</h1>- <h2 className="min-h-4 mt-2 text-sm font-normal leading-none">- {subHeading.substring(0, 100)}- {subHeading.length > 100 && "..."}- </h2>- <div className="mt-2">{children}</div>- </a>+ <Link+ passHref+ href={href}+ className={classNames(+ "flex-grow truncate text-sm",+ disabled ? "pointer-events-none cursor-not-allowed opacity-30" : ""+ )}>+ <h1 className="text-sm font-semibold leading-none">{heading}</h1>+ <h2 className="min-h-4 mt-2 text-sm font-normal leading-none">+ {subHeading.substring(0, 100)}+ {subHeading.length > 100 && "..."}+ </h2>+ <div className="mt-2">{children}</div></Link>{actions}</li>diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex f78f64801cc..fcb3cea4993 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -24,7 +24,7 @@"@wojtekmaj/react-daterange-picker": "^3.3.1","class-variance-authority": "^0.3.0","downshift": "^6.1.9",- "next": "^12.3.1",+ "next": "^13.1.1","react": "^18.2.0","react-colorful": "^5.6.0","react-feather": "^2.0.10",diff --git a/packages/ui/v2/core/Card.tsx b/packages/ui/v2/core/Card.tsxindex e0398a667d4..6b422261156 100644--- a/packages/ui/v2/core/Card.tsx+++ b/packages/ui/v2/core/Card.tsx@@ -129,14 +129,13 @@ export function Card({{variant === "SidebarCard" && (<div className="mt-2 flex items-center justify-between">{learnMore && (- <Link href={learnMore.href}>- <a- onClick={actionButton?.onClick}- target="_blank"- rel="noreferrer"- className="text-xs font-medium">- {learnMore.text}- </a>+ <Link+ href={learnMore.href}+ onClick={actionButton?.onClick}+ target="_blank"+ rel="noreferrer"+ className="text-xs font-medium">+ {learnMore.text}</Link>)}<buttondiff --git a/packages/ui/v2/core/Dropdown.tsx b/packages/ui/v2/core/Dropdown.tsxindex b09a16927c6..8b86bb52770 100644--- a/packages/ui/v2/core/Dropdown.tsx+++ b/packages/ui/v2/core/Dropdown.tsx@@ -114,8 +114,8 @@ export function ButtonOrLink({ href, ...props }: ButtonOrLinkProps) {if (isLink) {return (- <Link href={href}>- <a>{content}</a>+ <Link href={href} legacyBehavior>+ {content}</Link>);}diff --git a/packages/ui/v2/core/Shell.tsx b/packages/ui/v2/core/Shell.tsxindex 9de8059a983..d64f1645961 100644--- a/packages/ui/v2/core/Shell.tsx+++ b/packages/ui/v2/core/Shell.tsx@@ -590,32 +590,31 @@ const NavigationItem: React.FC<{return (<Fragment>- <Link href={item.href}>- <a- aria-label={t(item.name)}- className={classNames(- "group flex items-center rounded-md py-2 px-3 text-sm font-medium text-gray-600 hover:bg-gray-100 lg:px-[14px] [&[aria-current='page']]:bg-gray-200 [&[aria-current='page']]:hover:text-neutral-900",- isChild- ? "[&[aria-current='page']]:text-brand-900 hidden pl-16 lg:flex lg:pl-11 [&[aria-current='page']]:bg-transparent"- : "[&[aria-current='page']]:text-brand-900 "- )}- aria-current={current ? "page" : undefined}>- {item.icon && (- <item.icon- className="h-4 w-4 flex-shrink-0 text-gray-500 ltr:mr-3 rtl:ml-3 [&[aria-current='page']]:text-inherit"- aria-hidden="true"- aria-current={current ? "page" : undefined}- />- )}- {isLocaleReady ? (- <span className="hidden w-full justify-between lg:flex">- <div className="flex">{t(item.name)}</div>- {item.badge && item.badge}- </span>- ) : (- <SkeletonText className="h-3 w-32" />- )}- </a>+ <Link+ href={item.href}+ aria-label={t(item.name)}+ className={classNames(+ "group flex items-center rounded-md py-2 px-3 text-sm font-medium text-gray-600 hover:bg-gray-100 lg:px-[14px] [&[aria-current='page']]:bg-gray-200 [&[aria-current='page']]:hover:text-neutral-900",+ isChild+ ? "[&[aria-current='page']]:text-brand-900 hidden pl-16 lg:flex lg:pl-11 [&[aria-current='page']]:bg-transparent"+ : "[&[aria-current='page']]:text-brand-900 "+ )}+ aria-current={current ? "page" : undefined}>+ {item.icon && (+ <item.icon+ className="h-4 w-4 flex-shrink-0 text-gray-500 ltr:mr-3 rtl:ml-3 [&[aria-current='page']]:text-inherit"+ aria-hidden="true"+ aria-current={current ? "page" : undefined}+ />+ )}+ {isLocaleReady ? (+ <span className="hidden w-full justify-between lg:flex">+ <div className="flex">{t(item.name)}</div>+ {item.badge && item.badge}+ </span>+ ) : (+ <SkeletonText className="h-3 w-32" />+ )}</Link>{item.child &&isCurrent({ router, isChild, item }) &&@@ -663,20 +662,20 @@ const MobileNavigationItem: React.FC<{if (!shouldDisplayNavigationItem) return null;return (- <Link key={item.name} href={item.href}>- <a- className="relative my-2 min-w-0 flex-1 overflow-hidden rounded-md py-2 px-1 text-center text-xs font-medium text-neutral-400 hover:bg-gray-200 hover:text-gray-700 focus:z-10 sm:text-sm [&[aria-current='page']]:text-gray-900"- aria-current={current ? "page" : undefined}>- {item.badge && <div className="absolute right-1 top-1">{item.badge}</div>}- {item.icon && (- <item.icon- className="mx-auto mb-1 block h-5 w-5 flex-shrink-0 text-center text-inherit [&[aria-current='page']]:text-gray-900"- aria-hidden="true"- aria-current={current ? "page" : undefined}- />- )}- {isLocaleReady ? <span className="block truncate">{t(item.name)}</span> : <SkeletonText />}- </a>+ <Link+ key={item.name}+ href={item.href}+ className="relative my-2 min-w-0 flex-1 overflow-hidden rounded-md py-2 px-1 text-center text-xs font-medium text-neutral-400 hover:bg-gray-200 hover:text-gray-700 focus:z-10 sm:text-sm [&[aria-current='page']]:text-gray-900"+ aria-current={current ? "page" : undefined}>+ {item.badge && <div className="absolute right-1 top-1">{item.badge}</div>}+ {item.icon && (+ <item.icon+ className="mx-auto mb-1 block h-5 w-5 flex-shrink-0 text-center text-inherit [&[aria-current='page']]:text-gray-900"+ aria-hidden="true"+ aria-current={current ? "page" : undefined}+ />+ )}+ {isLocaleReady ? <span className="block truncate">{t(item.name)}</span> : <SkeletonText />}</Link>);};@@ -693,16 +692,12 @@ const MobileNavigationMoreItem: React.FC<{return (<li className="border-b last:border-b-0" key={item.name}>- <Link href={item.href}>- <a className="flex items-center justify-between p-5 hover:bg-gray-100">- <span className="flex items-center font-semibold text-gray-700 ">- {item.icon && (- <item.icon className="h-5 w-5 flex-shrink-0 ltr:mr-3 rtl:ml-3" aria-hidden="true" />- )}- {isLocaleReady ? t(item.name) : <SkeletonText />}- </span>- <Icon.FiArrowRight className="h-5 w-5 text-gray-500" />- </a>+ <Link href={item.href} className="flex items-center justify-between p-5 hover:bg-gray-100">+ <span className="flex items-center font-semibold text-gray-700 ">+ {item.icon && <item.icon className="h-5 w-5 flex-shrink-0 ltr:mr-3 rtl:ml-3" aria-hidden="true" />}+ {isLocaleReady ? t(item.name) : <SkeletonText />}+ </span>+ <Icon.FiArrowRight className="h-5 w-5 text-gray-500" /></Link></li>);@@ -726,10 +721,8 @@ function SideBar() {<aside className="desktop-transparent top-0 hidden h-full max-h-screen w-14 flex-col overflow-y-auto border-r border-gray-100 bg-gray-50 md:sticky md:flex lg:w-56 lg:px-4"><div className="flex h-full flex-col justify-between py-3 lg:pt-5 "><header className="items-center justify-between md:hidden lg:flex">- <Link href="/event-types">- <a className="px-4">- <Logo small />- </a>+ <Link href="/event-types" className="px-4">+ <Logo small /></Link><div className="flex space-x-2 rtl:space-x-reverse"><button@@ -751,10 +744,8 @@ function SideBar() {<hr className="desktop-only absolute -left-3 -right-3 mt-4 block w-full border-gray-200" />{/* logo icon for tablet */}- <Link href="/event-types">- <a className="text-center md:inline lg:hidden">- <Logo small icon />- </a>+ <Link href="/event-types" className="text-center md:inline lg:hidden">+ <Logo small icon /></Link><Navigation />@@ -871,9 +862,7 @@ function TopNav() {style={isEmbed ? { display: "none" } : {}}className="sticky top-0 z-40 flex w-full items-center justify-between border-b border-gray-200 bg-gray-50 bg-opacity-50 py-1.5 px-4 backdrop-blur-lg sm:p-4 md:hidden"><Link href="/event-types">- <a>- <Logo />- </a>+ <Logo /></Link><div className="flex items-center gap-2 self-center"><span className="group flex items-center rounded-full text-sm font-medium text-gray-700 hover:bg-gray-50 hover:text-neutral-900 lg:hidden">@@ -882,9 +871,7 @@ function TopNav() {<button className="rounded-full p-1 text-gray-400 hover:bg-gray-50 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-black focus:ring-offset-2"><span className="sr-only">{t("settings")}</span><Link href="/settings/profile">- <a>- <Icon.FiSettings className="h-4 w-4 text-gray-700" aria-hidden="true" />- </a>+ <Icon.FiSettings className="h-4 w-4 text-gray-700" aria-hidden="true" /></Link></button><UserDropdown small />diff --git a/packages/ui/v2/core/Stepper.tsx b/packages/ui/v2/core/Stepper.tsxindex 387b6ed7ada..8f3877ba838 100644--- a/packages/ui/v2/core/Stepper.tsx+++ b/packages/ui/v2/core/Stepper.tsx@@ -24,7 +24,11 @@ function Stepper<T extends DefaultStep>(props: {<ol role="list" className="ml-8 flex items-center space-x-5">{steps.map((mapStep, index) => (<li key={mapStep.title}>- <Link href={props.disableSteps ? "#" : `${href}?step=${index + 1}`} shallow replace>+ <Link+ href={props.disableSteps ? "#" : `${href}?step=${index + 1}`}+ shallow+ replace+ legacyBehavior>{index + 1 < props.step ? (<a className="block h-2.5 w-2.5 rounded-full bg-gray-600 hover:bg-gray-900"><span className="sr-only">{mapStep.title}</span>diff --git a/packages/ui/v2/core/form/FormCard.tsx b/packages/ui/v2/core/form/FormCard.tsxindex 9f0284be84f..32c1695c7c1 100644--- a/packages/ui/v2/core/form/FormCard.tsx+++ b/packages/ui/v2/core/form/FormCard.tsx@@ -56,13 +56,7 @@ export default function FormCard({<span className="text-sm font-semibold leading-none">{label}</span>{badge && (<Badge className="ml-2" variant={badge.variant}>- {badge.href ? (- <Link href={badge.href}>- <a>{badge.text}</a>- </Link>- ) : (- badge.text- )}+ {badge.href ? <Link href={badge.href}>{badge.text}</Link> : badge.text}</Badge>)}</div>diff --git a/packages/ui/v2/core/navigation/tabs/HorizontalTabItem.tsx b/packages/ui/v2/core/navigation/tabs/HorizontalTabItem.tsxindex e0f3fa25943..0b88f9bf6b8 100644--- a/packages/ui/v2/core/navigation/tabs/HorizontalTabItem.tsx+++ b/packages/ui/v2/core/navigation/tabs/HorizontalTabItem.tsx@@ -23,28 +23,29 @@ const HorizontalTabItem = function ({ name, href, linkProps, ...props }: Horizonconst isCurrent = asPath.startsWith(href);return (- <Link key={name} href={href} {...linkProps}>- <a- className={classNames(- isCurrent ? "bg-gray-200 text-gray-900" : " text-gray-600 hover:bg-gray-100 hover:text-gray-900 ",- "inline-flex items-center justify-center whitespace-nowrap rounded-[4px] py-[10px] px-4 text-sm font-medium leading-4 md:mb-0",- props.disabled && "pointer-events-none !opacity-30",- props.className- )}- aria-current={isCurrent ? "page" : undefined}>- {props.icon && (- // eslint-disable-next-line @typescript-eslint/ban-ts-comment- //@ts-ignore- <props.icon- className={classNames(- isCurrent ? "text-neutral-900" : "text-gray-400 group-hover:text-gray-500",- "-ml-0.5 hidden h-4 w-4 ltr:mr-2 rtl:ml-2 sm:inline-block"- )}- aria-hidden="true"- />- )}- {isLocaleReady ? t(name) : <SkeletonText className="h-4 w-24" />}- </a>+ <Link+ key={name}+ href={href}+ {...linkProps}+ className={classNames(+ isCurrent ? "bg-gray-200 text-gray-900" : " text-gray-600 hover:bg-gray-100 hover:text-gray-900 ",+ "inline-flex items-center justify-center whitespace-nowrap rounded-[4px] py-[10px] px-4 text-sm font-medium leading-4 md:mb-0",+ props.disabled && "pointer-events-none !opacity-30",+ props.className+ )}+ aria-current={isCurrent ? "page" : undefined}>+ {props.icon && (+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment+ //@ts-ignore+ <props.icon+ className={classNames(+ isCurrent ? "text-neutral-900" : "text-gray-400 group-hover:text-gray-500",+ "-ml-0.5 hidden h-4 w-4 ltr:mr-2 rtl:ml-2 sm:inline-block"+ )}+ aria-hidden="true"+ />+ )}+ {isLocaleReady ? t(name) : <SkeletonText className="h-4 w-24" />}</Link>);};diff --git a/packages/ui/v2/core/navigation/tabs/VerticalTabItem.tsx b/packages/ui/v2/core/navigation/tabs/VerticalTabItem.tsxindex f517b014e83..1518d0d929d 100644--- a/packages/ui/v2/core/navigation/tabs/VerticalTabItem.tsx+++ b/packages/ui/v2/core/navigation/tabs/VerticalTabItem.tsx@@ -43,45 +43,46 @@ const VerticalTabItem = function ({<Fragment key={name}>{!props.hidden && (<>- <Link key={name} href={href} {...linkProps}>- <a- target={props.isExternalLink ? "_blank" : "_self"}- className={classNames(- props.textClassNames || "text-sm font-medium leading-none text-gray-600",- "min-h-9 group flex w-64 flex-row items-center rounded-md px-2 py-[10px] hover:bg-gray-100 group-hover:text-gray-700 [&[aria-current='page']]:bg-gray-200 [&[aria-current='page']]:text-gray-900",- props.disabled && "pointer-events-none !opacity-30",- (isChild || !props.icon) && "ml-7 w-auto ltr:mr-5 rtl:ml-5",- !info ? "h-6" : "h-14",- props.className+ <Link+ key={name}+ href={href}+ {...linkProps}+ target={props.isExternalLink ? "_blank" : "_self"}+ className={classNames(+ props.textClassNames || "text-sm font-medium leading-none text-gray-600",+ "min-h-9 group flex w-64 flex-row items-center rounded-md px-2 py-[10px] hover:bg-gray-100 group-hover:text-gray-700 [&[aria-current='page']]:bg-gray-200 [&[aria-current='page']]:text-gray-900",+ props.disabled && "pointer-events-none !opacity-30",+ (isChild || !props.icon) && "ml-7 w-auto ltr:mr-5 rtl:ml-5",+ !info ? "h-6" : "h-14",+ props.className+ )}+ data-testid={`vertical-tab-${name}`}+ aria-current={isCurrent ? "page" : undefined}>+ {props.icon && (+ <props.icon className="h-[16px] w-[16px] stroke-[2px] ltr:mr-[10px] rtl:ml-[10px] md:mt-0" />+ )}+ <div className="h-fit">+ <span className="flex items-center space-x-2 rtl:space-x-reverse">+ <Skeleton title={t(name)} as="p" className="max-w-36 min-h-4 truncate">+ {t(name)}+ </Skeleton>+ {props.isExternalLink ? <Icon.FiExternalLink /> : null}+ </span>+ {info && (+ <Skeleton as="p" title={t(info)} className="max-w-44 mt-1 truncate text-xs font-normal">+ {t(info)}+ </Skeleton>)}- data-testid={`vertical-tab-${name}`}- aria-current={isCurrent ? "page" : undefined}>- {props.icon && (- <props.icon className="h-[16px] w-[16px] stroke-[2px] ltr:mr-[10px] rtl:ml-[10px] md:mt-0" />- )}- <div className="h-fit">- <span className="flex items-center space-x-2 rtl:space-x-reverse">- <Skeleton title={t(name)} as="p" className="max-w-36 min-h-4 truncate">- {t(name)}- </Skeleton>- {props.isExternalLink ? <Icon.FiExternalLink /> : null}- </span>- {info && (- <Skeleton as="p" title={t(info)} className="max-w-44 mt-1 truncate text-xs font-normal">- {t(info)}- </Skeleton>- )}+ </div>+ {!disableChevron && isCurrent && (+ <div className="ml-auto self-center">+ <Icon.FiChevronRight+ width={20}+ height={20}+ className="h-auto w-[20px] stroke-[1.5px] text-gray-700"+ /></div>- {!disableChevron && isCurrent && (- <div className="ml-auto self-center">- <Icon.FiChevronRight- width={20}- height={20}- className="h-auto w-[20px] stroke-[1.5px] text-gray-700"- />- </div>- )}- </a>+ )}</Link>{props.children?.map((child) => (<VerticalTabItem key={child.name} {...child} isChild />diff --git a/yarn.lock b/yarn.lockindex 6f384c67af6..f3c1ea45279 100644--- a/yarn.lock+++ b/yarn.lock@@ -4811,15 +4811,38 @@unist-util-visit "^4.0.0"vfile "^5.0.0"+"@mdx-js/mdx@^2.2.1":+ version "2.2.1"+ resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-2.2.1.tgz#611af1b68135c94eb467eb07e006fa1d8eebe029"+ integrity sha512-hZ3ex7exYLJn6FfReq8yTvA6TE53uW9UHJQM9IlSauOuS55J9y8RtA7W+dzp6Yrzr00/U1sd7q+Wf61q6SfiTQ==+ dependencies:+ "@types/estree-jsx" "^1.0.0"+ "@types/mdx" "^2.0.0"+ estree-util-build-jsx "^2.0.0"+ estree-util-is-identifier-name "^2.0.0"+ estree-util-to-js "^1.1.0"+ estree-walker "^3.0.0"+ hast-util-to-estree "^2.0.0"+ markdown-extensions "^1.0.0"+ periscopic "^3.0.0"+ remark-mdx "^2.0.0"+ remark-parse "^10.0.0"+ remark-rehype "^10.0.0"+ unified "^10.0.0"+ unist-util-position-from-estree "^1.0.0"+ unist-util-stringify-position "^3.0.0"+ unist-util-visit "^4.0.0"+ vfile "^5.0.0"+"@mdx-js/react@^1.6.16", "@mdx-js/react@^1.6.22":version "1.6.22"resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.6.22.tgz#ae09b4744fddc74714ee9f9d6f17a66e77c43573"integrity sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==-"@mdx-js/react@^2.0.0":- version "2.1.0"- resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-2.1.0.tgz#2aca56d3d9d6f1bbee9f3c44bd26890331419953"- integrity sha512-RlPnY2WcVe91pOilf3Rmu1pArKj7gSK03uoaMFKjPWTyh9t6t1VYGSX40twlpChNSPmbcQ29D0xvSBOVMWA6yw==+"@mdx-js/react@^2.2.1":+ version "2.2.1"+ resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-2.2.1.tgz#5a70592418d52b1b01538c37e795034601c96ec5"+ integrity sha512-YdXcMcEnqZhzql98RNrqYo9cEhTTesBiCclEtoiQUbJwx87q9453GTapYU6kJ8ZZ2ek1Vp25SiAXEFy5O/eAPw==dependencies:"@types/mdx" "^2.0.0""@types/react" ">=16"@@ -4879,82 +4902,82 @@dependencies:webpack-bundle-analyzer "4.3.0"-"@next/[email protected]":- version "12.3.1"- resolved "https://registry.yarnpkg.com/@next/env/-/env-12.3.1.tgz#18266bd92de3b4aa4037b1927aa59e6f11879260"- integrity sha512-9P9THmRFVKGKt9DYqeC2aKIxm8rlvkK38V1P1sRE7qyoPBIs8l9oo79QoSdPtOWfzkbDAVUqvbQGgTMsb8BtJg==+"@next/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/env/-/env-13.1.1.tgz#6ff26488dc7674ef2bfdd1ca28fe43eed1113bea"+ integrity sha512-vFMyXtPjSAiOXOywMojxfKIqE3VWN5RCAx+tT3AS3pcKjMLFTCJFUWsKv8hC+87Z1F4W3r68qTwDFZIFmd5Xkw==-"@next/[email protected]":- version "12.2.5"- resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.2.5.tgz#4f3acccd2ed4f9300fbf9fd480cc8a0b261889a8"- integrity sha512-VBjVbmqEzGiOTBq4+wpeVXt/KgknnGB6ahvC/AxiIGnN93/RCSyXhFRI4uSfftM2Ba3w7ZO7076bfKasZsA0fw==+"@next/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-13.1.1.tgz#cc5e419cc85587f73f2ac0046a91df01dc6fef8b"+ integrity sha512-SBrOFS8PC3nQ5aeZmawJkjKkWjwK9RoxvBSv/86nZp0ubdoVQoko8r8htALd9ufp16NhacCdqhu9bzZLDWtALQ==dependencies:glob "7.1.7"-"@next/[email protected]":- 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/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.1.1.tgz#b5c3cd1f79d5c7e6a3b3562785d4e5ac3555b9e1"+ integrity sha512-qnFCx1kT3JTWhWve4VkeWuZiyjG0b5T6J2iWuin74lORCupdrNukxkq9Pm+Z7PsatxuwVJMhjUoYz7H4cWzx2A==-"@next/[email protected]":- 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/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-13.1.1.tgz#e2ca9ccbba9ef770cb19fbe96d1ac00fe4cb330d"+ integrity sha512-eCiZhTzjySubNqUnNkQCjU3Fh+ep3C6b5DCM5FKzsTH/3Gr/4Y7EiaPZKILbvnXmhWtKPIdcY6Zjx51t4VeTfA==-"@next/[email protected]":- 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/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.1.1.tgz#4af00877332231bbd5a3703435fdd0b011e74767"+ integrity sha512-9zRJSSIwER5tu9ADDkPw5rIZ+Np44HTXpYMr0rkM656IvssowPxmhK0rTreC1gpUCYwFsRbxarUJnJsTWiutPg==-"@next/[email protected]":- 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/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.1.1.tgz#bf4cb09e7e6ec6d91e031118dde2dd17078bcbbc"+ integrity sha512-qWr9qEn5nrnlhB0rtjSdR00RRZEtxg4EGvicIipqZWEyayPxhUu6NwKiG8wZiYZCLfJ5KWr66PGSNeDMGlNaiA==-"@next/[email protected]":- 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/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.1.1.tgz#6933ea1264328e8523e28818f912cd53824382d4"+ integrity sha512-UwP4w/NcQ7V/VJEj3tGVszgb4pyUCt3lzJfUhjDMUmQbzG9LDvgiZgAGMYH6L21MoyAATJQPDGiAMWAPKsmumA==-"@next/[email protected]":- 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/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.1.1.tgz#b5896967aaba3873d809c3ad2e2039e89acde419"+ integrity sha512-CnsxmKHco9sosBs1XcvCXP845Db+Wx1G0qouV5+Gr+HT/ZlDYEWKoHVDgnJXLVEQzq4FmHddBNGbXvgqM1Gfkg==-"@next/[email protected]":- 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/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.1.1.tgz#91b3e9ea8575b1ded421c0ea0739b7bccf228469"+ integrity sha512-JfDq1eri5Dif+VDpTkONRd083780nsMCOKoFG87wA0sa4xL8LGcXIBAkUGIC1uVy9SMsr2scA9CySLD/i+Oqiw==-"@next/[email protected]":- 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/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.1.1.tgz#83149ea05d7d55f3664d608dbe004c0d125f9147"+ integrity sha512-GA67ZbDq2AW0CY07zzGt07M5b5Yaq5qUpFIoW3UFfjOPgb0Sqf3DAW7GtFMK1sF4ROHsRDMGQ9rnT0VM2dVfKA==-"@next/[email protected]":- 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/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.1.1.tgz#d7d0777b56de0dd82b78055772e13e18594a15ca"+ integrity sha512-nnjuBrbzvqaOJaV+XgT8/+lmXrSCOt1YYZn/irbDb2fR2QprL6Q7WJNgwsZNxiLSfLdv+2RJGGegBx9sLBEzGA==-"@next/[email protected]":- 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/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.1.1.tgz#41655722b127133cd95ab5bc8ca1473e9ab6876f"+ integrity sha512-CM9xnAQNIZ8zf/igbIT/i3xWbQZYaF397H+JroF5VMOCUleElaMdQLL5riJml8wUfPoN3dtfn2s4peSr3azz/g==-"@next/[email protected]":- 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/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.1.1.tgz#f10da3dfc9b3c2bbd202f5d449a9b807af062292"+ integrity sha512-pzUHOGrbgfGgPlOMx9xk3QdPJoRPU+om84hqVoe6u+E0RdwOG0Ho/2UxCgDqmvpUrMab1Deltlt6RqcXFpnigQ==-"@next/[email protected]":- 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/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.1.1.tgz#4c0102b9b18ece15c818056d07e3917ee9dade78"+ integrity sha512-WeX8kVS46aobM9a7Xr/kEPcrTyiwJqQv/tbw6nhJ4fH9xNZ+cEcyPoQkwPo570dCOLz3Zo9S2q0E6lJ/EAUOBg==-"@next/[email protected]":- 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/[email protected]":+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.1.1.tgz#c209a37da13be27b722f9c40c40ab4b094866244"+ integrity sha512-mVF0/3/5QAc5EGVnb8ll31nNvf3BWpPY4pBb84tk+BfQglWLqc5AC9q1Ht/YMWiEgs8ALNKEQ3GQnbY0bJF2Gg=="@nodelib/[email protected]":version "2.1.5"@@ -5061,6 +5084,18 @@resolved "https://registry.yarnpkg.com/@pedrouid/environment/-/environment-1.0.1.tgz#858f0f8a057340e0b250398b75ead77d6f4342ec"integrity sha512-HaW78NszGzRZd9SeoI3JD11JqY+lubnaOx7Pewj5pfjqWXOEATpeKIFb9Z4t2WBUK2iryiXX3lzWwmYWgUL0Ug==+"@pkgr/utils@^2.3.1":+ version "2.3.1"+ resolved "https://registry.yarnpkg.com/@pkgr/utils/-/utils-2.3.1.tgz#0a9b06ffddee364d6642b3cd562ca76f55b34a03"+ integrity sha512-wfzX8kc1PMyUILA+1Z/EqoE4UCXGy0iRGMhPwdfae1+f0OXlLqCk+By+aMzgJBzR9AzS4CDizioG6Ss1gvAFJw==+ dependencies:+ cross-spawn "^7.0.3"+ is-glob "^4.0.3"+ open "^8.4.0"+ picocolors "^1.0.0"+ tiny-glob "^0.2.9"+ tslib "^2.4.0"+"@playwright/test@^1.25.0":version "1.25.0"resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.25.0.tgz#e0de134651e78e45e986c5f16578188dd5937331"@@ -7577,10 +7612,10 @@resolved "https://registry.yarnpkg.com/@stripe/stripe-js/-/stripe-js-1.35.0.tgz#f809e2e5e0a00f01aa12e8aed0b89d27728c05c0"integrity sha512-UIuzpbJqgXCTvJhY/aZYvBtaKdMfQgnIv6kkLlfRJ9smZcC4zoPvq3j7k9wobYI+idHAWP4BRiPnqA8lvzJCtg==-"@swc/[email protected]":- version "0.4.11"- resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.4.11.tgz#db23a376761b3d31c26502122f349a21b592c8de"- integrity sha512-rEUrBSGIoSFuYxwBYtlUFMlE2CwGhmW+w9355/5oduSw8e5h2+Tj4UrAGNNgP9915++wj5vkQo0UuOBqOAq4nw==+"@swc/[email protected]":+ version "0.4.14"+ resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.4.14.tgz#1352ac6d95e3617ccb7c1498ff019654f1e12a74"+ integrity sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==dependencies:tslib "^2.4.0"@@ -7955,6 +7990,13 @@dependencies:"@types/estree" "*"+"@types/estree-jsx@^1.0.0":+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/@types/estree-jsx/-/estree-jsx-1.0.0.tgz#7bfc979ab9f692b492017df42520f7f765e98df1"+ integrity sha512-3qvGd0z8F2ENTGr/GG1yViqfiKmRfrXVx5sJyHGFu3z7m5g5utCQtGp/g29JnjflhtQJBv1WDQukHiT58xPcYQ==+ dependencies:+ "@types/estree" "*"+"@types/estree@*", "@types/estree@^0.0.51":version "0.0.51"resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40"@@ -8578,16 +8620,6 @@semver "^7.3.7"tsutils "^3.21.0"-"@typescript-eslint/parser@^5.21.0":- version "5.24.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.24.0.tgz#fe6563483f264aa9fe48b7fd9b329aa5f985841a"- integrity sha512-4q29C6xFYZ5B2CXqSBBdcS0lPyfM9M09DoQLtHS5kf+WbpV8pBBhHDLNhXfgyVwFnhrhYzOu7xmg02DzxeF2Uw==- dependencies:- "@typescript-eslint/scope-manager" "5.24.0"- "@typescript-eslint/types" "5.24.0"- "@typescript-eslint/typescript-estree" "5.24.0"- debug "^4.3.4"-"@typescript-eslint/parser@^5.33.1":version "5.33.1"resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.33.1.tgz#e4b253105b4d2a4362cfaa4e184e2d226c440ff3"@@ -8598,13 +8630,15 @@"@typescript-eslint/typescript-estree" "5.33.1"debug "^4.3.4"-"@typescript-eslint/[email protected]":- version "5.24.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.24.0.tgz#ac8c4d65064204b596909c204fe9b7e30c3f51b2"- integrity sha512-WpMWipcDzGmMzdT7NtTjRXFabx10WleLUGrJpuJLGaxSqpcyq5ACpKSD5VE40h2nz3melQ91aP4Du7lh9FliCA==+"@typescript-eslint/parser@^5.42.0":+ version "5.48.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.48.0.tgz#02803355b23884a83e543755349809a50b7ed9ba"+ integrity sha512-1mxNA8qfgxX8kBvRDIHEzrRGrKHQfQlbW6iHyfHYS0Q4X1af+S6mkLNtgCOsGVl8+/LUPrqdHMssAemkrQ01qg==dependencies:- "@typescript-eslint/types" "5.24.0"- "@typescript-eslint/visitor-keys" "5.24.0"+ "@typescript-eslint/scope-manager" "5.48.0"+ "@typescript-eslint/types" "5.48.0"+ "@typescript-eslint/typescript-estree" "5.48.0"+ debug "^4.3.4""@typescript-eslint/[email protected]":version "5.33.1"@@ -8614,6 +8648,14 @@"@typescript-eslint/types" "5.33.1""@typescript-eslint/visitor-keys" "5.33.1"+"@typescript-eslint/[email protected]":+ version "5.48.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.48.0.tgz#607731cb0957fbc52fd754fd79507d1b6659cecf"+ integrity sha512-0AA4LviDtVtZqlyUQnZMVHydDATpD9SAX/RC5qh6cBd3xmyWvmXYF+WT1oOmxkeMnWDlUVTwdODeucUnjz3gow==+ dependencies:+ "@typescript-eslint/types" "5.48.0"+ "@typescript-eslint/visitor-keys" "5.48.0"+"@typescript-eslint/[email protected]":version "5.33.1"resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.33.1.tgz#1a14e94650a0ae39f6e3b77478baff002cec4367"@@ -8623,28 +8665,15 @@debug "^4.3.4"tsutils "^3.21.0"-"@typescript-eslint/[email protected]":- version "5.24.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.24.0.tgz#565ff94a4b89073265e27514dc65225d18aabe6c"- integrity sha512-Tpg1c3shTDgTmZd3qdUyd+16r/pGmVaVEbLs+ufuWP0EruVbUiEOmpBBQxBb9a8iPRxi8Rb2oiwOxuZJzSq11A==-"@typescript-eslint/[email protected]":version "5.33.1"resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.33.1.tgz#3faef41793d527a519e19ab2747c12d6f3741ff7"integrity sha512-7K6MoQPQh6WVEkMrMW5QOA5FO+BOwzHSNd0j3+BlBwd6vtzfZceJ8xJ7Um2XDi/O3umS8/qDX6jdy2i7CijkwQ==-"@typescript-eslint/[email protected]":- version "5.24.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.24.0.tgz#30b9cbc1af475b9e02aca34cfe9ba9e1bb820143"- integrity sha512-zcor6vQkQmZAQfebSPVwUk/FD+CvnsnlfKXYeQDsWXRF+t7SBPmIfNia/wQxCSeu1h1JIjwV2i9f5/DdSp/uDw==- dependencies:- "@typescript-eslint/types" "5.24.0"- "@typescript-eslint/visitor-keys" "5.24.0"- debug "^4.3.4"- globby "^11.1.0"- is-glob "^4.0.3"- semver "^7.3.7"- tsutils "^3.21.0"+"@typescript-eslint/[email protected]":+ version "5.48.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.48.0.tgz#d725da8dfcff320aab2ac6f65c97b0df30058449"+ integrity sha512-UTe67B0Ypius0fnEE518NB2N8gGutIlTojeTg4nt0GQvikReVkurqxd2LvYa9q9M5MQ6rtpNyWTBxdscw40Xhw=="@typescript-eslint/[email protected]":version "5.33.1"@@ -8659,6 +8688,19 @@semver "^7.3.7"tsutils "^3.21.0"+"@typescript-eslint/[email protected]":+ version "5.48.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.0.tgz#a7f04bccb001003405bb5452d43953a382c2fac2"+ integrity sha512-7pjd94vvIjI1zTz6aq/5wwE/YrfIyEPLtGJmRfyNR9NYIW+rOvzzUv3Cmq2hRKpvt6e9vpvPUQ7puzX7VSmsEw==+ dependencies:+ "@typescript-eslint/types" "5.48.0"+ "@typescript-eslint/visitor-keys" "5.48.0"+ debug "^4.3.4"+ globby "^11.1.0"+ is-glob "^4.0.3"+ semver "^7.3.7"+ tsutils "^3.21.0"+"@typescript-eslint/[email protected]", "@typescript-eslint/utils@^5.33.1":version "5.33.1"resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.33.1.tgz#171725f924fe1fe82bb776522bb85bc034e88575"@@ -8671,14 +8713,6 @@eslint-scope "^5.1.1"eslint-utils "^3.0.0"-"@typescript-eslint/[email protected]":- version "5.24.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.24.0.tgz#bb3e9a788ccd50c53e03557e4e203599880c3123"- integrity sha512-qzGwSXMyMnogcAo+/2fU+jhlPPVMXlIH2PeAonIKjJSoDKl1+lJVvG5Z5Oud36yU0TWK2cs1p/FaSN5J2OUFYA==- dependencies:- "@typescript-eslint/types" "5.24.0"- eslint-visitor-keys "^3.3.0"-"@typescript-eslint/[email protected]":version "5.33.1"resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.33.1.tgz#0155c7571c8cd08956580b880aea327d5c34a18b"@@ -8687,6 +8721,14 @@"@typescript-eslint/types" "5.33.1"eslint-visitor-keys "^3.3.0"+"@typescript-eslint/[email protected]":+ version "5.48.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.48.0.tgz#4446d5e7f6cadde7140390c0e284c8702d944904"+ integrity sha512-5motVPz5EgxQ0bHjut3chzBkJ3Z3sheYVcSwS5BpHZpLqSptSmELNtGixmgj65+rIfhvtQTz5i9OP2vtzdDH7Q==+ dependencies:+ "@typescript-eslint/types" "5.48.0"+ eslint-visitor-keys "^3.3.0"+"@vanilla-extract/[email protected]":version "1.7.0"resolved "https://registry.yarnpkg.com/@vanilla-extract/css/-/css-1.7.0.tgz#7276830c7741b17b7a70720be88c9083682f5206"@@ -9775,6 +9817,17 @@ array-includes@^3.1.4:get-intrinsic "^1.1.1"is-string "^1.0.7"+array-includes@^3.1.6:+ version "3.1.6"+ resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.6.tgz#9e9e720e194f198266ba9e18c29e6a9b0e4b225f"+ integrity sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.4"+ es-abstract "^1.20.4"+ get-intrinsic "^1.1.3"+ is-string "^1.0.7"+array-union@^1.0.2:version "1.0.2"resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39"@@ -9826,14 +9879,15 @@ array.prototype.flatmap@^1.2.1, array.prototype.flatmap@^1.3.0:es-abstract "^1.19.2"es-shim-unscopables "^1.0.0"-array.prototype.flatmap@^1.2.5:- version "1.2.5"- resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.2.5.tgz#908dc82d8a406930fdf38598d51e7411d18d4446"- integrity sha512-08u6rVyi1Lj7oqWbS9nUxliETrtIROT4XGTA4D/LWGten6E3ocm7cy9SIrmNHOL5XVbVuckUp3X6Xyg8/zpvHA==+array.prototype.flatmap@^1.3.1:+ version "1.3.1"+ resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz#1aae7903c2100433cb8261cd4ed310aab5c4a183"+ integrity sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==dependencies:- call-bind "^1.0.0"- define-properties "^1.1.3"- es-abstract "^1.19.0"+ call-bind "^1.0.2"+ define-properties "^1.1.4"+ es-abstract "^1.20.4"+ es-shim-unscopables "^1.0.0"array.prototype.map@^1.0.4:version "1.0.4"@@ -9857,6 +9911,17 @@ array.prototype.reduce@^1.0.4:es-array-method-boxes-properly "^1.0.0"is-string "^1.0.7"+array.prototype.tosorted@^1.1.1:+ version "1.1.1"+ resolved "https://registry.yarnpkg.com/array.prototype.tosorted/-/array.prototype.tosorted-1.1.1.tgz#ccf44738aa2b5ac56578ffda97c03fd3e23dd532"+ integrity sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.4"+ es-abstract "^1.20.4"+ es-shim-unscopables "^1.0.0"+ get-intrinsic "^1.1.3"+arrify@^1.0.1:version "1.0.1"resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"@@ -9929,6 +9994,11 @@ astring@^1.6.0:resolved "https://registry.yarnpkg.com/astring/-/astring-1.8.1.tgz#a91c4afd4af3523e11f31242a3d5d9af62bb6cc6"integrity sha512-Aj3mbwVzj7Vve4I/v2JYOPFkCGM2YS7OqQTNSxmUR+LECRpokuPgAYghePgr6SALDo5bD5DlfbSaYjOzGJZOLQ==+astring@^1.8.0:+ version "1.8.4"+ resolved "https://registry.yarnpkg.com/astring/-/astring-1.8.4.tgz#6d4c5d8de7be2ead9e4a3cc0e2efb8d759378904"+ integrity sha512-97a+l2LBU3Op3bBQEff79i/E4jMD2ZLFD8rHx9B6mXyB2uQwhJQYfiDqUwtfjF4QA1F2qs//N6Cw8LetMbQjcw==+async-each@^1.0.1:version "1.0.3"resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf"@@ -11416,7 +11486,7 @@ 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:[email protected], 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==@@ -13449,19 +13519,19 @@ escodegen@^2.0.0:optionalDependencies:source-map "~0.6.1"-eslint-config-next@^12.2.5:- version "12.2.5"- resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-12.2.5.tgz#76ce83f18cc02f6f42ed407a127f83db54fabd3c"- integrity sha512-SOowilkqPzW6DxKp3a3SYlrfPi5Ajs9MIzp9gVfUDxxH9QFM5ElkR1hX5m/iICJuvCbWgQqFBiA3mCMozluniw==+eslint-config-next@^13.1.1:+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-13.1.1.tgz#b1a6602b0a339820585d4b2f8d2e08866b6699a7"+ integrity sha512-/5S2XGWlGaiqrRhzpn51ux5JUSLwx8PVK2keLi5xk7QmhfYB8PqE6R6SlVw6hgnf/VexvUXSrlNJ/su00NhtHQ==dependencies:- "@next/eslint-plugin-next" "12.2.5"+ "@next/eslint-plugin-next" "13.1.1""@rushstack/eslint-patch" "^1.1.3"- "@typescript-eslint/parser" "^5.21.0"+ "@typescript-eslint/parser" "^5.42.0"eslint-import-resolver-node "^0.3.6"- eslint-import-resolver-typescript "^2.7.1"+ eslint-import-resolver-typescript "^3.5.2"eslint-plugin-import "^2.26.0"eslint-plugin-jsx-a11y "^6.5.1"- eslint-plugin-react "^7.29.4"+ eslint-plugin-react "^7.31.7"eslint-plugin-react-hooks "^4.5.0"eslint-config-prettier@^8.5.0:@@ -13484,16 +13554,18 @@ eslint-import-resolver-node@^0.3.6:debug "^3.2.7"resolve "^1.20.0"-eslint-import-resolver-typescript@^2.7.1:- version "2.7.1"- resolved "https://registry.yarnpkg.com/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-2.7.1.tgz#a90a4a1c80da8d632df25994c4c5fdcdd02b8751"- integrity sha512-00UbgGwV8bSgUv34igBDbTOtKhqoRMy9bFjNehT40bXg6585PNIct8HhXZ0SybqB9rWtXj9crcku8ndDn/gIqQ==+eslint-import-resolver-typescript@^3.5.2:+ version "3.5.2"+ resolved "https://registry.yarnpkg.com/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.5.2.tgz#9431acded7d898fd94591a08ea9eec3514c7de91"+ integrity sha512-zX4ebnnyXiykjhcBvKIf5TNvt8K7yX6bllTRZ14MiurKPjDpCAZujlszTdB8pcNXhZcOf+god4s9SjQa5GnytQ==dependencies:debug "^4.3.4"- glob "^7.2.0"+ enhanced-resolve "^5.10.0"+ get-tsconfig "^4.2.0"+ globby "^13.1.2"+ is-core-module "^2.10.0"is-glob "^4.0.3"- resolve "^1.22.0"- tsconfig-paths "^3.14.1"+ synckit "^0.8.4"eslint-module-utils@^2.7.3:version "2.7.3"@@ -13562,45 +13634,46 @@ eslint-plugin-react-hooks@^4.6.0:resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3"integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==-eslint-plugin-react@^7.29.4:- version "7.29.4"- resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.29.4.tgz#4717de5227f55f3801a5fd51a16a4fa22b5914d2"- integrity sha512-CVCXajliVh509PcZYRFyu/BoUEz452+jtQJq2b3Bae4v3xBUWPLCmtmBM+ZinG4MzwmxJgJ2M5rMqhqLVn7MtQ==+eslint-plugin-react@^7.30.1:+ version "7.30.1"+ resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.30.1.tgz#2be4ab23ce09b5949c6631413ba64b2810fd3e22"+ integrity sha512-NbEvI9jtqO46yJA3wcRF9Mo0lF9T/jhdHqhCHXiXtD+Zcb98812wvokjWpU7Q4QH5edo6dmqrukxVvWWXHlsUg==dependencies:- array-includes "^3.1.4"- array.prototype.flatmap "^1.2.5"+ array-includes "^3.1.5"+ array.prototype.flatmap "^1.3.0"doctrine "^2.1.0"estraverse "^5.3.0"jsx-ast-utils "^2.4.1 || ^3.0.0"minimatch "^3.1.2"object.entries "^1.1.5"object.fromentries "^2.0.5"- object.hasown "^1.1.0"+ object.hasown "^1.1.1"object.values "^1.1.5"prop-types "^15.8.1"resolve "^2.0.0-next.3"semver "^6.3.0"- string.prototype.matchall "^4.0.6"+ string.prototype.matchall "^4.0.7"-eslint-plugin-react@^7.30.1:- version "7.30.1"- resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.30.1.tgz#2be4ab23ce09b5949c6631413ba64b2810fd3e22"- integrity sha512-NbEvI9jtqO46yJA3wcRF9Mo0lF9T/jhdHqhCHXiXtD+Zcb98812wvokjWpU7Q4QH5edo6dmqrukxVvWWXHlsUg==+eslint-plugin-react@^7.31.7:+ version "7.31.11"+ resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.31.11.tgz#011521d2b16dcf95795df688a4770b4eaab364c8"+ integrity sha512-TTvq5JsT5v56wPa9OYHzsrOlHzKZKjV+aLgS+55NJP/cuzdiQPC7PfYoUjMoxlffKtvijpk7vA/jmuqRb9nohw==dependencies:- array-includes "^3.1.5"- array.prototype.flatmap "^1.3.0"+ array-includes "^3.1.6"+ array.prototype.flatmap "^1.3.1"+ array.prototype.tosorted "^1.1.1"doctrine "^2.1.0"estraverse "^5.3.0"jsx-ast-utils "^2.4.1 || ^3.0.0"minimatch "^3.1.2"- object.entries "^1.1.5"- object.fromentries "^2.0.5"- object.hasown "^1.1.1"- object.values "^1.1.5"+ object.entries "^1.1.6"+ object.fromentries "^2.0.6"+ object.hasown "^1.1.2"+ object.values "^1.1.6"prop-types "^15.8.1"resolve "^2.0.0-next.3"semver "^6.3.0"- string.prototype.matchall "^4.0.7"+ string.prototype.matchall "^4.0.8"version "0.0.3"@@ -13823,6 +13896,15 @@ estree-util-is-identifier-name@^2.0.0:resolved "https://registry.yarnpkg.com/estree-util-is-identifier-name/-/estree-util-is-identifier-name-2.0.0.tgz#e2d3d2ae3032c017b2112832bfc5d8ba938c8010"integrity sha512-aXXZFVMnBBDRP81vS4YtAYJ0hUkgEsXea7lNKWCOeaAquGb1Jm2rcONPB5fpzwgbNxulTvrWuKnp9UElUGAKeQ==+estree-util-to-js@^1.1.0:+ version "1.1.0"+ resolved "https://registry.yarnpkg.com/estree-util-to-js/-/estree-util-to-js-1.1.0.tgz#3bd9bb86354063537cc3d81259be2f0d4c3af39f"+ integrity sha512-490lbfCcpLk+ofK6HCgqDfYs4KAfq6QVvDw3+Bm1YoKRgiOjKiKYGAVQE1uwh7zVxBgWhqp4FDtp5SqunpUk1A==+ dependencies:+ "@types/estree-jsx" "^1.0.0"+ astring "^1.8.0"+ source-map "^0.7.0"+estree-util-visit@^1.0.0:version "1.1.0"resolved "https://registry.yarnpkg.com/estree-util-visit/-/estree-util-visit-1.1.0.tgz#c0ea7942c40ac7889a77b57a11e92f987744bc6f"@@ -15231,6 +15313,11 @@ get-symbol-description@^1.0.0:call-bind "^1.0.2"get-intrinsic "^1.1.1"+get-tsconfig@^4.2.0:+ version "4.3.0"+ resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.3.0.tgz#4c26fae115d1050e836aea65d6fe56b507ee249b"+ integrity sha512-YCcF28IqSay3fqpIu5y3Krg/utCBHBeoflkZyHj/QcqI2nrLPC3ZegS9CmIo+hJb8K7aiGsuUl7PwWVjNG2HQQ==+get-user-locale@^1.2.0:version "1.4.0"resolved "https://registry.yarnpkg.com/get-user-locale/-/get-user-locale-1.4.0.tgz#a2c4b5da46feec9f03c9b07d197b1620490a5370"@@ -15396,6 +15483,11 @@ globalthis@^1.0.0, globalthis@^1.0.3:dependencies:define-properties "^1.1.3"+ version "0.1.0"+ resolved "https://registry.yarnpkg.com/globalyzer/-/globalyzer-0.1.0.tgz#cb76da79555669a1519d5a8edf093afaa0bf1465"+ integrity sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==+globby@^11.0.2, globby@^11.1.0:version "11.1.0"resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b"@@ -15419,6 +15511,17 @@ globby@^13.1.1:merge2 "^1.4.1"slash "^4.0.0"+globby@^13.1.2:+ version "13.1.3"+ resolved "https://registry.yarnpkg.com/globby/-/globby-13.1.3.tgz#f62baf5720bcb2c1330c8d4ef222ee12318563ff"+ integrity sha512-8krCNHXvlCgHDpegPzleMq07yMYTO2sXKASmZmquEYWEmCx6J5UTRbp5RwMJkTJGtcQ44YpiUYUiN0b9mzy8Bw==+ dependencies:+ dir-glob "^3.0.1"+ fast-glob "^3.2.11"+ ignore "^5.2.0"+ merge2 "^1.4.1"+ slash "^4.0.0"+globby@^9.2.0:version "9.2.0"resolved "https://registry.yarnpkg.com/globby/-/globby-9.2.0.tgz#fd029a706c703d29bdd170f4b6db3a3f7a7cb63d"@@ -15433,6 +15536,11 @@ globby@^9.2.0:pify "^4.0.1"slash "^2.0.0"+globrex@^0.1.2:+ version "0.1.2"+ resolved "https://registry.yarnpkg.com/globrex/-/globrex-0.1.2.tgz#dd5d9ec826232730cd6793a5e33a9302985e6098"+ integrity sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==+goober@^2.1.10:version "2.1.10"resolved "https://registry.yarnpkg.com/goober/-/goober-2.1.10.tgz#058def43ba1e3b06f973dbb372a4978aa42f1049"@@ -16618,6 +16726,13 @@ is-ci@^2.0.0:dependencies:ci-info "^2.0.0"+is-core-module@^2.10.0:+ version "2.11.0"+ resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144"+ integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==+ dependencies:+ has "^1.0.3"+is-core-module@^2.2.0, is-core-module@^2.8.1:version "2.8.1"resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.1.tgz#f59fdfca701d5879d0a6b100a40aa1560ce27211"@@ -20052,10 +20167,10 @@ next-auth@^4.10.3:preact-render-to-string "^5.1.19"uuid "^8.3.2"-next-axiom@^0.10.0:- version "0.10.0"- resolved "https://registry.yarnpkg.com/next-axiom/-/next-axiom-0.10.0.tgz#7cd2f52d9691cf9f7984ed325d58a6f93912eed3"- integrity sha512-QrOUqNmJ20StiR0b+/HMiW0o0w442DjfaOg4yH3hNJmAX0c9Afy6hiZ/j9D67XmqlpXeg83ESx89rt83u4/giA==+next-axiom@^0.16.0:+ version "0.16.0"+ resolved "https://registry.yarnpkg.com/next-axiom/-/next-axiom-0.16.0.tgz#0bdde740cf51ba9f3bff0e68061c488c9a150094"+ integrity sha512-WlmObMtra/OJPiJ6Gim4g8OTuLlJx9DVTeEaNmBIO3wEkR+Nt4932/xng2a9XofOVR7RgaNk1QIyPrqZW9P25w==dependencies:whatwg-fetch "^3.6.2"@@ -20079,13 +20194,13 @@ next-i18next@^11.3.0:i18next-fs-backend "^1.1.4"react-i18next "^11.18.0"-next-mdx-remote@^4.1.0:- version "4.1.0"- resolved "https://registry.yarnpkg.com/next-mdx-remote/-/next-mdx-remote-4.1.0.tgz#5e063542437a8cfa3faa9623870b076c01429c2a"- integrity sha512-ZdL5AFJcEqvInGkYYRKda930D6AJt1GOLX/OXFE/vTwaqV/Mw+l3/njZ4kWqvYSAkl89Z6W7WZrTtN0fd0XwPg==+next-mdx-remote@^4.2.1:+ version "4.2.1"+ resolved "https://registry.yarnpkg.com/next-mdx-remote/-/next-mdx-remote-4.2.1.tgz#1aee0207b029487100ef49740be210595fe04e50"+ integrity sha512-PcVF1r5XTBjiNVXw0GyaIcOwQsklHo36+7ycfmtJb52TIkT0nM4Hzv4wgJwNg7+jvTbap99qWsMwdKUYR9WxAA==dependencies:- "@mdx-js/mdx" "^2.0.0"- "@mdx-js/react" "^2.0.0"+ "@mdx-js/mdx" "^2.2.1"+ "@mdx-js/react" "^2.2.1"vfile "^5.3.0"vfile-matter "^3.0.1"@@ -20123,6 +20238,13 @@ next-tick@^1.1.0:resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb"integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==+next-transpile-modules@^10.0.0:+ version "10.0.0"+ resolved "https://registry.yarnpkg.com/next-transpile-modules/-/next-transpile-modules-10.0.0.tgz#7152880048835acb64d05fc7aa34910cbe7994da"+ integrity sha512-FyeJ++Lm2Fq31gbThiRCrJlYpIY9QaI7A3TjuhQLzOix8ChQrvn5ny4MhfIthS5cy6+uK1AhDRvxVdW17y3Xdw==+ dependencies:+ enhanced-resolve "^5.10.0"+next-transpile-modules@^8.0.0:version "8.0.0"resolved "https://registry.yarnpkg.com/next-transpile-modules/-/next-transpile-modules-8.0.0.tgz#56375cdc25ae5d23a834195f277fc2737b26cb97"@@ -20131,44 +20253,35 @@ next-transpile-modules@^8.0.0:enhanced-resolve "^5.7.0"escalade "^3.1.1"-next-transpile-modules@^9.0.0:- version "9.0.0"- resolved "https://registry.yarnpkg.com/next-transpile-modules/-/next-transpile-modules-9.0.0.tgz#133b1742af082e61cc76b02a0f12ffd40ce2bf90"- integrity sha512-VCNFOazIAnXn1hvgYYSTYMnoWgKgwlYh4lm1pKbSfiB3kj5ZYLcKVhfh3jkPOg1cnd9DP+pte9yCUocdPEUBTQ==- dependencies:- enhanced-resolve "^5.7.0"- escalade "^3.1.1"-next-validations@^0.2.0:version "0.2.1"resolved "https://registry.yarnpkg.com/next-validations/-/next-validations-0.2.1.tgz#68010c9b017ba48eec4f404fd42eb9b0c7324737"integrity sha512-92pR14MPTTx0ynlvYH2TwMf7WiGiznNL/l0dtZyKPw3x48rcMhwEZrP1ZmsMJwzp5D+U+sY2deexeLWC8rlNtQ==-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.1.1:+ version "13.1.1"+ resolved "https://registry.yarnpkg.com/next/-/next-13.1.1.tgz#42b825f650410649aff1017d203a088d77c80b5b"+ integrity sha512-R5eBAaIa3X7LJeYvv1bMdGnAVF4fVToEjim7MkflceFPuANY3YyvFxXee/A+acrSYwYPvOvf7f6v/BM/48ea5w==dependencies:- "@next/env" "12.3.1"- "@swc/helpers" "0.4.11"+ "@next/env" "13.1.1"+ "@swc/helpers" "0.4.14"caniuse-lite "^1.0.30001406"postcss "8.4.14"- styled-jsx "5.0.7"- use-sync-external-store "1.2.0"+ styled-jsx "5.1.1"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.1.1"+ "@next/swc-android-arm64" "13.1.1"+ "@next/swc-darwin-arm64" "13.1.1"+ "@next/swc-darwin-x64" "13.1.1"+ "@next/swc-freebsd-x64" "13.1.1"+ "@next/swc-linux-arm-gnueabihf" "13.1.1"+ "@next/swc-linux-arm64-gnu" "13.1.1"+ "@next/swc-linux-arm64-musl" "13.1.1"+ "@next/swc-linux-x64-gnu" "13.1.1"+ "@next/swc-linux-x64-musl" "13.1.1"+ "@next/swc-win32-arm64-msvc" "13.1.1"+ "@next/swc-win32-ia32-msvc" "13.1.1"+ "@next/swc-win32-x64-msvc" "13.1.1"nextra-theme-docs@^1.2.2:version "1.2.6"@@ -20565,6 +20678,15 @@ object.entries@^1.1.0, object.entries@^1.1.5:define-properties "^1.1.3"es-abstract "^1.19.1"+object.entries@^1.1.6:+ version "1.1.6"+ resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.6.tgz#9737d0e5b8291edd340a3e3264bb8a3b00d5fa23"+ integrity sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.4"+ es-abstract "^1.20.4"+"object.fromentries@^2.0.0 || ^1.0.0", object.fromentries@^2.0.5:version "2.0.5"resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.5.tgz#7b37b205109c21e741e605727fe8b0ad5fa08251"@@ -20574,6 +20696,15 @@ object.entries@^1.1.0, object.entries@^1.1.5:define-properties "^1.1.3"es-abstract "^1.19.1"+object.fromentries@^2.0.6:+ version "2.0.6"+ resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.6.tgz#cdb04da08c539cffa912dcd368b886e0904bfa73"+ integrity sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.4"+ es-abstract "^1.20.4"+object.getownpropertydescriptors@^2.0.3, object.getownpropertydescriptors@^2.1.2:version "2.1.4"resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.4.tgz#7965e6437a57278b587383831a9b829455a4bc37"@@ -20584,14 +20715,6 @@ object.getownpropertydescriptors@^2.0.3, object.getownpropertydescriptors@^2.1.2define-properties "^1.1.4"es-abstract "^1.20.1"-object.hasown@^1.1.0:- version "1.1.0"- resolved "https://registry.yarnpkg.com/object.hasown/-/object.hasown-1.1.0.tgz#7232ed266f34d197d15cac5880232f7a4790afe5"- integrity sha512-MhjYRfj3GBlhSkDHo6QmvgjRLXQ2zndabdf3nX0yTyZK9rPfxb6uRpAac8HXNLy1GpqWtZ81Qh4v3uOls2sRAg==- dependencies:- define-properties "^1.1.3"- es-abstract "^1.19.1"-object.hasown@^1.1.1:version "1.1.1"resolved "https://registry.yarnpkg.com/object.hasown/-/object.hasown-1.1.1.tgz#ad1eecc60d03f49460600430d97f23882cf592a3"@@ -20600,6 +20723,14 @@ object.hasown@^1.1.1:define-properties "^1.1.4"es-abstract "^1.19.5"+object.hasown@^1.1.2:+ version "1.1.2"+ resolved "https://registry.yarnpkg.com/object.hasown/-/object.hasown-1.1.2.tgz#f919e21fad4eb38a57bc6345b3afd496515c3f92"+ integrity sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==+ dependencies:+ define-properties "^1.1.4"+ es-abstract "^1.20.4"+object.pick@^1.3.0:version "1.3.0"resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747"@@ -20616,6 +20747,15 @@ object.values@^1.1.0, object.values@^1.1.5:define-properties "^1.1.3"es-abstract "^1.19.1"+object.values@^1.1.6:+ version "1.1.6"+ resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.6.tgz#4abbaa71eba47d63589d402856f908243eea9b1d"+ integrity sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.4"+ es-abstract "^1.20.4"+objectorarray@^1.0.5:version "1.0.5"resolved "https://registry.yarnpkg.com/objectorarray/-/objectorarray-1.0.5.tgz#2c05248bbefabd8f43ad13b41085951aac5e68a5"@@ -21787,7 +21927,7 @@ prism-react-renderer@^1.3.5:resolved "https://registry.yarnpkg.com/prism-react-renderer/-/prism-react-renderer-1.3.5.tgz#786bb69aa6f73c32ba1ee813fbe17a0115435085"integrity sha512-IJ+MSwBWKG+SM3b2SUfdrhC+gu01QkV2KmRQgREThBfSQRoufqRfxfHUxpG1WcaFjP+kojcFyO9Qqtpgt3qLCg==-prisma-field-encryption@^1.4.0:+prisma-field-encryption@^1.4.0-beta.2:version "1.4.0"resolved "https://registry.yarnpkg.com/prisma-field-encryption/-/prisma-field-encryption-1.4.0.tgz#fb644cf98b782c81e443f022e27b0108fe31c7ed"integrity sha512-ZJLIZL4IzdkZSmeVnpvW7E4/P74txf2OLZWzzfHQlkLcDJOddfIcXPytCxwHiPZX12aXfsVt0bA2T11mdA/lMw==@@ -24491,7 +24631,7 @@ string.prototype.codepointat@^0.2.1:resolved "https://registry.yarnpkg.com/string.prototype.codepointat/-/string.prototype.codepointat-0.2.1.tgz#004ad44c8afc727527b108cd462b4d971cd469bc"integrity sha512-2cBVCj6I4IOvEnjgO/hWqXjqBGsY+zwPmHl12Srk9IXSZ56Jwwmy+66XO5Iut/oQVR7t5ihYdLB0GMa4alEUcg==-"string.prototype.matchall@^4.0.0 || ^3.0.1", string.prototype.matchall@^4.0.6, string.prototype.matchall@^4.0.7:+"string.prototype.matchall@^4.0.0 || ^3.0.1", string.prototype.matchall@^4.0.7:version "4.0.7"resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz#8e6ecb0d8a1fb1fda470d81acecb2dba057a481d"integrity sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg==@@ -24505,6 +24645,20 @@ string.prototype.codepointat@^0.2.1:regexp.prototype.flags "^1.4.1"side-channel "^1.0.4"+string.prototype.matchall@^4.0.8:+ version "4.0.8"+ resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz#3bf85722021816dcd1bf38bb714915887ca79fd3"+ integrity sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.4"+ es-abstract "^1.20.4"+ get-intrinsic "^1.1.3"+ has-symbols "^1.0.3"+ internal-slot "^1.0.3"+ regexp.prototype.flags "^1.4.3"+ side-channel "^1.0.4"+string.prototype.padend@^3.0.0:version "3.1.3"resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.1.3.tgz#997a6de12c92c7cb34dc8a201a6c53d9bd88a5f1"@@ -24745,10 +24899,12 @@ [email protected], style-to-object@^0.3.0:dependencies:inline-style-parser "0.1.1"- version "5.0.7"- resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-5.0.7.tgz#be44afc53771b983769ac654d355ca8d019dff48"- integrity sha512-b3sUzamS086YLRuvnaDigdAewz1/EFYlHpYBP5mZovKEdQQOIIYq8lApylub3HHZ6xFjV051kkGU7cudJmrXEA==+ version "5.1.1"+ resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-5.1.1.tgz#839a1c3aaacc4e735fed0781b8619ea5d0009d1f"+ integrity sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==+ dependencies:+ client-only "0.0.1"version "4.0.13"@@ -25002,6 +25158,14 @@ synchronous-promise@^2.0.15:resolved "https://registry.yarnpkg.com/synchronous-promise/-/synchronous-promise-2.0.15.tgz#07ca1822b9de0001f5ff73595f3d08c4f720eb8e"integrity sha512-k8uzYIkIVwmT+TcglpdN50pS2y1BDcUnBPK9iJeGu0Pl1lOI8pD6wtzgw91Pjpe+RxtTncw32tLxs/R0yNL2Mg==+synckit@^0.8.4:+ version "0.8.4"+ resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.8.4.tgz#0e6b392b73fafdafcde56692e3352500261d64ec"+ integrity sha512-Dn2ZkzMdSX827QbowGbU/4yjWuvNaCoScLLoMo/yKbu+P4GBR6cRGKZH27k6a9bRzdqcyd1DE96pQtQ6uNkmyw==+ dependencies:+ "@pkgr/utils" "^2.3.1"+ tslib "^2.4.0"+tailwind-scrollbar@^2.0.1:version "2.0.1"resolved "https://registry.yarnpkg.com/tailwind-scrollbar/-/tailwind-scrollbar-2.0.1.tgz#f08721173d513f1406a44601640b79726e3f9728"@@ -25298,6 +25462,14 @@ timm@^1.6.1:resolved "https://registry.yarnpkg.com/timm/-/timm-1.7.1.tgz#96bab60c7d45b5a10a8a4d0f0117c6b7e5aff76f"integrity sha512-IjZc9KIotudix8bMaBW6QvMuq64BrJWFs1+4V0lXwWGQZwH+LnX87doAYhem4caOEusRP9/g6jVDQmZ8XOk1nw==+tiny-glob@^0.2.9:+ version "0.2.9"+ resolved "https://registry.yarnpkg.com/tiny-glob/-/tiny-glob-0.2.9.tgz#2212d441ac17928033b110f8b3640683129d31e2"+ integrity sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==+ dependencies:+ globalyzer "0.1.0"+ globrex "^0.1.2"+tiny-invariant@^1.2.0:version "1.2.0"resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.2.0.tgz#a1141f86b672a9148c72e978a19a73b9b94a15a9"