Skip to content

Commit

Permalink
chore: add migration comments for TUI_ANIMATIONS_DURATION & `TUI_IS…
Browse files Browse the repository at this point in the history
…_MOBILE_RES` (#8433)
  • Loading branch information
nsbarsukov authored Aug 9, 2024
1 parent 1e41c7d commit ec2d323
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,16 @@ export const MIGRATION_WARNINGS: MigrationWarning[] = [
message:
'TuiIllustrationModePipe was deleted. Import TuiIconPipe and use <img [src]="icon | tuiIcon" /> instead. See https://taiga-ui.tcsbank.ru/icons',
},
{
name: 'TUI_IS_MOBILE_RES',
moduleSpecifier: '@taiga-ui/core',
message:
'use TuiBreakpointService instead of TUI_IS_MOBILE_RES. Learn more https://taiga-ui.dev/services/breakpoint-service',
},
{
name: 'TUI_ANIMATIONS_DURATION',
moduleSpecifier: '@taiga-ui/core',
message:
'TUI_ANIMATIONS_DURATION is deleted. Use TUI_ANIMATIONS_SPEED instead (300ms divided by your previous value of TUI_ANIMATIONS_DURATION)',
},
];

0 comments on commit ec2d323

Please sign in to comment.