@ethlete/core 4.25.1 → 4.26.1

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.
@@ -12,15 +12,10 @@ export declare class AnimatedLifecycleDirective implements AfterViewInit {
12
12
  private _state$;
13
13
  readonly state$: import("rxjs").Observable<AnimatedLifecycleState>;
14
14
  get state(): AnimatedLifecycleState;
15
- readonly hostClassBindings: {
16
- remove: (tokens: string) => void;
17
- removeMany: (tokens: string[]) => void;
18
- has: (tokens: string) => boolean;
19
- push: (tokens: string, signal: import("@angular/core").Signal<unknown>) => void;
20
- pushMany: (map: Record<string, import("@angular/core").Signal<unknown>>) => void;
21
- };
15
+ stateSignal: import("@angular/core").Signal<AnimatedLifecycleState>;
22
16
  stateChange: import("@angular/core").OutputRef<AnimatedLifecycleState>;
23
17
  skipNextEnter: import("@angular/core").ModelSignal<boolean>;
18
+ constructor();
24
19
  ngAfterViewInit(): void;
25
20
  enter(config?: {
26
21
  onlyTransition?: boolean;
@@ -288,4 +288,18 @@ export declare const injectObserveBreakpoint: (options: {
288
288
  }) => Signal<boolean>;
289
289
  /** Inject a signal containing the current breakpoint. */
290
290
  export declare const injectCurrentBreakpoint: () => Signal<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">;
291
+ /** Inject a signal that indicates if the user is using a portrait display */
292
+ export declare const injectIsPortrait: () => Signal<boolean>;
293
+ /** Inject a signal that indicates if the user is using a landscape display */
294
+ export declare const injectIsLandscape: () => Signal<boolean>;
295
+ /** Inject a signal containing the current display orientation */
296
+ export declare const injectDisplayOrientation: () => Signal<"portrait" | "landscape">;
297
+ /** Inject a signal that indicates if the device has a touch input */
298
+ export declare const injectHasTouchInput: () => Signal<boolean>;
299
+ /** Inject a signal that indicates if the device has a fine input (mouse or stylus) */
300
+ export declare const injectHasPrecisionInput: () => Signal<boolean>;
301
+ /** Inject a signal containing the current device input type */
302
+ export declare const injectDeviceInputType: () => Signal<"touch" | "mouse">;
303
+ /** Inject a signal containing a boolean value indicating if the user can hover (eg. using a mouse) */
304
+ export declare const injectCanHover: () => Signal<boolean>;
291
305
  export {};
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@ethlete/core",
3
- "version": "4.25.1",
3
+ "version": "4.26.1",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@angular/cdk": "19.1.2",
7
- "@angular/common": "19.1.4",
8
- "@angular/core": "19.1.4",
9
- "@angular/forms": "19.1.4",
10
- "@angular/platform-browser": "19.1.4",
11
- "@angular/router": "19.1.4",
6
+ "@angular/cdk": "19.2.2",
7
+ "@angular/common": "19.2.1",
8
+ "@angular/core": "19.2.1",
9
+ "@angular/forms": "19.2.1",
10
+ "@angular/platform-browser": "19.2.1",
11
+ "@angular/router": "19.2.1",
12
12
  "@ethlete/theming": "^2.3.1",
13
13
  "@ethlete/types": "^1.6.2",
14
14
  "@floating-ui/dom": "1.6.13",
15
- "rxjs": "7.8.1"
15
+ "rxjs": "7.8.2"
16
16
  },
17
17
  "module": "fesm2022/ethlete-core.mjs",
18
18
  "typings": "index.d.ts",