diff --git a/apps/web/components/getting-started/steps-views/UserProfile.tsx b/apps/web/components/getting-started/steps-views/UserProfile.tsx index 79f4fd9076..ea0ca5d7d3 100644 --- a/apps/web/components/getting-started/steps-views/UserProfile.tsx +++ b/apps/web/components/getting-started/steps-views/UserProfile.tsx @@ -156,11 +156,8 @@ const UserProfile = () => { {t("few_sentences_about_yourself")}

- ); diff --git a/apps/web/components/getting-started/steps-views/UserSettings.tsx b/apps/web/components/getting-started/steps-views/UserSettings.tsx index 7ab1d29f7f..cfb49a89f8 100644 --- a/apps/web/components/getting-started/steps-views/UserSettings.tsx +++ b/apps/web/components/getting-started/steps-views/UserSettings.tsx @@ -9,7 +9,7 @@ import { FULL_NAME_LENGTH_MAX_LIMIT } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { telemetryEventTypes, useTelemetry } from "@calcom/lib/telemetry"; import { trpc } from "@calcom/trpc/react"; -import { Button, TimezoneSelect } from "@calcom/ui"; +import { Button, TimezoneSelect, Input } from "@calcom/ui"; import { ArrowRight } from "@calcom/ui/components/icon"; import { UsernameAvailabilityField } from "@components/ui/UsernameAvailability"; @@ -76,7 +76,7 @@ const UserSettings = (props: IUserSettingsProps) => { - { type="text" autoComplete="off" autoCorrect="off" - className="border-default w-full rounded-md border text-sm" /> {errors.name && (

@@ -106,7 +105,7 @@ const UserSettings = (props: IUserSettingsProps) => { className="mt-2 w-full rounded-md text-sm" /> -

+

{t("current_time")} {dayjs().tz(selectedTimeZone).format("LT").toString().toLowerCase()}

diff --git a/apps/web/pages/auth/login.tsx b/apps/web/pages/auth/login.tsx index 7eb97c71f3..847023c440 100644 --- a/apps/web/pages/auth/login.tsx +++ b/apps/web/pages/auth/login.tsx @@ -5,7 +5,6 @@ import type { GetServerSidePropsContext } from "next"; import { getCsrfToken, signIn } from "next-auth/react"; import Link from "next/link"; import { useRouter } from "next/navigation"; -import type { CSSProperties } from "react"; import { useState } from "react"; import { FormProvider, useForm } from "react-hook-form"; import { FaGoogle } from "react-icons/fa"; @@ -174,15 +173,7 @@ inferSSRProps & WithNonceProps<{}>) { : isSAMLLoginEnabled && !isLoading && data?.connectionExists; return ( -
+
& WithNonceProps<{}>) { type="submit" color="primary" disabled={formState.isSubmitting} - className="w-full justify-center dark:bg-white dark:text-black"> + className="w-full justify-center"> {twoFactorRequired ? t("submit") : t("sign_in")}
diff --git a/apps/web/pages/getting-started/[[...step]].tsx b/apps/web/pages/getting-started/[[...step]].tsx index c973b25754..807ad4db68 100644 --- a/apps/web/pages/getting-started/[[...step]].tsx +++ b/apps/web/pages/getting-started/[[...step]].tsx @@ -2,7 +2,6 @@ import type { GetServerSidePropsContext } from "next"; import { serverSideTranslations } from "next-i18next/serverSideTranslations"; import Head from "next/head"; import { usePathname, useRouter } from "next/navigation"; -import type { CSSProperties } from "react"; import { Suspense } from "react"; import { z } from "zod"; @@ -106,16 +105,8 @@ const OnboardingPage = () => { return (
{`${APP_NAME} - ${t("getting_started")}`} @@ -231,7 +222,6 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) => }; }; -OnboardingPage.isThemeSupported = false; OnboardingPage.PageWrapper = PageWrapper; export default OnboardingPage; diff --git a/apps/web/pages/signup.tsx b/apps/web/pages/signup.tsx index 278b039a15..f00c4b8a63 100644 --- a/apps/web/pages/signup.tsx +++ b/apps/web/pages/signup.tsx @@ -4,7 +4,6 @@ import type { GetServerSidePropsContext } from "next"; import { signIn } from "next-auth/react"; import Link from "next/link"; import { useRouter } from "next/navigation"; -import type { CSSProperties } from "react"; import { useState, useEffect } from "react"; import type { SubmitHandler } from "react-hook-form"; import { useForm, useFormContext } from "react-hook-form"; @@ -238,18 +237,10 @@ export default function Signup({ }; return ( -
-
+
+
+ {/* Left side */}
{/* Header */} {errors.apiError && ( @@ -354,7 +345,10 @@ export default function Signup({ StartIcon={() => ( <> @@ -648,5 +642,4 @@ export const getServerSideProps = async (ctx: GetServerSidePropsContext) => { }; }; -Signup.isThemeSupported = false; Signup.PageWrapper = PageWrapper; diff --git a/packages/app-store/applecalendar/pages/setup/index.tsx b/packages/app-store/applecalendar/pages/setup/index.tsx index 0bef9573c6..af700122e1 100644 --- a/packages/app-store/applecalendar/pages/setup/index.tsx +++ b/packages/app-store/applecalendar/pages/setup/index.tsx @@ -5,7 +5,7 @@ import { Toaster } from "react-hot-toast"; import { APP_NAME } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; -import { Alert, Button, Form, TextField } from "@calcom/ui"; +import { Alert, Button, Form, PasswordField, TextField } from "@calcom/ui"; export default function AppleCalendarSetup() { const { t } = useLocale(); @@ -20,8 +20,8 @@ export default function AppleCalendarSetup() { const [errorMessage, setErrorMessage] = useState(""); return ( -
-
+
+
{/* eslint-disable @next/next/no-img-element */} @@ -32,12 +32,14 @@ export default function AppleCalendarSetup() { />
-

{t("connect_apple_server")}

+

+ {t("connect_apple_server")} +

{t("apple_server_generate_password", { appName: APP_NAME })}{" "} @@ -45,7 +47,7 @@ export default function AppleCalendarSetup() { . {t("credentials_stored_encrypted")}
-
+
{ @@ -65,7 +67,7 @@ export default function AppleCalendarSetup() { } }}>
- (funct const textLabel = isPasswordVisible ? t("hide_password") : t("show_password"); return ( -
- - - - } - /> -
+ + + + } + /> ); }); diff --git a/packages/ui/components/form/inputs/TextField.tsx b/packages/ui/components/form/inputs/TextField.tsx index 1fc0b36f1f..07b0a046cd 100644 --- a/packages/ui/components/form/inputs/TextField.tsx +++ b/packages/ui/components/form/inputs/TextField.tsx @@ -107,7 +107,9 @@ export const InputField = forwardRef(function dir="ltr" className="focus-within:ring-brand-default group relative mb-1 flex items-center rounded-md focus-within:outline-none focus-within:ring-2"> {addOnLeading && ( - + {addOnLeading} )} diff --git a/packages/ui/components/form/switch/Switch.tsx b/packages/ui/components/form/switch/Switch.tsx index b37305f9e6..6944f8349a 100644 --- a/packages/ui/components/form/switch/Switch.tsx +++ b/packages/ui/components/form/switch/Switch.tsx @@ -42,7 +42,7 @@ const Switch = ( {LockedIcon &&
{LockedIcon}
}