[WEB-4727] feat: propel cards (#7630)

* feat: add card component to propel package and update tooltip imports

* refactor: remove @plane/ui dependency and update tooltip imports to use local card component

* fix: lint

* refactor: update import from @plane/ui to @plane/utils in command component

* refactor: extend CardProps interface to include HTML attributes for better flexibility
This commit is contained in:
Jayash Tripathy 2025-08-26 02:14:24 +05:30 committed by GitHub
parent c2464939fc
commit 8801ab0081
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 84 additions and 8 deletions

View file

@ -1,7 +1,8 @@
import React from "react";
import { NameType, Payload, ValueType } from "recharts/types/component/DefaultTooltipContent";
// plane imports
import { Card, ECardSpacing } from "@plane/ui";
import { Card, ECardSpacing } from "../../card";
import { cn } from "@plane/utils";
type Props = {

View file

@ -1,7 +1,7 @@
import React from "react";
import { NameType, Payload, ValueType } from "recharts/types/component/DefaultTooltipContent";
// plane imports
import { Card, ECardSpacing } from "@plane/ui";
import { Card, ECardSpacing } from "../../card";
type Props = {
dotColor?: string;

View file

@ -1,6 +1,6 @@
import React from "react";
// plane imports
import { Card, ECardSpacing } from "@plane/ui";
import { Card, ECardSpacing } from "../../card";
interface TreeMapTooltipProps {
active: boolean | undefined;