mirror of
https://github.com/makeplane/plane.git
synced 2026-09-02 03:59:00 +02:00
fix(space): forward svg props in BacklogGroupIcon and use catalog for @makeplane/propel
This commit is contained in:
@@ -9,7 +9,14 @@ import * as React from "react";
|
||||
import type { ISvgIcons } from "../type";
|
||||
import { DashedCircle } from "./dashed-circle";
|
||||
|
||||
export function BacklogGroupIcon({ width = "20", height = "20", className, color = "#60646C" }: ISvgIcons) {
|
||||
export function BacklogGroupIcon({
|
||||
width = "20",
|
||||
height = "20",
|
||||
className,
|
||||
color = "#60646C",
|
||||
percentage: _percentage,
|
||||
...rest
|
||||
}: ISvgIcons) {
|
||||
// SVG parameters
|
||||
const viewBoxSize = 16;
|
||||
const center = viewBoxSize / 2;
|
||||
@@ -21,6 +28,7 @@ export function BacklogGroupIcon({ width = "20", height = "20", className, color
|
||||
viewBox={`0 0 ${viewBoxSize} ${viewBoxSize}`}
|
||||
className={className}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
{...rest}
|
||||
>
|
||||
<DashedCircle center={center} radius={radius} color={color} percentage={0} />
|
||||
</svg>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"@fontsource/ibm-plex-mono": "catalog:",
|
||||
"@fontsource/material-symbols-rounded": "catalog:",
|
||||
"@headlessui/react": "catalog:",
|
||||
"@makeplane/propel": "0.2.0",
|
||||
"@makeplane/propel": "catalog:",
|
||||
"@plane/constants": "workspace:*",
|
||||
"@plane/editor": "workspace:*",
|
||||
"@plane/i18n": "workspace:*",
|
||||
|
||||
2
pnpm-lock.yaml
generated
2
pnpm-lock.yaml
generated
@@ -874,7 +874,7 @@ importers:
|
||||
specifier: 'catalog:'
|
||||
version: 2.2.10(react-dom@19.2.8(react@19.2.8))(react@19.2.8)
|
||||
'@makeplane/propel':
|
||||
specifier: 0.2.0
|
||||
specifier: 'catalog:'
|
||||
version: 0.2.0(@date-fns/tz@1.4.1)(@types/react@19.2.17)(date-fns@4.1.0)(react-dom@19.2.8(react@19.2.8))(react@19.2.8)(tailwindcss@4.1.17)
|
||||
'@plane/constants':
|
||||
specifier: workspace:*
|
||||
|
||||
Reference in New Issue
Block a user