@ethlete/cdk 4.54.0 → 4.55.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.
@@ -11,11 +11,11 @@ export declare const BottomSheetImports: readonly [typeof BottomSheetContainerCo
11
11
  * @deprecated Will be removed in v5.
12
12
  */
13
13
  export declare const provideBottomSheet: () => (typeof Dialog | {
14
- provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-0970e3e8").S>;
14
+ provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-CSrPj90C").ScrollStrategy>;
15
15
  deps: typeof import("@angular/core").Injector[];
16
16
  useFactory: typeof import("./constants").BOTTOM_SHEET_SCROLL_STRATEGY_PROVIDER_FACTORY;
17
17
  } | typeof BottomSheetService | {
18
- provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-0970e3e8").S>;
19
- deps: (typeof import("@angular/cdk/overlay.d-a80c40ed").O)[];
18
+ provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-CSrPj90C").ScrollStrategy>;
19
+ deps: (typeof import("@angular/cdk/overlay.d-CPV_bcvH").Overlay)[];
20
20
  useFactory: typeof import("@angular/cdk/dialog").DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY;
21
21
  })[];
@@ -11,11 +11,11 @@ export declare const DialogImports: readonly [typeof DialogContainerComponent, t
11
11
  * @deprecated Will be removed in v5.
12
12
  */
13
13
  export declare const provideDialog: () => (typeof Dialog | {
14
- provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-0970e3e8").S>;
15
- deps: (typeof import("@angular/cdk/overlay.d-a80c40ed").O)[];
14
+ provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-CSrPj90C").ScrollStrategy>;
15
+ deps: (typeof import("@angular/cdk/overlay.d-CPV_bcvH").Overlay)[];
16
16
  useFactory: typeof import("@angular/cdk/dialog").DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY;
17
17
  } | {
18
- provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-0970e3e8").S>;
18
+ provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-CSrPj90C").ScrollStrategy>;
19
19
  deps: typeof import("@angular/core").Injector[];
20
20
  useFactory: typeof import("./constants").DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY;
21
21
  } | typeof DialogService)[];
@@ -17,7 +17,7 @@ export declare class OverlayContainerComponent extends CdkDialogContainer<Overla
17
17
  readonly _animatedLifecycle: AnimatedLifecycleDirective;
18
18
  readonly cdkOverlayRef: CdkOverlayRef;
19
19
  overlayRef: OverlayRef | null;
20
- readonly elementRef: ElementRef<any>;
20
+ readonly elementRef: ElementRef<HTMLElement>;
21
21
  constructor();
22
22
  protected _contentAttached(): void;
23
23
  protected _captureInitialFocus(): void;
@@ -19,7 +19,7 @@ export declare class OverlayPositionBuilder {
19
19
  minHeight: undefined;
20
20
  minWidth: undefined;
21
21
  containerClass: string;
22
- positionStrategy: () => import("@angular/cdk/overlay.d-a80c40ed").G;
22
+ positionStrategy: () => import("@angular/cdk/overlay.d-CPV_bcvH").GlobalPositionStrategy;
23
23
  };
24
24
  fullScreenDialog: {
25
25
  width: string;
@@ -29,7 +29,7 @@ export declare class OverlayPositionBuilder {
29
29
  minHeight: undefined;
30
30
  minWidth: undefined;
31
31
  containerClass: string;
32
- positionStrategy: () => import("@angular/cdk/overlay.d-a80c40ed").G;
32
+ positionStrategy: () => import("@angular/cdk/overlay.d-CPV_bcvH").GlobalPositionStrategy;
33
33
  documentClass: string;
34
34
  applyTransformOrigin: true;
35
35
  };
@@ -41,7 +41,7 @@ export declare class OverlayPositionBuilder {
41
41
  minHeight: undefined;
42
42
  minWidth: undefined;
43
43
  containerClass: string;
44
- positionStrategy: () => import("@angular/cdk/overlay.d-a80c40ed").G;
44
+ positionStrategy: () => import("@angular/cdk/overlay.d-CPV_bcvH").GlobalPositionStrategy;
45
45
  dragToDismiss: {
46
46
  direction: "to-bottom";
47
47
  };
@@ -54,7 +54,7 @@ export declare class OverlayPositionBuilder {
54
54
  minHeight: undefined;
55
55
  minWidth: undefined;
56
56
  containerClass: string;
57
- positionStrategy: () => import("@angular/cdk/overlay.d-a80c40ed").G;
57
+ positionStrategy: () => import("@angular/cdk/overlay.d-CPV_bcvH").GlobalPositionStrategy;
58
58
  dragToDismiss: {
59
59
  direction: "to-top";
60
60
  };
@@ -67,7 +67,7 @@ export declare class OverlayPositionBuilder {
67
67
  minHeight: undefined;
68
68
  minWidth: undefined;
69
69
  containerClass: string;
70
- positionStrategy: () => import("@angular/cdk/overlay.d-a80c40ed").G;
70
+ positionStrategy: () => import("@angular/cdk/overlay.d-CPV_bcvH").GlobalPositionStrategy;
71
71
  dragToDismiss: {
72
72
  direction: "to-left";
73
73
  };
@@ -80,7 +80,7 @@ export declare class OverlayPositionBuilder {
80
80
  minHeight: undefined;
81
81
  minWidth: undefined;
82
82
  containerClass: string;
83
- positionStrategy: () => import("@angular/cdk/overlay.d-a80c40ed").G;
83
+ positionStrategy: () => import("@angular/cdk/overlay.d-CPV_bcvH").GlobalPositionStrategy;
84
84
  dragToDismiss: {
85
85
  direction: "to-right";
86
86
  };
@@ -1,6 +1,6 @@
1
1
  import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
2
+ import { SortDirection } from '@ethlete/query';
2
3
  import { SortHeaderArrowPosition, Sortable } from '../../partials/sort';
3
- import { SortDirection } from '../../types';
4
4
  import { ArrowViewStateTransition } from './sort-header.types';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SortHeaderComponent implements Sortable, OnDestroy, OnInit, AfterViewInit {
@@ -1,4 +1,4 @@
1
- import { SortDirection } from '../../types';
1
+ import { SortDirection } from '@ethlete/query';
2
2
  export type ArrowViewState = SortDirection | 'hint' | 'active';
3
3
  export interface ArrowViewStateTransition {
4
4
  fromState?: ArrowViewState;
@@ -1,8 +1,8 @@
1
1
  import { EventEmitter, InjectionToken, OnChanges, OnDestroy, OnInit } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
+ import { Sort, SortDirection } from '@ethlete/query';
3
4
  import { Observable, Subject, Subscriber } from 'rxjs';
4
- import { SortDirection } from '../../types';
5
- import { Sort, SortDefaultOptions, Sortable } from './sort.types';
5
+ import { SortDefaultOptions, Sortable } from './sort.types';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare const SORT_DEFAULT_OPTIONS: InjectionToken<SortDefaultOptions>;
8
8
  export declare class SortDirective implements OnChanges, OnDestroy, OnInit {
@@ -1,14 +1,10 @@
1
- import { SortDirection } from '../../types';
1
+ import { SortDirection } from '@ethlete/query';
2
2
  export type SortHeaderArrowPosition = 'before' | 'after';
3
3
  export interface Sortable {
4
4
  id: string;
5
5
  start: SortDirection;
6
6
  disableClear: boolean;
7
7
  }
8
- export interface Sort {
9
- active: string;
10
- direction: SortDirection;
11
- }
12
8
  export interface SortDefaultOptions {
13
9
  disableClear?: boolean;
14
10
  arrowPosition?: SortHeaderArrowPosition;
@@ -2,4 +2,3 @@ export * from '../components/sort-header';
2
2
  export * from '../partials/sort';
3
3
  export * from '../services';
4
4
  export * from '../sort.imports';
5
- export * from '../types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethlete/cdk",
3
- "version": "4.54.0",
3
+ "version": "4.55.0",
4
4
  "sideEffects": false,
5
5
  "exports": {
6
6
  ".": {
@@ -13,13 +13,13 @@
13
13
  }
14
14
  },
15
15
  "peerDependencies": {
16
- "@angular/animations": "19.2.5",
17
- "@angular/cdk": "19.2.8",
18
- "@angular/common": "19.2.5",
19
- "@angular/core": "19.2.5",
20
- "@angular/forms": "19.2.5",
21
- "@angular/platform-browser": "19.2.5",
22
- "@angular/router": "19.2.5",
16
+ "@angular/animations": "19.2.7",
17
+ "@angular/cdk": "19.2.10",
18
+ "@angular/common": "19.2.7",
19
+ "@angular/core": "19.2.7",
20
+ "@angular/forms": "19.2.7",
21
+ "@angular/platform-browser": "19.2.7",
22
+ "@angular/router": "19.2.7",
23
23
  "@ethlete/core": "^4.0.3",
24
24
  "@ethlete/query": "^5.0.3",
25
25
  "@ethlete/theming": "^2.3.1",
@@ -1 +0,0 @@
1
- export * from './sort-direction';
@@ -1 +0,0 @@
1
- export type SortDirection = 'asc' | 'desc' | '';