suis 0.32.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +4 -63
- package/esm2022/lib/components/suis-alert/suis-alert.component.mjs +3 -3
- package/esm2022/lib/components/suis-button/suis-button.component.mjs +3 -3
- package/esm2022/lib/components/suis-button-link/suis-button-link.component.mjs +3 -3
- package/esm2022/lib/components/suis-button-outlined/suis-button-outlined.component.mjs +3 -3
- package/esm2022/lib/components/suis-chip/suis-chip.component.mjs +3 -3
- package/esm2022/lib/components/suis-dialog/suis-dialog.component.mjs +3 -3
- package/esm2022/lib/components/suis-icon/suis-icon-type.pipe.mjs +4 -4
- package/esm2022/lib/components/suis-icon/suis-icon.component.mjs +5 -5
- package/esm2022/lib/components/suis-icon/suis-icon.types.mjs +1 -1
- package/esm2022/lib/components/suis-input-checkbox/suis-input-checkbox.component.mjs +3 -3
- package/esm2022/lib/components/suis-input-image/suis-input-image.component.mjs +3 -3
- 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-select/suis-select.component.mjs +3 -3
- package/esm2022/lib/components/suis-select-multi/suis-select-multi.component.mjs +3 -3
- package/esm2022/lib/components/suis-select-option/suis-select-option.component.mjs +3 -3
- package/esm2022/lib/services/suis-notification.service.mjs +15 -11
- package/fesm2022/suis.mjs +57 -48
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/suis-icon/suis-icon.component.d.ts +1 -1
- package/lib/components/suis-icon/suis-icon.types.d.ts +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/services/suis-notification.service.d.ts +9 -6
- package/package.json +7 -1
@@ -12,7 +12,7 @@ export declare class SuisIconComponent {
|
|
12
12
|
*/
|
13
13
|
color: SuisColor;
|
14
14
|
/**
|
15
|
-
* Sets the HTML Entity displayed in content. Type of SuisIconType. By default set to '
|
15
|
+
* Sets the HTML Entity displayed in content. Type of SuisIconType. By default set to 'question'.
|
16
16
|
*/
|
17
17
|
type: SuisIconType;
|
18
18
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
export type SuisIconType = '
|
1
|
+
export type SuisIconType = 'question' | 'exclamation' | 'check' | 'times' | 'plus' | 'minus' | 'arrow-up' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right';
|
@@ -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
|
/**
|
@@ -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
|
package/package.json
CHANGED
@@ -1,9 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"name": "suis",
|
3
|
-
"version": "0.
|
3
|
+
"version": "1.0.0",
|
4
4
|
"main": "src/index.ts",
|
5
5
|
"author": "Karol Jaskółka",
|
6
6
|
"description": "Angular 16+ Component Library",
|
7
|
+
"homepage": "https://suis-docs.vercel.app/",
|
8
|
+
"bugs": "https://github.com/karoljaskolka/suis/issues",
|
9
|
+
"repository": {
|
10
|
+
"type": "git",
|
11
|
+
"url": "https://github.com/karoljaskolka/suis.git"
|
12
|
+
},
|
7
13
|
"keywords": [
|
8
14
|
"angular",
|
9
15
|
"standalone",
|