cps-ui-kit 17.10.0 → 17.11.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/assets/icons.svg +4 -0
- package/esm2022/lib/components/cps-button/cps-button.component.mjs +12 -4
- package/esm2022/lib/components/cps-icon/cps-icon.component.mjs +2 -1
- package/esm2022/lib/components/cps-tab-group/cps-tab-group.component.mjs +3 -3
- package/esm2022/lib/components/cps-table/components/internal/table-column-filter/table-column-filter.component.mjs +2 -3
- package/esm2022/lib/components/cps-table/components/internal/table-column-filter-constraint/table-column-filter-constraint.component.mjs +1 -2
- package/esm2022/lib/components/cps-table/components/internal/table-row-menu/table-row-menu.component.mjs +1 -2
- package/esm2022/lib/components/cps-table/cps-table.component.mjs +2 -2
- package/esm2022/lib/components/cps-tag/cps-tag.component.mjs +6 -26
- package/esm2022/lib/components/cps-tree-table/cps-tree-table.component.mjs +2 -2
- package/esm2022/lib/services/cps-dialog/internal/components/cps-confirmation/cps-confirmation.component.mjs +1 -1
- package/esm2022/lib/services/cps-dialog/internal/components/cps-dialog/cps-dialog.component.mjs +2 -2
- package/esm2022/lib/services/cps-notification/internal/components/cps-toast/cps-toast.component.mjs +2 -2
- package/esm2022/lib/services/cps-notification/utils/internal/cps-notification-data.mjs +1 -1
- package/fesm2022/cps-ui-kit.mjs +25 -39
- package/fesm2022/cps-ui-kit.mjs.map +1 -1
- package/lib/components/cps-button/cps-button.component.d.ts +9 -4
- package/lib/components/cps-table/components/internal/table-column-filter/table-column-filter.component.d.ts +0 -1
- package/lib/components/cps-table/components/internal/table-column-filter-constraint/table-column-filter-constraint.component.d.ts +0 -1
- package/lib/components/cps-table/components/internal/table-row-menu/table-row-menu.component.d.ts +0 -1
- package/lib/components/cps-tag/cps-tag.component.d.ts +1 -7
- package/lib/services/cps-notification/utils/internal/cps-notification-data.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EventEmitter,
|
|
1
|
+
import { EventEmitter, OnChanges } from '@angular/core';
|
|
2
2
|
import { IconType } from '../cps-icon/cps-icon.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* CpsButtonComponent is a button element.
|
|
6
6
|
* @group Components
|
|
7
7
|
*/
|
|
8
|
-
export declare class CpsButtonComponent implements
|
|
8
|
+
export declare class CpsButtonComponent implements OnChanges {
|
|
9
9
|
/**
|
|
10
10
|
* Color of the button.
|
|
11
11
|
* @group Props
|
|
@@ -16,6 +16,11 @@ export declare class CpsButtonComponent implements OnInit {
|
|
|
16
16
|
* @group Props
|
|
17
17
|
*/
|
|
18
18
|
contentColor: string;
|
|
19
|
+
/**
|
|
20
|
+
* Border radius of the button, of type number denoting pixels or string.
|
|
21
|
+
* @group Props
|
|
22
|
+
*/
|
|
23
|
+
borderRadius: number | string;
|
|
19
24
|
/**
|
|
20
25
|
* Type of the button in terms of appearance, it can be 'solid' or 'outlined' or 'borderless'.
|
|
21
26
|
* @group Props
|
|
@@ -74,9 +79,9 @@ export declare class CpsButtonComponent implements OnInit {
|
|
|
74
79
|
cvtFontSize: string;
|
|
75
80
|
cvtIconSize: string;
|
|
76
81
|
classesList: string[];
|
|
77
|
-
|
|
82
|
+
ngOnChanges(): void;
|
|
78
83
|
setClasses(): void;
|
|
79
84
|
onClick(event: Event): void;
|
|
80
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsButtonComponent, never>;
|
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CpsButtonComponent, "cps-button", never, { "color": { "alias": "color"; "required": false; }; "contentColor": { "alias": "contentColor"; "required": false; }; "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "size": { "alias": "size"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CpsButtonComponent, "cps-button", never, { "color": { "alias": "color"; "required": false; }; "contentColor": { "alias": "contentColor"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "size": { "alias": "size"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
82
87
|
}
|
|
@@ -8,7 +8,6 @@ import { TableColumnFilterConstraintComponent } from '../table-column-filter-con
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* TableColumnFilterComponent is an internal filter component in table and treetable.
|
|
11
|
-
* @group Components
|
|
12
11
|
*/
|
|
13
12
|
export declare class TableColumnFilterComponent implements OnInit, OnDestroy {
|
|
14
13
|
elementRef: ElementRef;
|
|
@@ -8,7 +8,6 @@ import { CpsColumnFilterCategoryOption, CpsColumnFilterType } from '../../../cps
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* TableColumnFilterConstraintComponent is an internal filtering constraint component in table and treetable.
|
|
11
|
-
* @group Components
|
|
12
11
|
*/
|
|
13
12
|
export declare class TableColumnFilterConstraintComponent implements OnChanges {
|
|
14
13
|
dt: Table;
|
package/lib/components/cps-table/components/internal/table-row-menu/table-row-menu.component.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { CpsMenuItem } from '../../../../cps-menu/cps-menu.component';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* TableRowMenuComponent is an internal component which applies the menu to each row.
|
|
6
|
-
* @group Components
|
|
7
6
|
*/
|
|
8
7
|
export declare class TableRowMenuComponent implements OnInit {
|
|
9
8
|
/**
|
|
@@ -7,11 +7,6 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class CpsTagComponent implements ControlValueAccessor, OnChanges {
|
|
9
9
|
private _control;
|
|
10
|
-
/**
|
|
11
|
-
* Type of the tag. It can be security, classification or custom, has higher precedence over color.
|
|
12
|
-
* @group Props
|
|
13
|
-
*/
|
|
14
|
-
type: 'security' | 'classification' | 'custom';
|
|
15
10
|
/**
|
|
16
11
|
* Label of the tag.
|
|
17
12
|
* @group Props
|
|
@@ -45,7 +40,6 @@ export declare class CpsTagComponent implements ControlValueAccessor, OnChanges
|
|
|
45
40
|
*/
|
|
46
41
|
valueChanged: EventEmitter<boolean>;
|
|
47
42
|
classesList: string[];
|
|
48
|
-
tagColor: string;
|
|
49
43
|
private _value;
|
|
50
44
|
constructor(_control: NgControl);
|
|
51
45
|
ngOnChanges(): void;
|
|
@@ -58,5 +52,5 @@ export declare class CpsTagComponent implements ControlValueAccessor, OnChanges
|
|
|
58
52
|
toggleSelected(): void;
|
|
59
53
|
private _updateValue;
|
|
60
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<CpsTagComponent, [{ optional: true; self: true; }]>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CpsTagComponent, "cps-tag", never, { "
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CpsTagComponent, "cps-tag", never, { "label": { "alias": "label"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
62
56
|
}
|