@coreui/angular-pro 5.0.0-alpha.6 → 5.0.0-alpha.7
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/esm2022/lib/avatar/avatar.component.mjs +5 -6
- package/esm2022/lib/header/header/header.component.mjs +4 -4
- package/esm2022/lib/sidebar/public_api.mjs +2 -2
- package/esm2022/lib/sidebar/sidebar-toggler/sidebar-toggler.directive.mjs +39 -0
- package/esm2022/lib/sidebar/sidebar.module.mjs +6 -6
- package/esm2022/lib/utilities/public_api.mjs +4 -3
- package/esm2022/lib/utilities/shadow-on-scroll.directive.mjs +48 -0
- package/esm2022/lib/utilities/utilities.module.mjs +5 -29
- package/fesm2022/coreui-angular-pro.mjs +108 -85
- package/fesm2022/coreui-angular-pro.mjs.map +1 -1
- package/lib/avatar/avatar.component.d.ts +1 -1
- package/lib/sidebar/public_api.d.ts +1 -1
- package/lib/sidebar/sidebar-toggler/sidebar-toggler.directive.d.ts +9 -0
- package/lib/sidebar/sidebar.module.d.ts +2 -2
- package/lib/utilities/public_api.d.ts +3 -2
- package/lib/utilities/shadow-on-scroll.directive.d.ts +8 -0
- package/lib/utilities/utilities.module.d.ts +7 -6
- package/package.json +2 -2
- package/esm2022/lib/sidebar/sidebar-toggler/sidebar-toggler.component.mjs +0 -36
- package/lib/sidebar/sidebar-toggler/sidebar-toggler.component.d.ts +0 -8
|
@@ -37,5 +37,5 @@ export declare class AvatarComponent {
|
|
|
37
37
|
get statusClass(): any;
|
|
38
38
|
get hostClasses(): any;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "c-avatar", never, { "color": { "alias": "color"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "status": { "alias": "status"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.TextColorDirective; inputs: { "cTextColor": "textColor"; }; outputs: {}; }]>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "c-avatar", never, { "color": { "alias": "color"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "status": { "alias": "status"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, ["*", "*"], true, [{ directive: typeof i1.TextColorDirective; inputs: { "cTextColor": "textColor"; }; outputs: {}; }]>;
|
|
41
41
|
}
|
|
@@ -2,7 +2,7 @@ export { SidebarComponent } from './sidebar/sidebar.component';
|
|
|
2
2
|
export { SidebarService } from './sidebar.service';
|
|
3
3
|
export { SidebarBrandComponent } from './sidebar-brand/sidebar-brand.component';
|
|
4
4
|
export { SidebarToggleDirective } from './sidebar-toggle/sidebar-toggle.directive';
|
|
5
|
-
export {
|
|
5
|
+
export { SidebarTogglerDirective } from './sidebar-toggler/sidebar-toggler.directive';
|
|
6
6
|
export { SidebarHeaderComponent } from './sidebar-header/sidebar-header.component';
|
|
7
7
|
export { SidebarFooterComponent } from './sidebar-footer/sidebar-footer.component';
|
|
8
8
|
export { SidebarNavComponent, INavData, SidebarNavHelper } from './sidebar-nav';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "../sidebar-toggle/sidebar-toggle.directive";
|
|
3
|
+
export declare class SidebarTogglerDirective {
|
|
4
|
+
role: string;
|
|
5
|
+
sidebarTogglerClass: boolean;
|
|
6
|
+
get getStyles(): any;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarTogglerDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SidebarTogglerDirective, "[cSidebarToggler]", never, { "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.SidebarToggleDirective; inputs: { "cSidebarToggle": "cSidebarToggler"; "toggle": "toggle"; }; outputs: {}; }]>;
|
|
9
|
+
}
|
|
@@ -13,9 +13,9 @@ import * as i11 from "./sidebar-nav/sidebar-nav-link.component";
|
|
|
13
13
|
import * as i12 from "./sidebar-nav/sidebar-nav-link.pipe";
|
|
14
14
|
import * as i13 from "./sidebar-nav/sidebar-nav-title.component";
|
|
15
15
|
import * as i14 from "./sidebar-toggle/sidebar-toggle.directive";
|
|
16
|
-
import * as i15 from "./sidebar-toggler/sidebar-toggler.
|
|
16
|
+
import * as i15 from "./sidebar-toggler/sidebar-toggler.directive";
|
|
17
17
|
export declare class SidebarModule {
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SidebarModule, never, [typeof i1.SidebarComponent, typeof i2.SidebarBrandComponent, typeof i3.SidebarFooterComponent, typeof i4.SidebarHeaderComponent, typeof i5.SidebarNavComponent, typeof i6.SidebarNavBadgePipe, typeof i7.SidebarNavDividerComponent, typeof i5.SidebarNavGroupComponent, typeof i8.SidebarNavIconPipe, typeof i9.SidebarNavItemClassPipe, typeof i10.SidebarNavLabelComponent, typeof i11.SidebarNavLinkComponent, typeof i11.SidebarNavLinkContentComponent, typeof i12.SidebarNavLinkPipe, typeof i13.SidebarNavTitleComponent, typeof i14.SidebarToggleDirective, typeof i15.
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SidebarModule, never, [typeof i1.SidebarComponent, typeof i2.SidebarBrandComponent, typeof i3.SidebarFooterComponent, typeof i4.SidebarHeaderComponent, typeof i5.SidebarNavComponent, typeof i6.SidebarNavBadgePipe, typeof i7.SidebarNavDividerComponent, typeof i5.SidebarNavGroupComponent, typeof i8.SidebarNavIconPipe, typeof i9.SidebarNavItemClassPipe, typeof i10.SidebarNavLabelComponent, typeof i11.SidebarNavLinkComponent, typeof i11.SidebarNavLinkContentComponent, typeof i12.SidebarNavLinkPipe, typeof i13.SidebarNavTitleComponent, typeof i14.SidebarToggleDirective, typeof i15.SidebarTogglerDirective], [typeof i1.SidebarComponent, typeof i14.SidebarToggleDirective, typeof i15.SidebarTogglerDirective, typeof i2.SidebarBrandComponent, typeof i5.SidebarNavComponent, typeof i4.SidebarHeaderComponent, typeof i3.SidebarFooterComponent]>;
|
|
20
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<SidebarModule>;
|
|
21
21
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
export { AlignDirective } from './align.directive';
|
|
1
2
|
export { BgColorDirective } from './bg-color.directive';
|
|
2
3
|
export { BorderDirective } from './border.directive';
|
|
3
|
-
export { TextColorDirective } from './text-color.directive';
|
|
4
4
|
export { RoundedDirective } from './rounded.directive';
|
|
5
|
-
export {
|
|
5
|
+
export { ShadowOnScrollDirective } from './shadow-on-scroll.directive';
|
|
6
|
+
export { TextColorDirective } from './text-color.directive';
|
|
6
7
|
export { UtilitiesModule } from './utilities.module';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ShadowOnScrollDirective {
|
|
3
|
+
#private;
|
|
4
|
+
constructor();
|
|
5
|
+
set cShadowOnScroll(value: 'sm' | 'lg' | 'none' | boolean);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShadowOnScrollDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ShadowOnScrollDirective, "[cShadowOnScroll]", never, { "cShadowOnScroll": { "alias": "cShadowOnScroll"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "./
|
|
5
|
-
import * as i4 from "./
|
|
6
|
-
import * as i5 from "./
|
|
2
|
+
import * as i1 from "./align.directive";
|
|
3
|
+
import * as i2 from "./bg-color.directive";
|
|
4
|
+
import * as i3 from "./border.directive";
|
|
5
|
+
import * as i4 from "./rounded.directive";
|
|
6
|
+
import * as i5 from "./shadow-on-scroll.directive";
|
|
7
|
+
import * as i6 from "./text-color.directive";
|
|
7
8
|
export declare class UtilitiesModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<UtilitiesModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UtilitiesModule, never, [typeof i1.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UtilitiesModule, never, [typeof i1.AlignDirective, typeof i2.BgColorDirective, typeof i3.BorderDirective, typeof i4.RoundedDirective, typeof i5.ShadowOnScrollDirective, typeof i6.TextColorDirective], [typeof i1.AlignDirective, typeof i2.BgColorDirective, typeof i3.BorderDirective, typeof i4.RoundedDirective, typeof i5.ShadowOnScrollDirective, typeof i6.TextColorDirective]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<UtilitiesModule>;
|
|
11
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/angular-pro",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.7",
|
|
4
4
|
"description": "CoreUI Pro Components Library for Angular",
|
|
5
5
|
"copyright": "Copyright 2024 creativeLabs Łukasz Holeczek",
|
|
6
6
|
"homepage": "https://coreui.io/angular",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@angular/forms": "^17.0.0",
|
|
30
30
|
"@angular/router": "^17.0.0",
|
|
31
31
|
"@coreui/coreui-pro": "~5.0.0-rc.1",
|
|
32
|
-
"@coreui/icons-angular": "~4.7.3 ||
|
|
32
|
+
"@coreui/icons-angular": "~4.7.3 || ^5.0.0",
|
|
33
33
|
"rxjs": "^7.8.1"
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Component, HostBinding, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class SidebarTogglerComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.role = 'button';
|
|
6
|
-
this.sidebarTogglerClass = true;
|
|
7
|
-
}
|
|
8
|
-
get getStyles() {
|
|
9
|
-
return {
|
|
10
|
-
appearance: 'button',
|
|
11
|
-
'align-items': 'flex-start',
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SidebarTogglerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: SidebarTogglerComponent, isStandalone: true, selector: "c-sidebar-toggler", inputs: { role: "role" }, host: { properties: { "attr.role": "this.role", "class.sidebar-toggler": "this.sidebarTogglerClass", "style": "this.getStyles" } }, ngImport: i0, template: ``, isInline: true }); }
|
|
16
|
-
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SidebarTogglerComponent, decorators: [{
|
|
18
|
-
type: Component,
|
|
19
|
-
args: [{
|
|
20
|
-
selector: 'c-sidebar-toggler',
|
|
21
|
-
template: ``,
|
|
22
|
-
standalone: true
|
|
23
|
-
}]
|
|
24
|
-
}], propDecorators: { role: [{
|
|
25
|
-
type: HostBinding,
|
|
26
|
-
args: ['attr.role']
|
|
27
|
-
}, {
|
|
28
|
-
type: Input
|
|
29
|
-
}], sidebarTogglerClass: [{
|
|
30
|
-
type: HostBinding,
|
|
31
|
-
args: ['class.sidebar-toggler']
|
|
32
|
-
}], getStyles: [{
|
|
33
|
-
type: HostBinding,
|
|
34
|
-
args: ['style']
|
|
35
|
-
}] } });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJ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AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdjLXNpZGViYXItdG9nZ2xlcicsXG4gIHRlbXBsYXRlOiBgYCxcbiAgc3RhbmRhbG9uZTogdHJ1ZVxufSlcbmV4cG9ydCBjbGFzcyBTaWRlYmFyVG9nZ2xlckNvbXBvbmVudCB7XG5cbiAgQEhvc3RCaW5kaW5nKCdhdHRyLnJvbGUnKVxuICBASW5wdXQoKSByb2xlID0gJ2J1dHRvbic7XG5cbiAgQEhvc3RCaW5kaW5nKCdjbGFzcy5zaWRlYmFyLXRvZ2dsZXInKSBzaWRlYmFyVG9nZ2xlckNsYXNzID0gdHJ1ZTtcblxuICBASG9zdEJpbmRpbmcoJ3N0eWxlJylcbiAgZ2V0IGdldFN0eWxlcygpOiBhbnkge1xuICAgIHJldHVybiB7XG4gICAgICBhcHBlYXJhbmNlOiAnYnV0dG9uJyxcbiAgICAgICdhbGlnbi1pdGVtcyc6ICdmbGV4LXN0YXJ0JyxcbiAgICB9O1xuICB9XG5cbn1cbiJdfQ==
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SidebarTogglerComponent {
|
|
3
|
-
role: string;
|
|
4
|
-
sidebarTogglerClass: boolean;
|
|
5
|
-
get getStyles(): any;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarTogglerComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarTogglerComponent, "c-sidebar-toggler", never, { "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
-
}
|