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.

[WEB-5416] fix: Use proper import syntax (#8105)

Aaron95c742244e00
diff --git a/apps/admin/.eslintrc.cjs b/apps/admin/.eslintrc.cjs
index d6a1fc8336..5a75536f79 100644
--- a/apps/admin/.eslintrc.cjs
+++ b/apps/admin/.eslintrc.cjs
@@ -3,7 +3,6 @@ module.exports = {
extends: ["@plane/eslint-config/next.js"],
ignorePatterns: ["build/**", "dist/**", ".vite/**"],
rules: {
- "no-duplicate-imports": "off",
"import/no-duplicates": ["error", { "prefer-inline": false }],
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
"@typescript-eslint/no-import-type-side-effects": "error",
diff --git a/apps/live/src/controllers/document.controller.ts b/apps/live/src/controllers/document.controller.ts
index 3b45c4e92b..832045766f 100644
--- a/apps/live/src/controllers/document.controller.ts
+++ b/apps/live/src/controllers/document.controller.ts
@@ -5,7 +5,7 @@ import { Controller, Post } from "@plane/decorators";
import { convertHTMLDocumentToAllFormats } from "@plane/editor";
// logger
import { logger } from "@plane/logger";
-import { type TConvertDocumentRequestBody } from "@/types";
+import type { TConvertDocumentRequestBody } from "@/types";
// Define the schema with more robust validation
const convertDocumentSchema = z.object({
diff --git a/apps/live/src/extensions/force-close-handler.ts b/apps/live/src/extensions/force-close-handler.ts
index 522d0909a2..5a474cdf61 100644
--- a/apps/live/src/extensions/force-close-handler.ts
+++ b/apps/live/src/extensions/force-close-handler.ts
@@ -1,15 +1,8 @@
import type { Connection, Extension, Hocuspocus, onConfigurePayload } from "@hocuspocus/server";
import { logger } from "@plane/logger";
import { Redis } from "@/extensions/redis";
-import {
- AdminCommand,
- CloseCode,
- ForceCloseReason,
- getForceCloseMessage,
- isForceCloseCommand,
- type ClientForceCloseMessage,
- type ForceCloseCommandData,
-} from "@/types/admin-commands";
+import { AdminCommand, CloseCode, getForceCloseMessage, isForceCloseCommand } from "@/types/admin-commands";
+import type { ForceCloseReason, ClientForceCloseMessage, ForceCloseCommandData } from "@/types/admin-commands";
/**
* Extension to handle force close commands from other servers via Redis admin channel
diff --git a/apps/live/src/extensions/redis.ts b/apps/live/src/extensions/redis.ts
index 66c728f2b6..ece29671bb 100644
--- a/apps/live/src/extensions/redis.ts
+++ b/apps/live/src/extensions/redis.ts
@@ -1,5 +1,6 @@
import { Redis as HocuspocusRedis } from "@hocuspocus/extension-redis";
-import { OutgoingMessage, type onConfigurePayload } from "@hocuspocus/server";
+import { OutgoingMessage } from "@hocuspocus/server";
+import type { onConfigurePayload } from "@hocuspocus/server";
import { logger } from "@plane/logger";
import { AppError } from "@/lib/errors";
import { redisManager } from "@/redis";
diff --git a/apps/live/src/lib/errors.ts b/apps/live/src/lib/errors.ts
index 480d4317bc..a8b8270dcb 100644
--- a/apps/live/src/lib/errors.ts
+++ b/apps/live/src/lib/errors.ts
@@ -1,4 +1,4 @@
-import { AxiosError } from "axios";
+import type { AxiosError } from "axios";
/**
* Application error class that sanitizes and standardizes errors across the app.
diff --git a/apps/live/src/lib/stateless.ts b/apps/live/src/lib/stateless.ts
index 2f74f0e94a..1692164d28 100644
--- a/apps/live/src/lib/stateless.ts
+++ b/apps/live/src/lib/stateless.ts
@@ -1,5 +1,6 @@
import type { onStatelessPayload } from "@hocuspocus/server";
-import { DocumentCollaborativeEvents, type TDocumentEventsServer } from "@plane/editor/lib";
+import { DocumentCollaborativeEvents } from "@plane/editor/lib";
+import type { TDocumentEventsServer } from "@plane/editor/lib";
/**
* Broadcast the client event to all the clients so that they can update their state
diff --git a/apps/live/src/server.ts b/apps/live/src/server.ts
index 1535844fec..59e5ec01b3 100644
--- a/apps/live/src/server.ts
+++ b/apps/live/src/server.ts
@@ -1,8 +1,9 @@
-import { Server as HttpServer } from "http";
-import { type Hocuspocus } from "@hocuspocus/server";
+import type { Server as HttpServer } from "http";
+import type { Hocuspocus } from "@hocuspocus/server";
import compression from "compression";
import cors from "cors";
-import express, { Express, Request, Response, Router } from "express";
+import type { Express, Request, Response, Router } from "express";
+import express from "express";
import expressWs from "express-ws";
import helmet from "helmet";
// plane imports
diff --git a/apps/live/src/services/api.service.ts b/apps/live/src/services/api.service.ts
index 8c2cb2e314..68eb52b38f 100644
--- a/apps/live/src/services/api.service.ts
+++ b/apps/live/src/services/api.service.ts
@@ -1,4 +1,5 @@
-import axios, { AxiosInstance } from "axios";
+import type { AxiosInstance } from "axios";
+import axios from "axios";
import { env } from "@/env";
import { AppError } from "@/lib/errors";
diff --git a/apps/live/src/services/page/core.service.ts b/apps/live/src/services/page/core.service.ts
index ca4d5d28bd..04a0640912 100644
--- a/apps/live/src/services/page/core.service.ts
+++ b/apps/live/src/services/page/core.service.ts
@@ -1,5 +1,5 @@
import { logger } from "@plane/logger";
-import { TPage } from "@plane/types";
+import type { TPage } from "@plane/types";
// services
import { AppError } from "@/lib/errors";
import { APIService } from "../api.service";
diff --git a/apps/live/src/utils/broadcast-error.ts b/apps/live/src/utils/broadcast-error.ts
index 3dfa9da41e..ff1c07fc78 100644
--- a/apps/live/src/utils/broadcast-error.ts
+++ b/apps/live/src/utils/broadcast-error.ts
@@ -1,4 +1,4 @@
-import { type Hocuspocus } from "@hocuspocus/server";
+import type { Hocuspocus } from "@hocuspocus/server";
import { createRealtimeEvent } from "@plane/editor";
import { logger } from "@plane/logger";
import type { FetchPayloadWithContext, StorePayloadWithContext } from "@/types";
diff --git a/apps/live/src/utils/broadcast-message.ts b/apps/live/src/utils/broadcast-message.ts
index 7c9a3ced6c..c60ce9ac7a 100644
--- a/apps/live/src/utils/broadcast-message.ts
+++ b/apps/live/src/utils/broadcast-message.ts
@@ -1,5 +1,5 @@
-import { Hocuspocus } from "@hocuspocus/server";
-import { BroadcastedEvent } from "@plane/editor";
+import type { Hocuspocus } from "@hocuspocus/server";
+import type { BroadcastedEvent } from "@plane/editor";
import { logger } from "@plane/logger";
import { Redis } from "@/extensions/redis";
import { AppError } from "@/lib/errors";
diff --git a/apps/space/.eslintrc.cjs b/apps/space/.eslintrc.cjs
index af3135e6a5..5a75536f79 100644
--- a/apps/space/.eslintrc.cjs
+++ b/apps/space/.eslintrc.cjs
@@ -1,14 +1,9 @@
module.exports = {
root: true,
extends: ["@plane/eslint-config/next.js"],
- ignorePatterns: [
- "build/**",
- "dist/**",
- ".vite/**",
- ],
+ ignorePatterns: ["build/**", "dist/**", ".vite/**"],
rules: {
- "no-duplicate-imports": "off",
- "import/no-duplicates": ["error", {"prefer-inline": false}],
+ "import/no-duplicates": ["error", { "prefer-inline": false }],
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
"@typescript-eslint/no-import-type-side-effects": "error",
"@typescript-eslint/consistent-type-imports": [
@@ -21,5 +16,3 @@ module.exports = {
],
},
};
-
-
diff --git a/apps/web/.eslintrc.cjs b/apps/web/.eslintrc.cjs
index d6a1fc8336..5a75536f79 100644
--- a/apps/web/.eslintrc.cjs
+++ b/apps/web/.eslintrc.cjs
@@ -3,7 +3,6 @@ module.exports = {
extends: ["@plane/eslint-config/next.js"],
ignorePatterns: ["build/**", "dist/**", ".vite/**"],
rules: {
- "no-duplicate-imports": "off",
"import/no-duplicates": ["error", { "prefer-inline": false }],
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
"@typescript-eslint/no-import-type-side-effects": "error",
diff --git a/apps/web/core/local-db/worker/wa-sqlite/src/types/index.d.ts b/apps/web/core/local-db/worker/wa-sqlite/src/types/index.d.ts
index d34552b93c..54da72fdd1 100644
--- a/apps/web/core/local-db/worker/wa-sqlite/src/types/index.d.ts
+++ b/apps/web/core/local-db/worker/wa-sqlite/src/types/index.d.ts
@@ -1254,7 +1254,6 @@ declare module "wa-sqlite/src/examples/IndexedDbVFS.js" {
/** @ignore */
declare module "wa-sqlite/src/examples/MemoryVFS.js" {
- // eslint-disable-next-line no-duplicate-imports
import * as VFS from "wa-sqlite/src/VFS.js";
/** @ignore */
export class MemoryVFS extends VFS.Base {
diff --git a/packages/constants/src/analytics/common.ts b/packages/constants/src/analytics/common.ts
index 2590036c28..a51ceac4da 100644
--- a/packages/constants/src/analytics/common.ts
+++ b/packages/constants/src/analytics/common.ts
@@ -1,4 +1,5 @@
-import { ChartXAxisProperty, ChartYAxisMetric, TAnalyticsTabsBase } from "@plane/types";
+import type { TAnalyticsTabsBase } from "@plane/types";
+import { ChartXAxisProperty, ChartYAxisMetric } from "@plane/types";
export interface IInsightField {
key: string;
diff --git a/packages/constants/src/chart.ts b/packages/constants/src/chart.ts
index 8bffef4d64..67141cd57a 100644
--- a/packages/constants/src/chart.ts
+++ b/packages/constants/src/chart.ts
@@ -1,4 +1,5 @@
-import { ChartXAxisProperty, TChartColorScheme } from "@plane/types";
+import type { TChartColorScheme } from "@plane/types";
+import { ChartXAxisProperty } from "@plane/types";
export const LABEL_CLASSNAME = "uppercase text-custom-text-300/60 text-sm tracking-wide";
export const AXIS_LABEL_CLASSNAME = "uppercase text-custom-text-300/60 text-sm tracking-wide";
diff --git a/packages/constants/src/dashboard.ts b/packages/constants/src/dashboard.ts
index d7a3ae6118..f79bb7c414 100644
--- a/packages/constants/src/dashboard.ts
+++ b/packages/constants/src/dashboard.ts
@@ -1,5 +1,5 @@
// types
-import { TIssuesListTypes } from "@plane/types";
+import type { TIssuesListTypes } from "@plane/types";
export enum EDurationFilters {
NONE = "none",
diff --git a/packages/constants/src/estimates.ts b/packages/constants/src/estimates.ts
index 34e04e562f..092b6b0fbb 100644
--- a/packages/constants/src/estimates.ts
+++ b/packages/constants/src/estimates.ts
@@ -1,5 +1,5 @@
// plane imports
-import { TEstimateSystems } from "@plane/types";
+import type { TEstimateSystems } from "@plane/types";
export const MAX_ESTIMATE_POINT_INPUT_LENGTH = 20;
diff --git a/packages/constants/src/event-tracker/core.ts b/packages/constants/src/event-tracker/core.ts
index 362cafd59a..e2d305052e 100644
--- a/packages/constants/src/event-tracker/core.ts
+++ b/packages/constants/src/event-tracker/core.ts
@@ -1,4 +1,4 @@
-import { EProductSubscriptionEnum } from "@plane/types";
+import type { EProductSubscriptionEnum } from "@plane/types";
/**
* ===========================================================================
diff --git a/packages/constants/src/intake.ts b/packages/constants/src/intake.ts
index 6bf211b505..2dd5fe6aea 100644
--- a/packages/constants/src/intake.ts
+++ b/packages/constants/src/intake.ts
@@ -1,4 +1,5 @@
-import { EInboxIssueStatus, TInboxIssueStatus } from "@plane/types";
+import type { TInboxIssueStatus } from "@plane/types";
+import { EInboxIssueStatus } from "@plane/types";
export const INBOX_STATUS: {
key: string;
diff --git a/packages/constants/src/issue/common.ts b/packages/constants/src/issue/common.ts
index e19a752b2f..43460b0519 100644
--- a/packages/constants/src/issue/common.ts
+++ b/packages/constants/src/issue/common.ts
@@ -1,4 +1,4 @@
-import {
+import type {
TIssueGroupByOptions,
TIssueOrderByOptions,
IIssueDisplayProperties,
diff --git a/packages/constants/src/issue/filter.ts b/packages/constants/src/issue/filter.ts
index 61fcccc3bb..54775ac557 100644
--- a/packages/constants/src/issue/filter.ts
+++ b/packages/constants/src/issue/filter.ts
@@ -1,17 +1,14 @@
-import {
- EIssuesStoreType,
+import type {
IIssueFilterOptions,
ILayoutDisplayFiltersOptions,
TIssueActivityComment,
TWorkItemFilterProperty,
} from "@plane/types";
-import {
- TIssueFilterPriorityObject,
- ISSUE_DISPLAY_PROPERTIES_KEYS,
- SUB_ISSUES_DISPLAY_PROPERTIES_KEYS,
-} from "./common";
+import { EIssuesStoreType } from "@plane/types";
+import type { TIssueFilterPriorityObject } from "./common";
+import { ISSUE_DISPLAY_PROPERTIES_KEYS, SUB_ISSUES_DISPLAY_PROPERTIES_KEYS } from "./common";
-import { TIssueLayout } from "./layout";
+import type { TIssueLayout } from "./layout";
export type TIssueFilterKeys = "priority" | "state" | "labels";
diff --git a/packages/constants/src/issue/modal.ts b/packages/constants/src/issue/modal.ts
index c2697ca9dd..0a356ddf1d 100644
--- a/packages/constants/src/issue/modal.ts
+++ b/packages/constants/src/issue/modal.ts
@@ -1,5 +1,5 @@
// plane imports
-import { TIssue } from "@plane/types";
+import type { TIssue } from "@plane/types";
export const DEFAULT_WORK_ITEM_FORM_VALUES: Partial<TIssue> = {
project_id: "",
diff --git a/packages/constants/src/module.ts b/packages/constants/src/module.ts
index 16a3323032..1d9a7ab960 100644
--- a/packages/constants/src/module.ts
+++ b/packages/constants/src/module.ts
@@ -1,5 +1,5 @@
// types
-import { TModuleLayoutOptions, TModuleOrderByOptions, TModuleStatus } from "@plane/types";
+import type { TModuleLayoutOptions, TModuleOrderByOptions, TModuleStatus } from "@plane/types";
export const MODULE_STATUS_COLORS: {
[key in TModuleStatus]: string;
diff --git a/packages/constants/src/notification.ts b/packages/constants/src/notification.ts
index 793a1fa928..6d2aec2bdd 100644
--- a/packages/constants/src/notification.ts
+++ b/packages/constants/src/notification.ts
@@ -1,4 +1,4 @@
-import { TUnreadNotificationsCount } from "@plane/types";
+import type { TUnreadNotificationsCount } from "@plane/types";
export enum ENotificationTab {
ALL = "all",
diff --git a/packages/constants/src/payment.ts b/packages/constants/src/payment.ts
index c65043fc03..1c08f45a97 100644
--- a/packages/constants/src/payment.ts
+++ b/packages/constants/src/payment.ts
@@ -1,4 +1,5 @@
-import { EProductSubscriptionEnum, IPaymentProduct, TBillingFrequency, TProductBillingFrequency } from "@plane/types";
+import type { IPaymentProduct, TBillingFrequency, TProductBillingFrequency } from "@plane/types";
+import { EProductSubscriptionEnum } from "@plane/types";
/**
* Default billing frequency for each product subscription type
diff --git a/packages/constants/src/project.ts b/packages/constants/src/project.ts
index 590dbb89ec..b7dd9d6644 100644
--- a/packages/constants/src/project.ts
+++ b/packages/constants/src/project.ts
@@ -1,5 +1,5 @@
// plane imports
-import { IProject, TProjectAppliedDisplayFilterKeys, TProjectOrderByOptions } from "@plane/types";
+import type { IProject, TProjectAppliedDisplayFilterKeys, TProjectOrderByOptions } from "@plane/types";
// local imports
import { RANDOM_EMOJI_CODES } from "./emoji";
diff --git a/packages/constants/src/rich-filters/operator-labels/core.ts b/packages/constants/src/rich-filters/operator-labels/core.ts
index 39f902ae34..ae7ccb23d6 100644
--- a/packages/constants/src/rich-filters/operator-labels/core.ts
+++ b/packages/constants/src/rich-filters/operator-labels/core.ts
@@ -1,10 +1,5 @@
-import {
- CORE_EQUALITY_OPERATOR,
- CORE_COLLECTION_OPERATOR,
- CORE_COMPARISON_OPERATOR,
- TCoreSupportedOperators,
- TCoreSupportedDateFilterOperators,
-} from "@plane/types";
+import type { TCoreSupportedOperators, TCoreSupportedDateFilterOperators } from "@plane/types";
+import { CORE_EQUALITY_OPERATOR, CORE_COLLECTION_OPERATOR, CORE_COMPARISON_OPERATOR } from "@plane/types";
/**
* Core operator labels
diff --git a/packages/constants/src/rich-filters/operator-labels/extended.ts b/packages/constants/src/rich-filters/operator-labels/extended.ts
index 349baeb818..5f4e7514d0 100644
--- a/packages/constants/src/rich-filters/operator-labels/extended.ts
+++ b/packages/constants/src/rich-filters/operator-labels/extended.ts
@@ -1,4 +1,4 @@
-import { TExtendedSupportedOperators } from "@plane/types";
+import type { TExtendedSupportedOperators } from "@plane/types";
/**
* Extended operator labels
diff --git a/packages/constants/src/rich-filters/operator-labels/index.ts b/packages/constants/src/rich-filters/operator-labels/index.ts
index 8098b17e07..24d428e54c 100644
--- a/packages/constants/src/rich-filters/operator-labels/index.ts
+++ b/packages/constants/src/rich-filters/operator-labels/index.ts
@@ -1,4 +1,4 @@
-import { TAllAvailableOperatorsForDisplay, TAllAvailableDateFilterOperatorsForDisplay } from "@plane/types";
+import type { TAllAvailableOperatorsForDisplay, TAllAvailableDateFilterOperatorsForDisplay } from "@plane/types";
import { CORE_OPERATOR_LABELS_MAP, CORE_DATE_OPERATOR_LABELS_MAP } from "./core";
import {
EXTENDED_OPERATOR_LABELS_MAP,
diff --git a/packages/constants/src/rich-filters/option.ts b/packages/constants/src/rich-filters/option.ts
index 8230d2f197..69e66a32d7 100644
--- a/packages/constants/src/rich-filters/option.ts
+++ b/packages/constants/src/rich-filters/option.ts
@@ -1,4 +1,4 @@
-import { TExternalFilter } from "@plane/types";
+import type { TExternalFilter } from "@plane/types";
/**
* Filter config options.
diff --git a/packages/constants/src/state.ts b/packages/constants/src/state.ts
index ba7ddd12dd..326834aca7 100644
--- a/packages/constants/src/state.ts
+++ b/packages/constants/src/state.ts
@@ -1,4 +1,4 @@
-import { TStateGroups } from "@plane/types";
+import type { TStateGroups } from "@plane/types";
export type TDraggableData = {
groupKey: TStateGroups;
diff --git a/packages/constants/src/workspace.ts b/packages/constants/src/workspace.ts
index e2e3989686..15aee9d82c 100644
--- a/packages/constants/src/workspace.ts
+++ b/packages/constants/src/workspace.ts
@@ -1,4 +1,5 @@
-import { TStaticViewTypes, IWorkspaceSearchResults, EUserWorkspaceRoles } from "@plane/types";
+import type { TStaticViewTypes, IWorkspaceSearchResults } from "@plane/types";
+import { EUserWorkspaceRoles } from "@plane/types";
export const ORGANIZATION_SIZE = ["Just myself", "2-10", "11-50", "51-200", "201-500", "500+"];
diff --git a/packages/decorators/src/rest.ts b/packages/decorators/src/rest.ts
index bfad3540bc..7de1d92e4f 100644
--- a/packages/decorators/src/rest.ts
+++ b/packages/decorators/src/rest.ts
@@ -1,5 +1,5 @@
import "reflect-metadata";
-import { RequestHandler } from "express";
+import type { RequestHandler } from "express";
// Define valid HTTP methods
type RestMethod = "get" | "post" | "put" | "patch" | "delete";
diff --git a/packages/editor/src/ce/components/document-editor-side-effects.ts b/packages/editor/src/ce/components/document-editor-side-effects.ts
index 36a180a12e..663fd927ba 100644
--- a/packages/editor/src/ce/components/document-editor-side-effects.ts
+++ b/packages/editor/src/ce/components/document-editor-side-effects.ts
@@ -1,4 +1,4 @@
-import { type Editor } from "@tiptap/core";
+import type { Editor } from "@tiptap/core";
import type { ReactElement } from "react";
import type { IEditorPropsExtended } from "@/types";
diff --git a/packages/editor/src/ce/components/link-container.tsx b/packages/editor/src/ce/components/link-container.tsx
index dcbedc0880..a31a8c1108 100644
--- a/packages/editor/src/ce/components/link-container.tsx
+++ b/packages/editor/src/ce/components/link-container.tsx
@@ -1,4 +1,4 @@
-import { Editor } from "@tiptap/core";
+import type { Editor } from "@tiptap/core";
import { LinkViewContainer } from "@/components/editors/link-view-container";
export const LinkContainer = ({
diff --git a/packages/editor/src/ce/constants/assets.ts b/packages/editor/src/ce/constants/assets.ts
index 12b89b3aba..364b60cbab 100644
--- a/packages/editor/src/ce/constants/assets.ts
+++ b/packages/editor/src/ce/constants/assets.ts
@@ -1,6 +1,6 @@
// helpers
-import { TAssetMetaDataRecord } from "@/helpers/assets";
+import type { TAssetMetaDataRecord } from "@/helpers/assets";
// local imports
-import { ADDITIONAL_EXTENSIONS } from "./extensions";
+import type { ADDITIONAL_EXTENSIONS } from "./extensions";
export const ADDITIONAL_ASSETS_META_DATA_RECORD: Partial<Record<ADDITIONAL_EXTENSIONS, TAssetMetaDataRecord>> = {};
diff --git a/packages/editor/src/ce/constants/utility.ts b/packages/editor/src/ce/constants/utility.ts
index eedffda97a..767e3ea2ef 100644
--- a/packages/editor/src/ce/constants/utility.ts
+++ b/packages/editor/src/ce/constants/utility.ts
@@ -1,5 +1,6 @@
// plane imports
-import { ADDITIONAL_EXTENSIONS, CORE_EXTENSIONS } from "@plane/utils";
+import type { ADDITIONAL_EXTENSIONS } from "@plane/utils";
+import { CORE_EXTENSIONS } from "@plane/utils";
// plane editor imports
import type { ExtensionFileSetStorageKey } from "@/plane-editor/types/storage";
diff --git a/packages/editor/src/ce/extensions/core/without-props.ts b/packages/editor/src/ce/extensions/core/without-props.ts
index 0debff0ea5..7689c54c2c 100644
--- a/packages/editor/src/ce/extensions/core/without-props.ts
+++ b/packages/editor/src/ce/extensions/core/without-props.ts
@@ -1,3 +1,3 @@
-import { Extensions } from "@tiptap/core";
+import type { Extensions } from "@tiptap/core";
export const CoreEditorAdditionalExtensionsWithoutProps: Extensions = [];
diff --git a/packages/editor/src/ce/extensions/rich-text-extensions.tsx b/packages/editor/src/ce/extensions/rich-text-extensions.tsx
index 7ade9e6187..204c0435ba 100644
--- a/packages/editor/src/ce/extensions/rich-text-extensions.tsx
+++ b/packages/editor/src/ce/extensions/rich-text-extensions.tsx
@@ -1,8 +1,8 @@
-import { AnyExtension, Extensions } from "@tiptap/core";
+import type { AnyExtension, Extensions } from "@tiptap/core";
// extensions
import { SlashCommands } from "@/extensions/slash-commands/root";
// types
-import { IEditorProps, TExtensions } from "@/types";
+import type { IEditorProps, TExtensions } from "@/types";
export type TRichTextEditorAdditionalExtensionsProps = Pick<
IEditorProps,
diff --git a/packages/editor/src/core/components/editors/document/editor.tsx b/packages/editor/src/core/components/editors/document/editor.tsx
index 6e51cb2b28..a4adf49f37 100644
--- a/packages/editor/src/core/components/editors/document/editor.tsx
+++ b/packages/editor/src/core/components/editors/document/editor.tsx
@@ -1,5 +1,6 @@
-import { Extensions } from "@tiptap/core";
-import { forwardRef, MutableRefObject, useMemo } from "react";
+import type { Extensions } from "@tiptap/core";
+import type { MutableRefObject } from "react";
+import { forwardRef, useMemo } from "react";
// plane imports
import { cn } from "@plane/utils";
// components
@@ -15,7 +16,7 @@ import { useEditor } from "@/hooks/use-editor";
// plane editor extensions
import { DocumentEditorAdditionalExtensions } from "@/plane-editor/extensions";
// types
-import { EditorRefApi, IDocumentEditorProps } from "@/types";
+import type { EditorRefApi, IDocumentEditorProps } from "@/types";
const DocumentEditor = (props: IDocumentEditorProps) => {
const {
diff --git a/packages/editor/src/core/components/editors/document/page-renderer.tsx b/packages/editor/src/core/components/editors/document/page-renderer.tsx
index dfed178584..c32646825a 100644
--- a/packages/editor/src/core/components/editors/document/page-renderer.tsx
+++ b/packages/editor/src/core/components/editors/document/page-renderer.tsx
@@ -1,4 +1,4 @@
-import { Editor } from "@tiptap/react";
+import type { Editor } from "@tiptap/react";
// plane imports
import { cn } from "@plane/utils";
// components
diff --git a/packages/editor/src/core/components/editors/editor-container.tsx b/packages/editor/src/core/components/editors/editor-container.tsx
index dad2b7f79f..b2b7309c77 100644
--- a/packages/editor/src/core/components/editors/editor-container.tsx
+++ b/packages/editor/src/core/components/editors/editor-container.tsx
@@ -1,5 +1,6 @@
import type { Editor } from "@tiptap/react";
-import { FC, ReactNode, useRef } from "react";
+import type { FC, ReactNode } from "react";
+import { useRef } from "react";
// plane utils
import { cn } from "@plane/utils";
// constants
@@ -8,7 +9,7 @@ import { CORE_EXTENSIONS } from "@/constants/extension";
// components
import { LinkContainer } from "@/plane-editor/components/link-container";
// types
-import { TDisplayConfig } from "@/types";
+import type { TDisplayConfig } from "@/types";
type Props = {
children: ReactNode;
diff --git a/packages/editor/src/core/components/editors/editor-content.tsx b/packages/editor/src/core/components/editors/editor-content.tsx
index 0de342ad36..623dc55461 100644
--- a/packages/editor/src/core/components/editors/editor-content.tsx
+++ b/packages/editor/src/core/components/editors/editor-content.tsx
@@ -1,5 +1,6 @@
-import { type Editor, EditorContent } from "@tiptap/react";
-import { FC, ReactNode } from "react";
+import { EditorContent } from "@tiptap/react";
+import type { Editor } from "@tiptap/react";
+import type { FC, ReactNode } from "react";
type Props = {
children?: ReactNode;
diff --git a/packages/editor/src/core/components/editors/editor-wrapper.tsx b/packages/editor/src/core/components/editors/editor-wrapper.tsx
index 2ef07631da..617cb3b152 100644
--- a/packages/editor/src/core/components/editors/editor-wrapper.tsx
+++ b/packages/editor/src/core/components/editors/editor-wrapper.tsx
@@ -1,4 +1,4 @@
-import { Editor, Extensions } from "@tiptap/core";
+import type { Editor, Extensions } from "@tiptap/core";
// components
import { EditorContainer } from "@/components/editors";
// constants
@@ -7,7 +7,7 @@ import { DEFAULT_DISPLAY_CONFIG } from "@/constants/config";
import { getEditorClassNames } from "@/helpers/common";
import { useEditor } from "@/hooks/use-editor";
// types
-import { IEditorProps } from "@/types";
+import type { IEditorProps } from "@/types";
import { EditorContentWrapper } from "./editor-content";
type Props = IEditorProps & {
diff --git a/packages/editor/src/core/components/editors/link-view-container.tsx b/packages/editor/src/core/components/editors/link-view-container.tsx
index 3f7cc7f2ae..5800930799 100644
--- a/packages/editor/src/core/components/editors/link-view-container.tsx
+++ b/packages/editor/src/core/components/editors/link-view-container.tsx
@@ -1,9 +1,12 @@
import { autoUpdate, flip, hide, shift, useDismiss, useFloating, useInteractions } from "@floating-ui/react";
-import { Editor, useEditorState } from "@tiptap/react";
-import { FC, useCallback, useEffect, useRef, useState } from "react";
+import type { Editor } from "@tiptap/react";
+import { useEditorState } from "@tiptap/react";
+import type { FC } from "react";
+import { useCallback, useEffect, useRef, useState } from "react";
// components
-import { LinkView, LinkViewProps } from "@/components/links";
+import type { LinkViewProps } from "@/components/links";
+import { LinkView } from "@/components/links";
type Props = {
editor: Editor;
diff --git a/packages/editor/src/core/components/editors/lite-text/editor.tsx b/packages/editor/src/core/components/editors/lite-text/editor.tsx
index df89521ae6..d4dccd996c 100644
--- a/packages/editor/src/core/components/editors/lite-text/editor.tsx
+++ b/packages/editor/src/core/components/editors/lite-text/editor.tsx
@@ -4,7 +4,7 @@ import { EditorWrapper } from "@/components/editors/editor-wrapper";
// extensions
import { EnterKeyExtension } from "@/extensions";
// types
-import { EditorRefApi, ILiteTextEditorProps } from "@/types";
+import type { EditorRefApi, ILiteTextEditorProps } from "@/types";
const LiteTextEditor: React.FC<ILiteTextEditorProps> = (props) => {
const { onEnterKeyPress, disabledExtensions, extensions: externalExtensions = [] } = props;
diff --git a/packages/editor/src/core/components/editors/rich-text/editor.tsx b/packages/editor/src/core/components/editors/rich-text/editor.tsx
index 40a2b0c0be..2f1ad1ca70 100644
--- a/packages/editor/src/core/components/editors/rich-text/editor.tsx
+++ b/packages/editor/src/core/components/editors/rich-text/editor.tsx
@@ -7,7 +7,7 @@ import { SideMenuExtension } from "@/extensions";
// plane editor imports
import { RichTextEditorAdditionalExtensions } from "@/plane-editor/extensions/rich-text-extensions";
// types
-import { EditorRefApi, IRichTextEditorProps } from "@/types";
+import type { EditorRefApi, IRichTextEditorProps } from "@/types";
const RichTextEditor: React.FC<IRichTextEditorProps> = (props) => {
const {
diff --git a/packages/editor/src/core/components/links/link-edit-view.tsx b/packages/editor/src/core/components/links/link-edit-view.tsx
index 4446b7d331..34e4eb2cfb 100644
--- a/packages/editor/src/core/components/links/link-edit-view.tsx
+++ b/packages/editor/src/core/components/links/link-edit-view.tsx
@@ -1,8 +1,8 @@
-import { Node } from "@tiptap/pm/model";
+import type { Node } from "@tiptap/pm/model";
import { Link2Off } from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
// components
-import { LinkViewProps, LinkViews } from "@/components/links";
+import type { LinkViewProps, LinkViews } from "@/components/links";
// helpers
import { isValidHttpUrl } from "@/helpers/common";
diff --git a/packages/editor/src/core/components/links/link-preview.tsx b/packages/editor/src/core/components/links/link-preview.tsx
index dd41f23067..65803e37b1 100644
--- a/packages/editor/src/core/components/links/link-preview.tsx
+++ b/packages/editor/src/core/components/links/link-preview.tsx
@@ -1,6 +1,6 @@
import { Copy, GlobeIcon, Link2Off, PencilIcon } from "lucide-react";
// components
-import { LinkViewProps, LinkViews } from "@/components/links";
+import type { LinkViewProps, LinkViews } from "@/components/links";
export const LinkPreview = ({
viewProps,
diff --git a/packages/editor/src/core/components/links/link-view.tsx b/packages/editor/src/core/components/links/link-view.tsx
index bd29071fad..ab04ab8d86 100644
--- a/packages/editor/src/core/components/links/link-view.tsx
+++ b/packages/editor/src/core/components/links/link-view.tsx
@@ -1,5 +1,6 @@
-import { Editor } from "@tiptap/react";
-import { CSSProperties, useEffect, useState } from "react";
+import type { Editor } from "@tiptap/react";
+import type { CSSProperties } from "react";
+import { useEffect, useState } from "react";
// components
import { LinkEditView, LinkPreview } from "@/components/links";
diff --git a/packages/editor/src/core/components/menus/ai-menu.tsx b/packages/editor/src/core/components/menus/ai-menu.tsx
index e268aed057..14d6474a27 100644
--- a/packages/editor/src/core/components/menus/ai-menu.tsx
+++ b/packages/editor/src/core/components/menus/ai-menu.tsx
@@ -1,5 +1,6 @@
import { useCallback, useEffect, useRef, useState } from "react";
-import tippy, { type Instance } from "tippy.js";
+import tippy from "tippy.js";
+import type { Instance } from "tippy.js";
// plane utils
import { cn } from "@plane/utils";
// types
diff --git a/packages/editor/src/core/components/menus/block-menu.tsx b/packages/editor/src/core/components/menus/block-menu.tsx
index 77ee3350b1..014bc372c2 100644
--- a/packages/editor/src/core/components/menus/block-menu.tsx
+++ b/packages/editor/src/core/components/menus/block-menu.tsx
@@ -9,7 +9,8 @@ import {
FloatingPortal,
} from "@floating-ui/react";
import type { Editor } from "@tiptap/react";
-import { Copy, LucideIcon, Trash2 } from "lucide-react";
+import type { LucideIcon } from "lucide-react";
+import { Copy, Trash2 } from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
import { cn } from "@plane/utils";
// constants
diff --git a/packages/editor/src/core/components/menus/bubble-menu/alignment-selector.tsx b/packages/editor/src/core/components/menus/bubble-menu/alignment-selector.tsx
index e4aa52a4fc..8bd490f8b4 100644
--- a/packages/editor/src/core/components/menus/bubble-menu/alignment-selector.tsx
+++ b/packages/editor/src/core/components/menus/bubble-menu/alignment-selector.tsx
@@ -1,12 +1,13 @@
-import { Editor } from "@tiptap/core";
-import { AlignCenter, AlignLeft, AlignRight, LucideIcon } from "lucide-react";
+import type { Editor } from "@tiptap/core";
+import type { LucideIcon } from "lucide-react";
+import { AlignCenter, AlignLeft, AlignRight } from "lucide-react";
// plane utils
import { cn } from "@plane/utils";
// components
import { TextAlignItem } from "@/components/menus";
// types
-import { TEditorCommands } from "@/types";
-import { EditorStateType } from "./root";
+import type { TEditorCommands } from "@/types";
+import type { EditorStateType } from "./root";
type Props = {
editor: Editor;
diff --git a/packages/editor/src/core/components/menus/bubble-menu/color-selector.tsx b/packages/editor/src/core/components/menus/bubble-menu/color-selector.tsx
index 067b6ce280..41fee1ca42 100644
--- a/packages/editor/src/core/components/menus/bubble-menu/color-selector.tsx
+++ b/packages/editor/src/core/components/menus/bubble-menu/color-selector.tsx
@@ -1,6 +1,7 @@
import type { Editor } from "@tiptap/react";
import { ALargeSmall, Ban } from "lucide-react";
-import { useMemo, type FC } from "react";
+import { useMemo } from "react";
+import type { FC } from "react";
// plane utils
import { cn } from "@plane/utils";
// constants
@@ -9,7 +10,7 @@ import { COLORS_LIST } from "@/constants/common";
import { FloatingMenuRoot } from "../floating-menu/root";
import { useFloatingMenu } from "../floating-menu/use-floating-menu";
import { BackgroundColorItem, TextColorItem } from "../menu-items";
-import { EditorStateType } from "./root";
+import type { EditorStateType } from "./root";
type Props = {
editor: Editor;
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 a2e9c6bf2d..14e93c1ee9 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,6 +1,7 @@
import type { Editor } from "@tiptap/core";
import { Check, Link, Trash2 } from "lucide-react";
-import { FC, useCallback, useRef, useState } from "react";
+import type { FC } from "react";
+import { useCallback, useRef, useState } from "react";
// plane imports
import { cn } from "@plane/utils";
// constants
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 a45ce42733..a4e382207d 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,10 +1,11 @@
-import { Editor } from "@tiptap/react";
+import type { Editor } from "@tiptap/react";
import { Check } from "lucide-react";
-import { FC } from "react";
+import type { FC } from "react";
import { ChevronDownIcon } from "@plane/propel/icons";
// plane utils
import { cn } from "@plane/utils";
// components
+import type { EditorMenuItem } from "@/components/menus";
import {
BulletListItem,
HeadingOneItem,
@@ -18,7 +19,6 @@ import {
HeadingFourItem,
HeadingFiveItem,
HeadingSixItem,
- EditorMenuItem,
} from "@/components/menus";
// types
import type { TEditorCommands } from "@/types";
diff --git a/packages/editor/src/core/components/menus/bubble-menu/root.tsx b/packages/editor/src/core/components/menus/bubble-menu/root.tsx
index 002cf0ab66..8700a2c27a 100644
--- a/packages/editor/src/core/components/menus/bubble-menu/root.tsx
+++ b/packages/editor/src/core/components/menus/bubble-menu/root.tsx
@@ -1,16 +1,19 @@
-import { type Editor, isNodeSelection } from "@tiptap/core";
-import { BubbleMenu, type BubbleMenuProps, useEditorState } from "@tiptap/react";
-import { FC, useEffect, useState, useRef } from "react";
+import { isNodeSelection } from "@tiptap/core";
+import type { Editor } from "@tiptap/core";
+import { BubbleMenu, useEditorState } from "@tiptap/react";
+import type { BubbleMenuProps } from "@tiptap/react";
+import type { FC } from "react";
+import { useEffect, useState, useRef } from "react";
// plane utils
import { cn } from "@plane/utils";
// components
+import type { EditorMenuItem } from "@/components/menus";
import {
BackgroundColorItem,
BoldItem,
BubbleMenuColorSelector,
BubbleMenuNodeSelector,
CodeItem,
- EditorMenuItem,
ItalicItem,
StrikeThroughItem,
TextAlignItem,
diff --git a/packages/editor/src/core/components/menus/floating-menu/root.tsx b/packages/editor/src/core/components/menus/floating-menu/root.tsx
index a98ea3fea0..2e1f59f986 100644
--- a/packages/editor/src/core/components/menus/floating-menu/root.tsx
+++ b/packages/editor/src/core/components/menus/floating-menu/root.tsx
@@ -1,9 +1,5 @@
-import {
- FloatingOverlay,
- FloatingPortal,
- type UseInteractionsReturn,
- type UseFloatingReturn,
-} from "@floating-ui/react";
+import { FloatingOverlay, FloatingPortal } from "@floating-ui/react";
+import type { UseInteractionsReturn, UseFloatingReturn } from "@floating-ui/react";
type Props = {
children: React.ReactNode;
diff --git a/packages/editor/src/core/components/menus/floating-menu/use-floating-menu.ts b/packages/editor/src/core/components/menus/floating-menu/use-floating-menu.ts
index dbcf3dfe16..e07d03386f 100644
--- a/packages/editor/src/core/components/menus/floating-menu/use-floating-menu.ts
+++ b/packages/editor/src/core/components/menus/floating-menu/use-floating-menu.ts
@@ -7,9 +7,8 @@ import {
autoUpdate,
useClick,
useRole,
- type UseInteractionsReturn,
- type UseFloatingReturn,
} from "@floating-ui/react";
+import type { UseInteractionsReturn, UseFloatingReturn } from "@floating-ui/react";
import { useState } from "react";
type TArgs = {
diff --git a/packages/editor/src/core/components/menus/menu-items.ts b/packages/editor/src/core/components/menus/menu-items.ts
index bba9f523fe..075b871472 100644
--- a/packages/editor/src/core/components/menus/menu-items.ts
+++ b/packages/editor/src/core/components/menus/menu-items.ts
@@ -18,12 +18,12 @@ import {
Heading5,
Heading6,
CaseSensitive,
- type LucideIcon,
MinusSquare,
Palette,
AlignCenter,
LinkIcon,
} from "lucide-react";
+import type { LucideIcon } from "lucide-react";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
// helpers
@@ -49,7 +49,7 @@ import {
unsetLinkEditor,
} from "@/helpers/editor-commands";
// types
-import { TCommandWithProps, TEditorCommands } from "@/types";
+import type { TCommandWithProps, TEditorCommands } from "@/types";
type isActiveFunction<T extends TEditorCommands> = (params?: TCommandWithProps<T>) => boolean;
type commandFunction<T extends TEditorCommands> = (params?: TCommandWithProps<T>) => void;
diff --git a/packages/editor/src/core/constants/common.ts b/packages/editor/src/core/constants/common.ts
index 8961bcd915..cae55c91b8 100644
--- a/packages/editor/src/core/constants/common.ts
+++ b/packages/editor/src/core/constants/common.ts
@@ -1,3 +1,4 @@
+import type { LucideIcon } from "lucide-react";
import {
AlignCenter,
AlignLeft,
@@ -16,13 +17,12 @@ import {
List,
ListOrdered,
ListTodo,
- LucideIcon,
Strikethrough,
Table,
TextQuote,
Underline,
} from "lucide-react";
-import { TCommandExtraProps, TEditorCommands } from "@/types/editor";
+import type { TCommandExtraProps, TEditorCommands } from "@/types/editor";
export type TEditorTypes = "lite" | "document";
diff --git a/packages/editor/src/core/constants/config.ts b/packages/editor/src/core/constants/config.ts
index 922be9ef90..cdca814592 100644
--- a/packages/editor/src/core/constants/config.ts
+++ b/packages/editor/src/core/constants/config.ts
@@ -1,5 +1,5 @@
// types
-import { TDisplayConfig } from "@/types";
+import type { TDisplayConfig } from "@/types";
export const DEFAULT_DISPLAY_CONFIG: TDisplayConfig = {
fontSize: "large-font",
diff --git a/packages/editor/src/core/constants/document-collaborative-events.ts b/packages/editor/src/core/constants/document-collaborative-events.ts
index d602015c23..6859c588a5 100644
--- a/packages/editor/src/core/constants/document-collaborative-events.ts
+++ b/packages/editor/src/core/constants/document-collaborative-events.ts
@@ -1,6 +1,6 @@
-import { EPageAccess } from "@plane/constants";
-import { TPage } from "@plane/types";
-import { CreatePayload, BaseActionPayload } from "@/types";
+import type { EPageAccess } from "@plane/constants";
+import type { TPage } from "@plane/types";
+import type { CreatePayload, BaseActionPayload } from "@/types";
// Define all payload types for each event.
export type ArchivedPayload = CreatePayload<{ archived_at: string | null }>;
diff --git a/packages/editor/src/core/extensions/callout/block.tsx b/packages/editor/src/core/extensions/callout/block.tsx
index b4f0b7085f..2471469b08 100644
--- a/packages/editor/src/core/extensions/callout/block.tsx
+++ b/packages/editor/src/core/extensions/callout/block.tsx
@@ -1,4 +1,5 @@
-import { NodeViewContent, NodeViewProps, NodeViewWrapper } from "@tiptap/react";
+import type { NodeViewProps } from "@tiptap/react";
+import { NodeViewContent, NodeViewWrapper } from "@tiptap/react";
import React, { useState } from "react";
// constants
import { COLORS_LIST } from "@/constants/common";
@@ -6,7 +7,8 @@ import { COLORS_LIST } from "@/constants/common";
import { CalloutBlockColorSelector } from "./color-selector";
import { CalloutBlockLogoSelector } from "./logo-selector";
// types
-import { ECalloutAttributeNames, TCalloutBlockAttributes } from "./types";
+import type { TCalloutBlockAttributes } from "./types";
+import { ECalloutAttributeNames } from "./types";
// utils
import { updateStoredBackgroundColor } from "./utils";
diff --git a/packages/editor/src/core/extensions/callout/extension-config.ts b/packages/editor/src/core/extensions/callout/extension-config.ts
index 2fac143160..f7fe0ce979 100644
--- a/packages/editor/src/core/extensions/callout/extension-config.ts
+++ b/packages/editor/src/core/extensions/callout/extension-config.ts
@@ -1,10 +1,11 @@
import { Node, mergeAttributes } from "@tiptap/core";
-import { MarkdownSerializerState } from "@tiptap/pm/markdown";
+import type { MarkdownSerializerState } from "@tiptap/pm/markdown";
import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
// types
-import { type CustomCalloutExtensionType, ECalloutAttributeNames, type TCalloutBlockAttributes } from "./types";
+import { ECalloutAttributeNames } from "./types";
+import type { CustomCalloutExtensionType, TCalloutBlockAttributes } from "./types";
// utils
import { DEFAULT_CALLOUT_BLOCK_ATTRIBUTES } from "./utils";
diff --git a/packages/editor/src/core/extensions/callout/extension.tsx b/packages/editor/src/core/extensions/callout/extension.tsx
index d6aaf24908..bb256ca774 100644
--- a/packages/editor/src/core/extensions/callout/extension.tsx
+++ b/packages/editor/src/core/extensions/callout/extension.tsx
@@ -1,10 +1,12 @@
-import { findParentNodeClosestToPos, type Predicate, ReactNodeViewRenderer } from "@tiptap/react";
+import { findParentNodeClosestToPos, ReactNodeViewRenderer } from "@tiptap/react";
+import type { Predicate } from "@tiptap/react";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
// helpers
import { insertEmptyParagraphAtNodeBoundaries } from "@/helpers/insert-empty-paragraph-at-node-boundary";
// local imports
-import { CustomCalloutBlock, type CustomCalloutNodeViewProps } from "./block";
+import { CustomCalloutBlock } from "./block";
+import type { CustomCalloutNodeViewProps } from "./block";
import { CustomCalloutExtensionConfig } from "./extension-config";
import type { CustomCalloutExtensionOptions, CustomCalloutExtensionStorage } from "./types";
import { getStoredBackgroundColor, getStoredLogo } from "./utils";
diff --git a/packages/editor/src/core/extensions/callout/logo-selector.tsx b/packages/editor/src/core/extensions/callout/logo-selector.tsx
index 717345e68f..f4133ae692 100644
--- a/packages/editor/src/core/extensions/callout/logo-selector.tsx
+++ b/packages/editor/src/core/extensions/callout/logo-selector.tsx
@@ -3,7 +3,7 @@ import { EmojiPicker, EmojiIconPickerTypes, Logo } from "@plane/propel/emoji-ico
import type { TLogoProps } from "@plane/types";
import { cn } from "@plane/utils";
// types
-import { TCalloutBlockAttributes } from "./types";
+import type { TCalloutBlockAttributes } from "./types";
// utils
import { DEFAULT_CALLOUT_BLOCK_ATTRIBUTES, updateStoredLogo } from "./utils";
diff --git a/packages/editor/src/core/extensions/callout/utils.ts b/packages/editor/src/core/extensions/callout/utils.ts
index 6d64e0f8a4..d6e545dbde 100644
--- a/packages/editor/src/core/extensions/callout/utils.ts
+++ b/packages/editor/src/core/extensions/callout/utils.ts
@@ -2,12 +2,8 @@
import type { TLogoProps } from "@plane/types";
import { sanitizeHTML } from "@plane/utils";
// types
-import {
- ECalloutAttributeNames,
- TCalloutBlockAttributes,
- TCalloutBlockEmojiAttributes,
- TCalloutBlockIconAttributes,
-} from "./types";
+import type { TCalloutBlockAttributes, TCalloutBlockEmojiAttributes, TCalloutBlockIconAttributes } from "./types";
+import { ECalloutAttributeNames } from "./types";
export const DEFAULT_CALLOUT_BLOCK_ATTRIBUTES: TCalloutBlockAttributes = {
[ECalloutAttributeNames.LOGO_IN_USE]: "emoji",
diff --git a/packages/editor/src/core/extensions/code/code-block-lowlight.ts b/packages/editor/src/core/extensions/code/code-block-lowlight.ts
index 9c2dc14c38..b108614ff6 100644
--- a/packages/editor/src/core/extensions/code/code-block-lowlight.ts
+++ b/packages/editor/src/core/extensions/code/code-block-lowlight.ts
@@ -1,6 +1,7 @@
// import CodeBlock, { CodeBlockOptions } from "@tiptap/extension-code-block";
-import { CodeBlockOptions, CodeBlock } from "./code-block";
+import type { CodeBlockOptions } from "./code-block";
+import { CodeBlock } from "./code-block";
import { LowlightPlugin } from "./lowlight-plugin";
type CodeBlockLowlightOptions = CodeBlockOptions & {
diff --git a/packages/editor/src/core/extensions/code/lowlight-plugin.ts b/packages/editor/src/core/extensions/code/lowlight-plugin.ts
index 115ea9b066..2705b4068e 100644
--- a/packages/editor/src/core/extensions/code/lowlight-plugin.ts
+++ b/packages/editor/src/core/extensions/code/lowlight-plugin.ts
@@ -1,7 +1,7 @@
// TODO: check all the type errors and fix them
import { findChildren } from "@tiptap/core";
-import { Node as ProsemirrorNode } from "@tiptap/pm/model";
+import type { Node as ProsemirrorNode } from "@tiptap/pm/model";
import { Plugin, PluginKey } from "@tiptap/pm/state";
import { Decoration, DecorationSet } from "@tiptap/pm/view";
import highlight from "highlight.js/lib/core";
diff --git a/packages/editor/src/core/extensions/code/utils/replace-code-block-with-text.ts b/packages/editor/src/core/extensions/code/utils/replace-code-block-with-text.ts
index daf2c5f05d..dbff2f898e 100644
--- a/packages/editor/src/core/extensions/code/utils/replace-code-block-with-text.ts
+++ b/packages/editor/src/core/extensions/code/utils/replace-code-block-with-text.ts
@@ -1,4 +1,5 @@
-import { Editor, findParentNode } from "@tiptap/core";
+import type { Editor } from "@tiptap/core";
+import { findParentNode } from "@tiptap/core";
type ReplaceCodeBlockParams = {
editor: Editor;
diff --git a/packages/editor/src/core/extensions/custom-image/components/block.tsx b/packages/editor/src/core/extensions/custom-image/components/block.tsx
index 8e069d5770..a7c68552a8 100644
--- a/packages/editor/src/core/extensions/custom-image/components/block.tsx
+++ b/packages/editor/src/core/extensions/custom-image/components/block.tsx
@@ -3,7 +3,7 @@ import React, { useRef, useState, useCallback, useLayoutEffect, useEffect } from
// plane imports
import { cn } from "@plane/utils";
// local imports
-import { Pixel, TCustomImageAttributes, TCustomImageSize } from "../types";
+import type { Pixel, TCustomImageAttributes, TCustomImageSize } from "../types";
import { ensurePixelString, getImageBlockId } from "../utils";
import type { CustomImageNodeViewProps } from "./node-view";
import { ImageToolbarRoot } from "./toolbar";
diff --git a/packages/editor/src/core/extensions/custom-image/components/node-view.tsx b/packages/editor/src/core/extensions/custom-image/components/node-view.tsx
index 07c2592c55..7ccfb9a288 100644
--- a/packages/editor/src/core/extensions/custom-image/components/node-view.tsx
+++ b/packages/editor/src/core/extensions/custom-image/components/node-view.tsx
@@ -1,4 +1,5 @@
-import { type NodeViewProps, NodeViewWrapper } from "@tiptap/react";
+import { NodeViewWrapper } from "@tiptap/react";
+import type { NodeViewProps } from "@tiptap/react";
import { useEffect, useRef, useState } from "react";
// local imports
import type { CustomImageExtensionType, TCustomImageAttributes } from "../types";
diff --git a/packages/editor/src/core/extensions/custom-image/components/upload-status.tsx b/packages/editor/src/core/extensions/custom-image/components/upload-status.tsx
index 83242732a7..7b6e0a081f 100644
--- a/packages/editor/src/core/extensions/custom-image/components/upload-status.tsx
+++ b/packages/editor/src/core/extensions/custom-image/components/upload-status.tsx
@@ -1,4 +1,4 @@
-import { Editor } from "@tiptap/core";
+import type { Editor } from "@tiptap/core";
import { useEditorState } from "@tiptap/react";
import { useEffect, useRef, useState } from "react";
diff --git a/packages/editor/src/core/extensions/custom-image/components/uploader.tsx b/packages/editor/src/core/extensions/custom-image/components/uploader.tsx
index f784621ab6..447d3120d0 100644
--- a/packages/editor/src/core/extensions/custom-image/components/uploader.tsx
+++ b/packages/editor/src/core/extensions/custom-image/components/uploader.tsx
@@ -1,12 +1,13 @@
import { ImageIcon } from "lucide-react";
-import { ChangeEvent, useCallback, useEffect, useMemo, useRef } from "react";
+import type { ChangeEvent } from "react";
+import { useCallback, useEffect, useMemo, useRef } from "react";
// plane imports
import { cn } from "@plane/utils";
// constants
import { ACCEPTED_IMAGE_MIME_TYPES } from "@/constants/config";
import { CORE_EXTENSIONS } from "@/constants/extension";
// helpers
-import { EFileError } from "@/helpers/file";
+import type { EFileError } from "@/helpers/file";
// hooks
import { useUploader, useDropZone, uploadFirstFileAndInsertRemaining } from "@/hooks/use-file-upload";
// local imports
diff --git a/packages/editor/src/core/extensions/custom-image/extension-config.ts b/packages/editor/src/core/extensions/custom-image/extension-config.ts
index 1a75a3da9b..5ad3b2511d 100644
--- a/packages/editor/src/core/extensions/custom-image/extension-config.ts
+++ b/packages/editor/src/core/extensions/custom-image/extension-config.ts
@@ -3,13 +3,13 @@ import { Image as BaseImageExtension } from "@tiptap/extension-image";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
// local imports
-import {
- type CustomImageExtensionType,
- type CustomImageExtensionStorage,
- ECustomImageAttributeNames,
- type InsertImageComponentProps,
+import { ECustomImageAttributeNames } from "./types";
+import type {
CustomImageExtensionOptions,
TCustomImageAttributes,
+ CustomImageExtensionType,
+ CustomImageExtensionStorage,
+ InsertImageComponentProps,
} from "./types";
import { DEFAULT_CUSTOM_IMAGE_ATTRIBUTES } from "./utils";
diff --git a/packages/editor/src/core/extensions/custom-image/extension.tsx b/packages/editor/src/core/extensions/custom-image/extension.tsx
index a97f50512b..e43997bfac 100644
--- a/packages/editor/src/core/extensions/custom-image/extension.tsx
+++ b/packages/editor/src/core/extensions/custom-image/extension.tsx
@@ -8,7 +8,8 @@ import { insertEmptyParagraphAtNodeBoundaries } from "@/helpers/insert-empty-par
// types
import type { TFileHandler } from "@/types";
// local imports
-import { CustomImageNodeView, CustomImageNodeViewProps } from "./components/node-view";
+import type { CustomImageNodeViewProps } from "./components/node-view";
+import { CustomImageNodeView } from "./components/node-view";
import { CustomImageExtensionConfig } from "./extension-config";
import type { CustomImageExtensionOptions, CustomImageExtensionStorage } from "./types";
import { getImageComponentImageFileMap } from "./utils";
diff --git a/packages/editor/src/core/extensions/custom-image/utils.ts b/packages/editor/src/core/extensions/custom-image/utils.ts
index 0ce1d44395..0b0d17ffd0 100644
--- a/packages/editor/src/core/extensions/custom-image/utils.ts
+++ b/packages/editor/src/core/extensions/custom-image/utils.ts
@@ -1,7 +1,9 @@
import type { Editor } from "@tiptap/core";
-import { AlignCenter, AlignLeft, AlignRight, type LucideIcon } from "lucide-react";
+import { AlignCenter, AlignLeft, AlignRight } from "lucide-react";
+import type { LucideIcon } from "lucide-react";
// local imports
-import { ECustomImageAttributeNames, TCustomImageAlignment, type Pixel, type TCustomImageAttributes } from "./types";
+import { ECustomImageAttributeNames } from "./types";
+import type { TCustomImageAlignment, Pixel, TCustomImageAttributes } from "./types";
export const DEFAULT_CUSTOM_IMAGE_ATTRIBUTES: TCustomImageAttributes = {
[ECustomImageAttributeNames.SOURCE]: null,
diff --git a/packages/editor/src/core/extensions/custom-link/extension.tsx b/packages/editor/src/core/extensions/custom-link/extension.tsx
index d7b746d420..dbc81a2bd3 100644
--- a/packages/editor/src/core/extensions/custom-link/extension.tsx
+++ b/packages/editor/src/core/extensions/custom-link/extension.tsx
@@ -1,5 +1,6 @@
-import { Mark, markPasteRule, mergeAttributes, PasteRuleMatch } from "@tiptap/core";
-import { Plugin } from "@tiptap/pm/state";
+import type { PasteRuleMatch } from "@tiptap/core";
+import { Mark, markPasteRule, mergeAttributes } from "@tiptap/core";
+import type { Plugin } from "@tiptap/pm/state";
import { find, registerCustomProtocol, reset } from "linkifyjs";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
diff --git a/packages/editor/src/core/extensions/custom-link/helpers/autolink.ts b/packages/editor/src/core/extensions/custom-link/helpers/autolink.ts
index 3fa14ab492..709969deeb 100644
--- a/packages/editor/src/core/extensions/custom-link/helpers/autolink.ts
+++ b/packages/editor/src/core/extensions/custom-link/helpers/autolink.ts
@@ -1,11 +1,6 @@
-import {
- combineTransactionSteps,
- findChildrenInRange,
- getChangedRanges,
- getMarksBetween,
- NodeWithPos,
-} from "@tiptap/core";
-import { MarkType } from "@tiptap/pm/model";
+import type { NodeWithPos } from "@tiptap/core";
+import { combineTransactionSteps, findChildrenInRange, getChangedRanges, getMarksBetween } from "@tiptap/core";
+import type { MarkType } from "@tiptap/pm/model";
import { Plugin, PluginKey } from "@tiptap/pm/state";
import { find } from "linkifyjs";
diff --git a/packages/editor/src/core/extensions/custom-link/helpers/clickHandler.ts b/packages/editor/src/core/extensions/custom-link/helpers/clickHandler.ts
index 72906bc942..c3e1e79944 100644
--- a/packages/editor/src/core/extensions/custom-link/helpers/clickHandler.ts
+++ b/packages/editor/src/core/extensions/custom-link/helpers/clickHandler.ts
@@ -1,5 +1,5 @@
import { getAttributes } from "@tiptap/core";
-import { MarkType } from "@tiptap/pm/model";
+import type { MarkType } from "@tiptap/pm/model";
import { Plugin, PluginKey } from "@tiptap/pm/state";
type ClickHandlerOptions = {
diff --git a/packages/editor/src/core/extensions/custom-link/helpers/pasteHandler.ts b/packages/editor/src/core/extensions/custom-link/helpers/pasteHandler.ts
index 475bf28d94..0b73748be3 100644
--- a/packages/editor/src/core/extensions/custom-link/helpers/pasteHandler.ts
+++ b/packages/editor/src/core/extensions/custom-link/helpers/pasteHandler.ts
@@ -1,5 +1,5 @@
-import { Editor } from "@tiptap/core";
-import { MarkType } from "@tiptap/pm/model";
+import type { Editor } from "@tiptap/core";
+import type { MarkType } from "@tiptap/pm/model";
import { Plugin, PluginKey } from "@tiptap/pm/state";
import { find } from "linkifyjs";
diff --git a/packages/editor/src/core/extensions/custom-list-keymap/list-helpers.ts b/packages/editor/src/core/extensions/custom-list-keymap/list-helpers.ts
index 547f9f17e1..688d070c0f 100644
--- a/packages/editor/src/core/extensions/custom-list-keymap/list-helpers.ts
+++ b/packages/editor/src/core/extensions/custom-list-keymap/list-helpers.ts
@@ -1,6 +1,7 @@
-import { Editor, getNodeType, getNodeAtPosition, isAtEndOfNode, isAtStartOfNode, isNodeActive } from "@tiptap/core";
-import { Node, NodeType } from "@tiptap/pm/model";
-import { EditorState } from "@tiptap/pm/state";
+import type { Editor } from "@tiptap/core";
+import { getNodeType, getNodeAtPosition, isAtEndOfNode, isAtStartOfNode, isNodeActive } from "@tiptap/core";
+import type { Node, NodeType } from "@tiptap/pm/model";
+import type { EditorState } from "@tiptap/pm/state";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
diff --git a/packages/editor/src/core/extensions/emoji/components/emojis-list.tsx b/packages/editor/src/core/extensions/emoji/components/emojis-list.tsx
index 6edea4010f..0a7c94fe92 100644
--- a/packages/editor/src/core/extensions/emoji/components/emojis-list.tsx
+++ b/packages/editor/src/core/extensions/emoji/components/emojis-list.tsx
@@ -1,5 +1,5 @@
import { FloatingOverlay } from "@floating-ui/react";
-import { SuggestionKeyDownProps, type SuggestionProps } from "@tiptap/suggestion";
+import type { SuggestionKeyDownProps, SuggestionProps } from "@tiptap/suggestion";
import { forwardRef, useCallback, useEffect, useImperativeHandle, useRef, useState } from "react";
// plane imports
import { useOutsideClickDetector } from "@plane/hooks";
diff --git a/packages/editor/src/core/extensions/emoji/emoji.ts b/packages/editor/src/core/extensions/emoji/emoji.ts
index 338573b1c9..d2d659328c 100644
--- a/packages/editor/src/core/extensions/emoji/emoji.ts
+++ b/packages/editor/src/core/extensions/emoji/emoji.ts
@@ -10,10 +10,13 @@ import {
PasteRule,
removeDuplicates,
} from "@tiptap/core";
-import { EmojiStorage, emojis, emojiToShortcode, shortcodeToEmoji } from "@tiptap/extension-emoji";
+import type { EmojiStorage } from "@tiptap/extension-emoji";
+import { emojis, emojiToShortcode, shortcodeToEmoji } from "@tiptap/extension-emoji";
import { Fragment } from "@tiptap/pm/model";
-import { Plugin, PluginKey, TextSelection, Transaction } from "@tiptap/pm/state";
-import Suggestion, { SuggestionOptions } from "@tiptap/suggestion";
+import type { Transaction } from "@tiptap/pm/state";
+import { Plugin, PluginKey, TextSelection } from "@tiptap/pm/state";
+import type { SuggestionOptions } from "@tiptap/suggestion";
+import Suggestion from "@tiptap/suggestion";
import emojiRegex from "emoji-regex";
import { isEmojiSupported } from "is-emoji-supported";
// helpers
diff --git a/packages/editor/src/core/extensions/emoji/extension.ts b/packages/editor/src/core/extensions/emoji/extension.ts
index 18ccfe992b..414cef8cec 100644
--- a/packages/editor/src/core/extensions/emoji/extension.ts
+++ b/packages/editor/src/core/extensions/emoji/extension.ts
@@ -1,7 +1,7 @@
// local imports
import { gitHubEmojis, shortcodeToEmoji } from "@tiptap/extension-emoji";
-import { MarkdownSerializerState } from "@tiptap/pm/markdown";
-import { Node as ProseMirrorNode } from "@tiptap/pm/model";
+import type { MarkdownSerializerState } from "@tiptap/pm/markdown";
+import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
import { Emoji } from "./emoji";
import { emojiSuggestion } from "./suggestion";
diff --git a/packages/editor/src/core/extensions/emoji/suggestion.ts b/packages/editor/src/core/extensions/emoji/suggestion.ts
index 06ddeb1e6e..81d1285f39 100644
--- a/packages/editor/src/core/extensions/emoji/suggestion.ts
+++ b/packages/editor/src/core/extensions/emoji/suggestion.ts
@@ -1,12 +1,15 @@
import type { EmojiOptions, EmojiStorage } from "@tiptap/extension-emoji";
-import { ReactRenderer, type Editor } from "@tiptap/react";
+import { ReactRenderer } from "@tiptap/react";
+import type { Editor } from "@tiptap/react";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
// helpers
import { updateFloatingUIFloaterPosition } from "@/helpers/floating-ui";
-import { CommandListInstance, DROPDOWN_NAVIGATION_KEYS } from "@/helpers/tippy";
+import type { CommandListInstance } from "@/helpers/tippy";
+import { DROPDOWN_NAVIGATION_KEYS } from "@/helpers/tippy";
// local imports
-import { type EmojiItem, EmojisListDropdown, EmojisListDropdownProps } from "./components/emojis-list";
+import { EmojisListDropdown } from "./components/emojis-list";
+import type { EmojisListDropdownProps, EmojiItem } from "./components/emojis-list";
import type { ExtendedEmojiStorage } from "./emoji";
const DEFAULT_EMOJIS = ["+1", "-1", "smile", "orange_heart", "eyes"];
diff --git a/packages/editor/src/core/extensions/extensions.ts b/packages/editor/src/core/extensions/extensions.ts
index f17d115871..8df1c7ddff 100644
--- a/packages/editor/src/core/extensions/extensions.ts
+++ b/packages/editor/src/core/extensions/extensions.ts
@@ -1,4 +1,4 @@
-import { Extensions } from "@tiptap/core";
+import type { Extensions } from "@tiptap/core";
import { CharacterCount } from "@tiptap/extension-character-count";
import TaskItem from "@tiptap/extension-task-item";
import TaskList from "@tiptap/extension-task-list";
diff --git a/packages/editor/src/core/extensions/image/extension-config.tsx b/packages/editor/src/core/extensions/image/extension-config.tsx
index 7456e3dfb0..02091d5691 100644
--- a/packages/editor/src/core/extensions/image/extension-config.tsx
+++ b/packages/editor/src/core/extensions/image/extension-config.tsx
@@ -1,7 +1,7 @@
import { Image as BaseImageExtension } from "@tiptap/extension-image";
// local imports
-import { CustomImageExtensionOptions } from "../custom-image/types";
-import { ImageExtensionStorage } from "./extension";
+import type { CustomImageExtensionOptions } from "../custom-image/types";
+import type { ImageExtensionStorage } from "./extension";
export const ImageExtensionConfig = BaseImageExtension.extend<
Pick<CustomImageExtensionOptions, "getImageSource">,
diff --git a/packages/editor/src/core/extensions/image/extension.tsx b/packages/editor/src/core/extensions/image/extension.tsx
index 48649727a7..2e40361729 100644
--- a/packages/editor/src/core/extensions/image/extension.tsx
+++ b/packages/editor/src/core/extensions/image/extension.tsx
@@ -1,12 +1,13 @@
import { ReactNodeViewRenderer } from "@tiptap/react";
// constants
-import { CORE_EXTENSIONS } from "@/constants/extension";
+import type { CORE_EXTENSIONS } from "@/constants/extension";
// helpers
import { insertEmptyParagraphAtNodeBoundaries } from "@/helpers/insert-empty-paragraph-at-node-boundary";
// types
import type { TFileHandler } from "@/types";
// local imports
-import { CustomImageNodeView, CustomImageNodeViewProps } from "../custom-image/components/node-view";
+import type { CustomImageNodeViewProps } from "../custom-image/components/node-view";
+import { CustomImageNodeView } from "../custom-image/components/node-view";
import { ImageExtensionConfig } from "./extension-config";
declare module "@tiptap/core" {
diff --git a/packages/editor/src/core/extensions/keymap.ts b/packages/editor/src/core/extensions/keymap.ts
index a953446919..1a7e9a4ac8 100644
--- a/packages/editor/src/core/extensions/keymap.ts
+++ b/packages/editor/src/core/extensions/keymap.ts
@@ -1,6 +1,7 @@
import { Extension } from "@tiptap/core";
-import { NodeType } from "@tiptap/pm/model";
-import { Plugin, PluginKey, Transaction } from "@tiptap/pm/state";
+import type { NodeType } from "@tiptap/pm/model";
+import type { Transaction } from "@tiptap/pm/state";
+import { Plugin, PluginKey } from "@tiptap/pm/state";
import { canJoin } from "@tiptap/pm/transform";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
diff --git a/packages/editor/src/core/extensions/mentions/extension-config.ts b/packages/editor/src/core/extensions/mentions/extension-config.ts
index 6c8f1f9041..0887e25bd0 100644
--- a/packages/editor/src/core/extensions/mentions/extension-config.ts
+++ b/packages/editor/src/core/extensions/mentions/extension-config.ts
@@ -1,11 +1,13 @@
import { mergeAttributes } from "@tiptap/core";
-import Mention, { MentionOptions } from "@tiptap/extension-mention";
-import { MarkdownSerializerState } from "@tiptap/pm/markdown";
-import { Node as NodeType } from "@tiptap/pm/model";
+import type { MentionOptions } from "@tiptap/extension-mention";
+import Mention from "@tiptap/extension-mention";
+import type { MarkdownSerializerState } from "@tiptap/pm/markdown";
+import type { Node as NodeType } from "@tiptap/pm/model";
// types
-import { TMentionHandler } from "@/types";
+import type { TMentionHandler } from "@/types";
// local types
-import { EMentionComponentAttributeNames, TMentionComponentAttributes } from "./types";
+import type { TMentionComponentAttributes } from "./types";
+import { EMentionComponentAttributeNames } from "./types";
export type TMentionExtensionOptions = MentionOptions & {
renderComponent: TMentionHandler["renderComponent"];
diff --git a/packages/editor/src/core/extensions/mentions/extension.tsx b/packages/editor/src/core/extensions/mentions/extension.tsx
index ad02e4dc1d..921667566d 100644
--- a/packages/editor/src/core/extensions/mentions/extension.tsx
+++ b/packages/editor/src/core/extensions/mentions/extension.tsx
@@ -1,10 +1,11 @@
import { ReactNodeViewRenderer } from "@tiptap/react";
// types
-import { TMentionHandler } from "@/types";
+import type { TMentionHandler } from "@/types";
// extension config
import { CustomMentionExtensionConfig } from "./extension-config";
// node view
-import { MentionNodeView, MentionNodeViewProps } from "./mention-node-view";
+import type { MentionNodeViewProps } from "./mention-node-view";
+import { MentionNodeView } from "./mention-node-view";
// utils
import { renderMentionsDropdown } from "./utils";
diff --git a/packages/editor/src/core/extensions/mentions/mention-node-view.tsx b/packages/editor/src/core/extensions/mentions/mention-node-view.tsx
index 939093fa34..6be87fb579 100644
--- a/packages/editor/src/core/extensions/mentions/mention-node-view.tsx
+++ b/packages/editor/src/core/extensions/mentions/mention-node-view.tsx
@@ -1,8 +1,10 @@
-import { NodeViewProps, NodeViewWrapper } from "@tiptap/react";
+import type { NodeViewProps } from "@tiptap/react";
+import { NodeViewWrapper } from "@tiptap/react";
// extension config
-import { TMentionExtensionOptions } from "./extension-config";
+import type { TMentionExtensionOptions } from "./extension-config";
// extension types
-import { EMentionComponentAttributeNames, TMentionComponentAttributes } from "./types";
+import type { TMentionComponentAttributes } from "./types";
+import { EMentionComponentAttributeNames } from "./types";
export type MentionNodeViewProps = NodeViewProps & {
node: NodeViewProps["node"] & {
diff --git a/packages/editor/src/core/extensions/mentions/mentions-list-dropdown.tsx b/packages/editor/src/core/extensions/mentions/mentions-list-dropdown.tsx
index 51881098c5..8e7a64b4bb 100644
--- a/packages/editor/src/core/extensions/mentions/mentions-list-dropdown.tsx
+++ b/packages/editor/src/core/extensions/mentions/mentions-list-dropdown.tsx
@@ -10,7 +10,7 @@ import { cn } from "@plane/utils";
// helpers
import { DROPDOWN_NAVIGATION_KEYS, getNextValidIndex } from "@/helpers/tippy";
// types
-import { TMentionHandler, TMentionSection, TMentionSuggestion } from "@/types";
+import type { TMentionHandler, TMentionSection, TMentionSuggestion } from "@/types";
export type MentionsListDropdownProps = SuggestionProps<TMentionSection, TMentionSuggestion> &
Pick<TMentionHandler, "searchCallback"> & {
diff --git a/packages/editor/src/core/extensions/mentions/types.ts b/packages/editor/src/core/extensions/mentions/types.ts
index 5252aa8b89..cf0d7b23d3 100644
--- a/packages/editor/src/core/extensions/mentions/types.ts
+++ b/packages/editor/src/core/extensions/mentions/types.ts
@@ -1,5 +1,5 @@
// plane types
-import { TSearchEntities } from "@plane/types";
+import type { TSearchEntities } from "@plane/types";
export enum EMentionComponentAttributeNames {
ID = "id",
diff --git a/packages/editor/src/core/extensions/mentions/utils.ts b/packages/editor/src/core/extensions/mentions/utils.ts
index 202999a09a..0ff10675de 100644
--- a/packages/editor/src/core/extensions/mentions/utils.ts
+++ b/packages/editor/src/core/extensions/mentions/utils.ts
@@ -1,14 +1,17 @@
-import { type Editor, ReactRenderer } from "@tiptap/react";
+import { ReactRenderer } from "@tiptap/react";
+import type { Editor } from "@tiptap/react";
import type { SuggestionOptions } from "@tiptap/suggestion";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
// helpers
import { updateFloatingUIFloaterPosition } from "@/helpers/floating-ui";
-import { CommandListInstance, DROPDOWN_NAVIGATION_KEYS } from "@/helpers/tippy";
+import type { CommandListInstance } from "@/helpers/tippy";
+import { DROPDOWN_NAVIGATION_KEYS } from "@/helpers/tippy";
// types
-import { TMentionHandler } from "@/types";
+import type { TMentionHandler } from "@/types";
// local components
-import { MentionsListDropdown, MentionsListDropdownProps } from "./mentions-list-dropdown";
+import type { MentionsListDropdownProps } from "./mentions-list-dropdown";
+import { MentionsListDropdown } from "./mentions-list-dropdown";
export const renderMentionsDropdown =
(args: Pick<TMentionHandler, "searchCallback">): SuggestionOptions["render"] =>
diff --git a/packages/editor/src/core/extensions/side-menu.ts b/packages/editor/src/core/extensions/side-menu.ts
index ca139f7231..01c95956a0 100644
--- a/packages/editor/src/core/extensions/side-menu.ts
+++ b/packages/editor/src/core/extensions/side-menu.ts
@@ -1,6 +1,6 @@
import { Extension } from "@tiptap/core";
import { Plugin, PluginKey } from "@tiptap/pm/state";
-import { EditorView } from "@tiptap/pm/view";
+import type { EditorView } from "@tiptap/pm/view";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
// plugins
diff --git a/packages/editor/src/core/extensions/slash-commands/command-items-list.tsx b/packages/editor/src/core/extensions/slash-commands/command-items-list.tsx
index 81e6038d23..2285e582a6 100644
--- a/packages/editor/src/core/extensions/slash-commands/command-items-list.tsx
+++ b/packages/editor/src/core/extensions/slash-commands/command-items-list.tsx
@@ -38,9 +38,9 @@ import {
// plane editor extensions
import { coreEditorAdditionalSlashCommandOptions } from "@/plane-editor/extensions";
// types
-import { CommandProps, ISlashCommandItem, TSlashCommandSectionKeys } from "@/types";
+import type { CommandProps, ISlashCommandItem, TSlashCommandSectionKeys } from "@/types";
// local types
-import { TExtensionProps, TSlashCommandAdditionalOption } from "./root";
+import type { TExtensionProps, TSlashCommandAdditionalOption } from "./root";
export type TSlashCommandSection = {
key: TSlashCommandSectionKeys;
diff --git a/packages/editor/src/core/extensions/slash-commands/command-menu-item.tsx b/packages/editor/src/core/extensions/slash-commands/command-menu-item.tsx
index 437756c791..52c8d7aec0 100644
--- a/packages/editor/src/core/extensions/slash-commands/command-menu-item.tsx
+++ b/packages/editor/src/core/extensions/slash-commands/command-menu-item.tsx
@@ -1,7 +1,7 @@
// plane utils
import { cn } from "@plane/utils";
// types
-import { ISlashCommandItem } from "@/types";
+import type { ISlashCommandItem } from "@/types";
type Props = {
isSelected: boolean;
diff --git a/packages/editor/src/core/extensions/slash-commands/command-menu.tsx b/packages/editor/src/core/extensions/slash-commands/command-menu.tsx
index 9b680cd56a..7d8bbab381 100644
--- a/packages/editor/src/core/extensions/slash-commands/command-menu.tsx
+++ b/packages/editor/src/core/extensions/slash-commands/command-menu.tsx
@@ -8,7 +8,7 @@ import { DROPDOWN_NAVIGATION_KEYS, getNextValidIndex } from "@/helpers/tippy";
// types
import type { ISlashCommandItem } from "@/types";
// components
-import { TSlashCommandSection } from "./command-items-list";
+import type { TSlashCommandSection } from "./command-items-list";
import { CommandMenuItem } from "./command-menu-item";
export type SlashCommandsMenuProps = SuggestionProps<TSlashCommandSection, ISlashCommandItem> & {
diff --git a/packages/editor/src/core/extensions/slash-commands/root.tsx b/packages/editor/src/core/extensions/slash-commands/root.tsx
index 61ebaea395..2bd66471b1 100644
--- a/packages/editor/src/core/extensions/slash-commands/root.tsx
+++ b/packages/editor/src/core/extensions/slash-commands/root.tsx
@@ -1,16 +1,20 @@
-import { type Editor, Extension } from "@tiptap/core";
+import { Extension } from "@tiptap/core";
+import type { Editor } from "@tiptap/core";
import { ReactRenderer } from "@tiptap/react";
-import Suggestion, { type SuggestionOptions } from "@tiptap/suggestion";
+import Suggestion from "@tiptap/suggestion";
+import type { SuggestionOptions } from "@tiptap/suggestion";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
// helpers
import { updateFloatingUIFloaterPosition } from "@/helpers/floating-ui";
-import { CommandListInstance, DROPDOWN_NAVIGATION_KEYS } from "@/helpers/tippy";
+import type { CommandListInstance } from "@/helpers/tippy";
+import { DROPDOWN_NAVIGATION_KEYS } from "@/helpers/tippy";
// types
-import { IEditorProps, ISlashCommandItem, TEditorCommands, TSlashCommandSectionKeys } from "@/types";
+import type { IEditorProps, ISlashCommandItem, TEditorCommands, TSlashCommandSectionKeys } from "@/types";
// components
import { getSlashCommandFilteredSections } from "./command-items-list";
-import { SlashCommandsMenu, SlashCommandsMenuProps } from "./command-menu";
+import type { SlashCommandsMenuProps } from "./command-menu";
+import { SlashCommandsMenu } from "./command-menu";
export type SlashCommandOptions = {
suggestion: Omit<SuggestionOptions, "editor">;
diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/actions.ts b/packages/editor/src/core/extensions/table/plugins/drag-handles/actions.ts
index a2ebc26bb7..788a17ae7c 100644
--- a/packages/editor/src/core/extensions/table/plugins/drag-handles/actions.ts
+++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/actions.ts
@@ -1,9 +1,11 @@
import type { Editor } from "@tiptap/core";
-import { Fragment, type Node, type Node as ProseMirrorNode } from "@tiptap/pm/model";
+import { Fragment } from "@tiptap/pm/model";
+import type { Node, Node as ProseMirrorNode } from "@tiptap/pm/model";
import type { Transaction } from "@tiptap/pm/state";
-import { type CellSelection, TableMap } from "@tiptap/pm/tables";
+import { TableMap } from "@tiptap/pm/tables";
+import type { CellSelection } from "@tiptap/pm/tables";
// extensions
-import { TableNodeLocation } from "@/extensions/table/table/utilities/helpers";
+import type { TableNodeLocation } from "@/extensions/table/table/utilities/helpers";
type TableRow = (ProseMirrorNode | null)[];
type TableRows = TableRow[];
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 5290b3a469..937347076d 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,8 +1,10 @@
import type { Editor } from "@tiptap/core";
import { TableMap } from "@tiptap/pm/tables";
-import { ArrowLeft, ArrowRight, Copy, ToggleRight, Trash2, type LucideIcon } from "lucide-react";
+import { ArrowLeft, ArrowRight, Copy, ToggleRight, Trash2 } from "lucide-react";
+import type { LucideIcon } from "lucide-react";
// extensions
-import { CloseIcon, ISvgIcons } from "@plane/propel/icons";
+import type { ISvgIcons } from "@plane/propel/icons";
+import { CloseIcon } from "@plane/propel/icons";
import { findTable, getSelectedColumns } from "@/extensions/table/table/utilities/helpers";
// local imports
import { duplicateColumns } from "../actions";
diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/column/plugin.ts b/packages/editor/src/core/extensions/table/plugins/drag-handles/column/plugin.ts
index d25591e475..e0039ecd25 100644
--- a/packages/editor/src/core/extensions/table/plugins/drag-handles/column/plugin.ts
+++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/column/plugin.ts
@@ -10,7 +10,8 @@ import {
haveTableRelatedChanges,
} from "@/extensions/table/table/utilities/helpers";
// local imports
-import { ColumnDragHandle, ColumnDragHandleProps } from "./drag-handle";
+import type { ColumnDragHandleProps } from "./drag-handle";
+import { ColumnDragHandle } from "./drag-handle";
type TableColumnDragHandlePluginState = {
decorations?: DecorationSet;
diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/column/utils.ts b/packages/editor/src/core/extensions/table/plugins/drag-handles/column/utils.ts
index f88f90fdcd..9baefe2161 100644
--- a/packages/editor/src/core/extensions/table/plugins/drag-handles/column/utils.ts
+++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/column/utils.ts
@@ -2,7 +2,8 @@ import type { Editor } from "@tiptap/core";
import type { Selection } from "@tiptap/pm/state";
import { TableMap } from "@tiptap/pm/tables";
// extensions
-import { getSelectedRect, isCellSelection, type TableNodeLocation } from "@/extensions/table/table/utilities/helpers";
+import { getSelectedRect, isCellSelection } from "@/extensions/table/table/utilities/helpers";
+import type { TableNodeLocation } from "@/extensions/table/table/utilities/helpers";
// local imports
import { cloneTableCell, constructDragPreviewTable, updateCellContentVisibility } from "../utils";
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 7b542662f2..377e9f417f 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,8 +1,10 @@
import type { Editor } from "@tiptap/core";
import { TableMap } from "@tiptap/pm/tables";
-import { ArrowDown, ArrowUp, Copy, ToggleRight, Trash2, type LucideIcon } from "lucide-react";
+import { ArrowDown, ArrowUp, Copy, ToggleRight, Trash2 } from "lucide-react";
+import type { LucideIcon } from "lucide-react";
// extensions
-import { CloseIcon, ISvgIcons } from "@plane/propel/icons";
+import type { ISvgIcons } from "@plane/propel/icons";
+import { CloseIcon } from "@plane/propel/icons";
import { findTable, getSelectedRows } from "@/extensions/table/table/utilities/helpers";
// local imports
import { duplicateRows } from "../actions";
diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/row/plugin.ts b/packages/editor/src/core/extensions/table/plugins/drag-handles/row/plugin.ts
index 92cf0eea9d..18ac677c46 100644
--- a/packages/editor/src/core/extensions/table/plugins/drag-handles/row/plugin.ts
+++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/row/plugin.ts
@@ -1,4 +1,4 @@
-import { type Editor } from "@tiptap/core";
+import type { Editor } from "@tiptap/core";
import { Plugin, PluginKey } from "@tiptap/pm/state";
import { TableMap } from "@tiptap/pm/tables";
import { Decoration, DecorationSet } from "@tiptap/pm/view";
@@ -10,7 +10,8 @@ import {
haveTableRelatedChanges,
} from "@/extensions/table/table/utilities/helpers";
// local imports
-import { RowDragHandle, RowDragHandleProps } from "./drag-handle";
+import type { RowDragHandleProps } from "./drag-handle";
+import { RowDragHandle } from "./drag-handle";
type TableRowDragHandlePluginState = {
decorations?: DecorationSet;
diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/row/utils.ts b/packages/editor/src/core/extensions/table/plugins/drag-handles/row/utils.ts
index d43d9ae73e..c3b62fc0a8 100644
--- a/packages/editor/src/core/extensions/table/plugins/drag-handles/row/utils.ts
+++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/row/utils.ts
@@ -2,7 +2,8 @@ import type { Editor } from "@tiptap/core";
import type { Selection } from "@tiptap/pm/state";
import { TableMap } from "@tiptap/pm/tables";
// extensions
-import { getSelectedRect, isCellSelection, type TableNodeLocation } from "@/extensions/table/table/utilities/helpers";
+import { getSelectedRect, isCellSelection } from "@/extensions/table/table/utilities/helpers";
+import type { TableNodeLocation } from "@/extensions/table/table/utilities/helpers";
// local imports
import { cloneTableCell, constructDragPreviewTable, updateCellContentVisibility } from "../utils";
diff --git a/packages/editor/src/core/extensions/table/plugins/insert-handlers/plugin.ts b/packages/editor/src/core/extensions/table/plugins/insert-handlers/plugin.ts
index 75f3964166..7188e88d02 100644
--- a/packages/editor/src/core/extensions/table/plugins/insert-handlers/plugin.ts
+++ b/packages/editor/src/core/extensions/table/plugins/insert-handlers/plugin.ts
@@ -2,7 +2,8 @@ import type { Editor } from "@tiptap/core";
import { Plugin, PluginKey } from "@tiptap/pm/state";
// local imports
import { COL_DRAG_MARKER_CLASS, DROP_MARKER_CLASS, ROW_DRAG_MARKER_CLASS } from "../drag-handles/marker-utils";
-import { createColumnInsertButton, createRowInsertButton, findAllTables, TableInfo } from "./utils";
+import type { TableInfo } from "./utils";
+import { createColumnInsertButton, createRowInsertButton, findAllTables } from "./utils";
const TABLE_INSERT_PLUGIN_KEY = new PluginKey("table-insert");
diff --git a/packages/editor/src/core/extensions/table/plugins/insert-handlers/utils.ts b/packages/editor/src/core/extensions/table/plugins/insert-handlers/utils.ts
index 8e6526c4e1..f760538ab2 100644
--- a/packages/editor/src/core/extensions/table/plugins/insert-handlers/utils.ts
+++ b/packages/editor/src/core/extensions/table/plugins/insert-handlers/utils.ts
@@ -1,6 +1,7 @@
import type { Editor } from "@tiptap/core";
import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
-import { addColumn, removeColumn, addRow, removeRow, TableMap, type TableRect } from "@tiptap/pm/tables";
+import { addColumn, removeColumn, addRow, removeRow, TableMap } from "@tiptap/pm/tables";
+import type { TableRect } from "@tiptap/pm/tables";
// local imports
import { isCellEmpty } from "../../table/utilities/helpers";
diff --git a/packages/editor/src/core/extensions/table/plugins/selection-outline/plugin.ts b/packages/editor/src/core/extensions/table/plugins/selection-outline/plugin.ts
index 834ea3e448..a13fd13101 100644
--- a/packages/editor/src/core/extensions/table/plugins/selection-outline/plugin.ts
+++ b/packages/editor/src/core/extensions/table/plugins/selection-outline/plugin.ts
@@ -1,4 +1,5 @@
-import { findParentNode, type Editor } from "@tiptap/core";
+import { findParentNode } from "@tiptap/core";
+import type { Editor } from "@tiptap/core";
import { Plugin, PluginKey } from "@tiptap/pm/state";
import { TableMap } from "@tiptap/pm/tables";
import { Decoration, DecorationSet } from "@tiptap/pm/view";
diff --git a/packages/editor/src/core/extensions/table/table/table.ts b/packages/editor/src/core/extensions/table/table/table.ts
index 6e12a61856..a0706db3b1 100644
--- a/packages/editor/src/core/extensions/table/table/table.ts
+++ b/packages/editor/src/core/extensions/table/table/table.ts
@@ -1,4 +1,5 @@
-import { callOrReturn, getExtensionField, mergeAttributes, Node, ParentConfig } from "@tiptap/core";
+import type { ParentConfig } from "@tiptap/core";
+import { callOrReturn, getExtensionField, mergeAttributes, Node } from "@tiptap/core";
import { TextSelection } from "@tiptap/pm/state";
import {
addColumnAfter,
diff --git a/packages/editor/src/core/extensions/table/table/utilities/create-cell.ts b/packages/editor/src/core/extensions/table/table/utilities/create-cell.ts
index 275b7aa783..f28e327855 100644
--- a/packages/editor/src/core/extensions/table/table/utilities/create-cell.ts
+++ b/packages/editor/src/core/extensions/table/table/utilities/create-cell.ts
@@ -1,4 +1,4 @@
-import { Fragment, Node as ProsemirrorNode, NodeType } from "@tiptap/pm/model";
+import type { Fragment, Node as ProsemirrorNode, NodeType } from "@tiptap/pm/model";
export function createCell(
cellType: NodeType,
diff --git a/packages/editor/src/core/extensions/table/table/utilities/create-table.ts b/packages/editor/src/core/extensions/table/table/utilities/create-table.ts
index 0ba2757db7..56c6b31ac4 100644
--- a/packages/editor/src/core/extensions/table/table/utilities/create-table.ts
+++ b/packages/editor/src/core/extensions/table/table/utilities/create-table.ts
@@ -1,4 +1,4 @@
-import { Fragment, Node as ProsemirrorNode, Schema } from "@tiptap/pm/model";
+import type { Fragment, Node as ProsemirrorNode, Schema } from "@tiptap/pm/model";
// extensions
import { createCell } from "@/extensions/table/table/utilities/create-cell";
import { getTableNodeTypes } from "@/extensions/table/table/utilities/get-table-node-types";
diff --git a/packages/editor/src/core/extensions/table/table/utilities/delete-key-shortcut.ts b/packages/editor/src/core/extensions/table/table/utilities/delete-key-shortcut.ts
index d562bae2e5..4025e9f9ca 100644
--- a/packages/editor/src/core/extensions/table/table/utilities/delete-key-shortcut.ts
+++ b/packages/editor/src/core/extensions/table/table/utilities/delete-key-shortcut.ts
@@ -1,6 +1,8 @@
-import { type Editor, findParentNodeClosestToPos, type KeyboardShortcutCommand } from "@tiptap/core";
+import { findParentNodeClosestToPos } from "@tiptap/core";
+import type { Editor, KeyboardShortcutCommand } from "@tiptap/core";
import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
-import { CellSelection, TableMap } from "@tiptap/pm/tables";
+import type { CellSelection } from "@tiptap/pm/tables";
+import { TableMap } from "@tiptap/pm/tables";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
// extensions
diff --git a/packages/editor/src/core/extensions/table/table/utilities/get-table-node-types.ts b/packages/editor/src/core/extensions/table/table/utilities/get-table-node-types.ts
index 5722c4cae2..772f805f78 100644
--- a/packages/editor/src/core/extensions/table/table/utilities/get-table-node-types.ts
+++ b/packages/editor/src/core/extensions/table/table/utilities/get-table-node-types.ts
@@ -1,4 +1,4 @@
-import { NodeType, Schema } from "@tiptap/pm/model";
+import type { NodeType, Schema } from "@tiptap/pm/model";
export function getTableNodeTypes(schema: Schema): { [key: string]: NodeType } {
if (schema.cached.tableNodeTypes) {
diff --git a/packages/editor/src/core/extensions/table/table/utilities/helpers.ts b/packages/editor/src/core/extensions/table/table/utilities/helpers.ts
index 211dc2c42a..45c9af4f69 100644
--- a/packages/editor/src/core/extensions/table/table/utilities/helpers.ts
+++ b/packages/editor/src/core/extensions/table/table/utilities/helpers.ts
@@ -1,7 +1,9 @@
-import { type Editor, findParentNode } from "@tiptap/core";
+import { findParentNode } from "@tiptap/core";
+import type { Editor } from "@tiptap/core";
import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
import type { EditorState, Selection, Transaction } from "@tiptap/pm/state";
-import { CellSelection, type Rect, TableMap } from "@tiptap/pm/tables";
+import { CellSelection, TableMap } from "@tiptap/pm/tables";
+import type { Rect } from "@tiptap/pm/tables";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
diff --git a/packages/editor/src/core/extensions/table/table/utilities/insert-line-above-table-action.ts b/packages/editor/src/core/extensions/table/table/utilities/insert-line-above-table-action.ts
index 9a50a839c4..ded1ac3927 100644
--- a/packages/editor/src/core/extensions/table/table/utilities/insert-line-above-table-action.ts
+++ b/packages/editor/src/core/extensions/table/table/utilities/insert-line-above-table-action.ts
@@ -1,4 +1,4 @@
-import { KeyboardShortcutCommand } from "@tiptap/core";
+import type { KeyboardShortcutCommand } from "@tiptap/core";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
// helpers
diff --git a/packages/editor/src/core/extensions/table/table/utilities/insert-line-below-table-action.ts b/packages/editor/src/core/extensions/table/table/utilities/insert-line-below-table-action.ts
index b30b8ae4dd..13d412ffe0 100644
--- a/packages/editor/src/core/extensions/table/table/utilities/insert-line-below-table-action.ts
+++ b/packages/editor/src/core/extensions/table/table/utilities/insert-line-below-table-action.ts
@@ -1,4 +1,4 @@
-import { KeyboardShortcutCommand } from "@tiptap/core";
+import type { KeyboardShortcutCommand } from "@tiptap/core";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
// helpers
diff --git a/packages/editor/src/core/extensions/trailing-node.ts b/packages/editor/src/core/extensions/trailing-node.ts
index 27e3e85ebf..7fe084beee 100644
--- a/packages/editor/src/core/extensions/trailing-node.ts
+++ b/packages/editor/src/core/extensions/trailing-node.ts
@@ -1,5 +1,5 @@
import { Extension } from "@tiptap/core";
-import { NodeType, Node as ProseMirrorNode } from "@tiptap/pm/model";
+import type { NodeType, Node as ProseMirrorNode } from "@tiptap/pm/model";
import { Plugin, PluginKey } from "@tiptap/pm/state";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
diff --git a/packages/editor/src/core/extensions/typography/index.ts b/packages/editor/src/core/extensions/typography/index.ts
index 32ffea6a24..51d21b60da 100644
--- a/packages/editor/src/core/extensions/typography/index.ts
+++ b/packages/editor/src/core/extensions/typography/index.ts
@@ -1,8 +1,9 @@
-import { Extension, InputRule } from "@tiptap/core";
+import type { InputRule } from "@tiptap/core";
+import { Extension } from "@tiptap/core";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
+import type { TypographyOptions } from "./inputRules";
import {
- TypographyOptions,
emDash,
ellipsis,
leftArrow,
diff --git a/packages/editor/src/core/extensions/utility.ts b/packages/editor/src/core/extensions/utility.ts
index 9c2d642063..347f1800a1 100644
--- a/packages/editor/src/core/extensions/utility.ts
+++ b/packages/editor/src/core/extensions/utility.ts
@@ -1,10 +1,10 @@
import { Extension } from "@tiptap/core";
import codemark from "prosemirror-codemark";
// helpers
-import { CORE_EXTENSIONS } from "@/constants/extension";
+import type { CORE_EXTENSIONS } from "@/constants/extension";
import { restorePublicImages } from "@/helpers/image-helpers";
// plugins
-import { TAdditionalActiveDropbarExtensions } from "@/plane-editor/types/utils";
+import type { TAdditionalActiveDropbarExtensions } from "@/plane-editor/types/utils";
import { DropHandlerPlugin } from "@/plugins/drop";
import { FilePlugins } from "@/plugins/file/root";
import { MarkdownClipboardPlugin } from "@/plugins/markdown-clipboard";
diff --git a/packages/editor/src/core/extensions/work-item-embed/extension.tsx b/packages/editor/src/core/extensions/work-item-embed/extension.tsx
index 25418bdae1..5b2f51d3c6 100644
--- a/packages/editor/src/core/extensions/work-item-embed/extension.tsx
+++ b/packages/editor/src/core/extensions/work-item-embed/extension.tsx
@@ -1,4 +1,5 @@
-import { ReactNodeViewRenderer, NodeViewWrapper, type NodeViewProps } from "@tiptap/react";
+import { ReactNodeViewRenderer, NodeViewWrapper } from "@tiptap/react";
+import type { NodeViewProps } from "@tiptap/react";
// local imports
import { WorkItemEmbedExtensionConfig } from "./extension-config";
diff --git a/packages/editor/src/core/helpers/assets.ts b/packages/editor/src/core/helpers/assets.ts
index a7f19b6c26..00623cc24f 100644
--- a/packages/editor/src/core/helpers/assets.ts
+++ b/packages/editor/src/core/helpers/assets.ts
@@ -1,6 +1,7 @@
import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
// plane imports
-import { ADDITIONAL_EXTENSIONS, CORE_EXTENSIONS } from "@plane/utils";
+import type { ADDITIONAL_EXTENSIONS } from "@plane/utils";
+import { CORE_EXTENSIONS } from "@plane/utils";
// extensions
import { getImageBlockId } from "@/extensions/custom-image/utils";
// plane editor imports
diff --git a/packages/editor/src/core/helpers/common.ts b/packages/editor/src/core/helpers/common.ts
index 2dce3f1b7f..e4a61b3ac8 100644
--- a/packages/editor/src/core/helpers/common.ts
+++ b/packages/editor/src/core/helpers/common.ts
@@ -1,5 +1,5 @@
import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
-import { EditorState, Selection } from "@tiptap/pm/state";
+import type { EditorState, Selection } from "@tiptap/pm/state";
// plane imports
import { cn } from "@plane/utils";
// constants
diff --git a/packages/editor/src/core/helpers/editor-commands.ts b/packages/editor/src/core/helpers/editor-commands.ts
index 8d776e6090..333bab4f31 100644
--- a/packages/editor/src/core/helpers/editor-commands.ts
+++ b/packages/editor/src/core/helpers/editor-commands.ts
@@ -5,7 +5,7 @@ import { CORE_EXTENSIONS } from "@/constants/extension";
import { replaceCodeWithText } from "@/extensions/code/utils/replace-code-block-with-text";
import type { InsertImageComponentProps } from "@/extensions/custom-image/types";
// helpers
-import { ExtendedEmojiStorage } from "@/extensions/emoji/emoji";
+import type { ExtendedEmojiStorage } from "@/extensions/emoji/emoji";
import { findTableAncestor } from "@/helpers/common";
export const setText = (editor: Editor, range?: Range) => {
diff --git a/packages/editor/src/core/helpers/find-suggestion-match.ts b/packages/editor/src/core/helpers/find-suggestion-match.ts
index 5db2f94749..1ac4396581 100644
--- a/packages/editor/src/core/helpers/find-suggestion-match.ts
+++ b/packages/editor/src/core/helpers/find-suggestion-match.ts
@@ -1,5 +1,5 @@
import { escapeForRegEx } from "@tiptap/core";
-import { Trigger, SuggestionMatch } from "@tiptap/suggestion";
+import type { Trigger, SuggestionMatch } from "@tiptap/suggestion";
export function customFindSuggestionMatch(config: Trigger): SuggestionMatch | null {
const { char, allowSpaces: allowSpacesOption, allowToIncludeChar, allowedPrefixes, startOfLine, $position } = config;
diff --git a/packages/editor/src/core/helpers/floating-ui.ts b/packages/editor/src/core/helpers/floating-ui.ts
index 5fde3b9195..3330d24fae 100644
--- a/packages/editor/src/core/helpers/floating-ui.ts
+++ b/packages/editor/src/core/helpers/floating-ui.ts
@@ -1,13 +1,7 @@
-import {
- computePosition,
- flip,
- type Strategy,
- type Placement,
- shift,
- ReferenceElement,
- autoUpdate,
-} from "@floating-ui/dom";
-import { type Editor, posToDOMRect } from "@tiptap/core";
+import { computePosition, flip, shift, autoUpdate } from "@floating-ui/dom";
+import type { Placement, ReferenceElement, Strategy } from "@floating-ui/dom";
+import { posToDOMRect } from "@tiptap/core";
+import type { Editor } from "@tiptap/core";
export type UpdateFloatingUIFloaterPosition = (
editor: Editor,
diff --git a/packages/editor/src/core/helpers/get-document-server-event.ts b/packages/editor/src/core/helpers/get-document-server-event.ts
index 1ba7646b29..d364355b77 100644
--- a/packages/editor/src/core/helpers/get-document-server-event.ts
+++ b/packages/editor/src/core/helpers/get-document-server-event.ts
@@ -1,5 +1,9 @@
import { DocumentCollaborativeEvents } from "@/constants/document-collaborative-events";
-import { TDocumentEventKey, TDocumentEventsClient, TDocumentEventsServer } from "@/types/document-collaborative-events";
+import type {
+ TDocumentEventKey,
+ TDocumentEventsClient,
+ TDocumentEventsServer,
+} from "@/types/document-collaborative-events";
export const getServerEventName = (clientEvent: TDocumentEventsClient): TDocumentEventsServer | undefined => {
for (const key in DocumentCollaborativeEvents) {
diff --git a/packages/editor/src/core/helpers/image-helpers.ts b/packages/editor/src/core/helpers/image-helpers.ts
index 9fcb877f9d..d09ac5f847 100644
--- a/packages/editor/src/core/helpers/image-helpers.ts
+++ b/packages/editor/src/core/helpers/image-helpers.ts
@@ -1,8 +1,8 @@
-import { Editor } from "@tiptap/core";
+import type { Editor } from "@tiptap/core";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
// types
-import { TFileHandler } from "@/types";
+import type { TFileHandler } from "@/types";
/**
* Finds all public image nodes in the document and restores them using the provided restore function
diff --git a/packages/editor/src/core/helpers/insert-content-at-cursor-position.ts b/packages/editor/src/core/helpers/insert-content-at-cursor-position.ts
index fb226b23fb..7c535acfc5 100644
--- a/packages/editor/src/core/helpers/insert-content-at-cursor-position.ts
+++ b/packages/editor/src/core/helpers/insert-content-at-cursor-position.ts
@@ -1,4 +1,4 @@
-import { Editor } from "@tiptap/react";
+import type { Editor } from "@tiptap/react";
export const insertContentAtSavedSelection = (editor: Editor, content: string) => {
if (!editor || editor.isDestroyed) {
diff --git a/packages/editor/src/core/helpers/insert-empty-paragraph-at-node-boundary.ts b/packages/editor/src/core/helpers/insert-empty-paragraph-at-node-boundary.ts
index b9449b494d..847555dc8b 100644
--- a/packages/editor/src/core/helpers/insert-empty-paragraph-at-node-boundary.ts
+++ b/packages/editor/src/core/helpers/insert-empty-paragraph-at-node-boundary.ts
@@ -1,5 +1,5 @@
-import { KeyboardShortcutCommand } from "@tiptap/core";
-import { Node as ProseMirrorNode } from "@tiptap/pm/model";
+import type { KeyboardShortcutCommand } from "@tiptap/core";
+import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
diff --git a/packages/editor/src/core/helpers/parser.ts b/packages/editor/src/core/helpers/parser.ts
index bf84b2fdb2..d662a3f4bf 100644
--- a/packages/editor/src/core/helpers/parser.ts
+++ b/packages/editor/src/core/helpers/parser.ts
@@ -1,5 +1,5 @@
// plane imports
-import { TDocumentPayload, TDuplicateAssetData, TDuplicateAssetResponse, TEditorAssetType } from "@plane/types";
+import type { TDocumentPayload, TDuplicateAssetData, TDuplicateAssetResponse, TEditorAssetType } from "@plane/types";
// plane web imports
import {
extractAdditionalAssetsFromHTMLContent,
diff --git a/packages/editor/src/core/helpers/yjs-utils.ts b/packages/editor/src/core/helpers/yjs-utils.ts
index 0d00e752bd..ab2ca92d83 100644
--- a/packages/editor/src/core/helpers/yjs-utils.ts
+++ b/packages/editor/src/core/helpers/yjs-utils.ts
@@ -4,7 +4,7 @@ import { generateHTML, generateJSON } from "@tiptap/html";
import { prosemirrorJSONToYDoc, yXmlFragmentToProseMirrorRootNode } from "y-prosemirror";
import * as Y from "yjs";
// extensions
-import { TDocumentPayload } from "@plane/types";
+import type { TDocumentPayload } from "@plane/types";
import {
CoreEditorExtensionsWithoutProps,
DocumentEditorExtensionsWithoutProps,
diff --git a/packages/editor/src/core/hooks/use-collaborative-editor.ts b/packages/editor/src/core/hooks/use-collaborative-editor.ts
index 54135f785d..abbb3a82a5 100644
--- a/packages/editor/src/core/hooks/use-collaborative-editor.ts
+++ b/packages/editor/src/core/hooks/use-collaborative-editor.ts
@@ -9,7 +9,7 @@ import { useEditor } from "@/hooks/use-editor";
// plane editor extensions
import { DocumentEditorAdditionalExtensions } from "@/plane-editor/extensions";
// types
-import { TCollaborativeEditorHookProps } from "@/types";
+import type { TCollaborativeEditorHookProps } from "@/types";
export const useCollaborativeEditor = (props: TCollaborativeEditorHookProps) => {
const {
diff --git a/packages/editor/src/core/hooks/use-file-upload.ts b/packages/editor/src/core/hooks/use-file-upload.ts
index 4691601a5f..86f94633a2 100644
--- a/packages/editor/src/core/hooks/use-file-upload.ts
+++ b/packages/editor/src/core/hooks/use-file-upload.ts
@@ -1,11 +1,13 @@
import type { Editor, NodeViewProps } from "@tiptap/core";
-import { DragEvent, useCallback, useEffect, useState } from "react";
+import type { DragEvent } from "react";
+import { useCallback, useEffect, useState } from "react";
// helpers
-import { EFileError, isFileValid } from "@/helpers/file";
+import type { EFileError } from "@/helpers/file";
+import { isFileValid } from "@/helpers/file";
// plugins
import { insertFilesSafely } from "@/plugins/drop";
// types
-import { TEditorCommands } from "@/types";
+import type { TEditorCommands } from "@/types";
type TUploaderArgs = {
acceptedMimeTypes: string[];
diff --git a/packages/editor/src/core/plugins/ai-handle.ts b/packages/editor/src/core/plugins/ai-handle.ts
index 5f87df3ffe..6185cc24f8 100644
--- a/packages/editor/src/core/plugins/ai-handle.ts
+++ b/packages/editor/src/core/plugins/ai-handle.ts
@@ -1,7 +1,7 @@
import { NodeSelection } from "@tiptap/pm/state";
-import { EditorView } from "@tiptap/pm/view";
+import type { EditorView } from "@tiptap/pm/view";
// extensions
-import { SideMenuHandleOptions, SideMenuPluginProps } from "@/extensions";
+import type { SideMenuHandleOptions, SideMenuPluginProps } from "@/extensions";
// plugins
import { nodeDOMAtCoords } from "@/plugins/drag-handle";
diff --git a/packages/editor/src/core/plugins/drag-handle.ts b/packages/editor/src/core/plugins/drag-handle.ts
index f64b3515f2..a065e46cb3 100644
--- a/packages/editor/src/core/plugins/drag-handle.ts
+++ b/packages/editor/src/core/plugins/drag-handle.ts
@@ -1,10 +1,11 @@
-import { Fragment, Slice, Node, Schema } from "@tiptap/pm/model";
+import type { Node, Schema } from "@tiptap/pm/model";
+import { Fragment, Slice } from "@tiptap/pm/model";
import { NodeSelection } from "@tiptap/pm/state";
-import { EditorView } from "@tiptap/pm/view";
+import type { EditorView } from "@tiptap/pm/view";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
// extensions
-import { SideMenuHandleOptions, SideMenuPluginProps } from "@/extensions";
+import type { SideMenuHandleOptions, SideMenuPluginProps } from "@/extensions";
const verticalEllipsisIcon =
'<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-ellipsis-vertical"><circle cx="12" cy="12" r="1"/><circle cx="12" cy="5" r="1"/><circle cx="12" cy="19" r="1"/></svg>';
diff --git a/packages/editor/src/core/plugins/drop.ts b/packages/editor/src/core/plugins/drop.ts
index ad8070924b..f9f5715753 100644
--- a/packages/editor/src/core/plugins/drop.ts
+++ b/packages/editor/src/core/plugins/drop.ts
@@ -1,9 +1,9 @@
-import { Editor } from "@tiptap/core";
+import type { Editor } from "@tiptap/core";
import { Plugin, PluginKey } from "@tiptap/pm/state";
// constants
import { ACCEPTED_ATTACHMENT_MIME_TYPES, ACCEPTED_IMAGE_MIME_TYPES } from "@/constants/config";
// types
-import { TEditorCommands, TExtensions } from "@/types";
+import type { TEditorCommands, TExtensions } from "@/types";
type Props = {
disabledExtensions?: TExtensions[];
diff --git a/packages/editor/src/core/plugins/file/delete.ts b/packages/editor/src/core/plugins/file/delete.ts
index 5d0aa8ca4e..47790c4f9d 100644
--- a/packages/editor/src/core/plugins/file/delete.ts
+++ b/packages/editor/src/core/plugins/file/delete.ts
@@ -1,14 +1,15 @@
import type { Editor } from "@tiptap/core";
-import { type EditorState, Plugin, PluginKey, Transaction } from "@tiptap/pm/state";
+import { Plugin, PluginKey } from "@tiptap/pm/state";
+import type { EditorState, Transaction } from "@tiptap/pm/state";
// constants
import { CORE_EDITOR_META } from "@/constants/meta";
// plane editor imports
import { NODE_FILE_MAP } from "@/plane-editor/constants/utility";
// types
-import { TFileHandler } from "@/types";
+import type { TFileHandler } from "@/types";
// local imports
import type { NodeFileMapType } from "../../../ce/constants/utility";
-import { TFileNode } from "./types";
+import type { TFileNode } from "./types";
const DELETE_PLUGIN_KEY = new PluginKey("delete-utility");
diff --git a/packages/editor/src/core/plugins/file/restore.ts b/packages/editor/src/core/plugins/file/restore.ts
index cf25a818bb..178e41d2b0 100644
--- a/packages/editor/src/core/plugins/file/restore.ts
+++ b/packages/editor/src/core/plugins/file/restore.ts
@@ -1,5 +1,6 @@
import type { Editor } from "@tiptap/core";
-import { type EditorState, Plugin, PluginKey, type Transaction } from "@tiptap/pm/state";
+import { Plugin, PluginKey } from "@tiptap/pm/state";
+import type { EditorState, Transaction } from "@tiptap/pm/state";
// plane imports
import { CORE_EXTENSIONS } from "@plane/utils";
// helpers
@@ -7,10 +8,10 @@ import { CORE_ASSETS_META_DATA_RECORD } from "@/helpers/assets";
// plane editor imports
import { NODE_FILE_MAP } from "@/plane-editor/constants/utility";
// types
-import { TFileHandler } from "@/types";
+import type { TFileHandler } from "@/types";
// local imports
import type { NodeFileMapType } from "../../../ce/constants/utility";
-import { TFileNode } from "./types";
+import type { TFileNode } from "./types";
const RESTORE_PLUGIN_KEY = new PluginKey("restore-utility");
diff --git a/packages/editor/src/core/plugins/file/root.ts b/packages/editor/src/core/plugins/file/root.ts
index bf9ca0260e..7717f7388a 100644
--- a/packages/editor/src/core/plugins/file/root.ts
+++ b/packages/editor/src/core/plugins/file/root.ts
@@ -1,7 +1,7 @@
-import { Editor } from "@tiptap/core";
-import { Plugin } from "@tiptap/pm/state";
+import type { Editor } from "@tiptap/core";
+import type { Plugin } from "@tiptap/pm/state";
// types
-import { TFileHandler } from "@/types";
+import type { TFileHandler } from "@/types";
// local imports
import { TrackFileDeletionPlugin } from "./delete";
import { TrackFileRestorationPlugin } from "./restore";
diff --git a/packages/editor/src/core/plugins/file/types.ts b/packages/editor/src/core/plugins/file/types.ts
index 164d12ae7e..636737169d 100644
--- a/packages/editor/src/core/plugins/file/types.ts
+++ b/packages/editor/src/core/plugins/file/types.ts
@@ -1,4 +1,4 @@
-import { Node as ProseMirrorNode } from "@tiptap/pm/model";
+import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
export type TFileNode = ProseMirrorNode & {
attrs: {
diff --git a/packages/editor/src/core/plugins/markdown-clipboard.ts b/packages/editor/src/core/plugins/markdown-clipboard.ts
index 78f649b23d..b87c7270a6 100644
--- a/packages/editor/src/core/plugins/markdown-clipboard.ts
+++ b/packages/editor/src/core/plugins/markdown-clipboard.ts
@@ -1,5 +1,6 @@
-import { Editor } from "@tiptap/core";
-import { Fragment, Node } from "@tiptap/pm/model";
+import type { Editor } from "@tiptap/core";
+import type { Fragment } from "@tiptap/pm/model";
+import { Node } from "@tiptap/pm/model";
import { Plugin, PluginKey } from "@tiptap/pm/state";
// constants
import { CORE_EXTENSIONS } from "@/constants/extension";
diff --git a/packages/editor/src/core/props.ts b/packages/editor/src/core/props.ts
index 939ca77176..30e9a436de 100644
--- a/packages/editor/src/core/props.ts
+++ b/packages/editor/src/core/props.ts
@@ -1,4 +1,4 @@
-import { EditorProps } from "@tiptap/pm/view";
+import type { EditorProps } from "@tiptap/pm/view";
// plane utils
import { cn } from "@plane/utils";
diff --git a/packages/editor/src/core/types/asset.ts b/packages/editor/src/core/types/asset.ts
index 5760da1572..dc1e528d61 100644
--- a/packages/editor/src/core/types/asset.ts
+++ b/packages/editor/src/core/types/asset.ts
@@ -1,7 +1,7 @@
// constants
-import { CORE_EXTENSIONS } from "@/constants/extension";
+import type { CORE_EXTENSIONS } from "@/constants/extension";
// plane editor imports
-import { TAdditionalEditorAsset } from "@/plane-editor/types/asset";
+import type { TAdditionalEditorAsset } from "@/plane-editor/types/asset";
export type TEditorImageAsset = {
href: string;
diff --git a/packages/editor/src/core/types/config.ts b/packages/editor/src/core/types/config.ts
index 67b4b310ff..8d6dfc20d2 100644
--- a/packages/editor/src/core/types/config.ts
+++ b/packages/editor/src/core/types/config.ts
@@ -1,6 +1,6 @@
// plane imports
import { TWebhookConnectionQueryParams } from "@plane/types";
-import { TExtendedFileHandler } from "@/plane-editor/types/config";
+import type { TExtendedFileHandler } from "@/plane-editor/types/config";
export type TFileHandler = {
assetsUploadStatus: Record<string, number>; // blockId => progress percentage
diff --git a/packages/editor/src/core/types/document-collaborative-events.ts b/packages/editor/src/core/types/document-collaborative-events.ts
index 5f8a403047..53ca50bba6 100644
--- a/packages/editor/src/core/types/document-collaborative-events.ts
+++ b/packages/editor/src/core/types/document-collaborative-events.ts
@@ -1,4 +1,4 @@
-import { DocumentCollaborativeEvents } from "@/constants/document-collaborative-events";
+import type { DocumentCollaborativeEvents } from "@/constants/document-collaborative-events";
// Base type for all action payloads
export type BaseActionPayload = {
diff --git a/packages/editor/src/core/types/mention.ts b/packages/editor/src/core/types/mention.ts
index f851919414..ab7020c486 100644
--- a/packages/editor/src/core/types/mention.ts
+++ b/packages/editor/src/core/types/mention.ts
@@ -1,5 +1,5 @@
// plane types
-import { TSearchEntities } from "@plane/types";
+import type { TSearchEntities } from "@plane/types";
export type TMentionSuggestion = {
entity_identifier: string;
diff --git a/packages/eslint-config/library.js b/packages/eslint-config/library.js
index e93786acd7..af4d1090c2 100644
--- a/packages/eslint-config/library.js
+++ b/packages/eslint-config/library.js
@@ -27,7 +27,7 @@ module.exports = {
"prefer-const": "error",
"no-irregular-whitespace": "error",
"no-trailing-spaces": "error",
- "no-duplicate-imports": "error",
+ "import/no-duplicates": ["error", { considerQueryString: true }],
"no-useless-catch": "warn",
"no-case-declarations": "error",
"no-undef": "error",
@@ -40,6 +40,16 @@ module.exports = {
"react/jsx-boolean-value": "error",
"react/jsx-no-duplicate-props": "error",
"react-hooks/exhaustive-deps": "warn",
+ "import/consistent-type-specifier-style": ["error", "prefer-top-level"],
+ "@typescript-eslint/no-import-type-side-effects": "error",
+ "@typescript-eslint/consistent-type-imports": [
+ "error",
+ {
+ prefer: "type-imports",
+ fixStyle: "separate-type-imports",
+ disallowTypeAnnotations: false,
+ },
+ ],
"@typescript-eslint/no-unused-expressions": "warn",
"@typescript-eslint/no-unused-vars": [
"warn",
@@ -52,6 +62,7 @@ module.exports = {
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-useless-empty-export": "error",
"@typescript-eslint/prefer-ts-expect-error": "warn",
+
"import/order": [
"warn",
{
diff --git a/packages/eslint-config/next.js b/packages/eslint-config/next.js
index 115178ec39..5d24776a62 100644
--- a/packages/eslint-config/next.js
+++ b/packages/eslint-config/next.js
@@ -26,7 +26,7 @@ module.exports = {
"prefer-const": "error",
"no-irregular-whitespace": "error",
"no-trailing-spaces": "error",
- "no-duplicate-imports": "error",
+ "import/no-duplicates": ["error", { considerQueryString: true }],
"no-useless-catch": "warn",
"no-case-declarations": "error",
"no-undef": "error",
@@ -39,6 +39,16 @@ module.exports = {
"react/jsx-boolean-value": "error",
"react/jsx-no-duplicate-props": "error",
"react-hooks/exhaustive-deps": "warn",
+ "import/consistent-type-specifier-style": ["error", "prefer-top-level"],
+ "@typescript-eslint/no-import-type-side-effects": "error",
+ "@typescript-eslint/consistent-type-imports": [
+ "error",
+ {
+ prefer: "type-imports",
+ fixStyle: "separate-type-imports",
+ disallowTypeAnnotations: false,
+ },
+ ],
"@typescript-eslint/no-unused-expressions": "warn",
"@typescript-eslint/no-unused-vars": [
"warn",
@@ -51,6 +61,7 @@ module.exports = {
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-useless-empty-export": "error",
"@typescript-eslint/prefer-ts-expect-error": "warn",
+
"@typescript-eslint/naming-convention": [
"warn",
{
diff --git a/packages/eslint-config/server.js b/packages/eslint-config/server.js
index ca3ef91562..2e9713e87b 100644
--- a/packages/eslint-config/server.js
+++ b/packages/eslint-config/server.js
@@ -31,6 +31,7 @@ module.exports = {
caughtErrorsIgnorePattern: "^_",
},
],
+ "import/no-duplicates": ["error", { considerQueryString: true }],
"import/order": [
"warn",
{
@@ -54,5 +55,15 @@ module.exports = {
},
},
],
+ "import/consistent-type-specifier-style": ["error", "prefer-top-level"],
+ "@typescript-eslint/no-import-type-side-effects": "error",
+ "@typescript-eslint/consistent-type-imports": [
+ "error",
+ {
+ prefer: "type-imports",
+ fixStyle: "separate-type-imports",
+ disallowTypeAnnotations: false,
+ },
+ ],
},
};
diff --git a/packages/hooks/src/use-outside-click-detector.tsx b/packages/hooks/src/use-outside-click-detector.tsx
index 54979f96ac..a7c1b8d714 100644
--- a/packages/hooks/src/use-outside-click-detector.tsx
+++ b/packages/hooks/src/use-outside-click-detector.tsx
@@ -1,4 +1,5 @@
-import React, { useEffect } from "react";
+import type React from "react";
+import { useEffect } from "react";
export const useOutsideClickDetector = (
ref: React.RefObject<HTMLElement> | any,
diff --git a/packages/i18n/src/constants/language.ts b/packages/i18n/src/constants/language.ts
index 8e54c189d2..906190256b 100644
--- a/packages/i18n/src/constants/language.ts
+++ b/packages/i18n/src/constants/language.ts
@@ -1,4 +1,4 @@
-import { TLanguage, ILanguageOption } from "../types";
+import type { TLanguage, ILanguageOption } from "../types";
export const FALLBACK_LANGUAGE: TLanguage = "en";
diff --git a/packages/i18n/src/hooks/use-translation.ts b/packages/i18n/src/hooks/use-translation.ts
index fb98864222..329d91e2a9 100644
--- a/packages/i18n/src/hooks/use-translation.ts
+++ b/packages/i18n/src/hooks/use-translation.ts
@@ -2,7 +2,7 @@ import { useContext } from "react";
// context
import { TranslationContext } from "../context";
// types
-import { ILanguageOption, TLanguage } from "../types";
+import type { ILanguageOption, TLanguage } from "../types";
export type TTranslationStore = {
t: (key: string, params?: Record<string, unknown>) => string;
diff --git a/packages/i18n/src/store/index.ts b/packages/i18n/src/store/index.ts
index 7b89347b70..1593e40c07 100644
--- a/packages/i18n/src/store/index.ts
+++ b/packages/i18n/src/store/index.ts
@@ -6,7 +6,7 @@ import { FALLBACK_LANGUAGE, SUPPORTED_LANGUAGES, LANGUAGE_STORAGE_KEY, ETranslat
// core translations imports
import { enCore, locales } from "../locales";
// types
-import { TLanguage, ILanguageOption, ITranslations } from "../types";
+import type { TLanguage, ILanguageOption, ITranslations } from "../types";
/**
* Mobx store class for handling translations and language changes in the application
diff --git a/packages/logger/src/config.ts b/packages/logger/src/config.ts
index f571c87115..be951eb3e0 100644
--- a/packages/logger/src/config.ts
+++ b/packages/logger/src/config.ts
@@ -1,4 +1,5 @@
-import { createLogger, format, LoggerOptions, transports } from "winston";
+import type { LoggerOptions } from "winston";
+import { createLogger, format, transports } from "winston";
export const loggerConfig: LoggerOptions = {
level: process.env.LOG_LEVEL || "info",
diff --git a/packages/propel/src/banner/banner.tsx b/packages/propel/src/banner/banner.tsx
index f3c22ee22d..051cd5c5c5 100644
--- a/packages/propel/src/banner/banner.tsx
+++ b/packages/propel/src/banner/banner.tsx
@@ -1,7 +1,7 @@
import React from "react";
import { cn } from "../utils";
+import type { TBannerVariant } from "./helper";
import {
- TBannerVariant,
getBannerStyling,
getBannerTitleStyling,
getBannerActionStyling,
diff --git a/packages/propel/src/button/button.tsx b/packages/propel/src/button/button.tsx
index 4ade948175..e6c8875d69 100644
--- a/packages/propel/src/button/button.tsx
+++ b/packages/propel/src/button/button.tsx
@@ -1,6 +1,7 @@
import * as React from "react";
import { cn } from "../utils";
-import { getIconStyling, getButtonStyling, TButtonVariant, TButtonSizes } from "./helper";
+import type { TButtonVariant, TButtonSizes } from "./helper";
+import { getIconStyling, getButtonStyling } from "./helper";
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
variant?: TButtonVariant;
diff --git a/packages/propel/src/card/card.tsx b/packages/propel/src/card/card.tsx
index a58ec95d2a..e17b252ebb 100644
--- a/packages/propel/src/card/card.tsx
+++ b/packages/propel/src/card/card.tsx
@@ -1,14 +1,7 @@
import * as React from "react";
import { cn } from "../utils/classname";
-import {
- ECardDirection,
- ECardSpacing,
- ECardVariant,
- getCardStyle,
- TCardDirection,
- TCardSpacing,
- TCardVariant,
-} from "./helper";
+import type { TCardDirection, TCardSpacing, TCardVariant } from "./helper";
+import { ECardDirection, ECardSpacing, ECardVariant, getCardStyle } from "./helper";
export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
variant?: TCardVariant;
diff --git a/packages/propel/src/charts/area-chart/root.tsx b/packages/propel/src/charts/area-chart/root.tsx
index db602fedb1..ab12abe57a 100644
--- a/packages/propel/src/charts/area-chart/root.tsx
+++ b/packages/propel/src/charts/area-chart/root.tsx
@@ -4,7 +4,7 @@ import React, { useMemo, useState } from "react";
import { Area, Legend, ResponsiveContainer, Tooltip, XAxis, YAxis, Line, ComposedChart, CartesianGrid } from "recharts";
// plane imports
import { AXIS_LABEL_CLASSNAME } from "@plane/constants";
-import { TAreaChartProps } from "@plane/types";
+import type { TAreaChartProps } from "@plane/types";
// local components
import { getLegendProps } from "../components/legend";
import { CustomXAxisTick, CustomYAxisTick } from "../components/tick";
diff --git a/packages/propel/src/charts/bar-chart/bar.tsx b/packages/propel/src/charts/bar-chart/bar.tsx
index 55ddd7934b..1b25acda3e 100644
--- a/packages/propel/src/charts/bar-chart/bar.tsx
+++ b/packages/propel/src/charts/bar-chart/bar.tsx
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import React from "react";
// plane imports
-import { TBarChartShapeVariant, TBarItem, TChartData } from "@plane/types";
+import type { TBarChartShapeVariant, TBarItem, TChartData } from "@plane/types";
import { cn } from "../../utils/classname";
// Constants
diff --git a/packages/propel/src/charts/bar-chart/root.tsx b/packages/propel/src/charts/bar-chart/root.tsx
index a0ea10d3cc..891ad7b389 100644
--- a/packages/propel/src/charts/bar-chart/root.tsx
+++ b/packages/propel/src/charts/bar-chart/root.tsx
@@ -14,7 +14,7 @@ import {
} from "recharts";
// plane imports
import { AXIS_LABEL_CLASSNAME } from "@plane/constants";
-import { TBarChartProps } from "@plane/types";
+import type { TBarChartProps } from "@plane/types";
// local components
import { getLegendProps } from "../components/legend";
import { CustomXAxisTick, CustomYAxisTick } from "../components/tick";
diff --git a/packages/propel/src/charts/components/legend.tsx b/packages/propel/src/charts/components/legend.tsx
index 8ca12f0459..c631ae89c7 100644
--- a/packages/propel/src/charts/components/legend.tsx
+++ b/packages/propel/src/charts/components/legend.tsx
@@ -1,7 +1,7 @@
import React from "react";
-import { LegendProps } from "recharts";
+import type { LegendProps } from "recharts";
// plane imports
-import { TChartLegend } from "@plane/types";
+import type { TChartLegend } from "@plane/types";
import { cn } from "../../utils/classname";
export const getLegendProps = (args: TChartLegend): LegendProps => {
diff --git a/packages/propel/src/charts/components/tooltip.tsx b/packages/propel/src/charts/components/tooltip.tsx
index a2fa06b3bf..6fbc54cfb1 100644
--- a/packages/propel/src/charts/components/tooltip.tsx
+++ b/packages/propel/src/charts/components/tooltip.tsx
@@ -1,5 +1,5 @@
import React from "react";
-import { NameType, Payload, ValueType } from "recharts/types/component/DefaultTooltipContent";
+import type { NameType, Payload, ValueType } from "recharts/types/component/DefaultTooltipContent";
import { Card, ECardSpacing } from "../../card";
import { cn } from "../../utils/classname";
diff --git a/packages/propel/src/charts/line-chart/root.tsx b/packages/propel/src/charts/line-chart/root.tsx
index e599786921..8e9c1874cc 100644
--- a/packages/propel/src/charts/line-chart/root.tsx
+++ b/packages/propel/src/charts/line-chart/root.tsx
@@ -14,7 +14,7 @@ import {
} from "recharts";
// plane imports
import { AXIS_LABEL_CLASSNAME } from "@plane/constants";
-import { TLineChartProps } from "@plane/types";
+import type { TLineChartProps } from "@plane/types";
// local components
import { getLegendProps } from "../components/legend";
import { CustomXAxisTick, CustomYAxisTick } from "../components/tick";
diff --git a/packages/propel/src/charts/pie-chart/active-shape.tsx b/packages/propel/src/charts/pie-chart/active-shape.tsx
index 59cf7d3fc1..347f63923c 100644
--- a/packages/propel/src/charts/pie-chart/active-shape.tsx
+++ b/packages/propel/src/charts/pie-chart/active-shape.tsx
@@ -1,6 +1,6 @@
import React from "react";
import { Sector } from "recharts";
-import { PieSectorDataItem } from "recharts/types/polar/Pie";
+import type { PieSectorDataItem } from "recharts/types/polar/Pie";
export const CustomActiveShape = React.memo((props: PieSectorDataItem) => {
const { cx, cy, cornerRadius, innerRadius, outerRadius, startAngle, endAngle, fill } = props;
diff --git a/packages/propel/src/charts/pie-chart/root.tsx b/packages/propel/src/charts/pie-chart/root.tsx
index f49acfd7e5..528bfca3e6 100644
--- a/packages/propel/src/charts/pie-chart/root.tsx
+++ b/packages/propel/src/charts/pie-chart/root.tsx
@@ -3,7 +3,7 @@
import React, { useMemo, useState } from "react";
import { Cell, PieChart as CorePieChart, Label, Legend, Pie, ResponsiveContainer, Tooltip } from "recharts";
// plane imports
-import { TPieChartProps } from "@plane/types";
+import type { TPieChartProps } from "@plane/types";
// local components
import { getLegendProps } from "../components/legend";
import { CustomActiveShape } from "./active-shape";
diff --git a/packages/propel/src/charts/pie-chart/tooltip.tsx b/packages/propel/src/charts/pie-chart/tooltip.tsx
index 537c0594af..b79792ee39 100644
--- a/packages/propel/src/charts/pie-chart/tooltip.tsx
+++ b/packages/propel/src/charts/pie-chart/tooltip.tsx
@@ -1,5 +1,5 @@
import React from "react";
-import { NameType, Payload, ValueType } from "recharts/types/component/DefaultTooltipContent";
+import type { NameType, Payload, ValueType } from "recharts/types/component/DefaultTooltipContent";
// plane imports
import { Card, ECardSpacing } from "../../card";
diff --git a/packages/propel/src/charts/radar-chart/root.tsx b/packages/propel/src/charts/radar-chart/root.tsx
index b8a1b95d71..b87320dd11 100644
--- a/packages/propel/src/charts/radar-chart/root.tsx
+++ b/packages/propel/src/charts/radar-chart/root.tsx
@@ -8,7 +8,7 @@ import {
Tooltip,
Legend,
} from "recharts";
-import { TRadarChartProps } from "@plane/types";
+import type { TRadarChartProps } from "@plane/types";
import { getLegendProps } from "../components/legend";
import { CustomRadarAxisTick } from "../components/tick";
import { CustomTooltip } from "../components/tooltip";
diff --git a/packages/propel/src/charts/scatter-chart/root.tsx b/packages/propel/src/charts/scatter-chart/root.tsx
index 4ed4eecc11..33119662a2 100644
--- a/packages/propel/src/charts/scatter-chart/root.tsx
+++ b/packages/propel/src/charts/scatter-chart/root.tsx
@@ -14,7 +14,7 @@ import {
} from "recharts";
// plane imports
import { AXIS_LABEL_CLASSNAME } from "@plane/constants";
-import { TScatterChartProps } from "@plane/types";
+import type { TScatterChartProps } from "@plane/types";
// local components
import { getLegendProps } from "../components/legend";
import { CustomXAxisTick, CustomYAxisTick } from "../components/tick";
diff --git a/packages/propel/src/charts/tree-map/map-content.tsx b/packages/propel/src/charts/tree-map/map-content.tsx
index 1a79a8df20..1970a45fa5 100644
--- a/packages/propel/src/charts/tree-map/map-content.tsx
+++ b/packages/propel/src/charts/tree-map/map-content.tsx
@@ -1,6 +1,6 @@
import React, { useMemo } from "react";
// plane imports
-import { TBottomSectionConfig, TContentVisibility, TTopSectionConfig } from "@plane/types";
+import type { TBottomSectionConfig, TContentVisibility, TTopSectionConfig } from "@plane/types";
import { cn } from "../../utils/classname";
const LAYOUT = {
diff --git a/packages/propel/src/charts/tree-map/root.tsx b/packages/propel/src/charts/tree-map/root.tsx
index 1dc874f07c..2e4a734aa7 100644
--- a/packages/propel/src/charts/tree-map/root.tsx
+++ b/packages/propel/src/charts/tree-map/root.tsx
@@ -1,7 +1,7 @@
import React from "react";
import { Treemap, ResponsiveContainer, Tooltip } from "recharts";
// plane imports
-import { TreeMapChartProps } from "@plane/types";
+import type { TreeMapChartProps } from "@plane/types";
// local imports
import { cn } from "../../utils/classname";
import { CustomTreeMapContent } from "./map-content";
diff --git a/packages/propel/src/emoji-icon-picker/emoji-picker.stories.tsx b/packages/propel/src/emoji-icon-picker/emoji-picker.stories.tsx
index 3e00e6af38..dff8076751 100644
--- a/packages/propel/src/emoji-icon-picker/emoji-picker.stories.tsx
+++ b/packages/propel/src/emoji-icon-picker/emoji-picker.stories.tsx
@@ -1,7 +1,8 @@
import { useState } from "react";
import type { Meta, StoryObj } from "@storybook/react-vite";
import { EmojiPicker } from "./emoji-picker";
-import { EmojiIconPickerTypes, TChangeHandlerProps } from "./helper";
+import type { TChangeHandlerProps } from "./helper";
+import { EmojiIconPickerTypes } from "./helper";
const meta = {
title: "Components/Emoji/EmojiPicker",
diff --git a/packages/propel/src/emoji-icon-picker/emoji-picker.tsx b/packages/propel/src/emoji-icon-picker/emoji-picker.tsx
index 759fda1440..9a80d45f59 100644
--- a/packages/propel/src/emoji-icon-picker/emoji-picker.tsx
+++ b/packages/propel/src/emoji-icon-picker/emoji-picker.tsx
@@ -4,7 +4,8 @@ import { Popover } from "../popover";
import { cn } from "../utils/classname";
import { convertPlacementToSideAndAlign } from "../utils/placement";
import { EmojiRoot } from "./emoji/emoji";
-import { emojiToString, TCustomEmojiPicker, EmojiIconPickerTypes } from "./helper";
+import type { TCustomEmojiPicker } from "./helper";
+import { emojiToString, EmojiIconPickerTypes } from "./helper";
import { IconRoot } from "./icon/icon-root";
export const EmojiPicker: React.FC<TCustomEmojiPicker> = (props) => {
diff --git a/packages/propel/src/emoji-icon-picker/helper.tsx b/packages/propel/src/emoji-icon-picker/helper.tsx
index dfe2da2ff9..072b07d476 100644
--- a/packages/propel/src/emoji-icon-picker/helper.tsx
+++ b/packages/propel/src/emoji-icon-picker/helper.tsx
@@ -1,4 +1,4 @@
-import { TPlacement, TSide, TAlign } from "../utils/placement";
+import type { TPlacement, TSide, TAlign } from "../utils/placement";
export const EmojiIconPickerTypes = {
EMOJI: "emoji",
diff --git a/packages/propel/src/emoji-reaction/emoji-reaction-picker.stories.tsx b/packages/propel/src/emoji-reaction/emoji-reaction-picker.stories.tsx
index c2456b1949..790e4cc97f 100644
--- a/packages/propel/src/emoji-reaction/emoji-reaction-picker.stories.tsx
+++ b/packages/propel/src/emoji-reaction/emoji-reaction-picker.stories.tsx
@@ -2,7 +2,8 @@ import { useState } from "react";
import type { Meta, StoryObj } from "@storybook/react-vite";
import { SmilePlus } from "lucide-react";
import { stringToEmoji } from "../emoji-icon-picker";
-import { EmojiReactionGroup, EmojiReactionType } from "./emoji-reaction";
+import type { EmojiReactionType } from "./emoji-reaction";
+import { EmojiReactionGroup } from "./emoji-reaction";
import { EmojiReactionPicker } from "./emoji-reaction-picker";
const meta = {
diff --git a/packages/propel/src/emoji-reaction/emoji-reaction-picker.tsx b/packages/propel/src/emoji-reaction/emoji-reaction-picker.tsx
index a2f691f308..a217151e89 100644
--- a/packages/propel/src/emoji-reaction/emoji-reaction-picker.tsx
+++ b/packages/propel/src/emoji-reaction/emoji-reaction-picker.tsx
@@ -3,7 +3,8 @@ import { EmojiRoot } from "../emoji-icon-picker/emoji/emoji";
import { emojiToString } from "../emoji-icon-picker/helper";
import { Popover } from "../popover";
import { cn } from "../utils/classname";
-import { convertPlacementToSideAndAlign, type TPlacement, type TSide, type TAlign } from "../utils/placement";
+import { convertPlacementToSideAndAlign } from "../utils/placement";
+import type { TPlacement, TSide, TAlign } from "../utils/placement";
export interface EmojiReactionPickerProps {
isOpen: boolean;
diff --git a/packages/propel/src/emoji-reaction/emoji-reaction.stories.tsx b/packages/propel/src/emoji-reaction/emoji-reaction.stories.tsx
index f0b6a2a94d..7fb063e075 100644
--- a/packages/propel/src/emoji-reaction/emoji-reaction.stories.tsx
+++ b/packages/propel/src/emoji-reaction/emoji-reaction.stories.tsx
@@ -1,6 +1,7 @@
import { useState } from "react";
import type { Meta, StoryObj } from "@storybook/react-vite";
-import { EmojiReaction, EmojiReactionGroup, EmojiReactionButton, EmojiReactionType } from "./emoji-reaction";
+import type { EmojiReactionType } from "./emoji-reaction";
+import { EmojiReaction, EmojiReactionGroup, EmojiReactionButton } from "./emoji-reaction";
const meta = {
title: "Components/Emoji/EmojiReaction",
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/customer.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/customer.tsx
index a2d06a9705..ff11731e87 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/customer.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/customer.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const CustomerHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="81" height="91" viewBox="0 0 81 91" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/epic.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/epic.tsx
index bd4a3dc3d4..e35f9ec83b 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/epic.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/epic.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const EpicHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="81" height="92" viewBox="0 0 81 92" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/estimate.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/estimate.tsx
index 9976853601..997f60a48c 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/estimate.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/estimate.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const EstimateHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="81" height="92" viewBox="0 0 81 92" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/export.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/export.tsx
index e5e0181c81..7da47eb7f9 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/export.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/export.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const ExportHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="71" height="81" viewBox="0 0 71 81" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/intake.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/intake.tsx
index dc556b7130..839d881312 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/intake.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/intake.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const IntakeHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="71" height="80" viewBox="0 0 71 80" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/label.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/label.tsx
index 8041aca6f8..d425150188 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/label.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/label.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const LabelHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="81" height="92" viewBox="0 0 81 92" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/link.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/link.tsx
index bf1033c52a..eca3bda062 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/link.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/link.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const LinkHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="52" height="59" viewBox="0 0 52 59" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/members.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/members.tsx
index 88463176ad..8ecaa62b2f 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/members.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/members.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const MembersHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="71" height="80" viewBox="0 0 71 80" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/note.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/note.tsx
index a312439bd1..962ca4e128 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/note.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/note.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const NoteHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="52" height="59" viewBox="0 0 52 59" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/priority.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/priority.tsx
index 9d55076685..707a9b6b30 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/priority.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/priority.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const PriorityHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="72" height="81" viewBox="0 0 72 81" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/project.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/project.tsx
index 2417d68305..f8b5b529a1 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/project.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/project.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const ProjectHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/settings.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/settings.tsx
index d9a68748c0..c5a5f78ab0 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/settings.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/settings.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const SettingsHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="71" height="80" viewBox="0 0 71 80" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/state.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/state.tsx
index ec4894db2a..b3daeae3aa 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/state.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/state.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const StateHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="72" height="81" viewBox="0 0 72 81" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/template.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/template.tsx
index 735a6037bd..2147891dd0 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/template.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/template.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const TemplateHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="81" height="92" viewBox="0 0 81 92" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/token.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/token.tsx
index 8ec4c149ca..7f7204b584 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/token.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/token.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const TokenHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="81" height="92" viewBox="0 0 81 92" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/unknown.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/unknown.tsx
index 107dd1ed17..eaa5ac9122 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/unknown.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/unknown.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const UnknownHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/update.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/update.tsx
index c0551f354b..083fa77be1 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/update.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/update.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const UpdateHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="72" height="81" viewBox="0 0 72 81" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/webhook.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/webhook.tsx
index 1e938ed430..b4f631dfab 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/webhook.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/webhook.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const WebhookHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="81" height="91" viewBox="0 0 81 91" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/work-item.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/work-item.tsx
index b1c80aab19..3efe735728 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/work-item.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/work-item.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const WorkItemHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="72" height="80" viewBox="0 0 72 80" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/worklog.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/worklog.tsx
index 1e7920e5ec..d090f1fa43 100644
--- a/packages/propel/src/empty-state/assets/horizontal-stack/worklog.tsx
+++ b/packages/propel/src/empty-state/assets/horizontal-stack/worklog.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const WorklogHorizontalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg width="81" height="91" viewBox="0 0 81 91" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/empty-state/assets/illustration/inbox.tsx b/packages/propel/src/empty-state/assets/illustration/inbox.tsx
index 93aa614f9e..e174545b86 100644
--- a/packages/propel/src/empty-state/assets/illustration/inbox.tsx
+++ b/packages/propel/src/empty-state/assets/illustration/inbox.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const InboxIllustration = ({ className, ...rest }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/illustration/search.tsx b/packages/propel/src/empty-state/assets/illustration/search.tsx
index a9057f98f2..2b1f36b006 100644
--- a/packages/propel/src/empty-state/assets/illustration/search.tsx
+++ b/packages/propel/src/empty-state/assets/illustration/search.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const SearchIllustration = ({ className, ...rest }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/404-error.tsx b/packages/propel/src/empty-state/assets/vertical-stack/404-error.tsx
index ce8220e5f7..bc162b98d7 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/404-error.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/404-error.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const Error404VerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/archived-cycle.tsx b/packages/propel/src/empty-state/assets/vertical-stack/archived-cycle.tsx
index 32233dc52e..9d3736fc05 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/archived-cycle.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/archived-cycle.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const ArchivedCycleVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/archived-module.tsx b/packages/propel/src/empty-state/assets/vertical-stack/archived-module.tsx
index 571f8b9241..420841463a 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/archived-module.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/archived-module.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const ArchivedModuleVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/archived-work-item.tsx b/packages/propel/src/empty-state/assets/vertical-stack/archived-work-item.tsx
index 222539ddf3..9b01e452b9 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/archived-work-item.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/archived-work-item.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const ArchivedWorkItemVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/customer.tsx b/packages/propel/src/empty-state/assets/vertical-stack/customer.tsx
index 284ac7ad1e..533624e513 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/customer.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/customer.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const CustomerVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/cycle.tsx b/packages/propel/src/empty-state/assets/vertical-stack/cycle.tsx
index 3d99f136bb..a4551fc5dd 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/cycle.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/cycle.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const CycleVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/dashboard.tsx b/packages/propel/src/empty-state/assets/vertical-stack/dashboard.tsx
index fc439e98c5..11093ff6e4 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/dashboard.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/dashboard.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const DashboardVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/draft.tsx b/packages/propel/src/empty-state/assets/vertical-stack/draft.tsx
index c8880377a8..2c47e6e736 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/draft.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/draft.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const DraftVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/epic.tsx b/packages/propel/src/empty-state/assets/vertical-stack/epic.tsx
index 213eb4052b..f261b27384 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/epic.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/epic.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const EpicVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/initiative.tsx b/packages/propel/src/empty-state/assets/vertical-stack/initiative.tsx
index 547cd95402..d8cc144867 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/initiative.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/initiative.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const InitiativeVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/invalid-link.tsx b/packages/propel/src/empty-state/assets/vertical-stack/invalid-link.tsx
index e567857f7c..1483041e8c 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/invalid-link.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/invalid-link.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const InvalidLinkVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/module.tsx b/packages/propel/src/empty-state/assets/vertical-stack/module.tsx
index 12ee94f410..38de28f7fe 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/module.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/module.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const ModuleVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/no-access.tsx b/packages/propel/src/empty-state/assets/vertical-stack/no-access.tsx
index ab2d1f3ec8..1e4969a7f3 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/no-access.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/no-access.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const NoAccessVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/page.tsx b/packages/propel/src/empty-state/assets/vertical-stack/page.tsx
index 3168b6723d..b93cc5ec17 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/page.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/page.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const PageVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/project.tsx b/packages/propel/src/empty-state/assets/vertical-stack/project.tsx
index 27e90735eb..e2863ea2e3 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/project.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/project.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const ProjectVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/server-error.tsx b/packages/propel/src/empty-state/assets/vertical-stack/server-error.tsx
index e394372e0f..1685d18dc1 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/server-error.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/server-error.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const ServerErrorVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/teamspace.tsx b/packages/propel/src/empty-state/assets/vertical-stack/teamspace.tsx
index f3dfef1410..bf1ba1fa81 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/teamspace.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/teamspace.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const TeamspaceVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/view.tsx b/packages/propel/src/empty-state/assets/vertical-stack/view.tsx
index 2b863659fa..223e1fa72a 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/view.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/view.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const ViewVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/assets/vertical-stack/work-item.tsx b/packages/propel/src/empty-state/assets/vertical-stack/work-item.tsx
index a2152ae53b..0d08144019 100644
--- a/packages/propel/src/empty-state/assets/vertical-stack/work-item.tsx
+++ b/packages/propel/src/empty-state/assets/vertical-stack/work-item.tsx
@@ -1,4 +1,5 @@
-import { type TIllustrationAssetProps, ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper";
+import type { TIllustrationAssetProps } from "../helper";
export const WorkItemVerticalStackIllustration = ({ className }: TIllustrationAssetProps) => (
<svg
diff --git a/packages/propel/src/empty-state/empty-state.tsx b/packages/propel/src/empty-state/empty-state.tsx
index a1304d08d4..d94734749e 100644
--- a/packages/propel/src/empty-state/empty-state.tsx
+++ b/packages/propel/src/empty-state/empty-state.tsx
@@ -1,5 +1,5 @@
import React from "react";
-import { CompactAssetType, DetailedAssetType } from "./assets/asset-types";
+import type { CompactAssetType, DetailedAssetType } from "./assets/asset-types";
import { EmptyStateCompact } from "./compact-empty-state";
import { EmptyStateDetailed } from "./detailed-empty-state";
import type { BaseEmptyStateCommonProps } from "./types";
diff --git a/packages/propel/src/icons/actions/add-icon.tsx b/packages/propel/src/icons/actions/add-icon.tsx
index c7e0a1c0fb..b4571ab41a 100644
--- a/packages/propel/src/icons/actions/add-icon.tsx
+++ b/packages/propel/src/icons/actions/add-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const AddIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
const clipPathId = React.useId();
diff --git a/packages/propel/src/icons/actions/add-reaction-icon.tsx b/packages/propel/src/icons/actions/add-reaction-icon.tsx
index aeee0e4fb8..1ce0ce4057 100644
--- a/packages/propel/src/icons/actions/add-reaction-icon.tsx
+++ b/packages/propel/src/icons/actions/add-reaction-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const AddReactionIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
const clipPathId = React.useId();
diff --git a/packages/propel/src/icons/actions/close-icon.tsx b/packages/propel/src/icons/actions/close-icon.tsx
index 0e8f8ae60f..f8003fdb01 100644
--- a/packages/propel/src/icons/actions/close-icon.tsx
+++ b/packages/propel/src/icons/actions/close-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const CloseIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} clipPathId="clip0_2890_23" {...rest}>
diff --git a/packages/propel/src/icons/activity-icon.tsx b/packages/propel/src/icons/activity-icon.tsx
index 14f3b1d421..469f4ac21b 100644
--- a/packages/propel/src/icons/activity-icon.tsx
+++ b/packages/propel/src/icons/activity-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const ActivityIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/ai-icon.tsx b/packages/propel/src/icons/ai-icon.tsx
index 149d9db39d..fce937c025 100644
--- a/packages/propel/src/icons/ai-icon.tsx
+++ b/packages/propel/src/icons/ai-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const AiIcon: React.FC<ISvgIcons> = ({ width = "16", height = "16", className, color = "currentColor" }) => (
<svg
diff --git a/packages/propel/src/icons/arrows/chevron-down.tsx b/packages/propel/src/icons/arrows/chevron-down.tsx
index 5fd38210e5..41de64cf22 100644
--- a/packages/propel/src/icons/arrows/chevron-down.tsx
+++ b/packages/propel/src/icons/arrows/chevron-down.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ChevronDownIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} clipPathId="clip0_2890_23" {...rest}>
diff --git a/packages/propel/src/icons/arrows/chevron-left.tsx b/packages/propel/src/icons/arrows/chevron-left.tsx
index 85a4a887ac..e899a48558 100644
--- a/packages/propel/src/icons/arrows/chevron-left.tsx
+++ b/packages/propel/src/icons/arrows/chevron-left.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ChevronLeftIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} clipPathId="clip0_2890_23" {...rest}>
diff --git a/packages/propel/src/icons/arrows/chevron-right.tsx b/packages/propel/src/icons/arrows/chevron-right.tsx
index 8478254fd2..e7378b5a95 100644
--- a/packages/propel/src/icons/arrows/chevron-right.tsx
+++ b/packages/propel/src/icons/arrows/chevron-right.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ChevronRightIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} clipPathId="clip0_2890_23" {...rest}>
diff --git a/packages/propel/src/icons/arrows/chevron-up.tsx b/packages/propel/src/icons/arrows/chevron-up.tsx
index d4dc2cb50f..6c01b89688 100644
--- a/packages/propel/src/icons/arrows/chevron-up.tsx
+++ b/packages/propel/src/icons/arrows/chevron-up.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ChevronUpIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} clipPathId="clip0_2890_23" {...rest}>
diff --git a/packages/propel/src/icons/at-risk-icon.tsx b/packages/propel/src/icons/at-risk-icon.tsx
index 748307b3c2..39c5b8c6ad 100644
--- a/packages/propel/src/icons/at-risk-icon.tsx
+++ b/packages/propel/src/icons/at-risk-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const AtRiskIcon: React.FC<ISvgIcons> = ({ width = "16", height = "16" }) => (
<svg width={width} height={height} viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
diff --git a/packages/propel/src/icons/attachments/audio-file-icon.tsx b/packages/propel/src/icons/attachments/audio-file-icon.tsx
index ce9477e3d3..62b4e6c59a 100644
--- a/packages/propel/src/icons/attachments/audio-file-icon.tsx
+++ b/packages/propel/src/icons/attachments/audio-file-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const AudioFileIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/attachments/code-file-icon.tsx b/packages/propel/src/icons/attachments/code-file-icon.tsx
index 10a52834ae..8681328bf3 100644
--- a/packages/propel/src/icons/attachments/code-file-icon.tsx
+++ b/packages/propel/src/icons/attachments/code-file-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const CodeFileIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/attachments/document-file-icon.tsx b/packages/propel/src/icons/attachments/document-file-icon.tsx
index 57dbdfbbfd..ec9ae21947 100644
--- a/packages/propel/src/icons/attachments/document-file-icon.tsx
+++ b/packages/propel/src/icons/attachments/document-file-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const DocumentFileIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/attachments/image-file-icon.tsx b/packages/propel/src/icons/attachments/image-file-icon.tsx
index 0c3dd89696..cab163eb83 100644
--- a/packages/propel/src/icons/attachments/image-file-icon.tsx
+++ b/packages/propel/src/icons/attachments/image-file-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ImageFileIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/attachments/video-file-icon.tsx b/packages/propel/src/icons/attachments/video-file-icon.tsx
index dea3397ca3..ab5b0e75f1 100644
--- a/packages/propel/src/icons/attachments/video-file-icon.tsx
+++ b/packages/propel/src/icons/attachments/video-file-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const VideoFileIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/bar-icon.tsx b/packages/propel/src/icons/bar-icon.tsx
index b20d5ebeae..13b01105a0 100644
--- a/packages/propel/src/icons/bar-icon.tsx
+++ b/packages/propel/src/icons/bar-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const BarIcon: React.FC<ISvgIcons> = ({ className = "", ...rest }) => (
<svg className={className} viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" {...rest}>
diff --git a/packages/propel/src/icons/blocked-icon.tsx b/packages/propel/src/icons/blocked-icon.tsx
index 18ea85f8b2..6ce00ccfc2 100644
--- a/packages/propel/src/icons/blocked-icon.tsx
+++ b/packages/propel/src/icons/blocked-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const BlockedIcon: React.FC<ISvgIcons> = ({ height = "24", width = "24", className = "", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/blocker-icon.tsx b/packages/propel/src/icons/blocker-icon.tsx
index 432ef94230..8344329893 100644
--- a/packages/propel/src/icons/blocker-icon.tsx
+++ b/packages/propel/src/icons/blocker-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const BlockerIcon: React.FC<ISvgIcons> = ({ height = "24", width = "24", className = "", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/brand/accenture-logo.tsx b/packages/propel/src/icons/brand/accenture-logo.tsx
index fa65f0124f..8332416715 100644
--- a/packages/propel/src/icons/brand/accenture-logo.tsx
+++ b/packages/propel/src/icons/brand/accenture-logo.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const AccentureLogo: React.FC<ISvgIcons> = ({
width = "51",
diff --git a/packages/propel/src/icons/brand/dolby-logo.tsx b/packages/propel/src/icons/brand/dolby-logo.tsx
index bae0fe0c74..b656c2d316 100644
--- a/packages/propel/src/icons/brand/dolby-logo.tsx
+++ b/packages/propel/src/icons/brand/dolby-logo.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const DolbyLogo: React.FC<ISvgIcons> = ({ width = "40", height = "16", className, color = "currentColor" }) => (
<svg
diff --git a/packages/propel/src/icons/brand/plane-lockup.tsx b/packages/propel/src/icons/brand/plane-lockup.tsx
index d124e9b34b..7251bd9a35 100644
--- a/packages/propel/src/icons/brand/plane-lockup.tsx
+++ b/packages/propel/src/icons/brand/plane-lockup.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const PlaneLockup: React.FC<ISvgIcons> = ({
width = "253",
diff --git a/packages/propel/src/icons/brand/plane-logo.tsx b/packages/propel/src/icons/brand/plane-logo.tsx
index 69fb95ef43..8f30d6ccf7 100644
--- a/packages/propel/src/icons/brand/plane-logo.tsx
+++ b/packages/propel/src/icons/brand/plane-logo.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const PlaneLogo: React.FC<ISvgIcons> = ({ width = "85", height = "52", className, color = "currentColor" }) => (
<svg
diff --git a/packages/propel/src/icons/brand/plane-wordmark.tsx b/packages/propel/src/icons/brand/plane-wordmark.tsx
index fc31d10a64..ad21468c4f 100644
--- a/packages/propel/src/icons/brand/plane-wordmark.tsx
+++ b/packages/propel/src/icons/brand/plane-wordmark.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const PlaneWordmark: React.FC<ISvgIcons> = ({
width = "146",
diff --git a/packages/propel/src/icons/brand/sony-logo.tsx b/packages/propel/src/icons/brand/sony-logo.tsx
index 62e8d2b787..088d3edce4 100644
--- a/packages/propel/src/icons/brand/sony-logo.tsx
+++ b/packages/propel/src/icons/brand/sony-logo.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const SonyLogo: React.FC<ISvgIcons> = ({ width = "44", height = "16", className, color = "currentColor" }) => (
<svg
diff --git a/packages/propel/src/icons/brand/zerodha-logo.tsx b/packages/propel/src/icons/brand/zerodha-logo.tsx
index 8857151f90..d9fa9e8bc3 100644
--- a/packages/propel/src/icons/brand/zerodha-logo.tsx
+++ b/packages/propel/src/icons/brand/zerodha-logo.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ZerodhaLogo: React.FC<ISvgIcons> = ({
width = "64",
diff --git a/packages/propel/src/icons/calendar-after-icon.tsx b/packages/propel/src/icons/calendar-after-icon.tsx
index 905af07169..2e9e7a386d 100644
--- a/packages/propel/src/icons/calendar-after-icon.tsx
+++ b/packages/propel/src/icons/calendar-after-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const CalendarAfterIcon: React.FC<ISvgIcons> = ({ className = "fill-current", ...rest }) => (
<svg viewBox="0 0 24 24" className={`${className} `} fill="none" xmlns="http://www.w3.org/2000/svg" {...rest}>
diff --git a/packages/propel/src/icons/calendar-before-icon.tsx b/packages/propel/src/icons/calendar-before-icon.tsx
index 2e19e6f548..c7e2d2d841 100644
--- a/packages/propel/src/icons/calendar-before-icon.tsx
+++ b/packages/propel/src/icons/calendar-before-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const CalendarBeforeIcon: React.FC<ISvgIcons> = ({ className = "fill-current", ...rest }) => (
<svg viewBox="0 0 24 24" className={`${className} `} fill="none" xmlns="http://www.w3.org/2000/svg" {...rest}>
diff --git a/packages/propel/src/icons/center-panel-icon.tsx b/packages/propel/src/icons/center-panel-icon.tsx
index 4704dbf0af..78b95acc82 100644
--- a/packages/propel/src/icons/center-panel-icon.tsx
+++ b/packages/propel/src/icons/center-panel-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const CenterPanelIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/comment-fill-icon.tsx b/packages/propel/src/icons/comment-fill-icon.tsx
index 8825fbc793..0a08d45272 100644
--- a/packages/propel/src/icons/comment-fill-icon.tsx
+++ b/packages/propel/src/icons/comment-fill-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const CommentFillIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg viewBox="0 0 24 24" className={`${className}`} xmlns="http://www.w3.org/2000/svg" {...rest}>
diff --git a/packages/propel/src/icons/create-icon.tsx b/packages/propel/src/icons/create-icon.tsx
index 34241f553a..a0b3f342a9 100644
--- a/packages/propel/src/icons/create-icon.tsx
+++ b/packages/propel/src/icons/create-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const CreateIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/cycle/circle-dot-full-icon.tsx b/packages/propel/src/icons/cycle/circle-dot-full-icon.tsx
index d6cf059ef5..4bea715f32 100644
--- a/packages/propel/src/icons/cycle/circle-dot-full-icon.tsx
+++ b/packages/propel/src/icons/cycle/circle-dot-full-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const CircleDotFullIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg viewBox="0 0 24 24" className={`${className} stroke-1`} fill="none" xmlns="http://www.w3.org/2000/svg" {...rest}>
diff --git a/packages/propel/src/icons/cycle/contrast-icon.tsx b/packages/propel/src/icons/cycle/contrast-icon.tsx
index 86ac3619cd..d9cd16e158 100644
--- a/packages/propel/src/icons/cycle/contrast-icon.tsx
+++ b/packages/propel/src/icons/cycle/contrast-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ContrastIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/cycle/cycle-group-icon.tsx b/packages/propel/src/icons/cycle/cycle-group-icon.tsx
index 6e095d6f0a..074cfebd69 100644
--- a/packages/propel/src/icons/cycle/cycle-group-icon.tsx
+++ b/packages/propel/src/icons/cycle/cycle-group-icon.tsx
@@ -3,7 +3,8 @@ import { CircleDotDashed, Circle } from "lucide-react";
import { CycleIcon } from "../project/cycle-icon";
import { CircleDotFullIcon } from "./circle-dot-full-icon";
-import { CYCLE_GROUP_COLORS, ICycleGroupIcon } from "./helper";
+import type { ICycleGroupIcon } from "./helper";
+import { CYCLE_GROUP_COLORS } from "./helper";
const iconComponents = {
current: CycleIcon,
diff --git a/packages/propel/src/icons/cycle/double-circle-icon.tsx b/packages/propel/src/icons/cycle/double-circle-icon.tsx
index 37d990e64e..0100e941b2 100644
--- a/packages/propel/src/icons/cycle/double-circle-icon.tsx
+++ b/packages/propel/src/icons/cycle/double-circle-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const DoubleCircleIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/default-icon.tsx b/packages/propel/src/icons/default-icon.tsx
index cf1fbed943..6be674fda3 100644
--- a/packages/propel/src/icons/default-icon.tsx
+++ b/packages/propel/src/icons/default-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "./icon-wrapper";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const DefaultIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/dice-icon.tsx b/packages/propel/src/icons/dice-icon.tsx
index 809d661454..d298eaf4a8 100644
--- a/packages/propel/src/icons/dice-icon.tsx
+++ b/packages/propel/src/icons/dice-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const DiceIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/discord-icon.tsx b/packages/propel/src/icons/discord-icon.tsx
index 89f441045c..731ecf00a2 100644
--- a/packages/propel/src/icons/discord-icon.tsx
+++ b/packages/propel/src/icons/discord-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const DiscordIcon: React.FC<ISvgIcons> = ({ width = "24", height = "24", className }) => (
<svg
diff --git a/packages/propel/src/icons/display-properties.tsx b/packages/propel/src/icons/display-properties.tsx
index cddc25a19f..095e1de155 100644
--- a/packages/propel/src/icons/display-properties.tsx
+++ b/packages/propel/src/icons/display-properties.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const DisplayPropertiesIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" {...rest} className={className}>
diff --git a/packages/propel/src/icons/done-icon.tsx b/packages/propel/src/icons/done-icon.tsx
index 36fc491f32..218afd5cdc 100644
--- a/packages/propel/src/icons/done-icon.tsx
+++ b/packages/propel/src/icons/done-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const DoneState: React.FC<ISvgIcons> = ({ width = "10", height = "11", className }) => (
<svg
diff --git a/packages/propel/src/icons/dropdown-icon.tsx b/packages/propel/src/icons/dropdown-icon.tsx
index ed375d117c..2fb897dbcc 100644
--- a/packages/propel/src/icons/dropdown-icon.tsx
+++ b/packages/propel/src/icons/dropdown-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const DropdownIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/favorite-folder-icon.tsx b/packages/propel/src/icons/favorite-folder-icon.tsx
index 2f464e815b..5b8aa39e66 100644
--- a/packages/propel/src/icons/favorite-folder-icon.tsx
+++ b/packages/propel/src/icons/favorite-folder-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const FavoriteFolderIcon: React.FC<ISvgIcons> = ({ className = "text-current", color = "#a3a3a3", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/full-screen-panel-icon.tsx b/packages/propel/src/icons/full-screen-panel-icon.tsx
index 7b4e9f4c16..c0be881733 100644
--- a/packages/propel/src/icons/full-screen-panel-icon.tsx
+++ b/packages/propel/src/icons/full-screen-panel-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const FullScreenPanelIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/github-icon.tsx b/packages/propel/src/icons/github-icon.tsx
index 2072948849..f8f6f318fd 100644
--- a/packages/propel/src/icons/github-icon.tsx
+++ b/packages/propel/src/icons/github-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const GithubIcon: React.FC<ISvgIcons> = ({ width = "24", height = "24", className, color }) => (
<svg
diff --git a/packages/propel/src/icons/gitlab-icon.tsx b/packages/propel/src/icons/gitlab-icon.tsx
index 958a68641d..1ffef236b6 100644
--- a/packages/propel/src/icons/gitlab-icon.tsx
+++ b/packages/propel/src/icons/gitlab-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const GitlabIcon: React.FC<ISvgIcons> = ({ width = "24", height = "24", className, color }) => (
<svg
diff --git a/packages/propel/src/icons/helpers.ts b/packages/propel/src/icons/helpers.ts
index 0cf0bf64b3..e40068df8c 100644
--- a/packages/propel/src/icons/helpers.ts
+++ b/packages/propel/src/icons/helpers.ts
@@ -1,4 +1,5 @@
-import { ICON_REGISTRY, IconName } from "./registry";
+import type { IconName } from "./registry";
+import { ICON_REGISTRY } from "./registry";
/**
* Get the icon component by name
diff --git a/packages/propel/src/icons/icon-wrapper.tsx b/packages/propel/src/icons/icon-wrapper.tsx
index fb6123353b..c8ede6f32c 100644
--- a/packages/propel/src/icons/icon-wrapper.tsx
+++ b/packages/propel/src/icons/icon-wrapper.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
interface IIconWrapper extends ISvgIcons {
children: React.ReactNode;
diff --git a/packages/propel/src/icons/icon.tsx b/packages/propel/src/icons/icon.tsx
index 68bc0e3494..a198163484 100644
--- a/packages/propel/src/icons/icon.tsx
+++ b/packages/propel/src/icons/icon.tsx
@@ -1,7 +1,8 @@
import * as React from "react";
-import { ICON_REGISTRY, IconName } from "./registry";
-import { ISvgIcons } from "./type";
+import type { IconName } from "./registry";
+import { ICON_REGISTRY } from "./registry";
+import type { ISvgIcons } from "./type";
export interface IconProps extends Omit<ISvgIcons, "ref"> {
name: IconName;
diff --git a/packages/propel/src/icons/in-progress-icon.tsx b/packages/propel/src/icons/in-progress-icon.tsx
index f85b7b26ef..d0f66f4cc4 100644
--- a/packages/propel/src/icons/in-progress-icon.tsx
+++ b/packages/propel/src/icons/in-progress-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const InProgressState: React.FC<ISvgIcons> = ({ width = "10", height = "11", className, color }) => (
<svg
diff --git a/packages/propel/src/icons/info-fill-icon.tsx b/packages/propel/src/icons/info-fill-icon.tsx
index c7416e45d6..65beaa5206 100644
--- a/packages/propel/src/icons/info-fill-icon.tsx
+++ b/packages/propel/src/icons/info-fill-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const InfoFillIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg viewBox="0 0 24 24" className={`${className}`} xmlns="http://www.w3.org/2000/svg" {...rest}>
diff --git a/packages/propel/src/icons/info-icon.tsx b/packages/propel/src/icons/info-icon.tsx
index b71337539d..8173595d5b 100644
--- a/packages/propel/src/icons/info-icon.tsx
+++ b/packages/propel/src/icons/info-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const InfoIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/intake.tsx b/packages/propel/src/icons/intake.tsx
index 777197694d..e980f4d874 100644
--- a/packages/propel/src/icons/intake.tsx
+++ b/packages/propel/src/icons/intake.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const Intake: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/layer-stack.tsx b/packages/propel/src/icons/layer-stack.tsx
index 661eb9d079..f57c236219 100644
--- a/packages/propel/src/icons/layer-stack.tsx
+++ b/packages/propel/src/icons/layer-stack.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const LayerStackIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/layers-icon.tsx b/packages/propel/src/icons/layers-icon.tsx
index 73f3433e16..6591ceaf7e 100644
--- a/packages/propel/src/icons/layers-icon.tsx
+++ b/packages/propel/src/icons/layers-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const LayersIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/layouts/board-icon.tsx b/packages/propel/src/icons/layouts/board-icon.tsx
index aac682c632..8d6f32729f 100644
--- a/packages/propel/src/icons/layouts/board-icon.tsx
+++ b/packages/propel/src/icons/layouts/board-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const BoardLayoutIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/layouts/calendar-icon.tsx b/packages/propel/src/icons/layouts/calendar-icon.tsx
index 803d4a60a4..e8a69f1c99 100644
--- a/packages/propel/src/icons/layouts/calendar-icon.tsx
+++ b/packages/propel/src/icons/layouts/calendar-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const CalendarLayoutIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/layouts/card-icon.tsx b/packages/propel/src/icons/layouts/card-icon.tsx
index 64be0629cd..6bb7a73b8a 100644
--- a/packages/propel/src/icons/layouts/card-icon.tsx
+++ b/packages/propel/src/icons/layouts/card-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const CardLayoutIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/layouts/grid-icon.tsx b/packages/propel/src/icons/layouts/grid-icon.tsx
index 91cb6b7171..58a75ebcd4 100644
--- a/packages/propel/src/icons/layouts/grid-icon.tsx
+++ b/packages/propel/src/icons/layouts/grid-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const GridLayoutIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/layouts/list-icon.tsx b/packages/propel/src/icons/layouts/list-icon.tsx
index 7d993c218f..af71829de4 100644
--- a/packages/propel/src/icons/layouts/list-icon.tsx
+++ b/packages/propel/src/icons/layouts/list-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ListLayoutIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/layouts/sheet-icon.tsx b/packages/propel/src/icons/layouts/sheet-icon.tsx
index eea1b9fe1c..12cdbdc3f7 100644
--- a/packages/propel/src/icons/layouts/sheet-icon.tsx
+++ b/packages/propel/src/icons/layouts/sheet-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const SheetLayoutIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/layouts/timeline-icon.tsx b/packages/propel/src/icons/layouts/timeline-icon.tsx
index 36950de1c3..7c0669dcec 100644
--- a/packages/propel/src/icons/layouts/timeline-icon.tsx
+++ b/packages/propel/src/icons/layouts/timeline-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const TimelineLayoutIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/lead-icon.tsx b/packages/propel/src/icons/lead-icon.tsx
index 5bb9d4b819..c093b65a7c 100644
--- a/packages/propel/src/icons/lead-icon.tsx
+++ b/packages/propel/src/icons/lead-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const LeadIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg className={className} viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg" {...rest}>
diff --git a/packages/propel/src/icons/module/backlog.tsx b/packages/propel/src/icons/module/backlog.tsx
index 22d87cd28b..0ae7de2dad 100644
--- a/packages/propel/src/icons/module/backlog.tsx
+++ b/packages/propel/src/icons/module/backlog.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ModuleBacklogIcon: React.FC<ISvgIcons> = ({
width = "20",
diff --git a/packages/propel/src/icons/module/cancelled.tsx b/packages/propel/src/icons/module/cancelled.tsx
index b47cc874cd..2194ce3e00 100644
--- a/packages/propel/src/icons/module/cancelled.tsx
+++ b/packages/propel/src/icons/module/cancelled.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ModuleCancelledIcon: React.FC<ISvgIcons> = ({ width = "20", height = "20", className }) => (
<svg
diff --git a/packages/propel/src/icons/module/completed.tsx b/packages/propel/src/icons/module/completed.tsx
index d6e4e0d06d..caf6ebb743 100644
--- a/packages/propel/src/icons/module/completed.tsx
+++ b/packages/propel/src/icons/module/completed.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ModuleCompletedIcon: React.FC<ISvgIcons> = ({ width = "20", height = "20", className }) => (
<svg
diff --git a/packages/propel/src/icons/module/in-progress.tsx b/packages/propel/src/icons/module/in-progress.tsx
index 2fdcdbe694..6b996c500d 100644
--- a/packages/propel/src/icons/module/in-progress.tsx
+++ b/packages/propel/src/icons/module/in-progress.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ModuleInProgressIcon: React.FC<ISvgIcons> = ({
width = "20",
diff --git a/packages/propel/src/icons/module/paused.tsx b/packages/propel/src/icons/module/paused.tsx
index a2d728ebfe..021d2a8e15 100644
--- a/packages/propel/src/icons/module/paused.tsx
+++ b/packages/propel/src/icons/module/paused.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ModulePausedIcon: React.FC<ISvgIcons> = ({ width = "20", height = "20", className }) => (
<svg
diff --git a/packages/propel/src/icons/module/planned.tsx b/packages/propel/src/icons/module/planned.tsx
index 0dcc1f71b0..0dd0433a7b 100644
--- a/packages/propel/src/icons/module/planned.tsx
+++ b/packages/propel/src/icons/module/planned.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ModulePlannedIcon: React.FC<ISvgIcons> = ({ width = "20", height = "20", className }) => (
<svg
diff --git a/packages/propel/src/icons/monospace-icon.tsx b/packages/propel/src/icons/monospace-icon.tsx
index 8eb64f01c5..bca4abcfa5 100644
--- a/packages/propel/src/icons/monospace-icon.tsx
+++ b/packages/propel/src/icons/monospace-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const MonospaceIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg viewBox="0 0 16 14" fill="none" xmlns="http://www.w3.org/2000/svg" className={className} {...rest}>
diff --git a/packages/propel/src/icons/multiple-sticky.tsx b/packages/propel/src/icons/multiple-sticky.tsx
index 60f2eaf9bd..6ec82be47c 100644
--- a/packages/propel/src/icons/multiple-sticky.tsx
+++ b/packages/propel/src/icons/multiple-sticky.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const RecentStickyIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/off-track-icon.tsx b/packages/propel/src/icons/off-track-icon.tsx
index 1069d36f9c..638bb689f8 100644
--- a/packages/propel/src/icons/off-track-icon.tsx
+++ b/packages/propel/src/icons/off-track-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const OffTrackIcon: React.FC<ISvgIcons> = ({ width = "16", height = "16" }) => (
<svg width={width} height={height} viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
diff --git a/packages/propel/src/icons/on-track-icon.tsx b/packages/propel/src/icons/on-track-icon.tsx
index 55abe8b341..26bb9f92c3 100644
--- a/packages/propel/src/icons/on-track-icon.tsx
+++ b/packages/propel/src/icons/on-track-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const OnTrackIcon: React.FC<ISvgIcons> = ({ width = "16", height = "16" }) => (
<svg width={width} height={height} viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
diff --git a/packages/propel/src/icons/overview-icon.tsx b/packages/propel/src/icons/overview-icon.tsx
index bcf3712444..6fe8f34fc9 100644
--- a/packages/propel/src/icons/overview-icon.tsx
+++ b/packages/propel/src/icons/overview-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const OverviewIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg viewBox="0 0 12 12" className={className} fill="none" xmlns="http://www.w3.org/2000/svg" {...rest}>
diff --git a/packages/propel/src/icons/pending-icon.tsx b/packages/propel/src/icons/pending-icon.tsx
index 217edaf831..efbe59318e 100644
--- a/packages/propel/src/icons/pending-icon.tsx
+++ b/packages/propel/src/icons/pending-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const PendingState: React.FC<ISvgIcons> = ({ width = "10", height = "11", className, color = "#455068" }) => (
<svg
diff --git a/packages/propel/src/icons/photo-filter-icon.tsx b/packages/propel/src/icons/photo-filter-icon.tsx
index c7e6a540ca..162ac90488 100644
--- a/packages/propel/src/icons/photo-filter-icon.tsx
+++ b/packages/propel/src/icons/photo-filter-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const PhotoFilterIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/planned-icon.tsx b/packages/propel/src/icons/planned-icon.tsx
index 74faa1a755..e8ac5ae6e3 100644
--- a/packages/propel/src/icons/planned-icon.tsx
+++ b/packages/propel/src/icons/planned-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const PlannedState: React.FC<ISvgIcons> = ({ width = "10", height = "11", className }) => (
<svg
diff --git a/packages/propel/src/icons/project/cycle-icon.tsx b/packages/propel/src/icons/project/cycle-icon.tsx
index 7eee10ca48..cabbadcbc0 100644
--- a/packages/propel/src/icons/project/cycle-icon.tsx
+++ b/packages/propel/src/icons/project/cycle-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const CycleIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
const clipPathId = React.useId();
diff --git a/packages/propel/src/icons/project/epic-icon.tsx b/packages/propel/src/icons/project/epic-icon.tsx
index 35bebaafcb..b3fb6e23d8 100644
--- a/packages/propel/src/icons/project/epic-icon.tsx
+++ b/packages/propel/src/icons/project/epic-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const EpicIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/project/intake-icon.tsx b/packages/propel/src/icons/project/intake-icon.tsx
index 6bee44333a..936b4e861e 100644
--- a/packages/propel/src/icons/project/intake-icon.tsx
+++ b/packages/propel/src/icons/project/intake-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const IntakeIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
const clipPathId = React.useId();
diff --git a/packages/propel/src/icons/project/module-icon.tsx b/packages/propel/src/icons/project/module-icon.tsx
index 6c4341a8da..78c8a2af27 100644
--- a/packages/propel/src/icons/project/module-icon.tsx
+++ b/packages/propel/src/icons/project/module-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ModuleIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/project/page-icon.tsx b/packages/propel/src/icons/project/page-icon.tsx
index a98a740d82..0e855bcd47 100644
--- a/packages/propel/src/icons/project/page-icon.tsx
+++ b/packages/propel/src/icons/project/page-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const PageIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/project/view-icon.tsx b/packages/propel/src/icons/project/view-icon.tsx
index 1b6f6a38bf..4079b4439b 100644
--- a/packages/propel/src/icons/project/view-icon.tsx
+++ b/packages/propel/src/icons/project/view-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ViewsIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
const clipPathId = React.useId();
diff --git a/packages/propel/src/icons/project/work-items-icon.tsx b/packages/propel/src/icons/project/work-items-icon.tsx
index d48c8e58c5..a08daaf71b 100644
--- a/packages/propel/src/icons/project/work-items-icon.tsx
+++ b/packages/propel/src/icons/project/work-items-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const WorkItemsIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/properties/boolean-icon.tsx b/packages/propel/src/icons/properties/boolean-icon.tsx
index 5c9588c90d..5de7ba05a2 100644
--- a/packages/propel/src/icons/properties/boolean-icon.tsx
+++ b/packages/propel/src/icons/properties/boolean-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const BooleanPropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/properties/dropdown-icon.tsx b/packages/propel/src/icons/properties/dropdown-icon.tsx
index b0215524db..a5e83582a4 100644
--- a/packages/propel/src/icons/properties/dropdown-icon.tsx
+++ b/packages/propel/src/icons/properties/dropdown-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const DropdownPropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
const clipPathId = React.useId();
diff --git a/packages/propel/src/icons/properties/due-date-icon.tsx b/packages/propel/src/icons/properties/due-date-icon.tsx
index d8f73c04a0..9e30744910 100644
--- a/packages/propel/src/icons/properties/due-date-icon.tsx
+++ b/packages/propel/src/icons/properties/due-date-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const DueDatePropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/properties/duplicate-icon.tsx b/packages/propel/src/icons/properties/duplicate-icon.tsx
index 8384fc8c13..50ade4cf8a 100644
--- a/packages/propel/src/icons/properties/duplicate-icon.tsx
+++ b/packages/propel/src/icons/properties/duplicate-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const DuplicatePropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
const clipPathId = React.useId();
diff --git a/packages/propel/src/icons/properties/estimate-icon.tsx b/packages/propel/src/icons/properties/estimate-icon.tsx
index ad59eb02bd..799655245d 100644
--- a/packages/propel/src/icons/properties/estimate-icon.tsx
+++ b/packages/propel/src/icons/properties/estimate-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const EstimatePropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/properties/hash-icon.tsx b/packages/propel/src/icons/properties/hash-icon.tsx
index c218a79718..1b20d6fd8d 100644
--- a/packages/propel/src/icons/properties/hash-icon.tsx
+++ b/packages/propel/src/icons/properties/hash-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const HashPropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/properties/label-icon.tsx b/packages/propel/src/icons/properties/label-icon.tsx
index 97bd7f5b73..2bfeae0652 100644
--- a/packages/propel/src/icons/properties/label-icon.tsx
+++ b/packages/propel/src/icons/properties/label-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const LabelPropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
const clipPathId = React.useId();
diff --git a/packages/propel/src/icons/properties/members-icon.tsx b/packages/propel/src/icons/properties/members-icon.tsx
index 3627ec3a18..95e903e97a 100644
--- a/packages/propel/src/icons/properties/members-icon.tsx
+++ b/packages/propel/src/icons/properties/members-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const MembersPropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/properties/overdue-date-icon.tsx b/packages/propel/src/icons/properties/overdue-date-icon.tsx
index 1c4152c63e..97b36e673a 100644
--- a/packages/propel/src/icons/properties/overdue-date-icon.tsx
+++ b/packages/propel/src/icons/properties/overdue-date-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const OverdueDatePropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/properties/parent-icon.tsx b/packages/propel/src/icons/properties/parent-icon.tsx
index 1104f24817..36dd58fc73 100644
--- a/packages/propel/src/icons/properties/parent-icon.tsx
+++ b/packages/propel/src/icons/properties/parent-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ParentPropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/properties/priority-icon.tsx b/packages/propel/src/icons/properties/priority-icon.tsx
index 904235557d..de528a9872 100644
--- a/packages/propel/src/icons/properties/priority-icon.tsx
+++ b/packages/propel/src/icons/properties/priority-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const PriorityPropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/properties/relates-to-icon.tsx b/packages/propel/src/icons/properties/relates-to-icon.tsx
index 625999e6da..8328a1de81 100644
--- a/packages/propel/src/icons/properties/relates-to-icon.tsx
+++ b/packages/propel/src/icons/properties/relates-to-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const RelatesToPropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/properties/relation-icon.tsx b/packages/propel/src/icons/properties/relation-icon.tsx
index 82326b2d04..258ab030d9 100644
--- a/packages/propel/src/icons/properties/relation-icon.tsx
+++ b/packages/propel/src/icons/properties/relation-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const RelationPropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/properties/scope-icon.tsx b/packages/propel/src/icons/properties/scope-icon.tsx
index 0f66ee10a5..afee1b7108 100644
--- a/packages/propel/src/icons/properties/scope-icon.tsx
+++ b/packages/propel/src/icons/properties/scope-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ScopePropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
const clipPathId = React.useId();
diff --git a/packages/propel/src/icons/properties/start-date-icon.tsx b/packages/propel/src/icons/properties/start-date-icon.tsx
index 28741aecf1..db46c6817d 100644
--- a/packages/propel/src/icons/properties/start-date-icon.tsx
+++ b/packages/propel/src/icons/properties/start-date-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const StartDatePropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/properties/state-icon.tsx b/packages/propel/src/icons/properties/state-icon.tsx
index fc69eace62..80e6820dea 100644
--- a/packages/propel/src/icons/properties/state-icon.tsx
+++ b/packages/propel/src/icons/properties/state-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const StatePropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
const clipPathId = React.useId();
diff --git a/packages/propel/src/icons/properties/user-circle-icon.tsx b/packages/propel/src/icons/properties/user-circle-icon.tsx
index 06fd6f3eb1..a28f72f1c3 100644
--- a/packages/propel/src/icons/properties/user-circle-icon.tsx
+++ b/packages/propel/src/icons/properties/user-circle-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const UserCirclePropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
const clipPathId = React.useId();
diff --git a/packages/propel/src/icons/properties/user-icon.tsx b/packages/propel/src/icons/properties/user-icon.tsx
index d1dd3ca83c..9e81972c38 100644
--- a/packages/propel/src/icons/properties/user-icon.tsx
+++ b/packages/propel/src/icons/properties/user-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const UserPropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/properties/user-square-icon.tsx b/packages/propel/src/icons/properties/user-square-icon.tsx
index 3e7521f281..f7a6c45471 100644
--- a/packages/propel/src/icons/properties/user-square-icon.tsx
+++ b/packages/propel/src/icons/properties/user-square-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const UserSquarePropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
const clipPathId = React.useId();
diff --git a/packages/propel/src/icons/properties/workflows-icon.tsx b/packages/propel/src/icons/properties/workflows-icon.tsx
index ed3a2b6bdb..7524911b8e 100644
--- a/packages/propel/src/icons/properties/workflows-icon.tsx
+++ b/packages/propel/src/icons/properties/workflows-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const WorkflowsPropertyIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/related-icon.tsx b/packages/propel/src/icons/related-icon.tsx
index 514b5e96d9..3d467284c1 100644
--- a/packages/propel/src/icons/related-icon.tsx
+++ b/packages/propel/src/icons/related-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const RelatedIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/sans-serif-icon.tsx b/packages/propel/src/icons/sans-serif-icon.tsx
index 2260130a7f..a63fc19957 100644
--- a/packages/propel/src/icons/sans-serif-icon.tsx
+++ b/packages/propel/src/icons/sans-serif-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const SansSerifIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg viewBox="0 0 16 12" fill="none" xmlns="http://www.w3.org/2000/svg" className={className} {...rest}>
diff --git a/packages/propel/src/icons/serif-icon.tsx b/packages/propel/src/icons/serif-icon.tsx
index fab5c12d33..01ed929898 100644
--- a/packages/propel/src/icons/serif-icon.tsx
+++ b/packages/propel/src/icons/serif-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const SerifIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg viewBox="0 0 16 12" fill="none" xmlns="http://www.w3.org/2000/svg" className={className} {...rest}>
diff --git a/packages/propel/src/icons/side-panel-icon.tsx b/packages/propel/src/icons/side-panel-icon.tsx
index 137b2d24e7..3327124a4c 100644
--- a/packages/propel/src/icons/side-panel-icon.tsx
+++ b/packages/propel/src/icons/side-panel-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const SidePanelIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/state/backlog-group-icon.tsx b/packages/propel/src/icons/state/backlog-group-icon.tsx
index ebd0d05c45..33fff30fd1 100644
--- a/packages/propel/src/icons/state/backlog-group-icon.tsx
+++ b/packages/propel/src/icons/state/backlog-group-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
import { DashedCircle } from "./dashed-circle";
export const BacklogGroupIcon: React.FC<ISvgIcons> = ({
diff --git a/packages/propel/src/icons/state/cancelled-group-icon.tsx b/packages/propel/src/icons/state/cancelled-group-icon.tsx
index fb802523e8..dde6339804 100644
--- a/packages/propel/src/icons/state/cancelled-group-icon.tsx
+++ b/packages/propel/src/icons/state/cancelled-group-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const CancelledGroupIcon: React.FC<ISvgIcons> = ({
className = "",
diff --git a/packages/propel/src/icons/state/completed-group-icon.tsx b/packages/propel/src/icons/state/completed-group-icon.tsx
index c4a15f15f8..e0c21a175b 100644
--- a/packages/propel/src/icons/state/completed-group-icon.tsx
+++ b/packages/propel/src/icons/state/completed-group-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const CompletedGroupIcon: React.FC<ISvgIcons> = ({
className = "",
diff --git a/packages/propel/src/icons/state/started-group-icon.tsx b/packages/propel/src/icons/state/started-group-icon.tsx
index d924c0d6ce..275fd70ebc 100644
--- a/packages/propel/src/icons/state/started-group-icon.tsx
+++ b/packages/propel/src/icons/state/started-group-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
import { DashedCircle } from "./dashed-circle";
import { ProgressCircle } from "./progress-circle";
diff --git a/packages/propel/src/icons/state/state-group-icon.tsx b/packages/propel/src/icons/state/state-group-icon.tsx
index b5647ae053..b5e023d174 100644
--- a/packages/propel/src/icons/state/state-group-icon.tsx
+++ b/packages/propel/src/icons/state/state-group-icon.tsx
@@ -4,7 +4,8 @@ import { EIconSize } from "@plane/constants";
import { BacklogGroupIcon } from "./backlog-group-icon";
import { CancelledGroupIcon } from "./cancelled-group-icon";
import { CompletedGroupIcon } from "./completed-group-icon";
-import { IStateGroupIcon, STATE_GROUP_COLORS, STATE_GROUP_SIZES } from "./helper";
+import type { IStateGroupIcon } from "./helper";
+import { STATE_GROUP_COLORS, STATE_GROUP_SIZES } from "./helper";
import { StartedGroupIcon } from "./started-group-icon";
import { UnstartedGroupIcon } from "./unstarted-group-icon";
diff --git a/packages/propel/src/icons/state/unstarted-group-icon.tsx b/packages/propel/src/icons/state/unstarted-group-icon.tsx
index 9f57b698f2..fbc2516498 100644
--- a/packages/propel/src/icons/state/unstarted-group-icon.tsx
+++ b/packages/propel/src/icons/state/unstarted-group-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
import { DashedCircle } from "./dashed-circle";
import { ProgressCircle } from "./progress-circle";
diff --git a/packages/propel/src/icons/sticky-note-icon.tsx b/packages/propel/src/icons/sticky-note-icon.tsx
index fd1652dad7..875e230074 100644
--- a/packages/propel/src/icons/sticky-note-icon.tsx
+++ b/packages/propel/src/icons/sticky-note-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const StickyNoteIcon: React.FC<ISvgIcons> = ({ width = "17", height = "17", className, color }) => (
<svg
diff --git a/packages/propel/src/icons/sub-brand/pi-chat.tsx b/packages/propel/src/icons/sub-brand/pi-chat.tsx
index 1f94770664..1c97f60bde 100644
--- a/packages/propel/src/icons/sub-brand/pi-chat.tsx
+++ b/packages/propel/src/icons/sub-brand/pi-chat.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const PiChatLogo: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} viewBox="0 0 24 24" {...rest}>
diff --git a/packages/propel/src/icons/sub-brand/plane-icon.tsx b/packages/propel/src/icons/sub-brand/plane-icon.tsx
index e645dedf7a..949fbfa6f3 100644
--- a/packages/propel/src/icons/sub-brand/plane-icon.tsx
+++ b/packages/propel/src/icons/sub-brand/plane-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const PlaneNewIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
const clipPathId = React.useId();
diff --git a/packages/propel/src/icons/sub-brand/wiki-icon.tsx b/packages/propel/src/icons/sub-brand/wiki-icon.tsx
index 8d534dc0d8..a3c9fe4d6f 100644
--- a/packages/propel/src/icons/sub-brand/wiki-icon.tsx
+++ b/packages/propel/src/icons/sub-brand/wiki-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const WikiIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => {
const clipPathId = React.useId();
diff --git a/packages/propel/src/icons/suspended-user.tsx b/packages/propel/src/icons/suspended-user.tsx
index 8ae0206b2e..ad1b793cb7 100644
--- a/packages/propel/src/icons/suspended-user.tsx
+++ b/packages/propel/src/icons/suspended-user.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const SuspendedUserIcon: React.FC<ISvgIcons> = ({ className, ...rest }) => (
<svg viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg" className={className} {...rest}>
diff --git a/packages/propel/src/icons/teams.tsx b/packages/propel/src/icons/teams.tsx
index b730555989..56bc60dba2 100644
--- a/packages/propel/src/icons/teams.tsx
+++ b/packages/propel/src/icons/teams.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const TeamsIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg className={className} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
diff --git a/packages/propel/src/icons/transfer-icon.tsx b/packages/propel/src/icons/transfer-icon.tsx
index f762f9611e..ebda6edccc 100644
--- a/packages/propel/src/icons/transfer-icon.tsx
+++ b/packages/propel/src/icons/transfer-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const TransferIcon: React.FC<ISvgIcons> = ({ className = "fill-current", ...rest }) => (
<svg viewBox="0 0 24 20" className={`${className} `} fill="none" xmlns="http://www.w3.org/2000/svg" {...rest}>
diff --git a/packages/propel/src/icons/tree-map-icon.tsx b/packages/propel/src/icons/tree-map-icon.tsx
index b8de010690..c37d10a3f9 100644
--- a/packages/propel/src/icons/tree-map-icon.tsx
+++ b/packages/propel/src/icons/tree-map-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const TreeMapIcon: React.FC<ISvgIcons> = ({ className = "", ...rest }) => (
<svg className={className} viewBox="0 0 27 22" fill="currentColor" xmlns="http://www.w3.org/2000/svg" {...rest}>
diff --git a/packages/propel/src/icons/updates-icon.tsx b/packages/propel/src/icons/updates-icon.tsx
index b7aa85e508..5af0ffc6fd 100644
--- a/packages/propel/src/icons/updates-icon.tsx
+++ b/packages/propel/src/icons/updates-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const UpdatesIcon: React.FC<ISvgIcons> = ({ className = "text-current" }) => (
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
diff --git a/packages/propel/src/icons/user-activity-icon.tsx b/packages/propel/src/icons/user-activity-icon.tsx
index 9a8e691fd1..01bf740dfc 100644
--- a/packages/propel/src/icons/user-activity-icon.tsx
+++ b/packages/propel/src/icons/user-activity-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const UserActivityIcon: React.FC<ISvgIcons> = ({ className = "text-current", ...rest }) => (
<svg
diff --git a/packages/propel/src/icons/workspace-icon.tsx b/packages/propel/src/icons/workspace-icon.tsx
index e15d33f30b..c097b9ad82 100644
--- a/packages/propel/src/icons/workspace-icon.tsx
+++ b/packages/propel/src/icons/workspace-icon.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
-import { ISvgIcons } from "./type";
+import type { ISvgIcons } from "./type";
export const WorkspaceIcon: React.FC<ISvgIcons> = ({ className }) => (
<svg
diff --git a/packages/propel/src/icons/workspace/analytics-icon.tsx b/packages/propel/src/icons/workspace/analytics-icon.tsx
index d0be0ebb3d..5259dd22a6 100644
--- a/packages/propel/src/icons/workspace/analytics-icon.tsx
+++ b/packages/propel/src/icons/workspace/analytics-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const AnalyticsIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/workspace/archive-icon.tsx b/packages/propel/src/icons/workspace/archive-icon.tsx
index 1d359d3601..d5998cec13 100644
--- a/packages/propel/src/icons/workspace/archive-icon.tsx
+++ b/packages/propel/src/icons/workspace/archive-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ArchiveIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/workspace/dashboard-icon.tsx b/packages/propel/src/icons/workspace/dashboard-icon.tsx
index fab6d145b3..eb3b1f33d7 100644
--- a/packages/propel/src/icons/workspace/dashboard-icon.tsx
+++ b/packages/propel/src/icons/workspace/dashboard-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const DashboardIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/workspace/draft-icon.tsx b/packages/propel/src/icons/workspace/draft-icon.tsx
index bec049e6ba..16860e518c 100644
--- a/packages/propel/src/icons/workspace/draft-icon.tsx
+++ b/packages/propel/src/icons/workspace/draft-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const DraftIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/workspace/home-icon.tsx b/packages/propel/src/icons/workspace/home-icon.tsx
index cfc3c06f57..d32facfa03 100644
--- a/packages/propel/src/icons/workspace/home-icon.tsx
+++ b/packages/propel/src/icons/workspace/home-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const HomeIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/workspace/inbox-icon.tsx b/packages/propel/src/icons/workspace/inbox-icon.tsx
index c4a6151b43..2961959026 100644
--- a/packages/propel/src/icons/workspace/inbox-icon.tsx
+++ b/packages/propel/src/icons/workspace/inbox-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const InboxIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/workspace/project-icon.tsx b/packages/propel/src/icons/workspace/project-icon.tsx
index 357f033393..0a01dff26d 100644
--- a/packages/propel/src/icons/workspace/project-icon.tsx
+++ b/packages/propel/src/icons/workspace/project-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const ProjectIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/icons/workspace/your-work-icon.tsx b/packages/propel/src/icons/workspace/your-work-icon.tsx
index 75a2ea79ec..577d255967 100644
--- a/packages/propel/src/icons/workspace/your-work-icon.tsx
+++ b/packages/propel/src/icons/workspace/your-work-icon.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconWrapper } from "../icon-wrapper";
-import { ISvgIcons } from "../type";
+import type { ISvgIcons } from "../type";
export const YourWorkIcon: React.FC<ISvgIcons> = ({ color = "currentColor", ...rest }) => (
<IconWrapper color={color} {...rest}>
diff --git a/packages/propel/src/menu/menu.tsx b/packages/propel/src/menu/menu.tsx
index 92ee70adb3..c0cb4e09b3 100644
--- a/packages/propel/src/menu/menu.tsx
+++ b/packages/propel/src/menu/menu.tsx
@@ -3,7 +3,7 @@ import { Menu as BaseMenu } from "@base-ui-components/react/menu";
import { MoreHorizontal } from "lucide-react";
import { ChevronDownIcon, ChevronRightIcon } from "../icons";
import { cn } from "../utils/classname";
-import { TMenuProps, TSubMenuProps, TMenuItemProps } from "./types";
+import type { TMenuProps, TSubMenuProps, TMenuItemProps } from "./types";
// Context for main menu to communicate with submenus
const MenuContext = React.createContext<{
diff --git a/packages/propel/src/popover/root.tsx b/packages/propel/src/popover/root.tsx
index c48b20b833..e5e46fa149 100644
--- a/packages/propel/src/popover/root.tsx
+++ b/packages/propel/src/popover/root.tsx
@@ -1,6 +1,7 @@
import * as React from "react";
import { Popover as BasePopover } from "@base-ui-components/react/popover";
-import { TPlacement, TSide, TAlign, convertPlacementToSideAndAlign } from "../utils/placement";
+import type { TPlacement, TSide, TAlign } from "../utils/placement";
+import { convertPlacementToSideAndAlign } from "../utils/placement";
export interface PopoverContentProps extends React.ComponentProps<typeof BasePopover.Popup> {
placement?: TPlacement;
diff --git a/packages/propel/src/portal/modal-portal.tsx b/packages/propel/src/portal/modal-portal.tsx
index 59f304cd40..0d716159ec 100644
--- a/packages/propel/src/portal/modal-portal.tsx
+++ b/packages/propel/src/portal/modal-portal.tsx
@@ -9,7 +9,7 @@ import {
MODAL_Z_INDEX,
} from "./constants";
import { PortalWrapper } from "./portal-wrapper";
-import { ModalPortalProps } from "./types";
+import type { ModalPortalProps } from "./types";
/**
* @param children - The modal content to render
diff --git a/packages/propel/src/portal/portal-wrapper.tsx b/packages/propel/src/portal/portal-wrapper.tsx
index 2f67540bd0..d2a8306d71 100644
--- a/packages/propel/src/portal/portal-wrapper.tsx
+++ b/packages/propel/src/portal/portal-wrapper.tsx
@@ -1,7 +1,7 @@
import React, { useLayoutEffect, useState, useMemo } from "react";
import { createPortal } from "react-dom";
import { DEFAULT_PORTAL_ID } from "./constants";
-import { PortalWrapperProps } from "./types";
+import type { PortalWrapperProps } from "./types";
/**
* PortalWrapper - A reusable portal component that renders children into a specific DOM element
diff --git a/packages/propel/src/portal/types.ts b/packages/propel/src/portal/types.ts
index 036c91911a..8a229bc8db 100644
--- a/packages/propel/src/portal/types.ts
+++ b/packages/propel/src/portal/types.ts
@@ -1,5 +1,5 @@
import type { ReactNode, MouseEvent as ReactMouseEvent } from "react";
-import { EPortalWidth, EPortalPosition } from "./constants";
+import type { EPortalWidth, EPortalPosition } from "./constants";
export interface BasePortalProps {
children: ReactNode;
diff --git a/packages/propel/src/toolbar/toolbar.tsx b/packages/propel/src/toolbar/toolbar.tsx
index a1c372b91e..0acf3b20ef 100644
--- a/packages/propel/src/toolbar/toolbar.tsx
+++ b/packages/propel/src/toolbar/toolbar.tsx
@@ -1,5 +1,5 @@
import * as React from "react";
-import { LucideIcon } from "lucide-react";
+import type { LucideIcon } from "lucide-react";
import type { ISvgIcons } from "../icons";
import { Tooltip } from "../tooltip";
import { cn } from "../utils";
diff --git a/packages/propel/src/tooltip/root.tsx b/packages/propel/src/tooltip/root.tsx
index 0974358748..590f3e5ddc 100644
--- a/packages/propel/src/tooltip/root.tsx
+++ b/packages/propel/src/tooltip/root.tsx
@@ -1,7 +1,8 @@
import * as React from "react";
import { Tooltip as BaseTooltip } from "@base-ui-components/react/tooltip";
import { cn } from "../utils/classname";
-import { TPlacement, TSide, TAlign, convertPlacementToSideAndAlign } from "../utils/placement";
+import type { TPlacement, TSide, TAlign } from "../utils/placement";
+import { convertPlacementToSideAndAlign } from "../utils/placement";
type ITooltipProps = {
tooltipHeading?: string;
diff --git a/packages/propel/src/utils/classname.tsx b/packages/propel/src/utils/classname.tsx
index a0b5929124..7b3aeb2f8c 100644
--- a/packages/propel/src/utils/classname.tsx
+++ b/packages/propel/src/utils/classname.tsx
@@ -1,4 +1,5 @@
-import clsx, { type ClassValue } from "clsx";
+import clsx from "clsx";
+import type { ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
export const cn = (...inputs: ClassValue[]) => twMerge(clsx(inputs));
diff --git a/packages/services/src/ai/ai.service.ts b/packages/services/src/ai/ai.service.ts
index 261cf9df5f..3f2054ac70 100644
--- a/packages/services/src/ai/ai.service.ts
+++ b/packages/services/src/ai/ai.service.ts
@@ -1,5 +1,6 @@
// plane web constants
-import { AI_EDITOR_TASKS, API_BASE_URL } from "@plane/constants";
+import type { AI_EDITOR_TASKS } from "@plane/constants";
+import { API_BASE_URL } from "@plane/constants";
// services
import { APIService } from "../api.service";
diff --git a/packages/services/src/api.service.ts b/packages/services/src/api.service.ts
index e2b74993e2..7cdeb3f288 100644
--- a/packages/services/src/api.service.ts
+++ b/packages/services/src/api.service.ts
@@ -1,4 +1,5 @@
-import axios, { AxiosInstance, AxiosRequestConfig } from "axios";
+import type { AxiosInstance, AxiosRequestConfig } from "axios";
+import axios from "axios";
/**
* Abstract base class for making HTTP requests using axios
diff --git a/packages/services/src/auth/auth.service.ts b/packages/services/src/auth/auth.service.ts
index 1890533d2e..c32c93e663 100644
--- a/packages/services/src/auth/auth.service.ts
+++ b/packages/services/src/auth/auth.service.ts
@@ -1,6 +1,6 @@
import { API_BASE_URL } from "@plane/constants";
// types
-import { ICsrfTokenData, IEmailCheckData, IEmailCheckResponse } from "@plane/types";
+import type { ICsrfTokenData, IEmailCheckData, IEmailCheckResponse } from "@plane/types";
// services
import { APIService } from "../api.service";
diff --git a/packages/services/src/auth/sites-auth.service.ts b/packages/services/src/auth/sites-auth.service.ts
index 638a7b6f26..8e2bf8ea5a 100644
--- a/packages/services/src/auth/sites-auth.service.ts
+++ b/packages/services/src/auth/sites-auth.service.ts
@@ -1,6 +1,6 @@
import { API_BASE_URL } from "@plane/constants";
// types
-import { IEmailCheckData, IEmailCheckResponse } from "@plane/types";
+import type { IEmailCheckData, IEmailCheckResponse } from "@plane/types";
// services
import { APIService } from "../api.service";
diff --git a/packages/services/src/cycle/cycle-archive.service.ts b/packages/services/src/cycle/cycle-archive.service.ts
index 784fd32e7d..09d3e96873 100644
--- a/packages/services/src/cycle/cycle-archive.service.ts
+++ b/packages/services/src/cycle/cycle-archive.service.ts
@@ -1,5 +1,5 @@
import { API_BASE_URL } from "@plane/constants";
-import { ICycle } from "@plane/types";
+import type { ICycle } from "@plane/types";
import { APIService } from "../api.service";
/**
diff --git a/packages/services/src/cycle/sites-cycle.service.ts b/packages/services/src/cycle/sites-cycle.service.ts
index 99cf361a75..0fb17407b0 100644
--- a/packages/services/src/cycle/sites-cycle.service.ts
+++ b/packages/services/src/cycle/sites-cycle.service.ts
@@ -1,6 +1,6 @@
// plane imports
import { API_BASE_URL } from "@plane/constants";
-import { TPublicCycle } from "@plane/types";
+import type { TPublicCycle } from "@plane/types";
// api service
import { APIService } from "../api.service";
diff --git a/packages/services/src/dashboard/dashboard.service.ts b/packages/services/src/dashboard/dashboard.service.ts
index 6a4a6bcca7..a705b1e188 100644
--- a/packages/services/src/dashboard/dashboard.service.ts
+++ b/packages/services/src/dashboard/dashboard.service.ts
@@ -1,5 +1,5 @@
import { API_BASE_URL } from "@plane/constants";
-import { THomeDashboardResponse, TWidget, TWidgetStatsResponse, TWidgetStatsRequestParams } from "@plane/types";
+import type { THomeDashboardResponse, TWidget, TWidgetStatsResponse, TWidgetStatsRequestParams } from "@plane/types";
import { APIService } from "../api.service";
export default class DashboardService extends APIService {
diff --git a/packages/services/src/developer/api-token.service.ts b/packages/services/src/developer/api-token.service.ts
index 703ec9d32f..229d62c330 100644
--- a/packages/services/src/developer/api-token.service.ts
+++ b/packages/services/src/developer/api-token.service.ts
@@ -1,5 +1,5 @@
import { API_BASE_URL } from "@plane/constants";
-import { IApiToken } from "@plane/types";
+import type { IApiToken } from "@plane/types";
import { APIService } from "../api.service";
export class APITokenService extends APIService {
diff --git a/packages/services/src/developer/webhook.service.ts b/packages/services/src/developer/webhook.service.ts
index e48da3430b..846e780d76 100644
--- a/packages/services/src/developer/webhook.service.ts
+++ b/packages/services/src/developer/webhook.service.ts
@@ -1,5 +1,5 @@
import { API_BASE_URL } from "@plane/constants";
-import { IWebhook } from "@plane/types";
+import type { IWebhook } from "@plane/types";
import { APIService } from "../api.service";
/**
diff --git a/packages/services/src/file/file.service.ts b/packages/services/src/file/file.service.ts
index 32edd4eb40..fe1e747d46 100644
--- a/packages/services/src/file/file.service.ts
+++ b/packages/services/src/file/file.service.ts
@@ -1,7 +1,7 @@
// plane imports
import { API_BASE_URL } from "@plane/constants";
// api service
-import { TDuplicateAssetData, TDuplicateAssetResponse } from "@plane/types";
+import type { TDuplicateAssetData, TDuplicateAssetResponse } from "@plane/types";
import { APIService } from "../api.service";
// helpers
import { getAssetIdFromUrl } from "./helper";
diff --git a/packages/services/src/file/helper.ts b/packages/services/src/file/helper.ts
index 49f47c2af2..499d943b4e 100644
--- a/packages/services/src/file/helper.ts
+++ b/packages/services/src/file/helper.ts
@@ -1,7 +1,7 @@
// external imports
import { fileTypeFromBuffer } from "file-type";
// plane imports
-import { TFileMetaDataLite, TFileSignedURLResponse } from "@plane/types";
+import type { TFileMetaDataLite, TFileSignedURLResponse } from "@plane/types";
/**
* @description from the provided signed URL response, generate a payload to be used to upload the file
diff --git a/packages/services/src/file/sites-file.service.ts b/packages/services/src/file/sites-file.service.ts
index 0536c50439..4c10198576 100644
--- a/packages/services/src/file/sites-file.service.ts
+++ b/packages/services/src/file/sites-file.service.ts
@@ -1,7 +1,7 @@
// plane imports
import { API_BASE_URL } from "@plane/constants";
// local services
-import { TFileEntityInfo, TFileSignedURLResponse } from "@plane/types";
+import type { TFileEntityInfo, TFileSignedURLResponse } from "@plane/types";
import { FileUploadService } from "./file-upload.service";
// helpers
import { FileService } from "./file.service";
diff --git a/packages/services/src/issue/sites-issue.service.ts b/packages/services/src/issue/sites-issue.service.ts
index 9b6aa772e4..a715f2093b 100644
--- a/packages/services/src/issue/sites-issue.service.ts
+++ b/packages/services/src/issue/sites-issue.service.ts
@@ -1,6 +1,6 @@
// plane imports
import { API_BASE_URL } from "@plane/constants";
-import { IPublicIssue, TIssuePublicComment, TPublicIssuesResponse } from "@plane/types";
+import type { IPublicIssue, TIssuePublicComment, TPublicIssuesResponse } from "@plane/types";
// api service
import { APIService } from "../api.service";
diff --git a/packages/services/src/label/sites-label.service.ts b/packages/services/src/label/sites-label.service.ts
index 60ad96271a..0fb924f342 100644
--- a/packages/services/src/label/sites-label.service.ts
+++ b/packages/services/src/label/sites-label.service.ts
@@ -1,6 +1,6 @@
// plane imports
import { API_BASE_URL } from "@plane/constants";
-import { IIssueLabel } from "@plane/types";
+import type { IIssueLabel } from "@plane/types";
// api service
import { APIService } from "../api.service";
diff --git a/packages/services/src/module/sites-module.service.ts b/packages/services/src/module/sites-module.service.ts
index 333535ac38..b99b57955d 100644
--- a/packages/services/src/module/sites-module.service.ts
+++ b/packages/services/src/module/sites-module.service.ts
@@ -1,7 +1,7 @@
// plane imports
import { API_BASE_URL } from "@plane/constants";
// api service
-import { TPublicModule } from "@plane/types";
+import type { TPublicModule } from "@plane/types";
import { APIService } from "../api.service";
/**
diff --git a/packages/services/src/project/sites-publish.service.ts b/packages/services/src/project/sites-publish.service.ts
index 52d42f5ee4..af2c41a4f2 100644
--- a/packages/services/src/project/sites-publish.service.ts
+++ b/packages/services/src/project/sites-publish.service.ts
@@ -1,6 +1,6 @@
// plane imports
import { API_BASE_URL } from "@plane/constants";
-import { TProjectPublishSettings } from "@plane/types";
+import type { TProjectPublishSettings } from "@plane/types";
// api service
import { APIService } from "../api.service";
diff --git a/packages/services/src/state/sites-state.service.ts b/packages/services/src/state/sites-state.service.ts
index 98ff466d04..7cf325e492 100644
--- a/packages/services/src/state/sites-state.service.ts
+++ b/packages/services/src/state/sites-state.service.ts
@@ -1,6 +1,6 @@
// plane imports
import { API_BASE_URL } from "@plane/constants";
-import { IState } from "@plane/types";
+import type { IState } from "@plane/types";
// api service
import { APIService } from "../api.service";
diff --git a/packages/services/src/user/sites-member.service.ts b/packages/services/src/user/sites-member.service.ts
index 45cb80626b..33a4ef4f0d 100644
--- a/packages/services/src/user/sites-member.service.ts
+++ b/packages/services/src/user/sites-member.service.ts
@@ -1,6 +1,6 @@
// plane imports
import { API_BASE_URL } from "@plane/constants";
-import { TPublicMember } from "@plane/types";
+import type { TPublicMember } from "@plane/types";
// api service
import { APIService } from "../api.service";
diff --git a/packages/services/src/workspace/invitation.service.ts b/packages/services/src/workspace/invitation.service.ts
index 46088371f5..5cc74f5d5d 100644
--- a/packages/services/src/workspace/invitation.service.ts
+++ b/packages/services/src/workspace/invitation.service.ts
@@ -1,5 +1,5 @@
import { API_BASE_URL } from "@plane/constants";
-import { IWorkspaceMemberInvitation, IWorkspaceBulkInviteFormData, IWorkspaceMember } from "@plane/types";
+import type { IWorkspaceMemberInvitation, IWorkspaceBulkInviteFormData, IWorkspaceMember } from "@plane/types";
import { APIService } from "../api.service";
/**
diff --git a/packages/services/src/workspace/member.service.ts b/packages/services/src/workspace/member.service.ts
index e92225af38..af93336694 100644
--- a/packages/services/src/workspace/member.service.ts
+++ b/packages/services/src/workspace/member.service.ts
@@ -1,5 +1,5 @@
import { API_BASE_URL } from "@plane/constants";
-import { IWorkspaceMemberMe, IWorkspaceMember, IUserProjectsRole } from "@plane/types";
+import type { IWorkspaceMemberMe, IWorkspaceMember, IUserProjectsRole } from "@plane/types";
import { APIService } from "../api.service";
/**
diff --git a/packages/services/src/workspace/notification.service.ts b/packages/services/src/workspace/notification.service.ts
index a21f632222..30c588a043 100644
--- a/packages/services/src/workspace/notification.service.ts
+++ b/packages/services/src/workspace/notification.service.ts
@@ -1,5 +1,5 @@
import { API_BASE_URL } from "@plane/constants";
-import {
+import type {
TUnreadNotificationsCount,
TNotificationPaginatedInfo,
TNotification,
diff --git a/packages/services/src/workspace/view.service.ts b/packages/services/src/workspace/view.service.ts
index 0ea21f742e..995a16eb3c 100644
--- a/packages/services/src/workspace/view.service.ts
+++ b/packages/services/src/workspace/view.service.ts
@@ -1,5 +1,5 @@
import { API_BASE_URL } from "@plane/constants";
-import { IWorkspaceView, TIssuesResponse } from "@plane/types";
+import type { IWorkspaceView, TIssuesResponse } from "@plane/types";
import { APIService } from "../api.service";
export class WorkspaceViewService extends APIService {
diff --git a/packages/services/src/workspace/workspace.service.ts b/packages/services/src/workspace/workspace.service.ts
index 72ef9fcefd..14e84d2a22 100644
--- a/packages/services/src/workspace/workspace.service.ts
+++ b/packages/services/src/workspace/workspace.service.ts
@@ -1,5 +1,5 @@
import { API_BASE_URL } from "@plane/constants";
-import { IWorkspace, ILastActiveWorkspaceDetails, IWorkspaceSearchResults } from "@plane/types";
+import type { IWorkspace, ILastActiveWorkspaceDetails, IWorkspaceSearchResults } from "@plane/types";
import { APIService } from "../api.service";
/**
diff --git a/packages/shared-state/src/store/rich-filters/adapter.ts b/packages/shared-state/src/store/rich-filters/adapter.ts
index 1dc74a67ed..17e8b806ad 100644
--- a/packages/shared-state/src/store/rich-filters/adapter.ts
+++ b/packages/shared-state/src/store/rich-filters/adapter.ts
@@ -1,5 +1,5 @@
// plane imports
-import { IFilterAdapter, TExternalFilter, TFilterExpression, TFilterProperty } from "@plane/types";
+import type { IFilterAdapter, TExternalFilter, TFilterExpression, TFilterProperty } from "@plane/types";
/**
* Abstract base class for converting between external filter formats and internal filter expressions.
diff --git a/packages/shared-state/src/store/rich-filters/config-manager.ts b/packages/shared-state/src/store/rich-filters/config-manager.ts
index 6dc437bc24..4ef6af6d07 100644
--- a/packages/shared-state/src/store/rich-filters/config-manager.ts
+++ b/packages/shared-state/src/store/rich-filters/config-manager.ts
@@ -1,11 +1,13 @@
import { action, computed, makeObservable, observable } from "mobx";
import { computedFn } from "mobx-utils";
// plane imports
-import { DEFAULT_FILTER_CONFIG_OPTIONS, TConfigOptions } from "@plane/constants";
-import { TExternalFilter, TFilterConfig, TFilterProperty, TFilterValue } from "@plane/types";
+import type { TConfigOptions } from "@plane/constants";
+import { DEFAULT_FILTER_CONFIG_OPTIONS } from "@plane/constants";
+import type { TExternalFilter, TFilterConfig, TFilterProperty, TFilterValue } from "@plane/types";
// local imports
-import { FilterConfig, IFilterConfig } from "./config";
-import { IFilterInstance } from "./filter";
+import type { IFilterConfig } from "./config";
+import { FilterConfig } from "./config";
+import type { IFilterInstance } from "./filter";
/**
* Interface for managing filter configurations.
diff --git a/packages/shared-state/src/store/rich-filters/config.ts b/packages/shared-state/src/store/rich-filters/config.ts
index 57fe8fcf4b..c2cbabe5d1 100644
--- a/packages/shared-state/src/store/rich-filters/config.ts
+++ b/packages/shared-state/src/store/rich-filters/config.ts
@@ -3,8 +3,7 @@ import { action, computed, makeObservable, observable, runInAction } from "mobx"
import { computedFn } from "mobx-utils";
// plane imports
import { EMPTY_OPERATOR_LABEL } from "@plane/constants";
-import {
- FILTER_FIELD_TYPE,
+import type {
TSupportedOperators,
TFilterConfig,
TFilterProperty,
@@ -12,6 +11,7 @@ import {
TOperatorSpecificConfigs,
TAllAvailableOperatorsForDisplay,
} from "@plane/types";
+import { FILTER_FIELD_TYPE } from "@plane/types";
import {
getOperatorLabel,
isDateFilterType,
diff --git a/packages/shared-state/src/store/rich-filters/filter-helpers.ts b/packages/shared-state/src/store/rich-filters/filter-helpers.ts
index 9c57c3d718..dff175c073 100644
--- a/packages/shared-state/src/store/rich-filters/filter-helpers.ts
+++ b/packages/shared-state/src/store/rich-filters/filter-helpers.ts
@@ -1,10 +1,10 @@
import { cloneDeep } from "lodash-es";
import { action, makeObservable, observable, toJS } from "mobx";
// plane imports
-import { DEFAULT_FILTER_EXPRESSION_OPTIONS, TAutoVisibilityOptions, TExpressionOptions } from "@plane/constants";
-import {
+import type { TAutoVisibilityOptions, TExpressionOptions } from "@plane/constants";
+import { DEFAULT_FILTER_EXPRESSION_OPTIONS } from "@plane/constants";
+import type {
IFilterAdapter,
- LOGICAL_OPERATOR,
TSupportedOperators,
TFilterConditionNode,
TFilterExpression,
@@ -14,9 +14,10 @@ import {
TLogicalOperator,
TFilterConditionPayload,
} from "@plane/types";
+import { LOGICAL_OPERATOR } from "@plane/types";
import { addAndCondition, createConditionNode, updateNodeInExpression } from "@plane/utils";
// local imports
-import { type IFilterInstance } from "./filter";
+import type { IFilterInstance } from "./filter";
type TFilterInstanceHelperParams<P extends TFilterProperty, E extends TExternalFilter> = {
adapter: IFilterAdapter<P, E>;
diff --git a/packages/shared-state/src/store/rich-filters/filter.ts b/packages/shared-state/src/store/rich-filters/filter.ts
index 5fe35cc36e..9166dd6fe7 100644
--- a/packages/shared-state/src/store/rich-filters/filter.ts
+++ b/packages/shared-state/src/store/rich-filters/filter.ts
@@ -3,16 +3,15 @@ import { action, computed, makeObservable, observable, toJS } from "mobx";
import { computedFn } from "mobx-utils";
import { v4 as uuidv4 } from "uuid";
// plane imports
-import {
- DEFAULT_FILTER_VISIBILITY_OPTIONS,
+import type {
TClearFilterOptions,
TExpressionOptions,
TFilterOptions,
TSaveViewOptions,
TUpdateViewOptions,
} from "@plane/constants";
-import {
- FILTER_NODE_TYPE,
+import { DEFAULT_FILTER_VISIBILITY_OPTIONS } from "@plane/constants";
+import type {
IFilterAdapter,
SingleOrArray,
TAllAvailableOperatorsForDisplay,
@@ -26,6 +25,7 @@ import {
TLogicalOperator,
TSupportedOperators,
} from "@plane/types";
+import { FILTER_NODE_TYPE } from "@plane/types";
// local imports
import {
deepCompareFilterExpressions,
@@ -39,8 +39,10 @@ import {
shouldNotifyChangeForExpression,
updateNodeInExpression,
} from "@plane/utils";
-import { FilterConfigManager, IFilterConfigManager } from "./config-manager";
-import { FilterInstanceHelper, IFilterInstanceHelper } from "./filter-helpers";
+import type { IFilterConfigManager } from "./config-manager";
+import { FilterConfigManager } from "./config-manager";
+import type { IFilterInstanceHelper } from "./filter-helpers";
+import { FilterInstanceHelper } from "./filter-helpers";
/**
* Interface for a filter instance.
diff --git a/packages/shared-state/src/store/user.store.ts b/packages/shared-state/src/store/user.store.ts
index f7f30f5baa..2a0c30ef0d 100644
--- a/packages/shared-state/src/store/user.store.ts
+++ b/packages/shared-state/src/store/user.store.ts
@@ -1,5 +1,5 @@
import { makeObservable, observable } from "mobx";
-import { IWorkspaceStore } from "./workspace.store";
+import type { IWorkspaceStore } from "./workspace.store";
export interface IUserStore {
user: any;
diff --git a/packages/shared-state/src/store/work-item-filters/adapter.ts b/packages/shared-state/src/store/work-item-filters/adapter.ts
index 5785dde1a0..0e61749c35 100644
--- a/packages/shared-state/src/store/work-item-filters/adapter.ts
+++ b/packages/shared-state/src/store/work-item-filters/adapter.ts
@@ -1,8 +1,6 @@
// plane imports
import { isEmpty } from "lodash-es";
-import {
- LOGICAL_OPERATOR,
- MULTI_VALUE_OPERATORS,
+import type {
SingleOrArray,
TFilterExpression,
TFilterValue,
@@ -12,8 +10,8 @@ import {
TWorkItemFilterExpression,
TWorkItemFilterExpressionData,
TWorkItemFilterProperty,
- WORK_ITEM_FILTER_PROPERTY_KEYS,
} from "@plane/types";
+import { LOGICAL_OPERATOR, MULTI_VALUE_OPERATORS, WORK_ITEM_FILTER_PROPERTY_KEYS } from "@plane/types";
import { createConditionNode, createAndGroupNode, isAndGroupNode, isConditionNode } from "@plane/utils";
// local imports
import { FilterAdapter } from "../rich-filters/adapter";
diff --git a/packages/shared-state/src/store/work-item-filters/filter.store.ts b/packages/shared-state/src/store/work-item-filters/filter.store.ts
index e07b9855dd..beaa4cd367 100644
--- a/packages/shared-state/src/store/work-item-filters/filter.store.ts
+++ b/packages/shared-state/src/store/work-item-filters/filter.store.ts
@@ -1,14 +1,16 @@
import { action, makeObservable, observable } from "mobx";
import { computedFn } from "mobx-utils";
// plane imports
-import { TExpressionOptions } from "@plane/constants";
-import { EIssuesStoreType, LOGICAL_OPERATOR, TWorkItemFilterExpression, TWorkItemFilterProperty } from "@plane/types";
+import type { TExpressionOptions } from "@plane/constants";
+import type { EIssuesStoreType, TWorkItemFilterExpression, TWorkItemFilterProperty } from "@plane/types";
+import { LOGICAL_OPERATOR } from "@plane/types";
import { getOperatorForPayload } from "@plane/utils";
// local imports
-import { buildWorkItemFilterExpressionFromConditions, TWorkItemFilterCondition } from "../../utils";
+import type { TWorkItemFilterCondition } from "../../utils";
+import { buildWorkItemFilterExpressionFromConditions } from "../../utils";
import { FilterInstance } from "../rich-filters/filter";
import { workItemFiltersAdapter } from "./adapter";
-import { IWorkItemFilterInstance, TWorkItemFilterKey } from "./shared";
+import type { IWorkItemFilterInstance, TWorkItemFilterKey } from "./shared";
type TGetOrCreateFilterParams = {
showOnMount?: boolean;
diff --git a/packages/shared-state/src/store/work-item-filters/shared.ts b/packages/shared-state/src/store/work-item-filters/shared.ts
index c8e9a6a845..c2a4056ca1 100644
--- a/packages/shared-state/src/store/work-item-filters/shared.ts
+++ b/packages/shared-state/src/store/work-item-filters/shared.ts
@@ -1,7 +1,7 @@
// plane imports
-import { EIssuesStoreType, TWorkItemFilterExpression, TWorkItemFilterProperty } from "@plane/types";
+import type { EIssuesStoreType, TWorkItemFilterExpression, TWorkItemFilterProperty } from "@plane/types";
// local imports
-import { IFilterInstance } from "../rich-filters";
+import type { IFilterInstance } from "../rich-filters";
export type TWorkItemFilterKey = `${EIssuesStoreType}-${string}`;
diff --git a/packages/shared-state/src/utils/rich-filter.helper.ts b/packages/shared-state/src/utils/rich-filter.helper.ts
index 3d1533fccf..255be5c870 100644
--- a/packages/shared-state/src/utils/rich-filter.helper.ts
+++ b/packages/shared-state/src/utils/rich-filter.helper.ts
@@ -1,11 +1,6 @@
// plane imports
-import {
- LOGICAL_OPERATOR,
- TBuildFilterExpressionParams,
- TExternalFilter,
- TFilterProperty,
- TFilterValue,
-} from "@plane/types";
+import type { TBuildFilterExpressionParams, TExternalFilter, TFilterProperty, TFilterValue } from "@plane/types";
+import { LOGICAL_OPERATOR } from "@plane/types";
import { getOperatorForPayload } from "@plane/utils";
// local imports
import { FilterInstance } from "../store/rich-filters/filter";
diff --git a/packages/shared-state/src/utils/work-item-filters.helper.ts b/packages/shared-state/src/utils/work-item-filters.helper.ts
index 8763e3f759..8e815743d4 100644
--- a/packages/shared-state/src/utils/work-item-filters.helper.ts
+++ b/packages/shared-state/src/utils/work-item-filters.helper.ts
@@ -1,5 +1,5 @@
// plane imports
-import {
+import type {
TBuildFilterExpressionParams,
TFilterConditionForBuild,
TFilterValue,
diff --git a/packages/types/src/ai.ts b/packages/types/src/ai.ts
index d1c2d24412..cbc7fabe40 100644
--- a/packages/types/src/ai.ts
+++ b/packages/types/src/ai.ts
@@ -1,5 +1,5 @@
-import { IProjectLite } from "./project";
-import { IWorkspaceLite } from "./workspace";
+import type { IProjectLite } from "./project";
+import type { IWorkspaceLite } from "./workspace";
export interface IGptResponse {
response: string;
diff --git a/packages/types/src/analytics.ts b/packages/types/src/analytics.ts
index aa1b1e1266..119a4aed09 100644
--- a/packages/types/src/analytics.ts
+++ b/packages/types/src/analytics.ts
@@ -1,4 +1,4 @@
-import { TChartData } from "./charts";
+import type { TChartData } from "./charts";
export enum ChartXAxisProperty {
STATES = "STATES",
diff --git a/packages/types/src/dashboard.ts b/packages/types/src/dashboard.ts
index b928430bab..135325841d 100644
--- a/packages/types/src/dashboard.ts
+++ b/packages/types/src/dashboard.ts
@@ -1,8 +1,8 @@
-import { EDurationFilters } from "./enums";
-import { IIssueActivity, TIssuePriorities } from "./issues";
-import { TIssue } from "./issues/issue";
-import { TIssueRelationTypes } from "./issues/issue_relation";
-import { TStateGroups } from "./state";
+import type { EDurationFilters } from "./enums";
+import type { IIssueActivity, TIssuePriorities } from "./issues";
+import type { TIssue } from "./issues/issue";
+import type { TIssueRelationTypes } from "./issues/issue_relation";
+import type { TStateGroups } from "./state";
export type TWidgetKeys =
| "overview_stats"
diff --git a/packages/types/src/de-dupe.ts b/packages/types/src/de-dupe.ts
index e6105a0c04..b36a780465 100644
--- a/packages/types/src/de-dupe.ts
+++ b/packages/types/src/de-dupe.ts
@@ -1,4 +1,4 @@
-import { TIssuePriorities } from "./issues";
+import type { TIssuePriorities } from "./issues";
export type TDuplicateIssuePayload = {
title: string;
diff --git a/packages/types/src/estimate.ts b/packages/types/src/estimate.ts
index 0de2019fa0..969f76a921 100644
--- a/packages/types/src/estimate.ts
+++ b/packages/types/src/estimate.ts
@@ -1,4 +1,4 @@
-import { EEstimateSystem, EEstimateUpdateStages } from "./enums";
+import type { EEstimateSystem, EEstimateUpdateStages } from "./enums";
export interface IEstimatePoint {
id: string | undefined;
diff --git a/packages/types/src/favorite/favorite.ts b/packages/types/src/favorite/favorite.ts
index 65df793840..b5404167e9 100644
--- a/packages/types/src/favorite/favorite.ts
+++ b/packages/types/src/favorite/favorite.ts
@@ -1,4 +1,4 @@
-import { TLogoProps } from "../common";
+import type { TLogoProps } from "../common";
export type IFavorite = {
id: string;
diff --git a/packages/types/src/file.ts b/packages/types/src/file.ts
index d26533221b..2a60559563 100644
--- a/packages/types/src/file.ts
+++ b/packages/types/src/file.ts
@@ -1,4 +1,4 @@
-import { EFileAssetType } from "./enums";
+import type { EFileAssetType } from "./enums";
export type TFileMetaDataLite = {
name: string;
diff --git a/packages/types/src/home.ts b/packages/types/src/home.ts
index f34c15380c..107daeb218 100644
--- a/packages/types/src/home.ts
+++ b/packages/types/src/home.ts
@@ -1,5 +1,5 @@
-import { TLogoProps } from "./common";
-import { TIssuePriorities } from "./issues";
+import type { TLogoProps } from "./common";
+import type { TIssuePriorities } from "./issues";
export type TRecentActivityFilterKeys = "all item" | "issue" | "page" | "project" | "workspace_page";
export type THomeWidgetKeys = "quick_links" | "recents" | "my_stickies" | "quick_tutorial" | "new_at_plane";
diff --git a/packages/types/src/importer/index.ts b/packages/types/src/importer/index.ts
index 271d685b64..99a262d473 100644
--- a/packages/types/src/importer/index.ts
+++ b/packages/types/src/importer/index.ts
@@ -1,9 +1,9 @@
export * from "./github-importer";
export * from "./jira-importer";
-import { IProjectLite } from "../project";
+import type { IProjectLite } from "../project";
// types
-import { IUserLite } from "../users";
+import type { IUserLite } from "../users";
export interface IImporterService {
created_at: string;
diff --git a/packages/types/src/inbox.ts b/packages/types/src/inbox.ts
index d439f333a4..daf936da39 100644
--- a/packages/types/src/inbox.ts
+++ b/packages/types/src/inbox.ts
@@ -1,7 +1,7 @@
// plane types
-import { TPaginationInfo } from "./common";
-import { TIssuePriorities } from "./issues";
-import { TIssue } from "./issues/issue";
+import type { TPaginationInfo } from "./common";
+import type { TIssuePriorities } from "./issues";
+import type { TIssue } from "./issues/issue";
export enum EInboxIssueCurrentTab {
OPEN = "open",
diff --git a/packages/types/src/instance/base.ts b/packages/types/src/instance/base.ts
index 8f3a0c6486..742698f563 100644
--- a/packages/types/src/instance/base.ts
+++ b/packages/types/src/instance/base.ts
@@ -1,5 +1,5 @@
-import { IUserLite } from "../users";
-import {
+import type { IUserLite } from "../users";
+import type {
TInstanceAIConfigurationKeys,
TInstanceEmailConfigurationKeys,
TInstanceImageConfigurationKeys,
diff --git a/packages/types/src/issues.ts b/packages/types/src/issues.ts
index 44bb09e754..7d7aba3d50 100644
--- a/packages/types/src/issues.ts
+++ b/packages/types/src/issues.ts
@@ -1,17 +1,17 @@
-import { ICycle } from "./cycle";
-import { TIssue } from "./issues/issue";
-import { IModule } from "./module";
-import { IProjectLite } from "./project";
-import { IStateLite } from "./state";
-import { IUserLite } from "./users";
-import {
+import type { ICycle } from "./cycle";
+import type { TIssue } from "./issues/issue";
+import type { IModule } from "./module";
+import type { IProjectLite } from "./project";
+import type { IStateLite } from "./state";
+import type { IUserLite } from "./users";
+import type {
IIssueDisplayProperties,
TIssueExtraOptions,
TIssueGroupByOptions,
TIssueGroupingFilters,
TIssueOrderByOptions,
} from "./view-props";
-import { IWorkspaceLite, Properties } from "./workspace";
+import type { IWorkspaceLite, Properties } from "./workspace";
export interface IIssueCycle {
id: string;
diff --git a/packages/types/src/issues/activity/base.ts b/packages/types/src/issues/activity/base.ts
index e239ef9f01..b822fd25f8 100644
--- a/packages/types/src/issues/activity/base.ts
+++ b/packages/types/src/issues/activity/base.ts
@@ -2,7 +2,7 @@ export * from "./issue_activity";
export * from "./issue_comment";
export * from "./issue_comment_reaction";
-import { TIssuePriorities } from "../../issues";
+import type { TIssuePriorities } from "../../issues";
// root types
export type TIssueActivityWorkspaceDetail = {
diff --git a/packages/types/src/issues/activity/issue_activity.ts b/packages/types/src/issues/activity/issue_activity.ts
index bb71864e41..16bf355d1d 100644
--- a/packages/types/src/issues/activity/issue_activity.ts
+++ b/packages/types/src/issues/activity/issue_activity.ts
@@ -1,6 +1,6 @@
// local imports
-import { EInboxIssueSource } from "../../inbox";
-import {
+import type { EInboxIssueSource } from "../../inbox";
+import type {
TIssueActivityWorkspaceDetail,
TIssueActivityProjectDetail,
TIssueActivityIssueDetail,
diff --git a/packages/types/src/issues/activity/issue_comment.ts b/packages/types/src/issues/activity/issue_comment.ts
index f5db3679e2..a4d887be54 100644
--- a/packages/types/src/issues/activity/issue_comment.ts
+++ b/packages/types/src/issues/activity/issue_comment.ts
@@ -1,9 +1,9 @@
-import { JSONContent } from "../../editor";
-import { EIssueCommentAccessSpecifier } from "../../enums";
-import { TFileSignedURLResponse } from "../../file";
-import { IUserLite } from "../../users";
-import { IWorkspaceLite } from "../../workspace";
-import {
+import type { JSONContent } from "../../editor";
+import type { EIssueCommentAccessSpecifier } from "../../enums";
+import type { TFileSignedURLResponse } from "../../file";
+import type { IUserLite } from "../../users";
+import type { IWorkspaceLite } from "../../workspace";
+import type {
TIssueActivityWorkspaceDetail,
TIssueActivityProjectDetail,
TIssueActivityIssueDetail,
diff --git a/packages/types/src/issues/issue.ts b/packages/types/src/issues/issue.ts
index 85069632eb..f24e2718c9 100644
--- a/packages/types/src/issues/issue.ts
+++ b/packages/types/src/issues/issue.ts
@@ -1,9 +1,9 @@
-import { TIssuePriorities } from "../issues";
-import { TIssuePublicComment } from "./activity/issue_comment";
-import { TIssueAttachment } from "./issue_attachment";
-import { TIssueLink } from "./issue_link";
-import { TIssueReaction, IIssuePublicReaction, IPublicVote } from "./issue_reaction";
-import { TIssueRelationTypes } from "./issue_relation";
+import type { TIssuePriorities } from "../issues";
+import type { TIssuePublicComment } from "./activity/issue_comment";
+import type { TIssueAttachment } from "./issue_attachment";
+import type { TIssueLink } from "./issue_link";
+import type { TIssueReaction, IIssuePublicReaction, IPublicVote } from "./issue_reaction";
+import type { TIssueRelationTypes } from "./issue_relation";
export enum EIssueLayoutTypes {
LIST = "list",
diff --git a/packages/types/src/issues/issue_attachment.ts b/packages/types/src/issues/issue_attachment.ts
index d118568afd..69d24c03d6 100644
--- a/packages/types/src/issues/issue_attachment.ts
+++ b/packages/types/src/issues/issue_attachment.ts
@@ -1,4 +1,4 @@
-import { TFileSignedURLResponse } from "../file";
+import type { TFileSignedURLResponse } from "../file";
export type TIssueAttachment = {
id: string;
diff --git a/packages/types/src/issues/issue_reaction.ts b/packages/types/src/issues/issue_reaction.ts
index bb0bf7a6a2..579ee2be64 100644
--- a/packages/types/src/issues/issue_reaction.ts
+++ b/packages/types/src/issues/issue_reaction.ts
@@ -1,4 +1,4 @@
-import { IUserLite } from "../users";
+import type { IUserLite } from "../users";
export type TIssueReaction = {
actor: string;
diff --git a/packages/types/src/issues/issue_relation.ts b/packages/types/src/issues/issue_relation.ts
index 53dc178f41..7d4c9d4150 100644
--- a/packages/types/src/issues/issue_relation.ts
+++ b/packages/types/src/issues/issue_relation.ts
@@ -1,4 +1,4 @@
-import { TIssue } from "./issue";
+import type { TIssue } from "./issue";
export type TIssueRelation = Record<TIssueRelationTypes, TIssue[]>;
diff --git a/packages/types/src/issues/issue_sub_issues.ts b/packages/types/src/issues/issue_sub_issues.ts
index d78d695036..fbfc7fe0e5 100644
--- a/packages/types/src/issues/issue_sub_issues.ts
+++ b/packages/types/src/issues/issue_sub_issues.ts
@@ -1,4 +1,4 @@
-import { TIssue } from "./issue";
+import type { TIssue } from "./issue";
export type TSubIssuesStateDistribution = {
backlog: string[];
diff --git a/packages/types/src/page/core.ts b/packages/types/src/page/core.ts
index 9351d7d272..99b4641885 100644
--- a/packages/types/src/page/core.ts
+++ b/packages/types/src/page/core.ts
@@ -1,6 +1,6 @@
-import { TLogoProps } from "../common";
-import { EPageAccess } from "../enums";
-import { TPageExtended } from "./extended";
+import type { TLogoProps } from "../common";
+import type { EPageAccess } from "../enums";
+import type { TPageExtended } from "./extended";
export type TPage = {
access: EPageAccess | undefined;
diff --git a/packages/types/src/project/projects.ts b/packages/types/src/project/projects.ts
index 6927688752..afcb28793c 100644
--- a/packages/types/src/project/projects.ts
+++ b/packages/types/src/project/projects.ts
@@ -1,6 +1,6 @@
-import { TLogoProps } from "../common";
-import { TUserPermissions } from "../enums";
-import { TStateGroups } from "../state";
+import type { TLogoProps } from "../common";
+import type { TUserPermissions } from "../enums";
+import type { TStateGroups } from "../state";
import type { IUser, IUserLite } from "../users";
import type { IWorkspace } from "../workspace";
diff --git a/packages/types/src/publish.ts b/packages/types/src/publish.ts
index 358d6e5dae..646fc4c854 100644
--- a/packages/types/src/publish.ts
+++ b/packages/types/src/publish.ts
@@ -1,5 +1,5 @@
-import { IProject, IProjectLite } from "./project";
-import { IWorkspaceLite } from "./workspace";
+import type { IProject, IProjectLite } from "./project";
+import type { IWorkspaceLite } from "./workspace";
export type TPublishEntityType = "project" | "page";
diff --git a/packages/types/src/reaction.ts b/packages/types/src/reaction.ts
index 7913b98703..b87a2c68de 100644
--- a/packages/types/src/reaction.ts
+++ b/packages/types/src/reaction.ts
@@ -1,4 +1,4 @@
-import { IUserLite } from "./users";
+import type { IUserLite } from "./users";
export interface IIssueReaction {
actor: string;
diff --git a/packages/types/src/rich-filters/adapter.ts b/packages/types/src/rich-filters/adapter.ts
index 8641ec33f2..ddcada6d5d 100644
--- a/packages/types/src/rich-filters/adapter.ts
+++ b/packages/types/src/rich-filters/adapter.ts
@@ -1,5 +1,5 @@
// local imports
-import { TFilterExpression, TFilterProperty } from "./expression";
+import type { TFilterExpression, TFilterProperty } from "./expression";
/**
* External filter format
diff --git a/packages/types/src/rich-filters/builder.ts b/packages/types/src/rich-filters/builder.ts
index 1dc0847fa7..4fea4305db 100644
--- a/packages/types/src/rich-filters/builder.ts
+++ b/packages/types/src/rich-filters/builder.ts
@@ -1,7 +1,7 @@
-import { SingleOrArray } from "../utils";
-import { IFilterAdapter, TExternalFilter } from "./adapter";
-import { TFilterProperty, TFilterValue } from "./expression";
-import { TAllAvailableOperatorsForDisplay } from "./operators";
+import type { SingleOrArray } from "../utils";
+import type { IFilterAdapter, TExternalFilter } from "./adapter";
+import type { TFilterProperty, TFilterValue } from "./expression";
+import type { TAllAvailableOperatorsForDisplay } from "./operators";
/**
* Condition payload for building filter expressions.
diff --git a/packages/types/src/rich-filters/config/filter-config.ts b/packages/types/src/rich-filters/config/filter-config.ts
index de84a65968..e35a29257b 100644
--- a/packages/types/src/rich-filters/config/filter-config.ts
+++ b/packages/types/src/rich-filters/config/filter-config.ts
@@ -1,5 +1,5 @@
-import { TFilterProperty, TFilterValue } from "../expression";
-import { TOperatorConfigMap } from "../operator-configs";
+import type { TFilterProperty, TFilterValue } from "../expression";
+import type { TOperatorConfigMap } from "../operator-configs";
/**
* Main filter configuration type for different properties.
diff --git a/packages/types/src/rich-filters/derived/core.ts b/packages/types/src/rich-filters/derived/core.ts
index 23c960c90b..5eec05ad0e 100644
--- a/packages/types/src/rich-filters/derived/core.ts
+++ b/packages/types/src/rich-filters/derived/core.ts
@@ -1,12 +1,12 @@
-import { TFilterValue } from "../expression";
-import {
+import type { TFilterValue } from "../expression";
+import type {
TDateFilterFieldConfig,
TDateRangeFilterFieldConfig,
TSingleSelectFilterFieldConfig,
TMultiSelectFilterFieldConfig,
} from "../field-types";
-import { TCoreOperatorSpecificConfigs } from "../operator-configs";
-import { TFilterOperatorHelper } from "./shared";
+import type { TCoreOperatorSpecificConfigs } from "../operator-configs";
+import type { TFilterOperatorHelper } from "./shared";
// -------- DATE FILTER OPERATORS --------
diff --git a/packages/types/src/rich-filters/derived/extended.ts b/packages/types/src/rich-filters/derived/extended.ts
index 118e5b87b2..c5fc9b8215 100644
--- a/packages/types/src/rich-filters/derived/extended.ts
+++ b/packages/types/src/rich-filters/derived/extended.ts
@@ -1,4 +1,4 @@
-import { TFilterValue } from "../expression";
+import type { TFilterValue } from "../expression";
// -------- DATE FILTER OPERATORS --------
diff --git a/packages/types/src/rich-filters/derived/index.ts b/packages/types/src/rich-filters/derived/index.ts
index cc31c946ce..67f84aa6b4 100644
--- a/packages/types/src/rich-filters/derived/index.ts
+++ b/packages/types/src/rich-filters/derived/index.ts
@@ -1,11 +1,11 @@
-import { TFilterValue } from "../expression";
-import {
+import type { TFilterValue } from "../expression";
+import type {
TCoreAllAvailableDateFilterOperatorsForDisplay,
TCoreAllAvailableSelectFilterOperatorsForDisplay,
TCoreSupportedDateFilterOperators,
TCoreSupportedSelectFilterOperators,
} from "./core";
-import {
+import type {
TExtendedAllAvailableDateFilterOperatorsForDisplay,
TExtendedAllAvailableSelectFilterOperatorsForDisplay,
TExtendedSupportedDateFilterOperators,
diff --git a/packages/types/src/rich-filters/expression.ts b/packages/types/src/rich-filters/expression.ts
index 10d115e84b..82d5aa4089 100644
--- a/packages/types/src/rich-filters/expression.ts
+++ b/packages/types/src/rich-filters/expression.ts
@@ -1,6 +1,6 @@
// local imports
-import { SingleOrArray } from "../utils";
-import { TSupportedOperators, LOGICAL_OPERATOR, TAllAvailableOperatorsForDisplay } from "./operators";
+import type { SingleOrArray } from "../utils";
+import type { TSupportedOperators, LOGICAL_OPERATOR, TAllAvailableOperatorsForDisplay } from "./operators";
/**
* Filter node types for building hierarchical filter trees.
diff --git a/packages/types/src/rich-filters/field-types/core.ts b/packages/types/src/rich-filters/field-types/core.ts
index 504979f217..ed88466afb 100644
--- a/packages/types/src/rich-filters/field-types/core.ts
+++ b/packages/types/src/rich-filters/field-types/core.ts
@@ -1,6 +1,6 @@
-import { TFilterValue } from "../expression";
-import { TSupportedOperators } from "../operators";
-import { TBaseFilterFieldConfig, IFilterOption } from "./shared";
+import type { TFilterValue } from "../expression";
+import type { TSupportedOperators } from "../operators";
+import type { TBaseFilterFieldConfig, IFilterOption } from "./shared";
/**
* Core filter types
diff --git a/packages/types/src/rich-filters/field-types/extended.ts b/packages/types/src/rich-filters/field-types/extended.ts
index 80922fbd00..7c7bbf3264 100644
--- a/packages/types/src/rich-filters/field-types/extended.ts
+++ b/packages/types/src/rich-filters/field-types/extended.ts
@@ -1,4 +1,4 @@
-import { TFilterValue } from "../expression";
+import type { TFilterValue } from "../expression";
/**
* Extended filter types
diff --git a/packages/types/src/rich-filters/field-types/index.ts b/packages/types/src/rich-filters/field-types/index.ts
index 946c38cda2..303cd03e28 100644
--- a/packages/types/src/rich-filters/field-types/index.ts
+++ b/packages/types/src/rich-filters/field-types/index.ts
@@ -1,6 +1,8 @@
-import { TFilterValue } from "../expression";
-import { CORE_FILTER_FIELD_TYPE, TCoreFilterFieldConfigs } from "./core";
-import { EXTENDED_FILTER_FIELD_TYPE, TExtendedFilterFieldConfigs } from "./extended";
+import type { TFilterValue } from "../expression";
+import type { TCoreFilterFieldConfigs } from "./core";
+import { CORE_FILTER_FIELD_TYPE } from "./core";
+import type { TExtendedFilterFieldConfigs } from "./extended";
+import { EXTENDED_FILTER_FIELD_TYPE } from "./extended";
// -------- COMPOSED FILTER TYPES --------
diff --git a/packages/types/src/rich-filters/field-types/shared.ts b/packages/types/src/rich-filters/field-types/shared.ts
index 8626837f1a..e4f6f1a9d1 100644
--- a/packages/types/src/rich-filters/field-types/shared.ts
+++ b/packages/types/src/rich-filters/field-types/shared.ts
@@ -1,4 +1,4 @@
-import { TFilterValue } from "../expression";
+import type { TFilterValue } from "../expression";
/**
* Negative operator configuration for operators.
diff --git a/packages/types/src/rich-filters/operator-configs/core.ts b/packages/types/src/rich-filters/operator-configs/core.ts
index 9943611594..df2cd1210d 100644
--- a/packages/types/src/rich-filters/operator-configs/core.ts
+++ b/packages/types/src/rich-filters/operator-configs/core.ts
@@ -1,11 +1,11 @@
-import { TFilterValue } from "../expression";
-import {
+import type { TFilterValue } from "../expression";
+import type {
TDateFilterFieldConfig,
TDateRangeFilterFieldConfig,
TSingleSelectFilterFieldConfig,
TMultiSelectFilterFieldConfig,
} from "../field-types";
-import { CORE_COLLECTION_OPERATOR, CORE_COMPARISON_OPERATOR, CORE_EQUALITY_OPERATOR } from "../operators";
+import type { CORE_COLLECTION_OPERATOR, CORE_COMPARISON_OPERATOR, CORE_EQUALITY_OPERATOR } from "../operators";
// ----------------------------- EXACT Operator -----------------------------
export type TCoreExactOperatorConfigs<V extends TFilterValue> =
diff --git a/packages/types/src/rich-filters/operator-configs/extended.ts b/packages/types/src/rich-filters/operator-configs/extended.ts
index 19f2870c13..6004b9ce75 100644
--- a/packages/types/src/rich-filters/operator-configs/extended.ts
+++ b/packages/types/src/rich-filters/operator-configs/extended.ts
@@ -1,4 +1,4 @@
-import { TFilterValue } from "../expression";
+import type { TFilterValue } from "../expression";
// ----------------------------- EXACT Operator -----------------------------
export type TExtendedExactOperatorConfigs<_V extends TFilterValue> = never;
diff --git a/packages/types/src/rich-filters/operator-configs/index.ts b/packages/types/src/rich-filters/operator-configs/index.ts
index 4b863c3064..252df7fe8a 100644
--- a/packages/types/src/rich-filters/operator-configs/index.ts
+++ b/packages/types/src/rich-filters/operator-configs/index.ts
@@ -1,7 +1,7 @@
-import { TFilterValue } from "../expression";
-import { EQUALITY_OPERATOR, COLLECTION_OPERATOR, COMPARISON_OPERATOR } from "../operators";
-import { TCoreExactOperatorConfigs, TCoreInOperatorConfigs, TCoreRangeOperatorConfigs } from "./core";
-import {
+import type { TFilterValue } from "../expression";
+import type { EQUALITY_OPERATOR, COLLECTION_OPERATOR, COMPARISON_OPERATOR } from "../operators";
+import type { TCoreExactOperatorConfigs, TCoreInOperatorConfigs, TCoreRangeOperatorConfigs } from "./core";
+import type {
TExtendedExactOperatorConfigs,
TExtendedInOperatorConfigs,
TExtendedOperatorSpecificConfigs,
diff --git a/packages/types/src/rich-filters/operators/index.ts b/packages/types/src/rich-filters/operators/index.ts
index bcfd3cbba6..d7fe9baa43 100644
--- a/packages/types/src/rich-filters/operators/index.ts
+++ b/packages/types/src/rich-filters/operators/index.ts
@@ -1,17 +1,17 @@
+import type { TCoreSupportedOperators } from "./core";
import {
CORE_LOGICAL_OPERATOR,
CORE_EQUALITY_OPERATOR,
CORE_COLLECTION_OPERATOR,
CORE_COMPARISON_OPERATOR,
- TCoreSupportedOperators,
CORE_MULTI_VALUE_OPERATORS,
} from "./core";
+import type { TExtendedSupportedOperators } from "./extended";
import {
EXTENDED_LOGICAL_OPERATOR,
EXTENDED_EQUALITY_OPERATOR,
EXTENDED_COLLECTION_OPERATOR,
EXTENDED_COMPARISON_OPERATOR,
- TExtendedSupportedOperators,
EXTENDED_MULTI_VALUE_OPERATORS,
} from "./extended";
diff --git a/packages/types/src/search.ts b/packages/types/src/search.ts
index 413ca6bc03..eb49579858 100644
--- a/packages/types/src/search.ts
+++ b/packages/types/src/search.ts
@@ -1,10 +1,10 @@
-import { ICycle } from "./cycle";
-import { TIssue } from "./issues/issue";
-import { IModule } from "./module";
-import { TPage } from "./page";
-import { IProject } from "./project";
-import { IUser } from "./users";
-import { IWorkspace } from "./workspace";
+import type { ICycle } from "./cycle";
+import type { TIssue } from "./issues/issue";
+import type { IModule } from "./module";
+import type { TPage } from "./page";
+import type { IProject } from "./project";
+import type { IUser } from "./users";
+import type { IWorkspace } from "./workspace";
export type TSearchEntities = "user_mention" | "issue" | "project" | "cycle" | "module" | "page";
diff --git a/packages/types/src/stickies.ts b/packages/types/src/stickies.ts
index ffa19e84fa..e8fefa1df0 100644
--- a/packages/types/src/stickies.ts
+++ b/packages/types/src/stickies.ts
@@ -1,4 +1,4 @@
-import { TLogoProps } from "./common";
+import type { TLogoProps } from "./common";
export type TSticky = {
created_at?: string | undefined;
diff --git a/packages/types/src/users.ts b/packages/types/src/users.ts
index 170492dc68..ef1bfa5a2d 100644
--- a/packages/types/src/users.ts
+++ b/packages/types/src/users.ts
@@ -1,5 +1,5 @@
-import { TUserPermissions } from "./enums";
-import { IIssueActivity, TIssuePriorities, TStateGroups } from ".";
+import type { TUserPermissions } from "./enums";
+import type { IIssueActivity, TIssuePriorities, TStateGroups } from ".";
/**
* @description The start of the week for the user
diff --git a/packages/types/src/view-props.ts b/packages/types/src/view-props.ts
index 04f4dcc85b..7211b58a4a 100644
--- a/packages/types/src/view-props.ts
+++ b/packages/types/src/view-props.ts
@@ -1,6 +1,6 @@
-import { TIssue } from "./issues/issue";
-import { LOGICAL_OPERATOR, TSupportedOperators } from "./rich-filters";
-import { CompleteOrEmpty } from "./utils";
+import type { TIssue } from "./issues/issue";
+import type { LOGICAL_OPERATOR, TSupportedOperators } from "./rich-filters";
+import type { CompleteOrEmpty } from "./utils";
export type TIssueLayouts = "list" | "kanban" | "calendar" | "spreadsheet" | "gantt_chart";
diff --git a/packages/types/src/views.ts b/packages/types/src/views.ts
index 42fc3ef411..a44e5c61fa 100644
--- a/packages/types/src/views.ts
+++ b/packages/types/src/views.ts
@@ -1,5 +1,5 @@
-import { TLogoProps } from "./common";
-import {
+import type { TLogoProps } from "./common";
+import type {
IIssueDisplayFilterOptions,
IIssueDisplayProperties,
IIssueFilterOptions,
diff --git a/packages/types/src/workspace-draft-issues/base.ts b/packages/types/src/workspace-draft-issues/base.ts
index 8090a9cb79..30185a0b02 100644
--- a/packages/types/src/workspace-draft-issues/base.ts
+++ b/packages/types/src/workspace-draft-issues/base.ts
@@ -1,4 +1,4 @@
-import { TIssuePriorities } from "../issues";
+import type { TIssuePriorities } from "../issues";
export type TWorkspaceDraftIssue = {
id: string;
diff --git a/packages/types/src/workspace-notifications.ts b/packages/types/src/workspace-notifications.ts
index b6856154eb..d9994f17a8 100644
--- a/packages/types/src/workspace-notifications.ts
+++ b/packages/types/src/workspace-notifications.ts
@@ -1,4 +1,4 @@
-import { ENotificationFilterType } from "./enums";
+import type { ENotificationFilterType } from "./enums";
import type { IUserLite } from "./users";
// filters
diff --git a/packages/types/src/workspace-views.ts b/packages/types/src/workspace-views.ts
index f31cdc2bd0..924d2e19da 100644
--- a/packages/types/src/workspace-views.ts
+++ b/packages/types/src/workspace-views.ts
@@ -1,10 +1,10 @@
-import {
+import type {
IWorkspaceViewProps,
IIssueDisplayFilterOptions,
IIssueDisplayProperties,
TWorkItemFilterExpression,
} from "./view-props";
-import { EViewAccess } from "./views";
+import type { EViewAccess } from "./views";
export interface IWorkspaceView {
id: string;
diff --git a/packages/types/src/workspace.ts b/packages/types/src/workspace.ts
index 7dec263541..356d0993ec 100644
--- a/packages/types/src/workspace.ts
+++ b/packages/types/src/workspace.ts
@@ -1,7 +1,7 @@
import type { TPaginationInfo } from "./common";
import type { ICycle } from "./cycle";
-import { TUserPermissions } from "./enums";
-import { TProjectMembership } from "./project";
+import type { TUserPermissions } from "./enums";
+import type { TProjectMembership } from "./project";
import type { IUser, IUserLite } from "./users";
import type { IWorkspaceViewProps } from "./view-props";
diff --git a/packages/ui/src/auth-form/auth-password-input.tsx b/packages/ui/src/auth-form/auth-password-input.tsx
index 99519a37a2..2a468e1706 100644
--- a/packages/ui/src/auth-form/auth-password-input.tsx
+++ b/packages/ui/src/auth-form/auth-password-input.tsx
@@ -1,5 +1,5 @@
import React, { useState } from "react";
-import { E_PASSWORD_STRENGTH } from "@plane/constants";
+import type { E_PASSWORD_STRENGTH } from "@plane/constants";
import { cn, getPasswordStrength } from "@plane/utils";
import { PasswordStrengthIndicator } from "../form-fields/password/indicator";
import { AuthInput } from "./auth-input";
diff --git a/packages/ui/src/avatar/avatar-group.tsx b/packages/ui/src/avatar/avatar-group.tsx
index 5d9291805a..991fdd34ed 100644
--- a/packages/ui/src/avatar/avatar-group.tsx
+++ b/packages/ui/src/avatar/avatar-group.tsx
@@ -4,7 +4,8 @@ import { Tooltip } from "@plane/propel/tooltip";
// helpers
import { cn } from "../utils";
// types
-import { TAvatarSize, getSizeInfo, isAValidNumber } from "./avatar";
+import type { TAvatarSize } from "./avatar";
+import { getSizeInfo, isAValidNumber } from "./avatar";
type Props = {
/**
diff --git a/packages/ui/src/badge/badge.tsx b/packages/ui/src/badge/badge.tsx
index 73c7dd0017..663e7f25e5 100644
--- a/packages/ui/src/badge/badge.tsx
+++ b/packages/ui/src/badge/badge.tsx
@@ -1,7 +1,8 @@
import * as React from "react";
// helpers
import { cn } from "../utils";
-import { getIconStyling, getBadgeStyling, TBadgeVariant, TBadgeSizes } from "./helper";
+import type { TBadgeVariant, TBadgeSizes } from "./helper";
+import { getIconStyling, getBadgeStyling } from "./helper";
export interface BadgeProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
variant?: TBadgeVariant;
diff --git a/packages/ui/src/breadcrumbs/navigation-dropdown.tsx b/packages/ui/src/breadcrumbs/navigation-dropdown.tsx
index 65106d2790..d06bb4636e 100644
--- a/packages/ui/src/breadcrumbs/navigation-dropdown.tsx
+++ b/packages/ui/src/breadcrumbs/navigation-dropdown.tsx
@@ -4,7 +4,8 @@ import { CheckIcon } from "lucide-react";
import * as React from "react";
// ui
import { Tooltip } from "@plane/propel/tooltip";
-import { CustomMenu, TContextMenuItem } from "../dropdowns";
+import type { TContextMenuItem } from "../dropdowns";
+import { CustomMenu } from "../dropdowns";
import { cn } from "../utils";
import { Breadcrumbs } from "./breadcrumbs";
diff --git a/packages/ui/src/breadcrumbs/navigation-search-dropdown.tsx b/packages/ui/src/breadcrumbs/navigation-search-dropdown.tsx
index 680b56c182..cd3d96083a 100644
--- a/packages/ui/src/breadcrumbs/navigation-search-dropdown.tsx
+++ b/packages/ui/src/breadcrumbs/navigation-search-dropdown.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { useState } from "react";
import { Tooltip } from "@plane/propel/tooltip";
-import { ICustomSearchSelectOption } from "@plane/types";
+import type { ICustomSearchSelectOption } from "@plane/types";
import { CustomSearchSelect } from "../dropdowns";
import { cn } from "../utils";
import { Breadcrumbs } from "./breadcrumbs";
diff --git a/packages/ui/src/button/button.tsx b/packages/ui/src/button/button.tsx
index 4520e19402..c5e01f24d7 100644
--- a/packages/ui/src/button/button.tsx
+++ b/packages/ui/src/button/button.tsx
@@ -1,7 +1,8 @@
import * as React from "react";
import { cn } from "../utils";
-import { getIconStyling, getButtonStyling, TButtonVariant, TButtonSizes } from "./helper";
+import type { TButtonVariant, TButtonSizes } from "./helper";
+import { getIconStyling, getButtonStyling } from "./helper";
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
variant?: TButtonVariant;
diff --git a/packages/ui/src/card/card.tsx b/packages/ui/src/card/card.tsx
index 01ef9da6a0..174fda0e2a 100644
--- a/packages/ui/src/card/card.tsx
+++ b/packages/ui/src/card/card.tsx
@@ -1,14 +1,7 @@
import * as React from "react";
import { cn } from "../utils";
-import {
- ECardDirection,
- ECardSpacing,
- ECardVariant,
- getCardStyle,
- TCardDirection,
- TCardSpacing,
- TCardVariant,
-} from "./helper";
+import type { TCardDirection, TCardSpacing, TCardVariant } from "./helper";
+import { ECardDirection, ECardSpacing, ECardVariant, getCardStyle } from "./helper";
export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
variant?: TCardVariant;
diff --git a/packages/ui/src/collapsible/collapsible-button.tsx b/packages/ui/src/collapsible/collapsible-button.tsx
index 43035d6a0b..c618ab74d7 100644
--- a/packages/ui/src/collapsible/collapsible-button.tsx
+++ b/packages/ui/src/collapsible/collapsible-button.tsx
@@ -1,5 +1,7 @@
-import React, { FC } from "react";
-import { DropdownIcon, ISvgIcons } from "@plane/propel/icons";
+import type { FC } from "react";
+import React from "react";
+import type { ISvgIcons } from "@plane/propel/icons";
+import { DropdownIcon } from "@plane/propel/icons";
import { cn } from "../utils";
type Props = {
diff --git a/packages/ui/src/collapsible/collapsible.tsx b/packages/ui/src/collapsible/collapsible.tsx
index f7c99737b2..529451a600 100644
--- a/packages/ui/src/collapsible/collapsible.tsx
+++ b/packages/ui/src/collapsible/collapsible.tsx
@@ -1,5 +1,6 @@
import { Disclosure, Transition } from "@headlessui/react";
-import React, { FC, useState, useEffect, useCallback } from "react";
+import type { FC } from "react";
+import React, { useState, useEffect, useCallback } from "react";
export type TCollapsibleProps = {
title: string | React.ReactNode;
diff --git a/packages/ui/src/content-wrapper/content-wrapper.tsx b/packages/ui/src/content-wrapper/content-wrapper.tsx
index 506c90fb32..526ef49559 100644
--- a/packages/ui/src/content-wrapper/content-wrapper.tsx
+++ b/packages/ui/src/content-wrapper/content-wrapper.tsx
@@ -1,6 +1,7 @@
import * as React from "react";
import { Row } from "../row";
-import { ERowVariant, TRowVariant } from "../row/helper";
+import type { TRowVariant } from "../row/helper";
+import { ERowVariant } from "../row/helper";
import { cn } from "../utils";
export interface ContentWrapperProps extends React.HTMLAttributes<HTMLDivElement> {
diff --git a/packages/ui/src/dropdown/common/button.tsx b/packages/ui/src/dropdown/common/button.tsx
index f8d508f73f..9e7d55a6e6 100644
--- a/packages/ui/src/dropdown/common/button.tsx
+++ b/packages/ui/src/dropdown/common/button.tsx
@@ -2,7 +2,7 @@ import { Combobox } from "@headlessui/react";
import React, { Fragment } from "react";
// helper
import { cn } from "../../utils";
-import { IMultiSelectDropdownButton, ISingleSelectDropdownButton } from "../dropdown";
+import type { IMultiSelectDropdownButton, ISingleSelectDropdownButton } from "../dropdown";
export const DropdownButton: React.FC<IMultiSelectDropdownButton | ISingleSelectDropdownButton> = (props) => {
const {
diff --git a/packages/ui/src/dropdown/common/input-search.tsx b/packages/ui/src/dropdown/common/input-search.tsx
index d5e19d0e84..d82d573dc5 100644
--- a/packages/ui/src/dropdown/common/input-search.tsx
+++ b/packages/ui/src/dropdown/common/input-search.tsx
@@ -1,6 +1,7 @@
import { Combobox } from "@headlessui/react";
import { Search } from "lucide-react";
-import React, { FC, useEffect, useRef } from "react";
+import type { FC } from "react";
+import React, { useEffect, useRef } from "react";
// helpers
import { cn } from "../../utils";
diff --git a/packages/ui/src/dropdown/common/options.tsx b/packages/ui/src/dropdown/common/options.tsx
index f5fbf348b3..90eef932c1 100644
--- a/packages/ui/src/dropdown/common/options.tsx
+++ b/packages/ui/src/dropdown/common/options.tsx
@@ -4,7 +4,7 @@ import React from "react";
// helpers
import { cn } from "../../utils";
// types
-import { IMultiSelectDropdownOptions, ISingleSelectDropdownOptions } from "../dropdown";
+import type { IMultiSelectDropdownOptions, ISingleSelectDropdownOptions } from "../dropdown";
// components
import { DropdownOptionsLoader, InputSearch } from ".";
diff --git a/packages/ui/src/dropdown/dropdown.d.ts b/packages/ui/src/dropdown/dropdown.d.ts
index 8d1159e7cd..40ed644678 100644
--- a/packages/ui/src/dropdown/dropdown.d.ts
+++ b/packages/ui/src/dropdown/dropdown.d.ts
@@ -1,4 +1,4 @@
-import { Placement } from "@popperjs/core";
+import type { Placement } from "@popperjs/core";
export interface IDropdown {
// root props
diff --git a/packages/ui/src/dropdown/multi-select.tsx b/packages/ui/src/dropdown/multi-select.tsx
index e33b08873a..8a98c33f82 100644
--- a/packages/ui/src/dropdown/multi-select.tsx
+++ b/packages/ui/src/dropdown/multi-select.tsx
@@ -1,6 +1,7 @@
import { Combobox } from "@headlessui/react";
import { sortBy } from "lodash-es";
-import React, { FC, useMemo, useRef, useState } from "react";
+import type { FC } from "react";
+import React, { useMemo, useRef, useState } from "react";
import { usePopper } from "react-popper";
// plane imports
import { useOutsideClickDetector } from "@plane/hooks";
@@ -9,7 +10,7 @@ import { useDropdownKeyPressed } from "../hooks/use-dropdown-key-pressed";
import { cn } from "../utils";
import { DropdownButton } from "./common";
import { DropdownOptions } from "./common/options";
-import { IMultiSelectDropdown } from "./dropdown";
+import type { IMultiSelectDropdown } from "./dropdown";
export const MultiSelectDropdown: FC<IMultiSelectDropdown> = (props) => {
const {
diff --git a/packages/ui/src/dropdown/single-select.tsx b/packages/ui/src/dropdown/single-select.tsx
index 54db877db3..8d6088805f 100644
--- a/packages/ui/src/dropdown/single-select.tsx
+++ b/packages/ui/src/dropdown/single-select.tsx
@@ -1,6 +1,7 @@
import { Combobox } from "@headlessui/react";
import { sortBy } from "lodash-es";
-import React, { FC, useMemo, useRef, useState } from "react";
+import type { FC } from "react";
+import React, { useMemo, useRef, useState } from "react";
import { usePopper } from "react-popper";
// plane imports
import { useOutsideClickDetector } from "@plane/hooks";
@@ -9,7 +10,7 @@ import { useDropdownKeyPressed } from "../hooks/use-dropdown-key-pressed";
import { cn } from "../utils";
import { DropdownButton } from "./common";
import { DropdownOptions } from "./common/options";
-import { ISingleSelectDropdown } from "./dropdown";
+import type { ISingleSelectDropdown } from "./dropdown";
export const Dropdown: FC<ISingleSelectDropdown> = (props) => {
const {
diff --git a/packages/ui/src/dropdowns/combo-box.tsx b/packages/ui/src/dropdowns/combo-box.tsx
index ab68f97c0a..bbb0446dc9 100644
--- a/packages/ui/src/dropdowns/combo-box.tsx
+++ b/packages/ui/src/dropdowns/combo-box.tsx
@@ -1,15 +1,6 @@
import { Combobox } from "@headlessui/react";
-import React, {
- ElementType,
- Fragment,
- KeyboardEventHandler,
- ReactNode,
- Ref,
- forwardRef,
- useEffect,
- useRef,
- useState,
-} from "react";
+import type { ElementType, KeyboardEventHandler, ReactNode, Ref } from "react";
+import React, { Fragment, forwardRef, useEffect, useRef, useState } from "react";
type Props = {
as?: ElementType | undefined;
diff --git a/packages/ui/src/dropdowns/context-menu/item.tsx b/packages/ui/src/dropdowns/context-menu/item.tsx
index 393dc9a3ac..892ca98904 100644
--- a/packages/ui/src/dropdowns/context-menu/item.tsx
+++ b/packages/ui/src/dropdowns/context-menu/item.tsx
@@ -4,7 +4,8 @@ import { ChevronRightIcon } from "@plane/propel/icons";
// helpers
import { cn } from "../../utils";
// types
-import { TContextMenuItem, ContextMenuContext, Portal } from "./root";
+import type { TContextMenuItem } from "./root";
+import { ContextMenuContext, Portal } from "./root";
type ContextMenuItemProps = {
handleActiveItem: () => void;
diff --git a/packages/ui/src/dropdowns/custom-menu.tsx b/packages/ui/src/dropdowns/custom-menu.tsx
index 944323299f..c63bcd52b2 100644
--- a/packages/ui/src/dropdowns/custom-menu.tsx
+++ b/packages/ui/src/dropdowns/custom-menu.tsx
@@ -11,7 +11,7 @@ import { useDropdownKeyDown } from "../hooks/use-dropdown-key-down";
import { cn } from "../utils";
// hooks
// types
-import {
+import type {
ICustomMenuDropdownProps,
ICustomMenuItemProps,
ICustomSubMenuProps,
diff --git a/packages/ui/src/dropdowns/custom-search-select.tsx b/packages/ui/src/dropdowns/custom-search-select.tsx
index ddb2707f0f..54175aad52 100644
--- a/packages/ui/src/dropdowns/custom-search-select.tsx
+++ b/packages/ui/src/dropdowns/custom-search-select.tsx
@@ -10,7 +10,7 @@ import { ChevronDownIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";
import { useDropdownKeyDown } from "../hooks/use-dropdown-key-down";
import { cn } from "../utils";
-import { ICustomSearchSelectProps } from "./helper";
+import type { ICustomSearchSelectProps } from "./helper";
export const CustomSearchSelect = (props: ICustomSearchSelectProps) => {
const {
diff --git a/packages/ui/src/dropdowns/custom-select.tsx b/packages/ui/src/dropdowns/custom-select.tsx
index 1ef3191a08..8f720fa29c 100644
--- a/packages/ui/src/dropdowns/custom-select.tsx
+++ b/packages/ui/src/dropdowns/custom-select.tsx
@@ -11,7 +11,7 @@ import { useDropdownKeyDown } from "../hooks/use-dropdown-key-down";
// helpers
import { cn } from "../utils";
// types
-import { ICustomSelectItemProps, ICustomSelectProps } from "./helper";
+import type { ICustomSelectItemProps, ICustomSelectProps } from "./helper";
const CustomSelect = (props: ICustomSelectProps) => {
const {
diff --git a/packages/ui/src/dropdowns/helper.tsx b/packages/ui/src/dropdowns/helper.tsx
index 5ce0ba82bf..97b0871051 100644
--- a/packages/ui/src/dropdowns/helper.tsx
+++ b/packages/ui/src/dropdowns/helper.tsx
@@ -1,5 +1,5 @@
// FIXME: fix this!!!
-import { ICustomSearchSelectOption } from "@plane/types";
+import type { ICustomSearchSelectOption } from "@plane/types";
type Placement =
| "top"
diff --git a/packages/ui/src/header/header.tsx b/packages/ui/src/header/header.tsx
index 3a789fdcdf..ba98c58d37 100644
--- a/packages/ui/src/header/header.tsx
+++ b/packages/ui/src/header/header.tsx
@@ -1,7 +1,8 @@
import * as React from "react";
import { ERowVariant, Row } from "../row";
import { cn } from "../utils";
-import { EHeaderVariant, getHeaderStyle, THeaderVariant } from "./helper";
+import type { THeaderVariant } from "./helper";
+import { EHeaderVariant, getHeaderStyle } from "./helper";
export interface HeaderProps {
variant?: THeaderVariant;
diff --git a/packages/ui/src/link/block.tsx b/packages/ui/src/link/block.tsx
index f3a615124e..1b98e27b08 100644
--- a/packages/ui/src/link/block.tsx
+++ b/packages/ui/src/link/block.tsx
@@ -1,8 +1,9 @@
-import React, { FC } from "react";
+import type { FC } from "react";
+import React from "react";
// plane utils
import { calculateTimeAgo, cn, getIconForLink } from "@plane/utils";
// plane ui
-import { TContextMenuItem } from "../dropdowns/context-menu/root";
+import type { TContextMenuItem } from "../dropdowns/context-menu/root";
import { CustomMenu } from "../dropdowns/custom-menu";
export type TLinkItemBlockProps = {
diff --git a/packages/ui/src/modals/alert-modal.tsx b/packages/ui/src/modals/alert-modal.tsx
index 347e46f497..dfffec802d 100644
--- a/packages/ui/src/modals/alert-modal.tsx
+++ b/packages/ui/src/modals/alert-modal.tsx
@@ -1,7 +1,9 @@
-import { AlertTriangle, Info, LucideIcon } from "lucide-react";
+import type { LucideIcon } from "lucide-react";
+import { AlertTriangle, Info } from "lucide-react";
import React from "react";
// components
-import { Button, TButtonVariant } from "../button";
+import type { TButtonVariant } from "../button";
+import { Button } from "../button";
import { cn } from "../utils";
import { EModalPosition, EModalWidth } from "./constants";
import { ModalCore } from "./modal-core";
diff --git a/packages/ui/src/popovers/popover-menu.tsx b/packages/ui/src/popovers/popover-menu.tsx
index bba6d59001..fa5f2833a3 100644
--- a/packages/ui/src/popovers/popover-menu.tsx
+++ b/packages/ui/src/popovers/popover-menu.tsx
@@ -4,7 +4,7 @@ import { cn } from "../utils";
import { Popover } from "./popover";
// helpers
// types
-import { TPopoverMenu } from "./types";
+import type { TPopoverMenu } from "./types";
export const PopoverMenu = <T,>(props: TPopoverMenu<T>) => {
const {
diff --git a/packages/ui/src/popovers/popover.tsx b/packages/ui/src/popovers/popover.tsx
index cdf4a0fb11..96027798dd 100644
--- a/packages/ui/src/popovers/popover.tsx
+++ b/packages/ui/src/popovers/popover.tsx
@@ -1,11 +1,12 @@
import { Popover as HeadlessReactPopover, Transition } from "@headlessui/react";
import { EllipsisVertical } from "lucide-react";
-import React, { Fragment, Ref, useState } from "react";
+import type { Ref } from "react";
+import React, { Fragment, useState } from "react";
import { usePopper } from "react-popper";
// helpers
import { cn } from "../utils";
// types
-import { TPopover } from "./types";
+import type { TPopover } from "./types";
export const Popover = (props: TPopover) => {
const {
diff --git a/packages/ui/src/popovers/types.ts b/packages/ui/src/popovers/types.ts
index 602e0cd2f5..3732766b29 100644
--- a/packages/ui/src/popovers/types.ts
+++ b/packages/ui/src/popovers/types.ts
@@ -1,5 +1,5 @@
-import { Placement } from "@popperjs/core";
-import { MutableRefObject, ReactNode } from "react";
+import type { Placement } from "@popperjs/core";
+import type { MutableRefObject, ReactNode } from "react";
export type TPopoverButtonDefaultOptions = {
// button and button styling
diff --git a/packages/ui/src/progress/radial-progress.tsx b/packages/ui/src/progress/radial-progress.tsx
index 1c6606860d..ea386b06b3 100644
--- a/packages/ui/src/progress/radial-progress.tsx
+++ b/packages/ui/src/progress/radial-progress.tsx
@@ -1,4 +1,5 @@
-import React, { useState, useEffect, FC } from "react";
+import type { FC } from "react";
+import React, { useState, useEffect } from "react";
interface IRadialProgressBar {
progress: number;
diff --git a/packages/ui/src/row/row.tsx b/packages/ui/src/row/row.tsx
index f482fc808c..740e22fc51 100644
--- a/packages/ui/src/row/row.tsx
+++ b/packages/ui/src/row/row.tsx
@@ -1,6 +1,7 @@
import * as React from "react";
import { cn } from "../utils";
-import { ERowVariant, rowStyle, TRowVariant } from "./helper";
+import type { TRowVariant } from "./helper";
+import { ERowVariant, rowStyle } from "./helper";
export interface RowProps extends React.HTMLAttributes<HTMLDivElement> {
variant?: TRowVariant;
diff --git a/packages/ui/src/scroll-area.tsx b/packages/ui/src/scroll-area.tsx
index ac5419f730..9378b46385 100644
--- a/packages/ui/src/scroll-area.tsx
+++ b/packages/ui/src/scroll-area.tsx
@@ -1,6 +1,7 @@
"use client";
import * as RadixScrollArea from "@radix-ui/react-scroll-area";
-import React, { FC } from "react";
+import type { FC } from "react";
+import React from "react";
import { cn } from "./utils";
type TScrollAreaProps = {
diff --git a/packages/ui/src/tables/table.tsx b/packages/ui/src/tables/table.tsx
index c184081441..707a1677b2 100644
--- a/packages/ui/src/tables/table.tsx
+++ b/packages/ui/src/tables/table.tsx
@@ -2,7 +2,7 @@ import React from "react";
// helpers
import { cn } from "../utils";
// types
-import { TTableData } from "./types";
+import type { TTableData } from "./types";
export const Table = <T,>(props: TTableData<T>) => {
const {
diff --git a/packages/ui/src/tabs/tab-list.tsx b/packages/ui/src/tabs/tab-list.tsx
index c60ab1fa77..5a828f2ce0 100644
--- a/packages/ui/src/tabs/tab-list.tsx
+++ b/packages/ui/src/tabs/tab-list.tsx
@@ -1,6 +1,7 @@
import { Tab } from "@headlessui/react";
-import { LucideProps } from "lucide-react";
-import React, { FC } from "react";
+import type { LucideProps } from "lucide-react";
+import type { FC } from "react";
+import React from "react";
// helpers
import { cn } from "../utils";
diff --git a/packages/ui/src/tabs/tabs.tsx b/packages/ui/src/tabs/tabs.tsx
index 7e368c0dab..03cfd1de86 100644
--- a/packages/ui/src/tabs/tabs.tsx
+++ b/packages/ui/src/tabs/tabs.tsx
@@ -1,10 +1,12 @@
import { Tab } from "@headlessui/react";
-import React, { FC, Fragment, useEffect, useState } from "react";
+import type { FC } from "react";
+import React, { Fragment, useEffect, useState } from "react";
// helpers
import { useLocalStorage } from "@plane/hooks";
import { cn } from "../utils";
// types
-import { TabList, TabListItem } from "./tab-list";
+import type { TabListItem } from "./tab-list";
+import { TabList } from "./tab-list";
export type TabContent = {
content: React.ReactNode;
diff --git a/packages/ui/src/tag/tag.tsx b/packages/ui/src/tag/tag.tsx
index 6f1b0e62f0..2e602507be 100644
--- a/packages/ui/src/tag/tag.tsx
+++ b/packages/ui/src/tag/tag.tsx
@@ -1,6 +1,7 @@
import * as React from "react";
import { cn } from "../utils";
-import { ETagSize, ETagVariant, getTagStyle, TTagSize, TTagVariant } from "./helper";
+import type { TTagSize, TTagVariant } from "./helper";
+import { ETagSize, ETagVariant, getTagStyle } from "./helper";
export interface TagProps extends React.ComponentProps<"div"> {
variant?: TTagVariant;
diff --git a/packages/ui/src/utils/classname.tsx b/packages/ui/src/utils/classname.tsx
index a500a73858..5a8d446f11 100644
--- a/packages/ui/src/utils/classname.tsx
+++ b/packages/ui/src/utils/classname.tsx
@@ -1,4 +1,5 @@
-import { clsx, type ClassValue } from "clsx";
+import { clsx } from "clsx";
+import type { ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
export const cn = (...inputs: ClassValue[]) => twMerge(clsx(inputs));
diff --git a/packages/utils/src/array.ts b/packages/utils/src/array.ts
index 035de49bfd..8e4e9f4278 100644
--- a/packages/utils/src/array.ts
+++ b/packages/utils/src/array.ts
@@ -1,5 +1,5 @@
import { isEmpty } from "lodash-es";
-import { IIssueLabel, IIssueLabelTree } from "@plane/types";
+import type { IIssueLabel, IIssueLabelTree } from "@plane/types";
/**
* @description Groups an array of objects by a specified key
diff --git a/packages/utils/src/auth.ts b/packages/utils/src/auth.ts
index 78bdeb0e46..8526079e15 100644
--- a/packages/utils/src/auth.ts
+++ b/packages/utils/src/auth.ts
@@ -1,8 +1,9 @@
"use client";
-import { ReactNode } from "react";
+import type { ReactNode } from "react";
// plane imports
-import { E_PASSWORD_STRENGTH, EErrorAlertType, EAuthErrorCodes, TAuthErrorInfo } from "@plane/constants";
+import type { TAuthErrorInfo } from "@plane/constants";
+import { E_PASSWORD_STRENGTH, EErrorAlertType, EAuthErrorCodes } from "@plane/constants";
/**
* @description Password strength levels
diff --git a/packages/utils/src/calendar.ts b/packages/utils/src/calendar.ts
index 6d1f1de574..2b1fd9886e 100644
--- a/packages/utils/src/calendar.ts
+++ b/packages/utils/src/calendar.ts
@@ -1,5 +1,6 @@
// plane imports
-import { EStartOfTheWeek, ICalendarDate, ICalendarPayload } from "@plane/types";
+import type { ICalendarDate, ICalendarPayload } from "@plane/types";
+import { EStartOfTheWeek } from "@plane/types";
// local imports
import { getWeekNumberOfDate, renderFormattedPayloadDate } from "./datetime";
diff --git a/packages/utils/src/common.ts b/packages/utils/src/common.ts
index a65d62cfbb..692318a937 100644
--- a/packages/utils/src/common.ts
+++ b/packages/utils/src/common.ts
@@ -1,6 +1,7 @@
-import { clsx, type ClassValue } from "clsx";
+import { clsx } from "clsx";
+import type { ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
-import { CompleteOrEmpty } from "@plane/types";
+import type { CompleteOrEmpty } from "@plane/types";
// Support email can be configured by the application
export const getSupportEmail = (defaultEmail: string = ""): string => defaultEmail;
diff --git a/packages/utils/src/cycle.ts b/packages/utils/src/cycle.ts
index 05688bba05..eb33ca4635 100644
--- a/packages/utils/src/cycle.ts
+++ b/packages/utils/src/cycle.ts
@@ -1,7 +1,7 @@
import { startOfToday, format } from "date-fns";
import { isEmpty, orderBy, sortBy, uniqBy } from "lodash-es";
// plane imports
-import { ICycle, TCycleFilters, TProgressSnapshot } from "@plane/types";
+import type { ICycle, TCycleFilters, TProgressSnapshot } from "@plane/types";
// local imports
import { findTotalDaysInRange, generateDateArray, getDate } from "./datetime";
import { satisfiesDateFilter } from "./filter";
diff --git a/packages/utils/src/distribution-update.ts b/packages/utils/src/distribution-update.ts
index 15c238569f..76bc8ce257 100644
--- a/packages/utils/src/distribution-update.ts
+++ b/packages/utils/src/distribution-update.ts
@@ -4,7 +4,7 @@ import { format } from "date-fns";
import { get, set } from "lodash-es";
// plane imports
import { COMPLETED_STATE_GROUPS, STATE_DISTRIBUTION } from "@plane/constants";
-import { ICycle, IEstimatePoint, IModule, IState, TIssue } from "@plane/types";
+import type { ICycle, IEstimatePoint, IModule, IState, TIssue } from "@plane/types";
// helper
import { getDate } from "./datetime";
diff --git a/packages/utils/src/loader.ts b/packages/utils/src/loader.ts
index d876f267a9..dd3d95eeb1 100644
--- a/packages/utils/src/loader.ts
+++ b/packages/utils/src/loader.ts
@@ -1,4 +1,4 @@
-import { TLoader } from "@plane/types";
+import type { TLoader } from "@plane/types";
// checks if a loader has finished initialization
export const isLoaderReady = (loader: TLoader | undefined) => loader !== "init-loader";
diff --git a/packages/utils/src/module.ts b/packages/utils/src/module.ts
index 722687af74..39cba08225 100644
--- a/packages/utils/src/module.ts
+++ b/packages/utils/src/module.ts
@@ -1,6 +1,6 @@
import { sortBy } from "lodash-es";
// plane imports
-import { IModule, TModuleDisplayFilters, TModuleFilters, TModuleOrderByOptions } from "@plane/types";
+import type { IModule, TModuleDisplayFilters, TModuleFilters, TModuleOrderByOptions } from "@plane/types";
// local imports
import { getDate } from "./datetime";
import { satisfiesDateFilter } from "./filter";
diff --git a/packages/utils/src/page.ts b/packages/utils/src/page.ts
index 2947695a7e..7eaedb5782 100644
--- a/packages/utils/src/page.ts
+++ b/packages/utils/src/page.ts
@@ -1,6 +1,12 @@
import { sortBy } from "lodash-es";
// plane imports
-import { TPage, TPageFilterProps, TPageFiltersSortBy, TPageFiltersSortKey, TPageNavigationTabs } from "@plane/types";
+import type {
+ TPage,
+ TPageFilterProps,
+ TPageFiltersSortBy,
+ TPageFiltersSortKey,
+ TPageNavigationTabs,
+} from "@plane/types";
// local imports
import { getDate } from "./datetime";
import { satisfiesDateFilter } from "./filter";
diff --git a/packages/utils/src/permission/role.ts b/packages/utils/src/permission/role.ts
index 3b6f73cf45..2889907d76 100644
--- a/packages/utils/src/permission/role.ts
+++ b/packages/utils/src/permission/role.ts
@@ -1,6 +1,6 @@
// plane imports
import { EUserPermissions } from "@plane/constants";
-import { EUserProjectRoles, EUserWorkspaceRoles } from "@plane/types";
+import type { EUserProjectRoles, EUserWorkspaceRoles } from "@plane/types";
export const getUserRole = (role: EUserPermissions | EUserWorkspaceRoles | EUserProjectRoles) => {
switch (role) {
diff --git a/packages/utils/src/project-views.ts b/packages/utils/src/project-views.ts
index dd275d0ab3..5fdf502148 100644
--- a/packages/utils/src/project-views.ts
+++ b/packages/utils/src/project-views.ts
@@ -1,7 +1,7 @@
import { isNil, orderBy } from "lodash-es";
// plane imports
import { SPACE_BASE_PATH, SPACE_BASE_URL } from "@plane/constants";
-import { IProjectView, TViewFilterProps, TViewFiltersSortBy, TViewFiltersSortKey } from "@plane/types";
+import type { IProjectView, TViewFilterProps, TViewFiltersSortBy, TViewFiltersSortKey } from "@plane/types";
// local imports
import { getDate } from "./datetime";
import { satisfiesDateFilter } from "./filter";
diff --git a/packages/utils/src/project.ts b/packages/utils/src/project.ts
index ea0b5c0e6c..cdb9a71dc9 100644
--- a/packages/utils/src/project.ts
+++ b/packages/utils/src/project.ts
@@ -1,6 +1,6 @@
import { sortBy } from "lodash-es";
// plane imports
-import { TProject, TProjectDisplayFilters, TProjectFilters, TProjectOrderByOptions } from "@plane/types";
+import type { TProject, TProjectDisplayFilters, TProjectFilters, TProjectOrderByOptions } from "@plane/types";
// local imports
import { getDate } from "./datetime";
import { satisfiesDateFilter } from "./filter";
diff --git a/packages/utils/src/rich-filters/factories/configs/core.ts b/packages/utils/src/rich-filters/factories/configs/core.ts
index 51b16ff74d..92eeb0e25e 100644
--- a/packages/utils/src/rich-filters/factories/configs/core.ts
+++ b/packages/utils/src/rich-filters/factories/configs/core.ts
@@ -1,7 +1,9 @@
// plane imports
-import { FILTER_FIELD_TYPE, TFilterValue, TSupportedOperators, TBaseFilterFieldConfig } from "@plane/types";
+import type { TFilterValue, TSupportedOperators, TBaseFilterFieldConfig } from "@plane/types";
+import { FILTER_FIELD_TYPE } from "@plane/types";
// local imports
-import { createFilterFieldConfig, IFilterIconConfig } from "./shared";
+import type { IFilterIconConfig } from "./shared";
+import { createFilterFieldConfig } from "./shared";
// ------------ Selection filters ------------
diff --git a/packages/utils/src/rich-filters/factories/configs/properties/date.ts b/packages/utils/src/rich-filters/factories/configs/properties/date.ts
index e22abd5ad7..39379cae9a 100644
--- a/packages/utils/src/rich-filters/factories/configs/properties/date.ts
+++ b/packages/utils/src/rich-filters/factories/configs/properties/date.ts
@@ -1,8 +1,10 @@
// plane imports
-import { TFilterProperty } from "@plane/types";
+import type { TFilterProperty } from "@plane/types";
// local imports
-import { createFilterConfig, TCreateDateFilterParams, TCreateFilterConfig } from "../shared";
-import { getSupportedDateOperators, TCustomPropertyFilterParams } from "./shared";
+import type { TCreateDateFilterParams, TCreateFilterConfig } from "../shared";
+import { createFilterConfig } from "../shared";
+import type { TCustomPropertyFilterParams } from "./shared";
+import { getSupportedDateOperators } from "./shared";
/**
* Date property filter specific params
diff --git a/packages/utils/src/rich-filters/factories/configs/properties/member-picker.ts b/packages/utils/src/rich-filters/factories/configs/properties/member-picker.ts
index d94ad4abae..c5da205ce6 100644
--- a/packages/utils/src/rich-filters/factories/configs/properties/member-picker.ts
+++ b/packages/utils/src/rich-filters/factories/configs/properties/member-picker.ts
@@ -1,8 +1,11 @@
// plane imports
-import { EQUALITY_OPERATOR, IUserLite, TFilterProperty } from "@plane/types";
+import type { IUserLite, TFilterProperty } from "@plane/types";
+import { EQUALITY_OPERATOR } from "@plane/types";
// local imports
-import { createFilterConfig, createOperatorConfigEntry, TCreateFilterConfig } from "../shared";
-import { getMemberMultiSelectConfig, TCreateUserFilterParams, TCustomPropertyFilterParams } from "./shared";
+import type { TCreateFilterConfig } from "../shared";
+import { createFilterConfig, createOperatorConfigEntry } from "../shared";
+import type { TCreateUserFilterParams, TCustomPropertyFilterParams } from "./shared";
+import { getMemberMultiSelectConfig } from "./shared";
/**
* Member picker property filter specific params
diff --git a/packages/utils/src/rich-filters/factories/configs/properties/shared.ts b/packages/utils/src/rich-filters/factories/configs/properties/shared.ts
index eaa4e9ed37..1ffd9c67bd 100644
--- a/packages/utils/src/rich-filters/factories/configs/properties/shared.ts
+++ b/packages/utils/src/rich-filters/factories/configs/properties/shared.ts
@@ -1,21 +1,10 @@
// plane imports
-import {
- COMPARISON_OPERATOR,
- EQUALITY_OPERATOR,
- IProject,
- IUserLite,
- TOperatorConfigMap,
- TSupportedOperators,
-} from "@plane/types";
+import type { IProject, IUserLite, TOperatorConfigMap, TSupportedOperators } from "@plane/types";
+import { COMPARISON_OPERATOR, EQUALITY_OPERATOR } from "@plane/types";
// local imports
import { getDatePickerConfig, getDateRangePickerConfig, getMultiSelectConfig } from "../core";
-import {
- createOperatorConfigEntry,
- IFilterIconConfig,
- TCreateDateFilterParams,
- TCreateFilterConfigParams,
- TFilterIconType,
-} from "../shared";
+import type { IFilterIconConfig, TCreateDateFilterParams, TCreateFilterConfigParams, TFilterIconType } from "../shared";
+import { createOperatorConfigEntry } from "../shared";
// ------------ Base User Filter Types ------------
diff --git a/packages/utils/src/rich-filters/factories/configs/shared.ts b/packages/utils/src/rich-filters/factories/configs/shared.ts
index 3a24f38964..b67b1b1077 100644
--- a/packages/utils/src/rich-filters/factories/configs/shared.ts
+++ b/packages/utils/src/rich-filters/factories/configs/shared.ts
@@ -1,4 +1,4 @@
-import {
+import type {
FILTER_FIELD_TYPE,
TBaseFilterFieldConfig,
TDateFilterFieldConfig,
diff --git a/packages/utils/src/rich-filters/factories/nodes/core.ts b/packages/utils/src/rich-filters/factories/nodes/core.ts
index 962ddddcdf..982be31636 100644
--- a/packages/utils/src/rich-filters/factories/nodes/core.ts
+++ b/packages/utils/src/rich-filters/factories/nodes/core.ts
@@ -1,8 +1,6 @@
import { v4 as uuidv4 } from "uuid";
// plane imports
-import {
- FILTER_NODE_TYPE,
- LOGICAL_OPERATOR,
+import type {
TFilterAndGroupNode,
TFilterConditionNode,
TFilterConditionPayload,
@@ -10,6 +8,7 @@ import {
TFilterProperty,
TFilterValue,
} from "@plane/types";
+import { FILTER_NODE_TYPE, LOGICAL_OPERATOR } from "@plane/types";
/**
* Creates a condition node with a unique ID.
diff --git a/packages/utils/src/rich-filters/operations/comparison.ts b/packages/utils/src/rich-filters/operations/comparison.ts
index ae738c18e5..2865c06469 100644
--- a/packages/utils/src/rich-filters/operations/comparison.ts
+++ b/packages/utils/src/rich-filters/operations/comparison.ts
@@ -1,13 +1,13 @@
import { compact, isEqual, sortBy } from "lodash-es";
// plane imports
-import {
- FILTER_NODE_TYPE,
+import type {
TFilterConditionNode,
TFilterExpression,
TFilterGroupNode,
TFilterProperty,
TFilterValue,
} from "@plane/types";
+import { FILTER_NODE_TYPE } from "@plane/types";
// local imports
import { isConditionNode, isGroupNode } from "../types/core";
import { processGroupNode } from "../types/shared";
diff --git a/packages/utils/src/rich-filters/operations/manipulation/core.ts b/packages/utils/src/rich-filters/operations/manipulation/core.ts
index 22f6d662cd..3f29959bf7 100644
--- a/packages/utils/src/rich-filters/operations/manipulation/core.ts
+++ b/packages/utils/src/rich-filters/operations/manipulation/core.ts
@@ -1,5 +1,5 @@
// plane imports
-import {
+import type {
TFilterConditionPayload,
TFilterExpression,
TFilterGroupNode,
diff --git a/packages/utils/src/rich-filters/operations/transformation/core.ts b/packages/utils/src/rich-filters/operations/transformation/core.ts
index d35168cf6b..8ccfac4121 100644
--- a/packages/utils/src/rich-filters/operations/transformation/core.ts
+++ b/packages/utils/src/rich-filters/operations/transformation/core.ts
@@ -1,5 +1,5 @@
// plane imports
-import { TFilterExpression, TFilterGroupNode, TFilterProperty } from "@plane/types";
+import type { TFilterExpression, TFilterGroupNode, TFilterProperty } from "@plane/types";
// local imports
import { isConditionNode, isGroupNode } from "../../types/core";
import { getGroupChildren } from "../../types/shared";
diff --git a/packages/utils/src/rich-filters/operations/transformation/shared.ts b/packages/utils/src/rich-filters/operations/transformation/shared.ts
index 28da3990cf..88f0de1f85 100644
--- a/packages/utils/src/rich-filters/operations/transformation/shared.ts
+++ b/packages/utils/src/rich-filters/operations/transformation/shared.ts
@@ -1,6 +1,7 @@
-import { TFilterGroupNode, TFilterProperty } from "@plane/types";
+import type { TFilterGroupNode, TFilterProperty } from "@plane/types";
import { processGroupNode } from "../../types/shared";
-import { transformGroupWithChildren, TTreeTransformFn, TTreeTransformResult } from "./core";
+import type { TTreeTransformFn, TTreeTransformResult } from "./core";
+import { transformGroupWithChildren } from "./core";
/**
* Transforms groups by processing children.
diff --git a/packages/utils/src/rich-filters/operations/traversal/core.ts b/packages/utils/src/rich-filters/operations/traversal/core.ts
index 72b42100dd..4a33f362dc 100644
--- a/packages/utils/src/rich-filters/operations/traversal/core.ts
+++ b/packages/utils/src/rich-filters/operations/traversal/core.ts
@@ -1,5 +1,5 @@
// plane imports
-import {
+import type {
TAllAvailableOperatorsForDisplay,
TFilterConditionNode,
TFilterConditionNodeForDisplay,
diff --git a/packages/utils/src/rich-filters/operations/traversal/shared.ts b/packages/utils/src/rich-filters/operations/traversal/shared.ts
index b3fcc3e993..89c1f6d410 100644
--- a/packages/utils/src/rich-filters/operations/traversal/shared.ts
+++ b/packages/utils/src/rich-filters/operations/traversal/shared.ts
@@ -1,5 +1,5 @@
// plane imports
-import {
+import type {
TAllAvailableOperatorsForDisplay,
TFilterExpression,
TFilterProperty,
diff --git a/packages/utils/src/rich-filters/operators/core.ts b/packages/utils/src/rich-filters/operators/core.ts
index a87bc70799..db86286c65 100644
--- a/packages/utils/src/rich-filters/operators/core.ts
+++ b/packages/utils/src/rich-filters/operators/core.ts
@@ -1,7 +1,7 @@
import { get } from "lodash-es";
// plane imports
import { DATE_OPERATOR_LABELS_MAP, EMPTY_OPERATOR_LABEL, OPERATOR_LABELS_MAP } from "@plane/constants";
-import {
+import type {
TAllAvailableOperatorsForDisplay,
TFilterValue,
TAllAvailableDateFilterOperatorsForDisplay,
diff --git a/packages/utils/src/rich-filters/operators/shared.ts b/packages/utils/src/rich-filters/operators/shared.ts
index 6923ddfcfe..3daed0a9b8 100644
--- a/packages/utils/src/rich-filters/operators/shared.ts
+++ b/packages/utils/src/rich-filters/operators/shared.ts
@@ -1,4 +1,4 @@
-import { TAllAvailableOperatorsForDisplay, TSupportedOperators } from "@plane/types";
+import type { TAllAvailableOperatorsForDisplay, TSupportedOperators } from "@plane/types";
/**
* Result type for operator conversion
diff --git a/packages/utils/src/rich-filters/types/core.ts b/packages/utils/src/rich-filters/types/core.ts
index 696fe3796c..8d0bc56223 100644
--- a/packages/utils/src/rich-filters/types/core.ts
+++ b/packages/utils/src/rich-filters/types/core.ts
@@ -1,7 +1,4 @@
-import {
- FILTER_FIELD_TYPE,
- FILTER_NODE_TYPE,
- LOGICAL_OPERATOR,
+import type {
TFilterAndGroupNode,
TFilterConditionNode,
TFilterExpression,
@@ -10,6 +7,7 @@ import {
TFilterProperty,
TFilterValue,
} from "@plane/types";
+import { FILTER_FIELD_TYPE, FILTER_NODE_TYPE, LOGICAL_OPERATOR } from "@plane/types";
/**
* Type guard to check if a node is a condition node.
diff --git a/packages/utils/src/rich-filters/types/shared.ts b/packages/utils/src/rich-filters/types/shared.ts
index a116fe8de9..e1da6911be 100644
--- a/packages/utils/src/rich-filters/types/shared.ts
+++ b/packages/utils/src/rich-filters/types/shared.ts
@@ -1,5 +1,5 @@
// plane imports
-import { TFilterAndGroupNode, TFilterExpression, TFilterGroupNode, TFilterProperty } from "@plane/types";
+import type { TFilterAndGroupNode, TFilterExpression, TFilterGroupNode, TFilterProperty } from "@plane/types";
// local imports
import { getAndGroupChildren, isAndGroupNode } from "./core";
diff --git a/packages/utils/src/rich-filters/validators/core.ts b/packages/utils/src/rich-filters/validators/core.ts
index 9a9268bd80..ee66e0f7ea 100644
--- a/packages/utils/src/rich-filters/validators/core.ts
+++ b/packages/utils/src/rich-filters/validators/core.ts
@@ -1,5 +1,5 @@
// plane imports
-import { SingleOrArray, TFilterExpression, TFilterProperty, TFilterValue } from "@plane/types";
+import type { SingleOrArray, TFilterExpression, TFilterProperty, TFilterValue } from "@plane/types";
// local imports
import { getGroupChildren } from "../types";
import { isConditionNode, isGroupNode } from "../types/core";
diff --git a/packages/utils/src/rich-filters/validators/shared.ts b/packages/utils/src/rich-filters/validators/shared.ts
index 1df8e69aec..5430c57733 100644
--- a/packages/utils/src/rich-filters/validators/shared.ts
+++ b/packages/utils/src/rich-filters/validators/shared.ts
@@ -1,5 +1,5 @@
// plane imports
-import { TFilterGroupNode, TFilterProperty } from "@plane/types";
+import type { TFilterGroupNode, TFilterProperty } from "@plane/types";
// local imports
import { getGroupChildren } from "../types/shared";
diff --git a/packages/utils/src/subscription.ts b/packages/utils/src/subscription.ts
index 53f4a0185e..bd74f529f9 100644
--- a/packages/utils/src/subscription.ts
+++ b/packages/utils/src/subscription.ts
@@ -1,6 +1,7 @@
import { orderBy } from "lodash-es";
// plane imports
-import { EProductSubscriptionEnum, IPaymentProduct, TProductSubscriptionType, TSubscriptionPrice } from "@plane/types";
+import type { IPaymentProduct, TProductSubscriptionType, TSubscriptionPrice } from "@plane/types";
+import { EProductSubscriptionEnum } from "@plane/types";
/**
* Calculates the yearly discount percentage when switching from monthly to yearly billing
diff --git a/packages/utils/src/tab-indices.ts b/packages/utils/src/tab-indices.ts
index ea30903c9c..e4232319bf 100644
--- a/packages/utils/src/tab-indices.ts
+++ b/packages/utils/src/tab-indices.ts
@@ -1,5 +1,6 @@
// plane imports
-import { ETabIndices, TAB_INDEX_MAP } from "@plane/constants";
+import type { ETabIndices } from "@plane/constants";
+import { TAB_INDEX_MAP } from "@plane/constants";
export const getTabIndex = (type?: ETabIndices, isMobile: boolean = false) => {
const getIndex = (key: string) =>
diff --git a/packages/utils/src/theme.ts b/packages/utils/src/theme.ts
index 487ceaccdf..54e6d42540 100644
--- a/packages/utils/src/theme.ts
+++ b/packages/utils/src/theme.ts
@@ -1,5 +1,6 @@
// local imports
-import { TRgb, hexToRgb } from "./color";
+import type { TRgb } from "./color";
+import { hexToRgb } from "./color";
type TShades = {
10: TRgb;
diff --git a/packages/utils/src/work-item-filters/configs/filters/cycle.ts b/packages/utils/src/work-item-filters/configs/filters/cycle.ts
index 9228c7f49c..9e67fc39be 100644
--- a/packages/utils/src/work-item-filters/configs/filters/cycle.ts
+++ b/packages/utils/src/work-item-filters/configs/filters/cycle.ts
@@ -1,21 +1,9 @@
// plane imports
-import {
- EQUALITY_OPERATOR,
- ICycle,
- TCycleGroups,
- TFilterProperty,
- COLLECTION_OPERATOR,
- TSupportedOperators,
-} from "@plane/types";
+import type { ICycle, TCycleGroups, TFilterProperty, TSupportedOperators } from "@plane/types";
+import { EQUALITY_OPERATOR, COLLECTION_OPERATOR } from "@plane/types";
// local imports
-import {
- createFilterConfig,
- TCreateFilterConfigParams,
- IFilterIconConfig,
- TCreateFilterConfig,
- getMultiSelectConfig,
- createOperatorConfigEntry,
-} from "../../../rich-filters";
+import type { TCreateFilterConfigParams, IFilterIconConfig, TCreateFilterConfig } from "../../../rich-filters";
+import { createFilterConfig, getMultiSelectConfig, createOperatorConfigEntry } from "../../../rich-filters";
/**
* Cycle filter specific params
diff --git a/packages/utils/src/work-item-filters/configs/filters/date.ts b/packages/utils/src/work-item-filters/configs/filters/date.ts
index 1492c4518f..9137122275 100644
--- a/packages/utils/src/work-item-filters/configs/filters/date.ts
+++ b/packages/utils/src/work-item-filters/configs/filters/date.ts
@@ -1,12 +1,8 @@
// plane imports
-import { TFilterProperty } from "@plane/types";
+import type { TFilterProperty } from "@plane/types";
// local imports
-import {
- createFilterConfig,
- TCreateFilterConfig,
- TCreateDateFilterParams,
- getSupportedDateOperators,
-} from "../../../rich-filters";
+import type { TCreateFilterConfig, TCreateDateFilterParams } from "../../../rich-filters";
+import { createFilterConfig, getSupportedDateOperators } from "../../../rich-filters";
// ------------ Date filters ------------
diff --git a/packages/utils/src/work-item-filters/configs/filters/label.ts b/packages/utils/src/work-item-filters/configs/filters/label.ts
index dcabd9db34..bcc79be981 100644
--- a/packages/utils/src/work-item-filters/configs/filters/label.ts
+++ b/packages/utils/src/work-item-filters/configs/filters/label.ts
@@ -1,20 +1,9 @@
// plane imports
-import {
- EQUALITY_OPERATOR,
- IIssueLabel,
- TFilterProperty,
- COLLECTION_OPERATOR,
- TSupportedOperators,
-} from "@plane/types";
+import type { IIssueLabel, TFilterProperty, TSupportedOperators } from "@plane/types";
+import { EQUALITY_OPERATOR, COLLECTION_OPERATOR } from "@plane/types";
// local imports
-import {
- createFilterConfig,
- TCreateFilterConfigParams,
- IFilterIconConfig,
- TCreateFilterConfig,
- getMultiSelectConfig,
- createOperatorConfigEntry,
-} from "../../../rich-filters";
+import type { TCreateFilterConfigParams, IFilterIconConfig, TCreateFilterConfig } from "../../../rich-filters";
+import { createFilterConfig, getMultiSelectConfig, createOperatorConfigEntry } from "../../../rich-filters";
/**
* Label filter specific params
diff --git a/packages/utils/src/work-item-filters/configs/filters/module.ts b/packages/utils/src/work-item-filters/configs/filters/module.ts
index 8c36409c1e..d0dd279a9f 100644
--- a/packages/utils/src/work-item-filters/configs/filters/module.ts
+++ b/packages/utils/src/work-item-filters/configs/filters/module.ts
@@ -1,14 +1,9 @@
// plane imports
-import { EQUALITY_OPERATOR, IModule, TFilterProperty, COLLECTION_OPERATOR } from "@plane/types";
+import type { IModule, TFilterProperty } from "@plane/types";
+import { EQUALITY_OPERATOR, COLLECTION_OPERATOR } from "@plane/types";
// local imports
-import {
- createFilterConfig,
- TCreateFilterConfigParams,
- IFilterIconConfig,
- TCreateFilterConfig,
- getMultiSelectConfig,
- createOperatorConfigEntry,
-} from "../../../rich-filters";
+import type { TCreateFilterConfigParams, IFilterIconConfig, TCreateFilterConfig } from "../../../rich-filters";
+import { createFilterConfig, getMultiSelectConfig, createOperatorConfigEntry } from "../../../rich-filters";
/**
* Module filter specific params
diff --git a/packages/utils/src/work-item-filters/configs/filters/priority.ts b/packages/utils/src/work-item-filters/configs/filters/priority.ts
index 0d5834c5e7..77ef6c4926 100644
--- a/packages/utils/src/work-item-filters/configs/filters/priority.ts
+++ b/packages/utils/src/work-item-filters/configs/filters/priority.ts
@@ -1,15 +1,11 @@
// plane imports
-import { ISSUE_PRIORITIES, TIssuePriorities } from "@plane/constants";
-import { EQUALITY_OPERATOR, TFilterProperty, COLLECTION_OPERATOR, TSupportedOperators } from "@plane/types";
+import type { TIssuePriorities } from "@plane/constants";
+import { ISSUE_PRIORITIES } from "@plane/constants";
+import type { TFilterProperty, TSupportedOperators } from "@plane/types";
+import { EQUALITY_OPERATOR, COLLECTION_OPERATOR } from "@plane/types";
// local imports
-import {
- createFilterConfig,
- TCreateFilterConfigParams,
- IFilterIconConfig,
- TCreateFilterConfig,
- getMultiSelectConfig,
- createOperatorConfigEntry,
-} from "../../../rich-filters";
+import type { TCreateFilterConfigParams, IFilterIconConfig, TCreateFilterConfig } from "../../../rich-filters";
+import { createFilterConfig, getMultiSelectConfig, createOperatorConfigEntry } from "../../../rich-filters";
// ------------ Priority filter ------------
diff --git a/packages/utils/src/work-item-filters/configs/filters/project.ts b/packages/utils/src/work-item-filters/configs/filters/project.ts
index fcefa309c2..0088e23695 100644
--- a/packages/utils/src/work-item-filters/configs/filters/project.ts
+++ b/packages/utils/src/work-item-filters/configs/filters/project.ts
@@ -1,13 +1,9 @@
// plane imports
-import { EQUALITY_OPERATOR, TFilterProperty, COLLECTION_OPERATOR } from "@plane/types";
+import type { TFilterProperty } from "@plane/types";
+import { EQUALITY_OPERATOR, COLLECTION_OPERATOR } from "@plane/types";
// local imports
-import {
- createFilterConfig,
- createOperatorConfigEntry,
- getProjectMultiSelectConfig,
- TCreateFilterConfig,
- TCreateProjectFilterParams,
-} from "../../../rich-filters";
+import type { TCreateFilterConfig, TCreateProjectFilterParams } from "../../../rich-filters";
+import { createFilterConfig, createOperatorConfigEntry, getProjectMultiSelectConfig } from "../../../rich-filters";
// ------------ Project filter ------------
diff --git a/packages/utils/src/work-item-filters/configs/filters/shared.ts b/packages/utils/src/work-item-filters/configs/filters/shared.ts
index af501d62e8..67fe523788 100644
--- a/packages/utils/src/work-item-filters/configs/filters/shared.ts
+++ b/packages/utils/src/work-item-filters/configs/filters/shared.ts
@@ -1,20 +1,13 @@
// plane imports
-import {
- COMPARISON_OPERATOR,
- EQUALITY_OPERATOR,
- IProject,
- TOperatorConfigMap,
- TSupportedOperators,
-} from "@plane/types";
+import type { IProject, TOperatorConfigMap, TSupportedOperators } from "@plane/types";
+import { COMPARISON_OPERATOR, EQUALITY_OPERATOR } from "@plane/types";
// local imports
+import type { IFilterIconConfig, TCreateDateFilterParams, TCreateFilterConfigParams } from "../../../rich-filters";
import {
createOperatorConfigEntry,
getDatePickerConfig,
getDateRangePickerConfig,
getMultiSelectConfig,
- IFilterIconConfig,
- TCreateDateFilterParams,
- TCreateFilterConfigParams,
} from "../../../rich-filters";
// ------------ Date filter ------------
diff --git a/packages/utils/src/work-item-filters/configs/filters/state.ts b/packages/utils/src/work-item-filters/configs/filters/state.ts
index b3a3d6dafb..0962e13bb1 100644
--- a/packages/utils/src/work-item-filters/configs/filters/state.ts
+++ b/packages/utils/src/work-item-filters/configs/filters/state.ts
@@ -1,22 +1,10 @@
// plane imports
import { STATE_GROUPS } from "@plane/constants";
-import {
- COLLECTION_OPERATOR,
- EQUALITY_OPERATOR,
- IState,
- TFilterProperty,
- TStateGroups,
- TSupportedOperators,
-} from "@plane/types";
+import type { IState, TFilterProperty, TStateGroups, TSupportedOperators } from "@plane/types";
+import { COLLECTION_OPERATOR, EQUALITY_OPERATOR } from "@plane/types";
// local imports
-import {
- createFilterConfig,
- getMultiSelectConfig,
- IFilterIconConfig,
- TCreateFilterConfig,
- TCreateFilterConfigParams,
- createOperatorConfigEntry,
-} from "../../../rich-filters";
+import type { IFilterIconConfig, TCreateFilterConfig, TCreateFilterConfigParams } from "../../../rich-filters";
+import { createFilterConfig, getMultiSelectConfig, createOperatorConfigEntry } from "../../../rich-filters";
// ------------ State group filter ------------
diff --git a/packages/utils/src/work-item-filters/configs/filters/user.ts b/packages/utils/src/work-item-filters/configs/filters/user.ts
index f5c1cb7e23..297fcd5ab3 100644
--- a/packages/utils/src/work-item-filters/configs/filters/user.ts
+++ b/packages/utils/src/work-item-filters/configs/filters/user.ts
@@ -1,13 +1,9 @@
// plane imports
-import { EQUALITY_OPERATOR, TFilterProperty, COLLECTION_OPERATOR } from "@plane/types";
+import type { TFilterProperty } from "@plane/types";
+import { EQUALITY_OPERATOR, COLLECTION_OPERATOR } from "@plane/types";
// local imports
-import {
- createFilterConfig,
- TCreateFilterConfig,
- createOperatorConfigEntry,
- getMemberMultiSelectConfig,
- TCreateUserFilterParams,
-} from "../../../rich-filters";
+import type { TCreateFilterConfig, TCreateUserFilterParams } from "../../../rich-filters";
+import { createFilterConfig, createOperatorConfigEntry, getMemberMultiSelectConfig } from "../../../rich-filters";
// ------------ Assignee filter ------------
diff --git a/packages/utils/src/work-item/base.ts b/packages/utils/src/work-item/base.ts
index 826fb7c54f..8a746ec90b 100644
--- a/packages/utils/src/work-item/base.ts
+++ b/packages/utils/src/work-item/base.ts
@@ -2,15 +2,9 @@ import { differenceInCalendarDays } from "date-fns/differenceInCalendarDays";
import { isEmpty } from "lodash-es";
import { v4 as uuidv4 } from "uuid";
// plane imports
-import {
- ISSUE_DISPLAY_FILTERS_BY_PAGE,
- ISSUE_PRIORITY_FILTERS,
- STATE_GROUPS,
- TIssueFilterPriorityObject,
- TIssuePriorities,
-} from "@plane/constants";
-import {
- EIssueLayoutTypes,
+import type { TIssueFilterPriorityObject, TIssuePriorities } from "@plane/constants";
+import { ISSUE_DISPLAY_FILTERS_BY_PAGE, ISSUE_PRIORITY_FILTERS, STATE_GROUPS } from "@plane/constants";
+import type {
IGanttBlock,
IIssueDisplayFilterOptions,
IIssueDisplayProperties,
@@ -23,6 +17,7 @@ import {
TSubGroupedIssues,
TUnGroupedIssues,
} from "@plane/types";
+import { EIssueLayoutTypes } from "@plane/types";
// local imports
import { orderArrayBy } from "../array";
import { getDate } from "../datetime";
diff --git a/packages/utils/src/work-item/modal.ts b/packages/utils/src/work-item/modal.ts
index ec07c5508b..e5c93a80c2 100644
--- a/packages/utils/src/work-item/modal.ts
+++ b/packages/utils/src/work-item/modal.ts
@@ -1,7 +1,7 @@
import { set } from "lodash-es";
// plane imports
import { DEFAULT_WORK_ITEM_FORM_VALUES } from "@plane/constants";
-import { IPartialProject, ISearchIssueResponse, IState, TIssue } from "@plane/types";
+import type { IPartialProject, ISearchIssueResponse, IState, TIssue } from "@plane/types";
export const getUpdateFormDataForReset = (projectId: string | null | undefined, formData: Partial<TIssue>) => ({
...DEFAULT_WORK_ITEM_FORM_VALUES,
diff --git a/packages/utils/src/work-item/state.ts b/packages/utils/src/work-item/state.ts
index 8a123d7e95..949ce2dff6 100644
--- a/packages/utils/src/work-item/state.ts
+++ b/packages/utils/src/work-item/state.ts
@@ -1,6 +1,7 @@
// plane imports
-import { STATE_GROUPS, TDraggableData } from "@plane/constants";
-import { IState, IStateResponse } from "@plane/types";
+import type { TDraggableData } from "@plane/constants";
+import { STATE_GROUPS } from "@plane/constants";
+import type { IState, IStateResponse } from "@plane/types";
export const orderStateGroups = (unorderedStateGroups: IStateResponse | undefined): IStateResponse | undefined => {
if (!unorderedStateGroups) return undefined;
diff --git a/packages/utils/src/workspace.ts b/packages/utils/src/workspace.ts
index 1fb74e89c2..88200b5b59 100644
--- a/packages/utils/src/workspace.ts
+++ b/packages/utils/src/workspace.ts
@@ -1,5 +1,5 @@
// plane imports
-import { IWorkspace } from "@plane/types";
+import type { IWorkspace } from "@plane/types";
export const orderWorkspacesList = (workspaces: IWorkspace[]): IWorkspace[] =>
workspaces.sort((a, b) => a.name.localeCompare(b.name));