fix: tooltip imports (#8379)

This commit is contained in:
Aaryan Khandelwal
2025-12-18 17:19:10 +05:30
committed by GitHub
parent e56417e056
commit 3df58397b5
8 changed files with 11 additions and 11 deletions

View File

@@ -2,7 +2,7 @@ import { useState, useRef, useEffect, useCallback } from "react";
import { observer } from "mobx-react"; import { observer } from "mobx-react";
import { Link, Check } from "lucide-react"; import { Link, Check } from "lucide-react";
// plane imports // plane imports
import { Tooltip } from "@plane/ui"; import { Tooltip } from "@plane/propel/tooltip";
import { IconButton } from "@plane/propel/icon-button"; import { IconButton } from "@plane/propel/icon-button";
import { cn } from "@plane/utils"; import { cn } from "@plane/utils";
// hooks // hooks

View File

@@ -1,6 +1,6 @@
import { useState, useEffect } from "react"; import { useState, useEffect } from "react";
import { CloudOff, Dot } from "lucide-react"; import { CloudOff, Dot } from "lucide-react";
import { Tooltip } from "@plane/ui"; import { Tooltip } from "@plane/propel/tooltip";
import { Badge } from "@plane/propel/badge"; import { Badge } from "@plane/propel/badge";
type Props = { type Props = {

View File

@@ -70,15 +70,15 @@ export const ProfileActivityListPage = observer(function ProfileActivityListPage
alt={activityItem.actor_detail.display_name} alt={activityItem.actor_detail.display_name}
height={30} height={30}
width={30} width={30}
className="grid h-7 w-7 place-items-center rounded-full border-2 border-white bg-gray-500 text-on-color" className="grid h-7 w-7 place-items-center rounded-full border-2 border-subtle-1 bg-layer-3"
/> />
) : ( ) : (
<div className="grid h-7 w-7 place-items-center rounded-full border-2 border-white bg-gray-500 capitalize text-on-color"> <div className="grid h-7 w-7 place-items-center rounded-full border-2 border-subtle-1 bg-layer-3 capitalize">
{activityItem.actor_detail.display_name?.[0]} {activityItem.actor_detail.display_name?.[0]}
</div> </div>
)} )}
<span className="ring-6 flex h-6 w-6 p-2 items-center justify-center rounded-full bg-layer-1 text-secondary ring-white"> <span className="flex h-6 w-6 p-2 items-center justify-center rounded-full bg-layer-3 text-secondary">
<MessageSquare className="!text-20 text-secondary" aria-hidden="true" /> <MessageSquare className="!text-20 text-secondary" aria-hidden="true" />
</span> </span>
</div> </div>
@@ -139,7 +139,7 @@ export const ProfileActivityListPage = observer(function ProfileActivityListPage
className="h-full w-full rounded-full object-cover" className="h-full w-full rounded-full object-cover"
/> />
) : ( ) : (
<div className="grid h-6 w-6 place-items-center rounded-full border-2 border-white bg-gray-700 text-11 capitalize text-on-color"> <div className="grid h-6 w-6 place-items-center rounded-full border-2 border-subtle-1 bg-layer-3 text-11 capitalize">
{activityItem.actor_detail.display_name?.[0]} {activityItem.actor_detail.display_name?.[0]}
</div> </div>
)} )}

View File

@@ -1,7 +1,7 @@
import { useEffect } from "react"; import { useEffect } from "react";
import { observer } from "mobx-react"; import { observer } from "mobx-react";
// plane imports // plane imports
import { Tooltip } from "@plane/ui"; import { Tooltip } from "@plane/propel/tooltip";
import { cn } from "@plane/utils"; import { cn } from "@plane/utils";
// hooks // hooks
import { useLabel } from "@/hooks/store/use-label"; import { useLabel } from "@/hooks/store/use-label";

View File

@@ -5,7 +5,7 @@ import { common, createLowlight } from "lowlight";
import { CopyIcon, CheckIcon } from "lucide-react"; import { CopyIcon, CheckIcon } from "lucide-react";
import { useState } from "react"; import { useState } from "react";
// ui // ui
import { Tooltip } from "@plane/ui"; import { Tooltip } from "@plane/propel/tooltip";
// plane utils // plane utils
import { cn } from "@plane/utils"; import { cn } from "@plane/utils";

View File

@@ -2,7 +2,7 @@ import { useEffect, useRef, useState } from "react";
// plane imports // plane imports
import { useOutsideClickDetector } from "@plane/hooks"; import { useOutsideClickDetector } from "@plane/hooks";
import { ChevronDownIcon } from "@plane/propel/icons"; import { ChevronDownIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/ui"; import { Tooltip } from "@plane/propel/tooltip";
// local imports // local imports
import type { TCustomImageAlignment } from "../../types"; import type { TCustomImageAlignment } from "../../types";
import { IMAGE_ALIGNMENT_OPTIONS } from "../../utils"; import { IMAGE_ALIGNMENT_OPTIONS } from "../../utils";

View File

@@ -1,6 +1,6 @@
import { Download } from "lucide-react"; import { Download } from "lucide-react";
// plane imports // plane imports
import { Tooltip } from "@plane/ui"; import { Tooltip } from "@plane/propel/tooltip";
type Props = { type Props = {
src: string; src: string;

View File

@@ -1,7 +1,7 @@
import { Maximize } from "lucide-react"; import { Maximize } from "lucide-react";
import { useEffect, useState } from "react"; import { useEffect, useState } from "react";
// plane imports // plane imports
import { Tooltip } from "@plane/ui"; import { Tooltip } from "@plane/propel/tooltip";
// local imports // local imports
import { ImageFullScreenModal } from "./modal"; import { ImageFullScreenModal } from "./modal";