File tree Expand file tree Collapse file tree 4 files changed +14
-13
lines changed Expand file tree Collapse file tree 4 files changed +14
-13
lines changed Original file line number Diff line number Diff line change
1
+
2
+ export interface IWindowSizing {
3
+ compact : string
4
+ medium : string
5
+ expanded : string
6
+ large : string
7
+ extraLarge : string
8
+ }
Original file line number Diff line number Diff line change
1
+ export * from './internal/window-media-query' ;
1
2
export * from './provide-window-media-query' ;
2
- export * from './window-media-query' ;
3
3
Original file line number Diff line number Diff line change 1
1
import plugin from "tailwindcss/plugin" ;
2
- import type { IProvider } from "../declaration/provider.interface" ;
3
- import { Strings } from "../utils/strings" ;
2
+ import type { IProvider } from "../../declaration/provider.interface" ;
3
+ import type { IWindowSizing } from "../../declaration/window-sizing.interface" ;
4
+ import { Strings } from "../../utils/strings" ;
4
5
5
- interface IWindowMediaQuery {
6
- compact : string
7
- medium : string
8
- expanded : string
9
- large : string
10
- extraLarge : string
11
- }
12
-
13
- class DefaultWindowMediaQueryTokens implements IWindowMediaQuery {
6
+ class DefaultWindowMediaQueryTokens implements IWindowSizing {
14
7
compact = '@media (max-width: 600px)'
15
8
medium = '@media (min-width: 600px) and (max-width: 840px)'
16
9
expanded = '@media (min-width: 840px) and (max-width: 1200px)'
Original file line number Diff line number Diff line change 1
- import { WindowMediaQueryProvider } from "./window-media-query" ;
1
+ import { WindowMediaQueryProvider } from "./internal/ window-media-query" ;
2
2
3
3
export const provideWindowMediaQuery = ( ) => new WindowMediaQueryProvider ( )
You can’t perform that action at this time.
0 commit comments