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

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

View file

@ -1,7 +1,7 @@
import React from "react";
// ui
import { CustomSelect } from "components/ui";
import { CustomSelect } from "@plane/ui";
// icons
import { Triangle } from "lucide-react";
// fetch-keys

View file

@ -1,9 +1,7 @@
import React from "react";
// ui
import { CustomSelect } from "components/ui";
// icons
import { PriorityIcon } from "@plane/ui";
import { CustomSelect, PriorityIcon } from "@plane/ui";
// types
import { TIssuePriorities } from "types";
// constants

View file

@ -3,7 +3,7 @@ import { observer } from "mobx-react-lite";
// mobx store
import { useMobxStore } from "lib/mobx/store-provider";
// ui
import { CustomSelect } from "components/ui";
import { CustomSelect } from "@plane/ui";
// helpers
import { renderEmoji } from "helpers/emoji.helper";
// icons

View file

@ -7,9 +7,8 @@ import useSWR from "swr";
// services
import { ProjectStateService } from "services/project";
// ui
import { CustomSearchSelect } from "components/ui";
import { CustomSearchSelect, DoubleCircleIcon, StateGroupIcon } from "@plane/ui";
// icons
import { DoubleCircleIcon, StateGroupIcon } from "@plane/ui";
import { Plus } from "lucide-react";
// helpers
import { getStatesList } from "helpers/state.helper";