refactor: update prefix

This commit is contained in:
2025-08-10 18:16:44 -03:00
parent d590122e4b
commit 88bc1afb59
4 changed files with 7 additions and 7 deletions

View File

@@ -3,7 +3,7 @@ import { TypographyVariants } from '../../types/TypographyVariants';
import { NgTemplateOutlet } from '@angular/common';
@Component({
selector: 'my-wallet-typography',
selector: 'mw-typography',
standalone: true,
imports: [NgTemplateOutlet],
templateUrl: './typography.component.html',

View File

@@ -1,5 +1,5 @@
<my-wallet-typography
<mw-typography
[color]="color()"
[size]="size()"
[variant]="typographyVariant"
>{{amount()|currency:currencyCode():'symbol-narrow'}}</my-wallet-typography>
>{{amount()|currency:currencyCode():'symbol-narrow'}}</mw-typography>

View File

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

View File

@@ -75,7 +75,7 @@ export default {
const Template = (args: {variant: TypographyVariants, ellipsis: boolean, letterSpacing: string, lineHeight: null|string, size: string, color: string, maxWidth: null|string}) => ({
props: args,
template: `
<my-wallet-typography
<mw-typography
[variant]="${args.variant}"
[ellipsis]="${args.ellipsis}"
color="${args.color}"
@@ -83,7 +83,7 @@ const Template = (args: {variant: TypographyVariants, ellipsis: boolean, letterS
lineHeight="${args.lineHeight}"
maxWidth="${args.maxWidth}"
size="${args.size}"
>Texto</my-wallet-typography>`,
>Texto</mw-typography>`,
});
export const Paragraph = Template.bind({});