suis 0.32.1 → 0.32.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) 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-input/suis-input.component.mjs +3 -3
  6. package/esm2022/lib/components/suis-input-checkbox/suis-input-checkbox.component.mjs +3 -3
  7. package/esm2022/lib/components/suis-input-chips/suis-input-chips.component.mjs +3 -3
  8. package/esm2022/lib/components/suis-input-image/suis-input-image.component.mjs +3 -3
  9. package/esm2022/lib/components/suis-input-number/suis-input-number.component.mjs +3 -3
  10. package/esm2022/lib/components/suis-input-radio/suis-input-radio.component.mjs +3 -3
  11. package/esm2022/lib/components/suis-progress-bar/suis-progress-bar.component.mjs +9 -3
  12. package/esm2022/lib/components/suis-select/suis-select.component.mjs +3 -3
  13. package/esm2022/lib/components/suis-select/suis-select.module.mjs +19 -5
  14. package/esm2022/lib/components/suis-select-multi/index.mjs +1 -2
  15. package/esm2022/lib/components/suis-select-multi/suis-select-multi.component.mjs +5 -5
  16. package/esm2022/lib/components/suis-spinner-container/suis-spinner-container.component.mjs +5 -5
  17. package/esm2022/lib/components/suis-tabs/suis-tabs.component.mjs +10 -3
  18. package/esm2022/lib/components/suis-text-area/suis-text-area.component.mjs +2 -2
  19. package/esm2022/lib/components/suis-toggle/suis-toggle.component.mjs +3 -3
  20. package/fesm2022/suis.mjs +184 -171
  21. package/fesm2022/suis.mjs.map +1 -1
  22. package/lib/components/suis-container/suis-container.component.d.ts +1 -1
  23. package/lib/components/suis-progress-bar/suis-progress-bar.component.d.ts +6 -2
  24. package/lib/components/suis-select/suis-select.module.d.ts +3 -2
  25. package/lib/components/suis-select-multi/index.d.ts +0 -1
  26. package/lib/components/suis-spinner-container/suis-spinner-container.component.d.ts +1 -1
  27. package/lib/components/suis-tabs/suis-tabs.component.d.ts +6 -2
  28. package/package.json +1 -1
  29. package/esm2022/lib/components/suis-select-multi/suis-select-multi.module.mjs +0 -17
  30. 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,4 +1,4 @@
1
- import { SuisColor } from '../../types';
1
+ import { SuisColor, SuisSize } from '../../types';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class SuisProgressBarComponent {
4
4
  /** @internal */
@@ -17,6 +17,10 @@ export declare class SuisProgressBarComponent {
17
17
  * Sets the background color of the progress bar. Type of SuisColor. By default set to 'tertiary'.
18
18
  */
19
19
  backgroundColor: SuisColor;
20
+ /**
21
+ * Sets the height of the progress bar. Type of SuisSize. By default set to 'md'.
22
+ */
23
+ size: SuisSize;
20
24
  static ɵfac: i0.ɵɵFactoryDeclaration<SuisProgressBarComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<SuisProgressBarComponent, "suis-progress-bar", never, { "value": { "alias": "value"; "required": false; }; "color": { "alias": "color"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; }, {}, never, never, true, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuisProgressBarComponent, "suis-progress-bar", never, { "value": { "alias": "value"; "required": false; }; "color": { "alias": "color"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
22
26
  }
@@ -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.1",
3
+ "version": "0.32.3",
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,eyJ2ZXJzaW9u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GUoe1xuICBpbXBvcnRzOiBbU3Vpc1NlbGVjdE11bHRpQ29tcG9uZW50LCBTdWlzU2VsZWN0T3B0aW9uRGlyZWN0aXZlXSxcbiAgZXhwb3J0czogW1N1aXNTZWxlY3RNdWx0aUNvbXBvbmVudCwgU3Vpc1NlbGVjdE9wdGlvbkRpcmVjdGl2ZV0sXG59KVxuZXhwb3J0IGNsYXNzIFN1aXNTZWxlY3RNdWx0aU1vZHVsZSB7fVxuIl19
@@ -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
- }