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

use bit-spinner instead of bwi-spin

This commit is contained in:
John Harrington
2025-12-08 14:14:46 -07:00
parent 9e52660919
commit 63af80c269
2 changed files with 9 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
[class.tw-invisible]="loading" [class.tw-invisible]="loading"
></tools-import> ></tools-import>
<div *ngIf="loading" class="tw-absolute tw-inset-0 tw-flex tw-items-center tw-justify-center"> <div *ngIf="loading" class="tw-absolute tw-inset-0 tw-flex tw-items-center tw-justify-center">
<i class="bwi bwi-spinner bwi-spin bwi-3x tw-text-primary-600" aria-hidden="true"></i> <bit-spinner></bit-spinner>
</div> </div>
</div> </div>
</ng-container> </ng-container>

View File

@@ -3,7 +3,13 @@ import { Component } from "@angular/core";
import { JslibModule } from "@bitwarden/angular/jslib.module"; import { JslibModule } from "@bitwarden/angular/jslib.module";
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service"; import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
import { DialogRef, AsyncActionsModule, ButtonModule, DialogModule } from "@bitwarden/components"; import {
DialogRef,
AsyncActionsModule,
ButtonModule,
DialogModule,
SpinnerComponent,
} from "@bitwarden/components";
import type { chromium_importer } from "@bitwarden/desktop-napi"; import type { chromium_importer } from "@bitwarden/desktop-napi";
import { ImportMetadataServiceAbstraction } from "@bitwarden/importer-core"; import { ImportMetadataServiceAbstraction } from "@bitwarden/importer-core";
import { import {
@@ -26,6 +32,7 @@ import { DesktopImportMetadataService } from "./desktop-import-metadata.service"
AsyncActionsModule, AsyncActionsModule,
ButtonModule, ButtonModule,
ImportComponent, ImportComponent,
SpinnerComponent,
], ],
providers: [ providers: [
...ImporterProviders, ...ImporterProviders,