mirror of
https://github.com/bitwarden/browser
synced 2026-02-20 19:34:03 +00:00
* 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>
26 lines
1.0 KiB
TypeScript
26 lines
1.0 KiB
TypeScript
// FIXME: Update this file to be type safe and remove this and next line
|
|
// @ts-strict-ignore
|
|
import { Component, Input } from "@angular/core";
|
|
|
|
import { GearIcon } from "@bitwarden/assets/svg";
|
|
|
|
// FIXME(https://bitwarden.atlassian.net/browse/CL-764): Migrate to OnPush
|
|
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
|
|
@Component({
|
|
selector: "app-org-subscription-hidden",
|
|
template: `<div class="tw-flex tw-flex-col tw-items-center tw-text-info">
|
|
<div class="tw-size-56 tw-content-center">
|
|
<bit-svg [content]="gearIcon" aria-hidden="true"></bit-svg>
|
|
</div>
|
|
<p class="tw-font-medium">{{ "billingManagedByProvider" | i18n: providerName }}</p>
|
|
<p>{{ "billingContactProviderForAssistance" | i18n }}</p>
|
|
</div>`,
|
|
standalone: false,
|
|
})
|
|
export class SubscriptionHiddenComponent {
|
|
// FIXME(https://bitwarden.atlassian.net/browse/CL-903): Migrate to Signals
|
|
// eslint-disable-next-line @angular-eslint/prefer-signals
|
|
@Input() providerName: string;
|
|
gearIcon = GearIcon;
|
|
}
|