Skip to content

Commit 3df5839

Browse files
authored
fix: tooltip imports (#8379)
1 parent e56417e commit 3df5839

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

apps/web/core/components/pages/header/copy-link-control.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { useState, useRef, useEffect, useCallback } from "react";
22
import { observer } from "mobx-react";
33
import { Link, Check } from "lucide-react";
44
// plane imports
5-
import { Tooltip } from "@plane/ui";
5+
import { Tooltip } from "@plane/propel/tooltip";
66
import { IconButton } from "@plane/propel/icon-button";
77
import { cn } from "@plane/utils";
88
// hooks

apps/web/core/components/pages/header/syncing-badge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useState, useEffect } from "react";
22
import { CloudOff, Dot } from "lucide-react";
3-
import { Tooltip } from "@plane/ui";
3+
import { Tooltip } from "@plane/propel/tooltip";
44
import { Badge } from "@plane/propel/badge";
55

66
type Props = {

apps/web/core/components/profile/activity/profile-activity-list.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ export const ProfileActivityListPage = observer(function ProfileActivityListPage
7070
alt={activityItem.actor_detail.display_name}
7171
height={30}
7272
width={30}
73-
className="grid h-7 w-7 place-items-center rounded-full border-2 border-white bg-gray-500 text-on-color"
73+
className="grid h-7 w-7 place-items-center rounded-full border-2 border-subtle-1 bg-layer-3"
7474
/>
7575
) : (
76-
<div className="grid h-7 w-7 place-items-center rounded-full border-2 border-white bg-gray-500 capitalize text-on-color">
76+
<div className="grid h-7 w-7 place-items-center rounded-full border-2 border-subtle-1 bg-layer-3 capitalize">
7777
{activityItem.actor_detail.display_name?.[0]}
7878
</div>
7979
)}
8080

81-
<span className="ring-6 flex h-6 w-6 p-2 items-center justify-center rounded-full bg-layer-1 text-secondary ring-white">
81+
<span className="flex h-6 w-6 p-2 items-center justify-center rounded-full bg-layer-3 text-secondary">
8282
<MessageSquare className="!text-20 text-secondary" aria-hidden="true" />
8383
</span>
8484
</div>
@@ -139,7 +139,7 @@ export const ProfileActivityListPage = observer(function ProfileActivityListPage
139139
className="h-full w-full rounded-full object-cover"
140140
/>
141141
) : (
142-
<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">
142+
<div className="grid h-6 w-6 place-items-center rounded-full border-2 border-subtle-1 bg-layer-3 text-11 capitalize">
143143
{activityItem.actor_detail.display_name?.[0]}
144144
</div>
145145
)}

apps/web/core/components/readonly/labels.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useEffect } from "react";
22
import { observer } from "mobx-react";
33
// plane imports
4-
import { Tooltip } from "@plane/ui";
4+
import { Tooltip } from "@plane/propel/tooltip";
55
import { cn } from "@plane/utils";
66
// hooks
77
import { useLabel } from "@/hooks/store/use-label";

packages/editor/src/core/extensions/code/code-block-node-view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { common, createLowlight } from "lowlight";
55
import { CopyIcon, CheckIcon } from "lucide-react";
66
import { useState } from "react";
77
// ui
8-
import { Tooltip } from "@plane/ui";
8+
import { Tooltip } from "@plane/propel/tooltip";
99
// plane utils
1010
import { cn } from "@plane/utils";
1111

packages/editor/src/core/extensions/custom-image/components/toolbar/alignment.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { useEffect, useRef, useState } from "react";
22
// plane imports
33
import { useOutsideClickDetector } from "@plane/hooks";
44
import { ChevronDownIcon } from "@plane/propel/icons";
5-
import { Tooltip } from "@plane/ui";
5+
import { Tooltip } from "@plane/propel/tooltip";
66
// local imports
77
import type { TCustomImageAlignment } from "../../types";
88
import { IMAGE_ALIGNMENT_OPTIONS } from "../../utils";

packages/editor/src/core/extensions/custom-image/components/toolbar/download.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Download } from "lucide-react";
22
// plane imports
3-
import { Tooltip } from "@plane/ui";
3+
import { Tooltip } from "@plane/propel/tooltip";
44

55
type Props = {
66
src: string;

packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Maximize } from "lucide-react";
22
import { useEffect, useState } from "react";
33
// plane imports
4-
import { Tooltip } from "@plane/ui";
4+
import { Tooltip } from "@plane/propel/tooltip";
55
// local imports
66
import { ImageFullScreenModal } from "./modal";
77

0 commit comments

Comments
 (0)