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:
parent
0b8367a262
commit
c0793ec8a5
91 changed files with 681 additions and 194 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue