-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core)!: new names of css breakpoints (#2393)
* feat!: delete deprecated css breakpoints * feat: migration for breakpoints * feat!: new names of css breakpoints
- Loading branch information
1 parent
a90be92
commit df91ed1
Showing
39 changed files
with
326 additions
and
853 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
projects/cdk/schematics/ng-update/constants/breakpoints.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
export const DEPRECATED_BREAKPOINTS = [ | ||
// all previously actual breakpoints | ||
{from: `@media-retina`, to: `@tui-media-retina`}, | ||
{from: `@media-retina-mobile`, to: `@tui-media-retina-mobile`}, | ||
{from: `@media-retina-tablet`, to: `@tui-media-retina-tablet`}, | ||
{from: `@media-retina-desktop`, to: `@tui-media-retina-desktop`}, | ||
{from: `@mobile-m`, to: `@tui-mobile`}, | ||
{from: `@mobile-m-min`, to: `@tui-mobile-min`}, | ||
{from: `@mobile-m-interval`, to: `@tui-mobile-interval`}, | ||
{from: `@tablet-lg`, to: `@tui-tablet`}, | ||
{from: `@tablet-lg-min`, to: `@tui-tablet-min`}, | ||
{from: `@tablet-lg-interval`, to: `@tui-tablet-interval`}, | ||
{from: `@desktop-s`, to: `@tui-desktop`}, | ||
{from: `@desktop-s-min`, to: `@tui-desktop-min`}, | ||
{from: `@desktop-s-interval`, to: `@tui-desktop-interval`}, | ||
{from: `@desktop-m-min`, to: `@tui-desktop-lg-min`}, | ||
|
||
// legacy breakpoints | ||
{from: `@mobile`, to: `@tui-mobile`}, | ||
{from: `@mobile-min`, to: `@tui-mobile-min`}, | ||
{from: `@mobile-interval`, to: `@tui-mobile-interval`}, | ||
{from: `@tablet-s`, to: `@tui-mobile`}, | ||
{from: `@tablet-s-min`, to: `@tui-mobile-min`}, | ||
{from: `@tablet-s-interval`, to: `@tui-mobile-interval`}, | ||
{from: `@tablet`, to: `@tui-tablet`}, | ||
{from: `@tablet-min`, to: `@tui-tablet-min`}, | ||
{from: `@tablet-interval`, to: `@tui-tablet-interval`}, | ||
{from: `@desktop`, to: `@tui-desktop`}, | ||
{from: `@desktop-min`, to: `@tui-desktop-min`}, | ||
{from: `@desktop-interval`, to: `@tui-desktop-interval`}, | ||
{from: `@desktop-lg-min`, to: `@tui-desktop-lg-min`}, | ||
] as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.