suis 0.32.3 → 0.33.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/esm2022/lib/components/suis-navigation/suis-navigation.component.mjs +5 -5
- package/esm2022/lib/components/suis-notification/suis-notification.component.mjs +8 -3
- package/esm2022/lib/components/suis-notification/suis-notification.interfaces.mjs +1 -1
- package/esm2022/lib/components/suis-pagination/suis-pagination.component.mjs +4 -4
- package/esm2022/lib/components/suis-text-area/suis-text-area.component.mjs +3 -3
- package/esm2022/lib/components/suis-title/index.mjs +2 -1
- package/esm2022/lib/components/suis-title/suis-title.component.mjs +17 -5
- package/esm2022/lib/components/suis-title/suis-title.enum.mjs +7 -0
- package/esm2022/lib/services/suis-notification.service.mjs +15 -11
- package/fesm2022/suis.mjs +52 -26
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/suis-navigation/suis-navigation.component.d.ts +2 -2
- package/lib/components/suis-notification/suis-notification.component.d.ts +1 -1
- package/lib/components/suis-notification/suis-notification.interfaces.d.ts +1 -0
- package/lib/components/suis-pagination/suis-pagination.component.d.ts +3 -3
- package/lib/components/suis-title/index.d.ts +1 -0
- package/lib/components/suis-title/suis-title.component.d.ts +8 -1
- package/lib/components/suis-title/suis-title.enum.d.ts +5 -0
- package/lib/services/suis-notification.service.d.ts +9 -6
- package/package.json +1 -1
@@ -18,11 +18,11 @@ export declare class SuisNavigationComponent {
|
|
18
18
|
*/
|
19
19
|
expandable: boolean;
|
20
20
|
/**
|
21
|
-
* Adds collapse /
|
21
|
+
* Adds collapse / expand logic to navigiaton. By default set to false.
|
22
22
|
*/
|
23
23
|
collapsable: boolean;
|
24
24
|
/**
|
25
|
-
* Collapses the navigiation. By default set to false.
|
25
|
+
* Collapses the navigiation, when collapsable is enabled. By default set to false.
|
26
26
|
*/
|
27
27
|
collapsed: boolean;
|
28
28
|
/**
|
@@ -13,7 +13,7 @@ export declare class SuisPaginationComponent implements OnInit, OnChanges {
|
|
13
13
|
*/
|
14
14
|
page: number;
|
15
15
|
/**
|
16
|
-
* Number of items presented per page. By default set to 15.
|
16
|
+
* Number of items presented per page. Value must be included in perPageOptions. By default set to 15.
|
17
17
|
*/
|
18
18
|
perPage: number;
|
19
19
|
/**
|
@@ -25,11 +25,11 @@ export declare class SuisPaginationComponent implements OnInit, OnChanges {
|
|
25
25
|
*/
|
26
26
|
totalItems: number;
|
27
27
|
/**
|
28
|
-
* Sets the of label "1 'of' 25". By default set to 'of'.
|
28
|
+
* Sets the of label in "1 'of' 25". By default set to 'of'.
|
29
29
|
*/
|
30
30
|
ofLabel: string;
|
31
31
|
/**
|
32
|
-
* Sets the
|
32
|
+
* Sets the items label in "1-10 'of' 25 'items'". By default set to 'Page'.
|
33
33
|
*/
|
34
34
|
itemsLabel: string;
|
35
35
|
/**
|
@@ -1,5 +1,12 @@
|
|
1
|
+
import { SuisTitle } from './suis-title.enum';
|
1
2
|
import * as i0 from "@angular/core";
|
2
3
|
export declare class SuisTitleComponent {
|
4
|
+
/** @internal */
|
5
|
+
readonly SuisTitle: typeof SuisTitle;
|
6
|
+
/**
|
7
|
+
* Sets level of the header tag. Type of SuisTitle. By default set to H1.
|
8
|
+
*/
|
9
|
+
level: SuisTitle;
|
3
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisTitleComponent, never>;
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuisTitleComponent, "suis-title", never, {}, {}, never, ["*"], true, never>;
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisTitleComponent, "suis-title", never, { "level": { "alias": "level"; "required": false; }; }, {}, never, ["*"], true, never>;
|
5
12
|
}
|
@@ -9,22 +9,25 @@ export declare class SuisNotificationService {
|
|
9
9
|
getNotifications(): Signal<SuisNotification[]>;
|
10
10
|
/**
|
11
11
|
* Adds success notification
|
12
|
-
* @param
|
12
|
+
* @param header text displayed in the notification header
|
13
|
+
* @param message text displayed in the notification message
|
13
14
|
* @param delay time in ms after notification will be destroyed
|
14
15
|
*/
|
15
|
-
success(message: string, delay?: number): void;
|
16
|
+
success(header: string, message: string, delay?: number): void;
|
16
17
|
/**
|
17
18
|
* Adds warning notification
|
18
|
-
* @param
|
19
|
+
* @param header text displayed in the notification header
|
20
|
+
* @param message text displayed in the notification message
|
19
21
|
* @param delay time in ms after notification will be destroyed
|
20
22
|
*/
|
21
|
-
warning(message: string, delay?: number): void;
|
23
|
+
warning(header: string, message: string, delay?: number): void;
|
22
24
|
/**
|
23
25
|
* Adds danger notification
|
24
|
-
* @param
|
26
|
+
* @param header text displayed in the notification header
|
27
|
+
* @param message text displayed in the notification message
|
25
28
|
* @param delay time in ms after notification will be destroyed
|
26
29
|
*/
|
27
|
-
danger(message: string, delay?: number): void;
|
30
|
+
danger(header: string, message: string, delay?: number): void;
|
28
31
|
/**
|
29
32
|
* Removes notification immediately
|
30
33
|
* @param id id of the notification to be removed
|