suis 0.32.0 → 0.32.2

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.
Files changed (21) hide show
  1. package/esm2022/lib/components/suis-button/suis-button.component.mjs +3 -3
  2. package/esm2022/lib/components/suis-button-link/suis-button-link.component.mjs +3 -3
  3. package/esm2022/lib/components/suis-button-outlined/suis-button-outlined.component.mjs +3 -3
  4. package/esm2022/lib/components/suis-container/suis-container.component.mjs +2 -2
  5. package/esm2022/lib/components/suis-divider/suis-divider.component.mjs +15 -5
  6. package/esm2022/lib/components/suis-select/suis-select.module.mjs +19 -5
  7. package/esm2022/lib/components/suis-select-multi/index.mjs +1 -2
  8. package/esm2022/lib/components/suis-select-multi/suis-select-multi.component.mjs +3 -3
  9. package/esm2022/lib/components/suis-spinner-container/suis-spinner-container.component.mjs +5 -5
  10. package/esm2022/lib/components/suis-tabs/suis-tabs.component.mjs +10 -3
  11. package/fesm2022/suis.mjs +175 -159
  12. package/fesm2022/suis.mjs.map +1 -1
  13. package/lib/components/suis-container/suis-container.component.d.ts +1 -1
  14. package/lib/components/suis-divider/suis-divider.component.d.ts +6 -1
  15. package/lib/components/suis-select/suis-select.module.d.ts +3 -2
  16. package/lib/components/suis-select-multi/index.d.ts +0 -1
  17. package/lib/components/suis-spinner-container/suis-spinner-container.component.d.ts +1 -1
  18. package/lib/components/suis-tabs/suis-tabs.component.d.ts +6 -2
  19. package/package.json +1 -1
  20. package/esm2022/lib/components/suis-select-multi/suis-select-multi.module.mjs +0 -17
  21. package/lib/components/suis-select-multi/suis-select-multi.module.d.ts +0 -8
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class SuisContainerComponent {
3
3
  /**
4
- * Adds a padding around the container. By default set to false.
4
+ * Adds a padding around the content. By default set to false.
5
5
  */
6
6
  spacing: boolean;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<SuisContainerComponent, never>;
@@ -1,5 +1,10 @@
1
+ import { SuisColor } from '../../types/suis-color.type';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class SuisDividerComponent {
4
+ /**
5
+ * Sets the color of the divider. Type of SuisColor. By default set to 'tertiary'.
6
+ */
7
+ color: SuisColor;
3
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SuisDividerComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<SuisDividerComponent, "suis-divider", never, {}, {}, never, never, true, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisDividerComponent, "suis-divider", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
5
10
  }
@@ -1,8 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./suis-select.component";
3
- import * as i2 from "../suis-select-option/suis-select-option.directive";
3
+ import * as i2 from "../suis-select-multi/suis-select-multi.component";
4
+ import * as i3 from "../suis-select-option/suis-select-option.directive";
4
5
  export declare class SuisSelectModule {
5
6
  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 ɵmod: i0.ɵɵNgModuleDeclaration<SuisSelectModule, never, [typeof i1.SuisSelectComponent, typeof i2.SuisSelectMultiComponent, typeof i3.SuisSelectOptionDirective], [typeof i1.SuisSelectComponent, typeof i2.SuisSelectMultiComponent, typeof i3.SuisSelectOptionDirective]>;
7
8
  static ɵinj: i0.ɵɵInjectorDeclaration<SuisSelectModule>;
8
9
  }
@@ -1,2 +1 @@
1
- export * from './suis-select-multi.module';
2
1
  export * from './suis-select-multi.component';
@@ -3,7 +3,7 @@ import { SuisColor } from '../../types/suis-color.type';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SuisSpinnerContainerComponent {
5
5
  /**
6
- * Sets the size of the spinner. Type of SuisSize. By default set to 'sm'.
6
+ * Sets the size of the spinner. Type of SuisSize. By default set to 'md'.
7
7
  */
8
8
  size: SuisSize;
9
9
  /**
@@ -1,4 +1,4 @@
1
- import { QueryList } from '@angular/core';
1
+ import { EventEmitter, QueryList } from '@angular/core';
2
2
  import { SuisTabDirective } from './suis-tab.directive';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SuisTabsComponent {
@@ -8,7 +8,11 @@ export declare class SuisTabsComponent {
8
8
  * Name of the current displayed tab. Must correspond with the name passed into suisTab directive. By default set to empty string.
9
9
  */
10
10
  currentTab: string;
11
+ /**
12
+ * Emits name of the clicked tab.
13
+ */
14
+ tabClicked: EventEmitter<string>;
11
15
  onTabActionClick(name: string): void;
12
16
  static ɵfac: i0.ɵɵFactoryDeclaration<SuisTabsComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<SuisTabsComponent, "suis-tabs", never, { "currentTab": { "alias": "currentTab"; "required": false; }; }, {}, ["tabs"], never, true, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisTabsComponent, "suis-tabs", never, { "currentTab": { "alias": "currentTab"; "required": false; }; }, { "tabClicked": "tabClicked"; }, ["tabs"], never, true, never>;
14
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suis",
3
- "version": "0.32.0",
3
+ "version": "0.32.2",
4
4
  "main": "src/index.ts",
5
5
  "author": "Karol Jaskółka",
6
6
  "description": "Angular 16+ Component Library",
@@ -1,17 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { SuisSelectOptionDirective } from '../suis-select-option';
3
- import { SuisSelectMultiComponent } from './suis-select-multi.component';
4
- import * as i0 from "@angular/core";
5
- export class SuisSelectMultiModule {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisSelectMultiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SuisSelectMultiModule, imports: [SuisSelectMultiComponent, SuisSelectOptionDirective], exports: [SuisSelectMultiComponent, SuisSelectOptionDirective] }); }
8
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisSelectMultiModule, imports: [SuisSelectMultiComponent] }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisSelectMultiModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- imports: [SuisSelectMultiComponent, SuisSelectOptionDirective],
14
- exports: [SuisSelectMultiComponent, SuisSelectOptionDirective],
15
- }]
16
- }] });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1zZWxlY3QtbXVsdGkubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zdWlzL3NyYy9saWIvY29tcG9uZW50cy9zdWlzLXNlbGVjdC1tdWx0aS9zdWlzLXNlbGVjdC1tdWx0aS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQzs7QUFNekUsTUFBTSxPQUFPLHFCQUFxQjsrR0FBckIscUJBQXFCO2dIQUFyQixxQkFBcUIsWUFIdEIsd0JBQXdCLEVBQUUseUJBQXlCLGFBQ25ELHdCQUF3QixFQUFFLHlCQUF5QjtnSEFFbEQscUJBQXFCLFlBSHRCLHdCQUF3Qjs7NEZBR3ZCLHFCQUFxQjtrQkFKakMsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUUsQ0FBQyx3QkFBd0IsRUFBRSx5QkFBeUIsQ0FBQztvQkFDOUQsT0FBTyxFQUFFLENBQUMsd0JBQXdCLEVBQUUseUJBQXlCLENBQUM7aUJBQy9EIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IFN1aXNTZWxlY3RPcHRpb25EaXJlY3RpdmUgfSBmcm9tICcuLi9zdWlzLXNlbGVjdC1vcHRpb24nO1xuaW1wb3J0IHsgU3Vpc1NlbGVjdE11bHRpQ29tcG9uZW50IH0gZnJvbSAnLi9zdWlzLXNlbGVjdC1tdWx0aS5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbU3Vpc1NlbGVjdE11bHRpQ29tcG9uZW50LCBTdWlzU2VsZWN0T3B0aW9uRGlyZWN0aXZlXSxcbiAgZXhwb3J0czogW1N1aXNTZWxlY3RNdWx0aUNvbXBvbmVudCwgU3Vpc1NlbGVjdE9wdGlvbkRpcmVjdGl2ZV0sXG59KVxuZXhwb3J0IGNsYXNzIFN1aXNTZWxlY3RNdWx0aU1vZHVsZSB7fVxuIl19
@@ -1,8 +0,0 @@
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
- }