1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 11:43:46 +00:00

[PM-23375] Replace drawer with dialog (#17176)

This commit is contained in:
Vijay Oommen
2025-11-11 09:05:38 -06:00
committed by GitHub
parent ec5081a7e9
commit e5775ffe7d
6 changed files with 262 additions and 158 deletions

View File

@@ -1,14 +1,15 @@
import { MemberDetails } from "./report-models";
// -------------------- Drawer and UI Models --------------------
// FIXME: update to use a const object instead of a typescript enum
// eslint-disable-next-line @bitwarden/platform/no-enums
export enum DrawerType {
None = 0,
AppAtRiskMembers = 1,
OrgAtRiskMembers = 2,
OrgAtRiskApps = 3,
}
export const DrawerType = {
None: 0,
AppAtRiskMembers: 1,
OrgAtRiskMembers: 2,
OrgAtRiskApps: 3,
} as const;
export type DrawerType = (typeof DrawerType)[keyof typeof DrawerType];
export type DrawerDetails = {
open: boolean;