diff --git a/src/ui/components/Library/Library.module.css b/src/ui/components/Library/Library.module.css index c3daafbe335..03e20a8c355 100644 --- a/src/ui/components/Library/Library.module.css +++ b/src/ui/components/Library/Library.module.css @@ -37,18 +37,6 @@ border-bottom: 1px solid var(--chrome); } -:root:global(.theme-dark) .editButton { - background-color: var(--theme-base-80); - color: #fff; - border: none; -} - -:root:global(.theme-dark) .editButton:hover { - background-color: var(--primary-accent-hover); - color: #fff; - border: none; -} - :root:global(.theme-dark) .recordingsBackground { background-color: transparent; color: var(--body-color); @@ -102,15 +90,6 @@ border-bottom: 1px solid var(--theme-base-90); } -:root:global(.theme-light) .editButton { - background-color: #fff; -} - -:root:global(.theme-light) .editButton:hover { - background-color: var(--primary-accent-hover); - color: #fff; -} - :root:global(.theme-light) .recordingsBackground { background-color: transparent; color: var(--body-color); diff --git a/src/ui/components/Library/Team/View/Recordings/Header/BatchActionDropdown.tsx b/src/ui/components/Library/Team/View/Recordings/Header/BatchActionDropdown.tsx index 470c9fce5cd..ae4a3f11616 100644 --- a/src/ui/components/Library/Team/View/Recordings/Header/BatchActionDropdown.tsx +++ b/src/ui/components/Library/Team/View/Recordings/Header/BatchActionDropdown.tsx @@ -1,8 +1,8 @@ import { RecordingId } from "@replayio/protocol"; -import classNames from "classnames"; -import React, { useState } from "react"; +import { useState } from "react"; import { assert } from "protocol/utils"; +import { Button } from "replay-next/components/Button"; import { Recording } from "shared/graphql/types"; import { useGetTeamIdFromRoute } from "ui/components/Library/Team/utils"; import { isTestSuiteReplay } from "ui/components/TestSuite/utils/isTestSuiteReplay"; @@ -10,7 +10,6 @@ import hooks from "ui/hooks"; import { WorkspaceId } from "ui/state/app"; import { useIsPublicEnabled } from "ui/utils/org"; -import { DisabledButton, getButtonClasses } from "../../../../../shared/Button"; import { useConfirm } from "../../../../../shared/Confirm"; import MaterialIcon from "../../../../../shared/MaterialIcon"; import PortalDropdown from "../../../../../shared/PortalDropdown"; @@ -98,23 +97,22 @@ export default function BatchActionDropdown({ if (!selectedIds.length) { return ( - + ); } - const buttonClasses = classNames("bg-white", getButtonClasses("blue", "secondary", "md")); const button = ( - + ); let allRecordingsOwnedByCurrentUser = true; @@ -147,7 +145,6 @@ export default function BatchActionDropdown({ return ( - - Done - + ); } @@ -56,26 +52,14 @@ function ViewerHeaderActions({ return ( <> {!isLibrary ? ( - launchWorkspaceSettings()} - > - Add team member - + ) : ( <> )} {recordings.length != 0 ? ( <> - setIsEditing(true)} - > - Edit - + ) : ( <> @@ -113,7 +97,7 @@ export default function ViewerHeader({ ); return ( -
+
{HeaderLeft}
{currentWorkspaceId ? : null}