mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
[CL-95] loading spinner (#16363)
* add spiner from previous branch * add loading spinner to button * Add spinner to dialog * Add spinner to icon button * add spinner to multi select component * fix spinner positioning * Add mock i18n in stories where needed * round stroke caps. Update classes * fix ts error * fix broken tests * add missing translation keys to stories * Add mising key for layout * Add mising key for nav group * Add mising key for spotlight * Add mising key for product switcher * Add mising key for dialog service * add translation to copy click story
This commit is contained in:
@@ -27,6 +27,7 @@ import { I18nPipe } from "@bitwarden/ui-common";
|
||||
|
||||
import { BadgeModule } from "../badge";
|
||||
import { BitFormFieldControl } from "../form-field/form-field-control";
|
||||
import { SpinnerComponent } from "../spinner";
|
||||
|
||||
import { SelectItemView } from "./models/select-item-view";
|
||||
|
||||
@@ -37,7 +38,14 @@ let nextId = 0;
|
||||
selector: "bit-multi-select",
|
||||
templateUrl: "./multi-select.component.html",
|
||||
providers: [{ provide: BitFormFieldControl, useExisting: MultiSelectComponent }],
|
||||
imports: [NgSelectModule, ReactiveFormsModule, FormsModule, BadgeModule, I18nPipe],
|
||||
imports: [
|
||||
NgSelectModule,
|
||||
ReactiveFormsModule,
|
||||
FormsModule,
|
||||
BadgeModule,
|
||||
I18nPipe,
|
||||
SpinnerComponent,
|
||||
],
|
||||
host: {
|
||||
"[id]": "this.id()",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user