Skip to content

Commit

Permalink
chore: add migration for tuiHintAppearance (#8876)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlufy authored Sep 6, 2024
1 parent be56cc5 commit 6ead1e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ export const ATTR_WITH_VALUES_TO_REPLACE: ReplacementAttributeValue[] = [
{from: 'onLight', to: 'light'},
],
},
{
attrNames: ['tuiHintAppearance'],
newAttrName: 'tuiHintAppearance',
valueReplacer: [{from: 'onDark', to: 'dark'}],
},
{
attrNames: ['[pseudoActive]'],
newAttrName: '[tuiAppearanceState]',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const TEMPLATE_BEFORE = `
<tui-avatar
[src]="src"
size="xxs"
tuiHintAppearance="onDark"
></tui-avatar>
`;

Expand Down Expand Up @@ -98,6 +99,7 @@ const TEMPLATE_AFTER = `
<tui-avatar
[src]="src"
size="xxs"
tuiHintAppearance="dark"
></tui-avatar>
`;

Expand Down

0 comments on commit 6ead1e6

Please sign in to comment.