suis 0.23.2 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/README.md +1 -0
  2. package/esm2022/lib/components/index.mjs +2 -1
  3. package/esm2022/lib/components/suis-alert/suis-alert.component.mjs +3 -3
  4. package/esm2022/lib/components/suis-box/suis-box.component.mjs +2 -2
  5. package/esm2022/lib/components/suis-breadcrumbs/suis-breadcrumbs.component.mjs +3 -3
  6. package/esm2022/lib/components/suis-button/suis-button.component.mjs +3 -3
  7. package/esm2022/lib/components/suis-button-link/suis-button-link.component.mjs +3 -3
  8. package/esm2022/lib/components/suis-button-outlined/suis-button-outlined.component.mjs +3 -3
  9. package/esm2022/lib/components/suis-chip/suis-chip.component.mjs +3 -3
  10. package/esm2022/lib/components/suis-form-field/suis-form-field.component.mjs +3 -3
  11. package/esm2022/lib/components/suis-icon/suis-icon.component.mjs +3 -3
  12. package/esm2022/lib/components/suis-input-chips/suis-input-chips.component.mjs +3 -3
  13. package/esm2022/lib/components/suis-input-number/suis-input-number.component.mjs +3 -3
  14. package/esm2022/lib/components/suis-input-text/suis-input-text.component.mjs +3 -3
  15. package/esm2022/lib/components/suis-label/suis-label.component.mjs +3 -3
  16. package/esm2022/lib/components/suis-navigation/index.mjs +2 -1
  17. package/esm2022/lib/components/suis-navigation/suis-navigation.component.mjs +3 -3
  18. package/esm2022/lib/components/suis-navigation/suis-navigation.module.mjs +18 -0
  19. package/esm2022/lib/components/suis-navigation-group/suis-navigation-group.component.mjs +3 -3
  20. package/esm2022/lib/components/suis-notification/suis-notification.component.mjs +3 -3
  21. package/esm2022/lib/components/suis-pagination/suis-pagination.component.mjs +13 -13
  22. package/esm2022/lib/components/suis-progress-bar/suis-progress-bar.component.mjs +3 -3
  23. package/esm2022/lib/components/suis-select/index.mjs +2 -1
  24. package/esm2022/lib/components/suis-select/suis-select.component.mjs +3 -3
  25. package/esm2022/lib/components/suis-select/suis-select.module.mjs +18 -0
  26. package/esm2022/lib/components/suis-select-multi/index.mjs +2 -1
  27. package/esm2022/lib/components/suis-select-multi/suis-select-multi.component.mjs +3 -3
  28. package/esm2022/lib/components/suis-select-multi/suis-select-multi.module.mjs +18 -0
  29. package/esm2022/lib/components/suis-select-option/suis-select-option.component.mjs +3 -3
  30. package/esm2022/lib/components/suis-spinner/suis-spinner.component.mjs +3 -3
  31. package/esm2022/lib/components/suis-spinner-container/suis-spinner-container.component.mjs +3 -3
  32. package/esm2022/lib/components/suis-table/index.mjs +3 -2
  33. package/esm2022/lib/components/suis-table/suis-table.component.mjs +3 -3
  34. package/esm2022/lib/components/suis-table/suis-table.module.mjs +31 -0
  35. package/esm2022/lib/components/suis-tabs/index.mjs +4 -0
  36. package/esm2022/lib/components/suis-tabs/suis-tab-actions.pipe.mjs +20 -0
  37. package/esm2022/lib/components/suis-tabs/suis-tab-template.pipe.mjs +24 -0
  38. package/esm2022/lib/components/suis-tabs/suis-tab.directive.mjs +26 -0
  39. package/esm2022/lib/components/suis-tabs/suis-tabs.component.mjs +31 -0
  40. package/esm2022/lib/components/suis-tabs/suis-tabs.module.mjs +18 -0
  41. package/esm2022/lib/components/suis-title/suis-title.component.mjs +3 -3
  42. package/esm2022/lib/shared/classes/suis-select.base.mjs +1 -1
  43. package/fesm2022/suis.mjs +221 -61
  44. package/fesm2022/suis.mjs.map +1 -1
  45. package/lib/components/index.d.ts +1 -0
  46. package/lib/components/suis-navigation/index.d.ts +1 -0
  47. package/lib/components/suis-navigation/suis-navigation.module.d.ts +8 -0
  48. package/lib/components/suis-pagination/suis-pagination.component.d.ts +3 -5
  49. package/lib/components/suis-select/index.d.ts +1 -0
  50. package/lib/components/suis-select/suis-select.module.d.ts +8 -0
  51. package/lib/components/suis-select-multi/index.d.ts +1 -0
  52. package/lib/components/suis-select-multi/suis-select-multi.module.d.ts +8 -0
  53. package/lib/components/suis-table/index.d.ts +2 -1
  54. package/lib/components/suis-table/suis-table.module.d.ts +9 -0
  55. package/lib/components/suis-tabs/index.d.ts +3 -0
  56. package/lib/components/suis-tabs/suis-tab-actions.pipe.d.ts +8 -0
  57. package/lib/components/suis-tabs/suis-tab-template.pipe.d.ts +8 -0
  58. package/lib/components/suis-tabs/suis-tab.directive.d.ts +11 -0
  59. package/lib/components/suis-tabs/suis-tabs.component.d.ts +14 -0
  60. package/lib/components/suis-tabs/suis-tabs.module.d.ts +8 -0
  61. package/package.json +2 -2
@@ -26,4 +26,5 @@ export * from './suis-select-multi';
26
26
  export * from './suis-spinner';
27
27
  export * from './suis-spinner-container';
28
28
  export * from './suis-table';
29
+ export * from './suis-tabs';
29
30
  export * from './suis-title';
@@ -1 +1,2 @@
1
+ export * from './suis-navigation.module';
1
2
  export * from './suis-navigation.component';
@@ -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 true.
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;
@@ -1 +1,2 @@
1
+ export * from './suis-select.module';
1
2
  export * from './suis-select.component';
@@ -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
+ }
@@ -1 +1,2 @@
1
+ export * from './suis-select-multi.module';
1
2
  export * from './suis-select-multi.component';
@@ -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
+ }
@@ -1,4 +1,5 @@
1
+ export * from './suis-table.module';
1
2
  export * from './suis-table.component';
2
- export * from './suis-table-column.directive';
3
3
  export * from './suis-table-cell.directive';
4
+ export * from './suis-table-column.directive';
4
5
  export * from './suis-table.interfaces';
@@ -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,3 @@
1
+ export * from './suis-tabs.module';
2
+ export * from './suis-tabs.component';
3
+ export * from './suis-tab.directive';
@@ -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.23.2",
3
+ "version": "0.24.0",
4
4
  "main": "src/index.ts",
5
5
  "author": "Karol Jaskółka",
6
- "description": "SUIS (Standalone UI + Signals) Angular 16+ Component Library",
6
+ "description": "Angular 16+ Component Library",
7
7
  "keywords": [
8
8
  "angular",
9
9
  "standalone",