1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

[PM-29565] Delete deprecated callout component (#17895)

* Replace usages of app-callout with bit-callout

* Delete callout.component

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
Daniel James Smith
2025-12-11 14:38:33 +01:00
committed by GitHub
parent bcc2bda417
commit 458da1adc0
7 changed files with 8 additions and 107 deletions

View File

@@ -2,13 +2,11 @@
<bit-dialog>
<div class="tw-font-medium" bitDialogTitle>{{ "sshkeyApprovalTitle" | i18n }}</div>
<div bitDialogContent>
<app-callout
type="warning"
title="{{ 'agentForwardingWarningTitle' | i18n }}"
*ngIf="params.isAgentForwarding"
>
@if (params.isAgentForwarding) {
<bit-callout type="warning" title="{{ 'agentForwardingWarningTitle' | i18n }}">
{{ 'agentForwardingWarningText' | i18n }}
</app-callout>
</bit-callout>
}
<b>{{params.applicationName}}</b> {{ "sshkeyApprovalMessageInfix" | i18n }}
<b>{{params.cipherName}}</b>

View File

@@ -12,6 +12,7 @@ import {
FormFieldModule,
IconButtonModule,
DialogService,
CalloutModule,
} from "@bitwarden/components";
export interface ApproveSshRequestParams {
@@ -35,6 +36,7 @@ export interface ApproveSshRequestParams {
ReactiveFormsModule,
AsyncActionsModule,
FormFieldModule,
CalloutModule,
],
})
export class ApproveSshRequestComponent {

View File

@@ -1,5 +1,5 @@
<form [bitSubmit]="submit" [formGroup]="formGroup">
<app-callout type="warning">{{ "deleteAccountWarning" | i18n }}</app-callout>
<bit-callout type="warning">{{ "deleteAccountWarning" | i18n }}</bit-callout>
<p bitTypography="body1" class="tw-text-center">
<strong>{{ email }}</strong>
</p>