mirror of
https://github.com/bitwarden/browser
synced 2026-02-25 17:13:24 +00:00
[CL-82] rename bit-icon to bit-svg; create new bit-icon component for font icons (#18584)
* rename bit-icon to bit-svg; create new bit-icon for font icons Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * find and replace current usage Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * add custom eslint warning Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * fix incorrect usage * fix tests * fix tests * Update libs/components/src/svg/index.ts Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> * Update libs/eslint/components/no-bwi-class-usage.spec.mjs Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> * update component api * update class name * use icon type in iconButton component * update type Icon --> BitSvg * fix bad renames * fix more renames * fix bad input * revert iconButton type * fix lint * fix more inputs * misc fixes Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * fix test * add eslint ignore * fix lint * add comparison story --------- Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
This commit is contained in:
committed by
jaasen-livefront
parent
67ff1e1d85
commit
de2f4a04fc
@@ -9,5 +9,5 @@
|
||||
[attr.aria-label]="slide.label"
|
||||
(click)="onClick.emit()"
|
||||
>
|
||||
<bit-icon [icon]="CarouselIcon"></bit-icon>
|
||||
<bit-svg [content]="CarouselIcon"></bit-svg>
|
||||
</button>
|
||||
|
||||
@@ -3,7 +3,7 @@ import { CommonModule } from "@angular/common";
|
||||
import { Component, ElementRef, EventEmitter, Input, Output, ViewChild } from "@angular/core";
|
||||
|
||||
import { CarouselIcon } from "@bitwarden/assets/svg";
|
||||
import { IconModule } from "@bitwarden/components";
|
||||
import { SvgModule } from "@bitwarden/components";
|
||||
|
||||
import { VaultCarouselSlideComponent } from "../carousel-slide/carousel-slide.component";
|
||||
|
||||
@@ -12,7 +12,7 @@ import { VaultCarouselSlideComponent } from "../carousel-slide/carousel-slide.co
|
||||
@Component({
|
||||
selector: "vault-carousel-button",
|
||||
templateUrl: "carousel-button.component.html",
|
||||
imports: [CommonModule, IconModule],
|
||||
imports: [CommonModule, SvgModule],
|
||||
})
|
||||
export class VaultCarouselButtonComponent implements FocusableOption {
|
||||
/** Slide component that is associated with the individual button */
|
||||
|
||||
Reference in New Issue
Block a user