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

@ -8,8 +8,8 @@ import { useMobxStore } from "lib/mobx/store-provider";
import useToast from "hooks/use-toast";
import { useWorkspaceMyMembership } from "contexts/workspace-member.context";
// ui
import { CustomSelect } from "components/ui";
import { Button, Input, TextArea } from "@plane/ui";
import { Button, CustomSelect, CustomSearchSelect, Input, TextArea } from "@plane/ui";
import { Avatar } from "components/ui";
// components
import { ImagePickerPopover } from "components/core";
import EmojiIconPicker from "components/emoji-icon-picker";

View file

@ -3,8 +3,7 @@ import { Controller, useForm } from "react-hook-form";
// components
import EmojiIconPicker from "components/emoji-icon-picker";
import { ImagePickerPopover } from "components/core";
import { CustomSelect } from "components/ui";
import { Button, Input, TextArea } from "@plane/ui";
import { Button, CustomSelect, Input, TextArea } from "@plane/ui";
// types
import { IProject, IWorkspace } from "types";
// helpers

View file

@ -7,7 +7,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";
// icon
import { Ban } from "lucide-react";
// fetch-keys

View file

@ -8,8 +8,8 @@ import { useForm, Controller, useFieldArray } from "react-hook-form";
import { Dialog, Transition } from "@headlessui/react";
// ui
import { Button } from "@plane/ui";
import { Avatar, CustomSearchSelect, CustomSelect } from "components/ui";
import { Button, CustomSelect, CustomSearchSelect } from "@plane/ui";
import { Avatar } from "components/ui";
//icons
import { ChevronDown, Plus, X } from "lucide-react";
// services

View file

@ -3,8 +3,7 @@ import { Controller, useForm } from "react-hook-form";
import { TwitterPicker } from "react-color";
import { Popover, Transition } from "@headlessui/react";
// ui
import { CustomMenu } from "components/ui";
import { Button, Input } from "@plane/ui";
import { Button, CustomMenu, Input } from "@plane/ui";
// icons
import { Component, Pencil } from "lucide-react";
// types

View file

@ -17,7 +17,6 @@ import {
LogOut,
ChevronDown,
} from "lucide-react";
import { Tooltip, ArchiveIcon, PhotoFilterIcon, DiceIcon, ContrastIcon, LayersIcon } from "@plane/ui";
// hooks
import useToast from "hooks/use-toast";
// helpers
@ -27,7 +26,7 @@ import { IProject } from "types";
// mobx store
import { useMobxStore } from "lib/mobx/store-provider";
// components
import { CustomMenu } from "components/ui";
import { CustomMenu, Tooltip, ArchiveIcon, PhotoFilterIcon, DiceIcon, ContrastIcon, LayersIcon } from "@plane/ui";
import { LeaveProjectModal, DeleteProjectModal } from "components/project";
import { PublishProjectModal } from "components/project/publish-project";