Skip to content

armgit / plane

Public Imported from GitHub
0

🔥🔥🔥 Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

refactor: actions icon migration (#8219)

Anmol Singh Bhatia2980c2d76bee
diff --git a/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx b/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx
index 146770c70d..c46d58f909 100644
--- a/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx
+++ b/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx
@@ -1,11 +1,11 @@
import { useState, useRef } from "react";
import { observer } from "mobx-react";
import Link from "next/link";
-import { ExternalLink, HelpCircle, MoveLeft } from "lucide-react";
+import { HelpCircle, MoveLeft } from "lucide-react";
import { Transition } from "@headlessui/react";
-// plane internal packages
import { WEB_BASE_URL } from "@plane/constants";
-import { DiscordIcon, GithubIcon, PageIcon } from "@plane/propel/icons";
+// plane internal packages
+import { DiscordIcon, GithubIcon, NewTabIcon, PageIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
import { cn } from "@plane/utils";
// hooks
@@ -56,7 +56,7 @@ export const AdminSidebarHelpSection = observer(function AdminSidebarHelpSection
href={redirectionLink}
className={`relative px-2 py-1 flex items-center gap-1 rounded-sm bg-layer-1 text-body-xs-medium text-secondary whitespace-nowrap`}
>
- <ExternalLink size={16} />
+ <NewTabIcon width={14} height={14} />
{!isSidebarCollapsed && "Redirect to Plane"}
</a>
</Tooltip>
diff --git a/apps/admin/core/components/common/copy-field.tsx b/apps/admin/core/components/common/copy-field.tsx
index 10a2c3729d..981a0476b4 100644
--- a/apps/admin/core/components/common/copy-field.tsx
+++ b/apps/admin/core/components/common/copy-field.tsx
@@ -1,7 +1,7 @@
import React from "react";
// ui
-import { Copy } from "lucide-react";
import { Button } from "@plane/propel/button";
+import { CopyIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
type Props = {
@@ -37,7 +37,7 @@ export function CopyField(props: Props) {
}}
>
<p className="text-13 font-medium">{url}</p>
- <Copy size={18} color="#B9B9B9" />
+ <CopyIcon width={18} height={18} color="#B9B9B9" />
</Button>
<div className="text-11 text-tertiary">{description}</div>
</div>
diff --git a/apps/admin/core/components/workspace/list-item.tsx b/apps/admin/core/components/workspace/list-item.tsx
index c64ea648de..a4e0df2259 100644
--- a/apps/admin/core/components/workspace/list-item.tsx
+++ b/apps/admin/core/components/workspace/list-item.tsx
@@ -1,7 +1,8 @@
import { observer } from "mobx-react";
-import { ExternalLink } from "lucide-react";
+
// plane internal packages
import { WEB_BASE_URL } from "@plane/constants";
+import { NewTabIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
import { getFileURL } from "@plane/utils";
// hooks
@@ -75,7 +76,7 @@ export const WorkspaceListItem = observer(function WorkspaceListItem({ workspace
</div>
</div>
<div className="flex-shrink-0">
- <ExternalLink size={16} className="text-placeholder group-hover:text-secondary" />
+ <NewTabIcon width={14} height={16} className="text-placeholder group-hover:text-secondary" />
</div>
</a>
);
diff --git a/apps/admin/core/hooks/use-sidebar-menu/core.ts b/apps/admin/core/hooks/use-sidebar-menu/core.ts
index 36b143598d..7a821d8990 100644
--- a/apps/admin/core/hooks/use-sidebar-menu/core.ts
+++ b/apps/admin/core/hooks/use-sidebar-menu/core.ts
@@ -1,6 +1,6 @@
-import { Image, BrainCog, Cog, Lock, Mail } from "lucide-react";
+import { Image, BrainCog, Cog, Mail } from "lucide-react";
// plane imports
-import { WorkspaceIcon } from "@plane/propel/icons";
+import { LockIcon, WorkspaceIcon } from "@plane/propel/icons";
// types
import type { TSidebarMenuItem } from "./types";
@@ -26,7 +26,7 @@ export const coreSidebarMenuLinks: Record<TCoreSidebarMenuKey, TSidebarMenuItem>
href: `/workspace/`,
},
authentication: {
- Icon: Lock,
+ Icon: LockIcon,
name: "Authentication",
description: "Configure authentication modes.",
href: `/authentication/`,
diff --git a/apps/space/core/components/issues/filters/helpers/filter-option.tsx b/apps/space/core/components/issues/filters/helpers/filter-option.tsx
index 0926e5e934..b690c88ae6 100644
--- a/apps/space/core/components/issues/filters/helpers/filter-option.tsx
+++ b/apps/space/core/components/issues/filters/helpers/filter-option.tsx
@@ -1,6 +1,6 @@
import React from "react";
-// lucide icons
-import { Check } from "lucide-react";
+// plane imports
+import { CheckIcon } from "@plane/propel/icons";
type Props = {
icon?: React.ReactNode;
@@ -24,7 +24,7 @@ export function FilterOption(props: Props) {
isChecked ? "border-accent-strong bg-accent-primary text-on-color" : "border-strong"
} ${multiple ? "rounded-xs" : "rounded-full"}`}
>
- {isChecked && <Check size={10} strokeWidth={3} />}
+ {isChecked && <CheckIcon width={10} height={10} strokeWidth={3} />}
</div>
<div className="flex items-center gap-2 truncate">
{icon && <div className="grid w-5 shrink-0 place-items-center">{icon}</div>}
diff --git a/apps/space/core/components/issues/filters/selection.tsx b/apps/space/core/components/issues/filters/selection.tsx
index cf7f11c4e3..8d016bc266 100644
--- a/apps/space/core/components/issues/filters/selection.tsx
+++ b/apps/space/core/components/issues/filters/selection.tsx
@@ -1,7 +1,6 @@
import React, { useState } from "react";
import { observer } from "mobx-react";
-import { Search } from "lucide-react";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
// types
import type { IIssueFilterOptions, TIssueFilterKeys } from "@/types/issue";
// local imports
@@ -25,7 +24,7 @@ export const FilterSelection = observer(function FilterSelection(props: Props) {
<div className="flex h-full w-full flex-col overflow-hidden">
<div className="p-2.5 pb-0">
<div className="flex items-center gap-1.5 rounded-sm border-[0.5px] border-subtle bg-surface-2 px-1.5 py-1 text-11">
- <Search className="text-placeholder" size={12} strokeWidth={2} />
+ <SearchIcon className="text-placeholder" width={12} height={12} strokeWidth={2} />
<input
type="text"
className="w-full bg-surface-2 outline-none placeholder:text-placeholder"
diff --git a/apps/space/core/components/issues/issue-layouts/properties/all-properties.tsx b/apps/space/core/components/issues/issue-layouts/properties/all-properties.tsx
index d16a7b5975..d9fe6f75aa 100644
--- a/apps/space/core/components/issues/issue-layouts/properties/all-properties.tsx
+++ b/apps/space/core/components/issues/issue-layouts/properties/all-properties.tsx
@@ -1,6 +1,6 @@
import { observer } from "mobx-react";
-import { Link, Paperclip } from "lucide-react";
-import { ViewsIcon } from "@plane/propel/icons";
+import { Paperclip } from "lucide-react";
+import { LinkIcon, ViewsIcon } from "@plane/propel/icons";
// plane imports
import { Tooltip } from "@plane/propel/tooltip";
import type { IIssueDisplayProperties } from "@plane/types";
@@ -169,7 +169,7 @@ export const IssueProperties = observer(function IssueProperties(props: IIssuePr
>
<Tooltip tooltipHeading="Links" tooltipContent={`${issue.link_count}`}>
<div className="flex h-5 flex-shrink-0 items-center justify-center gap-2 overflow-hidden rounded-sm border-[0.5px] border-strong px-2.5 py-1">
- <Link className="h-3 w-3 flex-shrink-0" strokeWidth={2} />
+ <LinkIcon className="h-3 w-3 flex-shrink-0" strokeWidth={2} />
<div className="text-11">{issue.link_count}</div>
</div>
</Tooltip>
diff --git a/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx b/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx
index 65606ad6be..a1715e2a8c 100644
--- a/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx
+++ b/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx
@@ -1,11 +1,11 @@
import React, { useRef, useState } from "react";
import { observer } from "mobx-react";
import { Controller, useForm } from "react-hook-form";
-import { Check, MessageSquare, MoreVertical } from "lucide-react";
+import { MessageSquare, MoreVertical } from "lucide-react";
import { Menu, Transition } from "@headlessui/react";
// plane imports
import type { EditorRefApi } from "@plane/editor";
-import { CloseIcon } from "@plane/propel/icons";
+import { CheckIcon, CloseIcon } from "@plane/propel/icons";
import type { TIssuePublicComment } from "@plane/types";
import { getFileURL } from "@plane/utils";
// components
@@ -134,7 +134,7 @@ export const CommentCard = observer(function CommentCard(props: Props) {
disabled={isSubmitting}
className="group rounded-sm border border-success-strong bg-success-primary p-2 shadow-md duration-300 hover:bg-green-500"
>
- <Check
+ <CheckIcon
className="h-3 w-3 text-success-primary duration-300 group-hover:text-on-color"
strokeWidth={2}
/>
diff --git a/apps/space/core/components/issues/peek-overview/header.tsx b/apps/space/core/components/issues/peek-overview/header.tsx
index fae71817d8..67f325e384 100644
--- a/apps/space/core/components/issues/peek-overview/header.tsx
+++ b/apps/space/core/components/issues/peek-overview/header.tsx
@@ -1,9 +1,9 @@
import React from "react";
import { observer } from "mobx-react";
-import { Link2, MoveRight } from "lucide-react";
+import { MoveRight } from "lucide-react";
import { Listbox, Transition } from "@headlessui/react";
// ui
-import { CenterPanelIcon, FullScreenPanelIcon, SidePanelIcon } from "@plane/propel/icons";
+import { LinkIcon, CenterPanelIcon, FullScreenPanelIcon, SidePanelIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
// helpers
import { copyTextToClipboard } from "@/helpers/string.helper";
@@ -116,7 +116,7 @@ export const PeekOverviewHeader = observer(function PeekOverviewHeader(props: Pr
className="shrink-0 focus:outline-none text-tertiary hover:text-secondary"
tabIndex={1}
>
- <Link2 className="h-4 w-4 -rotate-45" />
+ <LinkIcon className="h-4 w-4 -rotate-45" />
</button>
)}
</div>
diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx
index 52edb02bfd..a79a12a265 100644
--- a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx
+++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx
@@ -2,10 +2,10 @@ import { useCallback, useRef, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
// plane imports
-import { Plus, Search } from "lucide-react";
import { EUserPermissions, EUserPermissionsLevel, PROJECT_TRACKER_ELEMENTS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { EmptyStateCompact } from "@plane/propel/empty-state";
+import { PlusIcon, SearchIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
import { copyUrlToClipboard, orderJoinedProjects } from "@plane/utils";
@@ -117,13 +117,13 @@ export const ExtendedProjectSidebar = observer(function ExtendedProjectSidebar()
setIsProjectModalOpen(true);
}}
>
- <Plus className="size-3" />
+ <PlusIcon className="size-3" />
</button>
</Tooltip>
)}
</div>
<div className="ml-auto flex items-center gap-1.5 rounded-md border border-subtle bg-surface-1 px-2.5 py-1 w-full">
- <Search className="h-3.5 w-3.5 text-placeholder" />
+ <SearchIcon className="h-3.5 w-3.5 text-placeholder" />
<input
className="w-full max-w-[234px] border-none bg-transparent text-13 outline-none placeholder:text-placeholder"
placeholder={t("search")}
diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx
index e64d5d9821..22bf0796bb 100644
--- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx
+++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx
@@ -1,7 +1,7 @@
import { useCallback, useRef } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
-import { Lock } from "lucide-react";
+
// plane imports
import {
EIssueFilterType,
@@ -11,7 +11,7 @@ import {
WORK_ITEM_TRACKER_ELEMENTS,
} from "@plane/constants";
import { Button } from "@plane/propel/button";
-import { ViewsIcon } from "@plane/propel/icons";
+import { LockIcon, ViewsIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
import type { ICustomSearchSelectOption, IIssueDisplayFilterOptions, IIssueDisplayProperties } from "@plane/types";
import { EIssuesStoreType, EViewAccess, EIssueLayoutTypes } from "@plane/types";
@@ -151,7 +151,7 @@ export const ProjectViewIssuesHeader = observer(function ProjectViewIssuesHeader
{viewDetails?.access === EViewAccess.PRIVATE ? (
<div className="cursor-default text-tertiary">
<Tooltip tooltipContent={"Private"}>
- <Lock className="h-4 w-4" />
+ <LockIcon className="h-4 w-4" />
</Tooltip>
</div>
) : (
diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx
index 4bb831ebf3..70007f5a07 100644
--- a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx
+++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx
@@ -1,9 +1,9 @@
import React, { useState } from "react";
import { observer } from "mobx-react";
-import { Search } from "lucide-react";
// plane imports
import { DEFAULT_GLOBAL_VIEWS_LIST } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
+import { SearchIcon } from "@plane/propel/icons";
import { Input } from "@plane/ui";
// components
import { PageHead } from "@/components/core/page-title";
@@ -25,7 +25,7 @@ function WorkspaceViewsPage() {
<PageHead title={pageTitle} />
<div className="flex flex-col h-full w-full overflow-hidden">
<div className="flex h-11 w-full items-center gap-2.5 px-5 py-3 overflow-hidden border-b border-subtle">
- <Search className="text-secondary" size={14} strokeWidth={2} />
+ <SearchIcon className="text-secondary" width={14} height={14} strokeWidth={2} />
<Input
className="w-full bg-transparent !p-0 text-11 leading-5 text-secondary placeholder:text-placeholder focus:outline-none"
value={query}
diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/page.tsx
index a50bbba2c1..5c1fc059d8 100644
--- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/page.tsx
+++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/page.tsx
@@ -1,6 +1,5 @@
import { useState } from "react";
import { observer } from "mobx-react";
-import { Search } from "lucide-react";
// types
import {
EUserPermissions,
@@ -10,6 +9,7 @@ import {
} from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
+import { SearchIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { IWorkspaceBulkInviteFormData } from "@plane/types";
import { cn } from "@plane/utils";
@@ -137,7 +137,7 @@ const WorkspaceMembersSettingsPage = observer(function WorkspaceMembersSettingsP
</h4>
<div className="flex items-center gap-2">
<div className="flex items-center gap-1.5 rounded-md border border-subtle bg-surface-1 px-2.5 py-1.5">
- <Search className="h-3.5 w-3.5 text-placeholder" />
+ <SearchIcon className="h-3.5 w-3.5 text-placeholder" />
<input
className="w-full max-w-[234px] border-none bg-transparent text-body-xs-regular outline-none placeholder:text-placeholder"
placeholder={`${t("search")}...`}
diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/sidebar.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/sidebar.tsx
index 86930f734f..4088ec4ab3 100644
--- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/sidebar.tsx
+++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/sidebar.tsx
@@ -1,8 +1,9 @@
import { observer } from "mobx-react";
import { useParams, usePathname } from "next/navigation";
-import { CircleUser, Activity, Bell, CircleUserRound, KeyRound, Settings2, Blocks, Lock } from "lucide-react";
+import { CircleUser, Activity, Bell, CircleUserRound, KeyRound, Settings2, Blocks } from "lucide-react";
// plane imports
import { GROUPED_PROFILE_SETTINGS, PROFILE_SETTINGS_CATEGORIES } from "@plane/constants";
+import { LockIcon } from "@plane/propel/icons";
import { getFileURL } from "@plane/utils";
// components
import { SettingsSidebar } from "@/components/settings/sidebar";
@@ -11,7 +12,7 @@ import { useUser } from "@/hooks/store/user";
const ICONS = {
profile: CircleUser,
- security: Lock,
+ security: LockIcon,
activity: Activity,
preferences: Settings2,
notifications: Bell,
diff --git a/apps/web/app/(all)/workspace-invitations/page.tsx b/apps/web/app/(all)/workspace-invitations/page.tsx
index 33323d3344..315d825f86 100644
--- a/apps/web/app/(all)/workspace-invitations/page.tsx
+++ b/apps/web/app/(all)/workspace-invitations/page.tsx
@@ -2,8 +2,8 @@ import React from "react";
import { observer } from "mobx-react";
import { useSearchParams } from "next/navigation";
import useSWR from "swr";
-import { Boxes, Check, Share2, Star, User2 } from "lucide-react";
-import { CloseIcon } from "@plane/propel/icons";
+import { Boxes, Share2, Star, User2 } from "lucide-react";
+import { CheckIcon, CloseIcon } from "@plane/propel/icons";
// components
import { LogoSpinner } from "@/components/common/logo-spinner";
import { EmptySpace, EmptySpaceItem } from "@/components/ui/empty-space";
@@ -83,7 +83,7 @@ function WorkspaceInvitationPage() {
title={`You have been invited to ${invitationDetail.workspace.name}`}
description="Your workspace is where you'll create projects, collaborate on your work items, and organize different streams of work in your Plane account."
>
- <EmptySpaceItem Icon={Check} title="Accept" action={handleAccept} />
+ <EmptySpaceItem Icon={CheckIcon} title="Accept" action={handleAccept} />
<EmptySpaceItem Icon={CloseIcon} title="Ignore" action={handleReject} />
</EmptySpace>
)
diff --git a/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx b/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx
index 03c9a05f32..512ef97093 100644
--- a/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx
+++ b/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx
@@ -1,9 +1,10 @@
import { observer } from "mobx-react";
-import { AlertOctagon, BarChart4, CircleDashed, Folder, Microscope, Search } from "lucide-react";
+import { AlertOctagon, BarChart4, CircleDashed, Folder, Microscope } from "lucide-react";
// plane imports
import { MARKETING_PRICING_PAGE_LINK } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { getButtonStyling } from "@plane/propel/button";
+import { SearchIcon } from "@plane/propel/icons";
import { ContentWrapper } from "@plane/ui";
import { cn } from "@plane/utils";
// assets
@@ -50,7 +51,7 @@ export const WORKSPACE_ACTIVE_CYCLES_DETAILS = [
key: "zoom_into_cycles_that_need_attention",
title: "Zoom into cycles that need attention. ",
description: "Investigate the state of any cycle that doesn’t conform to expectations in one click.",
- icon: Search,
+ icon: SearchIcon,
},
{
key: "stay_ahead_of_blockers",
diff --git a/apps/web/ce/components/command-palette/actions/work-item-actions/change-state-list.tsx b/apps/web/ce/components/command-palette/actions/work-item-actions/change-state-list.tsx
index 091aaea3f5..91ccd7444c 100644
--- a/apps/web/ce/components/command-palette/actions/work-item-actions/change-state-list.tsx
+++ b/apps/web/ce/components/command-palette/actions/work-item-actions/change-state-list.tsx
@@ -1,9 +1,8 @@
import { Command } from "cmdk";
import { observer } from "mobx-react";
-import { Check } from "lucide-react";
-// plane imports
import { EIconSize } from "@plane/constants";
-import { StateGroupIcon } from "@plane/propel/icons";
+// plane imports
+import { CheckIcon, StateGroupIcon } from "@plane/propel/icons";
import { Spinner } from "@plane/ui";
// store hooks
import { useProjectState } from "@/hooks/store/use-project-state";
@@ -36,7 +35,7 @@ export const ChangeWorkItemStateList = observer(function ChangeWorkItemStateList
/>
<p>{state.name}</p>
</div>
- <div>{state.id === currentStateId && <Check className="h-3 w-3" />}</div>
+ <div>{state.id === currentStateId && <CheckIcon className="h-3 w-3" />}</div>
</Command.Item>
))
) : (
diff --git a/apps/web/ce/components/command-palette/power-k/search/no-results-command.tsx b/apps/web/ce/components/command-palette/power-k/search/no-results-command.tsx
index c4badccd4f..8639b52be8 100644
--- a/apps/web/ce/components/command-palette/power-k/search/no-results-command.tsx
+++ b/apps/web/ce/components/command-palette/power-k/search/no-results-command.tsx
@@ -1,7 +1,7 @@
import { Command } from "cmdk";
-import { Search } from "lucide-react";
-// plane imports
import { useTranslation } from "@plane/i18n";
+import { SearchIcon } from "@plane/propel/icons";
+// plane imports
// components
import type { TPowerKContext } from "@/components/power-k/core/types";
// plane web imports
@@ -21,7 +21,7 @@ export function PowerKModalNoSearchResultsCommand(props: TPowerKModalNoSearchRes
return (
<Command.Group>
<PowerKModalCommandItem
- icon={Search}
+ icon={SearchIcon}
value="no-results"
label={
<p className="flex items-center gap-2">
diff --git a/apps/web/ce/components/estimates/estimate-list-item-buttons.tsx b/apps/web/ce/components/estimates/estimate-list-item-buttons.tsx
index be1f209ad9..d20c0217ac 100644
--- a/apps/web/ce/components/estimates/estimate-list-item-buttons.tsx
+++ b/apps/web/ce/components/estimates/estimate-list-item-buttons.tsx
@@ -1,6 +1,6 @@
import { observer } from "mobx-react";
-import { Trash } from "lucide-react";
import { PROJECT_SETTINGS_TRACKER_ELEMENTS } from "@plane/constants";
+import { TrashIcon } from "@plane/propel/icons";
type TEstimateListItem = {
estimateId: string;
@@ -22,7 +22,7 @@ export const EstimateListItemButtons = observer(function EstimateListItemButtons
onClick={() => onDeleteClick && onDeleteClick(estimateId)}
data-ph-element={PROJECT_SETTINGS_TRACKER_ELEMENTS.ESTIMATES_LIST_ITEM}
>
- <Trash size={12} />
+ <TrashIcon width={12} height={12} />
</button>
</div>
);
diff --git a/apps/web/ce/components/issues/header.tsx b/apps/web/ce/components/issues/header.tsx
index b10b8bf1dc..89772ae197 100644
--- a/apps/web/ce/components/issues/header.tsx
+++ b/apps/web/ce/components/issues/header.tsx
@@ -1,7 +1,7 @@
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
// icons
-import { Circle, ExternalLink } from "lucide-react";
+import { Circle } from "lucide-react";
// plane imports
import {
EUserPermissions,
@@ -12,7 +12,7 @@ import {
} from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
-import { WorkItemsIcon } from "@plane/propel/icons";
+import { NewTabIcon, WorkItemsIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
import { EIssuesStoreType } from "@plane/types";
import { Breadcrumbs, Header } from "@plane/ui";
@@ -95,7 +95,7 @@ export const IssuesHeader = observer(function IssuesHeader() {
>
<Circle className="h-1.5 w-1.5 fill-accent-primary" strokeWidth={2} />
{t("workspace_projects.network.public.title")}
- <ExternalLink className="hidden h-3 w-3 group-hover:block" strokeWidth={2} />
+ <NewTabIcon className="hidden h-3 w-3 group-hover:block" strokeWidth={2} />
</a>
) : (
<></>
diff --git a/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/copy-menu-helper.tsx b/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/copy-menu-helper.tsx
index 7f4bb031b9..641c9fc394 100644
--- a/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/copy-menu-helper.tsx
+++ b/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/copy-menu-helper.tsx
@@ -1,11 +1,11 @@
-import type { Copy } from "lucide-react";
+import type { ISvgIcons } from "@plane/propel/icons";
import type { TContextMenuItem } from "@plane/ui";
export interface CopyMenuHelperProps {
baseItem: {
key: string;
title: string;
- icon: typeof Copy;
+ icon: React.FC<ISvgIcons>;
action: () => void;
shouldRender: boolean;
};
diff --git a/apps/web/ce/components/issues/issue-layouts/utils.tsx b/apps/web/ce/components/issues/issue-layouts/utils.tsx
index 82a26a00c6..6b6fa529d1 100644
--- a/apps/web/ce/components/issues/issue-layouts/utils.tsx
+++ b/apps/web/ce/components/issues/issue-layouts/utils.tsx
@@ -1,9 +1,10 @@
import type { FC } from "react";
-import { CalendarDays, LayersIcon, Link2, Paperclip } from "lucide-react";
+import { CalendarDays, LayersIcon, Paperclip } from "lucide-react";
// types
import { ISSUE_GROUP_BY_OPTIONS } from "@plane/constants";
import type { ISvgIcons } from "@plane/propel/icons";
import {
+ LinkIcon,
CycleIcon,
StatePropertyIcon,
ModuleIcon,
@@ -82,7 +83,7 @@ export const SpreadSheetPropertyIconMap: Record<string, FC<ISvgIcons>> = {
PriorityPropertyIcon: PriorityPropertyIcon,
StartDatePropertyIcon: StartDatePropertyIcon,
StatePropertyIcon: StatePropertyIcon,
- Link2: Link2,
+ Link2: LinkIcon,
Paperclip: Paperclip,
LayersIcon: LayersIcon,
};
diff --git a/apps/web/ce/components/workflow/state-option.tsx b/apps/web/ce/components/workflow/state-option.tsx
index 1c31e030f2..ee260e7177 100644
--- a/apps/web/ce/components/workflow/state-option.tsx
+++ b/apps/web/ce/components/workflow/state-option.tsx
@@ -1,6 +1,6 @@
import { observer } from "mobx-react";
-import { Check } from "lucide-react";
import { Combobox } from "@headlessui/react";
+import { CheckIcon } from "@plane/propel/icons";
import { cn } from "@plane/utils";
export type TStateOptionProps = {
@@ -31,7 +31,7 @@ export const StateOption = observer(function StateOption(props: TStateOptionProp
{({ selected }) => (
<>
<span className="flex-grow truncate">{option.content}</span>
- {selected && <Check className="h-3.5 w-3.5 flex-shrink-0" />}
+ {selected && <CheckIcon className="h-3.5 w-3.5 flex-shrink-0" />}
</>
)}
</Combobox.Option>
diff --git a/apps/web/core/components/account/deactivate-account-modal.tsx b/apps/web/core/components/account/deactivate-account-modal.tsx
index 0cd13cb1cb..42fd21b069 100644
--- a/apps/web/core/components/account/deactivate-account-modal.tsx
+++ b/apps/web/core/components/account/deactivate-account-modal.tsx
@@ -1,9 +1,9 @@
import { useState } from "react";
-import { Trash2 } from "lucide-react";
import { PROFILE_SETTINGS_TRACKER_EVENTS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
// ui
import { Button } from "@plane/propel/button";
+import { TrashIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { EModalPosition, EModalWidth, ModalCore } from "@plane/ui";
// hooks
@@ -68,7 +68,7 @@ export function DeactivateAccountModal(props: Props) {
<div className="">
<div className="flex items-start gap-x-4">
<div className="mt-3 grid place-items-center rounded-full bg-danger-primary p-2 sm:mt-3 sm:p-2 md:mt-0 md:p-4 lg:mt-0 lg:p-4 ">
- <Trash2
+ <TrashIcon
className="h-4 w-4 text-danger-primary sm:h-4 sm:w-4 md:h-6 md:w-6 lg:h-6 lg:w-6"
aria-hidden="true"
/>
diff --git a/apps/web/core/components/analytics/insight-table/data-table.tsx b/apps/web/core/components/analytics/insight-table/data-table.tsx
index 2711415a04..87ced204ae 100644
--- a/apps/web/core/components/analytics/insight-table/data-table.tsx
+++ b/apps/web/core/components/analytics/insight-table/data-table.tsx
@@ -15,10 +15,10 @@ import {
getSortedRowModel,
useReactTable,
} from "@tanstack/react-table";
-import { Search } from "lucide-react";
+
import { useTranslation } from "@plane/i18n";
import { EmptyStateCompact } from "@plane/propel/empty-state";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
// plane package imports
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@plane/propel/table";
import { cn } from "@plane/utils";
@@ -76,7 +76,7 @@ export function DataTable<TData, TValue>({ columns, data, searchPlaceholder, act
inputRef.current?.focus();
}}
>
- <Search className="h-3.5 w-3.5" />
+ <SearchIcon className="h-3.5 w-3.5" />
</button>
)}
<div
@@ -87,7 +87,7 @@ export function DataTable<TData, TValue>({ columns, data, searchPlaceholder, act
}
)}
>
- <Search className="h-3.5 w-3.5" />
+ <SearchIcon className="h-3.5 w-3.5" />
<input
ref={inputRef}
className="w-full max-w-[234px] border-none bg-transparent text-13 text-primary placeholder:text-placeholder focus:outline-none"
diff --git a/apps/web/core/components/api-token/modal/generated-token-details.tsx b/apps/web/core/components/api-token/modal/generated-token-details.tsx
index 05b40ba59b..76bfd2bc99 100644
--- a/apps/web/core/components/api-token/modal/generated-token-details.tsx
+++ b/apps/web/core/components/api-token/modal/generated-token-details.tsx
@@ -1,6 +1,6 @@
-import { Copy } from "lucide-react";
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
+import { CopyIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
import type { IApiToken } from "@plane/types";
@@ -43,7 +43,7 @@ export function GeneratedTokenDetails(props: Props) {
>
<span className="truncate pr-2">{tokenDetails.token}</span>
<Tooltip tooltipContent="Copy secret key" isMobile={isMobile}>
- <Copy className="h-4 w-4 text-placeholder flex-shrink-0" />
+ <CopyIcon className="h-4 w-4 text-placeholder flex-shrink-0" />
</Tooltip>
</button>
<div className="mt-6 flex items-center justify-between">
diff --git a/apps/web/core/components/comments/card/display.tsx b/apps/web/core/components/comments/card/display.tsx
index 057c5dff04..ea8911a25a 100644
--- a/apps/web/core/components/comments/card/display.tsx
+++ b/apps/web/core/components/comments/card/display.tsx
@@ -2,10 +2,10 @@ import type { ReactNode } from "react";
import { useCallback, useEffect, useState } from "react";
import { observer } from "mobx-react";
import { usePathname } from "next/navigation";
-import { Globe2, Lock } from "lucide-react";
// plane imports
import type { EditorRefApi } from "@plane/editor";
import { useHashScroll } from "@plane/hooks";
+import { GlobeIcon, LockIcon } from "@plane/propel/icons";
import { EIssueCommentAccessSpecifier } from "@plane/types";
import type { TCommentsOperations, TIssueComment } from "@plane/types";
import { calculateTimeAgo, cn, getFileURL, renderFormattedDate, renderFormattedTime } from "@plane/utils";
@@ -104,9 +104,9 @@ export const CommentCardDisplay = observer(function CommentCardDisplay(props: TC
{showAccessSpecifier && (
<div className="absolute right-2.5 top-2.5 z-[1] text-tertiary">
{comment.access === EIssueCommentAccessSpecifier.INTERNAL ? (
- <Lock className="size-3" />
+ <LockIcon className="size-3" />
) : (
- <Globe2 className="size-3" />
+ <GlobeIcon className="size-3" />
)}
</div>
)}
diff --git a/apps/web/core/components/comments/card/edit-form.tsx b/apps/web/core/components/comments/card/edit-form.tsx
index bff2ef5283..e8c9406c93 100644
--- a/apps/web/core/components/comments/card/edit-form.tsx
+++ b/apps/web/core/components/comments/card/edit-form.tsx
@@ -1,9 +1,8 @@
import React, { useEffect, useRef } from "react";
import { observer } from "mobx-react";
import { useForm } from "react-hook-form";
-import { Check } from "lucide-react";
import type { EditorRefApi } from "@plane/editor";
-import { CloseIcon } from "@plane/propel/icons";
+import { CheckIcon, CloseIcon } from "@plane/propel/icons";
// plane imports
import type { TCommentsOperations, TIssueComment } from "@plane/types";
import { cn, isCommentEmpty } from "@plane/utils";
@@ -118,7 +117,7 @@ export const CommentCardEditForm = observer(function CommentCardEditForm(props:
: "border-success-strong bg-success-primary hover:bg-green-500"
)}
>
- <Check
+ <CheckIcon
className={cn(
"size-4 duration-300",
isDisabled ? "text-success-primary/50" : "text-success-primary group-hover:text-on-color"
diff --git a/apps/web/core/components/comments/quick-actions.tsx b/apps/web/core/components/comments/quick-actions.tsx
index 60af778a8f..e80497d257 100644
--- a/apps/web/core/components/comments/quick-actions.tsx
+++ b/apps/web/core/components/comments/quick-actions.tsx
@@ -1,10 +1,11 @@
import { useMemo } from "react";
import { observer } from "mobx-react";
-import { Globe2, Link, Lock, Pencil, Trash2, MoreHorizontal } from "lucide-react";
+import { MoreHorizontal } from "lucide-react";
// plane imports
import { EIssueCommentAccessSpecifier } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { IconButton } from "@plane/propel/icon-button";
+import { LinkIcon, GlobeIcon, LockIcon, EditIcon, TrashIcon } from "@plane/propel/icons";
import type { TIssueComment, TCommentsOperations } from "@plane/types";
import type { TContextMenuItem } from "@plane/ui";
import { CustomMenu } from "@plane/ui";
@@ -38,14 +39,14 @@ export const CommentQuickActions = observer(function CommentQuickActions(props:
key: "edit",
action: setEditMode,
title: t("common.actions.edit"),
- icon: Pencil,
+ icon: EditIcon,
shouldRender: canEdit,
},
{
key: "copy_link",
action: () => activityOperations.copyCommentLink(comment.id),
title: t("common.actions.copy_link"),
- icon: Link,
+ icon: LinkIcon,
shouldRender: showCopyLinkOption,
},
{
@@ -61,14 +62,14 @@ export const CommentQuickActions = observer(function CommentQuickActions(props:
comment.access === EIssueCommentAccessSpecifier.INTERNAL
? t("issue.comments.switch.public")
: t("issue.comments.switch.private"),
- icon: comment.access === EIssueCommentAccessSpecifier.INTERNAL ? Globe2 : Lock,
+ icon: comment.access === EIssueCommentAccessSpecifier.INTERNAL ? GlobeIcon : LockIcon,
shouldRender: showAccessSpecifier,
},
{
key: "delete",
action: () => activityOperations.removeComment(comment.id),
title: t("common.actions.delete"),
- icon: Trash2,
+ icon: TrashIcon,
shouldRender: canDelete,
},
];
diff --git a/apps/web/core/components/common/access-field.tsx b/apps/web/core/components/common/access-field.tsx
index 81c8f63273..f8c4aa8d9b 100644
--- a/apps/web/core/components/common/access-field.tsx
+++ b/apps/web/core/components/common/access-field.tsx
@@ -1,6 +1,7 @@
import type { LucideIcon } from "lucide-react";
// plane ui
import { useTranslation } from "@plane/i18n";
+import type { ISvgIcons } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
// plane utils
import { cn } from "@plane/utils";
@@ -12,7 +13,7 @@ type Props = {
key: number;
i18n_label?: string;
label?: string;
- icon: LucideIcon;
+ icon: LucideIcon | React.FC<ISvgIcons>;
}[];
isMobile?: boolean;
};
diff --git a/apps/web/core/components/common/activity/helper.tsx b/apps/web/core/components/common/activity/helper.tsx
index f0f0cb0cb5..639a0c2739 100644
--- a/apps/web/core/components/common/activity/helper.tsx
+++ b/apps/web/core/components/common/activity/helper.tsx
@@ -2,13 +2,11 @@ import type { FC, ReactNode } from "react";
import {
RotateCcw,
Network,
- Link as LinkIcon,
Inbox,
AlignLeft,
Paperclip,
Type,
FileText,
- Globe,
Hash,
Clock,
Bell,
@@ -17,11 +15,13 @@ import {
ListTodo,
Layers,
} from "lucide-react";
-
// components
+
import {
+ LinkIcon,
ArchiveIcon,
CycleIcon,
+ GlobeIcon,
DueDatePropertyIcon,
EstimatePropertyIcon,
GridLayoutIcon,
@@ -57,7 +57,7 @@ export const iconsMap: ActivityIconMap = {
cycle: CycleIcon,
module: ModuleIcon,
page: FileText,
- network: Globe,
+ network: GlobeIcon,
identifier: Hash,
timezone: Clock,
is_project_updates_enabled: Bell,
diff --git a/apps/web/core/components/common/page-access-icon.tsx b/apps/web/core/components/common/page-access-icon.tsx
index 264938d8de..42fb39dfa6 100644
--- a/apps/web/core/components/common/page-access-icon.tsx
+++ b/apps/web/core/components/common/page-access-icon.tsx
@@ -1,5 +1,6 @@
-import { ArchiveIcon, Earth, Lock } from "lucide-react";
+import { ArchiveIcon, Earth } from "lucide-react";
import { EPageAccess } from "@plane/constants";
+import { LockIcon } from "@plane/propel/icons";
import type { TPage } from "@plane/types";
export function PageAccessIcon(page: TPage) {
@@ -10,7 +11,7 @@ export function PageAccessIcon(page: TPage) {
) : page.access === EPageAccess.PUBLIC ? (
<Earth className="h-2.5 w-2.5 text-tertiary" />
) : (
- <Lock className="h-2.5 w-2.5 text-tertiary" />
+ <LockIcon className="h-2.5 w-2.5 text-tertiary" />
)}
</div>
);
diff --git a/apps/web/core/components/core/description-versions/modal.tsx b/apps/web/core/components/core/description-versions/modal.tsx
index 713e056475..1a61095b5b 100644
--- a/apps/web/core/components/core/description-versions/modal.tsx
+++ b/apps/web/core/components/core/description-versions/modal.tsx
@@ -1,11 +1,10 @@
import { useCallback, useRef } from "react";
import { observer } from "mobx-react";
-import { Copy } from "lucide-react";
// plane imports
import type { EditorRefApi } from "@plane/editor";
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
-import { ChevronLeftIcon, ChevronRightIcon } from "@plane/propel/icons";
+import { CopyIcon, ChevronLeftIcon, ChevronRightIcon } from "@plane/propel/icons";
import { setToast, TOAST_TYPE } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
import type { TDescriptionVersion } from "@plane/types";
@@ -152,7 +151,7 @@ export const DescriptionVersionsModal = observer(function DescriptionVersionsMod
{/* Footer */}
<div className="flex items-center justify-between gap-2 pt-4 border-t-[0.5px] border-subtle">
<Tooltip tooltipContent={t("common.actions.copy_markdown")}>
- <IconButton type="button" variant="ghost" size="base" onClick={handleCopyMarkdown} icon={Copy} />
+ <IconButton type="button" variant="ghost" size="base" onClick={handleCopyMarkdown} icon={CopyIcon} />
</Tooltip>
<div className="flex items-center gap-2">
<Button variant="secondary" size="lg" onClick={handleClose} tabIndex={1}>
diff --git a/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx b/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx
index 96d5b075f7..5015dd3d62 100644
--- a/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx
+++ b/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx
@@ -4,11 +4,11 @@ import { useParams } from "next/navigation";
import { useTheme } from "next-themes";
import type { SubmitHandler } from "react-hook-form";
import { useForm } from "react-hook-form";
-import { Search } from "lucide-react";
import { Combobox } from "@headlessui/react";
// plane imports
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
+import { SearchIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { ISearchIssueResponse, IUser } from "@plane/types";
import { EIssuesStoreType } from "@plane/types";
@@ -164,7 +164,7 @@ export const BulkDeleteIssuesModal = observer(function BulkDeleteIssuesModal(pro
}}
>
<div className="relative m-1">
- <Search
+ <SearchIcon
className="pointer-events-none absolute left-4 top-3.5 h-5 w-5 text-primary text-opacity-40"
aria-hidden="true"
/>
diff --git a/apps/web/core/components/core/modals/existing-issues-list-modal.tsx b/apps/web/core/components/core/modals/existing-issues-list-modal.tsx
index 5148c5eced..0d95a90f26 100644
--- a/apps/web/core/components/core/modals/existing-issues-list-modal.tsx
+++ b/apps/web/core/components/core/modals/existing-issues-list-modal.tsx
@@ -1,11 +1,11 @@
import { useEffect, useState, useRef } from "react";
-import { Rocket, Search } from "lucide-react";
+import { Rocket } from "lucide-react";
import { Combobox } from "@headlessui/react";
// i18n
import { useTranslation } from "@plane/i18n";
// types
import { Button } from "@plane/propel/button";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
import type { ISearchIssueResponse, TProjectIssuesSearchParams } from "@plane/types";
@@ -141,7 +141,7 @@ export function ExistingIssuesListModal(props: Props) {
}}
>
<div className="relative m-1">
- <Search
+ <SearchIcon
className="pointer-events-none absolute left-4 top-3.5 h-5 w-5 text-primary text-opacity-40"
aria-hidden="true"
/>
diff --git a/apps/web/core/components/cycles/archived-cycles/header.tsx b/apps/web/core/components/cycles/archived-cycles/header.tsx
index febfabdd31..85cda87b65 100644
--- a/apps/web/core/components/cycles/archived-cycles/header.tsx
+++ b/apps/web/core/components/cycles/archived-cycles/header.tsx
@@ -1,11 +1,10 @@
-import type { FC } from "react";
import { useCallback, useRef, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
// icons
-import { ListFilter, Search } from "lucide-react";
+import { ListFilter } from "lucide-react";
import { useOutsideClickDetector } from "@plane/hooks";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
// plane helpers
// types
import type { TCycleFilters } from "@plane/types";
@@ -81,7 +80,7 @@ export const ArchivedCyclesHeader = observer(function ArchivedCyclesHeader() {
inputRef.current?.focus();
}}
>
- <Search className="h-3.5 w-3.5" />
+ <SearchIcon className="h-3.5 w-3.5" />
</button>
)}
<div
@@ -92,7 +91,7 @@ export const ArchivedCyclesHeader = observer(function ArchivedCyclesHeader() {
}
)}
>
- <Search className="h-3.5 w-3.5" />
+ <SearchIcon className="h-3.5 w-3.5" />
<input
ref={inputRef}
className="w-full max-w-[234px] border-none bg-transparent text-13 text-primary placeholder:text-placeholder focus:outline-none"
diff --git a/apps/web/core/components/cycles/cycles-view-header.tsx b/apps/web/core/components/cycles/cycles-view-header.tsx
index b99b7881da..549251feba 100644
--- a/apps/web/core/components/cycles/cycles-view-header.tsx
+++ b/apps/web/core/components/cycles/cycles-view-header.tsx
@@ -1,11 +1,11 @@
import { useCallback, useEffect, useRef, useState } from "react";
import { observer } from "mobx-react";
-import { ListFilter, Search } from "lucide-react";
+import { ListFilter } from "lucide-react";
// plane imports
import { useOutsideClickDetector } from "@plane/hooks";
import { IconButton } from "@plane/propel/icon-button";
import { useTranslation } from "@plane/i18n";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
import type { TCycleFilters } from "@plane/types";
import { cn, calculateTotalFilters } from "@plane/utils";
// components
@@ -79,7 +79,7 @@ export const CyclesViewHeader = observer(function CyclesViewHeader(props: Props)
setIsSearchOpen(true);
inputRef.current?.focus();
}}
- icon={Search}
+ icon={SearchIcon}
/>
) : (
<div
@@ -90,7 +90,7 @@ export const CyclesViewHeader = observer(function CyclesViewHeader(props: Props)
}
)}
>
- <Search className="h-3.5 w-3.5" />
+ <SearchIcon className="h-3.5 w-3.5" />
<input
ref={inputRef}
className="w-full max-w-[234px] border-none bg-transparent text-13 text-primary placeholder:text-placeholder focus:outline-none"
diff --git a/apps/web/core/components/cycles/dropdowns/filters/root.tsx b/apps/web/core/components/cycles/dropdowns/filters/root.tsx
index dd527693bb..386a80938b 100644
--- a/apps/web/core/components/cycles/dropdowns/filters/root.tsx
+++ b/apps/web/core/components/cycles/dropdowns/filters/root.tsx
@@ -1,7 +1,6 @@
import { useState } from "react";
import { observer } from "mobx-react";
-import { Search } from "lucide-react";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
// plane imports
import type { TCycleFilters, TCycleGroups } from "@plane/types";
// hooks
@@ -28,7 +27,7 @@ export const CycleFiltersSelection = observer(function CycleFiltersSelection(pro
<div className="flex h-full w-full flex-col overflow-hidden">
<div className="bg-surface-1 p-2.5 pb-0">
<div className="flex items-center gap-1.5 rounded-sm border-[0.5px] border-subtle bg-surface-2 px-1.5 py-1 text-11">
- <Search className="text-placeholder" size={12} strokeWidth={2} />
+ <SearchIcon className="text-placeholder" width={12} height={12} strokeWidth={2} />
<input
type="text"
className="w-full bg-surface-2 outline-none placeholder:text-placeholder"
diff --git a/apps/web/core/components/cycles/list/cycles-list-item.tsx b/apps/web/core/components/cycles/list/cycles-list-item.tsx
index 9ef0e1ba18..09c32ddf0f 100644
--- a/apps/web/core/components/cycles/list/cycles-list-item.tsx
+++ b/apps/web/core/components/cycles/list/cycles-list-item.tsx
@@ -2,7 +2,7 @@ import type { MouseEvent } from "react";
import { useRef } from "react";
import { observer } from "mobx-react";
import { usePathname, useSearchParams } from "next/navigation";
-import { Check } from "lucide-react";
+import { CheckIcon } from "@plane/propel/icons";
// plane imports
import type { TCycleGroups } from "@plane/types";
import { CircularProgressIndicator } from "@plane/ui";
@@ -82,7 +82,7 @@ export const CyclesListItem = observer(function CyclesListItem(props: TCyclesLis
prependTitleElement={
<CircularProgressIndicator size={30} percentage={progress} strokeWidth={3}>
{progress === 100 ? (
- <Check className="h-3 w-3 stroke-2" />
+ <CheckIcon className="h-3 w-3 stroke-2" />
) : (
<span className="text-9 text-primary">{`${progress}%`}</span>
)}
diff --git a/apps/web/core/components/cycles/transfer-issues-modal.tsx b/apps/web/core/components/cycles/transfer-issues-modal.tsx
index 32a5c2c5e8..caf2e6a5f7 100644
--- a/apps/web/core/components/cycles/transfer-issues-modal.tsx
+++ b/apps/web/core/components/cycles/transfer-issues-modal.tsx
@@ -1,8 +1,8 @@
import { useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
-import { AlertCircle, Search } from "lucide-react";
-import { CycleIcon, TransferIcon, CloseIcon } from "@plane/propel/icons";
+import { AlertCircle } from "lucide-react";
+import { SearchIcon, CycleIcon, TransferIcon, CloseIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { EIssuesStoreType } from "@plane/types";
import { EModalPosition, EModalWidth, ModalCore } from "@plane/ui";
@@ -83,7 +83,7 @@ export const TransferIssuesModal = observer(function TransferIssuesModal(props:
</button>
</div>
<div className="flex items-center gap-2 border-b border-subtle px-5 pb-3">
- <Search className="h-4 w-4 text-secondary" />
+ <SearchIcon className="h-4 w-4 text-secondary" />
<input
className="outline-none text-13"
placeholder="Search for a cycle..."
diff --git a/apps/web/core/components/dropdowns/cycle/cycle-options.tsx b/apps/web/core/components/dropdowns/cycle/cycle-options.tsx
index aedbd75ab2..75d40a80ca 100644
--- a/apps/web/core/components/dropdowns/cycle/cycle-options.tsx
+++ b/apps/web/core/components/dropdowns/cycle/cycle-options.tsx
@@ -1,16 +1,14 @@
-import type { FC } from "react";
import { useEffect, useRef, useState } from "react";
import type { Placement } from "@popperjs/core";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
import { usePopper } from "react-popper";
// components
-import { Check, Search } from "lucide-react";
import { Combobox } from "@headlessui/react";
// i18n
import { useTranslation } from "@plane/i18n";
// icon
-import { CycleGroupIcon, CycleIcon } from "@plane/propel/icons";
+import { CheckIcon, CycleGroupIcon, CycleIcon, SearchIcon } from "@plane/propel/icons";
import type { TCycleGroups } from "@plane/types";
// ui
// store hooks
@@ -128,7 +126,7 @@ export const CycleOptions = observer(function CycleOptions(props: CycleOptionsPr
{...attributes.popper}
>
<div className="flex items-center gap-1.5 rounded-sm border border-subtle bg-surface-2 px-2">
- <Search className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
+ <SearchIcon className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
<Combobox.Input
as="input"
ref={inputRef}
@@ -156,7 +154,7 @@ export const CycleOptions = observer(function CycleOptions(props: CycleOptionsPr
{({ selected }) => (
<>
<span className="flex-grow truncate">{option.content}</span>
- {selected && <Check className="h-3.5 w-3.5 flex-shrink-0" />}
+ {selected && <CheckIcon className="h-3.5 w-3.5 flex-shrink-0" />}
</>
)}
</Combobox.Option>
diff --git a/apps/web/core/components/dropdowns/estimate.tsx b/apps/web/core/components/dropdowns/estimate.tsx
index 0f765b2430..b938dc67ee 100644
--- a/apps/web/core/components/dropdowns/estimate.tsx
+++ b/apps/web/core/components/dropdowns/estimate.tsx
@@ -3,11 +3,10 @@ import { useRef, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
import { usePopper } from "react-popper";
-import { Check, Search } from "lucide-react";
import { Combobox } from "@headlessui/react";
// plane imports
import { useTranslation } from "@plane/i18n";
-import { EstimatePropertyIcon, ChevronDownIcon } from "@plane/propel/icons";
+import { CheckIcon, SearchIcon, EstimatePropertyIcon, ChevronDownIcon } from "@plane/propel/icons";
import { EEstimateSystem } from "@plane/types";
import { ComboDropDown } from "@plane/ui";
import { convertMinutesToHoursMinutesString, cn } from "@plane/utils";
@@ -235,7 +234,7 @@ export const EstimateDropdown = observer(function EstimateDropdown(props: Props)
{...attributes.popper}
>
<div className="flex items-center gap-1.5 rounded-sm border border-subtle bg-surface-2 px-2">
- <Search className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
+ <SearchIcon className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
<Combobox.Input
as="input"
ref={inputRef}
@@ -276,7 +275,7 @@ export const EstimateDropdown = observer(function EstimateDropdown(props: Props)
)}
>
<span className="flex-grow truncate">{option.content}</span>
- {selected && <Check className="h-3.5 w-3.5 flex-shrink-0" />}
+ {selected && <CheckIcon className="h-3.5 w-3.5 flex-shrink-0" />}
</div>
)}
</Combobox.Option>
diff --git a/apps/web/core/components/dropdowns/intake-state/base.tsx b/apps/web/core/components/dropdowns/intake-state/base.tsx
index 6b0e9d7d91..48b19edbda 100644
--- a/apps/web/core/components/dropdowns/intake-state/base.tsx
+++ b/apps/web/core/components/dropdowns/intake-state/base.tsx
@@ -2,11 +2,10 @@ import type { ReactNode } from "react";
import { useRef, useState } from "react";
import { observer } from "mobx-react";
import { usePopper } from "react-popper";
-import { Search } from "lucide-react";
import { Combobox } from "@headlessui/react";
// plane imports
import { useTranslation } from "@plane/i18n";
-import { IntakeStateGroupIcon, ChevronDownIcon } from "@plane/propel/icons";
+import { SearchIcon, IntakeStateGroupIcon, ChevronDownIcon } from "@plane/propel/icons";
import type { IIntakeState } from "@plane/types";
import { ComboDropDown, Spinner } from "@plane/ui";
import { cn } from "@plane/utils";
@@ -217,7 +216,7 @@ export const WorkItemStateDropdownBase = observer(function WorkItemStateDropdown
{...attributes.popper}
>
<div className="flex items-center gap-1.5 rounded-sm border border-subtle bg-surface-2 px-2">
- <Search className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
+ <SearchIcon className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
<Combobox.Input
as="input"
ref={inputRef}
diff --git a/apps/web/core/components/dropdowns/layout.tsx b/apps/web/core/components/dropdowns/layout.tsx
index 6d246b39fd..ae3e01a232 100644
--- a/apps/web/core/components/dropdowns/layout.tsx
+++ b/apps/web/core/components/dropdowns/layout.tsx
@@ -1,9 +1,9 @@
import { useCallback, useMemo } from "react";
import { observer } from "mobx-react";
-import { Check } from "lucide-react";
// plane imports
import { ISSUE_LAYOUT_MAP } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
+import { CheckIcon } from "@plane/propel/icons";
import { EIssueLayoutTypes } from "@plane/types";
import { Dropdown } from "@plane/ui";
import { cn } from "@plane/utils";
@@ -55,7 +55,7 @@ export const LayoutDropDown = observer(function LayoutDropDown(props: TLayoutDro
<IssueLayoutIcon layout={dropdownValue.key} strokeWidth={2} className={`size-3 text-secondary`} />
<span className="font-medium text-11">{t(dropdownValue.i18n_label)}</span>
</div>
- {props.selected && <Check className="h-3.5 w-3.5 flex-shrink-0" />}
+ {props.selected && <CheckIcon className="h-3.5 w-3.5 flex-shrink-0" />}
</div>
);
}, []);
diff --git a/apps/web/core/components/dropdowns/member/member-options.tsx b/apps/web/core/components/dropdowns/member/member-options.tsx
index d45f839877..e45e68f18c 100644
--- a/apps/web/core/components/dropdowns/member/member-options.tsx
+++ b/apps/web/core/components/dropdowns/member/member-options.tsx
@@ -4,11 +4,10 @@ import { observer } from "mobx-react";
import { useParams } from "next/navigation";
import { createPortal } from "react-dom";
import { usePopper } from "react-popper";
-import { Check, Search } from "lucide-react";
import { Combobox } from "@headlessui/react";
// plane imports
import { useTranslation } from "@plane/i18n";
-import { SuspendedUserIcon } from "@plane/propel/icons";
+import { CheckIcon, SearchIcon, SuspendedUserIcon } from "@plane/propel/icons";
import { EPillSize, EPillVariant, Pill } from "@plane/propel/pill";
import type { IUserLite } from "@plane/types";
import { Avatar } from "@plane/ui";
@@ -129,7 +128,7 @@ export const MemberOptions = observer(function MemberOptions(props: Props) {
{...attributes.popper}
>
<div className="flex items-center gap-1.5 rounded-sm border border-subtle bg-surface-2 px-2">
- <Search className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
+ <SearchIcon className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
<Combobox.Input
as="input"
ref={inputRef}
@@ -165,7 +164,7 @@ export const MemberOptions = observer(function MemberOptions(props: Props) {
{({ selected }) => (
<>
<span className="flex-grow truncate">{option.content}</span>
- {selected && <Check className="h-3.5 w-3.5 flex-shrink-0" />}
+ {selected && <CheckIcon className="h-3.5 w-3.5 flex-shrink-0" />}
{isUserSuspended(option.value, workspaceSlug?.toString()) && (
<Pill variant={EPillVariant.DEFAULT} size={EPillSize.XS} className="border-none">
Suspended
diff --git a/apps/web/core/components/dropdowns/module/module-options.tsx b/apps/web/core/components/dropdowns/module/module-options.tsx
index afbb130694..243684987e 100644
--- a/apps/web/core/components/dropdowns/module/module-options.tsx
+++ b/apps/web/core/components/dropdowns/module/module-options.tsx
@@ -2,11 +2,10 @@ import { useEffect, useRef, useState } from "react";
import type { Placement } from "@popperjs/core";
import { observer } from "mobx-react";
import { usePopper } from "react-popper";
-import { Check, Search } from "lucide-react";
import { Combobox } from "@headlessui/react";
// plane imports
import { useTranslation } from "@plane/i18n";
-import { ModuleIcon } from "@plane/propel/icons";
+import { CheckIcon, SearchIcon, ModuleIcon } from "@plane/propel/icons";
import type { IModule } from "@plane/types";
import { cn } from "@plane/utils";
// hooks
@@ -113,7 +112,7 @@ export const ModuleOptions = observer(function ModuleOptions(props: Props) {
{...attributes.popper}
>
<div className="flex items-center gap-1.5 rounded-sm border border-subtle bg-surface-2 px-2">
- <Search className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
+ <SearchIcon className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
<Combobox.Input
as="input"
ref={inputRef}
@@ -146,7 +145,7 @@ export const ModuleOptions = observer(function ModuleOptions(props: Props) {
{({ selected }) => (
<>
<span className="flex-grow truncate">{option.content}</span>
- {selected && <Check className="h-3.5 w-3.5 flex-shrink-0" />}
+ {selected && <CheckIcon className="h-3.5 w-3.5 flex-shrink-0" />}
</>
)}
</Combobox.Option>
diff --git a/apps/web/core/components/dropdowns/priority.tsx b/apps/web/core/components/dropdowns/priority.tsx
index 0932320c1c..809c4be36c 100644
--- a/apps/web/core/components/dropdowns/priority.tsx
+++ b/apps/web/core/components/dropdowns/priority.tsx
@@ -1,12 +1,12 @@
import type { ReactNode } from "react";
import { useRef, useState } from "react";
import { usePopper } from "react-popper";
-import { Check, Search, SignalHigh } from "lucide-react";
+import { SignalHigh } from "lucide-react";
import { Combobox } from "@headlessui/react";
import { ISSUE_PRIORITIES } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
// types
-import { PriorityIcon, ChevronDownIcon } from "@plane/propel/icons";
+import { CheckIcon, PriorityIcon, ChevronDownIcon, SearchIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
import type { TIssuePriorities } from "@plane/types";
// ui
@@ -465,7 +465,7 @@ export function PriorityDropdown(props: Props) {
{...attributes.popper}
>
<div className="flex items-center gap-1.5 rounded-sm border border-subtle bg-surface-2 px-2">
- <Search className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
+ <SearchIcon className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
<Combobox.Input
as="input"
ref={inputRef}
@@ -494,7 +494,7 @@ export function PriorityDropdown(props: Props) {
{({ selected }) => (
<>
<span className="flex-grow truncate">{option.content}</span>
- {selected && <Check className="h-3.5 w-3.5 flex-shrink-0" />}
+ {selected && <CheckIcon className="h-3.5 w-3.5 flex-shrink-0" />}
</>
)}
</Combobox.Option>
diff --git a/apps/web/core/components/dropdowns/project/base.tsx b/apps/web/core/components/dropdowns/project/base.tsx
index 9da40e181f..e3362e83ff 100644
--- a/apps/web/core/components/dropdowns/project/base.tsx
+++ b/apps/web/core/components/dropdowns/project/base.tsx
@@ -2,12 +2,11 @@ import type { ReactNode } from "react";
import { useRef, useState } from "react";
import { observer } from "mobx-react";
import { usePopper } from "react-popper";
-import { Check, Search } from "lucide-react";
import { Combobox } from "@headlessui/react";
// plane imports
import { useTranslation } from "@plane/i18n";
import { Logo } from "@plane/propel/emoji-icon-picker";
-import { ProjectIcon, ChevronDownIcon } from "@plane/propel/icons";
+import { CheckIcon, SearchIcon, ProjectIcon, ChevronDownIcon } from "@plane/propel/icons";
import { ComboDropDown } from "@plane/ui";
import { cn } from "@plane/utils";
// components
@@ -238,7 +237,7 @@ export const ProjectDropdownBase = observer(function ProjectDropdownBase(props:
{...attributes.popper}
>
<div className="flex items-center gap-1.5 rounded-sm border border-subtle bg-surface-2 px-2">
- <Search className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
+ <SearchIcon className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
<Combobox.Input
as="input"
ref={inputRef}
@@ -268,7 +267,7 @@ export const ProjectDropdownBase = observer(function ProjectDropdownBase(props:
{({ selected }) => (
<>
<span className="flex-grow truncate">{option.content}</span>
- {selected && <Check className="h-3.5 w-3.5 flex-shrink-0" />}
+ {selected && <CheckIcon className="h-3.5 w-3.5 flex-shrink-0" />}
</>
)}
</Combobox.Option>
diff --git a/apps/web/core/components/dropdowns/state/base.tsx b/apps/web/core/components/dropdowns/state/base.tsx
index fcd16056e6..06e369196a 100644
--- a/apps/web/core/components/dropdowns/state/base.tsx
+++ b/apps/web/core/components/dropdowns/state/base.tsx
@@ -2,11 +2,10 @@ import type { ReactNode } from "react";
import { useRef, useState } from "react";
import { observer } from "mobx-react";
import { usePopper } from "react-popper";
-import { Search } from "lucide-react";
import { Combobox } from "@headlessui/react";
// plane imports
import { useTranslation } from "@plane/i18n";
-import { StateGroupIcon, ChevronDownIcon } from "@plane/propel/icons";
+import { SearchIcon, StateGroupIcon, ChevronDownIcon } from "@plane/propel/icons";
import type { IState } from "@plane/types";
import { ComboDropDown, Spinner } from "@plane/ui";
import { cn } from "@plane/utils";
@@ -219,7 +218,7 @@ export const WorkItemStateDropdownBase = observer(function WorkItemStateDropdown
{...attributes.popper}
>
<div className="flex items-center gap-1.5 rounded-sm border border-subtle bg-surface-2 px-2">
- <Search className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
+ <SearchIcon className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
<Combobox.Input
as="input"
ref={inputRef}
diff --git a/apps/web/core/components/editor/lite-text/toolbar.tsx b/apps/web/core/components/editor/lite-text/toolbar.tsx
index 6aa292da10..95389fe9eb 100644
--- a/apps/web/core/components/editor/lite-text/toolbar.tsx
+++ b/apps/web/core/components/editor/lite-text/toolbar.tsx
@@ -1,6 +1,6 @@
import React, { useEffect, useState, useCallback } from "react";
import type { LucideIcon } from "lucide-react";
-import { Globe2, Lock } from "lucide-react";
+
import { EIssueCommentAccessSpecifier } from "@plane/constants";
// editor
import type { EditorRefApi } from "@plane/editor";
@@ -8,6 +8,8 @@ import type { EditorRefApi } from "@plane/editor";
import { useTranslation } from "@plane/i18n";
// ui
import { Button } from "@plane/propel/button";
+import { GlobeIcon, LockIcon } from "@plane/propel/icons";
+import type { ISvgIcons } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
// constants
import { cn } from "@plane/utils";
@@ -29,19 +31,19 @@ type Props = {
};
type TCommentAccessType = {
- icon: LucideIcon;
+ icon: LucideIcon | React.FC<ISvgIcons>;
key: EIssueCommentAccessSpecifier;
label: "Private" | "Public";
};
const COMMENT_ACCESS_SPECIFIERS: TCommentAccessType[] = [
{
- icon: Lock,
+ icon: LockIcon,
key: EIssueCommentAccessSpecifier.INTERNAL,
label: "Private",
},
{
- icon: Globe2,
+ icon: GlobeIcon,
key: EIssueCommentAccessSpecifier.EXTERNAL,
label: "Public",
},
diff --git a/apps/web/core/components/editor/sticky-editor/toolbar.tsx b/apps/web/core/components/editor/sticky-editor/toolbar.tsx
index 29f5cb72b0..6753eeeec2 100644
--- a/apps/web/core/components/editor/sticky-editor/toolbar.tsx
+++ b/apps/web/core/components/editor/sticky-editor/toolbar.tsx
@@ -1,9 +1,10 @@
import React, { useEffect, useState, useCallback } from "react";
-import { Palette, Trash2 } from "lucide-react";
+import { Palette } from "lucide-react";
// editor
import type { EditorRefApi } from "@plane/editor";
// ui
import { useOutsideClickDetector } from "@plane/hooks";
+import { TrashIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
import type { TSticky } from "@plane/types";
// constants
@@ -119,7 +120,7 @@ export function StickyEditorToolbar(props: Props) {
}
>
<button type="button" onClick={handleDelete} className="my-auto text-primary/50">
- <Trash2 className="size-4" />
+ <TrashIcon className="size-4" />
</button>
</Tooltip>
</div>
diff --git a/apps/web/core/components/estimates/points/create-root.tsx b/apps/web/core/components/estimates/points/create-root.tsx
index fa12000b2c..75d447be91 100644
--- a/apps/web/core/components/estimates/points/create-root.tsx
+++ b/apps/web/core/components/estimates/points/create-root.tsx
@@ -1,10 +1,10 @@
import type { Dispatch, FC, SetStateAction } from "react";
import { useCallback, useState } from "react";
import { observer } from "mobx-react";
-import { Plus } from "lucide-react";
// plane imports
import { estimateCount } from "@plane/constants";
import { Button } from "@plane/propel/button";
+import { PlusIcon } from "@plane/propel/icons";
import type { TEstimatePointsObject, TEstimateSystemKeys, TEstimateTypeError } from "@plane/types";
import { Sortable } from "@plane/ui";
// local imports
@@ -165,7 +165,7 @@ export const EstimatePointCreateRoot = observer(function EstimatePointCreateRoot
/>
))}
{estimatePoints && estimatePoints.length + (estimatePointCreate?.length || 0) <= estimateCount.max - 1 && (
- <Button variant="link" prependIcon={<Plus />} onClick={handleCreate}>
+ <Button variant="link" prependIcon={<PlusIcon />} onClick={handleCreate}>
Add {estimateType}
</Button>
)}
diff --git a/apps/web/core/components/estimates/points/create.tsx b/apps/web/core/components/estimates/points/create.tsx
index 1f649c9882..7c78626006 100644
--- a/apps/web/core/components/estimates/points/create.tsx
+++ b/apps/web/core/components/estimates/points/create.tsx
@@ -1,10 +1,10 @@
-import type { FC, FormEvent } from "react";
+import type { FormEvent } from "react";
import { useState } from "react";
import { observer } from "mobx-react";
-import { Check, Info } from "lucide-react";
+import { Info } from "lucide-react";
import { EEstimateSystem, MAX_ESTIMATE_POINT_INPUT_LENGTH } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
-import { CloseIcon } from "@plane/propel/icons";
+import { CheckIcon, CloseIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
import type { TEstimatePointsObject, TEstimateSystemKeys, TEstimateTypeErrorObject } from "@plane/types";
@@ -194,7 +194,7 @@ export const EstimatePointCreate = observer(function EstimatePointCreate(props:
className="rounded-xs w-6 h-6 flex-shrink-0 relative flex justify-center items-center hover:bg-layer-1 transition-colors cursor-pointer text-success-primary"
disabled={loader}
>
- {loader ? <Spinner className="w-4 h-4" /> : <Check size={14} />}
+ {loader ? <Spinner className="w-4 h-4" /> : <CheckIcon width={14} height={14} />}
</button>
)}
<button
diff --git a/apps/web/core/components/estimates/points/preview.tsx b/apps/web/core/components/estimates/points/preview.tsx
index 926a57a031..a10288abd5 100644
--- a/apps/web/core/components/estimates/points/preview.tsx
+++ b/apps/web/core/components/estimates/points/preview.tsx
@@ -1,10 +1,11 @@
import type { FC } from "react";
import { useEffect, useRef, useState } from "react";
import { observer } from "mobx-react";
-import { GripVertical, Pencil, Trash2 } from "lucide-react";
+import { GripVertical } from "lucide-react";
// plane imports
import { EEstimateSystem, estimateCount } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
+import { EditIcon, TrashIcon } from "@plane/propel/icons";
import type { TEstimatePointsObject, TEstimateSystemKeys, TEstimateTypeErrorObject } from "@plane/types";
import { convertMinutesToHoursMinutesString } from "@plane/utils";
// plane web imports
@@ -71,7 +72,7 @@ export const EstimatePointItemPreview = observer(function EstimatePointItemPrevi
className="rounded-xs w-6 h-6 flex-shrink-0 relative flex justify-center items-center hover:bg-layer-1 transition-colors cursor-pointer"
onClick={() => setEstimatePointEditToggle(true)}
>
- <Pencil size={14} className="text-secondary" />
+ <EditIcon width={14} height={14} className="text-secondary" />
</div>
{estimatePoints.length > estimateCount.min && (
<div
@@ -82,7 +83,7 @@ export const EstimatePointItemPreview = observer(function EstimatePointItemPrevi
: handleEstimatePointValueRemove && handleEstimatePointValueRemove()
}
>
- <Trash2 size={14} className="text-secondary" />
+ <TrashIcon width={14} height={14} className="text-secondary" />
</div>
)}
</div>
diff --git a/apps/web/core/components/estimates/points/update.tsx b/apps/web/core/components/estimates/points/update.tsx
index 06f54165c2..3ca443bc5e 100644
--- a/apps/web/core/components/estimates/points/update.tsx
+++ b/apps/web/core/components/estimates/points/update.tsx
@@ -1,10 +1,10 @@
-import type { FC, FormEvent } from "react";
+import type { FormEvent } from "react";
import { useEffect, useState } from "react";
import { observer } from "mobx-react";
-import { Check, Info } from "lucide-react";
+import { Info } from "lucide-react";
import { EEstimateSystem, MAX_ESTIMATE_POINT_INPUT_LENGTH } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
-import { CloseIcon } from "@plane/propel/icons";
+import { CheckIcon, CloseIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
import type { TEstimatePointsObject, TEstimateSystemKeys, TEstimateTypeErrorObject } from "@plane/types";
@@ -202,7 +202,7 @@ export const EstimatePointUpdate = observer(function EstimatePointUpdate(props:
className="rounded-xs w-6 h-6 flex-shrink-0 relative flex justify-center items-center hover:bg-layer-1 transition-colors cursor-pointer text-success-primary"
disabled={loader}
>
- {loader ? <Spinner className="w-4 h-4" /> : <Check size={14} />}
+ {loader ? <Spinner className="w-4 h-4" /> : <CheckIcon width={14} height={14} />}
</button>
)}
<button
diff --git a/apps/web/core/components/gantt-chart/helpers/add-block.tsx b/apps/web/core/components/gantt-chart/helpers/add-block.tsx
index 251a99e0e8..8db7ab7780 100644
--- a/apps/web/core/components/gantt-chart/helpers/add-block.tsx
+++ b/apps/web/core/components/gantt-chart/helpers/add-block.tsx
@@ -1,7 +1,7 @@
import { useEffect, useRef, useState } from "react";
import { addDays } from "date-fns";
import { observer } from "mobx-react";
-import { Plus } from "lucide-react";
+import { PlusIcon } from "@plane/propel/icons";
// ui
import { Tooltip } from "@plane/propel/tooltip";
import type { IBlockUpdateData, IGanttBlock } from "@plane/types";
@@ -91,7 +91,7 @@ export const ChartAddBlock = observer(function ChartAddBlock(props: Props) {
}}
onClick={handleButtonClick}
>
- <Plus className="h-3.5 w-3.5" />
+ <PlusIcon className="h-3.5 w-3.5" />
</button>
</Tooltip>
)}
diff --git a/apps/web/core/components/home/widgets/empty-states/no-projects.tsx b/apps/web/core/components/home/widgets/empty-states/no-projects.tsx
index 84e8dd1624..7d0d7dca9c 100644
--- a/apps/web/core/components/home/widgets/empty-states/no-projects.tsx
+++ b/apps/web/core/components/home/widgets/empty-states/no-projects.tsx
@@ -3,12 +3,12 @@ import React from "react";
import { observer } from "mobx-react";
import Link from "next/link";
import { useParams } from "next/navigation";
-import { Check, Hotel } from "lucide-react";
+import { Hotel } from "lucide-react";
// plane ui
import { EUserPermissions, EUserPermissionsLevel, PROJECT_TRACKER_ELEMENTS } from "@plane/constants";
import { useLocalStorage } from "@plane/hooks";
import { useTranslation } from "@plane/i18n";
-import { MembersPropertyIcon, ProjectIcon, CloseIcon } from "@plane/propel/icons";
+import { MembersPropertyIcon, CheckIcon, ProjectIcon, CloseIcon } from "@plane/propel/icons";
import { cn, getFileURL } from "@plane/utils";
// helpers
// hooks
@@ -162,7 +162,7 @@ export const NoProjectsEmptyState = observer(function NoProjectsEmptyState() {
<p className="text-11 text-tertiary mb-2">{t(item.description)}</p>
{isStateComplete ? (
<div className="flex items-center gap-2 bg-[#17a34a] rounded-full p-1 w-fit">
- <Check className="size-3 text-accent-primary text-on-color" />
+ <CheckIcon className="size-3 text-accent-primary text-on-color" />
</div>
) : (
!item.cta.disabled &&
diff --git a/apps/web/core/components/home/widgets/links/action.tsx b/apps/web/core/components/home/widgets/links/action.tsx
index 2144267ff8..0b3f4b6e09 100644
--- a/apps/web/core/components/home/widgets/links/action.tsx
+++ b/apps/web/core/components/home/widgets/links/action.tsx
@@ -1,5 +1,5 @@
-import { PlusIcon } from "lucide-react";
import { useTranslation } from "@plane/i18n";
+import { PlusIcon } from "@plane/propel/icons";
type TProps = {
onClick: () => void;
diff --git a/apps/web/core/components/home/widgets/links/link-detail.tsx b/apps/web/core/components/home/widgets/links/link-detail.tsx
index bc94493e32..26bb203708 100644
--- a/apps/web/core/components/home/widgets/links/link-detail.tsx
+++ b/apps/web/core/components/home/widgets/links/link-detail.tsx
@@ -1,7 +1,8 @@
import { useCallback, useMemo } from "react";
import { observer } from "mobx-react";
-import { Pencil, ExternalLink, Link, Trash2 } from "lucide-react";
+
import { useTranslation } from "@plane/i18n";
+import { LinkIcon, NewTabIcon, EditIcon, TrashIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { TContextMenuItem } from "@plane/ui";
import { LinkItemBlock } from "@plane/ui";
@@ -64,25 +65,25 @@ export const ProjectLinkDetail = observer(function ProjectLinkDetail(props: TPro
key: "edit",
action: () => handleEdit(true),
title: t("edit"),
- icon: Pencil,
+ icon: EditIcon,
},
{
key: "open-new-tab",
action: handleOpenInNewTab,
title: t("open_in_new_tab"),
- icon: ExternalLink,
+ icon: NewTabIcon,
},
{
key: "copy-link",
action: handleCopyText,
title: t("copy_link"),
- icon: Link,
+ icon: LinkIcon,
},
{
key: "delete",
action: handleDelete,
title: t("delete"),
- icon: Trash2,
+ icon: TrashIcon,
},
],
[handleEdit, handleOpenInNewTab, handleCopyText, handleDelete, t]
diff --git a/apps/web/core/components/home/widgets/links/root.tsx b/apps/web/core/components/home/widgets/links/root.tsx
index d2a95c3802..8e02c3a2c7 100644
--- a/apps/web/core/components/home/widgets/links/root.tsx
+++ b/apps/web/core/components/home/widgets/links/root.tsx
@@ -1,8 +1,9 @@
import { useCallback } from "react";
import { observer } from "mobx-react";
import useSWR from "swr";
-import { Plus } from "lucide-react";
+
import { useTranslation } from "@plane/i18n";
+import { PlusIcon } from "@plane/propel/icons";
import type { THomeWidgetProps } from "@plane/types";
import { useHome } from "@/hooks/store/use-home";
import { LinkCreateUpdateModal } from "./create-update-link-modal";
@@ -46,7 +47,7 @@ export const DashboardQuickLinks = observer(function DashboardQuickLinks(props:
onClick={handleCreateLinkModal}
className="flex gap-1 text-13 font-medium text-accent-primary my-auto"
>
- <Plus className="size-4 my-auto" /> <span>{t("home.quick_links.add")}</span>
+ <PlusIcon className="size-4 my-auto" /> <span>{t("home.quick_links.add")}</span>
</button>
</div>
<div className="flex flex-wrap w-full">
diff --git a/apps/web/core/components/icons/locked-component.tsx b/apps/web/core/components/icons/locked-component.tsx
index ccea3ac055..8c32fa437d 100644
--- a/apps/web/core/components/icons/locked-component.tsx
+++ b/apps/web/core/components/icons/locked-component.tsx
@@ -1,11 +1,11 @@
-import { Lock } from "lucide-react";
+import { LockIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
export function LockedComponent(props: { toolTipContent?: string }) {
const { toolTipContent } = props;
const lockedComponent = (
<div className="flex-shrink-0 flex h-7 items-center gap-2 rounded-full bg-layer-1 px-3 py-0.5 text-11 font-medium text-tertiary">
- <Lock className="h-3 w-3" />
+ <LockIcon className="h-3 w-3" />
<span>Locked</span>
</div>
);
diff --git a/apps/web/core/components/inbox/content/inbox-issue-header.tsx b/apps/web/core/components/inbox/content/inbox-issue-header.tsx
index 9ebf2b45aa..2170259b47 100644
--- a/apps/web/core/components/inbox/content/inbox-issue-header.tsx
+++ b/apps/web/core/components/inbox/content/inbox-issue-header.tsx
@@ -1,12 +1,12 @@
import type { FC } from "react";
import { useCallback, useEffect, useState } from "react";
import { observer } from "mobx-react";
-import { CircleCheck, CircleX, Clock, ExternalLink, FileStack, Link, Trash2, MoveRight, Copy } from "lucide-react";
+import { CircleCheck, CircleX, Clock, FileStack, MoveRight } from "lucide-react";
// plane imports
import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
-import { ChevronDownIcon, ChevronUpIcon } from "@plane/propel/icons";
+import { LinkIcon, CopyIcon, NewTabIcon, TrashIcon, ChevronDownIcon, ChevronUpIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { TNameDescriptionLoader } from "@plane/types";
import { EInboxIssueStatus } from "@plane/types";
@@ -351,13 +351,13 @@ export const InboxIssueActionsHeader = observer(function InboxIssueActionsHeader
<div className="flex items-center gap-2">
<Button
variant="secondary"
- prependIcon={<Link className="h-2.5 w-2.5" />}
+ prependIcon={<LinkIcon className="h-2.5 w-2.5" />}
onClick={() => handleCopyIssueLink(workItemLink)}
>
{t("inbox_issue.actions.copy")}
</Button>
<ControlLink href={workItemLink} onClick={() => router.push(workItemLink)} target="_self">
- <Button variant="secondary" prependIcon={<ExternalLink className="h-2.5 w-2.5" />}>
+ <Button variant="secondary" prependIcon={<NewTabIcon className="h-2.5 w-2.5" />}>
{t("inbox_issue.actions.open")}
</Button>
</ControlLink>
@@ -402,14 +402,14 @@ export const InboxIssueActionsHeader = observer(function InboxIssueActionsHeader
)}
<CustomMenu.MenuItem onClick={() => handleCopyIssueLink(workItemLink)}>
<div className="flex items-center gap-2">
- <Copy size={14} strokeWidth={2} />
+ <CopyIcon width={14} height={14} strokeWidth={2} />
{t("inbox_issue.actions.copy")}
</div>
</CustomMenu.MenuItem>
{canDelete && (
<CustomMenu.MenuItem onClick={() => setDeleteIssueModal(true)}>
<div className="flex items-center gap-2">
- <Trash2 size={14} strokeWidth={2} />
+ <TrashIcon width={14} height={14} strokeWidth={2} />
{t("inbox_issue.actions.delete")}
</div>
</CustomMenu.MenuItem>
diff --git a/apps/web/core/components/inbox/content/inbox-issue-mobile-header.tsx b/apps/web/core/components/inbox/content/inbox-issue-mobile-header.tsx
index 9916c43229..8b8439e7ad 100644
--- a/apps/web/core/components/inbox/content/inbox-issue-mobile-header.tsx
+++ b/apps/web/core/components/inbox/content/inbox-issue-mobile-header.tsx
@@ -1,7 +1,7 @@
import React from "react";
import { observer } from "mobx-react";
-import { CircleCheck, CircleX, Clock, ExternalLink, FileStack, Link, Trash2, PanelLeft, MoveRight } from "lucide-react";
-import { ChevronDownIcon, ChevronUpIcon } from "@plane/propel/icons";
+import { CircleCheck, CircleX, Clock, FileStack, PanelLeft, MoveRight } from "lucide-react";
+import { LinkIcon, NewTabIcon, TrashIcon, ChevronDownIcon, ChevronUpIcon } from "@plane/propel/icons";
import type { TNameDescriptionLoader } from "@plane/types";
import { Header, CustomMenu, EHeaderVariant } from "@plane/ui";
import { cn, findHowManyDaysLeft, generateWorkItemLink } from "@plane/utils";
@@ -122,7 +122,7 @@ export const InboxIssueActionsMobileHeader = observer(function InboxIssueActions
{isAcceptedOrDeclined && (
<CustomMenu.MenuItem onClick={handleCopyIssueLink}>
<div className="flex items-center gap-2">
- <Link size={14} strokeWidth={2} />
+ <LinkIcon width={14} height={14} strokeWidth={2} />
Copy work item link
</div>
</CustomMenu.MenuItem>
@@ -130,7 +130,7 @@ export const InboxIssueActionsMobileHeader = observer(function InboxIssueActions
{isAcceptedOrDeclined && (
<CustomMenu.MenuItem onClick={() => router.push(workItemLink)}>
<div className="flex items-center gap-2">
- <ExternalLink size={14} strokeWidth={2} />
+ <NewTabIcon width={14} height={14} strokeWidth={2} />
Open work item
</div>
</CustomMenu.MenuItem>
@@ -202,7 +202,7 @@ export const InboxIssueActionsMobileHeader = observer(function InboxIssueActions
{canDelete && !isAcceptedOrDeclined && (
<CustomMenu.MenuItem onClick={() => setDeleteIssueModal(true)}>
<div className="flex items-center gap-2 text-danger-primary">
- <Trash2 size={14} strokeWidth={2} />
+ <TrashIcon width={14} height={14} strokeWidth={2} />
Delete
</div>
</CustomMenu.MenuItem>
diff --git a/apps/web/core/components/inbox/inbox-filter/filters/filter-selection.tsx b/apps/web/core/components/inbox/inbox-filter/filters/filter-selection.tsx
index 5ea668a801..fbfe55fc61 100644
--- a/apps/web/core/components/inbox/inbox-filter/filters/filter-selection.tsx
+++ b/apps/web/core/components/inbox/inbox-filter/filters/filter-selection.tsx
@@ -1,8 +1,7 @@
import type { FC } from "react";
import { useState } from "react";
import { observer } from "mobx-react";
-import { Search } from "lucide-react";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
// hooks
import { useLabel } from "@/hooks/store/use-label";
import { useMember } from "@/hooks/store/use-member";
@@ -31,7 +30,7 @@ export const InboxIssueFilterSelection = observer(function InboxIssueFilterSelec
<div className="flex h-full w-full flex-col overflow-hidden">
<div className="bg-surface-1 p-2.5 pb-0">
<div className="flex items-center gap-1.5 rounded-sm border-[0.5px] border-subtle bg-surface-2 px-1.5 py-1 text-11">
- <Search className="text-placeholder" size={12} strokeWidth={2} />
+ <SearchIcon className="text-placeholder" width={12} height={12} strokeWidth={2} />
<input
type="text"
className="w-full bg-surface-2 outline-none placeholder:text-placeholder"
diff --git a/apps/web/core/components/inbox/inbox-filter/sorting/order-by.tsx b/apps/web/core/components/inbox/inbox-filter/sorting/order-by.tsx
index 17db019154..daa1093273 100644
--- a/apps/web/core/components/inbox/inbox-filter/sorting/order-by.tsx
+++ b/apps/web/core/components/inbox/inbox-filter/sorting/order-by.tsx
@@ -1,10 +1,10 @@
import type { FC } from "react";
import { observer } from "mobx-react";
-import { ArrowDownWideNarrow, ArrowUpWideNarrow, Check } from "lucide-react";
+import { ArrowDownWideNarrow, ArrowUpWideNarrow } from "lucide-react";
import { INBOX_ISSUE_ORDER_BY_OPTIONS, INBOX_ISSUE_SORT_BY_OPTIONS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { getButtonStyling } from "@plane/propel/button";
-import { ChevronDownIcon } from "@plane/propel/icons";
+import { CheckIcon, ChevronDownIcon } from "@plane/propel/icons";
import type { TInboxIssueSortingOrderByKeys, TInboxIssueSortingSortByKeys } from "@plane/types";
import { CustomMenu } from "@plane/ui";
// constants
@@ -52,7 +52,7 @@ export const InboxIssueOrderByDropdown = observer(function InboxIssueOrderByDrop
onClick={() => handleInboxIssueSorting("order_by", option.key as TInboxIssueSortingOrderByKeys)}
>
{t(option.i18n_label)}
- {inboxSorting?.order_by?.includes(option.key) && <Check className="size-3" />}
+ {inboxSorting?.order_by?.includes(option.key) && <CheckIcon className="size-3" />}
</CustomMenu.MenuItem>
))}
<hr className="my-2 border-subtle" />
@@ -63,7 +63,7 @@ export const InboxIssueOrderByDropdown = observer(function InboxIssueOrderByDrop
onClick={() => handleInboxIssueSorting("sort_by", option.key as TInboxIssueSortingSortByKeys)}
>
{t(option.i18n_label)}
- {inboxSorting?.sort_by?.includes(option.key) && <Check className="size-3" />}
+ {inboxSorting?.sort_by?.includes(option.key) && <CheckIcon className="size-3" />}
</CustomMenu.MenuItem>
))}
</CustomMenu>
diff --git a/apps/web/core/components/inbox/inbox-status-icon.tsx b/apps/web/core/components/inbox/inbox-status-icon.tsx
index 65cb395f3e..11d615b7af 100644
--- a/apps/web/core/components/inbox/inbox-status-icon.tsx
+++ b/apps/web/core/components/inbox/inbox-status-icon.tsx
@@ -1,4 +1,5 @@
-import { AlertTriangle, CheckCircle2, Clock, Copy, XCircle } from "lucide-react";
+import { AlertTriangle, CheckCircle2, Clock, XCircle } from "lucide-react";
+import { CopyIcon } from "@plane/propel/icons";
import type { TInboxIssueStatus } from "@plane/types";
import { EInboxIssueStatus } from "@plane/types";
import { cn } from "@plane/utils";
@@ -25,7 +26,7 @@ export const ICON_PROPERTIES = {
bgColor: (snoozeDatePassed: boolean = false) => (snoozeDatePassed ? "" : "bg-[#E9F6E9]"),
},
[EInboxIssueStatus.DUPLICATE]: {
- icon: Copy,
+ icon: CopyIcon,
textColor: (snoozeDatePassed: boolean = false) => (snoozeDatePassed ? "" : "text-secondary"),
bgColor: (snoozeDatePassed: boolean = false) => (snoozeDatePassed ? "" : "bg-gray-500/10"),
},
diff --git a/apps/web/core/components/inbox/modals/select-duplicate.tsx b/apps/web/core/components/inbox/modals/select-duplicate.tsx
index ee1c65074d..22344aa9c9 100644
--- a/apps/web/core/components/inbox/modals/select-duplicate.tsx
+++ b/apps/web/core/components/inbox/modals/select-duplicate.tsx
@@ -1,10 +1,10 @@
import { useEffect, useState } from "react";
import { useParams } from "next/navigation";
import { useTheme } from "next-themes";
-import { Search } from "lucide-react";
import { Combobox } from "@headlessui/react";
// plane imports
import { useTranslation } from "@plane/i18n";
+import { SearchIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { ISearchIssueResponse } from "@plane/types";
import { Loader, EModalPosition, EModalWidth, ModalCore } from "@plane/ui";
@@ -128,7 +128,7 @@ export function SelectDuplicateInboxIssueModal(props: Props) {
<ModalCore isOpen={isOpen} handleClose={handleClose} position={EModalPosition.CENTER} width={EModalWidth.XXL}>
<Combobox value={value} onChange={handleSubmit}>
<div className="relative m-1">
- <Search
+ <SearchIcon
className="pointer-events-none absolute left-4 top-3.5 h-5 w-5 text-primary text-opacity-40"
aria-hidden="true"
/>
diff --git a/apps/web/core/components/integration/github/root.tsx b/apps/web/core/components/integration/github/root.tsx
index 3174a79f0f..4e144fe45d 100644
--- a/apps/web/core/components/integration/github/root.tsx
+++ b/apps/web/core/components/integration/github/root.tsx
@@ -3,8 +3,8 @@ import Link from "next/link";
import { useParams, useSearchParams } from "next/navigation";
import { useForm } from "react-hook-form";
import useSWR, { mutate } from "swr";
-import { ArrowLeft, Check, List, Settings, UploadCloud } from "lucide-react";
-import { MembersPropertyIcon } from "@plane/propel/icons";
+import { ArrowLeft, List, Settings, UploadCloud } from "lucide-react";
+import { CheckIcon, MembersPropertyIcon } from "@plane/propel/icons";
// types
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { IGithubRepoCollaborator, IGithubServiceImportFormData } from "@plane/types";
@@ -70,7 +70,7 @@ const integrationWorkflowData = [
{
title: "Confirm",
key: "import-confirm",
- icon: Check,
+ icon: CheckIcon,
},
];
diff --git a/apps/web/core/components/integration/jira/give-details.tsx b/apps/web/core/components/integration/jira/give-details.tsx
index 2fc140d885..969462a6cf 100644
--- a/apps/web/core/components/integration/jira/give-details.tsx
+++ b/apps/web/core/components/integration/jira/give-details.tsx
@@ -2,8 +2,9 @@ import React from "react";
import { observer } from "mobx-react";
import Link from "next/link";
import { useFormContext, Controller } from "react-hook-form";
-import { Plus } from "lucide-react";
+
import { PROJECT_TRACKER_ELEMENTS } from "@plane/constants";
+import { PlusIcon } from "@plane/propel/icons";
import type { IJiraImporterForm } from "@plane/types";
// hooks
// components
@@ -205,7 +206,7 @@ export const JiraGetImportDetail = observer(function JiraGetImportDetail() {
}}
className="flex cursor-pointer select-none items-center space-x-2 truncate rounded-sm px-1 py-1.5 text-secondary"
>
- <Plus className="h-4 w-4 text-secondary" />
+ <PlusIcon className="h-4 w-4 text-secondary" />
<span>Create new project</span>
</button>
</div>
diff --git a/apps/web/core/components/integration/jira/root.tsx b/apps/web/core/components/integration/jira/root.tsx
index 79b2457f0c..2941d5ff5e 100644
--- a/apps/web/core/components/integration/jira/root.tsx
+++ b/apps/web/core/components/integration/jira/root.tsx
@@ -4,9 +4,9 @@ import { useParams } from "next/navigation";
import { FormProvider, useForm } from "react-hook-form";
import { mutate } from "swr";
// icons
-import { ArrowLeft, Check, List, Settings } from "lucide-react";
+import { ArrowLeft, List, Settings } from "lucide-react";
import { Button } from "@plane/propel/button";
-import { MembersPropertyIcon } from "@plane/propel/icons";
+import { CheckIcon, MembersPropertyIcon } from "@plane/propel/icons";
// types
import type { IJiraImporterForm } from "@plane/types";
// assets
@@ -44,7 +44,7 @@ const integrationWorkflowData: Array<{
{
title: "Confirm",
key: "import-confirmation",
- icon: Check,
+ icon: CheckIcon,
},
];
diff --git a/apps/web/core/components/integration/single-import.tsx b/apps/web/core/components/integration/single-import.tsx
index ec127adecf..27aab66a75 100644
--- a/apps/web/core/components/integration/single-import.tsx
+++ b/apps/web/core/components/integration/single-import.tsx
@@ -1,8 +1,9 @@
import { observer } from "mobx-react";
-import { Trash2 } from "lucide-react";
+
// plane imports
import { IMPORTERS_LIST } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
+import { TrashIcon } from "@plane/propel/icons";
import type { IImporterService } from "@plane/types";
import { CustomMenu } from "@plane/ui";
// icons
@@ -54,7 +55,7 @@ export const SingleImport = observer(function SingleImport({ service, refreshing
<CustomMenu ellipsis>
<CustomMenu.MenuItem onClick={handleDelete}>
<span className="flex items-center justify-start gap-2">
- <Trash2 className="h-3.5 w-3.5" />
+ <TrashIcon className="h-3.5 w-3.5" />
Delete import
</span>
</CustomMenu.MenuItem>
diff --git a/apps/web/core/components/issues/attachment/attachment-list-item.tsx b/apps/web/core/components/issues/attachment/attachment-list-item.tsx
index 4c7071a64f..d0823097ec 100644
--- a/apps/web/core/components/issues/attachment/attachment-list-item.tsx
+++ b/apps/web/core/components/issues/attachment/attachment-list-item.tsx
@@ -1,7 +1,8 @@
import type { FC } from "react";
import { observer } from "mobx-react";
-import { Trash } from "lucide-react";
+
import { useTranslation } from "@plane/i18n";
+import { TrashIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
import type { TIssueServiceType } from "@plane/types";
import { EIssueServiceType } from "@plane/types";
@@ -87,7 +88,7 @@ export const IssueAttachmentsListItem = observer(function IssueAttachmentsListIt
}}
>
<div className="flex items-center gap-2">
- <Trash className="h-3.5 w-3.5" strokeWidth={2} />
+ <TrashIcon className="h-3.5 w-3.5" strokeWidth={2} />
<span>{t("common.actions.delete")}</span>
</div>
</CustomMenu.MenuItem>
diff --git a/apps/web/core/components/issues/issue-detail-widgets/action-buttons.tsx b/apps/web/core/components/issues/issue-detail-widgets/action-buttons.tsx
index d0101d5b33..b52ed6af9d 100644
--- a/apps/web/core/components/issues/issue-detail-widgets/action-buttons.tsx
+++ b/apps/web/core/components/issues/issue-detail-widgets/action-buttons.tsx
@@ -1,8 +1,8 @@
import type { FC } from "react";
import React from "react";
-import { Link, Paperclip } from "lucide-react";
+import { Paperclip } from "lucide-react";
import { useTranslation } from "@plane/i18n";
-import { ViewsIcon, RelationPropertyIcon } from "@plane/propel/icons";
+import { LinkIcon, ViewsIcon, RelationPropertyIcon } from "@plane/propel/icons";
// plane imports
import type { TIssueServiceType, TWorkItemWidgets } from "@plane/types";
// plane web imports
@@ -63,7 +63,7 @@ export function IssueDetailWidgetActionButtons(props: Props) {
customButton={
<IssueDetailWidgetButton
title={t("issue.add.link")}
- icon={<Link className="h-3.5 w-3.5 flex-shrink-0" strokeWidth={2} />}
+ icon={<LinkIcon className="h-3.5 w-3.5 flex-shrink-0" strokeWidth={2} />}
disabled={disabled}
/>
}
diff --git a/apps/web/core/components/issues/issue-detail-widgets/attachments/quick-action-button.tsx b/apps/web/core/components/issues/issue-detail-widgets/attachments/quick-action-button.tsx
index ce642b7577..8c52d7b60b 100644
--- a/apps/web/core/components/issues/issue-detail-widgets/attachments/quick-action-button.tsx
+++ b/apps/web/core/components/issues/issue-detail-widgets/attachments/quick-action-button.tsx
@@ -3,7 +3,7 @@ import React, { useCallback, useState } from "react";
import { observer } from "mobx-react";
import type { FileRejection } from "react-dropzone";
import { useDropzone } from "react-dropzone";
-import { Plus } from "lucide-react";
+import { PlusIcon } from "@plane/propel/icons";
// plane imports
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { TIssueServiceType } from "@plane/types";
@@ -98,7 +98,7 @@ export const IssueAttachmentActionButton = observer(function IssueAttachmentActi
>
<button {...getRootProps()} type="button" disabled={disabled}>
<input {...getInputProps()} />
- {customButton ? customButton : <Plus className="h-4 w-4" />}
+ {customButton ? customButton : <PlusIcon className="h-4 w-4" />}
</button>
</div>
);
diff --git a/apps/web/core/components/issues/issue-detail-widgets/links/quick-action-button.tsx b/apps/web/core/components/issues/issue-detail-widgets/links/quick-action-button.tsx
index c182d32e53..3cb3d98fc1 100644
--- a/apps/web/core/components/issues/issue-detail-widgets/links/quick-action-button.tsx
+++ b/apps/web/core/components/issues/issue-detail-widgets/links/quick-action-button.tsx
@@ -1,7 +1,7 @@
import type { FC } from "react";
import React from "react";
import { observer } from "mobx-react";
-import { Plus } from "lucide-react";
+import { PlusIcon } from "@plane/propel/icons";
// plane imports
import type { TIssueServiceType } from "@plane/types";
// hooks
@@ -27,7 +27,7 @@ export const IssueLinksActionButton = observer(function IssueLinksActionButton(p
return (
<button type="button" onClick={handleOnClick} disabled={disabled}>
- {customButton ? customButton : <Plus className="h-4 w-4" />}
+ {customButton ? customButton : <PlusIcon className="h-4 w-4" />}
</button>
);
});
diff --git a/apps/web/core/components/issues/issue-detail-widgets/relations/quick-action-button.tsx b/apps/web/core/components/issues/issue-detail-widgets/relations/quick-action-button.tsx
index f71cfbf9c9..11d16c3995 100644
--- a/apps/web/core/components/issues/issue-detail-widgets/relations/quick-action-button.tsx
+++ b/apps/web/core/components/issues/issue-detail-widgets/relations/quick-action-button.tsx
@@ -1,9 +1,10 @@
import type { FC } from "react";
import React from "react";
import { observer } from "mobx-react";
-import { Plus } from "lucide-react";
-// plane imports
+
import { useTranslation } from "@plane/i18n";
+import { PlusIcon } from "@plane/propel/icons";
+// plane imports
import type { TIssueServiceType } from "@plane/types";
import { CustomMenu } from "@plane/ui";
// hooks
@@ -34,7 +35,7 @@ export const RelationActionButton = observer(function RelationActionButton(props
};
// button element
- const customButtonElement = customButton ? <>{customButton}</> : <Plus className="h-4 w-4" />;
+ const customButtonElement = customButton ? <>{customButton}</> : <PlusIcon className="h-4 w-4" />;
return (
<CustomMenu
diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/filters.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/filters.tsx
index 9a4f534bc2..1823d491b6 100644
--- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/filters.tsx
+++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/filters.tsx
@@ -1,9 +1,9 @@
import type { FC } from "react";
import { useMemo, useState } from "react";
import { observer } from "mobx-react";
-import { ListFilter, Search } from "lucide-react";
+import { ListFilter } from "lucide-react";
import { useTranslation } from "@plane/i18n";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
import type { IIssueFilterOptions, IState } from "@plane/types";
import { cn } from "@plane/utils";
import {
@@ -56,7 +56,7 @@ export const SubIssueFilters = observer(function SubIssueFilters(props: TSubIssu
<div className="flex max-h-[350px] flex-col overflow-hidden">
<div className="bg-surface-1 p-2.5 pb-0">
<div className="flex items-center gap-1.5 rounded-sm border-[0.5px] border-subtle bg-surface-2 px-1.5 py-1 text-11">
- <Search className="text-placeholder" size={12} strokeWidth={2} />
+ <SearchIcon className="text-placeholder" width={12} height={12} strokeWidth={2} />
<input
type="text"
className="w-full bg-surface-2 outline-none placeholder:text-placeholder"
diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-item.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-item.tsx
index 3a99af112a..35689cbef9 100644
--- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-item.tsx
+++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-item.tsx
@@ -1,7 +1,7 @@
import { observer } from "mobx-react";
-import { Pencil, Trash, Link as LinkIcon, Loader } from "lucide-react";
+import { Link as Loader } from "lucide-react";
import { useTranslation } from "@plane/i18n";
-import { CloseIcon, ChevronRightIcon } from "@plane/propel/icons";
+import { LinkIcon, EditIcon, TrashIcon, CloseIcon, ChevronRightIcon } from "@plane/propel/icons";
// plane imports
import { Tooltip } from "@plane/propel/tooltip";
import type { TIssue, TIssueServiceType, TSubIssueOperations } from "@plane/types";
@@ -192,7 +192,7 @@ export const SubIssuesListItem = observer(function SubIssuesListItem(props: Prop
}}
>
<div className="flex items-center gap-2">
- <Pencil className="h-3.5 w-3.5" strokeWidth={2} />
+ <EditIcon className="h-3.5 w-3.5" strokeWidth={2} />
<span>{t("issue.edit")}</span>
</div>
</CustomMenu.MenuItem>
@@ -233,7 +233,7 @@ export const SubIssuesListItem = observer(function SubIssuesListItem(props: Prop
}}
>
<div className="flex items-center gap-2">
- <Trash className="h-3.5 w-3.5" strokeWidth={2} />
+ <TrashIcon className="h-3.5 w-3.5" strokeWidth={2} />
<span>{t("issue.delete.label")}</span>
</div>
</CustomMenu.MenuItem>
diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/quick-action-button.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/quick-action-button.tsx
index c3ae0f391e..950491bf95 100644
--- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/quick-action-button.tsx
+++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/quick-action-button.tsx
@@ -1,11 +1,11 @@
import type { FC } from "react";
import React from "react";
import { observer } from "mobx-react";
-import { Plus } from "lucide-react";
+
// plane imports
import { WORK_ITEM_TRACKER_EVENTS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
-import { WorkItemsIcon } from "@plane/propel/icons";
+import { PlusIcon, WorkItemsIcon } from "@plane/propel/icons";
import type { TIssue, TIssueServiceType } from "@plane/types";
import { CustomMenu } from "@plane/ui";
// hooks
@@ -69,7 +69,7 @@ export const SubIssuesActionButton = observer(function SubIssuesActionButton(pro
const optionItems = [
{
i18n_label: "common.create_new",
- icon: <Plus className="h-3 w-3" />,
+ icon: <PlusIcon className="h-3 w-3" />,
onClick: handleCreateNew,
},
{
@@ -80,7 +80,7 @@ export const SubIssuesActionButton = observer(function SubIssuesActionButton(pro
];
// button element
- const customButtonElement = customButton ? <>{customButton}</> : <Plus className="h-4 w-4" />;
+ const customButtonElement = customButton ? <>{customButton}</> : <PlusIcon className="h-4 w-4" />;
return (
<CustomMenu customButton={customButtonElement} placement="bottom-start" disabled={disabled} closeOnSelect>
diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity-filter.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity-filter.tsx
index 8534e71710..b63aa81444 100644
--- a/apps/web/core/components/issues/issue-detail/issue-activity/activity-filter.tsx
+++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity-filter.tsx
@@ -1,9 +1,10 @@
import { observer } from "mobx-react";
-import { Check, ListFilter } from "lucide-react";
+import { ListFilter } from "lucide-react";
// plane imports
import type { TActivityFilters, TActivityFilterOption } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { IconButton } from "@plane/propel/icon-button";
+import { CheckIcon } from "@plane/propel/icons";
import { PopoverMenu } from "@plane/ui";
// helper
import { cn } from "@plane/utils";
@@ -50,7 +51,7 @@ export const ActivityFilter = observer(function ActivityFilter(props: TActivityF
}
)}
>
- {item.isSelected && <Check className="h-2.5 w-2.5" />}
+ {item.isSelected && <CheckIcon className="h-2.5 w-2.5" />}
</div>
<div className={cn("whitespace-nowrap", item.isSelected ? "text-primary" : "text-secondary")}>
{t(item.labelTranslationKey)}
diff --git a/apps/web/core/components/issues/issue-detail/issue-detail-quick-actions.tsx b/apps/web/core/components/issues/issue-detail/issue-detail-quick-actions.tsx
index 83af5a5d04..e17d96b710 100644
--- a/apps/web/core/components/issues/issue-detail/issue-detail-quick-actions.tsx
+++ b/apps/web/core/components/issues/issue-detail/issue-detail-quick-actions.tsx
@@ -5,6 +5,7 @@ import { WORK_ITEM_TRACKER_EVENTS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { CopyLinkIcon } from "@plane/propel/icons";
import { IconButton } from "@plane/propel/icon-button";
+import { LinkIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
import { EIssuesStoreType } from "@plane/types";
diff --git a/apps/web/core/components/issues/issue-detail/label/create-label.tsx b/apps/web/core/components/issues/issue-detail/label/create-label.tsx
index f52eb5ab8f..3fb0706936 100644
--- a/apps/web/core/components/issues/issue-detail/label/create-label.tsx
+++ b/apps/web/core/components/issues/issue-detail/label/create-label.tsx
@@ -2,9 +2,9 @@ import { useState, Fragment, useEffect } from "react";
import { TwitterPicker } from "react-color";
import { Controller, useForm } from "react-hook-form";
import { usePopper } from "react-popper";
-import { Plus, Loader } from "lucide-react";
+import { Loader } from "lucide-react";
import { Popover } from "@headlessui/react";
-import { CloseIcon } from "@plane/propel/icons";
+import { PlusIcon, CloseIcon } from "@plane/propel/icons";
import type { IIssueLabel } from "@plane/types";
// hooks
import { Input } from "@plane/ui";
@@ -80,7 +80,7 @@ export function LabelCreate(props: ILabelCreate) {
onClick={handleIsCreateToggle}
>
<div className="flex-shrink-0">
- {isCreateToggle ? <CloseIcon className="h-2.5 w-2.5" /> : <Plus className="h-2.5 w-2.5" />}
+ {isCreateToggle ? <CloseIcon className="h-2.5 w-2.5" /> : <PlusIcon className="h-2.5 w-2.5" />}
</div>
<div className="flex-shrink-0">{isCreateToggle ? "Cancel" : "New"}</div>
</div>
@@ -154,7 +154,7 @@ export function LabelCreate(props: ILabelCreate) {
{isSubmitting ? (
<Loader className="spin h-3.5 w-3.5 text-on-color" />
) : (
- <Plus className="h-3.5 w-3.5 text-on-color" />
+ <PlusIcon className="h-3.5 w-3.5 text-on-color" />
)}
</button>
</form>
diff --git a/apps/web/core/components/issues/issue-detail/label/select/label-select.tsx b/apps/web/core/components/issues/issue-detail/label/select/label-select.tsx
index 94ac6862d6..c3621ab206 100644
--- a/apps/web/core/components/issues/issue-detail/label/select/label-select.tsx
+++ b/apps/web/core/components/issues/issue-detail/label/select/label-select.tsx
@@ -1,12 +1,13 @@
import { Fragment, useState } from "react";
import { observer } from "mobx-react";
import { usePopper } from "react-popper";
-import { Check, Loader, Plus, Search } from "lucide-react";
+import { Loader } from "lucide-react";
import { Combobox } from "@headlessui/react";
// plane imports
import { EUserPermissionsLevel, getRandomLabelColor } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
+import { CheckIcon, SearchIcon, PlusIcon } from "@plane/propel/icons";
import type { IIssueLabel } from "@plane/types";
import { EUserProjectRoles } from "@plane/types";
// helpers
@@ -125,7 +126,7 @@ export const IssueLabelSelect = observer(function IssueLabelSelect(props: IIssue
type="button"
variant="tertiary"
size="sm"
- prependIcon={<Plus />}
+ prependIcon={<PlusIcon />}
onClick={() => !projectLabels && fetchLabels()}
>
{label}
@@ -141,7 +142,7 @@ export const IssueLabelSelect = observer(function IssueLabelSelect(props: IIssue
>
<div className="px-2">
<div className="flex w-full items-center justify-start rounded-sm border border-subtle bg-surface-2 px-2">
- <Search className="h-3.5 w-3.5 text-tertiary" />
+ <SearchIcon className="h-3.5 w-3.5 text-tertiary" />
<Combobox.Input
className="w-full bg-transparent px-2 py-1 text-11 text-secondary placeholder:text-placeholder focus:outline-none"
value={query}
@@ -172,7 +173,7 @@ export const IssueLabelSelect = observer(function IssueLabelSelect(props: IIssue
{option.content}
{selected && (
<div className="flex-shrink-0">
- <Check className={`h-3.5 w-3.5`} />
+ <CheckIcon className={`h-3.5 w-3.5`} />
</div>
)}
</>
diff --git a/apps/web/core/components/issues/issue-detail/links/link-detail.tsx b/apps/web/core/components/issues/issue-detail/links/link-detail.tsx
index 6cc35199ff..a2161d1c92 100644
--- a/apps/web/core/components/issues/issue-detail/links/link-detail.tsx
+++ b/apps/web/core/components/issues/issue-detail/links/link-detail.tsx
@@ -1,4 +1,4 @@
-import { Pencil, Trash2, ExternalLink } from "lucide-react";
+import { NewTabIcon, EditIcon, TrashIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
import { getIconForLink, copyTextToClipboard, calculateTimeAgo } from "@plane/utils";
@@ -77,7 +77,7 @@ export function IssueLinkDetail(props: TIssueLinkDetail) {
toggleIssueLinkModal(true);
}}
>
- <Pencil className="h-3 w-3 stroke-[1.5] text-secondary" />
+ <EditIcon className="h-3 w-3 stroke-[1.5] text-secondary" />
</button>
<a
href={linkDetail.url}
@@ -85,7 +85,7 @@ export function IssueLinkDetail(props: TIssueLinkDetail) {
rel="noopener noreferrer"
className="flex items-center justify-center p-1 hover:bg-layer-1"
>
- <ExternalLink className="h-3 w-3 stroke-[1.5] text-secondary" />
+ <NewTabIcon className="h-3 w-3 stroke-[1.5] text-secondary" />
</a>
<button
type="button"
@@ -96,7 +96,7 @@ export function IssueLinkDetail(props: TIssueLinkDetail) {
linkOperations.remove(linkDetail.id);
}}
>
- <Trash2 className="h-3 w-3" />
+ <TrashIcon className="h-3 w-3" />
</button>
</div>
)}
diff --git a/apps/web/core/components/issues/issue-detail/links/link-item.tsx b/apps/web/core/components/issues/issue-detail/links/link-item.tsx
index 34c186a1b2..1cac1cc783 100644
--- a/apps/web/core/components/issues/issue-detail/links/link-item.tsx
+++ b/apps/web/core/components/issues/issue-detail/links/link-item.tsx
@@ -1,6 +1,7 @@
import { observer } from "mobx-react";
-import { Pencil, Trash2, Copy, Link } from "lucide-react";
+
import { useTranslation } from "@plane/i18n";
+import { LinkIcon, CopyIcon, EditIcon, TrashIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
import type { TIssueServiceType } from "@plane/types";
@@ -53,7 +54,7 @@ export const IssueLinkItem = observer(function IssueLinkItem(props: TIssueLinkIt
{faviconUrl ? (
<img src={faviconUrl} alt="favicon" className="size-4 flex-shrink-0" />
) : (
- <Link className="size-4 text-tertiary group-hover:text-primary flex-shrink-0" />
+ <LinkIcon className="size-4 text-tertiary group-hover:text-primary flex-shrink-0" />
)}
<Tooltip tooltipContent={linkDetail.url} isMobile={isMobile}>
<a
@@ -86,7 +87,7 @@ export const IssueLinkItem = observer(function IssueLinkItem(props: TIssueLinkIt
}}
className="relative grid place-items-center rounded-sm p-1 text-placeholder outline-none group-hover:text-secondary cursor-pointer hover:bg-layer-1"
>
- <Copy className="h-3.5 w-3.5 stroke-[1.5]" />
+ <CopyIcon className="h-3.5 w-3.5 stroke-[1.5]" />
</span>
<CustomMenu
ellipsis
@@ -101,7 +102,7 @@ export const IssueLinkItem = observer(function IssueLinkItem(props: TIssueLinkIt
toggleIssueLinkModal(true);
}}
>
- <Pencil className="h-3 w-3 stroke-[1.5] text-secondary" />
+ <EditIcon className="h-3 w-3 stroke-[1.5] text-secondary" />
{t("common.actions.edit")}
</CustomMenu.MenuItem>
<CustomMenu.MenuItem
@@ -110,7 +111,7 @@ export const IssueLinkItem = observer(function IssueLinkItem(props: TIssueLinkIt
linkOperations.remove(linkDetail.id);
}}
>
- <Trash2 className="h-3 w-3" />
+ <TrashIcon className="h-3 w-3" />
{t("common.actions.delete")}
</CustomMenu.MenuItem>
</CustomMenu>
diff --git a/apps/web/core/components/issues/issue-detail/links/root.tsx b/apps/web/core/components/issues/issue-detail/links/root.tsx
index 693d3afee7..c045faa606 100644
--- a/apps/web/core/components/issues/issue-detail/links/root.tsx
+++ b/apps/web/core/components/issues/issue-detail/links/root.tsx
@@ -1,5 +1,6 @@
import { useCallback, useMemo, useState } from "react";
-import { Plus } from "lucide-react";
+
+import { PlusIcon } from "@plane/propel/icons";
// plane imports
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { TIssueLink } from "@plane/types";
@@ -125,7 +126,7 @@ export function IssueLinkRoot(props: TIssueLinkRoot) {
onClick={() => toggleIssueLinkModal(true)}
disabled={disabled}
>
- <Plus className="h-4 w-4" />
+ <PlusIcon className="h-4 w-4" />
</button>
)}
</div>
diff --git a/apps/web/core/components/issues/issue-detail/parent-select.tsx b/apps/web/core/components/issues/issue-detail/parent-select.tsx
index 94c3923da7..8249e0476b 100644
--- a/apps/web/core/components/issues/issue-detail/parent-select.tsx
+++ b/apps/web/core/components/issues/issue-detail/parent-select.tsx
@@ -1,9 +1,9 @@
import React from "react";
import { observer } from "mobx-react";
import Link from "next/link";
-import { Pencil } from "lucide-react";
+
import { useTranslation } from "@plane/i18n";
-import { CloseIcon } from "@plane/propel/icons";
+import { EditIcon, CloseIcon } from "@plane/propel/icons";
// plane imports
import { Tooltip } from "@plane/propel/tooltip";
import { cn } from "@plane/utils";
@@ -123,7 +123,7 @@ export const IssueParentSelect = observer(function IssueParentSelect(props: TIss
"text-placeholder": !issue.parent_id && !parentIssue,
})}
>
- <Pencil className="h-2.5 w-2.5 flex-shrink-0" />
+ <EditIcon className="h-2.5 w-2.5 flex-shrink-0" />
</span>
)}
</button>
diff --git a/apps/web/core/components/issues/issue-detail/relation-select.tsx b/apps/web/core/components/issues/issue-detail/relation-select.tsx
index 48b227c91d..f01100a932 100644
--- a/apps/web/core/components/issues/issue-detail/relation-select.tsx
+++ b/apps/web/core/components/issues/issue-detail/relation-select.tsx
@@ -1,8 +1,8 @@
import React from "react";
import { observer } from "mobx-react";
import Link from "next/link";
-import { Pencil } from "lucide-react";
-import { CloseIcon } from "@plane/propel/icons";
+
+import { EditIcon, CloseIcon } from "@plane/propel/icons";
// Plane
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
@@ -156,7 +156,7 @@ export const IssueRelationSelect = observer(function IssueRelationSelect(props:
"text-placeholder": relationIssueIds.length === 0,
})}
>
- <Pencil className="h-2.5 w-2.5 flex-shrink-0" />
+ <EditIcon className="h-2.5 w-2.5 flex-shrink-0" />
</span>
)}
</div>
diff --git a/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx b/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx
index b26e37a8de..a2c3076838 100644
--- a/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx
+++ b/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx
@@ -2,7 +2,7 @@ import React, { useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
import { usePopper } from "react-popper";
-import { Check, MoreVerticalIcon } from "lucide-react";
+import { MoreVerticalIcon } from "lucide-react";
import { Popover, Transition } from "@headlessui/react";
// hooks
// ui
@@ -10,7 +10,7 @@ import { Popover, Transition } from "@headlessui/react";
import type { TSupportedFilterTypeForUpdate } from "@plane/constants";
import { EIssueFilterType } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
-import { ChevronUpIcon } from "@plane/propel/icons";
+import { CheckIcon, ChevronUpIcon } from "@plane/propel/icons";
import type { TCalendarLayouts, TSupportedFilterForUpdate } from "@plane/types";
import { ToggleSwitch } from "@plane/ui";
// types
@@ -140,7 +140,7 @@ export const CalendarOptionsDropdown = observer(function CalendarOptionsDropdown
onClick={() => handleLayoutChange(layoutDetails.key, closePopover)}
>
{layoutDetails.title}
- {calendarLayout === layout && <Check size={12} strokeWidth={2} />}
+ {calendarLayout === layout && <CheckIcon width={12} height={12} strokeWidth={2} />}
</button>
))}
<button
diff --git a/apps/web/core/components/issues/issue-layouts/calendar/quick-add-issue-actions.tsx b/apps/web/core/components/issues/issue-layouts/calendar/quick-add-issue-actions.tsx
index 7d96d9fa0e..08ff9651e7 100644
--- a/apps/web/core/components/issues/issue-layouts/calendar/quick-add-issue-actions.tsx
+++ b/apps/web/core/components/issues/issue-layouts/calendar/quick-add-issue-actions.tsx
@@ -2,9 +2,10 @@ import { useState } from "react";
import { differenceInCalendarDays } from "date-fns/differenceInCalendarDays";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
-import { PlusIcon } from "lucide-react";
-// plane imports
+
import { useTranslation } from "@plane/i18n";
+// plane imports
+import { PlusIcon } from "@plane/propel/icons";
import { setPromiseToast } from "@plane/propel/toast";
import type { ISearchIssueResponse, TIssue } from "@plane/types";
import { EIssueLayoutTypes } from "@plane/types";
diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/helpers/filter-option.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/helpers/filter-option.tsx
index b9fe571b59..72bccb111b 100644
--- a/apps/web/core/components/issues/issue-layouts/filters/header/helpers/filter-option.tsx
+++ b/apps/web/core/components/issues/issue-layouts/filters/header/helpers/filter-option.tsx
@@ -1,4 +1,4 @@
-import { Check } from "lucide-react";
+import { CheckIcon } from "@plane/propel/icons";
type Props = {
icon?: React.ReactNode;
@@ -23,7 +23,7 @@ export function FilterOption(props: Props) {
isChecked ? "border-accent-strong bg-accent-primary text-on-color" : "border-strong"
} ${multiple ? "rounded-xs" : "rounded-full"}`}
>
- {isChecked && <Check size={10} strokeWidth={3} />}
+ {isChecked && <CheckIcon width={10} height={10} strokeWidth={3} />}
</div>
<div className="flex items-center gap-2 truncate">
{icon && <div className="grid w-5 flex-shrink-0 place-items-center">{icon}</div>}
diff --git a/apps/web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx b/apps/web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx
index f5510f08be..634bcba0a5 100644
--- a/apps/web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx
+++ b/apps/web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx
@@ -2,8 +2,9 @@ import React from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
// lucide icons
-import { Minimize2, Maximize2, Circle, Plus } from "lucide-react";
+import { Minimize2, Maximize2, Circle } from "lucide-react";
import { WORK_ITEM_TRACKER_EVENTS } from "@plane/constants";
+import { PlusIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { TIssue, ISearchIssueResponse, TIssueKanbanFilters, TIssueGroupByOptions } from "@plane/types";
// ui
@@ -154,7 +155,7 @@ export const HeaderGroupByCard = observer(function HeaderGroupByCard(props: IHea
<CustomMenu
customButton={
<span className="flex h-[20px] w-[20px] flex-shrink-0 cursor-pointer items-center justify-center overflow-hidden transition-all hover:bg-layer-transparent-hover bg-layer-transparent rounded-sm">
- <Plus height={14} width={14} strokeWidth={2} />
+ <PlusIcon height={14} width={14} strokeWidth={2} />
</span>
}
placement="bottom-end"
@@ -184,7 +185,7 @@ export const HeaderGroupByCard = observer(function HeaderGroupByCard(props: IHea
setIsOpen(true);
}}
>
- <Plus width={14} strokeWidth={2} />
+ <PlusIcon width={14} strokeWidth={2} />
</button>
))}
</div>
diff --git a/apps/web/core/components/issues/issue-layouts/list/headers/group-by-card.tsx b/apps/web/core/components/issues/issue-layouts/list/headers/group-by-card.tsx
index 6a8524bc20..64062dfff5 100644
--- a/apps/web/core/components/issues/issue-layouts/list/headers/group-by-card.tsx
+++ b/apps/web/core/components/issues/issue-layouts/list/headers/group-by-card.tsx
@@ -1,9 +1,10 @@
import { useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
-import { CircleDashed, Plus } from "lucide-react";
-// types
+import { CircleDashed } from "lucide-react";
import { WORK_ITEM_TRACKER_EVENTS } from "@plane/constants";
+import { PlusIcon } from "@plane/propel/icons";
+// types
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { TIssue, ISearchIssueResponse, TIssueGroupByOptions } from "@plane/types";
// ui
@@ -125,7 +126,7 @@ export const HeaderGroupByCard = observer(function HeaderGroupByCard(props: IHea
<CustomMenu
customButton={
<span className="flex h-5 w-5 flex-shrink-0 cursor-pointer items-center justify-center overflow-hidden rounded-xs transition-all hover:bg-layer-1">
- <Plus className="h-3.5 w-3.5" strokeWidth={2} />
+ <PlusIcon className="h-3.5 w-3.5" strokeWidth={2} />
</span>
}
>
@@ -154,7 +155,7 @@ export const HeaderGroupByCard = observer(function HeaderGroupByCard(props: IHea
setIsOpen(true);
}}
>
- <Plus width={14} strokeWidth={2} />
+ <PlusIcon width={14} strokeWidth={2} />
</div>
))}
diff --git a/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx b/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx
index 84397028ec..9d5a23b3d1 100644
--- a/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx
+++ b/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx
@@ -4,12 +4,12 @@ import { xor } from "lodash-es";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
// icons
-import { Link, Paperclip } from "lucide-react";
+import { Paperclip } from "lucide-react";
// types
import { WORK_ITEM_TRACKER_EVENTS } from "@plane/constants";
// i18n
import { useTranslation } from "@plane/i18n";
-import { StartDatePropertyIcon, ViewsIcon, DueDatePropertyIcon } from "@plane/propel/icons";
+import { LinkIcon, StartDatePropertyIcon, ViewsIcon, DueDatePropertyIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
import type { TIssue, IIssueDisplayProperties, TIssuePriorities } from "@plane/types";
// ui
@@ -517,7 +517,7 @@ export const IssueProperties = observer(function IssueProperties(props: IIssuePr
onFocus={handleEventPropagation}
onClick={handleEventPropagation}
>
- <Link className="h-3 w-3 flex-shrink-0" strokeWidth={2} />
+ <LinkIcon className="h-3 w-3 flex-shrink-0" strokeWidth={2} />
<div className="text-caption-sm-regular">{issue.link_count}</div>
</div>
</Tooltip>
diff --git a/apps/web/core/components/issues/issue-layouts/properties/label-dropdown.tsx b/apps/web/core/components/issues/issue-layouts/properties/label-dropdown.tsx
index bd014f651d..cc52345a50 100644
--- a/apps/web/core/components/issues/issue-layouts/properties/label-dropdown.tsx
+++ b/apps/web/core/components/issues/issue-layouts/properties/label-dropdown.tsx
@@ -2,13 +2,13 @@ import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import type { Placement } from "@popperjs/core";
import { useParams } from "next/navigation";
import { usePopper } from "react-popper";
-import { Check, Loader, Search } from "lucide-react";
+import { Loader } from "lucide-react";
import { Combobox } from "@headlessui/react";
// plane imports
import { EUserPermissionsLevel, getRandomLabelColor } from "@plane/constants";
import { useOutsideClickDetector } from "@plane/hooks";
import { useTranslation } from "@plane/i18n";
-import { ChevronDownIcon } from "@plane/propel/icons";
+import { CheckIcon, SearchIcon, ChevronDownIcon } from "@plane/propel/icons";
// types
import type { IIssueLabel } from "@plane/types";
import { EUserProjectRoles } from "@plane/types";
@@ -250,7 +250,7 @@ export function LabelDropdown(props: ILabelDropdownProps) {
{...attributes.popper}
>
<div className="flex w-full items-center justify-start rounded-sm border border-subtle bg-surface-2 px-2">
- <Search className="h-3.5 w-3.5 text-tertiary" />
+ <SearchIcon className="h-3.5 w-3.5 text-tertiary" />
<Combobox.Input
ref={inputRef}
className="w-full bg-transparent px-2 py-1 text-caption-sm-regular text-secondary placeholder:text-placeholder focus:outline-none"
@@ -286,7 +286,7 @@ export function LabelDropdown(props: ILabelDropdownProps) {
{option.content}
{selected && (
<div className="flex-shrink-0">
- <Check className={`h-3.5 w-3.5`} />
+ <CheckIcon className={`h-3.5 w-3.5`} />
</div>
)}
</>
diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/helper.tsx b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/helper.tsx
index 56affbdf0b..577107f552 100644
--- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/helper.tsx
+++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/helper.tsx
@@ -1,8 +1,8 @@
import { useMemo } from "react";
-import { Copy, ExternalLink, Link, Pencil, Trash2, XCircle, ArchiveRestoreIcon } from "lucide-react";
+import { XCircle, ArchiveRestoreIcon } from "lucide-react";
// plane imports
import { useTranslation } from "@plane/i18n";
-import { ArchiveIcon } from "@plane/propel/icons";
+import { LinkIcon, CopyIcon, NewTabIcon, EditIcon, ArchiveIcon, TrashIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { EIssuesStoreType, TIssue } from "@plane/types";
import type { TContextMenuItem } from "@plane/ui";
@@ -155,7 +155,7 @@ export const useMenuItemFactory = (props: MenuItemFactoryProps) => {
const createEditMenuItem = (customEditAction?: () => void): TContextMenuItem => ({
key: "edit",
title: t("common.actions.edit"),
- icon: Pencil,
+ icon: EditIcon,
action:
customEditAction ||
(() => {
@@ -169,7 +169,7 @@ export const useMenuItemFactory = (props: MenuItemFactoryProps) => {
const baseItem = {
key: "make-a-copy",
title: t("common.actions.make_a_copy"),
- icon: Copy,
+ icon: CopyIcon,
action: () => {
setCreateUpdateIssueModal(true);
},
@@ -188,14 +188,14 @@ export const useMenuItemFactory = (props: MenuItemFactoryProps) => {
const createOpenInNewTabMenuItem = (): TContextMenuItem => ({
key: "open-in-new-tab",
title: t("common.actions.open_in_new_tab"),
- icon: ExternalLink,
+ icon: NewTabIcon,
action: actionHandlers.handleOpenInNewTab,
});
const createCopyLinkMenuItem = (): TContextMenuItem => ({
key: "copy-link",
title: t("common.actions.copy_link"),
- icon: Link,
+ icon: LinkIcon,
action: actionHandlers.handleCopyIssueLink,
});
@@ -238,7 +238,7 @@ export const useMenuItemFactory = (props: MenuItemFactoryProps) => {
const createDeleteMenuItem = (): TContextMenuItem => ({
key: "delete",
title: t("common.actions.delete"),
- icon: Trash2,
+ icon: TrashIcon,
action: () => {
setDeleteIssueModal(true);
},
diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/button/gantt.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/button/gantt.tsx
index 9f8d8cff56..d2b8e0817e 100644
--- a/apps/web/core/components/issues/issue-layouts/quick-add/button/gantt.tsx
+++ b/apps/web/core/components/issues/issue-layouts/quick-add/button/gantt.tsx
@@ -1,7 +1,8 @@
import type { FC } from "react";
import { observer } from "mobx-react";
-import { PlusIcon } from "lucide-react";
+
import { useTranslation } from "@plane/i18n";
+import { PlusIcon } from "@plane/propel/icons";
import { Row } from "@plane/ui";
import type { TQuickAddIssueButton } from "../root";
diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/button/kanban.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/button/kanban.tsx
index 48cdb985b2..acb558b27e 100644
--- a/apps/web/core/components/issues/issue-layouts/quick-add/button/kanban.tsx
+++ b/apps/web/core/components/issues/issue-layouts/quick-add/button/kanban.tsx
@@ -1,7 +1,8 @@
import type { FC } from "react";
import { observer } from "mobx-react";
-import { PlusIcon } from "lucide-react";
+
import { useTranslation } from "@plane/i18n";
+import { PlusIcon } from "@plane/propel/icons";
import type { TQuickAddIssueButton } from "../root";
export const KanbanQuickAddIssueButton = observer(function KanbanQuickAddIssueButton(props: TQuickAddIssueButton) {
diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/button/list.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/button/list.tsx
index f365a50f1a..12067f6955 100644
--- a/apps/web/core/components/issues/issue-layouts/quick-add/button/list.tsx
+++ b/apps/web/core/components/issues/issue-layouts/quick-add/button/list.tsx
@@ -1,7 +1,8 @@
import type { FC } from "react";
import { observer } from "mobx-react";
-import { PlusIcon } from "lucide-react";
+
import { useTranslation } from "@plane/i18n";
+import { PlusIcon } from "@plane/propel/icons";
import { Row } from "@plane/ui";
import type { TQuickAddIssueButton } from "../root";
diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/button/spreadsheet.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/button/spreadsheet.tsx
index 7a6636ae3c..b9a6827fb3 100644
--- a/apps/web/core/components/issues/issue-layouts/quick-add/button/spreadsheet.tsx
+++ b/apps/web/core/components/issues/issue-layouts/quick-add/button/spreadsheet.tsx
@@ -1,7 +1,8 @@
import type { FC } from "react";
import { observer } from "mobx-react";
-import { PlusIcon } from "lucide-react";
+
import { useTranslation } from "@plane/i18n";
+import { PlusIcon } from "@plane/propel/icons";
import type { TQuickAddIssueButton } from "../root";
export const SpreadsheetAddIssueButton = observer(function SpreadsheetAddIssueButton(props: TQuickAddIssueButton) {
diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/root.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/root.tsx
index 64fea95f97..dacb8d64a6 100644
--- a/apps/web/core/components/issues/issue-layouts/quick-add/root.tsx
+++ b/apps/web/core/components/issues/issue-layouts/quick-add/root.tsx
@@ -4,10 +4,11 @@ import { observer } from "mobx-react";
import { useParams } from "next/navigation";
import type { UseFormRegister } from "react-hook-form";
import { useForm } from "react-hook-form";
-import { PlusIcon } from "lucide-react";
+
// plane imports
import { WORK_ITEM_TRACKER_EVENTS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
+import { PlusIcon } from "@plane/propel/icons";
import { setPromiseToast } from "@plane/propel/toast";
import type { IProject, TIssue, EIssueLayoutTypes } from "@plane/types";
import { cn, createIssuePayload } from "@plane/utils";
diff --git a/apps/web/core/components/issues/parent-issues-list-modal.tsx b/apps/web/core/components/issues/parent-issues-list-modal.tsx
index 5ed488e3b1..b197b7e9d5 100644
--- a/apps/web/core/components/issues/parent-issues-list-modal.tsx
+++ b/apps/web/core/components/issues/parent-issues-list-modal.tsx
@@ -1,11 +1,12 @@
import React, { useEffect, useState } from "react";
import { useParams } from "next/navigation";
// icons
-import { Rocket, Search } from "lucide-react";
+import { Rocket } from "lucide-react";
// headless ui
import { Combobox } from "@headlessui/react";
// i18n
import { useTranslation } from "@plane/i18n";
+import { SearchIcon } from "@plane/propel/icons";
// types
import type { ISearchIssueResponse } from "@plane/types";
// ui
@@ -94,7 +95,7 @@ export function ParentIssuesListModal({
}}
>
<div className="relative m-1">
- <Search
+ <SearchIcon
className="pointer-events-none absolute left-4 top-3.5 h-5 w-5 text-primary text-opacity-40"
aria-hidden="true"
/>
diff --git a/apps/web/core/components/issues/relations/issue-list-item.tsx b/apps/web/core/components/issues/relations/issue-list-item.tsx
index 64c7f979b3..fa2ecc81c3 100644
--- a/apps/web/core/components/issues/relations/issue-list-item.tsx
+++ b/apps/web/core/components/issues/relations/issue-list-item.tsx
@@ -1,9 +1,8 @@
import type { FC } from "react";
import React from "react";
import { observer } from "mobx-react";
-import { Pencil, Trash, Link as LinkIcon } from "lucide-react";
import { useTranslation } from "@plane/i18n";
-import { CloseIcon } from "@plane/propel/icons";
+import { LinkIcon, EditIcon, TrashIcon, CloseIcon } from "@plane/propel/icons";
// plane imports
import { Tooltip } from "@plane/propel/tooltip";
import type { TIssue, TIssueServiceType } from "@plane/types";
@@ -164,7 +163,7 @@ export const RelationIssueListItem = observer(function RelationIssueListItem(pro
{!disabled && (
<CustomMenu.MenuItem onClick={handleEditIssue}>
<div className="flex items-center gap-2">
- <Pencil className="h-3.5 w-3.5" strokeWidth={2} />
+ <EditIcon className="h-3.5 w-3.5" strokeWidth={2} />
<span>{t("common.actions.edit")}</span>
</div>
</CustomMenu.MenuItem>
@@ -189,7 +188,7 @@ export const RelationIssueListItem = observer(function RelationIssueListItem(pro
{!disabled && (
<CustomMenu.MenuItem onClick={handleDeleteIssue}>
<div className="flex items-center gap-2">
- <Trash className="h-3.5 w-3.5" strokeWidth={2} />
+ <TrashIcon className="h-3.5 w-3.5" strokeWidth={2} />
<span>{t("common.actions.delete")}</span>
</div>
</CustomMenu.MenuItem>
diff --git a/apps/web/core/components/issues/select/base.tsx b/apps/web/core/components/issues/select/base.tsx
index 59dffab858..97a2b5db9e 100644
--- a/apps/web/core/components/issues/select/base.tsx
+++ b/apps/web/core/components/issues/select/base.tsx
@@ -2,13 +2,13 @@ import React, { useEffect, useRef, useState } from "react";
import type { Placement } from "@popperjs/core";
import { observer } from "mobx-react";
import { usePopper } from "react-popper";
-import { Check, Component, Loader, Search } from "lucide-react";
+import { Component, Loader } from "lucide-react";
import { Combobox } from "@headlessui/react";
import { getRandomLabelColor } from "@plane/constants";
// plane imports
import { useOutsideClickDetector } from "@plane/hooks";
import { useTranslation } from "@plane/i18n";
-import { LabelPropertyIcon } from "@plane/propel/icons";
+import { CheckIcon, SearchIcon, LabelPropertyIcon } from "@plane/propel/icons";
import type { IIssueLabel } from "@plane/types";
import { cn } from "@plane/utils";
// components
@@ -194,7 +194,7 @@ export const WorkItemLabelSelectBase = observer(function WorkItemLabelSelectBase
{...attributes.popper}
>
<div className="flex items-center gap-1.5 rounded-sm border border-subtle bg-surface-2 px-2">
- <Search className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
+ <SearchIcon className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
<Combobox.Input
as="input"
ref={inputRef}
@@ -235,7 +235,7 @@ export const WorkItemLabelSelectBase = observer(function WorkItemLabelSelectBase
<span className="truncate">{label.name}</span>
</div>
<div className="flex shrink-0 items-center justify-center rounded-sm p-1">
- <Check className={`h-3 w-3 ${selected ? "opacity-100" : "opacity-0"}`} />
+ <CheckIcon className={`h-3 w-3 ${selected ? "opacity-100" : "opacity-0"}`} />
</div>
</div>
)}
@@ -270,7 +270,7 @@ export const WorkItemLabelSelectBase = observer(function WorkItemLabelSelectBase
<span>{child.name}</span>
</div>
<div className="flex items-center justify-center rounded-sm p-1">
- <Check className={`h-3 w-3 ${selected ? "opacity-100" : "opacity-0"}`} />
+ <CheckIcon className={`h-3 w-3 ${selected ? "opacity-100" : "opacity-0"}`} />
</div>
</div>
)}
diff --git a/apps/web/core/components/issues/workspace-draft/draft-issue-block.tsx b/apps/web/core/components/issues/workspace-draft/draft-issue-block.tsx
index c7d4654a1b..0f5f0e34de 100644
--- a/apps/web/core/components/issues/workspace-draft/draft-issue-block.tsx
+++ b/apps/web/core/components/issues/workspace-draft/draft-issue-block.tsx
@@ -2,7 +2,8 @@ import type { FC } from "react";
import React, { useRef, useState } from "react";
import { omit } from "lodash-es";
import { observer } from "mobx-react";
-import { Copy, Pencil, SquareStackIcon, Trash2 } from "lucide-react";
+import { SquareStackIcon } from "lucide-react";
+import { CopyIcon, EditIcon, TrashIcon } from "@plane/propel/icons";
// plane utils
import { Tooltip } from "@plane/propel/tooltip";
import type { TWorkspaceDraftIssue } from "@plane/types";
@@ -60,7 +61,7 @@ export const DraftIssueBlock = observer(function DraftIssueBlock(props: Props) {
{
key: "edit",
title: "edit",
- icon: Pencil,
+ icon: EditIcon,
action: () => {
setIssueToEdit(issue);
setCreateUpdateIssueModal(true);
@@ -69,7 +70,7 @@ export const DraftIssueBlock = observer(function DraftIssueBlock(props: Props) {
{
key: "make-a-copy",
title: "make_a_copy",
- icon: Copy,
+ icon: CopyIcon,
action: () => {
setCreateUpdateIssueModal(true);
},
@@ -87,7 +88,7 @@ export const DraftIssueBlock = observer(function DraftIssueBlock(props: Props) {
{
key: "delete",
title: "delete",
- icon: Trash2,
+ icon: TrashIcon,
action: () => {
setDeleteIssueModal(true);
},
diff --git a/apps/web/core/components/labels/project-setting-label-group.tsx b/apps/web/core/components/labels/project-setting-label-group.tsx
index c53931c2dc..2400f28159 100644
--- a/apps/web/core/components/labels/project-setting-label-group.tsx
+++ b/apps/web/core/components/labels/project-setting-label-group.tsx
@@ -1,10 +1,10 @@
import type { Dispatch, SetStateAction } from "react";
import React, { useState } from "react";
import { observer } from "mobx-react";
-import { Pencil, Trash2 } from "lucide-react";
+
import { Disclosure, Transition } from "@headlessui/react";
import { PROJECT_SETTINGS_TRACKER_ELEMENTS } from "@plane/constants";
-import { ChevronDownIcon } from "@plane/propel/icons";
+import { EditIcon, TrashIcon, ChevronDownIcon } from "@plane/propel/icons";
// store
// icons
// types
@@ -53,7 +53,7 @@ export const ProjectSettingLabelGroup = observer(function ProjectSettingLabelGro
const customMenuItems: ICustomMenuItem[] = [
{
- CustomIcon: Pencil,
+ CustomIcon: EditIcon,
onClick: () => {
captureClick({
elementName: PROJECT_SETTINGS_TRACKER_ELEMENTS.LABELS_CONTEXT_MENU,
@@ -66,7 +66,7 @@ export const ProjectSettingLabelGroup = observer(function ProjectSettingLabelGro
key: "edit_label",
},
{
- CustomIcon: Trash2,
+ CustomIcon: TrashIcon,
onClick: () => {
captureClick({
elementName: PROJECT_SETTINGS_TRACKER_ELEMENTS.LABELS_CONTEXT_MENU,
diff --git a/apps/web/core/components/labels/project-setting-label-item.tsx b/apps/web/core/components/labels/project-setting-label-item.tsx
index 795e705a51..98de2e6096 100644
--- a/apps/web/core/components/labels/project-setting-label-item.tsx
+++ b/apps/web/core/components/labels/project-setting-label-item.tsx
@@ -1,9 +1,9 @@
import type { Dispatch, SetStateAction } from "react";
import React, { useState } from "react";
import { useParams } from "next/navigation";
-import { Pencil } from "lucide-react";
+
import { PROJECT_SETTINGS_TRACKER_ELEMENTS } from "@plane/constants";
-import { CloseIcon } from "@plane/propel/icons";
+import { EditIcon, CloseIcon } from "@plane/propel/icons";
// types
import type { IIssueLabel } from "@plane/types";
// hooks
@@ -69,7 +69,7 @@ export function ProjectSettingLabelItem(props: Props) {
key: "remove_from_group",
},
{
- CustomIcon: Pencil,
+ CustomIcon: EditIcon,
onClick: () => {
setEditLabelForm(true);
setIsUpdating(true);
diff --git a/apps/web/core/components/modules/analytics-sidebar/root.tsx b/apps/web/core/components/modules/analytics-sidebar/root.tsx
index 53a7069614..297cdedecc 100644
--- a/apps/web/core/components/modules/analytics-sidebar/root.tsx
+++ b/apps/web/core/components/modules/analytics-sidebar/root.tsx
@@ -2,7 +2,7 @@ import React, { useEffect, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
import { Controller, useForm } from "react-hook-form";
-import { Info, Plus, SquareUser } from "lucide-react";
+import { Info, SquareUser } from "lucide-react";
import { Disclosure, Transition } from "@headlessui/react";
import {
MODULE_STATUS,
@@ -15,6 +15,7 @@ import {
// plane types
import { useTranslation } from "@plane/i18n";
import {
+ PlusIcon,
MembersPropertyIcon,
ModuleStatusIcon,
WorkItemsIcon,
@@ -459,7 +460,7 @@ export const ModuleAnalyticsSidebar = observer(function ModuleAnalyticsSidebar(p
className="flex items-center gap-1.5 text-13 font-medium text-accent-primary"
onClick={() => setModuleLinkModal(true)}
>
- <Plus className="h-3 w-3" />
+ <PlusIcon className="h-3 w-3" />
{t("add_link")}
</button>
</div>
@@ -485,7 +486,7 @@ export const ModuleAnalyticsSidebar = observer(function ModuleAnalyticsSidebar(p
className="flex items-center gap-1.5 text-13 font-medium text-accent-primary"
onClick={() => setModuleLinkModal(true)}
>
- <Plus className="h-3 w-3" />
+ <PlusIcon className="h-3 w-3" />
{t("add_link")}
</button>
)}
diff --git a/apps/web/core/components/modules/archived-modules/header.tsx b/apps/web/core/components/modules/archived-modules/header.tsx
index 9f9444387f..c96f8721d7 100644
--- a/apps/web/core/components/modules/archived-modules/header.tsx
+++ b/apps/web/core/components/modules/archived-modules/header.tsx
@@ -3,9 +3,9 @@ import { useCallback, useRef, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
// icons
-import { ListFilter, Search } from "lucide-react";
+import { ListFilter } from "lucide-react";
import { useOutsideClickDetector } from "@plane/hooks";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
// plane helpers
// types
import type { TModuleFilters } from "@plane/types";
@@ -91,7 +91,7 @@ export const ArchivedModulesHeader = observer(function ArchivedModulesHeader() {
inputRef.current?.focus();
}}
>
- <Search className="h-3.5 w-3.5" />
+ <SearchIcon className="h-3.5 w-3.5" />
</button>
)}
<div
@@ -102,7 +102,7 @@ export const ArchivedModulesHeader = observer(function ArchivedModulesHeader() {
}
)}
>
- <Search className="h-3.5 w-3.5" />
+ <SearchIcon className="h-3.5 w-3.5" />
<input
ref={inputRef}
className="w-full max-w-[234px] border-none bg-transparent text-13 text-primary placeholder:text-placeholder focus:outline-none"
diff --git a/apps/web/core/components/modules/dropdowns/filters/root.tsx b/apps/web/core/components/modules/dropdowns/filters/root.tsx
index d684b1bc31..09a81925f4 100644
--- a/apps/web/core/components/modules/dropdowns/filters/root.tsx
+++ b/apps/web/core/components/modules/dropdowns/filters/root.tsx
@@ -1,9 +1,8 @@
import { useState } from "react";
import { observer } from "mobx-react";
-import { Search } from "lucide-react";
-// plane imports
import type { TModuleStatus } from "@plane/propel/icons";
-import { CloseIcon } from "@plane/propel/icons";
+// plane imports
+import { CloseIcon, SearchIcon } from "@plane/propel/icons";
import type { TModuleDisplayFilters, TModuleFilters } from "@plane/types";
// components
import { FilterOption } from "@/components/issues/issue-layouts/filters";
@@ -38,7 +37,7 @@ export const ModuleFiltersSelection = observer(function ModuleFiltersSelection(p
<div className="flex h-full w-full flex-col overflow-hidden">
<div className="bg-surface-1 p-2.5 pb-0">
<div className="flex items-center gap-1.5 rounded-sm border-[0.5px] border-subtle bg-surface-2 px-1.5 py-1 text-11">
- <Search className="text-placeholder" size={12} strokeWidth={2} />
+ <SearchIcon className="text-placeholder" width={12} height={12} strokeWidth={2} />
<input
type="text"
className="w-full bg-surface-2 outline-none placeholder:text-placeholder"
diff --git a/apps/web/core/components/modules/dropdowns/order-by.tsx b/apps/web/core/components/modules/dropdowns/order-by.tsx
index d5d67de929..c91f0180f4 100644
--- a/apps/web/core/components/modules/dropdowns/order-by.tsx
+++ b/apps/web/core/components/modules/dropdowns/order-by.tsx
@@ -1,8 +1,8 @@
-import { ArrowDownWideNarrow, ArrowUpWideNarrow, Check } from "lucide-react";
+import { ArrowDownWideNarrow, ArrowUpWideNarrow } from "lucide-react";
import { MODULE_ORDER_BY_OPTIONS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { getButtonStyling } from "@plane/propel/button";
-import { ChevronDownIcon } from "@plane/propel/icons";
+import { CheckIcon, ChevronDownIcon } from "@plane/propel/icons";
import type { TModuleOrderByOptions } from "@plane/types";
// ui
import { CustomMenu } from "@plane/ui";
@@ -49,7 +49,7 @@ export function ModuleOrderByDropdown(props: Props) {
}}
>
{t(option.i18n_label)}
- {value?.includes(option.key) && <Check className="h-3 w-3" />}
+ {value?.includes(option.key) && <CheckIcon className="h-3 w-3" />}
</CustomMenu.MenuItem>
))}
{!isManual && (
@@ -62,7 +62,7 @@ export function ModuleOrderByDropdown(props: Props) {
}}
>
Ascending
- {!isDescending && <Check className="h-3 w-3" />}
+ {!isDescending && <CheckIcon className="h-3 w-3" />}
</CustomMenu.MenuItem>
<CustomMenu.MenuItem
className="flex items-center justify-between gap-2"
@@ -71,7 +71,7 @@ export function ModuleOrderByDropdown(props: Props) {
}}
>
Descending
- {isDescending && <Check className="h-3 w-3" />}
+ {isDescending && <CheckIcon className="h-3 w-3" />}
</CustomMenu.MenuItem>
</>
)}
diff --git a/apps/web/core/components/modules/links/list-item.tsx b/apps/web/core/components/modules/links/list-item.tsx
index c57e5b4380..bb34c56992 100644
--- a/apps/web/core/components/modules/links/list-item.tsx
+++ b/apps/web/core/components/modules/links/list-item.tsx
@@ -1,7 +1,8 @@
import { observer } from "mobx-react";
-import { Copy, Pencil, Trash2 } from "lucide-react";
-// plane types
+
import { MODULE_TRACKER_ELEMENTS } from "@plane/constants";
+import { CopyIcon, EditIcon, TrashIcon } from "@plane/propel/icons";
+// plane types
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
import type { ILinkDetails } from "@plane/types";
@@ -67,7 +68,7 @@ export const ModulesLinksListItem = observer(function ModulesLinksListItem(props
handleEditLink();
}}
>
- <Pencil className="size-3 stroke-[1.5]" />
+ <EditIcon className="size-3 stroke-[1.5]" />
</button>
)}
<button
@@ -75,7 +76,7 @@ export const ModulesLinksListItem = observer(function ModulesLinksListItem(props
onClick={() => copyToClipboard(link.url)}
className="grid place-items-center p-1 hover:bg-layer-transparent-hover text-secondary rounded-sm"
>
- <Copy className="size-3 stroke-[1.5]" />
+ <CopyIcon className="size-3 stroke-[1.5]" />
</button>
{isEditingAllowed && (
<button
@@ -88,7 +89,7 @@ export const ModulesLinksListItem = observer(function ModulesLinksListItem(props
handleDeleteLink();
}}
>
- <Trash2 className="size-3 stroke-[1.5]" />
+ <TrashIcon className="size-3 stroke-[1.5]" />
</button>
)}
</div>
diff --git a/apps/web/core/components/modules/module-list-item.tsx b/apps/web/core/components/modules/module-list-item.tsx
index e0f7c2c12e..0d2701613b 100644
--- a/apps/web/core/components/modules/module-list-item.tsx
+++ b/apps/web/core/components/modules/module-list-item.tsx
@@ -2,7 +2,8 @@ import React, { useRef } from "react";
import { observer } from "mobx-react";
import { useParams, usePathname, useSearchParams } from "next/navigation";
// icons
-import { Check, Info } from "lucide-react";
+import { Info } from "lucide-react";
+import { CheckIcon } from "@plane/propel/icons";
// ui
import { CircularProgressIndicator } from "@plane/ui";
// components
@@ -72,12 +73,12 @@ export const ModuleListItem = observer(function ModuleListItem(props: Props) {
<CircularProgressIndicator size={30} percentage={progress} strokeWidth={3}>
{completedModuleCheck ? (
progress === 100 ? (
- <Check className="h-3 w-3 stroke-[2] text-accent-primary" />
+ <CheckIcon className="h-3 w-3 stroke-[2] text-accent-primary" />
) : (
<span className="text-13 text-accent-primary">{`!`}</span>
)
) : progress === 100 ? (
- <Check className="h-3 w-3 stroke-[2] text-accent-primary" />
+ <CheckIcon className="h-3 w-3 stroke-[2] text-accent-primary" />
) : (
<span className="text-9 text-tertiary">{`${progress}%`}</span>
)}
diff --git a/apps/web/core/components/modules/module-view-header.tsx b/apps/web/core/components/modules/module-view-header.tsx
index ef2e4e6268..f2ec043a64 100644
--- a/apps/web/core/components/modules/module-view-header.tsx
+++ b/apps/web/core/components/modules/module-view-header.tsx
@@ -2,13 +2,13 @@ import type { FC } from "react";
import React, { useCallback, useEffect, useRef, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
-import { ListFilter, Search } from "lucide-react";
+import { ListFilter } from "lucide-react";
// plane helpers
import { MODULE_VIEW_LAYOUTS } from "@plane/constants";
import { useOutsideClickDetector } from "@plane/hooks";
// types
import { useTranslation } from "@plane/i18n";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
import type { TModuleFilters } from "@plane/types";
// ui
@@ -105,7 +105,7 @@ export const ModuleViewHeader = observer(function ModuleViewHeader() {
setIsSearchOpen(true);
inputRef.current?.focus();
}}
- icon={Search}
+ icon={SearchIcon}
/>
)}
<div
@@ -116,7 +116,7 @@ export const ModuleViewHeader = observer(function ModuleViewHeader() {
}
)}
>
- <Search className="h-3.5 w-3.5" />
+ <SearchIcon className="h-3.5 w-3.5" />
<input
ref={inputRef}
className="w-full max-w-[234px] border-none bg-transparent text-13 text-primary placeholder:text-placeholder focus:outline-none"
diff --git a/apps/web/core/components/navigation/app-rail-root.tsx b/apps/web/core/components/navigation/app-rail-root.tsx
index 097c6165b5..bf096b59d3 100644
--- a/apps/web/core/components/navigation/app-rail-root.tsx
+++ b/apps/web/core/components/navigation/app-rail-root.tsx
@@ -1,8 +1,9 @@
"use client";
import { observer } from "mobx-react";
import { useParams, usePathname } from "next/navigation";
-import { Check, SettingsIcon } from "lucide-react";
+import { SettingsIcon } from "lucide-react";
import { ContextMenu } from "@plane/propel/context-menu";
+import { CheckIcon } from "@plane/propel/icons";
import { cn } from "@plane/utils";
// components
import { AppSidebarItem } from "@/components/sidebar/sidebar-item";
@@ -63,13 +64,13 @@ export const AppRailRoot = observer(() => {
<ContextMenu.Item onClick={() => updateDisplayMode("icon_only")}>
<div className="flex items-center justify-between w-full gap-2">
<span className="text-11">Icon only</span>
- {preferences.displayMode === "icon_only" && <Check className="size-3.5" />}
+ {preferences.displayMode === "icon_only" && <CheckIcon className="size-3.5" />}
</div>
</ContextMenu.Item>
<ContextMenu.Item onClick={() => updateDisplayMode("icon_with_label")}>
<div className="flex items-center justify-between w-full gap-2">
<span className="text-11">Icon with name</span>
- {preferences.displayMode === "icon_with_label" && <Check className="size-3.5" />}
+ {preferences.displayMode === "icon_with_label" && <CheckIcon className="size-3.5" />}
</div>
</ContextMenu.Item>
<ContextMenu.Separator />
diff --git a/apps/web/core/components/navigation/project-actions-menu.tsx b/apps/web/core/components/navigation/project-actions-menu.tsx
index b6cdf54c83..1eab05815b 100644
--- a/apps/web/core/components/navigation/project-actions-menu.tsx
+++ b/apps/web/core/components/navigation/project-actions-menu.tsx
@@ -1,10 +1,11 @@
import type { FC } from "react";
import { useState, useRef } from "react";
import { useNavigate } from "react-router";
-import { LinkIcon, LogOut, MoreHorizontal, Settings, Share2, ArchiveIcon } from "lucide-react";
+import { LogOut, MoreHorizontal, Settings, Share2, ArchiveIcon } from "lucide-react";
// plane imports
import { MEMBER_TRACKER_ELEMENTS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
+import { LinkIcon } from "@plane/propel/icons";
import { CustomMenu } from "@plane/ui";
type Props = {
diff --git a/apps/web/core/components/onboarding/invite-members.tsx b/apps/web/core/components/onboarding/invite-members.tsx
index 02abf4f756..f78d114a0b 100644
--- a/apps/web/core/components/onboarding/invite-members.tsx
+++ b/apps/web/core/components/onboarding/invite-members.tsx
@@ -11,7 +11,7 @@ import type {
import { Controller, useFieldArray, useForm } from "react-hook-form";
// icons
import { usePopper } from "react-popper";
-import { Check, Plus, XCircle } from "lucide-react";
+import { XCircle } from "lucide-react";
import { Listbox } from "@headlessui/react";
// plane imports
import type { EUserPermissions } from "@plane/constants";
@@ -19,7 +19,7 @@ import { ROLE, ROLE_DETAILS, MEMBER_TRACKER_EVENTS, MEMBER_TRACKER_ELEMENTS } fr
import { useTranslation } from "@plane/i18n";
// types
import { Button } from "@plane/propel/button";
-import { ChevronDownIcon } from "@plane/propel/icons";
+import { PlusIcon, CheckIcon, ChevronDownIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { IUser, IWorkspace } from "@plane/types";
// ui
@@ -226,7 +226,7 @@ const InviteMemberInput = observer(function InviteMemberInput(props: InviteMembe
<div className="text-13 font-medium">{t(value.i18n_title)}</div>
<div className="flex text-11 text-tertiary">{t(value.i18n_description)}</div>
</div>
- {selected && <Check className="h-4 w-4 shrink-0" />}
+ {selected && <CheckIcon className="h-4 w-4 shrink-0" />}
</div>
)}
</Listbox.Option>
@@ -388,7 +388,7 @@ export function InviteMembers(props: Props) {
className="flex items-center mx-8 gap-1.5 bg-transparent text-13 font-medium text-accent-primary outline-accent-strong"
onClick={appendField}
>
- <Plus className="h-4 w-4" strokeWidth={2} />
+ <PlusIcon className="h-4 w-4" strokeWidth={2} />
Add another
</button>
</div>
diff --git a/apps/web/core/components/onboarding/steps/profile/consent.tsx b/apps/web/core/components/onboarding/steps/profile/consent.tsx
index ec1b51865b..d94478b0e3 100644
--- a/apps/web/core/components/onboarding/steps/profile/consent.tsx
+++ b/apps/web/core/components/onboarding/steps/profile/consent.tsx
@@ -1,5 +1,6 @@
import type { FC } from "react";
-import { Check } from "lucide-react";
+
+import { CheckIcon } from "@plane/propel/icons";
type Props = {
isChecked: boolean;
@@ -16,7 +17,7 @@ export function MarketingConsent({ isChecked, handleChange }: Props) {
isChecked ? "bg-accent-primary border-accent-strong" : "border-strong"
}`}
>
- {isChecked && <Check className="w-3 h-3 text-on-color" />}
+ {isChecked && <CheckIcon className="w-3 h-3 text-on-color" />}
</button>
<span className="text-13 text-tertiary">I agree to Plane marketing communications</span>
</div>
diff --git a/apps/web/core/components/onboarding/steps/profile/set-password.tsx b/apps/web/core/components/onboarding/steps/profile/set-password.tsx
index 5087740faf..614cb32581 100644
--- a/apps/web/core/components/onboarding/steps/profile/set-password.tsx
+++ b/apps/web/core/components/onboarding/steps/profile/set-password.tsx
@@ -1,6 +1,5 @@
import React, { useState, useCallback, useMemo } from "react";
-import { Lock } from "lucide-react";
-import { ChevronDownIcon } from "@plane/propel/icons";
+import { LockIcon, ChevronDownIcon } from "@plane/propel/icons";
import { PasswordInput, PasswordStrengthIndicator } from "@plane/ui";
import { cn } from "@plane/utils";
@@ -81,7 +80,7 @@ export function SetPasswordRoot({ onPasswordChange, onConfirmPasswordChange, dis
onClick={handleToggleExpand}
>
<div className="flex items-center gap-1 text-tertiary">
- <Lock className="size-3" />
+ <LockIcon className="size-3" />
<span className="font-medium">Set a password</span>
<span>{`(Optional)`}</span>
</div>
diff --git a/apps/web/core/components/onboarding/steps/role/root.tsx b/apps/web/core/components/onboarding/steps/role/root.tsx
index 14a2825242..63342cce21 100644
--- a/apps/web/core/components/onboarding/steps/role/root.tsx
+++ b/apps/web/core/components/onboarding/steps/role/root.tsx
@@ -1,11 +1,11 @@
import type { FC } from "react";
import { observer } from "mobx-react";
import { Controller, useForm } from "react-hook-form";
-import { Box, Check, PenTool, Rocket, Monitor, RefreshCw } from "lucide-react";
+import { Box, PenTool, Rocket, Monitor, RefreshCw } from "lucide-react";
// plane imports
import { ONBOARDING_TRACKER_ELEMENTS, USER_TRACKER_EVENTS } from "@plane/constants";
import { Button } from "@plane/propel/button";
-import { ViewsIcon } from "@plane/propel/icons";
+import { CheckIcon, ViewsIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { TUserProfile } from "@plane/types";
import { EOnboardingSteps } from "@plane/types";
@@ -143,7 +143,7 @@ export const RoleSetupStep = observer(function RoleSetupStep({ handleStepChange
<button
className={`size-4 rounded-sm border-2 flex items-center justify-center bg-accent-primary border-blue-500`}
>
- <Check className="w-3 h-3 text-on-color" />
+ <CheckIcon className="w-3 h-3 text-on-color" />
</button>
</>
)}
diff --git a/apps/web/core/components/onboarding/steps/team/root.tsx b/apps/web/core/components/onboarding/steps/team/root.tsx
index 8a6dc92057..a5263d01d9 100644
--- a/apps/web/core/components/onboarding/steps/team/root.tsx
+++ b/apps/web/core/components/onboarding/steps/team/root.tsx
@@ -11,14 +11,14 @@ import type {
import { Controller, useFieldArray, useForm } from "react-hook-form";
// icons
import { usePopper } from "react-popper";
-import { Check, Plus, XCircle } from "lucide-react";
+import { XCircle } from "lucide-react";
import { Listbox } from "@headlessui/react";
// plane imports
import type { EUserPermissions } from "@plane/constants";
import { ROLE, ROLE_DETAILS, MEMBER_TRACKER_EVENTS, MEMBER_TRACKER_ELEMENTS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
-import { ChevronDownIcon } from "@plane/propel/icons";
+import { PlusIcon, CheckIcon, ChevronDownIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
// types
import { EOnboardingSteps } from "@plane/types";
@@ -227,7 +227,7 @@ const InviteMemberInput = observer(function InviteMemberInput(props: InviteMembe
<div className="text-13 font-medium">{t(value.i18n_title)}</div>
<div className="flex text-11 text-tertiary">{t(value.i18n_description)}</div>
</div>
- {selected && <Check className="h-4 w-4 shrink-0" />}
+ {selected && <CheckIcon className="h-4 w-4 shrink-0" />}
</div>
)}
</Listbox.Option>
@@ -388,7 +388,7 @@ export const InviteTeamStep = observer(function InviteTeamStep(props: Props) {
className="flex items-center mx-8 gap-1.5 bg-transparent text-13 font-medium text-accent-primary outline-accent-strong"
onClick={appendField}
>
- <Plus className="h-4 w-4" strokeWidth={2} />
+ <PlusIcon className="h-4 w-4" strokeWidth={2} />
Add another
</button>
</div>
diff --git a/apps/web/core/components/onboarding/steps/usecase/root.tsx b/apps/web/core/components/onboarding/steps/usecase/root.tsx
index 2d1a0c35ce..a33eac894b 100644
--- a/apps/web/core/components/onboarding/steps/usecase/root.tsx
+++ b/apps/web/core/components/onboarding/steps/usecase/root.tsx
@@ -1,10 +1,11 @@
import type { FC } from "react";
import { observer } from "mobx-react";
import { Controller, useForm } from "react-hook-form";
-import { Check } from "lucide-react";
+
// plane imports
import { ONBOARDING_TRACKER_ELEMENTS, USER_TRACKER_EVENTS, USE_CASES } from "@plane/constants";
import { Button } from "@plane/propel/button";
+import { CheckIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { TUserProfile } from "@plane/types";
import { EOnboardingSteps } from "@plane/types";
@@ -140,7 +141,7 @@ export const UseCaseSetupStep = observer(function UseCaseSetupStep({ handleStepC
"border-strong": !isSelected,
})}
>
- <Check
+ <CheckIcon
className={cn("w-3 h-3 text-on-color", {
"opacity-100": isSelected,
"opacity-0": !isSelected,
diff --git a/apps/web/core/components/pages/dropdowns/actions.tsx b/apps/web/core/components/pages/dropdowns/actions.tsx
index c2ea9ec042..07180394ff 100644
--- a/apps/web/core/components/pages/dropdowns/actions.tsx
+++ b/apps/web/core/components/pages/dropdowns/actions.tsx
@@ -1,24 +1,13 @@
import { useMemo, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
-import {
- ArchiveRestoreIcon,
- Copy,
- ExternalLink,
- FileOutput,
- Globe2,
- Link,
- Lock,
- LockKeyhole,
- LockKeyholeOpen,
- Trash2,
-} from "lucide-react";
+import { ArchiveRestoreIcon, FileOutput, LockKeyhole, LockKeyholeOpen } from "lucide-react";
// constants
import { EPageAccess, PROJECT_PAGE_TRACKER_ELEMENTS } from "@plane/constants";
// plane editor
import type { EditorRefApi } from "@plane/editor";
+import { LinkIcon, CopyIcon, LockIcon, NewTabIcon, ArchiveIcon, TrashIcon, GlobeIcon } from "@plane/propel/icons";
// plane ui
-import { ArchiveIcon } from "@plane/propel/icons";
import type { TContextMenuItem } from "@plane/ui";
import { ContextMenu, CustomMenu } from "@plane/ui";
// components
@@ -111,21 +100,21 @@ export const PageActions = observer(function PageActions(props: Props) {
pageOperations.toggleAccess();
},
title: access === EPageAccess.PUBLIC ? "Make private" : "Make public",
- icon: access === EPageAccess.PUBLIC ? Lock : Globe2,
+ icon: access === EPageAccess.PUBLIC ? LockIcon : GlobeIcon,
shouldRender: canCurrentUserChangeAccess && !archived_at,
},
{
key: "open-in-new-tab",
action: pageOperations.openInNewTab,
title: "Open in new tab",
- icon: ExternalLink,
+ icon: NewTabIcon,
shouldRender: true,
},
{
key: "copy-link",
action: pageOperations.copyLink,
title: "Copy link",
- icon: Link,
+ icon: LinkIcon,
shouldRender: true,
},
{
@@ -137,7 +126,7 @@ export const PageActions = observer(function PageActions(props: Props) {
pageOperations.duplicate();
},
title: "Make a copy",
- icon: Copy,
+ icon: CopyIcon,
shouldRender: canCurrentUserDuplicatePage,
},
{
@@ -161,7 +150,7 @@ export const PageActions = observer(function PageActions(props: Props) {
setDeletePageModal(true);
},
title: "Delete",
- icon: Trash2,
+ icon: TrashIcon,
shouldRender: canCurrentUserDeletePage && !!archived_at,
},
{
diff --git a/apps/web/core/components/pages/editor/toolbar/toolbar.tsx b/apps/web/core/components/pages/editor/toolbar/toolbar.tsx
index bf4f2d4988..b5dd1cc2b3 100644
--- a/apps/web/core/components/pages/editor/toolbar/toolbar.tsx
+++ b/apps/web/core/components/pages/editor/toolbar/toolbar.tsx
@@ -1,8 +1,7 @@
import React, { useEffect, useState, useCallback } from "react";
-import { Check } from "lucide-react";
-// plane imports
import type { EditorRefApi } from "@plane/editor";
-import { ChevronDownIcon } from "@plane/propel/icons";
+// plane imports
+import { CheckIcon, ChevronDownIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
import { CustomMenu } from "@plane/ui";
import { cn } from "@plane/utils";
@@ -154,7 +153,7 @@ export function PageToolbar(props: Props) {
<item.icon className="size-3" />
{item.name}
</span>
- {activeTypography?.itemKey === item.itemKey && <Check className="size-3 text-tertiary shrink-0" />}
+ {activeTypography?.itemKey === item.itemKey && <CheckIcon className="size-3 text-tertiary shrink-0" />}
</CustomMenu.MenuItem>
))}
</CustomMenu>
diff --git a/apps/web/core/components/pages/header/copy-link-control.tsx b/apps/web/core/components/pages/header/copy-link-control.tsx
index 9a0234b7f9..aa502f7123 100644
--- a/apps/web/core/components/pages/header/copy-link-control.tsx
+++ b/apps/web/core/components/pages/header/copy-link-control.tsx
@@ -1,6 +1,7 @@
import { useState, useRef, useEffect, useCallback } from "react";
import { observer } from "mobx-react";
-import { Link, Check } from "lucide-react";
+
+import { LinkIcon, CheckIcon } from "@plane/propel/icons";
// plane imports
import { Tooltip } from "@plane/propel/tooltip";
import { IconButton } from "@plane/propel/icon-button";
@@ -54,7 +55,7 @@ export const PageCopyLinkControl = observer(function PageCopyLinkControl({ page
<IconButton
variant="ghost"
size="lg"
- icon={isCopied ? Check : Link}
+ icon={isCopied ? CheckIcon : LinkIcon}
onClick={handleCopy}
aria-label={isCopied ? "Copied link" : "Copy link"}
className={cn(isCopied && "text-success-primary")}
diff --git a/apps/web/core/components/pages/list/block-item-action.tsx b/apps/web/core/components/pages/list/block-item-action.tsx
index 1ed8f33b7e..278a83dd48 100644
--- a/apps/web/core/components/pages/list/block-item-action.tsx
+++ b/apps/web/core/components/pages/list/block-item-action.tsx
@@ -1,7 +1,8 @@
import { observer } from "mobx-react";
-import { Earth, Info, Lock, Minus } from "lucide-react";
+import { Earth, Info, Minus } from "lucide-react";
// plane imports
import { PROJECT_PAGE_TRACKER_ELEMENTS } from "@plane/constants";
+import { LockIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
import { Avatar, FavoriteStar } from "@plane/ui";
import { renderFormattedDate, getFileURL } from "@plane/utils";
@@ -45,7 +46,7 @@ export const BlockItemAction = observer(function BlockItemAction(props: Props) {
</div>
<div className="cursor-default text-tertiary">
<Tooltip tooltipContent={access === 0 ? "Public" : "Private"}>
- {access === 0 ? <Earth className="h-4 w-4" /> : <Lock className="h-4 w-4" />}
+ {access === 0 ? <Earth className="h-4 w-4" /> : <LockIcon className="h-4 w-4" />}
</Tooltip>
</div>
{/* vertical divider */}
diff --git a/apps/web/core/components/pages/list/filters/root.tsx b/apps/web/core/components/pages/list/filters/root.tsx
index 320e18c800..52ec6a8acb 100644
--- a/apps/web/core/components/pages/list/filters/root.tsx
+++ b/apps/web/core/components/pages/list/filters/root.tsx
@@ -1,7 +1,6 @@
import { useState, useRef, useEffect } from "react";
import { observer } from "mobx-react";
-import { Search } from "lucide-react";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
import type { TPageFilterProps, TPageFilters } from "@plane/types";
// components
import { FilterCreatedDate } from "@/components/common/filters/created-at";
@@ -55,7 +54,7 @@ export const PageFiltersSelection = observer(function PageFiltersSelection(props
<div className="flex h-full w-full flex-col overflow-hidden">
<div className="bg-layer-transparent p-2.5 pb-0">
<div className="flex items-center gap-1.5 rounded-sm border-[0.5px] border-subtle bg-surface-2 px-1.5 py-1 text-11">
- <Search className="text-placeholder" size={12} strokeWidth={2} />
+ <SearchIcon className="text-placeholder" width={12} height={12} strokeWidth={2} />
<input
ref={inputRef}
type="text"
diff --git a/apps/web/core/components/pages/list/order-by.tsx b/apps/web/core/components/pages/list/order-by.tsx
index 7c38f80e39..867247a0be 100644
--- a/apps/web/core/components/pages/list/order-by.tsx
+++ b/apps/web/core/components/pages/list/order-by.tsx
@@ -1,6 +1,8 @@
import { ArrowDownWideNarrow, ArrowUpWideNarrow, Check } from "lucide-react";
// plane imports
import { getButtonStyling } from "@plane/propel/button";
+// types
+import { CheckIcon, ChevronDownIcon } from "@plane/propel/icons";
import type { TPageFiltersSortBy, TPageFiltersSortKey } from "@plane/types";
import { CustomMenu } from "@plane/ui";
@@ -48,7 +50,7 @@ export function PageOrderByDropdown(props: Props) {
}
>
{option.label}
- {sortKey === option.key && <Check className="h-3 w-3" />}
+ {sortKey === option.key && <CheckIcon className="h-3 w-3" />}
</CustomMenu.MenuItem>
))}
<hr className="my-2 border-subtle" />
@@ -62,7 +64,7 @@ export function PageOrderByDropdown(props: Props) {
}}
>
Ascending
- {!isDescending && <Check className="h-3 w-3" />}
+ {!isDescending && <CheckIcon className="h-3 w-3" />}
</CustomMenu.MenuItem>
<CustomMenu.MenuItem
className="flex items-center justify-between gap-2"
@@ -74,7 +76,7 @@ export function PageOrderByDropdown(props: Props) {
}}
>
Descending
- {isDescending && <Check className="h-3 w-3" />}
+ {isDescending && <CheckIcon className="h-3 w-3" />}
</CustomMenu.MenuItem>
</CustomMenu>
);
diff --git a/apps/web/core/components/pages/list/search-input.tsx b/apps/web/core/components/pages/list/search-input.tsx
index ae10d97fc1..fc8492f71a 100644
--- a/apps/web/core/components/pages/list/search-input.tsx
+++ b/apps/web/core/components/pages/list/search-input.tsx
@@ -1,9 +1,8 @@
import { useRef, useState } from "react";
-import { Search } from "lucide-react";
// plane imports
import { useOutsideClickDetector } from "@plane/hooks";
import { IconButton } from "@plane/propel/icon-button";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
import { cn } from "@plane/utils";
type Props = {
@@ -44,7 +43,7 @@ export function PageSearchInput(props: Props) {
setIsSearchOpen(true);
inputRef.current?.focus();
}}
- icon={Search}
+ icon={SearchIcon}
/>
)}
<div
@@ -55,7 +54,7 @@ export function PageSearchInput(props: Props) {
}
)}
>
- <Search className="h-3.5 w-3.5" />
+ <SearchIcon className="h-3.5 w-3.5" />
<input
ref={inputRef}
className="w-full max-w-[234px] border-none bg-transparent text-13 text-primary placeholder:text-placeholder focus:outline-none ml-2"
diff --git a/apps/web/core/components/pages/modals/page-form.tsx b/apps/web/core/components/pages/modals/page-form.tsx
index 8e18e7620b..05dcc95ba4 100644
--- a/apps/web/core/components/pages/modals/page-form.tsx
+++ b/apps/web/core/components/pages/modals/page-form.tsx
@@ -1,13 +1,14 @@
import type { FormEvent } from "react";
import { useState } from "react";
import type { LucideIcon } from "lucide-react";
-import { Globe2, Lock } from "lucide-react";
+
// plane imports
import { ETabIndices, EPageAccess } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
import { EmojiPicker, EmojiIconPickerTypes, Logo } from "@plane/propel/emoji-icon-picker";
-import { PageIcon } from "@plane/propel/icons";
+import { GlobeIcon, LockIcon, PageIcon } from "@plane/propel/icons";
+import type { ISvgIcons } from "@plane/propel/icons";
import type { TPage } from "@plane/types";
import { Input } from "@plane/ui";
import { getTabIndex } from "@plane/utils";
@@ -26,10 +27,10 @@ type Props = {
const PAGE_ACCESS_SPECIFIERS: {
key: EPageAccess;
i18n_label: string;
- icon: LucideIcon;
+ icon: LucideIcon | React.FC<ISvgIcons>;
}[] = [
- { key: EPageAccess.PUBLIC, i18n_label: "common.access.public", icon: Globe2 },
- { key: EPageAccess.PRIVATE, i18n_label: "common.access.private", icon: Lock },
+ { key: EPageAccess.PUBLIC, i18n_label: "common.access.public", icon: GlobeIcon },
+ { key: EPageAccess.PRIVATE, i18n_label: "common.access.private", icon: LockIcon },
];
export function PageForm(props: Props) {
diff --git a/apps/web/core/components/power-k/config/miscellaneous-commands.ts b/apps/web/core/components/power-k/config/miscellaneous-commands.ts
index 4e69bea051..562f4dea50 100644
--- a/apps/web/core/components/power-k/config/miscellaneous-commands.ts
+++ b/apps/web/core/components/power-k/config/miscellaneous-commands.ts
@@ -1,7 +1,8 @@
import { useCallback } from "react";
-import { Link, PanelLeft, Search } from "lucide-react";
-// plane imports
+import { PanelLeft } from "lucide-react";
import { useTranslation } from "@plane/i18n";
+import { LinkIcon, SearchIcon } from "@plane/propel/icons";
+// plane imports
import { setToast, TOAST_TYPE } from "@plane/propel/toast";
import { copyTextToClipboard } from "@plane/utils";
// components
@@ -62,7 +63,7 @@ export const usePowerKMiscellaneousCommands = (): TPowerKCommandConfig[] => {
group: "miscellaneous",
type: "action",
i18n_title: "power_k.miscellaneous_actions.copy_current_page_url",
- icon: Link,
+ icon: LinkIcon,
action: copyCurrentPageUrlToClipboard,
modifierShortcut: "cmd+shift+c",
isEnabled: () => true,
@@ -74,7 +75,7 @@ export const usePowerKMiscellaneousCommands = (): TPowerKCommandConfig[] => {
group: "miscellaneous",
type: "action",
i18n_title: "power_k.miscellaneous_actions.focus_top_nav_search",
- icon: Search,
+ icon: SearchIcon,
action: focusTopNavSearch,
modifierShortcut: "cmd+f",
isEnabled: () => true,
diff --git a/apps/web/core/components/power-k/ui/modal/command-item.tsx b/apps/web/core/components/power-k/ui/modal/command-item.tsx
index 071951c8cd..669b53abcf 100644
--- a/apps/web/core/components/power-k/ui/modal/command-item.tsx
+++ b/apps/web/core/components/power-k/ui/modal/command-item.tsx
@@ -1,6 +1,7 @@
import React from "react";
import { Command } from "cmdk";
-import { Check } from "lucide-react";
+
+import { CheckIcon } from "@plane/propel/icons";
// plane imports
import { cn } from "@plane/utils";
// local imports
@@ -33,7 +34,7 @@ export function PowerKModalCommandItem(props: Props) {
{label}
</div>
<div className="shrink-0 flex items-center gap-2">
- {isSelected && <Check className="shrink-0 size-3 text-secondary" />}
+ {isSelected && <CheckIcon className="shrink-0 size-3 text-secondary" />}
{keySequence && <KeySequenceBadge sequence={keySequence} />}
{shortcut && <ShortcutBadge shortcut={shortcut} />}
</div>
diff --git a/apps/web/core/components/power-k/ui/modal/header.tsx b/apps/web/core/components/power-k/ui/modal/header.tsx
index 9ed4f0c748..5fb45526ae 100644
--- a/apps/web/core/components/power-k/ui/modal/header.tsx
+++ b/apps/web/core/components/power-k/ui/modal/header.tsx
@@ -1,8 +1,9 @@
import React from "react";
import { Command } from "cmdk";
-import { X, Search } from "lucide-react";
-// plane imports
+import { X } from "lucide-react";
import { useTranslation } from "@plane/i18n";
+// plane imports
+import { SearchIcon } from "@plane/propel/icons";
// local imports
import type { TPowerKContext, TPowerKPageType } from "../../core/types";
import { POWER_K_MODAL_PAGE_DETAILS } from "./constants";
@@ -36,7 +37,7 @@ export function PowerKModalHeader(props: Props) {
{/* Search Input */}
<div className="flex items-center gap-2 px-4 py-3">
- <Search className="shrink-0 size-4 text-placeholder" />
+ <SearchIcon className="shrink-0 size-4 text-placeholder" />
<Command.Input
value={searchTerm}
onValueChange={onSearchChange}
diff --git a/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx b/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx
index 8e13e37de5..202c772f5e 100644
--- a/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx
+++ b/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx
@@ -1,8 +1,7 @@
import { useState, Fragment } from "react";
-import { Search } from "lucide-react";
import { Dialog, Transition } from "@headlessui/react";
// plane imports
-import { CloseIcon } from "@plane/propel/icons";
+import { CloseIcon, SearchIcon } from "@plane/propel/icons";
import { Input } from "@plane/ui";
// hooks
import { usePowerK } from "@/hooks/store/use-power-k";
@@ -64,7 +63,7 @@ export function ShortcutsModal(props: Props) {
</button>
</Dialog.Title>
<div className="flex w-full items-center rounded-sm border-[0.5px] border-subtle bg-surface-2 px-2">
- <Search className="h-3.5 w-3.5 text-secondary" />
+ <SearchIcon className="h-3.5 w-3.5 text-secondary" />
<Input
id="search"
name="search"
diff --git a/apps/web/core/components/power-k/ui/pages/context-based/cycle/commands.ts b/apps/web/core/components/power-k/ui/pages/context-based/cycle/commands.ts
index bab95a2dcc..4b277f03e9 100644
--- a/apps/web/core/components/power-k/ui/pages/context-based/cycle/commands.ts
+++ b/apps/web/core/components/power-k/ui/pages/context-based/cycle/commands.ts
@@ -1,9 +1,10 @@
import { useCallback } from "react";
import { useParams } from "next/navigation";
-import { LinkIcon, Star, StarOff } from "lucide-react";
+import { Star, StarOff } from "lucide-react";
// plane imports
import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
+import { LinkIcon } from "@plane/propel/icons";
import { setToast, TOAST_TYPE } from "@plane/propel/toast";
import { copyTextToClipboard } from "@plane/utils";
// components
diff --git a/apps/web/core/components/power-k/ui/pages/context-based/module/commands.tsx b/apps/web/core/components/power-k/ui/pages/context-based/module/commands.tsx
index 757fa75af8..ad280b3a35 100644
--- a/apps/web/core/components/power-k/ui/pages/context-based/module/commands.tsx
+++ b/apps/web/core/components/power-k/ui/pages/context-based/module/commands.tsx
@@ -1,10 +1,10 @@
import { useCallback } from "react";
import { useParams } from "next/navigation";
-import { LinkIcon, Star, StarOff, Users } from "lucide-react";
+import { Star, StarOff, Users } from "lucide-react";
// plane imports
import { EUserPermissionsLevel } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
-import { ModuleStatusIcon } from "@plane/propel/icons";
+import { LinkIcon, ModuleStatusIcon } from "@plane/propel/icons";
import { setToast, TOAST_TYPE } from "@plane/propel/toast";
import type { IModule, TModuleStatus } from "@plane/types";
import { EUserPermissions } from "@plane/types";
diff --git a/apps/web/core/components/power-k/ui/pages/context-based/page/commands.ts b/apps/web/core/components/power-k/ui/pages/context-based/page/commands.ts
index c0f48ca1c9..f22dc49b16 100644
--- a/apps/web/core/components/power-k/ui/pages/context-based/page/commands.ts
+++ b/apps/web/core/components/power-k/ui/pages/context-based/page/commands.ts
@@ -1,18 +1,9 @@
import { useCallback } from "react";
import { useParams } from "next/navigation";
-import {
- ArchiveIcon,
- ArchiveRestoreIcon,
- Globe2,
- LinkIcon,
- Lock,
- LockKeyhole,
- LockKeyholeOpen,
- Star,
- StarOff,
-} from "lucide-react";
-// plane imports
+import { ArchiveIcon, ArchiveRestoreIcon, LockKeyhole, LockKeyholeOpen, Star, StarOff } from "lucide-react";
import { useTranslation } from "@plane/i18n";
+// plane imports
+import { LinkIcon, GlobeIcon, LockIcon } from "@plane/propel/icons";
import { setToast, TOAST_TYPE } from "@plane/propel/toast";
import { EPageAccess } from "@plane/types";
import { copyTextToClipboard } from "@plane/utils";
@@ -110,7 +101,7 @@ export const usePowerKPageContextBasedActions = (): TPowerKCommandConfig[] => {
access === EPageAccess.PUBLIC
? "power_k.contextual_actions.page.make_private"
: "power_k.contextual_actions.page.make_public",
- icon: access === EPageAccess.PUBLIC ? Lock : Globe2,
+ icon: access === EPageAccess.PUBLIC ? LockIcon : GlobeIcon,
group: "contextual",
contextType: "page",
type: "action",
diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/commands.ts b/apps/web/core/components/power-k/ui/pages/context-based/work-item/commands.ts
index 875ba37bc3..5baf85f281 100644
--- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/commands.ts
+++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/commands.ts
@@ -3,11 +3,9 @@ import { useParams } from "next/navigation";
import {
Bell,
BellOff,
- LinkIcon,
Signal,
TagIcon,
TicketCheck,
- Trash2,
Triangle,
Type,
UserMinus2,
@@ -17,7 +15,7 @@ import {
// plane imports
import { EUserPermissionsLevel } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
-import { ContrastIcon, DiceIcon, DoubleCircleIcon } from "@plane/propel/icons";
+import { LinkIcon, TrashIcon, ContrastIcon, DiceIcon, DoubleCircleIcon } from "@plane/propel/icons";
import { setToast, TOAST_TYPE } from "@plane/propel/toast";
import type { ICycle, IIssueLabel, IModule, TIssue, TIssuePriorities } from "@plane/types";
import { EIssueServiceType, EUserPermissions } from "@plane/types";
@@ -400,7 +398,7 @@ export const usePowerKWorkItemContextBasedCommands = (): TPowerKCommandConfig[]
{
id: "delete_work_item",
i18n_title: "power_k.contextual_actions.work_item.delete",
- icon: Trash2,
+ icon: TrashIcon,
group: "contextual",
contextType: "work-item",
type: "action",
diff --git a/apps/web/core/components/profile/sidebar.tsx b/apps/web/core/components/profile/sidebar.tsx
index 69384344a0..5530a42dc7 100644
--- a/apps/web/core/components/profile/sidebar.tsx
+++ b/apps/web/core/components/profile/sidebar.tsx
@@ -3,7 +3,7 @@ import { observer } from "mobx-react";
import Link from "next/link";
import { useParams } from "next/navigation";
// icons
-import { Pencil } from "lucide-react";
+
// headless ui
import { Disclosure, Transition } from "@headlessui/react";
// plane helpers
@@ -11,7 +11,7 @@ import { useOutsideClickDetector } from "@plane/hooks";
// types
import { useTranslation } from "@plane/i18n";
import { Logo } from "@plane/propel/emoji-icon-picker";
-import { ChevronDownIcon } from "@plane/propel/icons";
+import { EditIcon, ChevronDownIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
import type { IUserProfileProjectSegregation } from "@plane/types";
// plane ui
@@ -96,7 +96,7 @@ export const ProfileSidebar = observer(function ProfileSidebar(props: TProfileSi
<div className="absolute right-3.5 top-3.5 grid h-5 w-5 place-items-center rounded-sm bg-white">
<Link href={`/${workspaceSlug}/settings/account`}>
<span className="grid place-items-center text-black">
- <Pencil className="h-3 w-3" />
+ <EditIcon className="h-3 w-3" />
</span>
</Link>
</div>
diff --git a/apps/web/core/components/project-states/group-item.tsx b/apps/web/core/components/project-states/group-item.tsx
index a2c1a2df74..485e35037c 100644
--- a/apps/web/core/components/project-states/group-item.tsx
+++ b/apps/web/core/components/project-states/group-item.tsx
@@ -1,10 +1,10 @@
import { useState, useRef } from "react";
import { observer } from "mobx-react";
-import { Plus } from "lucide-react";
+
// plane imports
import { EIconSize, STATE_TRACKER_ELEMENTS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
-import { StateGroupIcon, ChevronDownIcon } from "@plane/propel/icons";
+import { PlusIcon, StateGroupIcon, ChevronDownIcon } from "@plane/propel/icons";
import type { IState, TStateGroups, TStateOperationsCallbacks } from "@plane/types";
import { cn } from "@plane/utils";
// components
@@ -89,7 +89,7 @@ export const GroupItem = observer(function GroupItem(props: TGroupItem) {
}}
disabled={!isEditable || createState}
>
- <Plus className="w-4 h-4" />
+ <PlusIcon className="w-4 h-4" />
</button>
</div>
diff --git a/apps/web/core/components/project-states/state-item-title.tsx b/apps/web/core/components/project-states/state-item-title.tsx
index e0db342adb..db6eb7ca0e 100644
--- a/apps/web/core/components/project-states/state-item-title.tsx
+++ b/apps/web/core/components/project-states/state-item-title.tsx
@@ -1,9 +1,9 @@
import type { SetStateAction } from "react";
import { observer } from "mobx-react";
-import { GripVertical, Pencil } from "lucide-react";
-// plane imports
+import { GripVertical } from "lucide-react";
import { EIconSize, STATE_TRACKER_ELEMENTS } from "@plane/constants";
-import { StateGroupIcon } from "@plane/propel/icons";
+// plane imports
+import { EditIcon, StateGroupIcon } from "@plane/propel/icons";
import type { IState, TStateOperationsCallbacks } from "@plane/types";
// local imports
import { useProjectState } from "@/hooks/store/use-project-state";
@@ -72,7 +72,7 @@ export const StateItemTitle = observer(function StateItemTitle(props: TStateItem
onClick={() => setUpdateStateModal(true)}
data-ph-element={STATE_TRACKER_ELEMENTS.STATE_LIST_EDIT_BUTTON}
>
- <Pencil className="w-3 h-3" />
+ <EditIcon className="w-3 h-3" />
</button>
<StateDelete
totalStates={stateCount}
diff --git a/apps/web/core/components/project/card.tsx b/apps/web/core/components/project/card.tsx
index 379bb66268..d4ee4bc905 100644
--- a/apps/web/core/components/project/card.tsx
+++ b/apps/web/core/components/project/card.tsx
@@ -2,12 +2,13 @@ import React, { useRef, useState } from "react";
import { observer } from "mobx-react";
import Link from "next/link";
import { useParams } from "next/navigation";
-import { ArchiveRestoreIcon, Check, ExternalLink, LinkIcon, Lock, Settings, Trash2, UserPlus } from "lucide-react";
+import { ArchiveRestoreIcon, Settings, UserPlus } from "lucide-react";
// plane imports
import { EUserPermissions, EUserPermissionsLevel, IS_FAVORITE_MENU_OPEN } from "@plane/constants";
import { useLocalStorage } from "@plane/hooks";
import { Button } from "@plane/propel/button";
import { Logo } from "@plane/propel/emoji-icon-picker";
+import { LinkIcon, LockIcon, NewTabIcon, TrashIcon, CheckIcon } from "@plane/propel/icons";
import { setPromiseToast, setToast, TOAST_TYPE } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
import type { IProject } from "@plane/types";
@@ -134,7 +135,7 @@ export const ProjectCard = observer(function ProjectCard(props: Props) {
key: "open-new-tab",
action: handleOpenInNewTab,
title: "Open in new tab",
- icon: ExternalLink,
+ icon: NewTabIcon,
shouldRender: !isMemberOfProject && !isArchived,
},
{
@@ -155,7 +156,7 @@ export const ProjectCard = observer(function ProjectCard(props: Props) {
key: "delete",
action: () => setDeleteProjectModal(true),
title: "Delete",
- icon: Trash2,
+ icon: TrashIcon,
shouldRender: isArchived && hasAdminRole,
},
];
@@ -222,7 +223,7 @@ export const ProjectCard = observer(function ProjectCard(props: Props) {
<h3 className="truncate font-semibold text-on-color">{project.name}</h3>
<span className="flex items-center gap-1.5">
<p className="text-11 font-medium text-on-color">{project.identifier} </p>
- {project.network === 0 && <Lock className="h-2.5 w-2.5 text-on-color " />}
+ {project.network === 0 && <LockIcon className="h-2.5 w-2.5 text-on-color " />}
</span>
</div>
</div>
@@ -321,7 +322,7 @@ export const ProjectCard = observer(function ProjectCard(props: Props) {
setDeleteProjectModal(true);
}}
>
- <Trash2 className="h-3.5 w-3.5" />
+ <TrashIcon className="h-3.5 w-3.5" />
</div>
</div>
)
@@ -340,7 +341,7 @@ export const ProjectCard = observer(function ProjectCard(props: Props) {
</Link>
) : (
<span className="flex items-center gap-1 text-placeholder text-13">
- <Check className="h-3.5 w-3.5" />
+ <CheckIcon className="h-3.5 w-3.5" />
Joined
</span>
))}
diff --git a/apps/web/core/components/project/dropdowns/filters/root.tsx b/apps/web/core/components/project/dropdowns/filters/root.tsx
index 1be557ea95..c4d56f6b1d 100644
--- a/apps/web/core/components/project/dropdowns/filters/root.tsx
+++ b/apps/web/core/components/project/dropdowns/filters/root.tsx
@@ -1,7 +1,6 @@
import { useState } from "react";
import { observer } from "mobx-react";
-import { Search } from "lucide-react";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
// plane imports
import type { TProjectDisplayFilters, TProjectFilters } from "@plane/types";
// components
@@ -33,7 +32,7 @@ export const ProjectFiltersSelection = observer(function ProjectFiltersSelection
<div className="flex h-full w-full flex-col overflow-hidden">
<div className="bg-surface-1 p-2.5 pb-0">
<div className="flex items-center gap-1.5 rounded-sm border-[0.5px] border-subtle bg-surface-2 px-1.5 py-1 text-11">
- <Search className="text-placeholder" size={12} strokeWidth={2} />
+ <SearchIcon className="text-placeholder" width={12} height={12} strokeWidth={2} />
<input
type="text"
className="w-full bg-surface-2 outline-none placeholder:text-placeholder"
diff --git a/apps/web/core/components/project/dropdowns/order-by.tsx b/apps/web/core/components/project/dropdowns/order-by.tsx
index c68cbac0b4..b780f80a52 100644
--- a/apps/web/core/components/project/dropdowns/order-by.tsx
+++ b/apps/web/core/components/project/dropdowns/order-by.tsx
@@ -1,8 +1,9 @@
-import { ArrowDownWideNarrow, Check } from "lucide-react";
+import { ArrowDownWideNarrow } from "lucide-react";
// plane imports
import { PROJECT_ORDER_BY_OPTIONS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { getButtonStyling } from "@plane/propel/button";
+import { CheckIcon, ChevronDownIcon } from "@plane/propel/icons";
import type { TProjectOrderByOptions } from "@plane/types";
import { CustomMenu } from "@plane/ui";
@@ -55,7 +56,7 @@ export function ProjectOrderByDropdown(props: Props) {
}}
>
{option && t(option?.i18n_label)}
- {value?.includes(option.key) && <Check className="h-3 w-3" />}
+ {value?.includes(option.key) && <CheckIcon className="h-3 w-3" />}
</CustomMenu.MenuItem>
))}
<hr className="my-2 border-subtle" />
@@ -67,7 +68,7 @@ export function ProjectOrderByDropdown(props: Props) {
disabled={isOrderingDisabled}
>
Ascending
- {!isOrderingDisabled && !isDescending && <Check className="h-3 w-3" />}
+ {!isOrderingDisabled && !isDescending && <CheckIcon className="h-3 w-3" />}
</CustomMenu.MenuItem>
<CustomMenu.MenuItem
className="flex items-center justify-between gap-2"
@@ -77,7 +78,7 @@ export function ProjectOrderByDropdown(props: Props) {
disabled={isOrderingDisabled}
>
Descending
- {!isOrderingDisabled && isDescending && <Check className="h-3 w-3" />}
+ {!isOrderingDisabled && isDescending && <CheckIcon className="h-3 w-3" />}
</CustomMenu.MenuItem>
</CustomMenu>
);
diff --git a/apps/web/core/components/project/form.tsx b/apps/web/core/components/project/form.tsx
index f1e1201f35..cc405aaab6 100644
--- a/apps/web/core/components/project/form.tsx
+++ b/apps/web/core/components/project/form.tsx
@@ -1,11 +1,12 @@
import { useEffect, useState } from "react";
import { Controller, useForm } from "react-hook-form";
-import { Info, Lock } from "lucide-react";
+import { Info } from "lucide-react";
import { NETWORK_CHOICES, PROJECT_TRACKER_ELEMENTS, PROJECT_TRACKER_EVENTS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
// plane imports
import { Button } from "@plane/propel/button";
import { EmojiPicker, EmojiIconPickerTypes, Logo } from "@plane/propel/emoji-icon-picker";
+import { LockIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
import { EFileAssetType } from "@plane/types";
@@ -245,7 +246,7 @@ export function ProjectDetailsForm(props: IProjectDetailsForm) {
<span className="flex items-center gap-2 text-13">
<span>{watch("identifier")} .</span>
<span className="flex items-center gap-1.5">
- {project.network === 0 && <Lock className="h-2.5 w-2.5 text-on-color " />}
+ {project.network === 0 && <LockIcon className="h-2.5 w-2.5 text-on-color " />}
{currentNetwork && t(currentNetwork?.i18n_label)}
</span>
</span>
diff --git a/apps/web/core/components/project/member-list.tsx b/apps/web/core/components/project/member-list.tsx
index 012ead701e..5dbe78d72e 100644
--- a/apps/web/core/components/project/member-list.tsx
+++ b/apps/web/core/components/project/member-list.tsx
@@ -1,10 +1,10 @@
import { useState } from "react";
import { observer } from "mobx-react";
-import { Search } from "lucide-react";
// plane imports
import { EUserPermissions, EUserPermissionsLevel, MEMBER_TRACKER_ELEMENTS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
+import { SearchIcon } from "@plane/propel/icons";
// components
import { MembersSettingsLoader } from "@/components/ui/loader/settings/members";
// hooks
@@ -79,7 +79,7 @@ export const ProjectMemberList = observer(function ProjectMemberList(props: TPro
<div className="text-14 font-semibold">{t("common.members")}</div>
<div className="flex items-center gap-2">
<div className="flex items-center justify-start gap-1.5 rounded-md border border-subtle bg-surface-1 px-2 py-1">
- <Search className="h-3.5 w-3.5" />
+ <SearchIcon className="h-3.5 w-3.5" />
<input
className="w-full max-w-[234px] border-none bg-transparent text-13 focus:outline-none placeholder:text-placeholder"
placeholder="Search"
diff --git a/apps/web/core/components/project/multi-select-modal.tsx b/apps/web/core/components/project/multi-select-modal.tsx
index 3d66edb622..cac7e4b3f3 100644
--- a/apps/web/core/components/project/multi-select-modal.tsx
+++ b/apps/web/core/components/project/multi-select-modal.tsx
@@ -2,13 +2,12 @@ import React, { useEffect, useMemo, useRef, useState } from "react";
import { xor } from "lodash-es";
import { observer } from "mobx-react";
import { useTheme } from "next-themes";
-import { Search } from "lucide-react";
import { Combobox } from "@headlessui/react";
// plane ui
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
import { Logo } from "@plane/propel/emoji-icon-picker";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
import { Checkbox, EModalPosition, EModalWidth, ModalCore } from "@plane/ui";
import { cn } from "@plane/utils";
// assets
@@ -85,7 +84,7 @@ export const ProjectMultiSelectModal = observer(function ProjectMultiSelectModal
<ModalCore isOpen={isOpen} width={EModalWidth.LG} position={EModalPosition.TOP} handleClose={handleClose}>
<Combobox as="div" multiple value={selectedProjectIds} onChange={handleSelectedProjectChange}>
<div className="flex items-center gap-2 px-4 border-b border-subtle">
- <Search className="flex-shrink-0 size-4 text-placeholder" aria-hidden="true" />
+ <SearchIcon className="flex-shrink-0 size-4 text-placeholder" aria-hidden="true" />
<Combobox.Input
className="h-12 w-full border-0 bg-transparent text-13 text-primary outline-none placeholder:text-placeholder focus:ring-0"
placeholder="Search for projects"
diff --git a/apps/web/core/components/project/project-network-icon.tsx b/apps/web/core/components/project/project-network-icon.tsx
index 5d9f592d33..c3f8945e57 100644
--- a/apps/web/core/components/project/project-network-icon.tsx
+++ b/apps/web/core/components/project/project-network-icon.tsx
@@ -1,6 +1,6 @@
-import { Lock, Globe2 } from "lucide-react";
-// plane imports
import type { TNetworkChoiceIconKey } from "@plane/constants";
+// plane imports
+import { GlobeIcon, LockIcon } from "@plane/propel/icons";
import { cn } from "@plane/utils";
type Props = {
@@ -14,9 +14,9 @@ export function ProjectNetworkIcon(props: Props) {
const getProjectNetworkIcon = () => {
switch (iconKey) {
case "Lock":
- return Lock;
+ return LockIcon;
case "Globe2":
- return Globe2;
+ return GlobeIcon;
default:
return null;
}
diff --git a/apps/web/core/components/project/publish-project/modal.tsx b/apps/web/core/components/project/publish-project/modal.tsx
index f906c1d0be..69947c36cf 100644
--- a/apps/web/core/components/project/publish-project/modal.tsx
+++ b/apps/web/core/components/project/publish-project/modal.tsx
@@ -2,10 +2,11 @@ import { useEffect, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
import { Controller, useForm } from "react-hook-form";
-import { Check, ExternalLink, Globe2 } from "lucide-react";
+
// types
import { SPACE_BASE_PATH, SPACE_BASE_URL } from "@plane/constants";
import { Button } from "@plane/propel/button";
+import { GlobeIcon, NewTabIcon, CheckIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { TProjectPublishLayouts, TProjectPublishSettings } from "@plane/types";
// ui
@@ -214,7 +215,7 @@ export const PublishProjectModal = observer(function PublishProjectModal(props:
target="_blank"
rel="noopener noreferrer"
>
- <ExternalLink className="size-4" />
+ <NewTabIcon className="size-4" />
</a>
<button
type="button"
@@ -263,7 +264,7 @@ export const PublishProjectModal = observer(function PublishProjectModal(props:
className="flex items-center justify-between gap-2"
>
{option.label}
- {selectedLayouts.includes(option.key) && <Check className="size-3.5 flex-shrink-0" />}
+ {selectedLayouts.includes(option.key) && <CheckIcon className="size-3.5 flex-shrink-0" />}
</CustomSelect.Option>
))}
</CustomSelect>
@@ -307,7 +308,7 @@ export const PublishProjectModal = observer(function PublishProjectModal(props:
{/* modal handlers */}
<div className="relative flex items-center justify-between border-t border-subtle px-5 py-4 mt-4">
<div className="flex items-center gap-1 text-13 text-placeholder">
- <Globe2 className="size-3.5" />
+ <GlobeIcon className="size-3.5" />
<div className="text-13">Anyone with the link can access</div>
</div>
{!fetchSettingsLoader && (
diff --git a/apps/web/core/components/project/search-projects.tsx b/apps/web/core/components/project/search-projects.tsx
index 103344e414..50beeb337f 100644
--- a/apps/web/core/components/project/search-projects.tsx
+++ b/apps/web/core/components/project/search-projects.tsx
@@ -1,11 +1,10 @@
import { useRef, useState } from "react";
import { observer } from "mobx-react";
-import { Search } from "lucide-react";
// plane hooks
import { useOutsideClickDetector } from "@plane/hooks";
// i18n
import { useTranslation } from "@plane/i18n";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
// helpers
import { cn } from "@plane/utils";
// hooks
@@ -44,7 +43,7 @@ export const ProjectSearch = observer(function ProjectSearch() {
setIsSearchOpen(true);
inputRef.current?.focus();
}}
- icon={Search}
+ icon={SearchIcon}
/>
)}
<div
@@ -55,7 +54,7 @@ export const ProjectSearch = observer(function ProjectSearch() {
}
)}
>
- <Search className="h-3.5 w-3.5" />
+ <SearchIcon className="h-3.5 w-3.5" />
<input
ref={inputRef}
className="w-full max-w-[234px] border-none bg-transparent text-13 text-primary placeholder:text-placeholder focus:outline-none"
diff --git a/apps/web/core/components/project/send-project-invitation-modal.tsx b/apps/web/core/components/project/send-project-invitation-modal.tsx
index a461a67793..8b1391da88 100644
--- a/apps/web/core/components/project/send-project-invitation-modal.tsx
+++ b/apps/web/core/components/project/send-project-invitation-modal.tsx
@@ -1,12 +1,11 @@
import React, { useEffect } from "react";
import { observer } from "mobx-react";
import { useForm, Controller, useFieldArray } from "react-hook-form";
-import { Plus } from "lucide-react";
// plane imports
import { ROLE, EUserPermissions, MEMBER_TRACKER_EVENTS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
-import { CloseIcon, ChevronDownIcon } from "@plane/propel/icons";
+import { PlusIcon, CloseIcon, ChevronDownIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { Avatar, CustomSelect, CustomSearchSelect, EModalPosition, EModalWidth, ModalCore } from "@plane/ui";
// helpers
@@ -303,7 +302,7 @@ export const SendProjectInvitationModal = observer(function SendProjectInvitatio
className="flex items-center gap-2 bg-transparent py-2 pr-3 text-13 font-medium text-accent-primary outline-accent-strong"
onClick={appendField}
>
- <Plus className="h-4 w-4" />
+ <PlusIcon className="h-4 w-4" />
{t("common.add_more")}
</button>
<div className="flex items-center gap-2">
diff --git a/apps/web/core/components/sidebar/search-button.tsx b/apps/web/core/components/sidebar/search-button.tsx
index f02d390c62..9c94eb525d 100644
--- a/apps/web/core/components/sidebar/search-button.tsx
+++ b/apps/web/core/components/sidebar/search-button.tsx
@@ -1,4 +1,4 @@
-import { Search } from "lucide-react";
+import { SearchIcon } from "@plane/propel/icons";
import { cn } from "@plane/utils";
type Props = {
@@ -16,7 +16,7 @@ export function SidebarSearchButton(props: Props) {
}
)}
>
- <Search
+ <SearchIcon
className={cn("size-4 text-tertiary", {
"text-accent-secondary": isActive,
})}
diff --git a/apps/web/core/components/stickies/action-bar.tsx b/apps/web/core/components/stickies/action-bar.tsx
index 5aae0f424d..ba9c6f177a 100644
--- a/apps/web/core/components/stickies/action-bar.tsx
+++ b/apps/web/core/components/stickies/action-bar.tsx
@@ -2,11 +2,11 @@ import { useRef, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
import useSWR from "swr";
-import { Plus, StickyNote as StickyIcon } from "lucide-react";
+import { StickyNote as StickyIcon } from "lucide-react";
// plane hooks
import { useOutsideClickDetector } from "@plane/hooks";
// plane ui
-import { RecentStickyIcon, StickyNoteIcon, CloseIcon } from "@plane/propel/icons";
+import { RecentStickyIcon, StickyNoteIcon, PlusIcon, CloseIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
// plane utils
import { cn } from "@plane/utils";
@@ -103,7 +103,7 @@ export const StickyActionBar = observer(function StickyActionBar() {
setNewSticky(true);
}}
>
- <Plus className="size-5 rotate-90 text-tertiary" />
+ <PlusIcon className="size-5 rotate-90 text-tertiary" />
</button>
</Tooltip>
</div>
diff --git a/apps/web/core/components/stickies/layout/stickies-list.tsx b/apps/web/core/components/stickies/layout/stickies-list.tsx
index aa77dcec73..087b7f8e84 100644
--- a/apps/web/core/components/stickies/layout/stickies-list.tsx
+++ b/apps/web/core/components/stickies/layout/stickies-list.tsx
@@ -8,10 +8,11 @@ import { observer } from "mobx-react";
import { usePathname } from "next/navigation";
import { useTheme } from "next-themes";
import Masonry from "react-masonry-component";
-import { Plus } from "lucide-react";
+
// plane imports
import { EUserPermissionsLevel } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
+import { PlusIcon } from "@plane/propel/icons";
import { EUserWorkspaceRoles } from "@plane/types";
// assets
import darkStickiesAsset from "@/app/assets/empty-state/stickies/stickies-dark.webp?url";
@@ -122,7 +123,7 @@ export const StickiesList = observer(function StickiesList(props: TProps) {
description={t("stickies.empty_state.general.description")}
assetPath={stickiesResolvedPath}
primaryButton={{
- prependIcon: <Plus className="size-4" />,
+ prependIcon: <PlusIcon className="size-4" />,
text: t("stickies.empty_state.general.primary_button.text"),
onClick: () => {
toggleShowNewSticky(true);
diff --git a/apps/web/core/components/stickies/modal/search.tsx b/apps/web/core/components/stickies/modal/search.tsx
index 752091b340..8fe857be4f 100644
--- a/apps/web/core/components/stickies/modal/search.tsx
+++ b/apps/web/core/components/stickies/modal/search.tsx
@@ -2,12 +2,11 @@ import { useCallback, useRef, useState } from "react";
import { debounce } from "lodash-es";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
-import { Search } from "lucide-react";
// plane hooks
import { useOutsideClickDetector } from "@plane/hooks";
// helpers
import { useTranslation } from "@plane/i18n";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
import { cn } from "@plane/utils";
import { useSticky } from "@/hooks/use-stickies";
import { IconButton } from "@plane/propel/icon-button";
@@ -54,7 +53,7 @@ export const StickySearch = observer(function StickySearch() {
variant="ghost"
size="lg"
className="-mr-2"
- icon={Search}
+ icon={SearchIcon}
onClick={() => {
setIsSearchOpen(true);
inputRef.current?.focus();
@@ -69,7 +68,7 @@ export const StickySearch = observer(function StickySearch() {
}
)}
>
- <Search className="shrink-0 size-3.5" />
+ <SearchIcon className="shrink-0 size-3.5" />
<input
ref={inputRef}
className="w-full max-w-[234px] border-none bg-transparent text-13 text-primary placeholder:text-placeholder focus:outline-none"
diff --git a/apps/web/core/components/stickies/modal/stickies.tsx b/apps/web/core/components/stickies/modal/stickies.tsx
index 7081d00df4..d5b53ea245 100644
--- a/apps/web/core/components/stickies/modal/stickies.tsx
+++ b/apps/web/core/components/stickies/modal/stickies.tsx
@@ -1,8 +1,8 @@
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
-import { Plus } from "lucide-react";
+
// plane ui
-import { RecentStickyIcon, CloseIcon } from "@plane/propel/icons";
+import { RecentStickyIcon, PlusIcon, CloseIcon } from "@plane/propel/icons";
// hooks
import { useSticky } from "@/hooks/use-stickies";
// components
@@ -43,7 +43,7 @@ export const Stickies = observer(function Stickies(props: TProps) {
className="flex gap-1 text-13 font-medium text-accent-primary my-auto"
disabled={creatingSticky}
>
- <Plus className="size-4 my-auto" /> <span>Add sticky</span>
+ <PlusIcon className="size-4 my-auto" /> <span>Add sticky</span>
{creatingSticky && (
<div className="flex items-center justify-center ml-2">
<div
diff --git a/apps/web/core/components/stickies/widget.tsx b/apps/web/core/components/stickies/widget.tsx
index f10abb5ea8..6a76eafd5a 100644
--- a/apps/web/core/components/stickies/widget.tsx
+++ b/apps/web/core/components/stickies/widget.tsx
@@ -1,8 +1,9 @@
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
-import { Plus } from "lucide-react";
+
// plane imports
import { useTranslation } from "@plane/i18n";
+import { PlusIcon } from "@plane/propel/icons";
// hooks
import { useSticky } from "@/hooks/use-stickies";
// local imports
@@ -36,7 +37,7 @@ export const StickiesWidget = observer(function StickiesWidget() {
className="flex gap-1 text-13 font-medium text-accent-primary my-auto"
disabled={creatingSticky}
>
- <Plus className="size-4 my-auto" />
+ <PlusIcon className="size-4 my-auto" />
<span>{t("stickies.add")}</span>
{creatingSticky && (
<div
diff --git a/apps/web/core/components/views/filters/filter-selection.tsx b/apps/web/core/components/views/filters/filter-selection.tsx
index 23f907b11f..2c706352a8 100644
--- a/apps/web/core/components/views/filters/filter-selection.tsx
+++ b/apps/web/core/components/views/filters/filter-selection.tsx
@@ -1,7 +1,7 @@
import { useState } from "react";
import { observer } from "mobx-react";
-import { Search } from "lucide-react";
-import { CloseIcon } from "@plane/propel/icons";
+
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
import type { TViewFilterProps, TViewFilters } from "@plane/types";
import { EViewAccess } from "@plane/types";
// components
@@ -55,7 +55,7 @@ export const ViewFiltersSelection = observer(function ViewFiltersSelection(props
<div className="flex h-full w-full flex-col overflow-hidden">
<div className="bg-surface-1 p-2.5 pb-0">
<div className="flex items-center gap-1.5 rounded-sm border-[0.5px] border-subtle bg-surface-2 px-1.5 py-1 text-11">
- <Search className="text-placeholder" size={12} strokeWidth={2} />
+ <SearchIcon className="text-placeholder" width={12} height={12} strokeWidth={2} />
<input
type="text"
className="w-full bg-surface-2 outline-none placeholder:text-placeholder"
diff --git a/apps/web/core/components/views/filters/order-by.tsx b/apps/web/core/components/views/filters/order-by.tsx
index a23a813fd2..023c30a4df 100644
--- a/apps/web/core/components/views/filters/order-by.tsx
+++ b/apps/web/core/components/views/filters/order-by.tsx
@@ -1,8 +1,9 @@
-import { ArrowDownWideNarrow, ArrowUpWideNarrow, Check } from "lucide-react";
+import { ArrowDownWideNarrow, ArrowUpWideNarrow } from "lucide-react";
// plane imports
import { VIEW_SORT_BY_OPTIONS, VIEW_SORTING_KEY_OPTIONS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { getButtonStyling } from "@plane/propel/button";
+import { CheckIcon, ChevronDownIcon } from "@plane/propel/icons";
import type { TViewFiltersSortBy, TViewFiltersSortKey } from "@plane/types";
import { CustomMenu } from "@plane/ui";
@@ -51,7 +52,7 @@ export function ViewOrderByDropdown(props: Props) {
}
>
{t(option.i18n_label)}
- {sortKey === option.key && <Check className="h-3 w-3" />}
+ {sortKey === option.key && <CheckIcon className="h-3 w-3" />}
</CustomMenu.MenuItem>
))}
<hr className="my-2 border-subtle" />
@@ -69,7 +70,7 @@ export function ViewOrderByDropdown(props: Props) {
}}
>
{t(option.i18n_label)}
- {isSelected && <Check className="h-3 w-3" />}
+ {isSelected && <CheckIcon className="h-3 w-3" />}
</CustomMenu.MenuItem>
);
})}
diff --git a/apps/web/core/components/views/view-list-header.tsx b/apps/web/core/components/views/view-list-header.tsx
index 25646de561..3f386f2309 100644
--- a/apps/web/core/components/views/view-list-header.tsx
+++ b/apps/web/core/components/views/view-list-header.tsx
@@ -1,9 +1,9 @@
import React, { useEffect, useRef, useState } from "react";
import { observer } from "mobx-react";
// icons
-import { ListFilter, Search } from "lucide-react";
+import { ListFilter } from "lucide-react";
import { useOutsideClickDetector } from "@plane/hooks";
-import { CloseIcon } from "@plane/propel/icons";
+import { SearchIcon, CloseIcon } from "@plane/propel/icons";
// plane helpers
// helpers
import { cn } from "@plane/utils";
@@ -59,7 +59,7 @@ export const ViewListHeader = observer(function ViewListHeader() {
setIsSearchOpen(true);
inputRef.current?.focus();
}}
- icon={Search}
+ icon={SearchIcon}
/>
)}
<div
@@ -70,7 +70,7 @@ export const ViewListHeader = observer(function ViewListHeader() {
}
)}
>
- <Search className="h-3.5 w-3.5" />
+ <SearchIcon className="h-3.5 w-3.5" />
<input
ref={inputRef}
className="w-full max-w-[234px] border-none bg-transparent text-13 text-primary placeholder:text-placeholder focus:outline-none"
diff --git a/apps/web/core/components/views/view-list-item-action.tsx b/apps/web/core/components/views/view-list-item-action.tsx
index 259832c46e..8a0a3726ff 100644
--- a/apps/web/core/components/views/view-list-item-action.tsx
+++ b/apps/web/core/components/views/view-list-item-action.tsx
@@ -2,10 +2,11 @@ import type { FC } from "react";
import React, { useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
-import { Earth, Lock } from "lucide-react";
+import { Earth } from "lucide-react";
// plane imports
import { EUserPermissions, EUserPermissionsLevel, IS_FAVORITE_MENU_OPEN } from "@plane/constants";
import { useLocalStorage } from "@plane/hooks";
+import { LockIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
import type { IProjectView } from "@plane/types";
import { EViewAccess } from "@plane/types";
@@ -89,7 +90,7 @@ export const ViewListItemAction = observer(function ViewListItemAction(props: Pr
<DeleteProjectViewModal data={view} isOpen={deleteViewModal} onClose={() => setDeleteViewModal(false)} />
<div className="cursor-default text-tertiary">
<Tooltip tooltipContent={access === EViewAccess.PUBLIC ? "Public" : "Private"}>
- {access === EViewAccess.PUBLIC ? <Earth className="h-4 w-4" /> : <Lock className="h-4 w-4" />}
+ {access === EViewAccess.PUBLIC ? <Earth className="h-4 w-4" /> : <LockIcon className="h-4 w-4" />}
</Tooltip>
</div>
diff --git a/apps/web/core/components/web-hooks/form/secret-key.tsx b/apps/web/core/components/web-hooks/form/secret-key.tsx
index 71101aa69c..1c0d60bb8d 100644
--- a/apps/web/core/components/web-hooks/form/secret-key.tsx
+++ b/apps/web/core/components/web-hooks/form/secret-key.tsx
@@ -4,9 +4,10 @@ import { range } from "lodash-es";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
// icons
-import { Copy, Eye, EyeOff, RefreshCw } from "lucide-react";
+import { Eye, EyeOff, RefreshCw } from "lucide-react";
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
+import { CopyIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
import type { IWebhook } from "@plane/types";
@@ -89,7 +90,7 @@ export const WebhookSecretKey = observer(function WebhookSecretKey(props: Props)
const SECRET_KEY_OPTIONS = [
{ label: "View secret key", Icon: shouldShowKey ? EyeOff : Eye, onClick: toggleShowKey, key: "eye" },
- { label: "Copy secret key", Icon: Copy, onClick: handleCopySecretKey, key: "copy" },
+ { label: "Copy secret key", Icon: CopyIcon, onClick: handleCopySecretKey, key: "copy" },
];
return (
diff --git a/apps/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx b/apps/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx
index 91b7bfc4b9..4171f6b5bd 100644
--- a/apps/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx
+++ b/apps/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx
@@ -1,7 +1,8 @@
import { observer } from "mobx-react";
-import { Check } from "lucide-react";
-// plane imports
+
import type { ENotificationFilterType } from "@plane/constants";
+import { CheckIcon } from "@plane/propel/icons";
+// plane imports
// helpers
import { cn } from "@plane/utils";
// hooks
@@ -36,7 +37,7 @@ export const NotificationFilterOptionItem = observer(function NotificationFilter
"bg-surface-2": !isSelected,
})}
>
- {isSelected && <Check className="h-2.5 w-2.5" />}
+ {isSelected && <CheckIcon className="h-2.5 w-2.5" />}
</div>
<div
className={cn("whitespace-nowrap text-body-xs-medium", {
diff --git a/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/root.tsx b/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/root.tsx
index f86049a2c8..23608e472b 100644
--- a/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/root.tsx
+++ b/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/root.tsx
@@ -1,9 +1,9 @@
import type { ReactNode } from "react";
import { observer } from "mobx-react";
-import { Check, CheckCircle, Clock, MoreVertical } from "lucide-react";
-// plane imports
+import { CheckCircle, Clock, MoreVertical } from "lucide-react";
import { useTranslation } from "@plane/i18n";
-import { ArchiveIcon } from "@plane/propel/icons";
+// plane imports
+import { ArchiveIcon, CheckIcon } from "@plane/propel/icons";
import type { TNotificationFilter } from "@plane/types";
import { PopoverMenu } from "@plane/ui";
// hooks
@@ -39,7 +39,7 @@ export const NotificationHeaderMenuOption = observer(function NotificationHeader
label: t("notification.options.show_unread"),
isActive: filters?.read,
prependIcon: <CheckCircle className="flex-shrink-0 h-3 w-3" />,
- appendIcon: filters?.read ? <Check className="w-3 h-3" /> : undefined,
+ appendIcon: filters?.read ? <CheckIcon className="w-3 h-3" /> : undefined,
onClick: () => handleFilterChange("read", !filters?.read),
},
{
@@ -48,7 +48,7 @@ export const NotificationHeaderMenuOption = observer(function NotificationHeader
label: t("notification.options.show_archived"),
isActive: filters?.archived,
prependIcon: <ArchiveIcon className="flex-shrink-0 h-3 w-3" />,
- appendIcon: filters?.archived ? <Check className="w-3 h-3" /> : undefined,
+ appendIcon: filters?.archived ? <CheckIcon className="w-3 h-3" /> : undefined,
onClick: () =>
handleBulkFilterChange({
archived: !filters?.archived,
@@ -61,7 +61,7 @@ export const NotificationHeaderMenuOption = observer(function NotificationHeader
label: t("notification.options.show_snoozed"),
isActive: filters?.snoozed,
prependIcon: <Clock className="flex-shrink-0 h-3 w-3" />,
- appendIcon: filters?.snoozed ? <Check className="w-3 h-3" /> : undefined,
+ appendIcon: filters?.snoozed ? <CheckIcon className="w-3 h-3" /> : undefined,
onClick: () =>
handleBulkFilterChange({
snoozed: !filters?.snoozed,
diff --git a/apps/web/core/components/workspace/invite-modal/actions.tsx b/apps/web/core/components/workspace/invite-modal/actions.tsx
index 1a7884491b..dbbf9b4d0e 100644
--- a/apps/web/core/components/workspace/invite-modal/actions.tsx
+++ b/apps/web/core/components/workspace/invite-modal/actions.tsx
@@ -1,8 +1,9 @@
import { observer } from "mobx-react";
-import { Plus } from "lucide-react";
+
// plane imports
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
+import { PlusIcon } from "@plane/propel/icons";
import { cn } from "@plane/utils";
type TInvitationModalActionsProps = {
@@ -46,7 +47,7 @@ export const InvitationModalActions = observer(function InvitationModalActions(p
onClick={appendField}
disabled={isInviteDisabled}
>
- <Plus className="h-3.5 w-3.5" />
+ <PlusIcon className="h-3.5 w-3.5" />
{addMoreButtonText || t("common.add_more")}
</button>
<div className="flex items-center gap-2">
diff --git a/apps/web/core/components/workspace/settings/invitations-list-item.tsx b/apps/web/core/components/workspace/settings/invitations-list-item.tsx
index 027cd954d1..eded4bbc30 100644
--- a/apps/web/core/components/workspace/settings/invitations-list-item.tsx
+++ b/apps/web/core/components/workspace/settings/invitations-list-item.tsx
@@ -1,11 +1,11 @@
import { useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
-import { LinkIcon, Trash2 } from "lucide-react";
+
// plane imports
import { ROLE, EUserPermissions, EUserPermissionsLevel, MEMBER_TRACKER_ELEMENTS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
-import { ChevronDownIcon } from "@plane/propel/icons";
+import { LinkIcon, TrashIcon, ChevronDownIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { TContextMenuItem } from "@plane/ui";
import { CustomSelect, CustomMenu } from "@plane/ui";
@@ -105,7 +105,7 @@ export const WorkspaceInvitationsListItem = observer(function WorkspaceInvitatio
setRemoveMemberModal(true);
},
title: t("common.remove"),
- icon: Trash2,
+ icon: TrashIcon,
shouldRender: isAdmin,
className: "text-danger-primary",
iconClassName: "text-danger-primary",
diff --git a/apps/web/core/components/workspace/settings/member-columns.tsx b/apps/web/core/components/workspace/settings/member-columns.tsx
index 6a70bf923c..b98438b1d4 100644
--- a/apps/web/core/components/workspace/settings/member-columns.tsx
+++ b/apps/web/core/components/workspace/settings/member-columns.tsx
@@ -1,11 +1,11 @@
import { observer } from "mobx-react";
import Link from "next/link";
import { Controller, useForm } from "react-hook-form";
-import { Trash2 } from "lucide-react";
+
import { Disclosure } from "@headlessui/react";
// plane imports
import { ROLE, EUserPermissions, EUserPermissionsLevel, MEMBER_TRACKER_ELEMENTS } from "@plane/constants";
-import { SuspendedUserIcon } from "@plane/propel/icons";
+import { TrashIcon, SuspendedUserIcon } from "@plane/propel/icons";
import { Pill, EPillVariant, EPillSize } from "@plane/propel/pill";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { IUser, IWorkspaceMember } from "@plane/types";
@@ -96,7 +96,7 @@ export function NameColumn(props: NameProps) {
}}
data-ph-element={MEMBER_TRACKER_ELEMENTS.WORKSPACE_MEMBER_TABLE_CONTEXT_MENU}
>
- <Trash2 className="size-3.5 align-middle" /> {id === currentUser?.id ? "Leave " : "Remove "}
+ <TrashIcon className="size-3.5 align-middle" /> {id === currentUser?.id ? "Leave " : "Remove "}
</div>
)}
/>
diff --git a/apps/web/core/components/workspace/settings/workspace-details.tsx b/apps/web/core/components/workspace/settings/workspace-details.tsx
index 432cfc18ad..bc13dfbd25 100644
--- a/apps/web/core/components/workspace/settings/workspace-details.tsx
+++ b/apps/web/core/components/workspace/settings/workspace-details.tsx
@@ -1,7 +1,7 @@
import { useEffect, useState } from "react";
import { observer } from "mobx-react";
import { Controller, useForm } from "react-hook-form";
-import { Pencil } from "lucide-react";
+
// constants
import {
ORGANIZATION_SIZE,
@@ -12,6 +12,7 @@ import {
} from "@plane/constants";
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";
+import { EditIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import type { IWorkspace } from "@plane/types";
import { CustomSelect, Input } from "@plane/ui";
@@ -185,7 +186,7 @@ export const WorkspaceDetails = observer(function WorkspaceDetails() {
>
{workspaceLogo && workspaceLogo !== "" ? (
<>
- <Pencil className="h-3 w-3" />
+ <EditIcon className="h-3 w-3" />
{t("workspace_settings.settings.general.edit_logo")}
</>
) : (
diff --git a/apps/web/core/components/workspace/sidebar/dropdown-item.tsx b/apps/web/core/components/workspace/sidebar/dropdown-item.tsx
index 8d2857afbc..5002b12870 100644
--- a/apps/web/core/components/workspace/sidebar/dropdown-item.tsx
+++ b/apps/web/core/components/workspace/sidebar/dropdown-item.tsx
@@ -1,11 +1,12 @@
import { observer } from "mobx-react";
import Link from "next/link";
import { useParams } from "next/navigation";
-import { Check, Settings, UserPlus } from "lucide-react";
+import { Settings, UserPlus } from "lucide-react";
import { Menu } from "@headlessui/react";
// plane imports
import { EUserPermissions } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
+import { CheckIcon } from "@plane/propel/icons";
import type { IWorkspace } from "@plane/types";
import { cn, getFileURL, getUserRole } from "@plane/utils";
// plane web imports
@@ -75,7 +76,7 @@ const SidebarDropdownItem = observer(function SidebarDropdownItem(props: TProps)
</div>
{workspace.id === activeWorkspace?.id ? (
<span className="flex-shrink-0 p-1">
- <Check className="h-5 w-5 text-primary" />
+ <CheckIcon className="h-5 w-5 text-primary" />
</span>
) : (
<SubscriptionPill workspace={workspace} />
diff --git a/apps/web/core/components/workspace/sidebar/projects-list-item.tsx b/apps/web/core/components/workspace/sidebar/projects-list-item.tsx
index 04edd67bc0..97f6b2b2c8 100644
--- a/apps/web/core/components/workspace/sidebar/projects-list-item.tsx
+++ b/apps/web/core/components/workspace/sidebar/projects-list-item.tsx
@@ -8,14 +8,14 @@ import { observer } from "mobx-react";
import { useParams, useRouter } from "next/navigation";
import { createRoot } from "react-dom/client";
import scrollIntoView from "smooth-scroll-into-view-if-needed";
-import { LinkIcon, Settings, Share2, LogOut, MoreHorizontal } from "lucide-react";
+import { Settings, Share2, LogOut, MoreHorizontal } from "lucide-react";
import { Disclosure, Transition } from "@headlessui/react";
// plane imports
import { EUserPermissions, EUserPermissionsLevel, MEMBER_TRACKER_ELEMENTS } from "@plane/constants";
import { useOutsideClickDetector } from "@plane/hooks";
import { useTranslation } from "@plane/i18n";
import { Logo } from "@plane/propel/emoji-icon-picker";
-import { ArchiveIcon, ChevronRightIcon } from "@plane/propel/icons";
+import { LinkIcon, ArchiveIcon, ChevronRightIcon } from "@plane/propel/icons";
import { IconButton } from "@plane/propel/icon-button";
import { Tooltip } from "@plane/propel/tooltip";
import { CustomMenu, DropIndicator, DragHandle, ControlLink } from "@plane/ui";
diff --git a/apps/web/core/components/workspace/sidebar/projects-list.tsx b/apps/web/core/components/workspace/sidebar/projects-list.tsx
index cc2d24f689..2d9c4f5a7b 100644
--- a/apps/web/core/components/workspace/sidebar/projects-list.tsx
+++ b/apps/web/core/components/workspace/sidebar/projects-list.tsx
@@ -3,12 +3,12 @@ import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine";
import { autoScrollForElements } from "@atlaskit/pragmatic-drag-and-drop-auto-scroll/element";
import { observer } from "mobx-react";
import { useParams, usePathname } from "next/navigation";
-import { Plus, Ellipsis } from "lucide-react";
+import { Ellipsis } from "lucide-react";
import { Disclosure, Transition } from "@headlessui/react";
// plane imports
import { EUserPermissions, EUserPermissionsLevel, PROJECT_TRACKER_ELEMENTS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";
-import { ChevronRightIcon } from "@plane/propel/icons";
+import { PlusIcon, ChevronRightIcon } from "@plane/propel/icons";
import { IconButton } from "@plane/propel/icon-button";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
import { Tooltip } from "@plane/propel/tooltip";
@@ -185,7 +185,7 @@ export const SidebarProjectsList = observer(function SidebarProjectsList() {
<IconButton
variant="ghost"
size="sm"
- icon={Plus}
+ icon={PlusIcon}
onClick={() => {
setIsProjectModalOpen(true);
}}
diff --git a/apps/web/core/components/workspace/views/default-view-quick-action.tsx b/apps/web/core/components/workspace/views/default-view-quick-action.tsx
index ade0834b40..99d2641516 100644
--- a/apps/web/core/components/workspace/views/default-view-quick-action.tsx
+++ b/apps/web/core/components/workspace/views/default-view-quick-action.tsx
@@ -1,7 +1,8 @@
import { observer } from "mobx-react";
-import { ExternalLink, LinkIcon } from "lucide-react";
-// plane imports
+
import { useTranslation } from "@plane/i18n";
+// plane imports
+import { LinkIcon, NewTabIcon } from "@plane/propel/icons";
import { TOAST_TYPE, setToast } from "@plane/propel/toast";
// ui
import type { TStaticViewTypes } from "@plane/types";
@@ -38,7 +39,7 @@ export const DefaultWorkspaceViewQuickActions = observer(function DefaultWorkspa
key: "open-new-tab",
action: handleOpenInNewTab,
title: t("open_in_new_tab"),
- icon: ExternalLink,
+ icon: NewTabIcon,
},
{
key: "copy-link",
diff --git a/apps/web/core/components/workspace/views/header.tsx b/apps/web/core/components/workspace/views/header.tsx
index 449d33df70..ef09a1e233 100644
--- a/apps/web/core/components/workspace/views/header.tsx
+++ b/apps/web/core/components/workspace/views/header.tsx
@@ -1,7 +1,7 @@
import React, { useEffect, useRef, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
-import { Plus } from "lucide-react";
+
// plane imports
import {
DEFAULT_GLOBAL_VIEWS_LIST,
@@ -10,6 +10,7 @@ import {
GLOBAL_VIEW_TRACKER_ELEMENTS,
GLOBAL_VIEW_TRACKER_EVENTS,
} from "@plane/constants";
+import { PlusIcon } from "@plane/propel/icons";
import type { TStaticViewTypes } from "@plane/types";
import { Header, EHeaderVariant } from "@plane/ui";
// helpers
@@ -122,7 +123,7 @@ export const GlobalViewsHeader = observer(function GlobalViewsHeader() {
className="sticky -right-4 flex flex-shrink-0 items-center justify-center border-transparent bg-surface-1 py-3 hover:border-subtle hover:text-placeholder"
onClick={() => setCreateViewModal(true)}
>
- <Plus className="h-4 w-4 text-accent-secondary" />
+ <PlusIcon className="h-4 w-4 text-accent-secondary" />
</button>
) : (
<></>
diff --git a/apps/web/core/components/workspace/views/view-list-item.tsx b/apps/web/core/components/workspace/views/view-list-item.tsx
index 7a1b3357e4..8f754fe592 100644
--- a/apps/web/core/components/workspace/views/view-list-item.tsx
+++ b/apps/web/core/components/workspace/views/view-list-item.tsx
@@ -2,9 +2,10 @@ import { useState } from "react";
import { observer } from "mobx-react";
import Link from "next/link";
import { useParams } from "next/navigation";
-import { Pencil, Trash2 } from "lucide-react";
-// plane imports
+
import { GLOBAL_VIEW_TRACKER_ELEMENTS } from "@plane/constants";
+import { EditIcon, TrashIcon } from "@plane/propel/icons";
+// plane imports
import { CustomMenu } from "@plane/ui";
import { truncateText } from "@plane/utils";
// helpers
@@ -57,7 +58,7 @@ export const GlobalViewListItem = observer(function GlobalViewListItem(props: Pr
}}
>
<span className="flex items-center justify-start gap-2">
- <Pencil size={14} strokeWidth={2} />
+ <EditIcon width={14} height={14} strokeWidth={2} />
<span>Edit View</span>
</span>
</CustomMenu.MenuItem>
@@ -70,7 +71,7 @@ export const GlobalViewListItem = observer(function GlobalViewListItem(props: Pr
}}
>
<span className="flex items-center justify-start gap-2">
- <Trash2 size={14} strokeWidth={2} />
+ <TrashIcon width={14} height={14} strokeWidth={2} />
<span>Delete View</span>
</span>
</CustomMenu.MenuItem>
diff --git a/apps/web/helpers/views.helper.ts b/apps/web/helpers/views.helper.ts
index ba1e14c30f..eaa0e1e88d 100644
--- a/apps/web/helpers/views.helper.ts
+++ b/apps/web/helpers/views.helper.ts
@@ -1,16 +1,18 @@
import type { LucideIcon } from "lucide-react";
-import { Globe2, Lock } from "lucide-react";
import { VIEW_ACCESS_SPECIFIERS as VIEW_ACCESS_SPECIFIERS_CONSTANTS } from "@plane/constants";
+import { GlobeIcon, LockIcon } from "@plane/propel/icons";
+
+import type { ISvgIcons } from "@plane/propel/icons";
import { EViewAccess } from "@plane/types";
const VIEW_ACCESS_ICONS = {
- [EViewAccess.PUBLIC]: Globe2,
- [EViewAccess.PRIVATE]: Lock,
+ [EViewAccess.PUBLIC]: GlobeIcon,
+ [EViewAccess.PRIVATE]: LockIcon,
};
export const VIEW_ACCESS_SPECIFIERS: {
key: EViewAccess;
i18n_label: string;
- icon: LucideIcon;
+ icon: LucideIcon | React.FC<ISvgIcons>;
}[] = VIEW_ACCESS_SPECIFIERS_CONSTANTS.map((option) => ({
...option,
icon: VIEW_ACCESS_ICONS[option.key as keyof typeof VIEW_ACCESS_ICONS],
diff --git a/packages/editor/src/core/components/links/link-preview.tsx b/packages/editor/src/core/components/links/link-preview.tsx
index 56c2243da9..8a108ff020 100644
--- a/packages/editor/src/core/components/links/link-preview.tsx
+++ b/packages/editor/src/core/components/links/link-preview.tsx
@@ -1,4 +1,5 @@
-import { Copy, GlobeIcon, Link2Off, PencilIcon } from "lucide-react";
+import { Link2Off } from "lucide-react";
+import { CopyIcon, GlobeIcon, EditIcon } from "@plane/propel/icons";
// components
import type { LinkViewProps, LinkViews } from "@/components/links";
@@ -29,11 +30,11 @@ export function LinkPreview({
}}
>
<div className="shadow-md items-center rounded-sm p-2 flex gap-3 bg-layer-1 border-subtle border-2 text-tertiary text-11">
- <GlobeIcon size={14} className="inline-block" />
+ <GlobeIcon width={14} height={14} className="inline-block" />
<p>{url?.length > 40 ? url.slice(0, 40) + "..." : url}</p>
<div className="flex gap-2">
<button onClick={copyLinkToClipboard} className="cursor-pointer hover:text-primary transition-colors">
- <Copy size={14} className="inline-block" />
+ <CopyIcon width={14} height={14} className="inline-block" />
</button>
{editor.isEditable && (
<>
@@ -41,7 +42,7 @@ export function LinkPreview({
onClick={() => switchView("LinkEditView")}
className="cursor-pointer hover:text-primary transition-colors"
>
- <PencilIcon size={14} className="inline-block" />
+ <EditIcon width={14} height={14} className="inline-block" />
</button>
<button onClick={removeLink} className="cursor-pointer hover:text-primary transition-colors">
<Link2Off size={14} className="inline-block" />
diff --git a/packages/editor/src/core/components/menus/block-menu.tsx b/packages/editor/src/core/components/menus/block-menu.tsx
index 69d9f3cc16..4538818b0f 100644
--- a/packages/editor/src/core/components/menus/block-menu.tsx
+++ b/packages/editor/src/core/components/menus/block-menu.tsx
@@ -10,8 +10,8 @@ import {
} from "@floating-ui/react";
import type { Editor } from "@tiptap/react";
import type { LucideIcon } from "lucide-react";
-import { Copy, Trash2 } from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
+import { CopyIcon, TrashIcon } from "@plane/propel/icons";
import type { ISvgIcons } from "@plane/propel/icons";
import { cn } from "@plane/utils";
// constants
@@ -144,7 +144,7 @@ export function BlockMenu(props: Props) {
const MENU_ITEMS: BlockMenuOption[] = [
{
- icon: Trash2,
+ icon: TrashIcon,
key: "delete",
label: "Delete",
onClick: (_e) => {
@@ -153,7 +153,7 @@ export function BlockMenu(props: Props) {
},
},
{
- icon: Copy,
+ icon: CopyIcon,
key: "duplicate",
label: "Duplicate",
isDisabled:
diff --git a/packages/editor/src/core/components/menus/bubble-menu/link-selector.tsx b/packages/editor/src/core/components/menus/bubble-menu/link-selector.tsx
index eea52639ed..473bcfc9d4 100644
--- a/packages/editor/src/core/components/menus/bubble-menu/link-selector.tsx
+++ b/packages/editor/src/core/components/menus/bubble-menu/link-selector.tsx
@@ -1,7 +1,8 @@
import type { Editor } from "@tiptap/core";
-import { Check, Link, Trash2 } from "lucide-react";
+
import type { FC } from "react";
import { useCallback, useRef, useState } from "react";
+import { LinkIcon, TrashIcon, CheckIcon } from "@plane/propel/icons";
// plane imports
import { cn } from "@plane/utils";
// constants
@@ -58,7 +59,7 @@ export function BubbleMenuLinkSelector(props: Props) {
menuButton={
<>
Link
- <Link className="shrink-0 size-3" />
+ <LinkIcon className="shrink-0 size-3" />
</>
}
options={options}
@@ -96,7 +97,7 @@ export function BubbleMenuLinkSelector(props: Props) {
context.onOpenChange(false);
}}
>
- <Trash2 className="size-4" />
+ <TrashIcon className="size-4" />
</button>
) : (
<button
@@ -107,7 +108,7 @@ export function BubbleMenuLinkSelector(props: Props) {
handleLinkSubmit();
}}
>
- <Check className="size-4" />
+ <CheckIcon className="size-4" />
</button>
)}
</div>
diff --git a/packages/editor/src/core/components/menus/bubble-menu/node-selector.tsx b/packages/editor/src/core/components/menus/bubble-menu/node-selector.tsx
index d28ee912b0..ff16bdc130 100644
--- a/packages/editor/src/core/components/menus/bubble-menu/node-selector.tsx
+++ b/packages/editor/src/core/components/menus/bubble-menu/node-selector.tsx
@@ -1,7 +1,7 @@
import type { Editor } from "@tiptap/react";
-import { Check } from "lucide-react";
+
import type { FC } from "react";
-import { ChevronDownIcon } from "@plane/propel/icons";
+import { CheckIcon, ChevronDownIcon } from "@plane/propel/icons";
// plane utils
import { cn } from "@plane/utils";
// components
@@ -96,7 +96,7 @@ export function BubbleMenuNodeSelector(props: Props) {
<item.icon className="size-3 flex-shrink-0" />
<span>{item.name}</span>
</div>
- {activeItem.name === item.name && <Check className="size-3 text-tertiary flex-shrink-0" />}
+ {activeItem.name === item.name && <CheckIcon className="size-3 text-tertiary flex-shrink-0" />}
</button>
))}
</section>
diff --git a/packages/editor/src/core/components/menus/menu-items.ts b/packages/editor/src/core/components/menus/menu-items.ts
index 6fc6cfe309..242aaf33f8 100644
--- a/packages/editor/src/core/components/menus/menu-items.ts
+++ b/packages/editor/src/core/components/menus/menu-items.ts
@@ -21,9 +21,9 @@ import {
MinusSquare,
Palette,
AlignCenter,
- LinkIcon,
} from "lucide-react";
import type { LucideIcon } from "lucide-react";
+import { LinkIcon } from "@plane/propel/icons";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
// helpers
@@ -50,7 +50,7 @@ import {
} from "@/helpers/editor-commands";
// types
import type { TCommandWithProps, TEditorCommands } from "@/types";
-
+import type { ISvgIcons } from "@plane/propel/icons";
type isActiveFunction<T extends TEditorCommands> = (params?: TCommandWithProps<T>) => boolean;
type commandFunction<T extends TEditorCommands> = (params?: TCommandWithProps<T>) => void;
@@ -58,7 +58,7 @@ export type EditorMenuItem<T extends TEditorCommands> = {
key: T;
name: string;
command: commandFunction<T>;
- icon: LucideIcon;
+ icon: LucideIcon | React.FC<ISvgIcons>;
isActive: isActiveFunction<T>;
};
diff --git a/packages/editor/src/core/extensions/code/code-block-node-view.tsx b/packages/editor/src/core/extensions/code/code-block-node-view.tsx
index 44fd4026a1..0f1650ccbb 100644
--- a/packages/editor/src/core/extensions/code/code-block-node-view.tsx
+++ b/packages/editor/src/core/extensions/code/code-block-node-view.tsx
@@ -2,8 +2,9 @@ import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
import { NodeViewWrapper, NodeViewContent } from "@tiptap/react";
import ts from "highlight.js/lib/languages/typescript";
import { common, createLowlight } from "lowlight";
-import { CopyIcon, CheckIcon } from "lucide-react";
+import { CheckIcon } from "lucide-react";
import { useState } from "react";
+import { CopyIcon } from "@plane/propel/icons";
// ui
import { Tooltip } from "@plane/propel/tooltip";
// plane utils
diff --git a/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/modal.tsx b/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/modal.tsx
index 8588b3e203..81a096fd65 100644
--- a/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/modal.tsx
+++ b/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/modal.tsx
@@ -1,7 +1,7 @@
-import { Download, ExternalLink, Minus, Plus } from "lucide-react";
+import { Download, Minus } from "lucide-react";
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import ReactDOM from "react-dom";
-import { CloseIcon } from "@plane/propel/icons";
+import { NewTabIcon, PlusIcon, CloseIcon } from "@plane/propel/icons";
// plane imports
import { cn } from "@plane/utils";
@@ -262,7 +262,7 @@ function ImageFullScreenModalWithoutPortal(props: Props) {
disabled={magnification >= MAX_ZOOM}
aria-label="Zoom in"
>
- <Plus className="size-4" />
+ <PlusIcon className="size-4" />
</button>
</div>
{!isTouchDevice && (
@@ -282,7 +282,7 @@ function ImageFullScreenModalWithoutPortal(props: Props) {
className="flex-shrink-0 size-8 grid place-items-center text-white/60 hover:text-white transition-colors duration-200"
aria-label="Open image in new tab"
>
- <ExternalLink className="size-4" />
+ <NewTabIcon className="size-4" />
</button>
)}
</div>
diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/column/dropdown.tsx b/packages/editor/src/core/extensions/table/plugins/drag-handles/column/dropdown.tsx
index 581949fcf4..7bd5278638 100644
--- a/packages/editor/src/core/extensions/table/plugins/drag-handles/column/dropdown.tsx
+++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/column/dropdown.tsx
@@ -1,10 +1,10 @@
import type { Editor } from "@tiptap/core";
import { TableMap } from "@tiptap/pm/tables";
-import { ArrowLeft, ArrowRight, Copy, ToggleRight, Trash2 } from "lucide-react";
+import { ArrowLeft, ArrowRight, ToggleRight } from "lucide-react";
import type { LucideIcon } from "lucide-react";
// extensions
import type { ISvgIcons } from "@plane/propel/icons";
-import { CloseIcon } from "@plane/propel/icons";
+import { CopyIcon, TrashIcon, CloseIcon } from "@plane/propel/icons";
import { findTable, getSelectedColumns } from "@/extensions/table/table/utilities/helpers";
// local imports
import { duplicateColumns } from "../actions";
@@ -31,7 +31,7 @@ const DROPDOWN_ITEMS: {
{
key: "duplicate",
label: "Duplicate",
- icon: Copy,
+ icon: CopyIcon,
action: (editor) => {
const table = findTable(editor.state.selection);
if (!table) return;
@@ -52,7 +52,7 @@ const DROPDOWN_ITEMS: {
{
key: "delete",
label: "Delete",
- icon: Trash2,
+ icon: TrashIcon,
action: (editor) => editor.chain().focus().deleteColumn().run(),
},
];
diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/row/dropdown.tsx b/packages/editor/src/core/extensions/table/plugins/drag-handles/row/dropdown.tsx
index a47317cc13..ddd1299530 100644
--- a/packages/editor/src/core/extensions/table/plugins/drag-handles/row/dropdown.tsx
+++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/row/dropdown.tsx
@@ -1,10 +1,10 @@
import type { Editor } from "@tiptap/core";
import { TableMap } from "@tiptap/pm/tables";
-import { ArrowDown, ArrowUp, Copy, ToggleRight, Trash2 } from "lucide-react";
+import { ArrowDown, ArrowUp, ToggleRight } from "lucide-react";
import type { LucideIcon } from "lucide-react";
// extensions
import type { ISvgIcons } from "@plane/propel/icons";
-import { CloseIcon } from "@plane/propel/icons";
+import { CopyIcon, TrashIcon, CloseIcon } from "@plane/propel/icons";
import { findTable, getSelectedRows } from "@/extensions/table/table/utilities/helpers";
// local imports
import { duplicateRows } from "../actions";
@@ -31,7 +31,7 @@ const DROPDOWN_ITEMS: {
{
key: "duplicate",
label: "Duplicate",
- icon: Copy,
+ icon: CopyIcon,
action: (editor) => {
const table = findTable(editor.state.selection);
if (!table) return;
@@ -52,7 +52,7 @@ const DROPDOWN_ITEMS: {
{
key: "delete",
label: "Delete",
- icon: Trash2,
+ icon: TrashIcon,
action: (editor) => editor.chain().focus().deleteRow().run(),
},
];
diff --git a/packages/propel/src/accordion/accordion.tsx b/packages/propel/src/accordion/accordion.tsx
index 0768b4fc75..2b333c28c1 100644
--- a/packages/propel/src/accordion/accordion.tsx
+++ b/packages/propel/src/accordion/accordion.tsx
@@ -1,6 +1,7 @@
import * as React from "react";
import { Accordion as BaseAccordion } from "@base-ui-components/react";
-import { PlusIcon } from "lucide-react";
+
+import { PlusIcon } from "../icons";
export interface AccordionRootProps {
defaultValue?: string[];
diff --git a/packages/propel/src/combobox/combobox.stories.tsx b/packages/propel/src/combobox/combobox.stories.tsx
index 348b06e983..c3c0711f8d 100644
--- a/packages/propel/src/combobox/combobox.stories.tsx
+++ b/packages/propel/src/combobox/combobox.stories.tsx
@@ -1,7 +1,8 @@
import { useState } from "react";
import type { Meta, StoryObj } from "@storybook/react-vite";
-import { Check, ChevronsUpDown } from "lucide-react";
+import { ChevronsUpDown } from "lucide-react";
import { useArgs } from "storybook/preview-api";
+import { CheckIcon } from "../icons";
import { Combobox } from "./combobox";
const frameworks = [
@@ -48,7 +49,7 @@ const meta = {
value={framework.value}
className="flex items-center gap-2 px-4 py-2"
>
- {value === framework.value && <Check className="h-4 w-4" />}
+ {value === framework.value && <CheckIcon className="h-4 w-4" />}
<span>{framework.label}</span>
</Combobox.Option>
))}
@@ -79,7 +80,7 @@ export const WithoutSearch: Story = {
value={framework.value}
className="flex items-center gap-2 px-4 py-2"
>
- {value === framework.value && <Check className="h-4 w-4" />}
+ {value === framework.value && <CheckIcon className="h-4 w-4" />}
<span>{framework.label}</span>
</Combobox.Option>
))}
@@ -106,7 +107,7 @@ export const MultiSelect: Story = {
value={framework.value}
className="flex items-center gap-2 px-4 py-2"
>
- {value.includes(framework.value) && <Check className="h-4 w-4" />}
+ {value.includes(framework.value) && <CheckIcon className="h-4 w-4" />}
<span>{framework.label}</span>
</Combobox.Option>
))}
@@ -136,7 +137,7 @@ export const MultiSelectWithLimit: Story = {
value={framework.value}
className="flex items-center gap-2 px-4 py-2"
>
- {value.includes(framework.value) && <Check className="h-4 w-4" />}
+ {value.includes(framework.value) && <CheckIcon className="h-4 w-4" />}
<span>{framework.label}</span>
</Combobox.Option>
))}
@@ -165,7 +166,7 @@ export const Disabled: Story = {
value={framework.value}
className="flex items-center gap-2 px-4 py-2"
>
- {value === framework.value && <Check className="h-4 w-4" />}
+ {value === framework.value && <CheckIcon className="h-4 w-4" />}
<span>{framework.label}</span>
</Combobox.Option>
))}
@@ -192,7 +193,7 @@ export const DisabledOptions: Story = {
disabled={framework.value === "angular" || framework.value === "svelte"}
className="flex items-center gap-2 px-4 py-2"
>
- {value === framework.value && <Check className="h-4 w-4" />}
+ {value === framework.value && <CheckIcon className="h-4 w-4" />}
<span>{framework.label}</span>
</Combobox.Option>
))}
@@ -218,7 +219,7 @@ export const CustomMaxHeight: Story = {
value={framework.value}
className="flex items-center gap-2 px-4 py-2"
>
- {value === framework.value && <Check className="h-4 w-4" />}
+ {value === framework.value && <CheckIcon className="h-4 w-4" />}
<span>{framework.label}</span>
</Combobox.Option>
))}
@@ -249,7 +250,7 @@ export const CustomEmptyMessage: Story = {
value={framework.value}
className="flex items-center gap-2 px-4 py-2"
>
- {value === framework.value && <Check className="h-4 w-4" />}
+ {value === framework.value && <CheckIcon className="h-4 w-4" />}
<span>{framework.label}</span>
</Combobox.Option>
))}
diff --git a/packages/propel/src/combobox/combobox.tsx b/packages/propel/src/combobox/combobox.tsx
index 101ba7545a..7dad6fad83 100644
--- a/packages/propel/src/combobox/combobox.tsx
+++ b/packages/propel/src/combobox/combobox.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
import { Combobox as BaseCombobox } from "@base-ui-components/react/combobox";
-import { Search } from "lucide-react";
+import { SearchIcon } from "../icons";
import { cn } from "../utils/classname";
// Type definitions
@@ -174,7 +174,7 @@ function ComboboxOptions({
<div className="flex flex-col gap-1">
{showSearch && (
<div className="relative">
- <Search className="absolute left-2 top-1/2 h-4 w-4 -translate-y-1/2 text-placeholder" />
+ <SearchIcon className="absolute left-2 top-1/2 h-4 w-4 -translate-y-1/2 text-placeholder" />
<input
type="text"
placeholder={searchPlaceholder}
diff --git a/packages/propel/src/command/command.tsx b/packages/propel/src/command/command.tsx
index 710a3f4cca..b3483bfe49 100644
--- a/packages/propel/src/command/command.tsx
+++ b/packages/propel/src/command/command.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
import { Command as CommandPrimitive } from "cmdk";
-import { SearchIcon } from "lucide-react";
+import { SearchIcon } from "../icons";
import { cn } from "../utils/classname";
function CommandComponent({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>) {
diff --git a/packages/propel/src/context-menu/context-menu.stories.tsx b/packages/propel/src/context-menu/context-menu.stories.tsx
index 02abf334ea..2d64af2fb7 100644
--- a/packages/propel/src/context-menu/context-menu.stories.tsx
+++ b/packages/propel/src/context-menu/context-menu.stories.tsx
@@ -1,5 +1,6 @@
import type { Meta, StoryObj } from "@storybook/react-vite";
-import { Copy, Download, Edit, Share, Trash, Star, Archive } from "lucide-react";
+import { Download, Edit, Share, Star, Archive } from "lucide-react";
+import { CopyIcon, TrashIcon } from "../icons";
import { ChevronRightIcon } from "../icons/arrows/chevron-right";
import { ContextMenu } from "./context-menu";
@@ -63,7 +64,7 @@ export const WithIcons: Story = {
<ContextMenu.Portal>
<ContextMenu.Content>
<ContextMenu.Item>
- <Copy className="mr-2 h-4 w-4" />
+ <CopyIcon className="mr-2 h-4 w-4" />
Copy
</ContextMenu.Item>
<ContextMenu.Item>
@@ -80,7 +81,7 @@ export const WithIcons: Story = {
Share
</ContextMenu.Item>
<ContextMenu.Item>
- <Trash className="mr-2 h-4 w-4 text-danger-primary" />
+ <TrashIcon className="mr-2 h-4 w-4 text-danger-primary" />
<span className="text-danger-primary">Delete</span>
</ContextMenu.Item>
</ContextMenu.Content>
@@ -102,7 +103,7 @@ export const WithSubmenus: Story = {
<ContextMenu.Portal>
<ContextMenu.Content>
<ContextMenu.Item>
- <Copy className="mr-2 h-4 w-4" />
+ <CopyIcon className="mr-2 h-4 w-4" />
Copy
</ContextMenu.Item>
<ContextMenu.Item>
@@ -126,7 +127,7 @@ export const WithSubmenus: Story = {
</ContextMenu.Submenu>
<ContextMenu.Separator />
<ContextMenu.Item>
- <Trash className="mr-2 h-4 w-4 text-danger-primary" />
+ <TrashIcon className="mr-2 h-4 w-4 text-danger-primary" />
<span className="text-danger-primary">Delete</span>
</ContextMenu.Item>
</ContextMenu.Content>
@@ -148,7 +149,7 @@ export const DisabledItems: Story = {
<ContextMenu.Portal>
<ContextMenu.Content>
<ContextMenu.Item>
- <Copy className="mr-2 h-4 w-4" />
+ <CopyIcon className="mr-2 h-4 w-4" />
Copy
</ContextMenu.Item>
<ContextMenu.Item disabled>
@@ -165,7 +166,7 @@ export const DisabledItems: Story = {
Share (Disabled)
</ContextMenu.Item>
<ContextMenu.Item>
- <Trash className="mr-2 h-4 w-4 text-danger-primary" />
+ <TrashIcon className="mr-2 h-4 w-4 text-danger-primary" />
<span className="text-danger-primary">Delete</span>
</ContextMenu.Item>
</ContextMenu.Content>
@@ -199,7 +200,7 @@ export const OnFileCard: Story = {
Download
</ContextMenu.Item>
<ContextMenu.Item>
- <Copy className="mr-2 h-4 w-4" />
+ <CopyIcon className="mr-2 h-4 w-4" />
Copy Link
</ContextMenu.Item>
<ContextMenu.Item>
@@ -212,7 +213,7 @@ export const OnFileCard: Story = {
Archive
</ContextMenu.Item>
<ContextMenu.Item>
- <Trash className="mr-2 h-4 w-4 text-danger-primary" />
+ <TrashIcon className="mr-2 h-4 w-4 text-danger-primary" />
<span className="text-danger-primary">Delete</span>
</ContextMenu.Item>
</ContextMenu.Content>
@@ -238,11 +239,11 @@ export const OnImage: Story = {
Save Image
</ContextMenu.Item>
<ContextMenu.Item>
- <Copy className="mr-2 h-4 w-4" />
+ <CopyIcon className="mr-2 h-4 w-4" />
Copy Image
</ContextMenu.Item>
<ContextMenu.Item>
- <Copy className="mr-2 h-4 w-4" />
+ <CopyIcon className="mr-2 h-4 w-4" />
Copy Image URL
</ContextMenu.Item>
<ContextMenu.Separator />
@@ -270,7 +271,7 @@ export const OnText: Story = {
<ContextMenu.Portal>
<ContextMenu.Content>
<ContextMenu.Item>
- <Copy className="mr-2 h-4 w-4" />
+ <CopyIcon className="mr-2 h-4 w-4" />
Copy
</ContextMenu.Item>
<ContextMenu.Item>
@@ -327,7 +328,7 @@ export const NestedSubmenus: Story = {
</ContextMenu.Submenu>
<ContextMenu.Separator />
<ContextMenu.Item>
- <Trash className="mr-2 h-4 w-4 text-danger-primary" />
+ <TrashIcon className="mr-2 h-4 w-4 text-danger-primary" />
<span className="text-danger-primary">Delete</span>
</ContextMenu.Item>
</ContextMenu.Content>
@@ -349,7 +350,7 @@ export const WithKeyboardShortcuts: Story = {
<ContextMenu.Portal>
<ContextMenu.Content>
<ContextMenu.Item>
- <Copy className="mr-2 h-4 w-4" />
+ <CopyIcon className="mr-2 h-4 w-4" />
Copy
<span className="ml-auto text-11 text-placeholder">⌘C</span>
</ContextMenu.Item>
@@ -365,7 +366,7 @@ export const WithKeyboardShortcuts: Story = {
</ContextMenu.Item>
<ContextMenu.Separator />
<ContextMenu.Item>
- <Trash className="mr-2 h-4 w-4 text-danger-primary" />
+ <TrashIcon className="mr-2 h-4 w-4 text-danger-primary" />
<span className="text-danger-primary">Delete</span>
<span className="ml-auto text-11 text-placeholder">⌘⌫</span>
</ContextMenu.Item>
diff --git a/packages/propel/src/emoji-icon-picker/icon/icon-root.tsx b/packages/propel/src/emoji-icon-picker/icon/icon-root.tsx
index 8ef663a978..745d9a741b 100644
--- a/packages/propel/src/emoji-icon-picker/icon/icon-root.tsx
+++ b/packages/propel/src/emoji-icon-picker/icon/icon-root.tsx
@@ -1,5 +1,6 @@
import React, { useEffect, useState } from "react";
-import { InfoIcon, Search } from "lucide-react";
+import { InfoIcon } from "lucide-react";
+import { SearchIcon } from "../../icons";
import { cn } from "../../utils/classname";
import { adjustColorForContrast, DEFAULT_COLORS } from "../helper";
import { LucideIconsList } from "./lucide-root";
@@ -42,7 +43,7 @@ export function IconRoot(props: IconRootProps) {
onFocus={() => setIsInputFocused(true)}
onBlur={() => setIsInputFocused(false)}
>
- <Search className="absolute left-2.5 bottom-3 h-3.5 w-3.5 text-placeholder" />
+ <SearchIcon className="absolute left-2.5 bottom-3 h-3.5 w-3.5 text-placeholder" />
<input
placeholder="Search"
diff --git a/packages/propel/src/emoji-icon-picker/lucide-icons.tsx b/packages/propel/src/emoji-icon-picker/lucide-icons.tsx
index 5a98d903ab..2aeffc77ca 100644
--- a/packages/propel/src/emoji-icon-picker/lucide-icons.tsx
+++ b/packages/propel/src/emoji-icon-picker/lucide-icons.tsx
@@ -134,7 +134,7 @@ import {
LogIn,
LogOut,
Mail,
- Map,
+ Map as MapIcon,
MapPin,
Maximize,
Maximize2,
@@ -293,7 +293,7 @@ export const LUCIDE_ICONS_LIST = [
{ name: "LogIn", element: LogIn },
{ name: "LogOut", element: LogOut },
{ name: "Mail", element: Mail },
- { name: "Map", element: Map },
+ { name: "Map", element: MapIcon },
{ name: "MapPin", element: MapPin },
{ name: "Maximize", element: Maximize },
{ name: "Maximize2", element: Maximize2 },
diff --git a/packages/propel/src/icons/actions/check-icon.tsx b/packages/propel/src/icons/actions/check-icon.tsx
new file mode 100644
index 0000000000..1c4d23f9fb
--- /dev/null
+++ b/packages/propel/src/icons/actions/check-icon.tsx
@@ -0,0 +1,13 @@
+import * as React from "react";
+
+import { IconWrapper } from "../icon-wrapper";
+import type { ISvgIcons } from "../type";
+
+export const CheckIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
+ <IconWrapper color={color} {...rest}>
+ <path
+ d="M12.9746 3.78242C13.2185 3.53862 13.6143 3.53873 13.8584 3.78242C14.1024 4.0265 14.1024 4.42311 13.8584 4.66719L6.52534 12.0002C6.28132 12.2442 5.88565 12.2441 5.64155 12.0002L2.30757 8.66719C2.06349 8.42311 2.06349 8.0265 2.30757 7.78242C2.55165 7.53835 2.94826 7.53835 3.19234 7.78242L6.08296 10.674L12.9746 3.78242Z"
+ fill={color}
+ />
+ </IconWrapper>
+);
diff --git a/packages/propel/src/icons/actions/copy-icon.tsx b/packages/propel/src/icons/actions/copy-icon.tsx
new file mode 100644
index 0000000000..3e82a9fb65
--- /dev/null
+++ b/packages/propel/src/icons/actions/copy-icon.tsx
@@ -0,0 +1,13 @@
+import * as React from "react";
+
+import { IconWrapper } from "../icon-wrapper";
+import type { ISvgIcons } from "../type";
+
+export const CopyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
+ <IconWrapper color={color} {...rest}>
+ <path
+ d="M12.8751 8.13965C12.8751 7.73983 12.8748 7.46942 12.8614 7.26075C12.8483 7.05591 12.8244 6.95774 12.7999 6.89649C12.735 6.73455 12.6426 6.63099 12.5597 6.57715C12.5561 6.57481 12.528 6.55459 12.3976 6.54102C12.254 6.52612 12.0611 6.52539 11.7403 6.52539H8.11045C7.78934 6.52539 7.5959 6.52608 7.45225 6.54102C7.32361 6.5544 7.29534 6.57436 7.29112 6.57715C7.20815 6.63096 7.11485 6.73431 7.04991 6.89649C7.02538 6.95774 7.00153 7.05591 6.98838 7.26075C6.975 7.46942 6.97471 7.73985 6.97471 8.13965V12.7598C6.97471 13.1599 6.97498 13.4309 6.98838 13.6397C7.0015 13.8439 7.02545 13.9417 7.04991 14.0029C7.11485 14.1652 7.20813 14.2694 7.29112 14.3232C7.29593 14.3264 7.32527 14.3462 7.45225 14.3594C7.5959 14.3743 7.78934 14.375 8.11045 14.375H11.7403C12.061 14.375 12.254 14.3743 12.3976 14.3594C12.528 14.3458 12.5561 14.3256 12.5597 14.3232C12.6426 14.2694 12.735 14.1651 12.7999 14.0029C12.8244 13.9417 12.8483 13.844 12.8614 13.6397C12.8748 13.4309 12.8751 13.1599 12.8751 12.7598V8.13965ZM9.02549 3.09961C9.02549 2.39729 9.01698 2.19651 8.97178 2.05762C8.90057 1.8389 8.77938 1.71171 8.67979 1.65918C8.67912 1.65883 8.67283 1.6557 8.65538 1.65137C8.63581 1.64655 8.60298 1.64052 8.54795 1.63574C8.42783 1.62531 8.26723 1.625 8.0001 1.625H4.25987C3.93918 1.625 3.74622 1.62573 3.60264 1.64063C3.47216 1.6542 3.44414 1.67442 3.44053 1.67676C3.35757 1.73059 3.26522 1.8349 3.2003 1.99707C3.17582 2.05833 3.1519 2.15596 3.13877 2.36035C3.12537 2.56912 3.1251 2.84008 3.1251 3.24024V8C3.1251 8.70196 3.13274 8.90309 3.17784 9.042C3.24905 9.26082 3.37119 9.38792 3.4708 9.44043C3.47181 9.44097 3.4776 9.44411 3.49424 9.44825C3.51376 9.45308 3.5472 9.45906 3.60264 9.46387C3.72273 9.47427 3.88361 9.47461 4.15049 9.47461C4.49536 9.47482 4.77528 9.75474 4.77549 10.0996C4.77549 10.4447 4.49549 10.7244 4.15049 10.7246C3.90511 10.7246 3.68091 10.7252 3.49424 10.709C3.29805 10.692 3.0914 10.6532 2.8878 10.5459C2.4484 10.3142 2.14142 9.89594 1.98936 9.42871C1.86727 9.05317 1.8751 8.60175 1.8751 8V3.24024C1.8751 2.85632 1.87513 2.53842 1.8917 2.28028C1.90853 2.01827 1.94479 1.7704 2.04014 1.53223C2.18612 1.16761 2.42988 0.842556 2.76084 0.627932C2.99239 0.477856 3.23654 0.422046 3.47276 0.397464C3.6959 0.37426 3.96501 0.375002 4.25987 0.375003H8.0001C8.24551 0.375003 8.46967 0.374417 8.65635 0.390628C8.85246 0.407678 9.0593 0.446434 9.2628 0.553714C9.7021 0.785394 10.0082 1.20375 10.1603 1.6709C10.2825 2.04646 10.2755 2.49781 10.2755 3.09961C10.2755 3.44466 9.99549 3.7244 9.65049 3.72461C9.30531 3.72461 9.02549 3.44479 9.02549 3.09961ZM14.1251 12.7598C14.1251 13.1437 14.1251 13.4616 14.1085 13.7197C14.0917 13.9817 14.0554 14.2296 13.9601 14.4678C13.8141 14.8324 13.5703 15.1574 13.2394 15.3721C13.0078 15.5221 12.7637 15.578 12.5274 15.6025C12.3043 15.6257 12.0352 15.625 11.7403 15.625H8.11045C7.81566 15.625 7.54647 15.6257 7.32334 15.6025C7.08697 15.578 6.84215 15.5223 6.61045 15.3721C6.27949 15.1574 6.03573 14.8324 5.88975 14.4678C5.79443 14.2296 5.75814 13.9817 5.74131 13.7197C5.72474 13.4616 5.72471 13.1437 5.72471 12.7598V8.13965C5.72471 7.756 5.72476 7.43869 5.74131 7.18067C5.75814 6.91859 5.79438 6.66987 5.88975 6.43164C6.03572 6.06725 6.2797 5.74288 6.61045 5.52832C6.84215 5.37807 7.08697 5.32243 7.32334 5.29785C7.54648 5.27468 7.81565 5.27539 8.11045 5.27539H11.7403C12.0352 5.27539 12.3043 5.27465 12.5274 5.29785C12.7637 5.32245 13.0078 5.37817 13.2394 5.52832C13.5702 5.74285 13.8141 6.06723 13.9601 6.43164C14.0554 6.66987 14.0917 6.91859 14.1085 7.18067C14.1251 7.43869 14.1251 7.75599 14.1251 8.13965V12.7598Z"
+ fill={color}
+ />
+ </IconWrapper>
+);
diff --git a/packages/propel/src/icons/actions/edit-icon.tsx b/packages/propel/src/icons/actions/edit-icon.tsx
new file mode 100644
index 0000000000..0f66353e10
--- /dev/null
+++ b/packages/propel/src/icons/actions/edit-icon.tsx
@@ -0,0 +1,16 @@
+import * as React from "react";
+
+import { IconWrapper } from "../icon-wrapper";
+import type { ISvgIcons } from "../type";
+
+export const EditIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
+ const clipPathId = React.useId();
+ return (
+ <IconWrapper color={color} clipPathId={clipPathId} {...rest}>
+ <path
+ d="M10.7494 1.63573C11.7299 0.655278 13.3197 0.655278 14.3002 1.63573C15.2806 2.61619 15.2807 4.20607 14.3002 5.18651L5.49553 13.9902C5.31697 14.1688 5.16873 14.3209 4.99065 14.4385C4.84347 14.5355 4.68368 14.6127 4.51604 14.667C4.31301 14.7326 4.10085 14.7533 3.85002 14.7812L1.59416 15.0322C1.40546 15.0532 1.2167 14.9868 1.08244 14.8525C0.948476 14.7183 0.882789 14.5303 0.903733 14.3418L1.15471 12.0859C1.18258 11.8351 1.2032 11.6231 1.26897 11.4199C1.3233 11.2521 1.39958 11.0924 1.49651 10.9453C1.61409 10.7669 1.76748 10.6187 1.94573 10.4404L10.7494 1.63573ZM2.82951 11.3242C2.61594 11.5378 2.57192 11.5851 2.54045 11.6328C2.50525 11.6862 2.47707 11.7441 2.45744 11.8047C2.43982 11.8591 2.43027 11.9232 2.3969 12.2236L2.23186 13.7031L3.71233 13.539C3.86263 13.5223 3.95375 13.5118 4.01408 13.5029L4.13127 13.4775C4.19171 13.4579 4.24916 13.4304 4.30217 13.3955C4.35014 13.3638 4.39813 13.32 4.61174 13.1064L10.974 6.74413L9.19084 4.96092L2.82951 11.3242ZM13.4164 2.51952C12.9241 2.02721 12.1255 2.02721 11.6332 2.51952L10.0746 4.07713L11.8578 5.86034L13.4164 4.30272C13.9087 3.81043 13.9087 3.01182 13.4164 2.51952Z"
+ fill={color}
+ />
+ </IconWrapper>
+ );
+};
diff --git a/packages/propel/src/icons/actions/globe-icon.tsx b/packages/propel/src/icons/actions/globe-icon.tsx
new file mode 100644
index 0000000000..852df80ab0
--- /dev/null
+++ b/packages/propel/src/icons/actions/globe-icon.tsx
@@ -0,0 +1,16 @@
+import * as React from "react";
+
+import { IconWrapper } from "../icon-wrapper";
+import type { ISvgIcons } from "../type";
+
+export const GlobeIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
+ const clipPathId = React.useId();
+ return (
+ <IconWrapper color={color} clipPathId={clipPathId} {...rest}>
+ <path
+ d="M8.00195 0.709961C12.0288 0.710137 15.293 3.97498 15.293 8.00195C15.2928 12.0287 12.0287 15.2928 8.00195 15.293C3.97498 15.293 0.710137 12.0288 0.709961 8.00195C0.709961 3.97488 3.97488 0.709961 8.00195 0.709961ZM1.99219 8.62695C2.25614 11.1937 4.12706 13.2827 6.58203 13.874C5.52513 12.3194 4.88848 10.5118 4.74219 8.62695H1.99219ZM11.2607 8.62695C11.1145 10.5117 10.4787 12.3194 9.42188 13.874C11.8765 13.2825 13.7468 11.1935 14.0107 8.62695H11.2607ZM5.99609 8.62695C6.15854 10.4767 6.85546 12.2382 8.00098 13.6982C9.14679 12.2381 9.84438 10.4769 10.0068 8.62695H5.99609ZM9.42188 2.12891C10.4789 3.68372 11.1146 5.49193 11.2607 7.37695H14.0107C13.747 4.81011 11.8768 2.72047 9.42188 2.12891ZM8.00098 2.30469C6.85524 3.7649 6.15844 5.5269 5.99609 7.37695H10.0068C9.84448 5.52664 9.14701 3.76502 8.00098 2.30469ZM6.58105 2.12891C4.12629 2.72057 2.25586 4.81019 1.99219 7.37695H4.74219C4.88837 5.49198 5.52413 3.6837 6.58105 2.12891Z"
+ fill={color}
+ />
+ </IconWrapper>
+ );
+};
diff --git a/packages/propel/src/icons/actions/index.ts b/packages/propel/src/icons/actions/index.ts
index 4409c29b21..de79172bcc 100644
--- a/packages/propel/src/icons/actions/index.ts
+++ b/packages/propel/src/icons/actions/index.ts
@@ -2,10 +2,19 @@ export * from "./add-circle-icon";
export * from "./add-icon";
export * from "./add-workitem-icon";
export * from "./add-reaction-icon";
+export * from "./check-icon";
export * from "./close-icon";
export * from "./filter-icon";
export * from "./filter-applied-icon";
+export * from "./copy-icon";
+export * from "./edit-icon";
+export * from "./globe-icon";
+export * from "./link-icon";
+export * from "./lock-icon";
+export * from "./new-tab-icon";
export * from "./search-icon";
+export * from "./plus-icon";
export * from "./preferences-icon";
export * from "./copy-link";
export * from "./upgrade-icon";
+export * from "./trash-icon";
diff --git a/packages/propel/src/icons/actions/link-icon.tsx b/packages/propel/src/icons/actions/link-icon.tsx
new file mode 100644
index 0000000000..5406d9c779
--- /dev/null
+++ b/packages/propel/src/icons/actions/link-icon.tsx
@@ -0,0 +1,13 @@
+import * as React from "react";
+
+import { IconWrapper } from "../icon-wrapper";
+import type { ISvgIcons } from "../type";
+
+export const LinkIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
+ <IconWrapper color={color} {...rest}>
+ <path
+ d="M3.30277 7.07328C3.54686 6.8296 3.94261 6.82939 4.18656 7.07328C4.43064 7.31736 4.43064 7.71397 4.18656 7.95805L3.2432 8.90043C2.18575 9.95806 2.18572 11.6729 3.2432 12.7305C4.30081 13.7882 6.01563 13.788 7.07328 12.7305L8.01664 11.7881C8.26073 11.5441 8.65636 11.544 8.90043 11.7881C9.14426 12.0322 9.14443 12.4279 8.90043 12.6719L7.95707 13.6143C6.41125 15.16 3.90517 15.1601 2.35941 13.6143C0.813772 12.0685 0.813807 9.56242 2.35941 8.01664L3.30277 7.07328ZM9.87797 5.21195C10.122 4.96788 10.5187 4.96787 10.7627 5.21195C11.0064 5.45601 11.0066 5.85177 10.7627 6.09574L6.09574 10.7618C5.85166 11.0058 5.45603 11.0058 5.21195 10.7618C4.96799 10.5177 4.96791 10.122 5.21195 9.87797L9.87797 5.21195ZM8.01664 2.35941C9.56242 0.813804 12.0685 0.813775 13.6143 2.35941C15.16 3.90517 15.1599 6.41121 13.6143 7.95707L12.6719 8.90043C12.4279 9.14442 12.0322 9.14425 11.7881 8.90043C11.544 8.65635 11.544 8.26072 11.7881 8.01664L12.7305 7.07328C13.788 6.01556 13.7881 4.3008 12.7305 3.2432C11.6729 2.18572 9.95805 2.18575 8.90043 3.2432L7.95707 4.18656C7.71296 4.4303 7.31724 4.43053 7.07328 4.18656C6.82935 3.94259 6.82956 3.54686 7.07328 3.30277L8.01664 2.35941Z"
+ fill={color}
+ />
+ </IconWrapper>
+);
diff --git a/packages/propel/src/icons/actions/lock-icon.tsx b/packages/propel/src/icons/actions/lock-icon.tsx
new file mode 100644
index 0000000000..17cafc88aa
--- /dev/null
+++ b/packages/propel/src/icons/actions/lock-icon.tsx
@@ -0,0 +1,13 @@
+import * as React from "react";
+
+import { IconWrapper } from "../icon-wrapper";
+import type { ISvgIcons } from "../type";
+
+export const LockIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
+ <IconWrapper color={color} {...rest}>
+ <path
+ d="M13.3501 10.5078C13.3501 9.9375 13.3494 9.54724 13.3247 9.24512C13.3006 8.95048 13.2573 8.79472 13.2007 8.68359C13.0689 8.42488 12.8578 8.21482 12.5991 8.08301C12.488 8.0264 12.3323 7.98209 12.0376 7.95801C11.7355 7.93334 11.3452 7.93262 10.7749 7.93262H5.17529C4.60506 7.93262 4.21472 7.93334 3.9126 7.95801C3.61782 7.98209 3.46218 8.02641 3.35107 8.08301C3.09235 8.21483 2.88133 8.42488 2.74951 8.68359C2.69292 8.79472 2.64957 8.95048 2.62549 9.24512C2.6008 9.54724 2.6001 9.9375 2.6001 10.5078V10.7744C2.6001 11.3447 2.60082 11.735 2.62549 12.0371C2.64955 12.3316 2.69298 12.4875 2.74951 12.5986C2.88133 12.8573 3.09235 13.0684 3.35107 13.2002C3.46216 13.2567 3.61805 13.3002 3.9126 13.3242C4.21472 13.3489 4.60504 13.3496 5.17529 13.3496H10.7749C11.3452 13.3496 11.7355 13.3489 12.0376 13.3242C12.3321 13.3002 12.488 13.2567 12.5991 13.2002C12.8578 13.0684 13.0689 12.8573 13.2007 12.5986C13.2572 12.4875 13.3006 12.3316 13.3247 12.0371C13.3494 11.735 13.3501 11.3447 13.3501 10.7744V10.5078ZM10.6831 5.30762C10.6829 3.812 9.47075 2.59961 7.9751 2.59961C6.47944 2.59961 5.26727 3.812 5.26709 5.30762V6.68262H10.6831V5.30762ZM11.9331 6.69922C12.0046 6.7028 12.0733 6.70654 12.1392 6.71191C12.5112 6.74231 12.8499 6.80753 13.1665 6.96875C13.6604 7.2204 14.0623 7.62227 14.314 8.11621L14.3696 8.23633C14.4906 8.51833 14.5442 8.81795 14.5708 9.14355C14.6006 9.50836 14.6001 9.95818 14.6001 10.5078V10.7744C14.6001 11.3239 14.6006 11.7739 14.5708 12.1387C14.5404 12.5107 14.4752 12.8494 14.314 13.166C14.0623 13.66 13.6605 14.0618 13.1665 14.3135C12.8499 14.4747 12.5112 14.5399 12.1392 14.5703C11.7744 14.6001 11.3244 14.5996 10.7749 14.5996H5.17529C4.62577 14.5996 4.17582 14.6001 3.81104 14.5703C3.43898 14.5399 3.10032 14.4748 2.78369 14.3135C2.28977 14.0618 1.88791 13.66 1.63623 13.166C1.47496 12.8494 1.40979 12.5107 1.3794 12.1387C1.34962 11.7739 1.3501 11.3239 1.3501 10.7744V10.5078C1.3501 9.95817 1.3496 9.50836 1.3794 9.14355C1.4098 8.7714 1.47488 8.43292 1.63623 8.11621L1.73779 7.93555C1.99002 7.52435 2.35152 7.18894 2.78369 6.96875C3.10029 6.80752 3.43903 6.74231 3.81104 6.71191C3.87691 6.70654 3.94559 6.7028 4.01709 6.69922V5.30762C4.01727 3.12164 5.78908 1.34961 7.9751 1.34961C10.1611 1.34961 11.9329 3.12164 11.9331 5.30762V6.69922Z"
+ fill={color}
+ />
+ </IconWrapper>
+);
diff --git a/packages/propel/src/icons/actions/new-tab-icon.tsx b/packages/propel/src/icons/actions/new-tab-icon.tsx
new file mode 100644
index 0000000000..acbf8964f6
--- /dev/null
+++ b/packages/propel/src/icons/actions/new-tab-icon.tsx
@@ -0,0 +1,13 @@
+import * as React from "react";
+
+import { IconWrapper } from "../icon-wrapper";
+import type { ISvgIcons } from "../type";
+
+export const NewTabIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
+ <IconWrapper color={color} {...rest}>
+ <path
+ d="M1.3501 10.7744V6.50781C1.3501 5.95818 1.3496 5.50837 1.3794 5.14355C1.4098 4.7714 1.47486 4.43291 1.63623 4.11621C1.8879 3.62229 2.28977 3.22041 2.78369 2.96875C3.10029 2.80752 3.43903 2.74231 3.81104 2.71191C4.17581 2.68214 4.62578 2.68262 5.17529 2.68262H6.64209C6.98701 2.68279 7.26691 2.9627 7.26709 3.30762C7.26709 3.65269 6.98712 3.93244 6.64209 3.93262H5.17529C4.60506 3.93262 4.21472 3.93334 3.9126 3.95801C3.61782 3.98209 3.46219 4.02641 3.35107 4.08301C3.09235 4.21483 2.88134 4.42487 2.74951 4.68359C2.69293 4.79469 2.64958 4.95043 2.62549 5.24512C2.6008 5.54724 2.6001 5.93752 2.6001 6.50781V10.7744C2.6001 11.3447 2.60082 11.735 2.62549 12.0371C2.64955 12.3316 2.69298 12.4875 2.74951 12.5986C2.88133 12.8573 3.09235 13.0684 3.35107 13.2002C3.46216 13.2567 3.61805 13.3002 3.9126 13.3242C4.21472 13.3489 4.60504 13.3496 5.17529 13.3496H9.4419C10.0122 13.3496 10.4025 13.3489 10.7046 13.3242C10.9992 13.3001 11.155 13.2568 11.2661 13.2002C11.5248 13.0684 11.7349 12.8573 11.8667 12.5986C11.9233 12.4875 11.9676 12.3318 11.9917 12.0371C12.0164 11.735 12.0171 11.3447 12.0171 10.7744V9.30762C12.0173 8.96259 12.297 8.68262 12.6421 8.68262C12.987 8.68279 13.2669 8.9627 13.2671 9.30762V10.7744C13.2671 11.3239 13.2676 11.7739 13.2378 12.1387C13.2074 12.5107 13.1422 12.8494 12.981 13.166C12.7608 13.5982 12.4253 13.9597 12.0142 14.2119L11.8335 14.3135C11.5168 14.4748 11.1783 14.5399 10.8062 14.5703C10.4413 14.6001 9.99153 14.5996 9.4419 14.5996H5.17529C4.62577 14.5996 4.17582 14.6001 3.81104 14.5703C3.43898 14.5399 3.10032 14.4748 2.78369 14.3135C2.28977 14.0618 1.88791 13.66 1.63623 13.166C1.47496 12.8494 1.40979 12.5107 1.3794 12.1387C1.34962 11.7739 1.3501 11.3239 1.3501 10.7744ZM14.6001 5.97461C14.6001 6.31979 14.3203 6.59961 13.9751 6.59961C13.6299 6.59961 13.3501 6.31979 13.3501 5.97461V3.4834L9.0835 7.75C8.83941 7.99391 8.44373 7.99402 8.19971 7.75C7.95568 7.50598 7.95579 7.1103 8.19971 6.86621L12.4653 2.59961H9.9751C9.62992 2.59961 9.3501 2.31979 9.3501 1.97461C9.3501 1.62943 9.62992 1.34961 9.9751 1.34961H13.9751C14.3203 1.34961 14.6001 1.62943 14.6001 1.97461V5.97461Z"
+ fill={color}
+ />
+ </IconWrapper>
+);
diff --git a/packages/propel/src/icons/actions/plus-icon.tsx b/packages/propel/src/icons/actions/plus-icon.tsx
new file mode 100644
index 0000000000..378bbd007a
--- /dev/null
+++ b/packages/propel/src/icons/actions/plus-icon.tsx
@@ -0,0 +1,13 @@
+import * as React from "react";
+
+import { IconWrapper } from "../icon-wrapper";
+import type { ISvgIcons } from "../type";
+
+export const PlusIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
+ <IconWrapper color={color} {...rest}>
+ <path
+ d="M7.37549 12.666V8.625H3.3335C2.98843 8.625 2.70867 8.34503 2.7085 8C2.7085 7.65482 2.98832 7.375 3.3335 7.375H7.37549V3.33301C7.37549 2.98783 7.65531 2.70801 8.00049 2.70801C8.34552 2.70818 8.62549 2.98794 8.62549 3.33301V7.375H12.6665C13.0117 7.375 13.2915 7.65482 13.2915 8C13.2913 8.34503 13.0116 8.625 12.6665 8.625H8.62549V12.666C8.62549 13.0111 8.34552 13.2908 8.00049 13.291C7.65531 13.291 7.37549 13.0112 7.37549 12.666Z"
+ fill={color}
+ />
+ </IconWrapper>
+);
diff --git a/packages/propel/src/icons/actions/trash-icon.tsx b/packages/propel/src/icons/actions/trash-icon.tsx
new file mode 100644
index 0000000000..174554eca6
--- /dev/null
+++ b/packages/propel/src/icons/actions/trash-icon.tsx
@@ -0,0 +1,13 @@
+import * as React from "react";
+
+import { IconWrapper } from "../icon-wrapper";
+import type { ISvgIcons } from "../type";
+
+export const TrashIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
+ <IconWrapper color={color} {...rest}>
+ <path
+ d="M13.9751 3.40039C14.3203 3.40039 14.6001 3.68021 14.6001 4.02539C14.6001 4.37057 14.3203 4.65039 13.9751 4.65039H13.2261L12.7974 11.0801C12.763 11.596 12.7354 12.0193 12.6851 12.3623C12.6336 12.713 12.553 13.0307 12.3853 13.3252C12.1227 13.7861 11.7258 14.1564 11.2485 14.3877C10.9437 14.5354 10.6222 14.595 10.269 14.623C9.92331 14.6505 9.49827 14.6504 8.98096 14.6504H6.96924C6.45193 14.6504 6.02688 14.6505 5.68115 14.623C5.32804 14.595 5.00647 14.5354 4.70166 14.3877C4.22433 14.1564 3.82754 13.7861 3.56494 13.3252C3.39718 13.0307 3.31662 12.713 3.26514 12.3623C3.21479 12.0193 3.18625 11.596 3.15186 11.0801L2.72412 4.65039H1.9751C1.62992 4.65039 1.3501 4.37057 1.3501 4.02539C1.3501 3.68021 1.62992 3.40039 1.9751 3.40039H13.9751ZM4.3999 10.9971C4.4356 11.5326 4.46 11.8981 4.50146 12.1807C4.54186 12.4558 4.59237 12.6016 4.65186 12.7061C4.78941 12.9474 4.99659 13.1415 5.24658 13.2627C5.35474 13.3151 5.50355 13.3549 5.78076 13.377C6.06553 13.3995 6.43224 13.4004 6.96924 13.4004H8.98096C9.51795 13.4004 9.88467 13.3995 10.1694 13.377C10.4466 13.355 10.5955 13.3151 10.7036 13.2627C10.9536 13.1415 11.1608 12.9474 11.2983 12.7061C11.3578 12.6017 11.4083 12.4558 11.4487 12.1807C11.4902 11.8981 11.5146 11.5326 11.5503 10.9971L11.9731 4.65039H3.97705L4.3999 10.9971ZM6.01709 10.3584V7.02539C6.01709 6.68021 6.29691 6.40039 6.64209 6.40039C6.98712 6.40057 7.26709 6.68032 7.26709 7.02539V10.3584C7.26709 10.7035 6.98712 10.9832 6.64209 10.9834C6.29691 10.9834 6.01709 10.7036 6.01709 10.3584ZM8.68311 10.3584V7.02539C8.68311 6.68032 8.96308 6.40057 9.30811 6.40039C9.65328 6.40039 9.93311 6.68021 9.93311 7.02539V10.3584C9.93311 10.7036 9.65328 10.9834 9.30811 10.9834C8.96308 10.9832 8.68311 10.7035 8.68311 10.3584ZM9.9751 1.40039C10.3203 1.40039 10.6001 1.68021 10.6001 2.02539C10.6001 2.37057 10.3203 2.65039 9.9751 2.65039H5.9751C5.62992 2.65039 5.3501 2.37057 5.3501 2.02539C5.3501 1.68021 5.62992 1.40039 5.9751 1.40039H9.9751Z"
+ fill={color}
+ />
+ </IconWrapper>
+);
diff --git a/packages/propel/src/icons/constants.tsx b/packages/propel/src/icons/constants.tsx
index de3c08c1fb..f26d607f9e 100644
--- a/packages/propel/src/icons/constants.tsx
+++ b/packages/propel/src/icons/constants.tsx
@@ -3,11 +3,20 @@ export const ActionsIconsMap = [
{ icon: <Icon name="action.add" />, title: "AddIcon" },
{ icon: <Icon name="action.add-workitem" />, title: "AddWorkItemIcon" },
{ icon: <Icon name="action.add-reaction" />, title: "AddReactionIcon" },
+ { icon: <Icon name="action.check" />, title: "CheckIcon" },
{ icon: <Icon name="action.close" />, title: "CloseIcon" },
+ { icon: <Icon name="action.copy" />, title: "CopyIcon" },
+ { icon: <Icon name="action.edit" />, title: "EditIcon" },
+ { icon: <Icon name="action.globe" />, title: "GlobeIcon" },
+ { icon: <Icon name="action.link" />, title: "LinkIcon" },
+ { icon: <Icon name="action.lock" />, title: "LockIcon" },
+ { icon: <Icon name="action.new-tab" />, title: "NewTabIcon" },
{ icon: <Icon name="action.filter" />, title: "FilterIcon" },
{ icon: <Icon name="action.filter-applied" />, title: "FilterAppliedIcon" },
{ icon: <Icon name="action.search" />, title: "SearchIcon" },
+ { icon: <Icon name="action.plus" />, title: "PlusIcon" },
{ icon: <Icon name="action.preferences" />, title: "PreferencesIcon" },
+ { icon: <Icon name="action.trash" />, title: "TrashIcon" },
{ icon: <Icon name="action.copy-link" />, title: "CopyLinkIcon" },
{ icon: <Icon name="action.upgrade" />, title: "UpgradeIcon" },
];
@@ -81,3 +90,5 @@ export const PropertyIconsMap = [
{ icon: <Icon name="property.workflows" />, title: "WorkflowsPropertyIcon" },
{ icon: <Icon name="property.label-filled" />, title: "LabelFilledIcon" },
];
+
+export const MiscIconsMap = [{ icon: <Icon name="misc.info" />, title: "InfoIcon" }];
diff --git a/packages/propel/src/icons/icons.stories.tsx b/packages/propel/src/icons/icons.stories.tsx
index 1b72e12084..6c934c8d27 100644
--- a/packages/propel/src/icons/icons.stories.tsx
+++ b/packages/propel/src/icons/icons.stories.tsx
@@ -3,6 +3,7 @@ import {
ActionsIconsMap,
ArrowsIconsMap,
LayoutIconsMap,
+ MiscIconsMap,
ProjectIconsMap,
PropertyIconsMap,
SubBrandIconsMap,
@@ -115,6 +116,18 @@ export const AllIcons: Story = {
))}
</div>
</div>
+
+ <div className="space-y-4">
+ <h3 className="text-lg font-semibold text-custom-text-100">Misc Icons</h3>
+ <div className="grid grid-cols-12 gap-6 w-full">
+ {MiscIconsMap.map((item) => (
+ <div key={item.title} className="flex flex-col items-center justify-center gap-3 p-4 col-span-2">
+ <div className="text-custom-text-200">{item.icon}</div>
+ <p className="text-xs text-custom-text-300 text-center">{item.title}</p>
+ </div>
+ ))}
+ </div>
+ </div>
</div>
),
};
diff --git a/packages/propel/src/icons/index.ts b/packages/propel/src/icons/index.ts
index 01a0aa791b..2133af79d6 100644
--- a/packages/propel/src/icons/index.ts
+++ b/packages/propel/src/icons/index.ts
@@ -32,12 +32,12 @@ export * from "./icon-wrapper";
export * from "./icon";
export * from "./in-progress-icon";
export * from "./info-fill-icon";
-export * from "./info-icon";
export * from "./intake";
export * from "./layer-stack";
export * from "./layers-icon";
export * from "./layouts";
export * from "./lead-icon";
+export * from "./misc";
export * from "./module";
export * from "./monospace-icon";
export * from "./multiple-sticky";
diff --git a/packages/propel/src/icons/info-icon.tsx b/packages/propel/src/icons/info-icon.tsx
deleted file mode 100644
index 3e2f3609e5..0000000000
--- a/packages/propel/src/icons/info-icon.tsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import * as React from "react";
-
-import type { ISvgIcons } from "./type";
-
-export function InfoIcon({ className = "text-current", ...rest }: ISvgIcons) {
- return (
- <svg
- viewBox="0 0 24 24"
- className={`${className} stroke-2`}
- stroke="currentColor"
- fill="none"
- strokeWidth="2"
- strokeLinecap="round"
- strokeLinejoin="round"
- xmlns="http://www.w3.org/2000/svg"
- {...rest}
- >
- <circle cx="12" cy="12" r="10" />
- <path d="M12 16v-4" />
- <path d="M12 8h.01" />
- </svg>
- );
-}
diff --git a/packages/propel/src/icons/misc/index.ts b/packages/propel/src/icons/misc/index.ts
new file mode 100644
index 0000000000..45d4105f85
--- /dev/null
+++ b/packages/propel/src/icons/misc/index.ts
@@ -0,0 +1 @@
+export * from "./info-icon";
diff --git a/packages/propel/src/icons/misc/info-icon.tsx b/packages/propel/src/icons/misc/info-icon.tsx
new file mode 100644
index 0000000000..0f0fbefb8d
--- /dev/null
+++ b/packages/propel/src/icons/misc/info-icon.tsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+
+import { IconWrapper } from "../icon-wrapper";
+import type { ISvgIcons } from "../type";
+
+export const InfoIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
+ const clipPathId = React.useId();
+
+ return (
+ <IconWrapper color={color} clipPathId={clipPathId} {...rest}>
+ <path
+ d="M14.041 8C14.041 4.66339 11.3365 1.95818 8 1.95801C4.66328 1.95801 1.95801 4.66328 1.95801 8C1.95818 11.3365 4.66339 14.041 8 14.041C11.3364 14.0408 14.0408 11.3364 14.041 8ZM7.375 10.666V8C7.375 7.65482 7.65482 7.375 8 7.375C8.34503 7.37518 8.625 7.65493 8.625 8V10.666C8.625 11.0111 8.34503 11.2908 8 11.291C7.65482 11.291 7.375 11.0112 7.375 10.666ZM8.00586 4.70801C8.35104 4.70801 8.63086 4.98783 8.63086 5.33301C8.63086 5.67819 8.35104 5.95801 8.00586 5.95801H8C7.65482 5.95801 7.375 5.67819 7.375 5.33301C7.375 4.98783 7.65482 4.70801 8 4.70801H8.00586ZM15.291 8C15.2908 12.0268 12.0268 15.2908 8 15.291C3.97303 15.291 0.708184 12.0269 0.708008 8C0.708008 3.97292 3.97292 0.708008 8 0.708008C12.0269 0.708184 15.291 3.97303 15.291 8Z"
+ fill={color}
+ />
+ </IconWrapper>
+ );
+};
diff --git a/packages/propel/src/icons/registry.ts b/packages/propel/src/icons/registry.ts
index 84b1605946..5fc6c0ebe9 100644
--- a/packages/propel/src/icons/registry.ts
+++ b/packages/propel/src/icons/registry.ts
@@ -1,68 +1,81 @@
+// Action icons
import {
+ AddIcon,
AddReactionIcon,
AddWorkItemIcon,
+ CheckIcon,
+ CloseIcon,
+ CopyIcon,
+ EditIcon,
FilterAppliedIcon,
FilterIcon,
+ GlobeIcon,
+ LinkIcon,
+ LockIcon,
+ NewTabIcon,
+ PlusIcon,
PreferencesIcon,
SearchIcon,
+ TrashIcon,
UpgradeIcon,
} from "./actions";
-import { AddIcon } from "./actions/add-icon";
-import { CloseIcon } from "./actions/close-icon";
-import { ChevronDownIcon } from "./arrows/chevron-down";
-import { ChevronLeftIcon } from "./arrows/chevron-left";
-import { ChevronRightIcon } from "./arrows/chevron-right";
-import { ChevronUpIcon } from "./arrows/chevron-up";
-import { ReplyIcon } from "./arrows/reply-icon";
+// Arrow icons
+import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ReplyIcon } from "./arrows";
+// Default icon
import { DefaultIcon } from "./default-icon";
-import { BoardLayoutIcon } from "./layouts/board-icon";
-import { CalendarLayoutIcon } from "./layouts/calendar-icon";
-import { CardLayoutIcon } from "./layouts/card-icon";
-import { GridLayoutIcon } from "./layouts/grid-icon";
-import { ListLayoutIcon } from "./layouts/list-icon";
-import { SheetLayoutIcon } from "./layouts/sheet-icon";
-import { TimelineLayoutIcon } from "./layouts/timeline-icon";
-import { CycleIcon } from "./project/cycle-icon";
-import { EpicIcon } from "./project/epic-icon";
-import { IntakeIcon } from "./project/intake-icon";
-import { ModuleIcon } from "./project/module-icon";
-import { PageIcon } from "./project/page-icon";
-import { ViewsIcon } from "./project/view-icon";
-import { WorkItemsIcon } from "./project/work-items-icon";
-import { BooleanPropertyIcon } from "./properties/boolean-icon";
-import { DropdownPropertyIcon } from "./properties/dropdown-icon";
-import { DueDatePropertyIcon } from "./properties/due-date-icon";
-import { DuplicatePropertyIcon } from "./properties/duplicate-icon";
-import { EstimatePropertyIcon } from "./properties/estimate-icon";
-import { HashPropertyIcon } from "./properties/hash-icon";
-import { LabelPropertyIcon } from "./properties/label-icon";
-import { MembersPropertyIcon } from "./properties/members-icon";
-import { OverdueDatePropertyIcon } from "./properties/overdue-date-icon";
-import { ParentPropertyIcon } from "./properties/parent-icon";
-import { PriorityPropertyIcon } from "./properties/priority-icon";
-import { RelatesToPropertyIcon } from "./properties/relates-to-icon";
-import { RelationPropertyIcon } from "./properties/relation-icon";
-import { ScopePropertyIcon } from "./properties/scope-icon";
-import { StartDatePropertyIcon } from "./properties/start-date-icon";
-import { StatePropertyIcon } from "./properties/state-icon";
-import { UserCirclePropertyIcon } from "./properties/user-circle-icon";
-import { UserPropertyIcon } from "./properties/user-icon";
-import { UserSquarePropertyIcon } from "./properties/user-square-icon";
-import { WorkflowsPropertyIcon } from "./properties/workflows-icon";
+// Layout icons
+import {
+ BoardLayoutIcon,
+ CalendarLayoutIcon,
+ CardLayoutIcon,
+ GridLayoutIcon,
+ ListLayoutIcon,
+ SheetLayoutIcon,
+ TimelineLayoutIcon,
+} from "./layouts";
+// Misc icons
+import { InfoIcon } from "./misc";
+// Project icons
+import { CycleIcon, EpicIcon, IntakeIcon, ModuleIcon, PageIcon, ViewsIcon, WorkItemsIcon } from "./project";
+// Property icons
+import {
+ BooleanPropertyIcon,
+ DropdownPropertyIcon,
+ DueDatePropertyIcon,
+ DuplicatePropertyIcon,
+ EstimatePropertyIcon,
+ HashPropertyIcon,
+ LabelPropertyIcon,
+ MembersPropertyIcon,
+ OverdueDatePropertyIcon,
+ ParentPropertyIcon,
+ PriorityPropertyIcon,
+ RelatesToPropertyIcon,
+ RelationPropertyIcon,
+ ScopePropertyIcon,
+ StartDatePropertyIcon,
+ StatePropertyIcon,
+ UserCirclePropertyIcon,
+ UserPropertyIcon,
+ UserSquarePropertyIcon,
+ WorkflowsPropertyIcon,
+} from "./properties";
+// Sub-brand icons
import { CopyLinkIcon } from "./actions/copy-link";
import { LabelFilledIcon } from "./properties/label-filled-icon";
-import { PiChatLogo } from "./sub-brand/pi-chat";
-import { PlaneNewIcon } from "./sub-brand/plane-icon";
-import { WikiIcon } from "./sub-brand/wiki-icon";
-import { AnalyticsIcon } from "./workspace/analytics-icon";
-import { ArchiveIcon } from "./workspace/archive-icon";
-import { DashboardIcon } from "./workspace/dashboard-icon";
-import { DraftIcon } from "./workspace/draft-icon";
-import { HomeIcon } from "./workspace/home-icon";
-import { InboxIcon } from "./workspace/inbox-icon";
-import { MultipleStickyIcon } from "./workspace/multiple-sticky-icon";
-import { ProjectIcon } from "./workspace/project-icon";
-import { YourWorkIcon } from "./workspace/your-work-icon";
+import { PiChatLogo, PlaneNewIcon, WikiIcon } from "./sub-brand";
+// Workspace icons
+import {
+ AnalyticsIcon,
+ ArchiveIcon,
+ DashboardIcon,
+ DraftIcon,
+ HomeIcon,
+ InboxIcon,
+ MultipleStickyIcon,
+ ProjectIcon,
+ YourWorkIcon,
+} from "./workspace";
export const ICON_REGISTRY = {
// Sub-brand icons
@@ -129,11 +142,20 @@ export const ICON_REGISTRY = {
"action.add": AddIcon,
"action.add-workitem": AddWorkItemIcon,
"action.add-reaction": AddReactionIcon,
+ "action.check": CheckIcon,
"action.close": CloseIcon,
+ "action.copy": CopyIcon,
+ "action.edit": EditIcon,
+ "action.globe": GlobeIcon,
+ "action.link": LinkIcon,
+ "action.lock": LockIcon,
+ "action.new-tab": NewTabIcon,
"action.filter": FilterIcon,
"action.filter-applied": FilterAppliedIcon,
"action.search": SearchIcon,
+ "action.plus": PlusIcon,
"action.preferences": PreferencesIcon,
+ "action.trash": TrashIcon,
"action.copy-link": CopyLinkIcon,
"action.upgrade": UpgradeIcon,
@@ -142,6 +164,9 @@ export const ICON_REGISTRY = {
"arrow.chevron-left": ChevronLeftIcon,
"arrow.chevron-right": ChevronRightIcon,
"arrow.chevron-up": ChevronUpIcon,
+
+ // Misc icons
+ "misc.info": InfoIcon,
"arrow.reply": ReplyIcon,
// Default fallback
diff --git a/packages/propel/src/toolbar/toolbar.stories.tsx b/packages/propel/src/toolbar/toolbar.stories.tsx
index dc6aee784a..d080e146b1 100644
--- a/packages/propel/src/toolbar/toolbar.stories.tsx
+++ b/packages/propel/src/toolbar/toolbar.stories.tsx
@@ -5,7 +5,6 @@ import {
Underline,
Strikethrough,
Code,
- Link,
ListOrdered,
Quote,
AlignLeft,
@@ -13,9 +12,8 @@ import {
AlignRight,
Undo,
Redo,
- Globe2,
- Lock,
} from "lucide-react";
+import { LinkIcon, GlobeIcon, LockIcon } from "../icons";
import { ListLayoutIcon } from "../icons/layouts/list-icon";
import { Toolbar } from "./toolbar";
@@ -61,7 +59,7 @@ export const Default: Story = {
<Toolbar.Item icon={AlignRight} tooltip="Align Right" />
</Toolbar.Group>
<Toolbar.Group>
- <Toolbar.Item icon={Link} tooltip="Link" />
+ <Toolbar.Item icon={LinkIcon} tooltip="Link" />
<Toolbar.Item icon={Code} tooltip="Code" />
</Toolbar.Group>
</Toolbar>
@@ -106,8 +104,8 @@ export const CommentToolbar: Story = {
<Toolbar>
{/* Access Specifier */}
<div className="flex flex-shrink-0 items-stretch gap-0.5 rounded-sm border-[0.5px] border-subtle p-1">
- <Toolbar.Item icon={Lock} tooltip="Private" isActive />
- <Toolbar.Item icon={Globe2} tooltip="Public" />
+ <Toolbar.Item icon={LockIcon} tooltip="Private" isActive />
+ <Toolbar.Item icon={GlobeIcon} tooltip="Public" />
</div>
<div className="flex w-full items-stretch justify-between gap-2 rounded-sm border-[0.5px] border-subtle p-1">
diff --git a/packages/ui/src/constants/icons.ts b/packages/ui/src/constants/icons.ts
index fa13da33ec..c112f31fd0 100644
--- a/packages/ui/src/constants/icons.ts
+++ b/packages/ui/src/constants/icons.ts
@@ -32,7 +32,6 @@ import {
Camera,
CameraOff,
Cast,
- Check,
CheckCircle,
CheckSquare,
Clipboard,
@@ -50,7 +49,6 @@ import {
Columns,
Command,
Compass,
- Copy,
CornerDownLeft,
CornerDownRight,
CornerLeftDown,
@@ -77,7 +75,6 @@ import {
Edit,
Edit2,
Edit3,
- ExternalLink,
Eye,
EyeOff,
Facebook,
@@ -103,7 +100,6 @@ import {
GitPullRequest,
Github,
Gitlab,
- Globe,
Grid,
HardDrive,
Hash,
@@ -121,12 +117,9 @@ import {
Layers,
Layout,
LifeBuoy,
- Link,
- Link2,
Linkedin,
List,
Loader,
- Lock,
LogIn,
LogOut,
Mail,
@@ -148,10 +141,21 @@ import {
CircleChevronDown,
UsersRound,
ToggleLeft,
- Search,
User,
} from "lucide-react";
-import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon } from "@plane/propel/icons";
+import {
+ LinkIcon,
+ CopyIcon,
+ GlobeIcon,
+ LockIcon,
+ NewTabIcon,
+ CheckIcon,
+ SearchIcon,
+ ChevronDownIcon,
+ ChevronLeftIcon,
+ ChevronRightIcon,
+ ChevronUpIcon,
+} from "@plane/propel/icons";
export const MATERIAL_ICONS_LIST = [
{
@@ -794,7 +798,7 @@ export const LUCIDE_ICONS_LIST = [
{ name: "CameraOff", element: CameraOff },
{ name: "Cast", element: Cast },
{ name: "CircleChevronDown", element: CircleChevronDown },
- { name: "Check", element: Check },
+ { name: "Check", element: CheckIcon },
{ name: "CheckCircle", element: CheckCircle },
{ name: "CheckSquare", element: CheckSquare },
{ name: "ChevronDown", element: ChevronDownIcon },
@@ -816,7 +820,7 @@ export const LUCIDE_ICONS_LIST = [
{ name: "Columns", element: Columns },
{ name: "Command", element: Command },
{ name: "Compass", element: Compass },
- { name: "Copy", element: Copy },
+ { name: "Copy", element: CopyIcon },
{ name: "CornerDownLeft", element: CornerDownLeft },
{ name: "CornerDownRight", element: CornerDownRight },
{ name: "CornerLeftDown", element: CornerLeftDown },
@@ -843,7 +847,7 @@ export const LUCIDE_ICONS_LIST = [
{ name: "Edit", element: Edit },
{ name: "Edit2", element: Edit2 },
{ name: "Edit3", element: Edit3 },
- { name: "ExternalLink", element: ExternalLink },
+ { name: "ExternalLink", element: NewTabIcon },
{ name: "Eye", element: Eye },
{ name: "EyeOff", element: EyeOff },
{ name: "Facebook", element: Facebook },
@@ -869,7 +873,7 @@ export const LUCIDE_ICONS_LIST = [
{ name: "GitPullRequest", element: GitPullRequest },
{ name: "Github", element: Github },
{ name: "Gitlab", element: Gitlab },
- { name: "Globe", element: Globe },
+ { name: "Globe", element: GlobeIcon },
{ name: "Grid", element: Grid },
{ name: "HardDrive", element: HardDrive },
{ name: "Hash", element: Hash },
@@ -887,12 +891,12 @@ export const LUCIDE_ICONS_LIST = [
{ name: "Layers", element: Layers },
{ name: "Layout", element: Layout },
{ name: "LifeBuoy", element: LifeBuoy },
- { name: "Link", element: Link },
- { name: "Link2", element: Link2 },
+ { name: "Link", element: LinkIcon },
+ { name: "Link2", element: LinkIcon },
{ name: "Linkedin", element: Linkedin },
{ name: "List", element: List },
{ name: "Loader", element: Loader },
- { name: "Lock", element: Lock },
+ { name: "Lock", element: LockIcon },
{ name: "LogIn", element: LogIn },
{ name: "LogOut", element: LogOut },
{ name: "Mail", element: Mail },
@@ -911,7 +915,7 @@ export const LUCIDE_ICONS_LIST = [
{ name: "Minus", element: Minus },
{ name: "MinusCircle", element: MinusCircle },
{ name: "MinusSquare", element: MinusSquare },
- { name: "Search", element: Search },
+ { name: "Search", element: SearchIcon },
{ name: "ToggleLeft", element: ToggleLeft },
{ name: "User", element: User },
{ name: "UsersRound", element: UsersRound },
diff --git a/packages/ui/src/dropdown/common/input-search.tsx b/packages/ui/src/dropdown/common/input-search.tsx
index 6d046a9c23..f90aec24ba 100644
--- a/packages/ui/src/dropdown/common/input-search.tsx
+++ b/packages/ui/src/dropdown/common/input-search.tsx
@@ -1,7 +1,6 @@
import { Combobox } from "@headlessui/react";
-import { Search } from "lucide-react";
-import type { FC } from "react";
import React, { useEffect, useRef } from "react";
+import { SearchIcon } from "@plane/propel/icons";
// helpers
import { cn } from "../../utils";
@@ -43,7 +42,7 @@ export function InputSearch(props: IInputSearch) {
inputContainerClassName
)}
>
- {inputIcon ? <>{inputIcon}</> : <Search className="h-4 w-4 text-tertiary" aria-hidden="true" />}
+ {inputIcon ? <>{inputIcon}</> : <SearchIcon className="h-4 w-4 text-tertiary" aria-hidden="true" />}
<Combobox.Input
as="input"
ref={inputRef}
diff --git a/packages/ui/src/dropdown/common/options.tsx b/packages/ui/src/dropdown/common/options.tsx
index 2937c1ca69..7a531cd28a 100644
--- a/packages/ui/src/dropdown/common/options.tsx
+++ b/packages/ui/src/dropdown/common/options.tsx
@@ -1,6 +1,7 @@
import { Combobox } from "@headlessui/react";
-import { Check } from "lucide-react";
+
import React from "react";
+import { CheckIcon } from "@plane/propel/icons";
// helpers
import { cn } from "../../utils";
// types
@@ -69,7 +70,7 @@ export function DropdownOptions(props: IMultiSelectDropdownOptions | ISingleSele
) : (
<>
<span className="flex-grow truncate">{option.value}</span>
- {selected && <Check className="h-3.5 w-3.5 flex-shrink-0" />}
+ {selected && <CheckIcon className="h-3.5 w-3.5 flex-shrink-0" />}
</>
)}
</>
diff --git a/packages/ui/src/dropdowns/custom-search-select.tsx b/packages/ui/src/dropdowns/custom-search-select.tsx
index 18a881b766..41ed62a545 100644
--- a/packages/ui/src/dropdowns/custom-search-select.tsx
+++ b/packages/ui/src/dropdowns/custom-search-select.tsx
@@ -1,10 +1,10 @@
import { Combobox } from "@headlessui/react";
-import { Check, Info, Search } from "lucide-react";
+import { Info } from "lucide-react";
import React, { useRef, useState } from "react";
import { createPortal } from "react-dom";
import { usePopper } from "react-popper";
import { useOutsideClickDetector } from "@plane/hooks";
-import { ChevronDownIcon } from "@plane/propel/icons";
+import { CheckIcon, SearchIcon, ChevronDownIcon } from "@plane/propel/icons";
// plane imports
// local imports
import { Tooltip } from "@plane/propel/tooltip";
@@ -148,7 +148,7 @@ export function CustomSearchSelect(props: ICustomSearchSelectProps) {
{...attributes.popper}
>
<div className="flex items-center gap-1.5 rounded-sm border border-subtle px-2 mx-2">
- <Search className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
+ <SearchIcon className="h-3.5 w-3.5 text-placeholder" strokeWidth={1.5} />
<Combobox.Input
className="w-full bg-transparent py-1 text-11 text-secondary placeholder:text-placeholder focus:outline-none"
value={query}
@@ -190,7 +190,7 @@ export function CustomSearchSelect(props: ICustomSearchSelectProps) {
{({ selected }) => (
<>
<span className="flex-grow truncate">{option.content}</span>
- {selected && <Check className="h-3.5 w-3.5 flex-shrink-0" />}
+ {selected && <CheckIcon className="h-3.5 w-3.5 flex-shrink-0" />}
{option.tooltip && (
<>
{typeof option.tooltip === "string" ? (
diff --git a/packages/ui/src/dropdowns/custom-select.tsx b/packages/ui/src/dropdowns/custom-select.tsx
index 4be2e2d65b..a627e4d484 100644
--- a/packages/ui/src/dropdowns/custom-select.tsx
+++ b/packages/ui/src/dropdowns/custom-select.tsx
@@ -1,10 +1,10 @@
import { Combobox } from "@headlessui/react";
-import { Check } from "lucide-react";
+
import React, { createContext, useCallback, useContext, useRef, useState } from "react";
import { createPortal } from "react-dom";
import { usePopper } from "react-popper";
import { useOutsideClickDetector } from "@plane/hooks";
-import { ChevronDownIcon } from "@plane/propel/icons";
+import { CheckIcon, ChevronDownIcon } from "@plane/propel/icons";
// plane helpers
// hooks
import { useDropdownKeyDown } from "../hooks/use-dropdown-key-down";
@@ -172,7 +172,7 @@ function Option(props: ICustomSelectItemProps) {
{({ selected }) => (
<div className="flex items-center justify-between gap-2 w-full">
{children}
- {selected && <Check className="h-3.5 w-3.5 flex-shrink-0" />}
+ {selected && <CheckIcon className="h-3.5 w-3.5 flex-shrink-0" />}
</div>
)}
</Combobox.Option>
diff --git a/packages/utils/src/get-icon-for-link.ts b/packages/utils/src/get-icon-for-link.ts
index 0c703a81c9..1310142e92 100644
--- a/packages/utils/src/get-icon-for-link.ts
+++ b/packages/utils/src/get-icon-for-link.ts
@@ -16,8 +16,8 @@ import {
FileCode,
Mail,
Chrome,
- Link2,
} from "lucide-react";
+import { LinkIcon } from "@plane/propel/icons";
type IconMatcher = {
pattern: RegExp;
@@ -60,5 +60,5 @@ export const getIconForLink = (url: string) => {
const allMatchers = [...SOCIAL_MEDIA_MATCHERS, ...PRODUCTIVITY_MATCHERS, ...FILE_TYPE_MATCHERS, ...OTHER_MATCHERS];
const matchedIcon = allMatchers.find(({ pattern }) => pattern.test(lowerUrl));
- return matchedIcon?.icon ?? Link2;
+ return matchedIcon?.icon ?? LinkIcon;
};