refactor: implement new basis and update prefix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<my-wallet-title-bar>
|
||||
<mw-title-bar-base-money [amount]="amount()" [amountProps]="amountProps()">
|
||||
<my-wallet-typography
|
||||
[ellipsis]="true"
|
||||
maxWidth="19rem"
|
||||
@@ -6,13 +6,5 @@
|
||||
[letterSpacing]="categoryProps().letterSpacing"
|
||||
[lineHeight]="categoryProps().lineHeight"
|
||||
[size]="categoryProps().size"
|
||||
slot="item-left"
|
||||
>{{category()}}</my-wallet-typography>
|
||||
<my-wallet-money-text
|
||||
[amount]="amount()"
|
||||
color="var(--mw-gray-500)"
|
||||
[lineHeight]="amountProps().lineHeight"
|
||||
[size]="amountProps().size"
|
||||
slot="item-right"
|
||||
/>
|
||||
</my-wallet-title-bar>
|
||||
</mw-title-bar-base-money>
|
||||
@@ -2,11 +2,12 @@ import { Component, input } from '@angular/core';
|
||||
import { TitleBarComponent } from './../../atoms/title-bar/title-bar.component'
|
||||
import { MoneyTextComponent } from './../money-text/money-text.component';
|
||||
import { TypographyComponent } from './../../atoms/typography/typography.component'
|
||||
import { TitleBarBaseMoneyComponent } from "../title-bar-base-money/title-bar-base-money.component";
|
||||
|
||||
@Component({
|
||||
selector: 'my-wallet-title-bar-category',
|
||||
selector: 'mw-title-bar-category',
|
||||
standalone: true,
|
||||
imports: [TitleBarComponent, MoneyTextComponent, TypographyComponent],
|
||||
imports: [TitleBarComponent, MoneyTextComponent, TypographyComponent, TitleBarBaseMoneyComponent],
|
||||
templateUrl: './title-bar-category.component.html',
|
||||
styleUrl: './title-bar-category.component.css'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user