suis 0.23.2 → 0.24.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/README.md +1 -0
- package/esm2022/lib/components/index.mjs +2 -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 -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-form-field/suis-form-field.component.mjs +3 -3
- 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 -3
- 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 +13 -13
- 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 +3 -3
- package/esm2022/lib/shared/classes/suis-select.base.mjs +1 -1
- package/fesm2022/suis.mjs +221 -61
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -0
- 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 +3 -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/package.json +2 -2
@@ -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
|
+
}
|
@@ -5,12 +5,8 @@ import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SuisPaginationComponent implements OnInit, OnChanges {
|
6
6
|
private readonly destroyRef;
|
7
7
|
/** @internal */
|
8
|
-
private readonly PER_PAGE;
|
9
|
-
/** @internal */
|
10
8
|
readonly SuisIconType: typeof SuisIconType;
|
11
9
|
/** @internal */
|
12
|
-
perPageControl: FormControl<number>;
|
13
|
-
/** @internal */
|
14
10
|
/**
|
15
11
|
* Number of the maximum page that can be reached based on totalItems and perPage values.
|
16
12
|
*/
|
@@ -32,7 +28,7 @@ export declare class SuisPaginationComponent implements OnInit, OnChanges {
|
|
32
28
|
*/
|
33
29
|
totalItems: number;
|
34
30
|
/**
|
35
|
-
* Adds margin top above the pagination. By default set to
|
31
|
+
* Adds margin top above the pagination. By default set to false.
|
36
32
|
*/
|
37
33
|
spacing: boolean;
|
38
34
|
/**
|
@@ -51,6 +47,8 @@ export declare class SuisPaginationComponent implements OnInit, OnChanges {
|
|
51
47
|
* Emits on perPage value change.
|
52
48
|
*/
|
53
49
|
perPageChange: EventEmitter<number>;
|
50
|
+
/** @internal */
|
51
|
+
perPageControl: FormControl<number>;
|
54
52
|
ngOnInit(): void;
|
55
53
|
ngOnChanges(changes: SimpleChanges): void;
|
56
54
|
next(): void;
|
@@ -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
|
+
}
|
package/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "suis",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.24.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",
|