perf: use svg sprite for icons (#16135)
Co-authored-by: zomars <[email protected]>
This commit is contained in:
1 parent
3e28160fa7
commit
da5df7164a
30 files changed
+1511
-1698
No files matched your search
@@ -91,7 +91,7 @@ export default function TeamList(props: Props) {
|
||||
}}
|
||||
/>
|
||||
<Card
|
||||
icon={<Icon name="line-chart" className="h-5 w-5 text-green-700" />}
|
||||
icon={<Icon name="chart-line" className="h-5 w-5 text-green-700" />}
|
||||
variant="basic"
|
||||
title={t("Admin tools and analytics")}
|
||||
description={t(
|
||||
|
||||
@@ -658,7 +658,7 @@ const navigation: NavigationItemType[] = [
|
||||
{
|
||||
name: "insights",
|
||||
href: "/insights",
|
||||
icon: "bar-chart",
|
||||
icon: "chart-bar",
|
||||
},
|
||||
];
|
||||
|
||||
@@ -671,7 +671,7 @@ const platformNavigation: NavigationItemType[] = [
|
||||
{
|
||||
name: "Documentation",
|
||||
href: "https://docs.cal.com/docs/platform",
|
||||
icon: "bar-chart",
|
||||
icon: "chart-bar",
|
||||
target: "_blank",
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import type { Table } from "@tanstack/react-table";
|
||||
import { Check } from "lucide-react";
|
||||
import type { Dispatch, SetStateAction } from "react";
|
||||
import { useState } from "react";
|
||||
|
||||
@@ -20,6 +19,7 @@ import {
|
||||
showToast,
|
||||
PopoverContent,
|
||||
PopoverTrigger,
|
||||
Icon,
|
||||
} from "@calcom/ui";
|
||||
|
||||
import type { User } from "../UserListTable";
|
||||
@@ -255,7 +255,7 @@ const ListItem = ({ onSelect, text, isSelected, isTeam }: ListItemProps) => {
|
||||
"border-subtle ml-auto flex h-4 w-4 items-center justify-center rounded-sm border",
|
||||
isSelected ? "text-emphasis" : "opacity-50 [&_svg]:invisible"
|
||||
)}>
|
||||
<Check className={classNames("h-4 w-4")} />
|
||||
<Icon name="check" className={classNames("h-4 w-4")} />
|
||||
</div>
|
||||
</CommandItem>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user