chore: Sync packages mismatches (#9725)
This commit is contained in:
1 parent
cfa6a5b996
commit
2d6eebcd8a
171 files changed
+431
-825
No files matched your search
@@ -107,11 +107,11 @@ export default function ApiKeyDialogForm({
|
||||
}
|
||||
}}
|
||||
className="space-y-4">
|
||||
<div className="mt-1 mb-10">
|
||||
<div className="mb-10 mt-1">
|
||||
<h2 className="font-semi-bold font-cal text-emphasis text-xl tracking-wide">
|
||||
{defaultValues ? t("edit_api_key") : t("create_api_key")}
|
||||
</h2>
|
||||
<p className="text-subtle mt-1 mb-5 text-sm">{t("api_key_modal_subtitle")}</p>
|
||||
<p className="text-subtle mb-5 mt-1 text-sm">{t("api_key_modal_subtitle")}</p>
|
||||
</div>
|
||||
<div>
|
||||
<Controller
|
||||
|
||||
@@ -10,7 +10,7 @@ import { Lock } from "@calcom/ui/components/icon";
|
||||
|
||||
const Indicator = (label: string) => (
|
||||
<Tooltip content={<>{label}</>}>
|
||||
<div className="bg ml-1 -mt-0.5 inline-flex h-4 w-4 rounded-sm p-0.5">
|
||||
<div className="bg -mt-0.5 ml-1 inline-flex h-4 w-4 rounded-sm p-0.5">
|
||||
<Lock className="text-subtle hover:text-muted h-3 w-3" />
|
||||
</div>
|
||||
</Tooltip>
|
||||
|
||||
@@ -24,7 +24,7 @@ const SkeletonLoader = ({ title, description }: { title: string; description: st
|
||||
return (
|
||||
<SkeletonContainer>
|
||||
<Meta title={title} description={description} />
|
||||
<div className="mt-6 mb-8 space-y-6">
|
||||
<div className="mb-8 mt-6 space-y-6">
|
||||
<div className="flex items-center">
|
||||
<SkeletonButton className="mr-6 h-32 w-48 rounded-md p-5" />
|
||||
<SkeletonButton className="mr-6 h-32 w-48 rounded-md p-5" />
|
||||
|
||||
@@ -24,7 +24,7 @@ const SkeletonLoader = ({ title, description }: { title: string; description: st
|
||||
return (
|
||||
<SkeletonContainer>
|
||||
<Meta title={title} description={description} />
|
||||
<div className="mt-6 mb-8 space-y-6">
|
||||
<div className="mb-8 mt-6 space-y-6">
|
||||
<SkeletonText className="h-8 w-full" />
|
||||
<SkeletonText className="h-8 w-full" />
|
||||
<SkeletonText className="h-8 w-full" />
|
||||
|
||||
@@ -100,7 +100,7 @@ const PaymentForm = (props: Props) => {
|
||||
<PaymentElement onChange={() => setState({ status: "idle" })} />
|
||||
</div>
|
||||
{paymentOption === "HOLD" && (
|
||||
<div className="bg-info mt-2 mb-5 rounded-md p-3">
|
||||
<div className="bg-info mb-5 mt-2 rounded-md p-3">
|
||||
<Checkbox
|
||||
description={t("acknowledge_booking_no_show_fee", {
|
||||
amount: props.payment.amount / 100,
|
||||
|
||||
@@ -62,14 +62,14 @@ const PaymentPage: FC<PaymentPageProps> = (props) => {
|
||||
</Head>
|
||||
<main className="mx-auto max-w-3xl py-24">
|
||||
<div className="fixed inset-0 z-50 overflow-y-auto scroll-auto">
|
||||
<div className="flex min-h-screen items-end justify-center px-4 pt-4 pb-20 text-center sm:block sm:p-0">
|
||||
<div className="flex min-h-screen items-end justify-center px-4 pb-20 pt-4 text-center sm:block sm:p-0">
|
||||
<div className="inset-0 my-4 transition-opacity sm:my-0" aria-hidden="true">
|
||||
<span className="hidden sm:inline-block sm:h-screen sm:align-middle" aria-hidden="true">
|
||||
​
|
||||
</span>
|
||||
<div
|
||||
className={classNames(
|
||||
"main bg-default border-subtle inline-block transform overflow-hidden rounded-lg border px-8 pt-5 pb-4 text-left align-bottom transition-all sm:w-full sm:max-w-lg sm:py-6 sm:align-middle",
|
||||
"main bg-default border-subtle inline-block transform overflow-hidden rounded-lg border px-8 pb-4 pt-5 text-left align-bottom transition-all sm:w-full sm:max-w-lg sm:py-6 sm:align-middle",
|
||||
isEmbed ? "" : "sm:my-8"
|
||||
)}
|
||||
role="dialog"
|
||||
@@ -84,7 +84,7 @@ const PaymentPage: FC<PaymentPageProps> = (props) => {
|
||||
<h3 className="text-emphasis text-2xl font-semibold leading-6" id="modal-headline">
|
||||
{paymentAppData.paymentOption === "HOLD" ? t("complete_your_booking") : t("payment")}
|
||||
</h3>
|
||||
<div className="text-default mt-4 grid grid-cols-3 border-t border-b py-4 text-left dark:border-gray-900 dark:text-gray-300">
|
||||
<div className="text-default mt-4 grid grid-cols-3 border-b border-t py-4 text-left dark:border-gray-900 dark:text-gray-300">
|
||||
<div className="font-medium">{t("what")}</div>
|
||||
<div className="col-span-2 mb-6">{eventName}</div>
|
||||
<div className="font-medium">{t("when")}</div>
|
||||
|
||||
@@ -32,7 +32,7 @@ export default function OIDCConnection({
|
||||
</p>
|
||||
</div>
|
||||
{!connection && (
|
||||
<div className="flex-shrink-0 pt-3 sm:ml-auto sm:pt-0 sm:pl-3">
|
||||
<div className="flex-shrink-0 pt-3 sm:ml-auto sm:pl-3 sm:pt-0">
|
||||
<Button color="secondary" onClick={() => setOpenModal(true)}>
|
||||
{t("configure")}
|
||||
</Button>
|
||||
@@ -92,7 +92,7 @@ const CreateConnectionDialog = ({
|
||||
<h2 className="font-semi-bold font-cal text-emphasis text-xl tracking-wide">
|
||||
{t("sso_oidc_configuration_title")}
|
||||
</h2>
|
||||
<p className="text-subtle mt-1 mb-5 text-sm">{t("sso_oidc_configuration_description")}</p>
|
||||
<p className="text-subtle mb-5 mt-1 text-sm">{t("sso_oidc_configuration_description")}</p>
|
||||
</div>
|
||||
<div className="space-y-5">
|
||||
<Controller
|
||||
|
||||
@@ -30,7 +30,7 @@ export default function SAMLConnection({
|
||||
</p>
|
||||
</div>
|
||||
{!connection && (
|
||||
<div className="flex-shrink-0 pt-3 sm:ml-auto sm:pt-0 sm:pl-3">
|
||||
<div className="flex-shrink-0 pt-3 sm:ml-auto sm:pl-3 sm:pt-0">
|
||||
<Button color="secondary" onClick={() => setOpenModal(true)}>
|
||||
Configure
|
||||
</Button>
|
||||
@@ -86,7 +86,7 @@ const CreateConnectionDialog = ({
|
||||
<h2 className="font-semi-bold font-cal text-emphasis text-xl tracking-wide">
|
||||
{t("sso_saml_configuration_title")}
|
||||
</h2>
|
||||
<p className="text-subtle mt-1 mb-5 text-sm">{t("sso_saml_configuration_description")}</p>
|
||||
<p className="text-subtle mb-5 mt-1 text-sm">{t("sso_saml_configuration_description")}</p>
|
||||
</div>
|
||||
<Controller
|
||||
control={form.control}
|
||||
|
||||
@@ -103,7 +103,7 @@ export default function InviteLinkSettingsModal(props: InvitationLinkSettingsMod
|
||||
<Button
|
||||
type="submit"
|
||||
color="primary"
|
||||
className="ms-2 me-2"
|
||||
className="me-2 ms-2"
|
||||
data-testid="invite-new-member-button">
|
||||
{t("save")}
|
||||
</Button>
|
||||
|
||||
@@ -101,7 +101,7 @@ export default function MemberChangeRoleModal(props: {
|
||||
</p>
|
||||
)}
|
||||
<div className="mt-5 sm:mt-4 sm:flex sm:flex-row-reverse">
|
||||
<Button type="submit" color="primary" className="ms-2 me-2">
|
||||
<Button type="submit" color="primary" className="me-2 ms-2">
|
||||
{t("save")}
|
||||
</Button>
|
||||
<Button type="button" color="secondary" onClick={props.onExit}>
|
||||
|
||||
@@ -161,7 +161,7 @@ export default function MemberInvitationModal(props: MemberInvitationModalProps)
|
||||
</div>
|
||||
|
||||
<Form form={newMemberFormMethods} handleSubmit={(values) => props.onSubmit(values, resetFields)}>
|
||||
<div className="mt-6 mb-10 space-y-6">
|
||||
<div className="mb-10 mt-6 space-y-6">
|
||||
{/* Indivdual Invite */}
|
||||
{modalImportMode === "INDIVIDUAL" && (
|
||||
<Controller
|
||||
@@ -283,7 +283,7 @@ export default function MemberInvitationModal(props: MemberInvitationModalProps)
|
||||
<Button
|
||||
type="button"
|
||||
color="minimal"
|
||||
className="ms-2 me-2"
|
||||
className="me-2 ms-2"
|
||||
onClick={() => {
|
||||
props.onSettingsOpen && props.onSettingsOpen();
|
||||
newMemberFormMethods.reset();
|
||||
@@ -295,8 +295,8 @@ export default function MemberInvitationModal(props: MemberInvitationModalProps)
|
||||
</div>
|
||||
</div>
|
||||
<DialogFooter showDivider>
|
||||
<div className= "relative mr-auto">
|
||||
<Button
|
||||
<div className="relative right-40">
|
||||
<Button
|
||||
type="button"
|
||||
color="minimal"
|
||||
variant="icon"
|
||||
@@ -311,7 +311,7 @@ export default function MemberInvitationModal(props: MemberInvitationModalProps)
|
||||
{t("copy_invite_link")}
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
|
||||
<Button
|
||||
type="button"
|
||||
color="minimal"
|
||||
@@ -324,7 +324,7 @@ export default function MemberInvitationModal(props: MemberInvitationModalProps)
|
||||
<Button
|
||||
type="submit"
|
||||
color="primary"
|
||||
className="ms-2 me-2"
|
||||
className="me-2 ms-2"
|
||||
data-testid="invite-new-member-button">
|
||||
{t("send_invite")}
|
||||
</Button>
|
||||
|
||||
@@ -26,7 +26,7 @@ function SkeletonItem() {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="mt-4 hidden flex-shrink-0 pr-4 sm:mt-0 sm:ml-5 lg:flex">
|
||||
<div className="mt-4 hidden flex-shrink-0 pr-4 sm:ml-5 sm:mt-0 lg:flex">
|
||||
<div className="flex justify-between space-x-2 rtl:space-x-reverse">
|
||||
<SkeletonText className="h-4 w-12" />
|
||||
<SkeletonText className="h-4 w-4" />
|
||||
|
||||
@@ -49,7 +49,7 @@ export default function TeamAvailabilityModal(props: Props) {
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div className="text-brand-900 mt-4 mb-5 text-2xl font-semibold">{t("availability")}</div>
|
||||
<div className="text-brand-900 mb-5 mt-4 text-2xl font-semibold">{t("availability")}</div>
|
||||
<DatePicker
|
||||
minDate={new Date()}
|
||||
date={selectedDate.toDate() || dayjs().toDate()}
|
||||
|
||||
@@ -200,7 +200,7 @@ export default function TeamListItem(props: Props) {
|
||||
color="secondary"
|
||||
data-testid={`accept-invitation-${team.id}`}
|
||||
StartIcon={Check}
|
||||
className="ms-2 me-2"
|
||||
className="me-2 ms-2"
|
||||
onClick={acceptInvite}>
|
||||
{t("accept")}
|
||||
</Button>
|
||||
|
||||
@@ -24,7 +24,7 @@ const SkeletonLoader = ({ title, description }: { title: string; description: st
|
||||
return (
|
||||
<SkeletonContainer>
|
||||
<Meta title={title} description={description} />
|
||||
<div className="mt-6 mb-8 space-y-6">
|
||||
<div className="mb-8 mt-6 space-y-6">
|
||||
<div className="flex items-center">
|
||||
<SkeletonButton className="mr-6 h-32 w-48 rounded-md p-5" />
|
||||
<SkeletonButton className="mr-6 h-32 w-48 rounded-md p-5" />
|
||||
|
||||
@@ -20,7 +20,7 @@ const BillingView = () => {
|
||||
<h2 className="font-medium">{t("view_and_manage_billing_details")}</h2>
|
||||
<p>{t("view_and_edit_billing_details")}</p>
|
||||
</div>
|
||||
<div className="flex-shrink-0 pt-3 sm:ml-auto sm:pt-0 sm:pl-3">
|
||||
<div className="flex-shrink-0 pt-3 sm:ml-auto sm:pl-3 sm:pt-0">
|
||||
<Button color="primary" href={billingHref} target="_blank" EndIcon={ExternalLink}>
|
||||
{t("billing_portal")}
|
||||
</Button>
|
||||
|
||||
@@ -250,7 +250,7 @@ const ProfileView = () => {
|
||||
(team.metadata as Prisma.JsonObject)?.requestedSlug && (
|
||||
<Button
|
||||
color="secondary"
|
||||
className="mt-8 ml-2"
|
||||
className="ml-2 mt-8"
|
||||
type="button"
|
||||
onClick={() => {
|
||||
publishMutation.mutate({ teamId: team.id });
|
||||
|
||||
@@ -12,7 +12,7 @@ const DeploymentUsersListPage = () => {
|
||||
title="Users"
|
||||
description="A list of all the users in your account including their name, title, email and role."
|
||||
CTA={
|
||||
<div className="mt-4 space-x-5 sm:mt-0 sm:ml-16 sm:flex-none">
|
||||
<div className="mt-4 space-x-5 sm:ml-16 sm:mt-0 sm:flex-none">
|
||||
{/* TODO: Add import users functionality */}
|
||||
{/* <Button disabled>Import users</Button> */}
|
||||
<Button href="/settings/admin/users/add">Add user</Button>
|
||||
|
||||
@@ -168,7 +168,7 @@ export const AddActionDialog = (props: IAddActionDialog) => {
|
||||
{isPhoneNumberNeeded && (
|
||||
<div className="mt-5 space-y-1">
|
||||
<Label htmlFor="sendTo">{t("phone_number")}</Label>
|
||||
<div className="mt-1 mb-5">
|
||||
<div className="mb-5 mt-1">
|
||||
<Controller
|
||||
control={form.control}
|
||||
name="sendTo"
|
||||
@@ -200,7 +200,7 @@ export const AddActionDialog = (props: IAddActionDialog) => {
|
||||
<div className="flex">
|
||||
<Label>{t("sender_id")}</Label>
|
||||
<Tooltip content={t("sender_id_info")}>
|
||||
<Info className="mr-1 mt-0.5 ml-2 h-4 w-4 text-gray-500" />
|
||||
<Info className="ml-2 mr-1 mt-0.5 h-4 w-4 text-gray-500" />
|
||||
</Tooltip>
|
||||
</div>
|
||||
<Input
|
||||
|
||||
@@ -24,7 +24,7 @@ function WorkflowExample(props: WorkflowExampleType) {
|
||||
</div>
|
||||
</div>
|
||||
<div className="m-auto w-full flex-grow items-center justify-center ">
|
||||
<div className="line-clamp-2 text-semibold text-emphasis w-full text-sm font-medium">{text}</div>
|
||||
<div className="text-semibold text-emphasis line-clamp-2 w-full text-sm font-medium">{text}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -82,7 +82,7 @@ export default function EmptyScreen(props: {
|
||||
</div>
|
||||
<div className="max-w-[420px] text-center">
|
||||
<h2 className="text-semibold font-cal mt-6 text-xl dark:text-gray-300">{t("workflows")}</h2>
|
||||
<p className="line-clamp-2 text-default mt-3 text-sm font-normal leading-6 dark:text-gray-300">
|
||||
<p className="text-default mt-3 line-clamp-2 text-sm font-normal leading-6 dark:text-gray-300">
|
||||
{t("no_workflows_description")}
|
||||
</p>
|
||||
<div className="mt-8 ">
|
||||
|
||||
@@ -3,14 +3,14 @@ import { SkeletonContainer, SkeletonText } from "@calcom/ui";
|
||||
function SkeletonLoader() {
|
||||
return (
|
||||
<SkeletonContainer>
|
||||
<div className="mt-10 ml-2 md:flex">
|
||||
<div className="ml-2 mt-10 md:flex">
|
||||
<div className="mr-6 flex flex-col md:flex-none">
|
||||
<SkeletonText className="h-4 w-28" />
|
||||
<SkeletonText className="mt-2 mb-6 h-8 w-full md:w-64" />
|
||||
<SkeletonText className="mb-6 mt-2 h-8 w-full md:w-64" />
|
||||
<SkeletonText className="h-4 w-28" />
|
||||
<SkeletonText className="mt-2 h-8 w-full md:w-64" />
|
||||
<SkeletonText className="mt-8 hidden h-0.5 w-full md:block" />
|
||||
<SkeletonText className="mt-8 mb-6 h-8 w-40" />
|
||||
<SkeletonText className="mb-6 mt-8 h-8 w-40" />
|
||||
</div>
|
||||
<div className="hidden flex-grow md:flex">
|
||||
<SkeletonText className="h-64 w-full" />
|
||||
|
||||
@@ -18,7 +18,7 @@ function SkeletonItem() {
|
||||
<div className="flex">
|
||||
<SkeletonAvatar className="h-10 w-10" />
|
||||
|
||||
<div className="mt-1 ml-4 flex flex-col space-y-1">
|
||||
<div className="ml-4 mt-1 flex flex-col space-y-1">
|
||||
<SkeletonText className="h-5 w-20 sm:w-24" />
|
||||
<div className="flex">
|
||||
<SkeletonText className="h-4 w-16 ltr:mr-2 rtl:ml-2 sm:w-28" />
|
||||
|
||||
@@ -21,9 +21,9 @@ function SkeletonItem() {
|
||||
<div className="flex flex-col space-y-2">
|
||||
<SkeletonText className="h-4 w-16 sm:w-24" />
|
||||
<div className="flex">
|
||||
<Bell className="mt-0.5 mr-1.5 inline h-4 w-4 text-gray-200" />
|
||||
<Bell className="mr-1.5 mt-0.5 inline h-4 w-4 text-gray-200" />
|
||||
<SkeletonText className="h-4 w-16 ltr:mr-2 rtl:ml-2 sm:w-28" />
|
||||
<LinkIcon className="mt-0.5 mr-1.5 inline h-4 w-4 text-gray-200" />
|
||||
<LinkIcon className="mr-1.5 mt-0.5 inline h-4 w-4 text-gray-200" />
|
||||
<SkeletonText className="h-4 w-28 sm:w-36" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -476,7 +476,7 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {
|
||||
<PhoneInput
|
||||
placeholder={t("phone_number")}
|
||||
id={`steps.${step.stepNumber - 1}.sendTo`}
|
||||
className="min-w-fit sm:rounded-r-none sm:rounded-tl-md sm:rounded-bl-md"
|
||||
className="min-w-fit sm:rounded-r-none sm:rounded-bl-md sm:rounded-tl-md"
|
||||
required
|
||||
disabled={props.readOnly}
|
||||
value={value}
|
||||
@@ -494,7 +494,7 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {
|
||||
color="secondary"
|
||||
disabled={numberVerified || props.readOnly || false}
|
||||
className={classNames(
|
||||
"-ml-[3px] h-[40px] min-w-fit sm:block sm:rounded-tl-none sm:rounded-bl-none",
|
||||
"-ml-[3px] h-[40px] min-w-fit sm:block sm:rounded-bl-none sm:rounded-tl-none",
|
||||
numberVerified ? "hidden" : "mt-3 sm:mt-0"
|
||||
)}
|
||||
onClick={() =>
|
||||
@@ -532,7 +532,7 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {
|
||||
/>
|
||||
<Button
|
||||
color="secondary"
|
||||
className="-ml-[3px] h-[38px] min-w-fit sm:block sm:rounded-tl-none sm:rounded-bl-none "
|
||||
className="-ml-[3px] h-[38px] min-w-fit sm:block sm:rounded-bl-none sm:rounded-tl-none "
|
||||
disabled={verifyPhoneNumberMutation.isLoading || props.readOnly}
|
||||
onClick={() => {
|
||||
verifyPhoneNumberMutation.mutate({
|
||||
@@ -562,7 +562,7 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {
|
||||
<div className="flex">
|
||||
<Label>{t("sender_id")}</Label>
|
||||
<Tooltip content={t("sender_id_info")}>
|
||||
<Info className="mr-1 mt-0.5 ml-2 h-4 w-4 text-gray-500" />
|
||||
<Info className="ml-2 mr-1 mt-0.5 h-4 w-4 text-gray-500" />
|
||||
</Tooltip>
|
||||
</div>
|
||||
<Input
|
||||
@@ -885,7 +885,7 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {
|
||||
<h1 className="w-full text-xl font-semibold ">{t("how_booking_questions_as_variables")}</h1>
|
||||
<div className="bg-muted-3 mb-7 mt-7 rounded-md sm:p-4">
|
||||
<p className="test-sm font-medium">{t("format")}</p>
|
||||
<ul className="text-emphasis mt-2 ml-5 list-disc">
|
||||
<ul className="text-emphasis ml-5 mt-2 list-disc">
|
||||
<li>{t("uppercase_for_letters")}</li>
|
||||
<li>{t("replace_whitespaces_underscores")}</li>
|
||||
<li>{t("ignore_special_characters_booking_questions")}</li>
|
||||
|
||||
@@ -270,12 +270,12 @@ function WorkflowPage() {
|
||||
{workflow && workflow.name ? workflow.name : "untitled"}
|
||||
</div>
|
||||
{workflow && workflow.team && (
|
||||
<Badge className="mt-1 ml-4" variant="gray">
|
||||
<Badge className="ml-4 mt-1" variant="gray">
|
||||
{workflow.team.slug}
|
||||
</Badge>
|
||||
)}
|
||||
{readOnly && (
|
||||
<Badge className="mt-1 ml-4" variant="gray">
|
||||
<Badge className="ml-4 mt-1" variant="gray">
|
||||
{t("readonly")}
|
||||
</Badge>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user