From 9027707c929de0644ba6b2529bde22c3e33359d8 Mon Sep 17 00:00:00 2001 From: ashu130698 Date: Thu, 14 May 2026 16:07:50 +0530 Subject: [PATCH] chore: clean up deprecated FloatingActionBar component --- .../Components/common/FloatingActionBar.tsx | 96 ------------------- client/src/Components/common/index.ts | 1 - 2 files changed, 97 deletions(-) delete mode 100644 client/src/Components/common/FloatingActionBar.tsx diff --git a/client/src/Components/common/FloatingActionBar.tsx b/client/src/Components/common/FloatingActionBar.tsx deleted file mode 100644 index 4a2057375..000000000 --- a/client/src/Components/common/FloatingActionBar.tsx +++ /dev/null @@ -1,96 +0,0 @@ -import React from "react"; -import { useTranslation } from "react-i18next"; -import { useTheme } from "@mui/material/styles"; -import Paper from "@mui/material/Paper"; -import Box from "@mui/material/Box"; -import Stack from "@mui/material/Stack"; -import Typography from "@mui/material/Typography"; -import IconButton from "@mui/material/IconButton"; -import Slide from "@mui/material/Slide"; -import { X } from "lucide-react"; -import { LAYOUT } from "@/Utils/Theme/constants"; - -interface FloatingActionBarProps { - selectedCount: number; - onClearSelection: () => void; - children?: React.ReactNode; -} - -export const FloatingActionBar: React.FC = ({ - selectedCount, - onClearSelection, - children, -}) => { - const { t } = useTranslation(); - const theme = useTheme(); - const isOpen = selectedCount > 0; - - return ( - - - - - - {selectedCount} {t("common.buttons.selected")} - - - - - - - {children && ( - - {children} - - )} - - - - ); -}; diff --git a/client/src/Components/common/index.ts b/client/src/Components/common/index.ts index 79a227699..4db9cac34 100644 --- a/client/src/Components/common/index.ts +++ b/client/src/Components/common/index.ts @@ -3,4 +3,3 @@ export * from "./charts/HeatmapResponseTime"; export * from "./charts/HeatmapResponseTimeTooltip"; export * from "./controls/HeaderCreate"; export * from "./controls/HeaderTimeRange"; -export * from "./FloatingActionBar";