@taiga-ui/core 3.22.0-dev.main-9b18d21 → 3.22.0-dev.main-29da1cb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,13 @@
1
+ import { TuiMedia } from '@taiga-ui/core/interfaces';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Service to provide the current breakpoint based on Taiga UI's media queries
6
+ */
7
+ export declare class TuiBreakpointService extends Observable<MediaKey | null> {
8
+ constructor(media: TuiMedia, windowRef: Window);
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiBreakpointService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<TuiBreakpointService>;
11
+ }
12
+ declare type MediaKey = Omit<keyof TuiMedia, 'tablet'>;
13
+ export {};
@@ -1,3 +1,4 @@
1
+ export * from './breakpoint.service';
1
2
  export * from './format-date.service';
2
3
  export * from './hint.service';
3
4
  export * from './night-theme.service';
@@ -1,6 +1,8 @@
1
1
  import { InjectionToken } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  /**
4
+ * @deprecated use {@link https://taiga-ui.dev/services/breakpoint-service TuiBreakpointService}
5
+ * TODO: drop in v4.0
4
6
  * Mobile resolution stream for private providers
5
7
  */
6
8
  export declare const TUI_IS_MOBILE_RES: InjectionToken<Observable<boolean>>;