suis 0.16.1 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +7 -2
- package/esm2022/lib/components/index.mjs +6 -1
- package/esm2022/lib/components/suis-breadcrumbs/index.mjs +3 -0
- package/esm2022/lib/components/suis-breadcrumbs/suis-breadcrumbs.component.mjs +28 -0
- package/esm2022/lib/components/suis-breadcrumbs/suis-breadcrumbs.interface.mjs +2 -0
- package/esm2022/lib/components/suis-navigation/index.mjs +2 -0
- package/esm2022/lib/components/suis-navigation/suis-navigation.component.mjs +43 -0
- package/esm2022/lib/components/suis-navigation-group/index.mjs +2 -0
- package/esm2022/lib/components/suis-navigation-group/suis-navigation-group.component.mjs +44 -0
- package/esm2022/lib/components/suis-navigation-group-item/index.mjs +2 -0
- package/esm2022/lib/components/suis-navigation-group-item/suis-navigation-group-item.component.mjs +50 -0
- package/esm2022/lib/components/suis-navigation-item/index.mjs +4 -0
- package/esm2022/lib/components/suis-navigation-item/suis-navigation-item.component.mjs +20 -0
- package/esm2022/lib/components/suis-navigation-item/suis-navigation-item.directive.mjs +21 -0
- package/esm2022/lib/components/suis-navigation-item/suis-navigation-item.interfaces.mjs +2 -0
- package/esm2022/lib/components/suis-notification/suis-notification.component.mjs +3 -3
- package/fesm2022/suis.mjs +174 -7
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/index.d.ts +5 -0
- package/lib/components/suis-breadcrumbs/index.d.ts +2 -0
- package/lib/components/suis-breadcrumbs/suis-breadcrumbs.component.d.ts +12 -0
- package/lib/components/suis-breadcrumbs/suis-breadcrumbs.interface.d.ts +4 -0
- package/lib/components/suis-navigation/index.d.ts +1 -0
- package/lib/components/suis-navigation/suis-navigation.component.d.ts +23 -0
- package/lib/components/suis-navigation-group/index.d.ts +1 -0
- package/lib/components/suis-navigation-group/suis-navigation-group.component.d.ts +27 -0
- package/lib/components/suis-navigation-group-item/index.d.ts +1 -0
- package/lib/components/suis-navigation-group-item/suis-navigation-group-item.component.d.ts +33 -0
- package/lib/components/suis-navigation-item/index.d.ts +3 -0
- package/lib/components/suis-navigation-item/suis-navigation-item.component.d.ts +17 -0
- package/lib/components/suis-navigation-item/suis-navigation-item.directive.d.ts +10 -0
- package/lib/components/suis-navigation-item/suis-navigation-item.interfaces.d.ts +8 -0
- package/package.json +3 -2
@@ -0,0 +1,12 @@
|
|
1
|
+
import { SuisBreadcrumbItem } from './suis-breadcrumbs.interface';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class SuisBreadcrumbsComponent {
|
4
|
+
/**
|
5
|
+
* List of breadcrumbs items. Type of SuisBreadcrumbItem[]. By default set to empty array.
|
6
|
+
*/
|
7
|
+
items: SuisBreadcrumbItem[];
|
8
|
+
/** @internal */
|
9
|
+
itemTrackBy(index: number, item: SuisBreadcrumbItem): string;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisBreadcrumbsComponent, never>;
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisBreadcrumbsComponent, "suis-breadcrumbs", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
12
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './suis-navigation.component';
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { SuisNavigationGroupItem } from '../suis-navigation-item/suis-navigation-item.interfaces';
|
2
|
+
import { SuisNavigationItemDirective } from '../suis-navigation-item';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class SuisNavigationComponent {
|
5
|
+
/** @internal */
|
6
|
+
suisNavigationItem?: SuisNavigationItemDirective;
|
7
|
+
/**
|
8
|
+
* List of navigation items. Type of SuisNavigationGroupItem[]. By default set to empty array.
|
9
|
+
*/
|
10
|
+
items: SuisNavigationGroupItem[];
|
11
|
+
/**
|
12
|
+
* Condition to expand groups at view initialization. By default set to true.
|
13
|
+
*/
|
14
|
+
expandedGroups: boolean;
|
15
|
+
/**
|
16
|
+
* Adds expand / collapse logic to group header items. By default set to false.
|
17
|
+
*/
|
18
|
+
expandable: boolean;
|
19
|
+
/** @internal */
|
20
|
+
groupItemTrackBy(index: number, groupItem: SuisNavigationGroupItem): string;
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisNavigationComponent, never>;
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationComponent, "suis-navigation", never, { "items": { "alias": "items"; "required": false; }; "expandedGroups": { "alias": "expandedGroups"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; }, {}, ["suisNavigationItem"], never, true, never>;
|
23
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './suis-navigation-group.component';
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
2
|
+
import { SuisNavigationGroupItem, SuisNavigationItem } from '../suis-navigation-item/suis-navigation-item.interfaces';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class SuisNavigationGroupComponent {
|
5
|
+
/**
|
6
|
+
* Navigation item data. Type of SuisNavigationGroupItem.
|
7
|
+
*/
|
8
|
+
item?: SuisNavigationGroupItem;
|
9
|
+
/**
|
10
|
+
* Template to be displayed instead of item's label.
|
11
|
+
*/
|
12
|
+
templateRef?: TemplateRef<{
|
13
|
+
$implicit: SuisNavigationItem;
|
14
|
+
}>;
|
15
|
+
/**
|
16
|
+
* Expanded state of the navigation group. By default set to true.
|
17
|
+
*/
|
18
|
+
expanded: boolean;
|
19
|
+
/**
|
20
|
+
* Adds expand / collapse logic to group header items. By default set to false.
|
21
|
+
*/
|
22
|
+
expandable: boolean;
|
23
|
+
/** @internal */
|
24
|
+
itemTrackBy(index: number, item: SuisNavigationGroupItem): string;
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisNavigationGroupComponent, never>;
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationGroupComponent, "suis-navigation-group", never, { "item": { "alias": "item"; "required": false; }; "templateRef": { "alias": "templateRef"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; }, {}, never, never, true, never>;
|
27
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './suis-navigation-group-item.component';
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
2
|
+
import { SuisNavigationGroupItem, SuisNavigationItem } from '../suis-navigation-item';
|
3
|
+
import { SuisIconType } from '../suis-icon/suis-icon.enums';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class SuisNavigationGroupItemComponent {
|
6
|
+
/** @internal */
|
7
|
+
readonly SuisIconType: typeof SuisIconType;
|
8
|
+
/**
|
9
|
+
* Navigation item data. Type of SuisNavigationGroupItem.
|
10
|
+
*/
|
11
|
+
item?: SuisNavigationGroupItem;
|
12
|
+
/**
|
13
|
+
* Template to be displayed instead of item's label.s
|
14
|
+
*/
|
15
|
+
templateRef?: TemplateRef<{
|
16
|
+
$implicit: SuisNavigationItem;
|
17
|
+
}>;
|
18
|
+
/**
|
19
|
+
* Controlls styling of the item based on expanded state of group. By default set to true.
|
20
|
+
*/
|
21
|
+
expanded: boolean;
|
22
|
+
/**
|
23
|
+
* Adds expand / collapse logic to item. By default set to false.
|
24
|
+
*/
|
25
|
+
expandable: boolean;
|
26
|
+
/**
|
27
|
+
* Emits when expanded value of the item has been changed.
|
28
|
+
*/
|
29
|
+
expandedChange: EventEmitter<boolean>;
|
30
|
+
onToggle(): void;
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisNavigationGroupItemComponent, never>;
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationGroupItemComponent, "suis-navigation-group-item", never, { "item": { "alias": "item"; "required": false; }; "templateRef": { "alias": "templateRef"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; }, { "expandedChange": "expandedChange"; }, never, never, true, never>;
|
33
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
2
|
+
import { SuisNavigationItem } from './suis-navigation-item.interfaces';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class SuisNavigationItemComponent {
|
5
|
+
/**
|
6
|
+
* Navigation item data. Type of SuisNavigationItem.
|
7
|
+
*/
|
8
|
+
item?: SuisNavigationItem;
|
9
|
+
/**
|
10
|
+
* Template to be displayed instead of item's label.
|
11
|
+
*/
|
12
|
+
templateRef?: TemplateRef<{
|
13
|
+
$implicit: SuisNavigationItem;
|
14
|
+
}>;
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisNavigationItemComponent, never>;
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationItemComponent, "suis-navigation-item", never, { "item": { "alias": "item"; "required": false; }; "templateRef": { "alias": "templateRef"; "required": false; }; }, {}, never, never, true, never>;
|
17
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class SuisNavigationItemDirective {
|
4
|
+
/**
|
5
|
+
* Custom template of the item.
|
6
|
+
*/
|
7
|
+
readonly templateRef: TemplateRef<any>;
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisNavigationItemDirective, never>;
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisNavigationItemDirective, "[suisNavigationItem]", never, {}, {}, never, never, true, never>;
|
10
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "suis",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.18.0",
|
4
4
|
"main": "src/index.ts",
|
5
5
|
"author": "Karol Jaskółka",
|
6
6
|
"description": "SUIS (Standalone UI + Signals) Angular 16+ Component Library",
|
@@ -14,7 +14,8 @@
|
|
14
14
|
"peerDependencies": {
|
15
15
|
"@angular/common": "^16.0.0",
|
16
16
|
"@angular/core": "^16.0.0",
|
17
|
-
"@angular/forms": "16.0.0"
|
17
|
+
"@angular/forms": "16.0.0",
|
18
|
+
"@angular/router": "16.0.0"
|
18
19
|
},
|
19
20
|
"dependencies": {
|
20
21
|
"tslib": "^2.3.0"
|