🧹 One calcom/ui import to rule them all (#5561)

* Removed emptyscreen component v1 version, migrated pages that still used it to v2, and removed v1 of workflow pages and components.

* updated workflow pages imports to remove v2 from path.

* Deleted v1 switch component, deleted v1 api-keys components, deleted old web integrations components that were unused.

* Removed v1 list component.

* Fixed event workflows tab path.

* Fixed import path for button in sandbox page.

* Cleanup and type fixes

* Making explicit indexes

* UI import migrations

* More import fixes

* More import fixes

* Submodule sync

* Type fixes

* Build fixes

Co-authored-by: zomars <[email protected]>
This commit is contained in:
Jeroen Reumkensandzomars authored and GitHub committed 2022-11-22 19:55:25 -07:00
1 parent a36b46bd81
commit ccc2bdd25e
325 files changed
+2152 -5271

No files matched your search

+2 -2
View File
@@ -2,12 +2,12 @@ import classNames from "classnames";
import { components } from "react-select";
import BaseSelect, {
allTimezones,
ITimezoneOption,
ITimezone,
ITimezoneOption,
Props as SelectProps,
} from "react-timezone-select";
import { InputComponent } from "@calcom/ui/v2/core/form/select/components";
import { InputComponent } from "../v2/core/form/select/components";
function TimezoneSelect({ className, ...props }: SelectProps) {
// @TODO: remove borderRadius and haveRoundedClassName logic from theme so we use only new style
+1 -1
View File
@@ -5,9 +5,9 @@ import { FieldValues, FormProvider, SubmitHandler, useFormContext, UseFormReturn
import classNames from "@calcom/lib/classNames";
import { getErrorFromUnknown } from "@calcom/lib/errors";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import showToast from "@calcom/ui/v2/core/notifications";
import { Alert } from "../Alert";
import { showToast } from "../v2/core/notifications";
type InputProps = Omit<JSX.IntrinsicElements["input"], "name"> & { name: string };