refactor: implement new basis and update prefix

This commit is contained in:
2025-08-10 17:59:01 -03:00
parent d556b27bee
commit bd47b466b9
2 changed files with 5 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
<my-wallet-title-bar> <mw-title-bar-base-money [amount]="amount()" [amountProps]="amountProps()">
<my-wallet-typography <my-wallet-typography
[ellipsis]="true" [ellipsis]="true"
maxWidth="19rem" maxWidth="19rem"
@@ -6,13 +6,5 @@
[letterSpacing]="categoryProps().letterSpacing" [letterSpacing]="categoryProps().letterSpacing"
[lineHeight]="categoryProps().lineHeight" [lineHeight]="categoryProps().lineHeight"
[size]="categoryProps().size" [size]="categoryProps().size"
slot="item-left"
>{{category()}}</my-wallet-typography> >{{category()}}</my-wallet-typography>
<my-wallet-money-text </mw-title-bar-base-money>
[amount]="amount()"
color="var(--mw-gray-500)"
[lineHeight]="amountProps().lineHeight"
[size]="amountProps().size"
slot="item-right"
/>
</my-wallet-title-bar>

View File

@@ -2,11 +2,12 @@ import { Component, input } from '@angular/core';
import { TitleBarComponent } from './../../atoms/title-bar/title-bar.component' import { TitleBarComponent } from './../../atoms/title-bar/title-bar.component'
import { MoneyTextComponent } from './../money-text/money-text.component'; import { MoneyTextComponent } from './../money-text/money-text.component';
import { TypographyComponent } from './../../atoms/typography/typography.component' import { TypographyComponent } from './../../atoms/typography/typography.component'
import { TitleBarBaseMoneyComponent } from "../title-bar-base-money/title-bar-base-money.component";
@Component({ @Component({
selector: 'my-wallet-title-bar-category', selector: 'mw-title-bar-category',
standalone: true, standalone: true,
imports: [TitleBarComponent, MoneyTextComponent, TypographyComponent], imports: [TitleBarComponent, MoneyTextComponent, TypographyComponent, TitleBarBaseMoneyComponent],
templateUrl: './title-bar-category.component.html', templateUrl: './title-bar-category.component.html',
styleUrl: './title-bar-category.component.css' styleUrl: './title-bar-category.component.css'
}) })