@ethlete/cdk 4.55.1 → 4.56.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.
- package/CHANGELOG.md +12 -0
- package/fesm2022/ethlete-cdk.mjs +809 -781
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/lib/components/button/directives/query-button/query-button.directive.d.ts +1 -1
- package/lib/components/overlay/components/bottom-sheet/bottom-sheet.imports.d.ts +3 -3
- package/lib/components/overlay/components/dialog/dialog.imports.d.ts +3 -3
- package/lib/components/overlay/components/menu/directives/menu-item/menu-item.directive.d.ts +2 -4
- package/lib/components/overlay/components/overlay/types/overlay.types.d.ts +1 -1
- package/lib/components/overlay/components/overlay/utils/overlay-position-builder.d.ts +18 -6
- package/lib/components/query-error/directives/query-error/query-error.directive.d.ts +2 -2
- package/package.json +10 -9
|
@@ -23,7 +23,7 @@ export declare class QueryButtonDirective {
|
|
|
23
23
|
set query(v: AnyQuery | AnyQueryCollection | null);
|
|
24
24
|
get query$(): import("rxjs").Observable<AnyQuery | {
|
|
25
25
|
type: string;
|
|
26
|
-
query: import("@ethlete/query").Query<any, any, any, any, any, any
|
|
26
|
+
query: import("@ethlete/query").Query<any, any, any, any, any, any> | import("dist/libs/query/lib/experimental").LegacyQuery<any, LegacyArgs, Route, any, any, any, import("dist/libs/query/lib/experimental").Query<any>>;
|
|
27
27
|
} | null>;
|
|
28
28
|
private readonly _query$;
|
|
29
29
|
readonly hostAttributeBindings: {
|
|
@@ -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-
|
|
14
|
+
provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-B3qEQtts").n>;
|
|
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-
|
|
19
|
-
deps: (typeof import("@angular/cdk/overlay.d-
|
|
18
|
+
provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-B3qEQtts").n>;
|
|
19
|
+
deps: (typeof import("@angular/cdk/overlay.d-BdoMy0hX").O)[];
|
|
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-
|
|
15
|
-
deps: (typeof import("@angular/cdk/overlay.d-
|
|
14
|
+
provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-B3qEQtts").n>;
|
|
15
|
+
deps: (typeof import("@angular/cdk/overlay.d-BdoMy0hX").O)[];
|
|
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-
|
|
18
|
+
provide: import("@angular/core").InjectionToken<() => import("@angular/cdk/overlay-module.d-B3qEQtts").n>;
|
|
19
19
|
deps: typeof import("@angular/core").Injector[];
|
|
20
20
|
useFactory: typeof import("./constants").DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY;
|
|
21
21
|
} | typeof DialogService)[];
|
package/lib/components/overlay/components/menu/directives/menu-item/menu-item.directive.d.ts
CHANGED
|
@@ -6,8 +6,7 @@ export declare class MenuItemDirective {
|
|
|
6
6
|
private readonly _trigger;
|
|
7
7
|
private readonly _tabIndex;
|
|
8
8
|
private readonly _closeOnInteraction;
|
|
9
|
-
|
|
10
|
-
readonly disabled: import("@angular/core").WritableSignal<boolean>;
|
|
9
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
10
|
readonly isFocused: import("@angular/core").Signal<boolean>;
|
|
12
11
|
readonly hostAttributeBindings: {
|
|
13
12
|
remove: (tokens: string) => void;
|
|
@@ -33,6 +32,5 @@ export declare class MenuItemDirective {
|
|
|
33
32
|
_onKeydown(event: KeyboardEvent): void;
|
|
34
33
|
_handleMousedown(event: MouseEvent): void;
|
|
35
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemDirective, never>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuItemDirective, "et-menu-item, [et-menu-item], [etMenuItem]", never, { "
|
|
37
|
-
static ngAcceptInputType___disabled: unknown;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuItemDirective, "et-menu-item, [et-menu-item], [etMenuItem]", never, { "disabled": { "alias": "etMenuItemDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
38
36
|
}
|
|
@@ -54,7 +54,7 @@ export interface OverlayBreakpointConfig {
|
|
|
54
54
|
/** Height of the overlay. */
|
|
55
55
|
height?: number | string;
|
|
56
56
|
/** Position strategy to be used for the overlay. */
|
|
57
|
-
positionStrategy?: () => PositionStrategy;
|
|
57
|
+
positionStrategy?: (origin?: HTMLElement) => PositionStrategy;
|
|
58
58
|
/** Custom class for the overlay container. */
|
|
59
59
|
containerClass?: string | string[];
|
|
60
60
|
/** Custom class for the overlay pane. */
|
|
@@ -5,6 +5,7 @@ export declare const ET_OVERLAY_RIGHT_SHEET_CLASS = "et-overlay--right-sheet";
|
|
|
5
5
|
export declare const ET_OVERLAY_TOP_SHEET_CLASS = "et-overlay--top-sheet";
|
|
6
6
|
export declare const ET_OVERLAY_BOTTOM_SHEET_CLASS = "et-overlay--bottom-sheet";
|
|
7
7
|
export declare const ET_OVERLAY_DIALOG_CLASS = "et-overlay--dialog";
|
|
8
|
+
export declare const ET_OVERLAY_ANCHORED_DIALOG_CLASS = "et-overlay--anchored-dialog";
|
|
8
9
|
export declare const ET_OVERLAY_FULL_SCREEN_DIALOG_CLASS = "et-overlay--full-screen-dialog";
|
|
9
10
|
export declare const ET_OVERLAY_CONFIG_CLASS_KEYS: Set<string>;
|
|
10
11
|
export declare const ET_OVERLAY_LAYOUT_CLASSES: Set<string>;
|
|
@@ -19,7 +20,7 @@ export declare class OverlayPositionBuilder {
|
|
|
19
20
|
minHeight: undefined;
|
|
20
21
|
minWidth: undefined;
|
|
21
22
|
containerClass: string;
|
|
22
|
-
positionStrategy: () => import("@angular/cdk/overlay.d-
|
|
23
|
+
positionStrategy: () => import("@angular/cdk/overlay.d-BdoMy0hX").G;
|
|
23
24
|
};
|
|
24
25
|
fullScreenDialog: {
|
|
25
26
|
width: string;
|
|
@@ -29,7 +30,7 @@ export declare class OverlayPositionBuilder {
|
|
|
29
30
|
minHeight: undefined;
|
|
30
31
|
minWidth: undefined;
|
|
31
32
|
containerClass: string;
|
|
32
|
-
positionStrategy: () => import("@angular/cdk/overlay.d-
|
|
33
|
+
positionStrategy: () => import("@angular/cdk/overlay.d-BdoMy0hX").G;
|
|
33
34
|
documentClass: string;
|
|
34
35
|
applyTransformOrigin: true;
|
|
35
36
|
};
|
|
@@ -41,7 +42,7 @@ export declare class OverlayPositionBuilder {
|
|
|
41
42
|
minHeight: undefined;
|
|
42
43
|
minWidth: undefined;
|
|
43
44
|
containerClass: string;
|
|
44
|
-
positionStrategy: () => import("@angular/cdk/overlay.d-
|
|
45
|
+
positionStrategy: () => import("@angular/cdk/overlay.d-BdoMy0hX").G;
|
|
45
46
|
dragToDismiss: {
|
|
46
47
|
direction: "to-bottom";
|
|
47
48
|
};
|
|
@@ -54,7 +55,7 @@ export declare class OverlayPositionBuilder {
|
|
|
54
55
|
minHeight: undefined;
|
|
55
56
|
minWidth: undefined;
|
|
56
57
|
containerClass: string;
|
|
57
|
-
positionStrategy: () => import("@angular/cdk/overlay.d-
|
|
58
|
+
positionStrategy: () => import("@angular/cdk/overlay.d-BdoMy0hX").G;
|
|
58
59
|
dragToDismiss: {
|
|
59
60
|
direction: "to-top";
|
|
60
61
|
};
|
|
@@ -67,7 +68,7 @@ export declare class OverlayPositionBuilder {
|
|
|
67
68
|
minHeight: undefined;
|
|
68
69
|
minWidth: undefined;
|
|
69
70
|
containerClass: string;
|
|
70
|
-
positionStrategy: () => import("@angular/cdk/overlay.d-
|
|
71
|
+
positionStrategy: () => import("@angular/cdk/overlay.d-BdoMy0hX").G;
|
|
71
72
|
dragToDismiss: {
|
|
72
73
|
direction: "to-left";
|
|
73
74
|
};
|
|
@@ -80,11 +81,21 @@ export declare class OverlayPositionBuilder {
|
|
|
80
81
|
minHeight: undefined;
|
|
81
82
|
minWidth: undefined;
|
|
82
83
|
containerClass: string;
|
|
83
|
-
positionStrategy: () => import("@angular/cdk/overlay.d-
|
|
84
|
+
positionStrategy: () => import("@angular/cdk/overlay.d-BdoMy0hX").G;
|
|
84
85
|
dragToDismiss: {
|
|
85
86
|
direction: "to-right";
|
|
86
87
|
};
|
|
87
88
|
};
|
|
89
|
+
anchoredDialog: {
|
|
90
|
+
width: undefined;
|
|
91
|
+
height: undefined;
|
|
92
|
+
maxHeight: string;
|
|
93
|
+
maxWidth: string;
|
|
94
|
+
minHeight: undefined;
|
|
95
|
+
minWidth: undefined;
|
|
96
|
+
containerClass: string;
|
|
97
|
+
positionStrategy: (origin?: HTMLElement) => import("@angular/cdk/overlay-module.d-B3qEQtts").F;
|
|
98
|
+
};
|
|
88
99
|
};
|
|
89
100
|
transformingBottomSheetToDialog(customConfig?: {
|
|
90
101
|
bottomSheet?: OverlayBreakpointConfig;
|
|
@@ -107,5 +118,6 @@ export declare class OverlayPositionBuilder {
|
|
|
107
118
|
topSheet(customConfig?: OverlayBreakpointConfig): OverlayBreakpointConfigEntry[];
|
|
108
119
|
leftSheet(customConfig?: OverlayBreakpointConfig): OverlayBreakpointConfigEntry[];
|
|
109
120
|
rightSheet(customConfig?: OverlayBreakpointConfig): OverlayBreakpointConfigEntry[];
|
|
121
|
+
anchoredDialog(customConfig?: OverlayBreakpointConfig): OverlayBreakpointConfigEntry[];
|
|
110
122
|
mergeConfigs(...configs: OverlayBreakpointConfig[]): OverlayBreakpointConfig;
|
|
111
123
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { AnyQuery, RequestError } from '@ethlete/query';
|
|
2
|
+
import { AnyQuery, ExperimentalQuery, RequestError } from '@ethlete/query';
|
|
3
3
|
import { QueryErrorList } from '../../types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare const QUERY_ERROR_TOKEN: InjectionToken<QueryErrorDirective>;
|
|
@@ -7,7 +7,7 @@ export declare class QueryErrorDirective {
|
|
|
7
7
|
error: import("@angular/core").InputSignal<RequestError<unknown> | null>;
|
|
8
8
|
query: import("@angular/core").InputSignal<AnyQuery | {
|
|
9
9
|
type: string;
|
|
10
|
-
query: import("@ethlete/query").Query<any, any, any, any, any, any
|
|
10
|
+
query: import("@ethlete/query").Query<any, any, any, any, any, any> | ExperimentalQuery.LegacyQuery<any, LegacyArgs, Route, any, any, any, ExperimentalQuery.Query<any>>;
|
|
11
11
|
} | null>;
|
|
12
12
|
language: import("@angular/core").InputSignal<"de" | "en">;
|
|
13
13
|
readonly errorList: import("@angular/core").Signal<QueryErrorList | null>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethlete/cdk",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.56.1",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"sideEffects": false,
|
|
5
6
|
"exports": {
|
|
6
7
|
".": {
|
|
@@ -13,18 +14,18 @@
|
|
|
13
14
|
}
|
|
14
15
|
},
|
|
15
16
|
"peerDependencies": {
|
|
16
|
-
"@angular/animations": "19.2.
|
|
17
|
-
"@angular/cdk": "19.2.
|
|
18
|
-
"@angular/common": "19.2.
|
|
19
|
-
"@angular/core": "19.2.
|
|
20
|
-
"@angular/forms": "19.2.
|
|
21
|
-
"@angular/platform-browser": "19.2.
|
|
22
|
-
"@angular/router": "19.2.
|
|
17
|
+
"@angular/animations": "19.2.11",
|
|
18
|
+
"@angular/cdk": "19.2.16",
|
|
19
|
+
"@angular/common": "19.2.11",
|
|
20
|
+
"@angular/core": "19.2.11",
|
|
21
|
+
"@angular/forms": "19.2.11",
|
|
22
|
+
"@angular/platform-browser": "19.2.11",
|
|
23
|
+
"@angular/router": "19.2.11",
|
|
23
24
|
"@ethlete/core": "^4.0.3",
|
|
24
25
|
"@ethlete/query": "^5.0.3",
|
|
25
26
|
"@ethlete/theming": "^2.3.1",
|
|
26
27
|
"@ethlete/types": "^1.6.2",
|
|
27
|
-
"@floating-ui/dom": "1.
|
|
28
|
+
"@floating-ui/dom": "1.7.0",
|
|
28
29
|
"date-fns": "4.1.0",
|
|
29
30
|
"rxjs": "7.8.2"
|
|
30
31
|
},
|