UNPKG

4.38 kBJavaScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8// PascalCase is being used as Breakpoints is used like an enum.
9// tslint:disable-next-line:variable-name
10export const Breakpoints = {
11 XSmall: '(max-width: 599.98px)',
12 Small: '(min-width: 600px) and (max-width: 959.98px)',
13 Medium: '(min-width: 960px) and (max-width: 1279.98px)',
14 Large: '(min-width: 1280px) and (max-width: 1919.98px)',
15 XLarge: '(min-width: 1920px)',
16 Handset: '(max-width: 599.98px) and (orientation: portrait), ' +
17 '(max-width: 959.98px) and (orientation: landscape)',
18 Tablet: '(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), ' +
19 '(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)',
20 Web: '(min-width: 840px) and (orientation: portrait), ' +
21 '(min-width: 1280px) and (orientation: landscape)',
22 HandsetPortrait: '(max-width: 599.98px) and (orientation: portrait)',
23 TabletPortrait: '(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)',
24 WebPortrait: '(min-width: 840px) and (orientation: portrait)',
25 HandsetLandscape: '(max-width: 959.98px) and (orientation: landscape)',
26 TabletLandscape: '(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)',
27 WebLandscape: '(min-width: 1280px) and (orientation: landscape)',
28};
29//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWtwb2ludHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvY2RrL2xheW91dC9icmVha3BvaW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFDSCxnRUFBZ0U7QUFDaEUseUNBQXlDO0FBQ3pDLE1BQU0sQ0FBQyxNQUFNLFdBQVcsR0FBRztJQUN6QixNQUFNLEVBQUUsdU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5kIChvcmllbnRhdGlvbjogcG9ydHJhaXQpJyxcblxuICBIYW5kc2V0TGFuZHNjYXBlOiAnKG1heC13aWR0aDogOTU5Ljk4cHgpIGFuZCAob3JpZW50YXRpb246IGxhbmRzY2FwZSknLFxuICBUYWJsZXRMYW5kc2NhcGU6ICcobWluLXdpZHRoOiA5NjBweCkgYW5kIChtYXgtd2lkdGg6IDEyNzkuOThweCkgYW5kIChvcmllbnRhdGlvbjogbGFuZHNjYXBlKScsXG4gIFdlYkxhbmRzY2FwZTogJyhtaW4td2lkdGg6IDEyODBweCkgYW5kIChvcmllbnRhdGlvbjogbGFuZHNjYXBlKScsXG59O1xuIl19
\No newline at end of file