@ethlete/core 4.27.1 → 4.28.0

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.
@@ -227,9 +227,13 @@ export declare const createIsRenderedSignal: () => {
227
227
  export declare const createCanAnimateSignal: () => {
228
228
  state: Signal<boolean>;
229
229
  };
230
- export type LastScrollDirection = 'up' | 'down' | 'left' | 'right';
231
- export declare const signalElementLastScrollDirection: (el: SignalElementBindingType) => Signal<LastScrollDirection | null>;
232
- export declare const signalHostElementLastScrollDirection: () => Signal<LastScrollDirection | null>;
230
+ export type ElementLastScrollDirectionType = 'up' | 'down' | 'left' | 'right';
231
+ export type ElementLastScrollDirection = {
232
+ type: ElementLastScrollDirectionType;
233
+ time: number;
234
+ };
235
+ export declare const signalElementLastScrollDirection: (el: SignalElementBindingType) => Signal<ElementLastScrollDirection | null>;
236
+ export declare const signalHostElementLastScrollDirection: () => Signal<ElementLastScrollDirection | null>;
233
237
  export type CursorDragScrollDirection = 'horizontal' | 'vertical' | 'both';
234
238
  export type MaybeSignal<T> = T | Signal<T>;
235
239
  export declare const maybeSignalValue: <T>(value: MaybeSignal<T>) => T;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@ethlete/core",
3
- "version": "4.27.1",
3
+ "version": "4.28.0",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@angular/cdk": "19.2.3",
7
- "@angular/common": "19.2.2",
8
- "@angular/core": "19.2.2",
9
- "@angular/forms": "19.2.2",
10
- "@angular/platform-browser": "19.2.2",
11
- "@angular/router": "19.2.2",
6
+ "@angular/cdk": "19.2.7",
7
+ "@angular/common": "19.2.4",
8
+ "@angular/core": "19.2.4",
9
+ "@angular/forms": "19.2.4",
10
+ "@angular/platform-browser": "19.2.4",
11
+ "@angular/router": "19.2.4",
12
12
  "@ethlete/theming": "^2.3.1",
13
13
  "@ethlete/types": "^1.6.2",
14
14
  "@floating-ui/dom": "1.6.13",