@coreui/angular 4.7.17 → 5.0.0-rc.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.
- package/LICENSE +1 -1
- package/README.md +11 -1
- package/esm2022/lib/accordion/accordion/accordion.component.mjs +22 -16
- package/esm2022/lib/alert/alert.component.mjs +28 -36
- package/esm2022/lib/avatar/avatar.component.mjs +8 -5
- package/esm2022/lib/backdrop/backdrop.service.mjs +1 -2
- package/esm2022/lib/badge/badge.component.mjs +8 -4
- package/esm2022/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +5 -4
- package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +3 -3
- package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +6 -6
- package/esm2022/lib/button/button-close.directive.mjs +9 -3
- package/esm2022/lib/card/card.component.mjs +11 -8
- package/esm2022/lib/carousel/carousel/carousel.component.mjs +18 -17
- package/esm2022/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-item/carousel-item.component.mjs +7 -7
- package/esm2022/lib/collapse/collapse.directive.mjs +30 -40
- package/esm2022/lib/coreui.types.mjs +1 -1
- package/esm2022/lib/dropdown/dropdown/dropdown.component.mjs +28 -49
- package/esm2022/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +10 -2
- package/esm2022/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +76 -40
- package/esm2022/lib/dropdown/dropdown.service.mjs +2 -2
- package/esm2022/lib/form/form-check/form-check-input.directive.mjs +10 -8
- package/esm2022/lib/grid/row.directive.mjs +4 -4
- package/esm2022/lib/header/header/header.component.mjs +3 -3
- package/esm2022/lib/modal/modal/modal.component.mjs +1 -1
- package/esm2022/lib/nav/nav.component.mjs +3 -3
- package/esm2022/lib/navbar/navbar.component.mjs +7 -11
- package/esm2022/lib/offcanvas/offcanvas/offcanvas.component.mjs +8 -4
- package/esm2022/lib/placeholder/placeholder.directive.mjs +11 -18
- package/esm2022/lib/popover/popover.directive.mjs +2 -2
- package/esm2022/lib/progress/progress-bar.component.mjs +21 -87
- package/esm2022/lib/progress/progress-bar.directive.mjs +112 -0
- package/esm2022/lib/progress/progress-stacked.component.mjs +19 -0
- package/esm2022/lib/progress/progress.component.mjs +25 -10
- package/esm2022/lib/progress/progress.module.mjs +15 -5
- package/esm2022/lib/progress/progress.type.mjs +2 -0
- package/esm2022/lib/progress/public_api.mjs +3 -1
- package/esm2022/lib/services/color-mode.service.mjs +73 -0
- package/esm2022/lib/services/in-memory-storage.service.mjs +33 -0
- package/esm2022/lib/services/local-storage.service.mjs +51 -0
- package/esm2022/lib/services/public_api.mjs +4 -1
- package/esm2022/lib/shared/public_api.mjs +2 -1
- package/esm2022/lib/shared/shared.module.mjs +5 -12
- package/esm2022/lib/shared/theme.directive.mjs +45 -0
- package/esm2022/lib/sidebar/public_api.mjs +2 -2
- package/esm2022/lib/sidebar/sidebar/sidebar.component.mjs +38 -47
- package/esm2022/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-label.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +8 -8
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +19 -15
- package/esm2022/lib/sidebar/sidebar-toggler/sidebar-toggler.directive.mjs +39 -0
- package/esm2022/lib/sidebar/sidebar.module.mjs +6 -6
- package/esm2022/lib/table/table.type.mjs +1 -1
- package/esm2022/lib/tabs/tab-content/tab-content.component.mjs +7 -7
- package/esm2022/lib/tabs/tab-content-ref.directive.mjs +12 -9
- package/esm2022/lib/tabs/tab-pane/tab-pane.component.mjs +5 -8
- package/esm2022/lib/toast/toast/toast.component.mjs +11 -9
- package/esm2022/lib/tooltip/tooltip.directive.mjs +2 -2
- 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/esm2022/lib/widget/widget-stat-a/widget-stat-a.component.mjs +2 -2
- package/esm2022/lib/widget/widget-stat-b/widget-stat-b.component.mjs +4 -4
- package/esm2022/lib/widget/widget-stat-c/widget-stat-c.component.mjs +14 -16
- package/esm2022/lib/widget/widget-stat-d/widget-stat-d.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-e/widget-stat-e.component.mjs +2 -2
- package/esm2022/lib/widget/widget-stat-f/widget-stat-f.component.mjs +2 -2
- package/esm2022/public-api.mjs +2 -2
- package/fesm2022/coreui-angular.mjs +1124 -826
- package/fesm2022/coreui-angular.mjs.map +1 -1
- package/lib/accordion/accordion/accordion.component.d.ts +4 -6
- package/lib/alert/alert.component.d.ts +8 -12
- package/lib/avatar/avatar.component.d.ts +4 -3
- package/lib/badge/badge.component.d.ts +5 -3
- package/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.d.ts +1 -0
- package/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.d.ts +1 -1
- package/lib/button/button-close.directive.d.ts +3 -1
- package/lib/card/card.component.d.ts +3 -2
- package/lib/carousel/carousel/carousel.component.d.ts +4 -8
- package/lib/carousel/carousel-item/carousel-item.component.d.ts +1 -2
- package/lib/collapse/collapse.directive.d.ts +13 -13
- package/lib/coreui.types.d.ts +5 -3
- package/lib/dropdown/dropdown/dropdown.component.d.ts +10 -21
- package/lib/dropdown/dropdown-item/dropdown-item.directive.d.ts +5 -1
- package/lib/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +13 -16
- package/lib/dropdown/dropdown.service.d.ts +0 -1
- package/lib/form/form-check/form-check-input.directive.d.ts +4 -3
- package/lib/nav/nav.component.d.ts +2 -2
- package/lib/navbar/navbar.component.d.ts +2 -5
- package/lib/offcanvas/offcanvas/offcanvas.component.d.ts +2 -1
- package/lib/placeholder/placeholder.directive.d.ts +3 -7
- package/lib/progress/progress-bar.component.d.ts +5 -46
- package/lib/progress/progress-bar.directive.d.ts +58 -0
- package/lib/progress/progress-stacked.component.d.ts +7 -0
- package/lib/progress/progress.component.d.ts +15 -6
- package/lib/progress/progress.module.d.ts +3 -1
- package/lib/progress/progress.type.d.ts +18 -0
- package/lib/progress/public_api.d.ts +3 -1
- package/lib/services/color-mode.service.d.ts +20 -0
- package/lib/services/in-memory-storage.service.d.ts +13 -0
- package/lib/services/local-storage.service.d.ts +17 -0
- package/lib/services/public_api.d.ts +3 -0
- package/lib/shared/public_api.d.ts +1 -0
- package/lib/shared/shared.module.d.ts +2 -1
- package/lib/shared/theme.directive.d.ts +19 -0
- package/lib/sidebar/public_api.d.ts +1 -1
- package/lib/sidebar/sidebar/sidebar.component.d.ts +13 -11
- package/lib/sidebar/sidebar-nav/sidebar-nav.component.d.ts +5 -2
- package/lib/sidebar/sidebar-toggler/sidebar-toggler.directive.d.ts +9 -0
- package/lib/sidebar/sidebar.module.d.ts +2 -2
- package/lib/table/table.type.d.ts +5 -6
- package/lib/tabs/tab-content/tab-content.component.d.ts +1 -0
- package/lib/tabs/tab-content-ref.directive.d.ts +4 -2
- package/lib/toast/toast/toast.component.d.ts +3 -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/lib/widget/widget-stat-a/widget-stat-a.component.d.ts +1 -1
- package/lib/widget/widget-stat-b/widget-stat-b.component.d.ts +3 -3
- package/lib/widget/widget-stat-c/widget-stat-c.component.d.ts +16 -15
- package/lib/widget/widget-stat-e/widget-stat-e.component.d.ts +1 -1
- package/lib/widget/widget-stat-f/widget-stat-f.component.d.ts +1 -1
- package/package.json +7 -5
- package/public-api.d.ts +1 -1
- package/esm2022/lib/progress/progress-bar.mjs +0 -2
- package/esm2022/lib/sidebar/sidebar-toggler/sidebar-toggler.component.mjs +0 -27
- package/lib/progress/progress-bar.d.ts +0 -10
- package/lib/sidebar/sidebar-toggler/sidebar-toggler.component.d.ts +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Colors } from '../../coreui.types';
|
|
1
|
+
import { Colors, TextColors } from '../../coreui.types';
|
|
2
2
|
import { CardComponent } from '../../card';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class WidgetStatBComponent extends CardComponent {
|
|
@@ -12,7 +12,7 @@ export declare class WidgetStatBComponent extends CardComponent {
|
|
|
12
12
|
* Sets the text-color context of the component to one of CoreUI’s themed colors.
|
|
13
13
|
* @type Colors
|
|
14
14
|
*/
|
|
15
|
-
textColor?:
|
|
15
|
+
textColor?: TextColors;
|
|
16
16
|
/**
|
|
17
17
|
* Title of the widget to display
|
|
18
18
|
* @type string
|
|
@@ -36,7 +36,7 @@ export declare class WidgetStatBComponent extends CardComponent {
|
|
|
36
36
|
get hostClasses(): {
|
|
37
37
|
[x: string]: boolean;
|
|
38
38
|
card: boolean;
|
|
39
|
-
'text-
|
|
39
|
+
'text-white': boolean;
|
|
40
40
|
};
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetStatBComponent, never>;
|
|
42
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetStatBComponent, "c-widget-stat-b", ["cWidgetStatB"], { "color": { "alias": "color"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "title": { "alias": "title"; "required": false; }; "text": { "alias": "text"; "required": false; }; "value": { "alias": "value"; "required": false; }; "inverse": { "alias": "inverse"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
@@ -23,30 +23,31 @@ export declare class WidgetStatCComponent extends CardComponent implements After
|
|
|
23
23
|
* Invert colors from their default dark shade.
|
|
24
24
|
* @type boolean
|
|
25
25
|
*/
|
|
26
|
-
inverse:
|
|
26
|
+
inverse: boolean;
|
|
27
27
|
templates: any;
|
|
28
28
|
contentTemplates: QueryList<TemplateIdDirective>;
|
|
29
29
|
get hostExtendedClass(): {
|
|
30
|
-
'
|
|
31
|
-
};
|
|
32
|
-
get iconClasses(): {
|
|
33
|
-
[x: string]: string | boolean;
|
|
34
|
-
'mb-4': boolean;
|
|
35
|
-
'text-end': boolean;
|
|
36
|
-
'text-medium-emphasis': boolean;
|
|
37
|
-
'text-medium-emphasis-inverse': string | boolean;
|
|
30
|
+
'text-white': boolean;
|
|
38
31
|
};
|
|
39
32
|
get titleClasses(): {
|
|
40
|
-
[x: string]:
|
|
41
|
-
'text-
|
|
42
|
-
'text-
|
|
33
|
+
[x: string]: boolean;
|
|
34
|
+
'text-body-secondary': boolean;
|
|
35
|
+
'text-white': boolean;
|
|
36
|
+
'text-opacity-75': boolean;
|
|
43
37
|
};
|
|
44
38
|
get valueClasses(): {
|
|
45
|
-
|
|
39
|
+
'text-opacity-75': boolean;
|
|
40
|
+
'text-body-secondary': boolean;
|
|
41
|
+
'text-white': boolean;
|
|
46
42
|
'fs-4': boolean;
|
|
47
43
|
'fw-semibold': boolean;
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
};
|
|
45
|
+
get iconClasses(): {
|
|
46
|
+
'text-body-secondary': boolean;
|
|
47
|
+
'text-white': boolean;
|
|
48
|
+
'text-opacity-75': boolean;
|
|
49
|
+
'mb-4': boolean;
|
|
50
|
+
'text-end': boolean;
|
|
50
51
|
};
|
|
51
52
|
ngAfterContentInit(): void;
|
|
52
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetStatCComponent, never>;
|
|
@@ -14,7 +14,7 @@ export declare class WidgetStatEComponent extends CardComponent {
|
|
|
14
14
|
value?: string | number;
|
|
15
15
|
get titleClasses(): {
|
|
16
16
|
[x: string]: boolean;
|
|
17
|
-
'text-
|
|
17
|
+
'text-body-secondary': boolean;
|
|
18
18
|
small: boolean;
|
|
19
19
|
'text-uppercase': boolean;
|
|
20
20
|
'fw-semibold': boolean;
|
|
@@ -57,7 +57,7 @@ export declare class WidgetStatFComponent implements AfterContentInit {
|
|
|
57
57
|
};
|
|
58
58
|
get titleClasses(): {
|
|
59
59
|
[x: string]: boolean;
|
|
60
|
-
'text-
|
|
60
|
+
'text-body-secondary': boolean;
|
|
61
61
|
small: boolean;
|
|
62
62
|
'text-uppercase': boolean;
|
|
63
63
|
'fw-semibold': boolean;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/angular",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "CoreUI for Angular
|
|
5
|
-
"copyright": "Copyright
|
|
3
|
+
"version": "5.0.0-rc.0",
|
|
4
|
+
"description": "CoreUI Components Library for Angular",
|
|
5
|
+
"copyright": "Copyright 2024 creativeLabs Łukasz Holeczek",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://coreui.io/angular",
|
|
8
8
|
"author": {
|
|
@@ -18,16 +18,18 @@
|
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@popperjs/core": "~2.11.
|
|
21
|
+
"@popperjs/core": "~2.11.8",
|
|
22
22
|
"tslib": "^2.3.0"
|
|
23
23
|
},
|
|
24
24
|
"sideEffects": false,
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@angular/animations": "^17.3.0",
|
|
27
|
-
"@angular/cdk": "^17.2.
|
|
27
|
+
"@angular/cdk": "^17.2.2",
|
|
28
28
|
"@angular/common": "^17.3.0",
|
|
29
29
|
"@angular/core": "^17.3.0",
|
|
30
30
|
"@angular/router": "^17.3.0",
|
|
31
|
+
"@coreui/coreui": "~5.0.0-0 || ~5.0.0",
|
|
32
|
+
"@coreui/icons-angular": "^5.0.0-0 || ~5.0.0",
|
|
31
33
|
"rxjs": "^7.8.1"
|
|
32
34
|
},
|
|
33
35
|
"repository": {
|
package/public-api.d.ts
CHANGED
|
@@ -28,8 +28,8 @@ export * from './lib/placeholder';
|
|
|
28
28
|
export * from './lib/popover';
|
|
29
29
|
export * from './lib/progress';
|
|
30
30
|
export * from './lib/services';
|
|
31
|
-
export * from './lib/spinner';
|
|
32
31
|
export * from './lib/sidebar';
|
|
32
|
+
export * from './lib/spinner';
|
|
33
33
|
export * from './lib/table';
|
|
34
34
|
export * from './lib/tabs';
|
|
35
35
|
export * from './lib/toast';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtYmFyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZXVpLWFuZ3VsYXIvc3JjL2xpYi9wcm9ncmVzcy9wcm9ncmVzcy1iYXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSVN0YWNrZWRCYXIge1xuICB2YWx1ZTogbnVtYmVyO1xuICBjb2xvcj86IHN0cmluZztcbiAgbGFiZWw/OiBzdHJpbmc7XG4gIGFuaW1hdGVkPzogYm9vbGVhbjtcbiAgc3RyaXBlZD86IGJvb2xlYW47XG4gIHByZWNpc2lvbj86IG51bWJlcjtcbiAgbWluPzogbnVtYmVyO1xuICBtYXg/OiBudW1iZXI7XG59XG4iXX0=
|
|
@@ -1,27 +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
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: SidebarTogglerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: SidebarTogglerComponent, isStandalone: true, selector: "c-sidebar-toggler", inputs: { role: "role" }, host: { properties: { "attr.role": "this.role", "class.sidebar-toggler": "this.sidebarTogglerClass" } }, ngImport: i0, template: ``, isInline: true }); }
|
|
10
|
-
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: SidebarTogglerComponent, decorators: [{
|
|
12
|
-
type: Component,
|
|
13
|
-
args: [{
|
|
14
|
-
selector: 'c-sidebar-toggler',
|
|
15
|
-
template: ``,
|
|
16
|
-
standalone: true
|
|
17
|
-
}]
|
|
18
|
-
}], propDecorators: { role: [{
|
|
19
|
-
type: HostBinding,
|
|
20
|
-
args: ['attr.role']
|
|
21
|
-
}, {
|
|
22
|
-
type: Input
|
|
23
|
-
}], sidebarTogglerClass: [{
|
|
24
|
-
type: HostBinding,
|
|
25
|
-
args: ['class.sidebar-toggler']
|
|
26
|
-
}] } });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci10b2dnbGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmV1aS1hbmd1bGFyL3NyYy9saWIvc2lkZWJhci9zaWRlYmFyLXRvZ2dsZXIvc2lkZWJhci10b2dnbGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTzlELE1BQU0sT0FBTyx1QkFBdUI7SUFMcEM7UUFRVyxTQUFJLEdBQUcsUUFBUSxDQUFDO1FBRWEsd0JBQW1CLEdBQUcsSUFBSSxDQUFDO0tBRWxFOzhHQVBZLHVCQUF1QjtrR0FBdkIsdUJBQXVCLGdOQUh4QixFQUFFOzsyRkFHRCx1QkFBdUI7a0JBTG5DLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLG1CQUFtQjtvQkFDN0IsUUFBUSxFQUFFLEVBQUU7b0JBQ1osVUFBVSxFQUFFLElBQUk7aUJBQ2pCOzhCQUlVLElBQUk7c0JBRFosV0FBVzt1QkFBQyxXQUFXOztzQkFDdkIsS0FBSztnQkFFZ0MsbUJBQW1CO3NCQUF4RCxXQUFXO3VCQUFDLHVCQUF1QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgSG9zdEJpbmRpbmcsIElucHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2Mtc2lkZWJhci10b2dnbGVyJyxcbiAgdGVtcGxhdGU6IGBgLFxuICBzdGFuZGFsb25lOiB0cnVlXG59KVxuZXhwb3J0IGNsYXNzIFNpZGViYXJUb2dnbGVyQ29tcG9uZW50IHtcblxuICBASG9zdEJpbmRpbmcoJ2F0dHIucm9sZScpXG4gIEBJbnB1dCgpIHJvbGUgPSAnYnV0dG9uJztcblxuICBASG9zdEJpbmRpbmcoJ2NsYXNzLnNpZGViYXItdG9nZ2xlcicpIHNpZGViYXJUb2dnbGVyQ2xhc3MgPSB0cnVlO1xuXG59XG4iXX0=
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SidebarTogglerComponent {
|
|
3
|
-
role: string;
|
|
4
|
-
sidebarTogglerClass: boolean;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarTogglerComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarTogglerComponent, "c-sidebar-toggler", never, { "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
|
-
}
|