chore: swap dropdown component with plane/ui component (#2480)

* chore: swap custom menu component with plane/ui component

* chore: swap custom select component with plane/ui component

* chore: swap custom search select component with plane/ui component
This commit is contained in:
Anmol Singh Bhatia 2023-10-19 15:24:51 +05:30 committed by GitHub
parent 0b8367a262
commit c0793ec8a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
91 changed files with 681 additions and 194 deletions

View file

@ -4,7 +4,8 @@ import useSWR from "swr";
// services
import { ProjectService } from "services/project";
// ui
import { Avatar, CustomSearchSelect } from "components/ui";
import { Avatar } from "components/ui";
import { CustomSearchSelect } from "@plane/ui";
// icons
import { UserCircle } from "lucide-react";
// fetch-keys

View file

@ -4,9 +4,9 @@ import useSWR from "swr";
// services
import { ProjectService } from "services/project";
// ui
import { AssigneesList, Avatar, CustomSearchSelect } from "components/ui";
import { AssigneesList, Avatar } from "components/ui";
// icons
import { UserGroupIcon } from "@plane/ui";
import { CustomSearchSelect, UserGroupIcon } from "@plane/ui";
// fetch-keys
import { PROJECT_MEMBERS } from "constants/fetch-keys";

View file

@ -3,9 +3,7 @@ import React from "react";
// react hook form
import { Controller, FieldError, Control } from "react-hook-form";
// ui
import { CustomSelect } from "components/ui";
// icons
import { DoubleCircleIcon, ModuleStatusIcon } from "@plane/ui";
import { CustomSelect, DoubleCircleIcon, ModuleStatusIcon } from "@plane/ui";
// types
import type { IModule } from "types";
// constants

View file

@ -4,7 +4,8 @@ import useSWR from "swr";
// services
import { ProjectService } from "services/project";
// ui
import { Avatar, CustomSearchSelect } from "components/ui";
import { Avatar } from "components/ui";
import { CustomSearchSelect } from "@plane/ui";
// icons
import { UserCircle2 } from "lucide-react";
// fetch-keys

View file

@ -7,8 +7,8 @@ import useSWR from "swr";
// services
import { ProjectService } from "services/project";
// ui
import { AssigneesList, Avatar, CustomSearchSelect } from "components/ui";
import { UserGroupIcon } from "@plane/ui";
import { AssigneesList, Avatar } from "components/ui";
import { CustomSearchSelect, UserGroupIcon } from "@plane/ui";
// icons
// fetch-keys
import { PROJECT_MEMBERS } from "constants/fetch-keys";

View file

@ -3,8 +3,7 @@ import React from "react";
// react-hook-form
import { Control, Controller, UseFormWatch } from "react-hook-form";
// ui
import { DoubleCircleIcon } from "@plane/ui";
import { CustomSelect } from "components/ui";
import { CustomSelect, DoubleCircleIcon } from "@plane/ui";
// types
import { IModule } from "types";
// common

View file

@ -14,8 +14,7 @@ import useToast from "hooks/use-toast";
import { LinkModal, LinksList, SidebarProgressStats } from "components/core";
import { DeleteModuleModal, SidebarLeadSelect, SidebarMembersSelect } from "components/modules";
import ProgressChart from "components/core/sidebar/progress-chart";
import { CustomMenu, CustomSelect } from "components/ui";
import { Loader, ProgressBar } from "@plane/ui";
import { CustomSelect, CustomMenu, Loader, ProgressBar } from "@plane/ui";
// icon
import {
AlertCircle,

View file

@ -9,8 +9,8 @@ import useToast from "hooks/use-toast";
// components
import { DeleteModuleModal } from "components/modules";
// ui
import { AssigneesList, CustomMenu } from "components/ui";
import { Tooltip } from "@plane/ui";
import { AssigneesList } from "components/ui";
import { CustomMenu, Tooltip } from "@plane/ui";
// icons
import { CalendarDays, LinkIcon, Pencil, Star, Target, Trash2 } from "lucide-react";
// helpers