suis 0.23.3 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -0
- package/esm2022/lib/components/index.mjs +3 -1
- package/esm2022/lib/components/suis-alert/suis-alert.component.mjs +3 -3
- package/esm2022/lib/components/suis-box/suis-box.component.mjs +2 -2
- package/esm2022/lib/components/suis-breadcrumbs/suis-breadcrumbs.component.mjs +3 -9
- 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-form-field/suis-form-field.component.mjs +3 -11
- package/esm2022/lib/components/suis-icon/suis-icon.component.mjs +3 -3
- package/esm2022/lib/components/suis-input-chips/suis-input-chips.component.mjs +3 -3
- package/esm2022/lib/components/suis-input-number/suis-input-number.component.mjs +3 -3
- package/esm2022/lib/components/suis-input-text/suis-input-text.component.mjs +3 -3
- package/esm2022/lib/components/suis-label/suis-label.component.mjs +3 -9
- package/esm2022/lib/components/suis-navigation/index.mjs +2 -1
- package/esm2022/lib/components/suis-navigation/suis-navigation.component.mjs +3 -3
- package/esm2022/lib/components/suis-navigation/suis-navigation.module.mjs +18 -0
- package/esm2022/lib/components/suis-navigation-group/suis-navigation-group.component.mjs +3 -3
- package/esm2022/lib/components/suis-notification/suis-notification.component.mjs +3 -3
- package/esm2022/lib/components/suis-pagination/suis-pagination.component.mjs +7 -11
- package/esm2022/lib/components/suis-progress-bar/suis-progress-bar.component.mjs +3 -3
- package/esm2022/lib/components/suis-select/index.mjs +2 -1
- package/esm2022/lib/components/suis-select/suis-select.component.mjs +3 -3
- package/esm2022/lib/components/suis-select/suis-select.module.mjs +18 -0
- package/esm2022/lib/components/suis-select-multi/index.mjs +2 -1
- package/esm2022/lib/components/suis-select-multi/suis-select-multi.component.mjs +3 -3
- package/esm2022/lib/components/suis-select-multi/suis-select-multi.module.mjs +18 -0
- package/esm2022/lib/components/suis-select-option/suis-select-option.component.mjs +3 -3
- package/esm2022/lib/components/suis-spinner/suis-spinner.component.mjs +3 -3
- package/esm2022/lib/components/suis-spinner-container/suis-spinner-container.component.mjs +3 -3
- package/esm2022/lib/components/suis-table/index.mjs +3 -2
- package/esm2022/lib/components/suis-table/suis-table.component.mjs +3 -3
- package/esm2022/lib/components/suis-table/suis-table.module.mjs +31 -0
- package/esm2022/lib/components/suis-tabs/index.mjs +4 -0
- package/esm2022/lib/components/suis-tabs/suis-tab-actions.pipe.mjs +20 -0
- package/esm2022/lib/components/suis-tabs/suis-tab-template.pipe.mjs +24 -0
- package/esm2022/lib/components/suis-tabs/suis-tab.directive.mjs +26 -0
- package/esm2022/lib/components/suis-tabs/suis-tabs.component.mjs +31 -0
- package/esm2022/lib/components/suis-tabs/suis-tabs.module.mjs +18 -0
- package/esm2022/lib/components/suis-title/suis-title.component.mjs +5 -13
- package/esm2022/lib/components/suis-toolbar/index.mjs +2 -0
- package/esm2022/lib/components/suis-toolbar/suis-toolbar.component.mjs +21 -0
- package/esm2022/lib/shared/classes/suis-select.base.mjs +1 -1
- package/fesm2022/suis.mjs +227 -82
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/suis-breadcrumbs/suis-breadcrumbs.component.d.ts +1 -5
- package/lib/components/suis-form-field/suis-form-field.component.d.ts +1 -5
- package/lib/components/suis-label/suis-label.component.d.ts +1 -5
- package/lib/components/suis-navigation/index.d.ts +1 -0
- package/lib/components/suis-navigation/suis-navigation.module.d.ts +8 -0
- package/lib/components/suis-pagination/suis-pagination.component.d.ts +1 -5
- package/lib/components/suis-select/index.d.ts +1 -0
- package/lib/components/suis-select/suis-select.module.d.ts +8 -0
- package/lib/components/suis-select-multi/index.d.ts +1 -0
- package/lib/components/suis-select-multi/suis-select-multi.module.d.ts +8 -0
- package/lib/components/suis-table/index.d.ts +2 -1
- package/lib/components/suis-table/suis-table.module.d.ts +9 -0
- package/lib/components/suis-tabs/index.d.ts +3 -0
- package/lib/components/suis-tabs/suis-tab-actions.pipe.d.ts +8 -0
- package/lib/components/suis-tabs/suis-tab-template.pipe.d.ts +8 -0
- package/lib/components/suis-tabs/suis-tab.directive.d.ts +11 -0
- package/lib/components/suis-tabs/suis-tabs.component.d.ts +14 -0
- package/lib/components/suis-tabs/suis-tabs.module.d.ts +8 -0
- package/lib/components/suis-title/suis-title.component.d.ts +1 -5
- package/lib/components/suis-toolbar/index.d.ts +1 -0
- package/lib/components/suis-toolbar/suis-toolbar.component.d.ts +9 -0
- package/package.json +2 -2
@@ -5,12 +5,8 @@ export declare class SuisBreadcrumbsComponent {
|
|
5
5
|
* List of breadcrumbs items. Type of SuisBreadcrumbItem[]. By default set to empty array.
|
6
6
|
*/
|
7
7
|
items: SuisBreadcrumbItem[];
|
8
|
-
/**
|
9
|
-
* Adds a bottom margin below the breadcrumbs. By default set to false.
|
10
|
-
*/
|
11
|
-
spacing: boolean;
|
12
8
|
/** @internal */
|
13
9
|
itemTrackBy(index: number, item: SuisBreadcrumbItem): string;
|
14
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisBreadcrumbsComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuisBreadcrumbsComponent, "suis-breadcrumbs", never, { "items": { "alias": "items"; "required": false; };
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisBreadcrumbsComponent, "suis-breadcrumbs", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
16
12
|
}
|
@@ -5,10 +5,6 @@ export declare class SuisFormFieldComponent {
|
|
5
5
|
* Template to be added below the field with error message.
|
6
6
|
*/
|
7
7
|
errorTemplate?: TemplateRef<HTMLElement>;
|
8
|
-
/**
|
9
|
-
* Adds a bottom margin below the field. By default set to false.
|
10
|
-
*/
|
11
|
-
spacing: boolean;
|
12
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisFormFieldComponent, never>;
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuisFormFieldComponent, "suis-form-field", never, { "errorTemplate": { "alias": "errorTemplate"; "required": false; };
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisFormFieldComponent, "suis-form-field", never, { "errorTemplate": { "alias": "errorTemplate"; "required": false; }; }, {}, never, ["*"], true, never>;
|
14
10
|
}
|
@@ -4,10 +4,6 @@ export declare class SuisLabelComponent {
|
|
4
4
|
* Adds a red colored asterisk after the label. By default set to false.
|
5
5
|
*/
|
6
6
|
required: boolean;
|
7
|
-
/**
|
8
|
-
* Adds a bottom margin below the label. By default set to false.
|
9
|
-
*/
|
10
|
-
spacing: boolean;
|
11
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisLabelComponent, never>;
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuisLabelComponent, "suis-label", never, { "required": { "alias": "required"; "required": false; };
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisLabelComponent, "suis-label", never, { "required": { "alias": "required"; "required": false; }; }, {}, never, ["*", "[suisLabelAside]"], true, never>;
|
13
9
|
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./suis-navigation.component";
|
3
|
+
import * as i2 from "../suis-navigation-item/suis-navigation-item.directive";
|
4
|
+
export declare class SuisNavigationModule {
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisNavigationModule, never>;
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SuisNavigationModule, never, [typeof i1.SuisNavigationComponent, typeof i2.SuisNavigationItemDirective], [typeof i1.SuisNavigationComponent, typeof i2.SuisNavigationItemDirective]>;
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SuisNavigationModule>;
|
8
|
+
}
|
@@ -27,10 +27,6 @@ export declare class SuisPaginationComponent implements OnInit, OnChanges {
|
|
27
27
|
* Number of total items in data source. By default set to 0.
|
28
28
|
*/
|
29
29
|
totalItems: number;
|
30
|
-
/**
|
31
|
-
* Adds margin top above the pagination. By default set to true.
|
32
|
-
*/
|
33
|
-
spacing: boolean;
|
34
30
|
/**
|
35
31
|
* Sets the of label "1 'of' 25". By default set to 'of'.
|
36
32
|
*/
|
@@ -55,5 +51,5 @@ export declare class SuisPaginationComponent implements OnInit, OnChanges {
|
|
55
51
|
previous(): void;
|
56
52
|
onPerPageChange(value: number): void;
|
57
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisPaginationComponent, never>;
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuisPaginationComponent, "suis-pagination", never, { "page": { "alias": "page"; "required": false; }; "perPage": { "alias": "perPage"; "required": false; }; "perPageOptions": { "alias": "perPageOptions"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisPaginationComponent, "suis-pagination", never, { "page": { "alias": "page"; "required": false; }; "perPage": { "alias": "perPage"; "required": false; }; "perPageOptions": { "alias": "perPageOptions"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "ofLabel": { "alias": "ofLabel"; "required": false; }; "itemsLabel": { "alias": "itemsLabel"; "required": false; }; }, { "pageChange": "pageChange"; "perPageChange": "perPageChange"; }, never, never, true, never>;
|
59
55
|
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./suis-select.component";
|
3
|
+
import * as i2 from "../suis-select-option/suis-select-option.directive";
|
4
|
+
export declare class SuisSelectModule {
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectModule, never>;
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SuisSelectModule, never, [typeof i1.SuisSelectComponent, typeof i2.SuisSelectOptionDirective], [typeof i1.SuisSelectComponent, typeof i2.SuisSelectOptionDirective]>;
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SuisSelectModule>;
|
8
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./suis-select-multi.component";
|
3
|
+
import * as i2 from "../suis-select-option/suis-select-option.directive";
|
4
|
+
export declare class SuisSelectMultiModule {
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectMultiModule, never>;
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SuisSelectMultiModule, never, [typeof i1.SuisSelectMultiComponent, typeof i2.SuisSelectOptionDirective], [typeof i1.SuisSelectMultiComponent, typeof i2.SuisSelectOptionDirective]>;
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SuisSelectMultiModule>;
|
8
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./suis-table.component";
|
3
|
+
import * as i2 from "./suis-table-cell.directive";
|
4
|
+
import * as i3 from "./suis-table-column.directive";
|
5
|
+
export declare class SuisTableModule {
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisTableModule, never>;
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SuisTableModule, never, [typeof i1.SuisTableComponent, typeof i2.SuisTableCellDirective, typeof i3.SuisTableColumnDirective], [typeof i1.SuisTableComponent, typeof i2.SuisTableCellDirective, typeof i3.SuisTableColumnDirective]>;
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SuisTableModule>;
|
9
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { PipeTransform, QueryList } from '@angular/core';
|
2
|
+
import { SuisTabDirective } from './suis-tab.directive';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class SuisTabActionsPipe implements PipeTransform {
|
5
|
+
transform(tabs: QueryList<SuisTabDirective> | undefined): string[];
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisTabActionsPipe, never>;
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SuisTabActionsPipe, "suisTabActions", true>;
|
8
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { PipeTransform, QueryList, TemplateRef } from '@angular/core';
|
2
|
+
import { SuisTabDirective } from './suis-tab.directive';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class SuisTabTemplatePipe implements PipeTransform {
|
5
|
+
transform(tabs: QueryList<SuisTabDirective> | undefined, currentTab: string): TemplateRef<any> | null;
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisTabTemplatePipe, never>;
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SuisTabTemplatePipe, "suisTabTemplate", true>;
|
8
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class SuisTabDirective {
|
4
|
+
/**
|
5
|
+
* Template of the tab.
|
6
|
+
*/
|
7
|
+
readonly templateRef: TemplateRef<any>;
|
8
|
+
name: string;
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisTabDirective, never>;
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisTabDirective, "[suisTab]", never, { "name": { "alias": "suisTab"; "required": true; }; }, {}, never, never, true, never>;
|
11
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { QueryList } from '@angular/core';
|
2
|
+
import { SuisTabDirective } from './suis-tab.directive';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class SuisTabsComponent {
|
5
|
+
/** @internal */
|
6
|
+
tabs?: QueryList<SuisTabDirective>;
|
7
|
+
/**
|
8
|
+
* Name of the current displayed tab. Must correspond with the name passed into suisTab directive. By default set to empty string.
|
9
|
+
*/
|
10
|
+
currentTab: string;
|
11
|
+
onTabActionClick(name: string): void;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisTabsComponent, never>;
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisTabsComponent, "suis-tabs", never, { "currentTab": { "alias": "currentTab"; "required": false; }; }, {}, ["tabs"], never, true, never>;
|
14
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./suis-tabs.component";
|
3
|
+
import * as i2 from "./suis-tab.directive";
|
4
|
+
export declare class SuisTabsModule {
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisTabsModule, never>;
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SuisTabsModule, never, [typeof i1.SuisTabsComponent, typeof i2.SuisTabDirective], [typeof i1.SuisTabsComponent, typeof i2.SuisTabDirective]>;
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SuisTabsModule>;
|
8
|
+
}
|
@@ -1,9 +1,5 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
export declare class SuisTitleComponent {
|
3
|
-
/**
|
4
|
-
* Adds a bottom margin below the title. By default set to false.
|
5
|
-
*/
|
6
|
-
spacing: boolean;
|
7
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisTitleComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuisTitleComponent, "suis-title", never, {
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisTitleComponent, "suis-title", never, {}, {}, never, ["*"], true, never>;
|
9
5
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './suis-toolbar.component';
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class SuisToolbarComponent {
|
3
|
+
/**
|
4
|
+
* Adds a padding around the content. By default set to false.
|
5
|
+
*/
|
6
|
+
spacing: boolean;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisToolbarComponent, never>;
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisToolbarComponent, "suis-toolbar", never, { "spacing": { "alias": "spacing"; "required": false; }; }, {}, never, ["[suisToolbarLeft]", "[suisToolbarCenter]", "[suisToolbarRight]"], true, never>;
|
9
|
+
}
|
package/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "suis",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.25.0",
|
4
4
|
"main": "src/index.ts",
|
5
5
|
"author": "Karol Jaskółka",
|
6
|
-
"description": "
|
6
|
+
"description": "Angular 16+ Component Library",
|
7
7
|
"keywords": [
|
8
8
|
"angular",
|
9
9
|
"standalone",
|