@ethlete/cdk 3.19.0 → 3.19.2
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 +14 -0
- package/esm2022/lib/components/button/directives/button/button.directive.mjs +10 -25
- package/esm2022/lib/components/button/directives/query-button/query-button.directive.mjs +8 -17
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox/checkbox.directive.mjs +7 -11
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-field/checkbox-field.directive.mjs +17 -14
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-group-control/checkbox-group-control.directive.mjs +6 -13
- package/esm2022/lib/components/forms/components/error/components/error/error.component.mjs +7 -9
- package/esm2022/lib/components/forms/components/radio/directives/radio/radio.directive.mjs +6 -8
- package/esm2022/lib/components/forms/components/radio/directives/radio-field/radio-field.directive.mjs +14 -18
- package/esm2022/lib/components/forms/components/radio/directives/radio-group/radio-group.directive.mjs +5 -11
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button/segmented-button.directive.mjs +6 -8
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button-field/segmented-button-field.directive.mjs +14 -18
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button-group/segmented-button-group.directive.mjs +6 -11
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox/combobox.directive.mjs +17 -25
- package/esm2022/lib/components/forms/components/select/components/combobox/partials/combobox-body/combobox-body.component.mjs +20 -24
- package/esm2022/lib/components/forms/components/select/components/combobox/partials/combobox-option/combobox-option.component.mjs +11 -23
- package/esm2022/lib/components/forms/components/select/components/select/directives/select/select.directive.mjs +29 -22
- package/esm2022/lib/components/forms/components/select/components/select/directives/select-body/select-body.directive.mjs +7 -15
- package/esm2022/lib/components/forms/components/select/components/select/directives/select-option/select-option.directive.mjs +13 -14
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-body/select-body.component.mjs +9 -3
- package/esm2022/lib/components/forms/components/select/directives/select-field/select-field.directive.mjs +3 -4
- package/esm2022/lib/components/forms/components/slide-toggle/directives/slide-toggle/slide-toggle.directive.mjs +6 -8
- package/esm2022/lib/components/forms/components/slider/components/slider/slider.component.mjs +18 -41
- package/esm2022/lib/components/forms/directives/input/input.directive.mjs +4 -1
- package/esm2022/lib/components/forms/directives/writeable-input/writeable-input.directive.mjs +10 -23
- package/esm2022/lib/components/forms/services/input-state.service.mjs +21 -4
- package/esm2022/lib/components/forms/utils/decorated-form-field.base.mjs +5 -8
- package/esm2022/lib/components/forms/utils/decorated-input.base.mjs +26 -23
- package/esm2022/lib/components/masonry/components/masonry/masonry.component.mjs +6 -8
- package/esm2022/lib/components/overlay/components/overlay/components/overlay-container/overlay-container.component.mjs +11 -4
- package/esm2022/lib/components/overlay/components/toggletip/components/toggletip/toggletip.component.mjs +9 -3
- package/esm2022/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.mjs +4 -1
- package/esm2022/lib/components/overlay/components/tooltip/components/tooltip/tooltip.component.mjs +9 -3
- package/esm2022/lib/components/overlay/components/tooltip/directives/tooltip/tooltip.directive.mjs +4 -1
- package/esm2022/lib/components/picture/picture.component.mjs +7 -4
- package/fesm2022/ethlete-cdk.mjs +255 -356
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/lib/components/button/directives/button/button.directive.d.ts +4 -1
- package/lib/components/button/directives/query-button/query-button.directive.d.ts +4 -1
- package/lib/components/forms/components/checkbox/directives/checkbox/checkbox.directive.d.ts +4 -1
- package/lib/components/forms/components/checkbox/directives/checkbox-field/checkbox-field.directive.d.ts +11 -6
- package/lib/components/forms/components/checkbox/directives/checkbox-group-control/checkbox-group-control.directive.d.ts +6 -4
- package/lib/components/forms/components/error/components/error/error.component.d.ts +4 -1
- package/lib/components/forms/components/radio/directives/radio/radio.directive.d.ts +4 -1
- package/lib/components/forms/components/radio/directives/radio-field/radio-field.directive.d.ts +12 -6
- package/lib/components/forms/components/radio/directives/radio-group/radio-group.directive.d.ts +4 -1
- package/lib/components/forms/components/segmented-button/directives/segmented-button/segmented-button.directive.d.ts +4 -1
- package/lib/components/forms/components/segmented-button/directives/segmented-button-field/segmented-button-field.directive.d.ts +12 -7
- package/lib/components/forms/components/segmented-button/directives/segmented-button-group/segmented-button-group.directive.d.ts +4 -1
- package/lib/components/forms/components/select/components/combobox/directives/combobox/combobox.directive.d.ts +10 -1
- package/lib/components/forms/components/select/components/combobox/partials/combobox-body/combobox-body.component.d.ts +13 -2
- package/lib/components/forms/components/select/components/combobox/partials/combobox-option/combobox-option.component.d.ts +8 -1
- package/lib/components/forms/components/select/components/select/directives/select/select.directive.d.ts +15 -3
- package/lib/components/forms/components/select/components/select/directives/select-body/select-body.directive.d.ts +4 -1
- package/lib/components/forms/components/select/components/select/directives/select-option/select-option.directive.d.ts +10 -1
- package/lib/components/forms/components/select/components/select/partials/select-body/select-body.component.d.ts +5 -1
- package/lib/components/forms/components/select/directives/select-field/select-field.directive.d.ts +2 -2
- package/lib/components/forms/components/slide-toggle/directives/slide-toggle/slide-toggle.directive.d.ts +4 -1
- package/lib/components/forms/components/slider/components/slider/slider.component.d.ts +8 -1
- package/lib/components/forms/directives/input/input.directive.d.ts +21 -19
- package/lib/components/forms/directives/writeable-input/writeable-input.directive.d.ts +4 -1
- package/lib/components/forms/services/input-state.service.d.ts +13 -6
- package/lib/components/forms/utils/decorated-form-field.base.d.ts +4 -1
- package/lib/components/forms/utils/decorated-input.base.d.ts +13 -6
- package/lib/components/masonry/components/masonry/masonry.component.d.ts +4 -1
- package/lib/components/overlay/components/overlay/components/overlay-container/overlay-container.component.d.ts +4 -1
- package/lib/components/overlay/components/toggletip/components/toggletip/toggletip.component.d.ts +5 -1
- package/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.d.ts +1 -0
- package/lib/components/overlay/components/tooltip/components/tooltip/tooltip.component.d.ts +5 -1
- package/lib/components/overlay/components/tooltip/directives/tooltip/tooltip.directive.d.ts +1 -0
- package/package.json +3 -3
|
@@ -6,9 +6,12 @@ import { OverlayConfig, OverlayDragToDismissConfig } from '../../types';
|
|
|
6
6
|
import { OverlayRef } from '../../utils';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
import * as i1 from "@ethlete/core";
|
|
9
|
+
import * as i2 from "@ethlete/theming";
|
|
9
10
|
export declare class OverlayContainerComponent extends CdkDialogContainer<OverlayConfig> {
|
|
10
11
|
private readonly _swipeHandlerService;
|
|
11
12
|
private readonly _dragToDismissStop$;
|
|
13
|
+
private readonly _themeProvider;
|
|
14
|
+
private readonly _parentThemeProvider;
|
|
12
15
|
readonly _animatedLifecycle: AnimatedLifecycleDirective;
|
|
13
16
|
readonly cdkOverlayRef: CdkOverlayRef;
|
|
14
17
|
overlayRef: OverlayRef | null;
|
|
@@ -22,5 +25,5 @@ export declare class OverlayContainerComponent extends CdkDialogContainer<Overla
|
|
|
22
25
|
private _defaultSwipeMoveStyleInterpolator;
|
|
23
26
|
private _defaultSwipeEndStyleInterpolator;
|
|
24
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayContainerComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OverlayContainerComponent, "et-overlay-container", never, {}, {}, never, never, true, [{ directive: typeof i1.AnimatedLifecycleDirective; inputs: {}; outputs: {}; }]>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OverlayContainerComponent, "et-overlay-container", never, {}, {}, never, never, true, [{ directive: typeof i1.AnimatedLifecycleDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.ProvideThemeDirective; inputs: {}; outputs: {}; }]>;
|
|
26
29
|
}
|
package/lib/components/overlay/components/toggletip/components/toggletip/toggletip.component.d.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { ElementRef, InjectionToken, Injector } from '@angular/core';
|
|
2
2
|
import { AnimatedLifecycleDirective } from '@ethlete/core';
|
|
3
|
+
import { ProvideThemeDirective } from '@ethlete/theming';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@ethlete/theming";
|
|
4
6
|
export declare const TOGGLETIP: InjectionToken<ToggletipComponent>;
|
|
5
7
|
export declare class ToggletipComponent {
|
|
6
8
|
readonly _animatedLifecycle?: AnimatedLifecycleDirective;
|
|
7
9
|
private readonly _config;
|
|
8
10
|
protected readonly toggletipText: string | null;
|
|
9
11
|
protected readonly toggletipTemplate: import("@angular/core").TemplateRef<unknown> | null;
|
|
12
|
+
private readonly _themeProvider;
|
|
10
13
|
protected readonly injector: Injector;
|
|
11
14
|
private readonly _cdr;
|
|
12
15
|
readonly _trigger: import("../../directives").ToggletipDirective;
|
|
@@ -15,6 +18,7 @@ export declare class ToggletipComponent {
|
|
|
15
18
|
get usesDefaultAnimation(): boolean;
|
|
16
19
|
get containerClass(): string | string[] | undefined;
|
|
17
20
|
_markForCheck(): void;
|
|
21
|
+
_setThemeFromProvider(provider: ProvideThemeDirective): void;
|
|
18
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggletipComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggletipComponent, "et-toggletip", never, {}, {}, never, never, true,
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggletipComponent, "et-toggletip", never, {}, {}, never, never, true, [{ directive: typeof i1.ProvideThemeDirective; inputs: {}; outputs: {}; }]>;
|
|
20
24
|
}
|
package/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare class ToggletipDirective implements OnInit, OnDestroy {
|
|
|
9
9
|
private readonly _destroy$;
|
|
10
10
|
private readonly _defaultConfig;
|
|
11
11
|
readonly _animatedOverlay: AnimatedOverlayDirective<ToggletipComponent>;
|
|
12
|
+
private readonly _themeProvider;
|
|
12
13
|
get toggletip(): ToggletipTemplate | null;
|
|
13
14
|
set toggletip(v: ToggletipTemplate | null);
|
|
14
15
|
private _toggletip;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { ElementRef, InjectionToken, Injector } from '@angular/core';
|
|
2
2
|
import { AnimatedLifecycleDirective } from '@ethlete/core';
|
|
3
|
+
import { ProvideThemeDirective } from '@ethlete/theming';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@ethlete/theming";
|
|
4
6
|
export declare const TOOLTIP: InjectionToken<TooltipComponent>;
|
|
5
7
|
export declare class TooltipComponent {
|
|
6
8
|
readonly _animatedLifecycle?: AnimatedLifecycleDirective;
|
|
7
9
|
private readonly _config;
|
|
8
10
|
protected tooltipText: string | null;
|
|
9
11
|
protected tooltipTemplate: import("@angular/core").TemplateRef<unknown> | null;
|
|
12
|
+
private readonly _themeProvider;
|
|
10
13
|
protected readonly injector: Injector;
|
|
11
14
|
private readonly _cdr;
|
|
12
15
|
readonly _trigger: import("../../directives").TooltipDirective;
|
|
@@ -15,6 +18,7 @@ export declare class TooltipComponent {
|
|
|
15
18
|
get usesDefaultAnimation(): boolean;
|
|
16
19
|
get containerClass(): string | string[] | undefined;
|
|
17
20
|
_markForCheck(): void;
|
|
21
|
+
_setThemeFromProvider(provider: ProvideThemeDirective): void;
|
|
18
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "et-tooltip", never, {}, {}, never, never, true,
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "et-tooltip", never, {}, {}, never, never, true, [{ directive: typeof i1.ProvideThemeDirective; inputs: {}; outputs: {}; }]>;
|
|
20
24
|
}
|
|
@@ -6,6 +6,7 @@ export declare const TOOLTIP_DIRECTIVE: InjectionToken<TooltipDirective>;
|
|
|
6
6
|
export declare class TooltipDirective implements OnDestroy {
|
|
7
7
|
private readonly _defaultConfig;
|
|
8
8
|
private readonly _animatedOverlay;
|
|
9
|
+
private readonly _themeProvider;
|
|
9
10
|
get tooltip(): TooltipTemplate | null;
|
|
10
11
|
set tooltip(v: TooltipTemplate | null);
|
|
11
12
|
private _tooltip;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethlete/cdk",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.2",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"css": "./src/lib/styles/index.css",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@angular/core": "^15.2.1 || ^16.0.0",
|
|
22
22
|
"@angular/animations": "16.2.5",
|
|
23
23
|
"@angular/platform-browser": "16.2.5",
|
|
24
|
-
"@angular/cdk": "16.2.
|
|
25
|
-
"@ethlete/core": "3.
|
|
24
|
+
"@angular/cdk": "16.2.7",
|
|
25
|
+
"@ethlete/core": "3.11.1",
|
|
26
26
|
"@ethlete/query": "4.16.3"
|
|
27
27
|
},
|
|
28
28
|
"module": "fesm2022/ethlete-cdk.mjs",
|