@yuuvis/client-core 2.3.3 → 2.3.5

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.
@@ -33,6 +33,12 @@ import * as i0 from "@angular/core";
33
33
  export declare class DeviceService {
34
34
  #private;
35
35
  screenChange$: Observable<DeviceScreen>;
36
+ /**
37
+ * Signal to indicate if the screen size is small (e.g. mobile phone).
38
+ * This will only be triggered if `supportsSmallScreens` is set to true.
39
+ * Major components will use this metric to adapt to 'small screen behavior' and so can you
40
+ */
41
+ smallScreenLayout: import("@angular/core").WritableSignal<boolean>;
36
42
  /**
37
43
  * if the device is a mobile device (android / iPhone / windows-phone etc)
38
44
  */
@@ -48,7 +54,7 @@ export declare class DeviceService {
48
54
  info?: DeviceInfo;
49
55
  isTouchEnabled: boolean;
50
56
  constructor();
51
- init(): void;
57
+ init(supportsSmallScreens?: boolean): void;
52
58
  static ɵfac: i0.ɵɵFactoryDeclaration<DeviceService, never>;
53
59
  static ɵprov: i0.ɵɵInjectableDeclaration<DeviceService>;
54
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuuvis/client-core",
3
- "version": "2.3.3",
3
+ "version": "2.3.5",
4
4
  "author": "OPTIMAL SYSTEMS GmbH <npm@optimal-systems.de>",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {