chore: Sync packages mismatches (#9725)

This commit is contained in:
Omar López authored and GitHub committed 2023-06-22 15:25:37 -07:00
1 parent cfa6a5b996
commit 2d6eebcd8a
171 files changed
+431 -825

No files matched your search

@@ -22,7 +22,7 @@ export default function AppleCalendarSetup() {
return (
<div className="bg-emphasis flex h-screen">
<div className="bg-default m-auto rounded p-5 md:w-[560px] md:p-10">
<div className="flex flex-col space-y-5 md:flex-row md:space-y-0 md:space-x-5">
<div className="flex flex-col space-y-5 md:flex-row md:space-x-5 md:space-y-0">
<div>
{/* eslint-disable @next/next/no-img-element */}
<img
@@ -23,7 +23,7 @@ export default function CalDavCalendarSetup() {
return (
<div className="bg-emphasis flex h-screen">
<div className="bg-default m-auto rounded p-5 md:w-[560px] md:p-10">
<div className="flex flex-col space-y-5 md:flex-row md:space-y-0 md:space-x-5">
<div className="flex flex-col space-y-5 md:flex-row md:space-x-5 md:space-y-0">
<div>
{/* eslint-disable @next/next/no-img-element */}
<img
@@ -37,7 +37,7 @@ export default function CloseComSetup() {
return (
<div className="bg-emphasis flex h-screen">
<div className="bg-default m-auto rounded p-5 md:w-[520px] md:p-10">
<div className="flex flex-col space-y-5 md:flex-row md:space-y-0 md:space-x-5">
<div className="flex flex-col space-y-5 md:flex-row md:space-x-5 md:space-y-0">
<div>
{/* eslint-disable @next/next/no-img-element */}
<img
+3 -3
View File
@@ -112,7 +112,7 @@ export const AppDependencyComponent = ({
return (
<div
className={classNames(
"rounded-md py-3 px-4",
"rounded-md px-4 py-3",
dependencyData && dependencyData.some((dependency) => !dependency.installed) ? "bg-info" : "bg-subtle"
)}>
{dependencyData &&
@@ -121,7 +121,7 @@ export const AppDependencyComponent = ({
<div className="items-start space-x-2.5">
<div className="flex items-start">
<div>
<Check className="mt-1 mr-2 font-semibold" />
<Check className="mr-2 mt-1 font-semibold" />
</div>
<div>
<span className="font-semibold">
@@ -144,7 +144,7 @@ export const AppDependencyComponent = ({
<div className="items-start space-x-2.5">
<div className="text-info flex items-start">
<div>
<AlertCircle className="mt-1 mr-2 font-semibold" />
<AlertCircle className="mr-2 mt-1 font-semibold" />
</div>
<div>
<span className="font-semibold">
@@ -5,8 +5,9 @@ items:
---
{DESCRIPTION}
- High definition video conferencing on any device for up to 500 participants
- Rich content sharing and collaboration
- Enterprise grade reliability and availability for a business of five or 50,000
- 100% secured and encrypted
- Copy your room link and start scheduling calls in 8x8
- Copy your room link and start scheduling calls in 8x8
@@ -60,7 +60,7 @@ export default function ExchangeSetup() {
<>
<div className="bg-emphasis flex h-screen">
<div className="bg-default m-auto rounded p-5 md:w-[560px] md:p-10">
<div className="flex flex-col space-y-5 md:flex-row md:space-y-0 md:space-x-5">
<div className="flex flex-col space-y-5 md:flex-row md:space-x-5 md:space-y-0">
<div>
{/* eslint-disable @next/next/no-img-element */}
<img
@@ -147,7 +147,7 @@ export const SearchDialog = (props: ISearchDialog) => {
<div className="flex flex-col items-center space-x-2 space-y-2 pt-3 rtl:space-x-reverse">
<div className="bg-subtle flex w-full items-center justify-center">
{isLoading ? (
<div className="flex h-[200px] w-full items-center justify-center bg-gray-400 pt-3 pb-3">
<div className="flex h-[200px] w-full items-center justify-center bg-gray-400 pb-3 pt-3">
<svg
className={classNames("mx-4 h-5 w-5 animate-spin", "text-inverted dark:text-emphasis")}
xmlns="http://www.w3.org/2000/svg"
@@ -169,7 +169,7 @@ export const SearchDialog = (props: ISearchDialog) => {
</svg>
</div>
) : (
<img className="h-[200px] pt-3 pb-3" src={gifImage} alt={`Gif from Giphy for ${keyword}`} />
<img className="h-[200px] pb-3 pt-3" src={gifImage} alt={`Gif from Giphy for ${keyword}`} />
)}
</div>
</div>
@@ -8,11 +8,11 @@ const ExistingGoogleCal = ({ gCalInstalled, appName }: { gCalInstalled?: boolean
const { t } = useLocale();
return gCalInstalled ? (
<div className="bg-subtle rounded-md py-3 px-4">
<div className="bg-subtle rounded-md px-4 py-3">
<div className="items-start space-x-2.5">
<div className="flex items-start">
<div>
<Check className="mt-1 mr-2 font-semibold" />
<Check className="mr-2 mt-1 font-semibold" />
</div>
<div>
<span className="font-semibold">{t("google_calendar_is_connected")}</span>
@@ -26,11 +26,11 @@ const ExistingGoogleCal = ({ gCalInstalled, appName }: { gCalInstalled?: boolean
</div>
</div>
) : (
<div className="bg-info text-info rounded-md py-3 px-4">
<div className="bg-info text-info rounded-md px-4 py-3">
<div className="items-start space-x-2.5">
<div className="flex items-start">
<div>
<AlertCircle className="mt-1 mr-2 font-semibold" />
<AlertCircle className="mr-2 mt-1 font-semibold" />
</div>
<div>
<span className="font-semibold">{t("this_app_requires_google_calendar", { appName })}</span>
+1 -1
View File
@@ -3,4 +3,4 @@ items:
- jitsi1.jpg
---
Jitsi is a free open-source video conferencing software for web and mobile. Make a call, launch on your own servers, integrate into your app, and more.
Jitsi is a free open-source video conferencing software for web and mobile. Make a call, launch on your own servers, integrate into your app, and more.
+2 -1
View File
@@ -5,5 +5,6 @@ items:
---
{DESCRIPTION}
- Copy your room link and start scheduling calls in Mirotalk.
- Both SFU and P2P are supported.
- Both SFU and P2P are supported.
+2 -1
View File
@@ -24,7 +24,8 @@
"@calcom/ui": "*",
"@calcom/zoomvideo": "*",
"lodash": "^4.17.21",
"qs-stringify": "^1.2.1"
"qs-stringify": "^1.2.1",
"react-i18next": "^12.2.0"
},
"devDependencies": {
"@calcom/types": "*"
@@ -296,7 +296,7 @@ function SingleForm({ form, appUrl, Page }: SingleFormComponentProps) {
<div className="flex">
<div>{form.name}</div>
{form.team && (
<Badge className="mt-1 ml-4" variant="gray">
<Badge className="ml-4 mt-1" variant="gray">
{form.team.name}
</Badge>
)}
@@ -71,7 +71,7 @@ const Result = ({ formId, jsonLogicQuery }: { formId: string; jsonLogicQuery: Js
{headers.current?.map((header, index) => (
<th
className={classNames(
"border-default border-b py-3 px-2 text-left text-base font-medium",
"border-default border-b px-2 py-3 text-left text-base font-medium",
index !== (headers.current?.length || 0) - 1 ? "border-r" : ""
)}
key={index}>
@@ -97,7 +97,7 @@ const Result = ({ formId, jsonLogicQuery }: { formId: string; jsonLogicQuery: Js
return (
<td
className={classNames(
"border-default overflow-x-hidden py-3 px-2 text-left",
"border-default overflow-x-hidden px-2 py-3 text-left",
isLastRow ? "" : "border-b",
isLastColumn ? "" : "border-r"
)}
@@ -262,7 +262,7 @@ const Route = ({
{((route.isFallback && hasRules(route)) || !route.isFallback) && (
<>
<Divider className="mt-3 mb-6" />
<Divider className="mb-6 mt-3" />
<Query
{...config}
value={route.state.tree}
@@ -37,7 +37,7 @@ export default function SendgridSetup() {
return (
<div className="bg-emphasis flex h-screen">
<div className="bg-default m-auto rounded p-5 md:w-[520px] md:p-10">
<div className="flex flex-col space-y-5 md:flex-row md:space-y-0 md:space-x-5">
<div className="flex flex-col space-y-5 md:flex-row md:space-x-5 md:space-y-0">
<div>
<img src="/api/app-store/sendgrid/logo.png" alt="Sendgrid" className="h-12 w-12 max-w-2xl" />
</div>
@@ -8,7 +8,7 @@ export default function AppSettings() {
const [input, setInput] = useState("");
return (
<div className="space-y-4 px-4 pt-4 pb-4 text-sm">
<div className="space-y-4 px-4 pb-4 pt-4 text-sm">
<TextField
placeholder="Some Input"
value={input}
@@ -15,7 +15,7 @@ export default function HowToUse() {
</div>
<div className="ml-5">
<div className="text-md text-default">How to route a Typeform with Cal.com Routing</div>
<ol className="mt-5 mb-5 ml-5 list-decimal ltr:mr-5 rtl:ml-5">
<ol className="mb-5 ml-5 mt-5 list-decimal ltr:mr-5 rtl:ml-5">
<li>
Make sure that you have{" "}
<Link href="/apps/routing-forms" className="text-subtle text-base">
@@ -92,7 +92,7 @@ export const ConfirmDialog = (props: IConfirmDialogWipe) => {
{initialDate.format(dateFormat)} - {endDate.format(dateFormat)}
</strong>
</p>
<p className="mt-6 mb-2 text-sm">Are you sure? This can&apos;t be undone</p>
<p className="mb-2 mt-6 text-sm">Are you sure? This can&apos;t be undone</p>
</div>
</div>
@@ -57,7 +57,7 @@ export default function ZapierSetup(props: IZapierSetupProps) {
{!newApiKey ? (
<>
<div className="mt-1 text-xl">{t("generate_api_key")}:</div>
<Button color="primary" onClick={() => createApiKey()} className="mt-4 mb-4">
<Button color="primary" onClick={() => createApiKey()} className="mb-4 mt-4">
{t("generate_api_key")}
</Button>
</>
@@ -81,11 +81,11 @@ export default function ZapierSetup(props: IZapierSetupProps) {
</Button>
</Tooltip>
</div>
<div className="text-default mt-2 mb-5 text-sm font-semibold">{t("copy_safe_api_key")}</div>
<div className="text-default mb-5 mt-2 text-sm font-semibold">{t("copy_safe_api_key")}</div>
</>
)}
<ol className="mt-5 mb-5 ml-5 list-decimal ltr:mr-5 rtl:ml-5">
<ol className="mb-5 ml-5 mt-5 list-decimal ltr:mr-5 rtl:ml-5">
{isCalDev && (
<li>
{t("go_to")}
@@ -109,7 +109,7 @@ export default function ZapierSetup(props: IZapierSetupProps) {
</div>
</div>
) : (
<div className="mt-5 ml-5">
<div className="ml-5 mt-5">
<div>{t("install_zapier_app")}</div>
<div className="mt-3">
<Link href="/apps/zapier" passHref={true} legacyBehavior>
+2 -2
View File
@@ -1,9 +1,9 @@
### Obtaining Zoho Bigin Client ID and Secret
1. Open [Zoho API Console](https://api-console.zoho.com/) and sign into your account, or create a new one.
2. Click "ADD CLIENT" button top right and select "Server-based Applications".
2. Click "ADD CLIENT" button top right and select "Server-based Applications".
3. Set the Redirect URL for OAuth `<Cal.com URL>/api/integrations/zoho-bigin/callback` replacing Cal.com URL with the URI at which your application runs.
4. Go to tab "Client Secret" tab.
5. Now copy the Client ID and Client Secret to your .env.appStore file into the `ZOHO_BIGIN_CLIENT_ID` and `ZOHO_BIGIN_CLIENT_SECRET` fields.
6. In the "Settings" section check the "Multi-DC" option if you wish to use the same OAuth credentials for all data centers.
6. In the "Settings" section check the "Multi-DC" option if you wish to use the same OAuth credentials for all data centers.
7. You're good to go. Now you can easily add Zoho Bigin from the Cal.com app store.
+2 -2
View File
@@ -11,11 +11,11 @@
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/react": "^18.0.25",
"@types/react": "18.0.26",
"@types/react-dom": "^18.0.9",
"@vitejs/plugin-react": "^2.2.0",
"rollup-plugin-node-builtins": "^2.1.2",
"typescript": "^4.9.3",
"typescript": "^4.9.4",
"vite": "^4.1.2"
},
"main": "./index"
+1 -1
View File
@@ -31,7 +31,7 @@
"prettier": "^2.8.6",
"prettier-plugin-tailwindcss": "^0.2.5",
"tailwind-scrollbar": "^2.0.1",
"tailwindcss": "^3.2.1",
"tailwindcss": "^3.3.1",
"typescript": "^4.9.4"
}
}
+1 -1
View File
@@ -9,7 +9,7 @@
"dependencies": {
"@calcom/dayjs": "*",
"@calcom/lib": "*",
"next-i18next": "^11.3.0",
"next-i18next": "^13.2.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rrule": "^2.7.1"
+2 -1
View File
@@ -8,9 +8,10 @@ This folder contains all the various flavours of embeds.
Please see the respective folder READMEs for details on them.
## Publishing to NPM. It will soon be automated using changesets github action
To publish the packages. Following steps should be followed. All commands are to be run at the root.
1. `yarn changeset` -> Creates changelog files and adds summary to changelog. Select embed packages only here.
2. `yarn changeset version` -> Bumps the versions as required
3. Get the PR reviewed and merged
4. `yarn publish-embed` -> Releases all packages. We can't use `yarn changeset publish` because it doesn't support workspace: prefix removal yet. See https://github.com/changesets/changesets/issues/432#issuecomment-1016365428
4. `yarn publish-embed` -> Releases all packages. We can't use `yarn changeset publish` because it doesn't support workspace: prefix removal yet. See https://github.com/changesets/changesets/issues/432#issuecomment-1016365428
+1 -1
View File
@@ -48,7 +48,7 @@
"autoprefixer": "^10.4.12",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.18",
"tailwindcss": "^3.2.1",
"tailwindcss": "^3.3.1",
"typescript": "^4.9.4",
"vite": "^4.1.2"
}
+2 -2
View File
@@ -45,8 +45,8 @@
"devDependencies": {
"@playwright/test": "^1.31.2",
"@types/react": "18.0.26",
"@types/react-dom": "18.0.9",
"@vitejs/plugin-react": "1.3.2",
"@types/react-dom": "^18.0.9",
"@vitejs/plugin-react": "^2.2.0",
"eslint": "^8.34.0",
"npm-run-all": "^4.1.5",
"typescript": "^4.9.4",
@@ -1,5 +1,6 @@
# Packaged
The tests in this file are run on the packaged code that is published to npm. The packaged code is different from the source code in atleast the following ways
- Not all files go to packaged code.If package.json -> files field is specified then only the files that are specified there would be published. So, one might accidentally miss an important file that's available otherwise.
- The packaged code doesn't have .ts files. Those files are actually converted to .js files and .d.ts files are generated separately for TypeScript support. It allows the package to work in both TypeScript and non TypeScript environments.
- The packaged code doesn't have .ts files. Those files are actually converted to .js files and .d.ts files are generated separately for TypeScript support. It allows the package to work in both TypeScript and non TypeScript environments.
+1 -1
View File
@@ -333,7 +333,7 @@ export default AdminAppsList;
const SkeletonLoader = () => {
return (
<SkeletonContainer className="w-[30rem] pr-10">
<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" />
+2 -2
View File
@@ -138,7 +138,7 @@ const BookerComponent = ({
<BookerSection
area="header"
className={classNames(
layout === BookerLayouts.MONTH_VIEW && "fixed top-3 right-3 z-10",
layout === BookerLayouts.MONTH_VIEW && "fixed right-3 top-3 z-10",
(layout === BookerLayouts.COLUMN_VIEW || layout === BookerLayouts.WEEK_VIEW) &&
"bg-muted sticky top-0 z-10"
)}>
@@ -222,7 +222,7 @@ const BookerComponent = ({
<m.span
key="logo"
className={classNames(
"relative -z-50 mt-auto mb-6 pt-6 [&_img]:h-[15px]",
"mb-6 mt-auto pt-6 [&_img]:h-[15px]",
layout === BookerLayouts.MONTH_VIEW ? "block" : "hidden"
)}>
{!hideBranding ? <PoweredBy logoOnly /> : null}
@@ -1,11 +1,11 @@
import { zodResolver } from "@hookform/resolvers/zod";
import type { UseMutationResult } from "@tanstack/react-query";
import { useMutation } from "@tanstack/react-query";
import type { TFunction } from "next-i18next";
import { useRouter } from "next/router";
import { useMemo, useRef } from "react";
import type { FieldError } from "react-hook-form";
import { useForm } from "react-hook-form";
import type { TFunction } from "react-i18next";
import { z } from "zod";
import type { EventLocationType } from "@calcom/app-store/locations";
@@ -85,7 +85,7 @@ export const EventMeta = () => {
{bookerState === "booking" ? (
<>{timezone}</>
) : (
<span className="min-w-32 current-timezone before:bg-subtle -mt-[2px] flex h-6 max-w-full items-center justify-start before:absolute before:inset-0 before:left-[-30px] before:top-[-3px] before:bottom-[-3px] before:w-[calc(100%_+_35px)] before:rounded-md before:py-3 before:opacity-0 before:transition-opacity">
<span className="min-w-32 current-timezone before:bg-subtle -mt-[2px] flex h-6 max-w-full items-center justify-start before:absolute before:inset-0 before:bottom-[-3px] before:left-[-30px] before:top-[-3px] before:w-[calc(100%_+_35px)] before:rounded-md before:py-3 before:opacity-0 before:transition-opacity">
<TimezoneSelect
menuPosition="fixed"
classNames={{
@@ -52,7 +52,7 @@ export function Header({
}
return (
<div className="border-subtle relative z-10 flex border-l border-b px-5 py-4">
<div className="border-subtle relative z-10 flex border-b border-l px-5 py-4">
<div className="flex items-center gap-3">
<h3 className="min-w-[150px] text-base font-semibold leading-4">
{selectedDate.format("MMM D")}-{selectedDate.add(extraDays, "days").format("D")},{" "}
@@ -77,7 +77,7 @@ export function Header({
</div>
<div className="ml-auto flex gap-2">
<TimeFormatToggle />
<div className="fixed top-4 right-4">
<div className="fixed right-4 top-4">
<LayoutToggleWithData />
</div>
{/*
@@ -19,7 +19,7 @@ export const EventLocations = ({ event }: { event: PublicEvent }) => {
{locations.length > 1 && (
<div
key={locations[0].type}
className="before:bg-subtle relative before:pointer-events-none before:absolute before:inset-0 before:left-[-30px] before:top-[-5px] before:bottom-[-5px] before:w-[calc(100%_+_35px)] before:rounded-md before:py-3 before:opacity-0 before:transition-opacity hover:before:opacity-100">
className="before:bg-subtle relative before:pointer-events-none before:absolute before:inset-0 before:bottom-[-5px] before:left-[-30px] before:top-[-5px] before:w-[calc(100%_+_35px)] before:rounded-md before:py-3 before:opacity-0 before:transition-opacity hover:before:opacity-100">
<Tooltip
content={
<>
@@ -59,7 +59,7 @@ export const EventOccurences = ({ event }: { event: PublicEvent }) => {
{getRecurringFreq({ t, recurringEvent: event.recurringEvent })}
<br />
<Input
className="my-1 mr-3 inline-flex h-[26px] w-[46px] py-0 px-1"
className="my-1 mr-3 inline-flex h-[26px] w-[46px] px-1 py-0"
type="number"
defaultValue={event.recurringEvent.count}
onChange={(event) => {
+5 -5
View File
@@ -51,7 +51,7 @@ export const Day = ({
type="button"
style={disabled ? { ...disabledDateButtonEmbedStyles } : { ...enabledDateButtonEmbedStyles }}
className={classNames(
"disabled:text-bookinglighter absolute top-0 left-0 right-0 bottom-0 mx-auto w-full rounded-md border-2 border-transparent text-center text-sm font-medium disabled:cursor-default disabled:border-transparent disabled:font-light ",
"disabled:text-bookinglighter absolute bottom-0 left-0 right-0 top-0 mx-auto w-full rounded-md border-2 border-transparent text-center text-sm font-medium disabled:cursor-default disabled:border-transparent disabled:font-light ",
active
? "bg-brand-default text-brand"
: !disabled
@@ -64,7 +64,7 @@ export const Day = ({
{...props}>
{date.date()}
{date.isToday() && (
<span className="absolute left-1/2 top-1/2 flex h-[5px] w-[5px] translate-y-[8px] -translate-x-1/2 items-center justify-center rounded-full bg-white align-middle sm:translate-y-[12px]">
<span className="absolute left-1/2 top-1/2 flex h-[5px] w-[5px] -translate-x-1/2 translate-y-[8px] items-center justify-center rounded-full bg-white align-middle sm:translate-y-[12px]">
<span className="sr-only">{t("today")}</span>
</span>
)}
@@ -82,7 +82,7 @@ const NoAvailabilityOverlay = ({
const { t } = useLocale();
return (
<div className=" bg-muted border-subtle absolute top-40 left-1/2 -mt-10 w-max -translate-x-1/2 -translate-y-1/2 transform rounded-md border p-8 shadow-sm">
<div className=" bg-muted border-subtle absolute left-1/2 top-40 -mt-10 w-max -translate-x-1/2 -translate-y-1/2 transform rounded-md border p-8 shadow-sm">
<h4 className="text-emphasis mb-4 font-medium">{t("no_availability_in_month", { month: month })}</h4>
<Button onClick={nextMonthButton} color="primary" EndIcon={ArrowRight}>
{t("view_next_month")}
@@ -146,7 +146,7 @@ const Days = ({
<div key={`e-${idx}`} />
) : props.isLoading ? (
<button
className="bg-muted text-muted absolute top-0 left-0 right-0 bottom-0 mx-auto flex w-full items-center justify-center rounded-sm border-transparent text-center font-medium opacity-50"
className="bg-muted text-muted absolute bottom-0 left-0 right-0 top-0 mx-auto flex w-full items-center justify-center rounded-sm border-transparent text-center font-medium opacity-50"
key={`e-${idx}`}
disabled>
<SkeletonText className="h-4 w-5" />
@@ -235,7 +235,7 @@ const DatePicker = ({
</div>
</div>
</div>
<div className="border-subtle mb-2 grid grid-cols-7 gap-4 border-t border-b text-center md:mb-0 md:border-0">
<div className="border-subtle mb-2 grid grid-cols-7 gap-4 border-b border-t text-center md:mb-0 md:border-0">
{weekdayNames(locale, weekStart, "short").map((weekDay) => (
<div key={weekDay} className="text-emphasis my-4 text-xs font-medium uppercase tracking-widest">
{weekDay}
@@ -151,7 +151,7 @@ const DestinationCalendarSelector = ({
}}
isSearchable={false}
className={classNames(
"border-default mt-1 mb-2 block w-full min-w-0 flex-1 rounded-none rounded-r-sm text-sm"
"border-default mb-2 mt-1 block w-full min-w-0 flex-1 rounded-none rounded-r-sm text-sm"
)}
onChange={(newValue) => {
setSelectedOption(newValue);
@@ -64,7 +64,7 @@ export function Calendar(props: CalendarComponentProps) {
<CurrentTime />
<div className="bg-default dark:bg-muted ring-muted sticky left-0 z-10 w-14 flex-none ring-1" />
<div
className="grid flex-auto grid-cols-1 grid-rows-1 [--disabled-gradient-foreground:#E6E7EB] [--disabled-gradient-background:#F8F9FB] dark:[--disabled-gradient-background:#262626] dark:[--disabled-gradient-foreground:#393939]"
className="grid flex-auto grid-cols-1 grid-rows-1 [--disabled-gradient-background:#F8F9FB] [--disabled-gradient-foreground:#E6E7EB] dark:[--disabled-gradient-background:#262626] dark:[--disabled-gradient-foreground:#393939]"
style={{
backgroundColor: "var(--disabled-gradient-background)",
background:
@@ -20,7 +20,7 @@ export function DateValues({ days, containerNavRef }: Props) {
<button
key={day.toString()}
type="button"
className="flex flex-1 flex-col items-center pt-2 pb-3">
className="flex flex-1 flex-col items-center pb-3 pt-2">
{day.format("dd")}{" "}
<span
className={classNames(
@@ -101,7 +101,7 @@ function Cell({ isDisabled, topOffsetMinutes, timeSlot }: CellProps) {
{!isDisabled && hoverEventDuration !== 0 && (
<div
className={classNames(
"opacity-4 bg-subtle hover:bg-emphasis text-emphasis dark:border-emphasis absolute hidden rounded-[4px] border-[1px] border-gray-900 py-1 px-[6px] text-xs font-semibold leading-5 group-hover:flex group-hover:cursor-pointer",
"opacity-4 bg-subtle hover:bg-emphasis text-emphasis dark:border-emphasis absolute hidden rounded-[4px] border-[1px] border-gray-900 px-[6px] py-1 text-xs font-semibold leading-5 group-hover:flex group-hover:cursor-pointer",
hoverEventDuration && hoverEventDuration > 15 && "items-start pt-3",
hoverEventDuration && hoverEventDuration < 15 && "items-center"
)}
@@ -26,7 +26,7 @@ export function Event({
<Component
onClick={() => onEventClick?.(event)} // Note this is not the button event. It is the calendar event.
className={classNames(
"group flex h-full w-full flex-col overflow-y-auto rounded-[4px] py-1 px-[6px] text-xs font-semibold leading-5 ",
"group flex h-full w-full flex-col overflow-y-auto rounded-[4px] px-[6px] py-1 text-xs font-semibold leading-5 ",
event.status === "ACCEPTED" &&
!selected &&
"bg-subtle hover:bg-emphasis text-emphasis border-[1px] border-gray-900",
@@ -25,14 +25,14 @@ export const HorizontalLines = ({
<div className="row-end-1 h-[--calendar-offset-top] " ref={containerOffsetRef} />
{hours.map((hour) => (
<div key={`${id}-${hour.get("hour")}`}>
<div className="text-muted sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs leading-5">
<div className="text-muted sticky left-0 z-20 -ml-14 -mt-2.5 w-14 pr-2 text-right text-xs leading-5">
{/* We need to force the minute to zero, because otherwise in ex GMT+5.5, it would show :30 minute times (but at the positino of :00) */}
{hour.minute(0).format(timeFormat)}
</div>
</div>
))}
<div key={`${id}-${finalHour}`}>
<div className="text-muted sticky left-0 z-20 -mt-2.5 -ml-14 w-14 pr-2 text-right text-xs leading-5">
<div className="text-muted sticky left-0 z-20 -ml-14 -mt-2.5 w-14 pr-2 text-right text-xs leading-5">
{finalHour}
</div>
</div>
@@ -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">
&#8203;
</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>
)}
@@ -46,7 +46,7 @@ export function BulkEditDefaultConferencingModal(props: { open: boolean; setOpen
}}>
<div className="flex flex-col space-y-2">
{data.eventTypes.length > 0 && (
<div className="flex items-center space-x-2 rounded-md py-2.5 px-3">
<div className="flex items-center space-x-2 rounded-md px-3 py-2.5">
<Checkbox
description={t("select_all")}
descriptionAsLabel
@@ -58,7 +58,7 @@ export function BulkEditDefaultConferencingModal(props: { open: boolean; setOpen
</div>
)}
{data.eventTypes.map((eventType) => (
<div key={eventType.id} className="bg-muted flex items-center space-x-2 rounded-md py-2.5 px-3">
<div key={eventType.id} className="bg-muted flex items-center space-x-2 rounded-md px-3 py-2.5">
<Checkbox
description={eventType.title}
descriptionAsLabel
@@ -44,9 +44,9 @@ export const CheckedTeamSelect = ({
{value.map((option, index) => (
<li
key={option.value}
className={`flex py-2 px-3 ${index === value.length - 1 ? "" : "border-subtle border-b"}`}>
className={`flex px-3 py-2 ${index === value.length - 1 ? "" : "border-subtle border-b"}`}>
<Avatar size="sm" imageSrc={option.avatar} alt={option.label} />
<p className="text-emphasis ms-3 my-auto text-sm">{option.label}</p>
<p className="text-emphasis my-auto ms-3 text-sm">{option.label}</p>
<X
onClick={() => props.onChange(value.filter((item) => item.value !== option.value))}
className="my-auto ml-auto h-4 w-4"
@@ -44,7 +44,7 @@ export const CheckedUserSelect = ({
return (
<li
key={option.value}
className={`flex py-2 px-3 ${index === value.length - 1 ? "" : "border-b"}`}>
className={`flex px-3 py-2 ${index === value.length - 1 ? "" : "border-b"}`}>
<Avatar size="sm" imageSrc={option.avatar} alt={option.label} />
<p className="my-auto ml-3 text-sm text-gray-900">{option.label}</p>
<X
@@ -31,7 +31,7 @@ function EmptyPage({ name }: { name: string }) {
<SkeletonEventType />
<SkeletonEventType />
</div>
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform">
<div className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform">
<h3 className="text-emphasis text-lg font-semibold">{t("no_event_types")} </h3>
<h4 className="text-default text-sm leading-normal">{t("no_event_types_description", { name })}</h4>
</div>
@@ -22,7 +22,7 @@ const LimitedChipsContainer = <Option, IsMulti extends boolean, Group extends Gr
<components.ValueContainer {...props}>
{displayChips}
{overflowCounter > 0 && (
<span className="bg-subtle text-default flex items-center justify-center rounded-md py-[5px] px-2 text-[14px] font-medium leading-4">
<span className="bg-subtle text-default flex items-center justify-center rounded-md px-2 py-[5px] text-[14px] font-medium leading-4">
<>
<Plus className="mr-1 inline h-3 w-3 stroke-[3px]" /> <span>{overflowCounter} more</span>
</>
@@ -8,7 +8,7 @@ import { FlagAdminList } from "../components/FlagAdminList";
const SkeletonLoader = () => {
return (
<SkeletonContainer>
<div className="divide-subtle mt-6 mb-8 space-y-6">
<div className="divide-subtle mb-8 mt-6 space-y-6">
<SkeletonText className="h-8 w-full" />
<SkeletonText className="h-8 w-full" />
</div>
@@ -255,7 +255,7 @@ export const Components: Record<BookingFieldType, Component> = {
value={option.value}
checked={value.includes(option.value)}
/>
<span className="text-emphasis ms-2 me-2 text-sm">{option.label ?? ""}</span>
<span className="text-emphasis me-2 ms-2 text-sm">{option.label ?? ""}</span>
</label>
);
})}
@@ -320,7 +320,7 @@ export const Components: Record<BookingFieldType, Component> = {
}}
checked={value?.value === option.value}
/>
<span className="text-emphasis ms-2 me-2 text-sm">{option.label ?? ""}</span>
<span className="text-emphasis me-2 ms-2 text-sm">{option.label ?? ""}</span>
</label>
);
})
@@ -330,7 +330,7 @@ export const Components: Record<BookingFieldType, Component> = {
<Label>
{options[0].label}
{!readOnly && optionsInputs[options[0].value]?.required ? (
<span className="text-default ml-1 mb-1 text-sm font-medium">*</span>
<span className="text-default mb-1 ml-1 text-sm font-medium">*</span>
) : null}
</Label>
</>
@@ -326,7 +326,7 @@ export const FormBuilder = function FormBuilder({
{index >= 1 && (
<button
type="button"
className="bg-default text-muted hover:text-emphasis disabled:hover:text-muted border-default hover:border-emphasis invisible absolute -left-[12px] -mt-4 mb-4 -ml-4 hidden h-6 w-6 scale-0 items-center justify-center rounded-md border p-1 transition-all hover:shadow disabled:hover:border-inherit disabled:hover:shadow-none group-hover:visible group-hover:scale-100 sm:ml-0 sm:flex"
className="bg-default text-muted hover:text-emphasis disabled:hover:text-muted border-default hover:border-emphasis invisible absolute -left-[12px] -ml-4 -mt-4 mb-4 hidden h-6 w-6 scale-0 items-center justify-center rounded-md border p-1 transition-all hover:shadow disabled:hover:border-inherit disabled:hover:shadow-none group-hover:visible group-hover:scale-100 sm:ml-0 sm:flex"
onClick={() => swap(index, index - 1)}>
<ArrowUp className="h-5 w-5" />
</button>
@@ -334,7 +334,7 @@ export const FormBuilder = function FormBuilder({
{index < fields.length - 1 && (
<button
type="button"
className="bg-default text-muted hover:border-emphasis border-default hover:text-emphasis disabled:hover:text-muted invisible absolute -left-[12px] mt-8 -ml-4 hidden h-6 w-6 scale-0 items-center justify-center rounded-md border p-1 transition-all hover:shadow disabled:hover:border-inherit disabled:hover:shadow-none group-hover:visible group-hover:scale-100 sm:ml-0 sm:flex"
className="bg-default text-muted hover:border-emphasis border-default hover:text-emphasis disabled:hover:text-muted invisible absolute -left-[12px] -ml-4 mt-8 hidden h-6 w-6 scale-0 items-center justify-center rounded-md border p-1 transition-all hover:shadow disabled:hover:border-inherit disabled:hover:shadow-none group-hover:visible group-hover:scale-100 sm:ml-0 sm:flex"
onClick={() => swap(index, index + 1)}>
<ArrowDown className="h-5 w-5" />
</button>
@@ -425,7 +425,7 @@ export const FormBuilder = function FormBuilder({
})
}>
<DialogContent className="max-h-none p-0" data-testid="edit-field-dialog">
<div className="h-auto max-h-[85vh] overflow-auto px-8 pt-8 pb-7">
<div className="h-auto max-h-[85vh] overflow-auto px-8 pb-7 pt-8">
<DialogHeader title={t("add_a_booking_question")} subtitle={t("booking_questions_description")} />
<Form
id="form-builder"
@@ -574,7 +574,7 @@ const WithLabel = ({
<div className="mb-2 flex items-center">
<Label className="!mb-0">
<span>{field.label}</span>
<span className="text-emphasis ml-1 -mb-1 text-sm font-medium leading-none">
<span className="text-emphasis -mb-1 ml-1 text-sm font-medium leading-none">
{!readOnly && field.required ? "*" : ""}
</span>
</Label>
@@ -26,7 +26,7 @@ export const TotalBookingUsersTable = ({
className="m-2"
gravatarFallbackMd5={item.emailMd5}
/>
<p className="text-default my-auto mx-0">
<p className="text-default mx-0 my-auto">
<strong>{item.user.name}</strong>
</p>
</TableCell>
@@ -80,7 +80,7 @@ const ScheduleDay = <TFieldValues extends FieldValues>({
{!!watchDayRange.length && <div className="hidden sm:block">{CopyButton}</div>}
</div>
) : (
<SkeletonText className="mt-2.5 ml-1 h-6 w-48" />
<SkeletonText className="ml-1 mt-2.5 h-6 w-48" />
)}
</>
</div>
+2 -2
View File
@@ -11,11 +11,11 @@ export default function ThemeLabel(props: ThemeLabelProps) {
return (
<label
className="relative mb-4 flex-1 cursor-pointer text-center last:mb-0 last:mr-0 sm:mr-4 sm:mb-0"
className="relative mb-4 flex-1 cursor-pointer text-center last:mb-0 last:mr-0 sm:mb-0 sm:mr-4"
htmlFor={`theme-${variant}`}
data-testid={`theme-${variant}`}>
<input
className="peer absolute top-8 left-8"
className="peer absolute left-8 top-8"
type="radio"
value={value}
id={`theme-${variant}`}
@@ -167,7 +167,7 @@ const BackButtonInSidebar = ({ name }: { name: string }) => {
return (
<Link
href="/"
className="hover:bg-subtle [&[aria-current='page']]:bg-emphasis [&[aria-current='page']]:text-emphasis group-hover:text-default text-emphasis group my-6 flex h-6 max-h-6 w-full flex-row items-center rounded-md py-2 px-3 text-sm font-medium leading-4"
className="hover:bg-subtle [&[aria-current='page']]:bg-emphasis [&[aria-current='page']]:text-emphasis group-hover:text-default text-emphasis group my-6 flex h-6 max-h-6 w-full flex-row items-center rounded-md px-3 py-2 text-sm font-medium leading-4"
data-testid={`vertical-tab-${name}`}>
<ArrowLeft className="h-4 w-4 stroke-[2px] ltr:mr-[10px] rtl:ml-[10px] rtl:rotate-180 md:mt-0" />
<Skeleton title={name} as="p" className="max-w-36 min-h-4 truncate" loadingClassName="ms-3">
@@ -466,7 +466,7 @@ export default function SettingsLayout({
{sideContainerOpen && (
<button
onClick={() => setSideContainerOpen(false)}
className="fixed top-0 left-0 z-10 h-full w-full bg-black/50">
className="fixed left-0 top-0 z-10 h-full w-full bg-black/50">
<span className="sr-only">{t("hide_navigation")}</span>
</button>
)}
+3 -3
View File
@@ -654,7 +654,7 @@ const NavigationItem: React.FC<{
href={item.href}
aria-label={t(item.name)}
className={classNames(
"[&[aria-current='page']]:bg-emphasis text-default group flex items-center rounded-md py-2 px-3 text-sm font-medium",
"[&[aria-current='page']]:bg-emphasis text-default group flex items-center rounded-md px-3 py-2 text-sm font-medium",
isChild
? `[&[aria-current='page']]:text-emphasis hidden h-8 pl-16 lg:flex lg:pl-11 [&[aria-current='page']]:bg-transparent ${
props.index === 0 ? "mt-0" : "mt-px"
@@ -907,7 +907,7 @@ function SideBar({ bannersHeight, user }: SideBarProps) {
target={item.target}
className={classNames(
"text-left",
"[&[aria-current='page']]:bg-emphasis text-default justify-right group flex items-center rounded-md py-2 px-3 text-sm font-medium",
"[&[aria-current='page']]:bg-emphasis text-default justify-right group flex items-center rounded-md px-3 py-2 text-sm font-medium",
"[&[aria-current='page']]:text-emphasis mt-0.5 w-full text-sm",
isLocaleReady ? "hover:bg-emphasis hover:text-emphasis" : "",
index === 0 && "mt-3"
@@ -1052,7 +1052,7 @@ function TopNav() {
<>
<nav
style={isEmbed ? { display: "none" } : {}}
className="bg-muted border-subtle sticky top-0 z-40 flex w-full items-center justify-between border-b bg-opacity-50 py-1.5 px-4 backdrop-blur-lg sm:p-4 md:hidden">
className="bg-muted border-subtle sticky top-0 z-40 flex w-full items-center justify-between border-b bg-opacity-50 px-4 py-1.5 backdrop-blur-lg sm:p-4 md:hidden">
<Link href="/event-types">
<Logo />
</Link>
+1 -1
View File
@@ -138,7 +138,7 @@ export default function Tips() {
const baseOriginalList = list.slice(0).reverse();
return (
<div
className="hidden pt-8 pb-4 lg:grid"
className="hidden pb-4 pt-8 lg:grid"
/* ref={animationRef} */
style={{
gridTemplateColumns: "1fr",
+1 -1
View File
@@ -46,7 +46,7 @@ export function UpgradeTip({
</picture>
<div className="relative my-4 px-8 sm:px-14">
<h1 className={classNames("font-cal text-3xl", dark && "text-inverted")}>{t(title)}</h1>
<p className={classNames("mt-4 mb-8 max-w-sm", dark ? "text-inverted" : "text-default")}>
<p className={classNames("mb-8 mt-4 max-w-sm", dark ? "text-inverted" : "text-default")}>
{t(description)}
</p>
{buttons}
@@ -5,7 +5,7 @@ import WebhookListItemSkeleton from "./WebhookListItemSkeleton";
export default function WebhookListSkeleton() {
return (
<SkeletonContainer>
<div className="border-subtle divide-subtle mt-6 mb-8 divide-y rounded-md border">
<div className="border-subtle divide-subtle mb-8 mt-6 divide-y rounded-md border">
<WebhookListItemSkeleton />
<WebhookListItemSkeleton />
<WebhookListItemSkeleton />
@@ -143,7 +143,7 @@ const WebhooksList = ({ webhooksByViewer }: { webhooksByViewer: WebhooksByViewer
</div>
)}
<div className="flex flex-col" key={group.profile.slug}>
<div className="border-subtle mt-3 mb-8 rounded-md border">
<div className="border-subtle mb-8 mt-3 rounded-md border">
{group.webhooks.map((webhook, index) => (
<WebhookListItem
key={webhook.id}
+3 -2
View File
@@ -15,12 +15,13 @@
"@calcom/config": "*",
"@calcom/dayjs": "*",
"@sendgrid/client": "^7.7.0",
"@vercel/og": "^0.0.21",
"@vercel/og": "^0.5.0",
"bcryptjs": "^2.4.3",
"i18next": "^23.2.3",
"ical.js": "^1.4.0",
"ics": "^2.37.0",
"jimp": "^0.16.1",
"next-i18next": "^11.3.0",
"next-i18next": "^13.2.2",
"react-hot-toast": "^2.3.0",
"rrule": "^2.7.1",
"tailwind-merge": "^1.8.1",
+2 -2
View File
@@ -8,8 +8,8 @@ export const getTranslation = async (locale: string, ns: string) => {
const _i18n = i18next.createInstance();
_i18n.init({
lng: locale,
resources: _nextI18Next.initialI18nStore,
fallbackLng: _nextI18Next.userConfig?.i18n.defaultLocale,
resources: _nextI18Next?.initialI18nStore,
fallbackLng: _nextI18Next?.userConfig?.i18n.defaultLocale,
});
return _i18n;
};
+2 -1
View File
@@ -1,5 +1,6 @@
import { faker } from "@faker-js/faker";
import type { Booking, EventType, Prisma, Webhook } from "@prisma/client";
import type { TFunction } from "next-i18next";
import { BookingStatus } from "@calcom/prisma/enums";
import type { CalendarEvent, Person, VideoCallData } from "@calcom/types/Calendar";
@@ -23,7 +24,7 @@ export const buildPerson = (person?: Partial<Person>): Person => {
id: faker.datatype.number(),
language: {
locale: faker.random.locale(),
translate: (key: string) => key,
translate: ((key: string) => key) as TFunction,
},
...person,
};
+11 -11
View File
@@ -242,7 +242,7 @@ model User {
}
model Team {
id Int @id @default(autoincrement())
id Int @id @default(autoincrement())
/// @zod.min(1)
name String
/// @zod.min(1)
@@ -251,27 +251,27 @@ model Team {
appLogo String?
appIconLogo String?
bio String?
hideBranding Boolean @default(false)
hideBookATeamMember Boolean @default(false)
hideBranding Boolean @default(false)
hideBookATeamMember Boolean @default(false)
members Membership[]
eventTypes EventType[]
workflows Workflow[]
createdAt DateTime @default(now())
createdAt DateTime @default(now())
/// @zod.custom(imports.teamMetadataSchema)
metadata Json?
theme String?
brandColor String @default("#292929")
darkBrandColor String @default("#fafafa")
brandColor String @default("#292929")
darkBrandColor String @default("#fafafa")
verifiedNumbers VerifiedNumber[]
parentId Int?
parent Team? @relation("organization", fields: [parentId], references: [id], onDelete: Cascade)
children Team[] @relation("organization")
orgUsers User[] @relation("scope")
parent Team? @relation("organization", fields: [parentId], references: [id], onDelete: Cascade)
children Team[] @relation("organization")
orgUsers User[] @relation("scope")
inviteToken VerificationToken?
webhooks Webhook[]
timeFormat Int?
timeZone String @default("Europe/London")
weekStart String @default("Sunday")
timeZone String @default("Europe/London")
weekStart String @default("Sunday")
routingForms App_RoutingForms_Form[]
@@unique([slug, parentId])
+2 -2
View File
@@ -77,7 +77,7 @@ function CategoryTab({ selectedCategory, categories, searchText }: CategoryTabPr
})}
</h2>
{leftVisible && (
<button onClick={handleLeft} className="absolute bottom-0 flex md:left-1/2 md:-top-1">
<button onClick={handleLeft} className="absolute bottom-0 flex md:-top-1 md:left-1/2">
<div className="bg-default flex h-12 w-5 items-center justify-end">
<ChevronLeft className="text-subtle h-4 w-4" />
</div>
@@ -169,7 +169,7 @@ export function AllApps({ apps, searchText, categories }: AllAppsPropsType) {
<CategoryTab selectedCategory={selectedCategory} searchText={searchText} categories={categories} />
{filteredApps.length ? (
<div
className="grid gap-3 lg:grid-cols-4 [@media(max-width:1270px)]:grid-cols-3 [@media(max-width:730px)]:grid-cols-1 [@media(max-width:500px)]:grid-cols-1"
className="grid gap-3 lg:grid-cols-4 [@media(max-width:1270px)]:grid-cols-3 [@media(max-width:500px)]:grid-cols-1 [@media(max-width:730px)]:grid-cols-1"
ref={appsContainerRef}>
{filteredApps.map((app) => (
<AppCard key={app.name} app={app} searchText={searchText} credentials={app.credentials} />
@@ -41,7 +41,7 @@ function SkeletonItem() {
</div>
</div>
</div>
<div className="mt-4 hidden flex-shrink-0 sm:mt-0 sm:ml-5 lg:flex">
<div className="mt-4 hidden flex-shrink-0 sm:ml-5 sm:mt-0 lg:flex">
<div className="flex justify-between space-x-2 rtl:space-x-reverse">
<SkeletonText className="h-11 w-32" />
</div>
+4 -4
View File
@@ -196,7 +196,7 @@ export const Button = forwardRef<HTMLAnchorElement | HTMLButtonElement, ButtonPr
<>
{variant === "fab" ? (
<>
<StartIcon className="hidden h-4 w-4 stroke-[1.5px] ltr:mr-2 ltr:-ml-1 rtl:-mr-1 rtl:ml-2 md:inline-flex" />
<StartIcon className="hidden h-4 w-4 stroke-[1.5px] ltr:-ml-1 ltr:mr-2 rtl:-mr-1 rtl:ml-2 md:inline-flex" />
<Plus className="inline h-6 w-6 md:hidden" />
</>
) : (
@@ -211,7 +211,7 @@ export const Button = forwardRef<HTMLAnchorElement | HTMLButtonElement, ButtonPr
)}
{variant === "fab" ? <span className="hidden md:inline">{props.children}</span> : props.children}
{loading && (
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform">
<div className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform">
<svg
className={classNames(
"mx-4 h-5 w-5 animate-spin",
@@ -233,7 +233,7 @@ export const Button = forwardRef<HTMLAnchorElement | HTMLButtonElement, ButtonPr
<>
{variant === "fab" ? (
<>
<EndIcon className="ms-2 me-2 -mr-1 hidden h-5 w-5 md:inline" />
<EndIcon className="-mr-1 me-2 ms-2 hidden h-5 w-5 md:inline" />
<Plus className="inline h-6 w-6 md:hidden" />
</>
) : (
@@ -241,7 +241,7 @@ export const Button = forwardRef<HTMLAnchorElement | HTMLButtonElement, ButtonPr
className={classNames(
"inline-flex",
variant === "icon" && "h-4 w-4",
variant === "button" && "h-4 w-4 stroke-[1.5px] ltr:ml-2 ltr:-mr-1 rtl:mr-2 rtl:-ml-1"
variant === "button" && "h-4 w-4 stroke-[1.5px] ltr:-mr-1 ltr:ml-2 rtl:-ml-1 rtl:mr-2"
)}
/>
)}
@@ -21,7 +21,7 @@ export function ButtonGroup({ children, combined = false, containerProps }: Prop
"flex",
!combined
? "space-x-2 rtl:space-x-reverse"
: "[&_a]:rounded-none ltr:[&>*:first-child]:ml-0 ltr:[&>*:first-child]:rounded-l-md ltr:[&>*:first-child]:border-l rtl:[&>*:first-child]:rounded-r-md rtl:[&>*:first-child]:border-r ltr:[&>*:last-child]:rounded-r-md rtl:[&>*:last-child]:rounded-l-md [&_button]:rounded-none [&>a]:-ml-[1px] hover:[&>a]:z-[1] [&>button]:-ml-[1px] hover:[&>button]:z-[1]",
: "ltr:[&>*:first-child]:ml-0 ltr:[&>*:first-child]:rounded-l-md ltr:[&>*:first-child]:border-l rtl:[&>*:first-child]:rounded-r-md rtl:[&>*:first-child]:border-r ltr:[&>*:last-child]:rounded-r-md rtl:[&>*:last-child]:rounded-l-md [&>a]:-ml-[1px] hover:[&>a]:z-[1] [&>button]:-ml-[1px] hover:[&>button]:z-[1] [&_a]:rounded-none [&_button]:rounded-none",
containerProps?.className
)}>
{children}
+2 -2
View File
@@ -157,7 +157,7 @@ export function Card({
title={title}
className={classNames(
cvaCardTypeByVariant({ variant, structure: "title" }),
"line-clamp-1 text-emphasis font-bold leading-5"
"text-emphasis line-clamp-1 font-bold leading-5"
)}>
{title}
</h5>
@@ -178,7 +178,7 @@ export function Card({
className="group relative my-3 flex aspect-video items-center overflow-hidden rounded">
<div className="absolute inset-0 bg-black bg-opacity-50 transition-opacity group-hover:bg-opacity-40" />
<svg
className="text-inverted absolute top-1/2 left-1/2 h-8 w-8 -translate-x-1/2 -translate-y-1/2 transform rounded-full shadow-lg hover:-mt-px"
className="text-inverted absolute left-1/2 top-1/2 h-8 w-8 -translate-x-1/2 -translate-y-1/2 transform rounded-full shadow-lg hover:-mt-px"
viewBox="0 0 32 32"
fill="none"
xmlns="http://www.w3.org/2000/svg">
+1 -1
View File
@@ -72,7 +72,7 @@ export default function FormCard({
</button>
) : null}
</div>
<Divider className="mt-3 mb-6" />
<Divider className="mb-6 mt-3" />
{children}
</div>
</div>
+4 -2
View File
@@ -2,7 +2,9 @@ import Link from "next/link";
import { useEffect, useState } from "react";
import { COMPANY_NAME, IS_SELF_HOSTED } from "@calcom/lib/constants";
import pkg from "@calcom/web/package.json";
// Relative to prevent triggering a recompile
import pkg from "../../../../apps/web/package.json";
export const CalComVersion = `v.${pkg.version}-${!IS_SELF_HOSTED ? "h" : "sh"}`;
@@ -14,7 +16,7 @@ export default function Credits() {
}, []);
return (
<small className="text-default mx-3 mt-1 mb-2 hidden text-[0.5rem] opacity-50 lg:block">
<small className="text-default mx-3 mb-2 mt-1 hidden text-[0.5rem] opacity-50 lg:block">
&copy; {new Date().getFullYear()}{" "}
<Link href="https://go.cal.com/credits" target="_blank" className="hover:underline">
{COMPANY_NAME}
@@ -20,20 +20,20 @@ export const AddVariablesDropdown = (props: IAddVariablesDropdown) => {
<>
<div className="hidden sm:flex">
{t("add_variable")}
<ChevronDown className="mt-[2px] ml-1 h-4 w-4" />
<ChevronDown className="ml-1 mt-[2px] h-4 w-4" />
</div>
<div className="block sm:hidden">+</div>
</>
) : (
<div className="flex">
{t("add_variable")}
<ChevronDown className="mt-[2px] ml-1 h-4 w-4" />
<ChevronDown className="ml-1 mt-[2px] h-4 w-4" />
</div>
)}
</div>
</DropdownMenuTrigger>
<DropdownMenuContent>
<div className="pt-4 pb-1">
<div className="pb-1 pt-4">
<div className="text-subtle mb-2 px-4 text-left text-xs">
{t("add_dynamic_variables").toLocaleUpperCase()}
</div>
@@ -49,7 +49,7 @@ export function EmptyScreen({
)}
<div className="flex max-w-[420px] flex-col items-center">
<h2 className="text-semibold font-cal text-emphasis mt-6 text-center text-xl">{headline}</h2>
<div className="text-default mt-3 mb-8 text-center text-sm font-normal leading-6">
<div className="text-default mb-8 mt-3 text-center text-sm font-normal leading-6">
{description}
</div>
{buttonOnClick && buttonText && <Button onClick={(e) => buttonOnClick(e)}>{buttonText}</Button>}
+2 -2
View File
@@ -23,7 +23,7 @@ export const Input = forwardRef<HTMLInputElement, InputProps>(function Input(
{...props}
ref={ref}
className={classNames(
"hover:border-emphasis dark:focus:border-emphasis border-default bg-default placeholder:text-muted text-emphasis disabled:hover:border-default disabled:bg-subtle focus:ring-brand-default mb-2 block h-9 rounded-md border py-2 px-3 text-sm leading-4 focus:border-neutral-300 focus:outline-none focus:ring-2 disabled:cursor-not-allowed",
"hover:border-emphasis dark:focus:border-emphasis border-default bg-default placeholder:text-muted text-emphasis disabled:hover:border-default disabled:bg-subtle focus:ring-brand-default mb-2 block h-9 rounded-md border px-3 py-2 text-sm leading-4 focus:border-neutral-300 focus:outline-none focus:ring-2 disabled:cursor-not-allowed",
isFullWidth && "w-full",
props.className
)}
@@ -280,7 +280,7 @@ export const TextArea = forwardRef<HTMLTextAreaElement, TextAreaProps>(function
ref={ref}
{...props}
className={classNames(
"hover:border-emphasis border-default bg-default placeholder:text-muted text-emphasis disabled:hover:border-default disabled:bg-subtle focus:ring-brand-default mb-2 block w-full rounded-md border py-2 px-3 text-sm focus:border-neutral-300 focus:outline-none focus:ring-2 focus:ring-offset-1 disabled:cursor-not-allowed",
"hover:border-emphasis border-default bg-default placeholder:text-muted text-emphasis disabled:hover:border-default disabled:bg-subtle focus:ring-brand-default mb-2 block w-full rounded-md border px-3 py-2 text-sm focus:border-neutral-300 focus:outline-none focus:ring-2 focus:ring-offset-1 disabled:cursor-not-allowed",
props.className
)}
/>
@@ -31,7 +31,7 @@ function SettingsToggle({
return (
<>
<div className="flex w-full flex-col space-y-4 lg:flex-row lg:space-y-0 lg:space-x-4">
<div className="flex w-full flex-col space-y-4 lg:flex-row lg:space-x-4 lg:space-y-0">
<fieldset className="block w-full flex-col sm:flex">
<div className="flex space-x-3">
<Switch
@@ -15,7 +15,7 @@ const HorizontalTabs = function ({ tabs, linkProps, actions, ...props }: NavTabP
aria-label="Tabs"
{...props}>
{tabs.map((tab, idx) => (
<HorizontalTabItem className="py-2.5 px-4" {...tab} key={idx} {...linkProps} />
<HorizontalTabItem className="px-4 py-2.5" {...tab} key={idx} {...linkProps} />
))}
</nav>
{actions && actions}
+1 -1
View File
@@ -34,7 +34,7 @@ const Row = ({ children }: TableProps) => <tr>{children}</tr>;
const Cell = ({ children, widthClassNames }: TableProps & DynamicWidth) => (
<td
className={classNames(
"text-default relative py-2 px-3 text-sm font-medium",
"text-default relative px-3 py-2 text-sm font-medium",
!widthClassNames ? "w-auto" : widthClassNames
)}>
{children}
Loaded 100 of 171 files, more files were not shown because too many files have changed in this diff. Show more